/* 圆角版：去掉终端主题的切角，统一换成圆角。颜色和布局不变。
   卡片、大块 14px；图片 10px；按钮和标签做成胶囊；输入框 10px。删掉这个文件就回到切角。 */
:root { --r-lg: 16px; --r-md: 12px; --r-sm: 8px; }

.post, .post-thumb, .hero, .rail-box.ranking-box, .publish, .searchbox, .empty, .more-button, #sheet,
.account-menu, .primary-nav button[aria-current=page] { clip-path: none !important; }

/* 大块 */
.hero { border-radius: var(--r-lg) !important; overflow: hidden; }
.post { border-radius: var(--r-md) !important; overflow: hidden; }
.rail-box.ranking-box { border-radius: var(--r-lg) !important; overflow: hidden; }
.empty { border-radius: var(--r-md) !important; }
.account-menu { border-radius: var(--r-md); overflow: hidden; }
.account-item { border-radius: var(--r-sm); }
#sheet { border-radius: 18px !important; }
@media (max-width: 560px) { #sheet { border-radius: 20px 20px 0 0 !important; } }

/* 图片 */
.post-thumb { border-radius: 10px !important; }
#sheet .sheet-photo-button, #sheet .sheet-preview, #sheet .sheet-full-image { border-radius: 10px !important; }

/* 按钮、标签：胶囊 */
.publish, .more-button, .empty-action, .account-login, .account-btn { border-radius: 999px !important; }
.searchbox { border-radius: 999px !important; }
.searchbox kbd { border-radius: 6px !important; }
.primary-nav button[aria-current=page] { border-radius: 999px; margin: 14px 0; }
.topic-link, .filter { border-radius: 999px !important; border-left: 0 !important; box-shadow: inset 0 0 0 1px var(--line); }
.filter.active { box-shadow: none; }
.sort-segments { background: var(--paper) !important; border-radius: 999px !important; padding: 3px !important; }
.sort-segments button { border-radius: 999px !important; background: transparent !important; }
.sort-segments button[aria-pressed=true] { background: var(--ink) !important; }
.image-filter { border-radius: 999px !important; }
.cat-mark, .post-flag { border-radius: 6px !important; }
.spoiler-label { border-radius: var(--r-sm) !important; }
.ranking-box .rail-icon { border-radius: 8px !important; }
.post-actions button { border-radius: 999px !important; }
#toast { border-radius: 999px !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .25) !important; }

/* 弹窗里的表单 */
#sheet .sheet-form input:not([type]), #sheet textarea, #sheet .sheet-form input[type="email"], #sheet .sheet-form input[type="password"],
#sheet .sheet-reply textarea { border-radius: 10px !important; }
#sheet .sheet-primary, #sheet .code-btn, #sheet .sheet-upload-buttons button, #sheet .sheet-actions button { border-radius: 999px !important; }
#sheet .sheet-choice span { border-radius: 999px !important; border-left-width: 1px !important; }
#sheet .avatar-choice span { border-radius: 12px !important; }
#sheet .sheet-upload, #sheet .avatar-upload, #sheet .sheet-spoiler-choice, #sheet .sheet-spoiler-gate,
#sheet .sheet-error, #sheet .sheet-note { border-radius: 10px !important; }
#sheet .sheet-category, #sheet .sheet-badge { border-radius: 6px !important; }
.auth-tabs { background: #eceef2; border-radius: 999px; padding: 3px; }
.auth-tabs button { border-radius: 999px; border-bottom: 0 !important; background: transparent; }
.auth-tabs button[aria-selected="true"] { background: var(--ink); }
.hero::before { border-top-left-radius: 10px; }
.hero::after { border-bottom-right-radius: 10px; }
