/* VOGA 设计语言 · 深色工作室控制台
   token 与基础组件取自《VOGA 设计语言》第 11 节，页面组件按第 6 节规格扩展 */
:root {
  --bg: #222428; --bg-rail: #1F2124; --panel: #26292D; --raised: #2E3136;
  --line: #34373C; --line-2: #3B3F45; --lead: #4A4E55;
  --fg: #EDE9E2; --fg-2: #C9C6C0; --muted: #A6A9AD; --faint: #8E9195;
  --warn: #E6B566; --warn-line: #6B5A3A; --ok: #9FD4A3; --bad: #EC9A86; --focus: #F2EBD9;
  --c1: #D9785B; --c2: #CFCBC4; --c3: #9DA1A6; --c4: #EEC46A; --c5: #4A98C4; --c6: #9089CF;
  --c7: #D490B3; --c8: #E8AC8D; --c9: #7EBEC7; --c10: #9FC08A; --c11: #C383E3;
  --display: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --radius: 12px;
  --side: max(16px, env(safe-area-inset-left));
  --side-r: max(16px, env(safe-area-inset-right));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
html { scroll-padding-top: 76px; }
body { font-family: var(--body); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 500; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 300; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 20px; z-index: 100; }
.skip:focus { left: 16px; }

/* 字标 */
.brand { display: flex; align-items: baseline; gap: 12px; color: var(--fg); text-decoration: none; flex-shrink: 0; }
.brand b { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .34em; }
.brand span { font-family: var(--display); font-size: 11px; letter-spacing: .16em; color: var(--faint); }
.env-flag { font-family: var(--display); font-size: 11px; letter-spacing: .16em; color: var(--warn); border: 1px dashed var(--warn-line); border-radius: 10px; padding: 1px 8px; }

/* 页头 */
.top { position: sticky; top: 0; z-index: 30; background: var(--bg-rail); border-bottom: 1px solid var(--line); padding: 0 var(--side-r) 0 var(--side); padding-top: env(safe-area-inset-top); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 62px; max-width: 1600px; margin: 0 auto; }
.tabs { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 44px; padding: 0 12px; display: inline-flex; align-items: center; font-size: 13.5px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s ease; }
.tab:hover { color: var(--fg); }
.tab[aria-current="page"] { color: var(--fg); border-bottom-color: var(--tabc, var(--fg)); }
.top-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--line-2); color: var(--fg-2); font-size: 12.5px; text-decoration: none; max-width: 220px; }
.pill-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-btn em { font-style: normal; font-size: 10.5px; color: var(--faint); letter-spacing: .04em; }
.pill-btn .icon { width: 16px; height: 16px; }
.pill-btn:hover { border-color: var(--faint); color: var(--fg); }
form.inline { display: inline; margin: 0; }

/* 文字样式 */
.en { font-family: var(--display); letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); line-height: 1.4; }
.eyebrow b { font-family: var(--body); font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-left: 6px; }
.hero { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .08em; text-transform: uppercase; margin: 0; line-height: 1.15; }
.note { font-size: 12.5px; color: var(--muted); font-weight: 300; }
.faint { color: var(--faint); }
.muted { color: var(--muted); }
.bad { color: var(--bad); }
.en-sub { display: block; font-family: var(--display); font-size: 10.5px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.h-zh { font-family: var(--body); font-weight: 400; font-size: 17px; line-height: 1.3; }
.pre { white-space: pre-wrap; font-weight: 300; }
.link { text-decoration: underline; text-underline-offset: 3px; }
.strong { color: var(--fg); }

/* 图标 */
.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon.flip { transform: scaleX(-1); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid var(--lead); background: none; color: var(--fg); font-size: 13px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
.btn:hover:not(:disabled) { border-color: var(--faint); background: var(--raised); }
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary:hover:not(:disabled) { background: #fff; }
.btn.sm { min-height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 16px; }
.btn.sm .icon { width: 16px; height: 16px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 36px; height: 36px; border-radius: 18px; border: 1px solid var(--line-2); background: none; color: var(--fg-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.icon-btn:hover { border-color: var(--faint); color: var(--fg); }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm .icon { width: 16px; height: 16px; }

/* 芯片与状态 */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--chip, var(--line-2)); background: var(--raised); font-size: 11.5px; color: var(--fg-2); white-space: nowrap; }
.chip i { font-style: normal; font-family: var(--display); font-weight: 500; letter-spacing: .05em; color: var(--fg); }
.status { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; background: none; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: currentColor; }
.status.done { color: var(--ok); border-color: #3E5A42; }
.status.doing { color: var(--fg); border-color: var(--lead); }
.status.review { color: #B9B4F0; border-color: #4D4A72; }
.status.back { color: var(--bad); border-color: #6E4337; }
.status.wait { color: var(--warn); border-color: var(--warn-line); border-style: dashed; }
.status.as-btn { cursor: pointer; height: 24px; padding: 0 10px; border-radius: 12px; }
.idtag { display: inline-block; font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--bg); background: var(--tc, var(--fg)); border-radius: 6px; padding: 2px 8px; line-height: 1.4; white-space: nowrap; vertical-align: middle; }

/* 表单 */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 12px; color: var(--muted); }
.input { height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); width: 100%; min-width: 0; }
.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--faint); outline: none; }
.input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5l5-5' fill='none' stroke='%238E9195' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 32px; }
.input:disabled { opacity: .7; }
textarea.input, .ta { height: auto; padding: 9px 12px; line-height: 1.55; resize: vertical; }
input[type="date"].input { color-scheme: dark; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--fg); width: 16px; height: 16px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 16px; font-size: 12.5px; color: var(--fg-2); cursor: pointer; }
.check:has(input:checked) { border-color: var(--fg-2); background: var(--raised); color: var(--fg); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.form-error { color: var(--bad); font-size: 13px; border: 1px solid #6E4337; border-radius: 10px; padding: 8px 12px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.narrow-field { max-width: 340px; }

/* 容器 */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat { background: var(--raised); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.stat > b { font-family: var(--display); font-weight: 300; font-size: 42px; line-height: 1; }
.stat-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stat-foot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-2); padding-top: 10px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.stat-foot b { font-family: var(--display); font-weight: 300; font-size: 20px; color: var(--fg); }
.stat-foot.warn { color: var(--warn); }
.notice { border: 1px dashed var(--warn-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.notice .eyebrow { color: var(--warn); }
.notice.ok-notice { border-color: var(--line-2); }
.notice.ok-notice .eyebrow { color: var(--faint); }
.bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--tc, var(--fg)); border-radius: 2px; transition: width .3s ease; }
.empty { border: 1px dashed var(--line-2); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--fg-2); font-weight: 300; }

/* 页面 */
.page { max-width: 1440px; margin: 0 auto; padding: 28px var(--side-r) 56px var(--side); }
.page.narrow { max-width: 760px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head > div:first-child { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.page-head h1 { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 3vw, 34px); letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.section { margin-top: 26px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.flash { max-width: 1440px; margin: 16px auto 0; padding: 10px 18px; border-radius: 20px; background: var(--fg); color: var(--bg); font-size: 13px; width: fit-content; max-width: calc(100% - 32px); animation: rise .45s ease-out both; }
.flash.bad { background: var(--bad); }
.flash.warn { background: var(--warn); }

/* 分段控件 */
.seg-group { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line-2); border-radius: 20px; flex-wrap: wrap; }
.seg-link { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 15px; font-size: 12.5px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.seg-link:hover { color: var(--fg); }
.seg-link[aria-current="page"] { background: var(--raised); color: var(--fg); }

/* 表格 */
.table-wrap { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.t { width: 100%; border-collapse: collapse; font-size: 13px; }
.t th { position: sticky; top: 0; background: var(--panel); text-align: left; font-family: var(--display); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 300; vertical-align: middle; }
.t tbody tr:last-child td { border-bottom: 0; }
.t tr[data-href] { cursor: pointer; }
.t tbody tr:hover { background: #272A2E; }
.t td a { text-decoration: none; }
.t td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.t .r { text-align: right; }
.t td.num, .t .num { font-size: 13.5px; }
.t td.clip { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t .nowrap { white-space: nowrap; }
.t .group-row td { background: var(--panel); font-weight: 400; }
.form-t td { padding: 8px 10px; }
.form-t .input { height: 34px; }
.input.xs { width: 84px; }

/* 三栏控制台 */
.console { display: grid; grid-template-columns: 210px minmax(0, 1fr) 400px; max-width: 1600px; margin: 0 auto; min-height: calc(100vh - 63px); border-inline: 1px solid var(--line); }
.rail { border-right: 1px solid var(--line); padding: 22px 12px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.rail-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rail-item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 10px; border-radius: 10px; text-decoration: none; color: var(--fg-2); transition: background .2s ease; }
.rail-item i { width: 18px; height: 3px; border-radius: 2px; background: var(--tc); flex-shrink: 0; }
.rail-item span { display: flex; flex-direction: column; font-size: 12.5px; font-weight: 300; line-height: 1.35; min-width: 0; }
.rail-item em { font-size: 10.5px; color: var(--tc); letter-spacing: .12em; }
.rail-item:hover { background: #2A2D31; }
.rail-item[aria-current="page"] { background: var(--raised); color: var(--fg); }
.rail-item[aria-current="page"] i { width: 24px; height: 4px; }
.drawer-static { background: var(--panel); border-left: 1px solid var(--line); padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 18px; }
.fields { display: grid; grid-template-columns: 74px 1fr; gap: 10px 12px; margin: 0; }
.fields dt { font-family: var(--display); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-top: 2px; }
.fields dd { margin: 0; font-size: 13.5px; font-weight: 300; }
.next-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; text-decoration: none; font-weight: 300; font-size: 13px; }
.next-row .icon { width: 14px; height: 14px; color: var(--faint); }
.next-row .note { margin-left: auto; font-size: 11px; color: var(--faint); }
.next-row:hover { background: #2A2D31; }

/* 登录 */
.login-body main { min-height: calc(100vh - 63px); display: grid; place-items: center; padding: 24px var(--side); }
.login { width: min(420px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 26px; }
.login .hero { font-size: clamp(24px, 6vw, 32px); }

/* 首页 */
.hero-block { display: flex; flex-direction: column; gap: 10px; }
.week-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.best { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 24px; margin-top: 14px; border-top: 3px solid var(--c4); padding: 22px 26px; }
.best.is-empty { border-top-color: var(--line-2); }
.best-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.best-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.best .best-head .eyebrow { color: var(--c4); }
.best.is-empty .best-head .eyebrow { color: var(--faint); }
.best-name { font-size: 28px; line-height: 1.3; font-weight: 400; overflow-wrap: anywhere; }
.best-name a { text-decoration: none; }
.best-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.best-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.best-empty { font-size: 16px; color: var(--fg-2); font-weight: 300; }
.best-score { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.best-score b { font-family: var(--display); font-weight: 300; font-size: 64px; line-height: 1; font-variant-numeric: tabular-nums; }
.big { font-family: var(--display); font-weight: 300; font-size: 42px; line-height: 1; }
.big small { font-size: 16px; color: var(--muted); margin-left: 4px; }
.pick-form { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-end; border-top: 1px solid var(--line-2); padding-top: 14px; flex-wrap: wrap; }
.pick-form .field { flex: 1; min-width: 220px; }
.medal { width: 88px; height: 99px; flex-shrink: 0; overflow: visible; }
.medal .tail { fill: rgba(238,196,106,.12); stroke: var(--c4); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.medal .base { fill: var(--panel); }
.medal .disc { fill: rgba(238,196,106,.24); stroke: var(--c4); stroke-width: 1.6; }
.medal .inner { fill: none; stroke: var(--c4); stroke-width: 1; stroke-dasharray: 2 3; opacity: .7; }
.medal .halo { fill: none; stroke: var(--c4); stroke-width: 1; opacity: .35; animation: breathe 3s ease-in-out infinite; }
.medal text { font-family: var(--display); font-weight: 300; font-size: 15px; fill: var(--c4); }
.medal.off .tail, .medal.off .disc, .medal.off .inner { stroke: var(--lead); fill: none; }
.medal.off .halo { display: none; }
.medal.off text { fill: var(--faint); }
@keyframes breathe { 0%, 100% { opacity: .2; } 50% { opacity: .8; } }
.stat-grid { display: grid; gap: 10px; align-content: start; }
.stat-grid.wide { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 8px; }
.stat-s { background: var(--raised); border-radius: 12px; padding: 12px 14px; display: flex; align-items: baseline; gap: 12px; }
.stat-s b { font-family: var(--display); font-weight: 300; font-size: 26px; line-height: 1.1; min-width: 48px; }
.stat-s span { font-size: 12px; color: var(--muted); }

/* 本周好评荣誉条 */
.honor-strip { display: flex; align-items: center; gap: 16px; margin-top: 24px; min-height: 46px; padding: 0 0 0 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.hs-label { flex-shrink: 0; }
.honor-strip .hs-label .eyebrow { color: var(--c8); }
.hs-viewport { flex: 1; min-width: 0; overflow: hidden; }
.hs-viewport.is-scrollable { overflow-x: auto; scrollbar-width: none; }
.hs-track { display: flex; width: max-content; }
.hs-list { list-style: none; display: flex; padding-right: 14px; }
.hs-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13.5px; height: 44px; padding-left: 14px; }
.hs-item:first-child { padding-left: 0; }
.hs-item::after { content: ""; width: 1px; height: 14px; background: var(--line-2); margin-left: 6px; }
.hs-viewport:not(.is-scrolling) .hs-list .hs-item:last-child::after { display: none; }
.hs-item .icon { width: 15px; height: 15px; color: var(--c8); }
.hs-item a { text-decoration: none; }
.hs-item a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hs-item .idtag { font-size: 10.5px; padding: 1px 6px; }
.hs-item b { font-family: var(--display); font-weight: 400; font-size: 13px; color: var(--fg); }
.hs-src { font-size: 11.5px; color: var(--faint); }
.hs-empty { padding: 12px 16px 12px 0; }
.is-scrolling .hs-track { animation: marquee var(--dur, 20s) linear infinite; }
.is-scrolling:hover .hs-track, .is-scrolling:focus-within .hs-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 精选照片流：按行从左到右排列，每行等高、两端对齐，最后一行左对齐 */
.stream { --row: 520px; --max-per-row: 4; --min-per-row: 1; display: flex; flex-wrap: wrap; gap: 26px 16px; }
.stream::after { content: ""; flex: 999999 1 0; }
.tile { flex: var(--ar) 1 calc(var(--ar) * var(--row)); max-width: calc(var(--ar) * var(--row) * 1.8); min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; animation: rise .45s ease-out both; }
.tile-img { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); cursor: zoom-in; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .24s ease; }
.tile-img:hover img { opacity: .88; }
.tile figcaption { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; min-width: 0; }
.cap-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 6px; min-width: 0; }
.tile .who { display: flex; align-items: center; gap: 8px; font-size: 13px; flex: 1 0 auto; max-width: 100%; min-height: 32px; }
.tile .who .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .who .idtag { font-size: 10.5px; padding: 1px 6px; }
.tile .cap { font-size: 12.5px; color: var(--muted); font-weight: 300; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.like { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 9px; border-radius: 16px; border: 1px solid transparent; background: none; color: var(--muted); font-size: 12.5px; cursor: pointer; flex-shrink: 0; transition: color .2s ease, border-color .2s ease; }
.like:hover { border-color: var(--line-2); color: var(--fg); }
.like .icon { width: 16px; height: 16px; }
.like .icon path { transition: fill .2s ease; }
.like[aria-pressed="true"] { color: var(--c7); }
.like[aria-pressed="true"] .icon path { fill: rgba(212,144,179,.3); }
.stream-more { display: flex; justify-content: center; margin-top: 22px; }
.stream-end { text-align: center; margin-top: 22px; color: var(--faint); }
.lightbox { border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); padding: 0; max-width: min(1240px, 96vw); max-height: 94vh; color: var(--fg); box-shadow: 0 18px 40px rgba(0,0,0,.45); overflow: hidden; }
.lightbox::backdrop { background: rgba(10,10,12,.62); }
.lightbox img { max-width: 100%; max-height: calc(94vh - 60px); margin: 0 auto; }
.lb-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.lb-cap { flex: 1; font-size: 13px; color: var(--fg-2); }

/* 评级标准 */
.levels-t td:nth-child(2) { white-space: nowrap; }
.rubric { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; margin-top: 14px; }
.rubric-cat { border-top: 3px solid var(--tc); display: flex; flex-direction: column; gap: 14px; }
.rubric-cat header { display: flex; align-items: center; gap: 12px; }
.rubric-cat header > div { flex: 1; }
.weight { font-family: var(--display); font-weight: 300; font-size: 26px; }
.weight small { font-size: 13px; color: var(--muted); margin-left: 2px; }
.rubric-items { list-style: none; display: flex; flex-direction: column; }
.rubric-items li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.rubric-items li:target { background: var(--raised); margin: 0 -10px; padding: 12px 10px; border-radius: 10px; }
.ri-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ri-head b { font-weight: 400; }
.code { font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--faint); }
.ref { font-family: var(--display); font-size: 10.5px; letter-spacing: .1em; color: var(--faint); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 7px; }
.rubric-items p { font-size: 13px; color: var(--fg-2); font-weight: 300; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tagchip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line-2); background: none; color: var(--fg-2); font-size: 12px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.tagchip.static { min-height: 22px; padding: 0 9px; font-size: 11.5px; cursor: default; color: var(--muted); }
.tagchip:not(.static):hover { border-color: var(--faint); }
.tagchip[aria-pressed="true"] { border-color: var(--bad); color: var(--bad); background: rgba(236,154,134,.08); }

/* 团队 */
.mini-prog { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.sugg-list { display: flex; flex-direction: column; gap: 8px; }
.sugg { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; flex-wrap: wrap; background: var(--bg); }
.sugg-ic { width: 32px; height: 32px; border-radius: 16px; border: 1.3px solid var(--faint); display: inline-flex; align-items: center; justify-content: center; }
.sugg.up .sugg-ic { color: var(--ok); border-color: #3E5A42; }
.sugg.down .sugg-ic { color: var(--bad); border-color: #6E4337; }
.sugg-txt { flex: 1; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; min-width: 200px; }
.sugg-txt a { text-decoration: none; }
.sugg-act { display: flex; gap: 8px; }

/* 摄影师个人页 */
.pconsole { grid-template-columns: 210px minmax(0, 1fr) 400px; grid-template-rows: auto auto 1fr; grid-template-areas: "rail head info" "rail remind info" "rail rest info"; }
.pconsole .rail { grid-area: rail; }
.pconsole .rail-list { overflow-y: auto; }
.p-head { grid-area: head; padding: 28px 28px 0; display: flex; flex-direction: column; gap: 8px; }
.p-name { font-family: var(--body); font-weight: 400; font-size: clamp(24px, 3vw, 30px); line-height: 1.3; }
.p-line { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.p-remind { grid-area: remind; padding: 22px 28px 0; }
.p-info { grid-area: info; align-self: start; position: sticky; top: 63px; max-height: calc(100vh - 63px); overflow: auto; min-height: calc(100vh - 63px); }
.p-rest { grid-area: rest; padding: 0 28px 48px; min-width: 0; }
.info-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.info-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.drafts { display: flex; flex-direction: column; gap: 8px; }
.reminders { list-style: none; counter-reset: rem; display: flex; flex-direction: column; gap: 10px; }
.reminders li { counter-increment: rem; position: relative; padding: 14px 16px 14px 56px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; font-weight: 400; }
.reminders li::before { content: counter(rem, decimal-leading-zero); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 13px; letter-spacing: .08em; color: var(--warn); }
.reminders.sm li { font-size: 16px; padding: 10px 14px 10px 48px; }
.issues { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.issue { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; }
.issue .count { font-size: 20px; font-weight: 300; min-width: 40px; color: var(--fg-2); }
.issue > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.issue b { font-weight: 400; }
.issue.red { border-color: #6E4337; background: rgba(236,154,134,.06); }
.issue.red .count, .issue.red b { color: var(--bad); }
.records { display: flex; flex-direction: column; gap: 8px; }
.record { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.record summary { list-style: none; display: grid; grid-template-columns: 110px 110px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; }
.record summary::-webkit-details-marker { display: none; }
.record summary:hover { background: #2A2D31; border-radius: 12px; }
.r-date { font-size: 13px; }
.r-code { font-size: 13px; letter-spacing: .06em; }
.r-total { font-size: 24px; font-weight: 300; }
.record-body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); }
.cat-bars { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.cat-bar { display: grid; grid-template-columns: 22px minmax(90px, 200px) 1fr 44px; gap: 10px; align-items: center; font-size: 13px; font-weight: 300; }
.cat-bar .en { color: var(--tc); font-size: 11px; }
.cat-bar .num { text-align: right; font-size: 14px; }
.cb-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-notes { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.item-notes li { border-left: 2px solid var(--line-2); padding: 2px 0 2px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 300; }
.item-notes .num { margin-left: 6px; }
.next { color: var(--fg-2); }
.next::first-letter { color: var(--warn); }
.summary { color: var(--fg-2); font-weight: 300; white-space: pre-wrap; }
.trend { width: 100%; height: auto; display: block; }
.trend .grid line { stroke: var(--line); stroke-width: 1; }
.trend text { font-family: var(--display); font-size: 11px; fill: var(--faint); }
.trend .ref line { stroke: var(--lead); stroke-dasharray: 2 6; stroke-width: 1.4; }
.trend .ref text { fill: var(--muted); }
.trend .line { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.trend .pt circle { fill: var(--bg); stroke: var(--fg); stroke-width: 1.6; }
.cat-avgs { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.prog-row { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.prog-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 300; }
.prog-top span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.prog-top i { width: 14px; height: 3px; border-radius: 2px; background: var(--tc); flex-shrink: 0; }
.prog-top em { color: var(--tc); font-size: 10.5px; }
.prog-top b { font-family: var(--display); font-weight: 300; font-size: 16px; }
.review-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.review { display: flex; flex-direction: column; gap: 10px; }
.rv-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.review blockquote { margin: 0; color: var(--fg-2); font-weight: 300; font-size: 13.5px; line-height: 1.75; border-left: 2px solid var(--line-2); padding-left: 12px; }

/* 评分表 */
.eval-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.eval-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.eval-meta { display: flex; flex-direction: column; gap: 12px; }
.eval-meta .seg-group { align-self: flex-start; }
.cat { border-top: 3px solid var(--tc); padding: 0; }
.cat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cat-head > div:nth-child(2) { flex: 1; min-width: 0; }
.cat-score { display: flex; flex-direction: column; align-items: flex-end; }
.cat-score .num { font-size: 26px; font-weight: 300; line-height: 1.1; }
.item { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.item:last-child { border-bottom: 0; }
.item-head { display: flex; align-items: baseline; gap: 10px; }
.item-name { flex: 1; font-size: 15px; }
.item-out { font-size: 22px; font-weight: 300; min-width: 44px; text-align: right; color: var(--faint); }
.item.is-scored .item-out { color: var(--fg); }
.item.is-na .item-out { font-family: var(--body); font-size: 13px; }
.item.is-missing { background: rgba(230,181,102,.05); }
.points { font-size: 12.5px; color: var(--muted); font-weight: 300; }
.points a { color: var(--faint); }
.score-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.steps, .fine { display: flex; gap: 6px; align-items: center; }
.seg { min-width: 48px; height: 36px; padding: 0 10px; border-radius: 18px; border: 1px solid var(--line-2); background: none; color: var(--fg-2); font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 13.5px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.seg:hover { border-color: var(--faint); color: var(--fg); }
.seg[aria-pressed="true"] { background: var(--raised); border-color: var(--fg-2); color: var(--fg); }
.seg.sm { min-width: 40px; font-size: 12.5px; }
.seg.na { font-family: var(--body); font-size: 12.5px; }
.score-input { width: 72px; height: 36px; text-align: center; border-radius: 18px; }
.item.is-na .steps, .item.is-na .fine .sm, .item.is-na .score-input { opacity: .35; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.more summary { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; list-style: none; min-height: 32px; }
.more summary::-webkit-details-marker { display: none; }
.more summary .icon { width: 14px; height: 14px; }
.more summary:hover { color: var(--fg); }
.more[open] summary { margin-bottom: 10px; }
.big-ta { font-size: 16px; }
.eval-aside { position: sticky; top: 80px; }
.aside-in { display: flex; flex-direction: column; gap: 12px; }
.aside-in .big { font-size: 56px; }
.aside-cats { display: flex; flex-direction: column; gap: 8px; }
.aside-actions { display: flex; gap: 10px; }
.aside-actions .btn { flex: 1; }
.mobile-bar { display: none; }
.eval-summary { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; }
.eval-summary .cat-bars { padding-top: 18px; }
.detail-t td p { margin: 2px 0; }

/* 上传 */
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; border: 1px dashed var(--line-2); border-radius: 14px; cursor: pointer; text-align: center; color: var(--fg-2); }
.drop .icon { width: 28px; height: 28px; color: var(--faint); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.over, .drop:hover { border-color: var(--faint); background: var(--raised); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* 后台 */
.admin-console { grid-template-columns: 210px minmax(0, 1fr); }
.admin-main { padding: 28px 28px 56px; min-width: 0; }
.narrow-panel { max-width: 560px; }
.admin-cat { border-top: 3px solid var(--tc); padding: 0; }
.admin-cat.inactive, .item-form.inactive { opacity: .6; }
.cat-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cat-form .idtag { align-self: center; }
.field.xs { width: 84px; }
.field.sm { width: 140px; }
.field.grow { flex: 1; min-width: 240px; }
.admin-items { display: flex; flex-direction: column; }
.item-form { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.if-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.if-row .field:not(.xs):not(.sm):not(.grow) { flex: 1; min-width: 180px; }
.add-item { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; padding: 14px 18px; }
.add-item .field:not(.xs) { flex: 1; min-width: 160px; }

/* 动效 */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.appear { animation: rise .45s ease-out both; animation-delay: var(--d, 0s); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 10px 18px; border-radius: 20px; font-size: 13px; z-index: 80; box-shadow: 0 18px 40px rgba(0,0,0,.45); }

/* ≤1180 */
@media (max-width: 1180px) {
  .console, .pconsole { grid-template-columns: 200px minmax(0, 1fr); }
  .pconsole { grid-template-rows: none; grid-template-areas: "rail head" "rail remind" "rail info" "rail rest"; }
  .p-info { position: static; max-height: none; min-height: 0; overflow: visible; margin: 22px 28px 0; border: 1px solid var(--line); border-radius: 14px; }
  .p-info .info-top, .p-info .stat, .p-info .fields { max-width: 640px; }
  .eval-layout { grid-template-columns: minmax(0, 1fr); }
  .eval-aside { display: none; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bg-rail); border-top: 1px solid var(--line); padding: 10px var(--side-r) calc(10px + env(safe-area-inset-bottom)) var(--side); justify-content: space-between; align-items: center; gap: 12px; }
  .mobile-bar > div:first-child { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
  .mobile-bar b { font-family: var(--display); font-weight: 300; font-size: 28px; }
  .mb-actions { display: flex; gap: 8px; }
  body.with-mobile-bar main { padding-bottom: 80px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ≤820 */
@media (max-width: 820px) {
  .top-in { flex-wrap: wrap; gap: 0 12px; padding-top: 6px; }
  .brand { order: 1; height: 44px; align-items: center; }
  .top-right { order: 2; }
  .tabs { order: 3; flex-basis: 100%; margin: 0 -4px; }
  .tab { padding: 0 10px; }
  .pill-btn em { display: none; }
  .pill-btn { max-width: 150px; }
  .console, .pconsole, .admin-console { grid-template-columns: minmax(0, 1fr); border-inline: 0; }
  .pconsole { grid-template-areas: "rail" "head" "remind" "info" "rest"; }
  .rail { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px var(--side-r) 10px var(--side); flex-direction: row; align-items: center; gap: 10px; }
  .rail > .eyebrow { display: none; }
  .rail-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .rail-list::-webkit-scrollbar { display: none; }
  .rail-item { min-height: 40px; white-space: nowrap; padding: 4px 12px; }
  .is-self .pconsole .rail { display: none; }
  .p-head { padding: 22px var(--side-r) 0 var(--side); }
  .p-remind { padding: 18px var(--side-r) 0 var(--side); }
  .is-self .p-remind { min-height: calc(100svh - 230px); }
  .p-info { margin: 22px var(--side-r) 0 var(--side); padding: 18px; }
  .p-rest { padding: 0 var(--side-r) 40px var(--side); }
  .admin-main { padding: 22px var(--side-r) 40px var(--side); }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .record summary { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .record summary .r-std { grid-column: 1; }
  .record summary .r-total { grid-row: 1 / span 3; grid-column: 2; }
  .eval-summary { grid-template-columns: 1fr; }
  .rubric { grid-template-columns: 1fr; }
  .cat-bar { grid-template-columns: 22px minmax(70px, 120px) 1fr 40px; }
}

/* ≤480 */
@media (max-width: 480px) {
  .page { padding-top: 22px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .stat-s { padding: 10px 12px; }
  .stat-s b { font-size: 22px; }
  .item { padding: 14px; }
  .cat-head { padding: 14px; }
  .steps { width: 100%; }
  .steps .seg { flex: 1; min-width: 0; padding: 0; }
  .fine { width: 100%; }
  .fine .score-input { flex: 1; }
  .fine .seg.na { margin-left: auto; }
  .reminders li { padding: 14px 14px 14px 48px; }
  .reminders li::before { left: 14px; }
  .page-head .head-actions { width: 100%; }
  .t td.clip { max-width: 160px; }
}

@media (max-width: 1180px) {
  .stream { --row: 440px; }
}
@media (max-width: 820px) {
  .stream { --max-per-row: 3; }
}
@media (max-width: 820px) {
  .stream { --row: 340px; gap: 22px 12px; }
  .best { padding: 18px; gap: 12px 18px; }
  .best-name { font-size: 24px; }
  .best-score b { font-size: 52px; }
}
@media (max-width: 480px) {
  .tile .who .idtag { display: none; }
  .like { padding: 0 6px; }
  .medal { width: 56px; height: 64px; grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .best { gap: 6px 14px; }
  .best-main { display: contents; }
  .best-main > * { grid-column: 2 / -1; }
  .best-head { grid-row: 1; align-self: end; }
  .best .best-head .eyebrow b { display: none; }
  .best-name { grid-column: 2; grid-row: 2; font-size: 22px; align-self: start; }
  .best-score { grid-column: 3; grid-row: 2; align-self: start; }
  .best-score b { font-size: 44px; }
  .best-score .eyebrow { display: none; }
  .best-meta, .best-empty, .best .note { grid-column: 1 / -1; }
  .best-meta { margin-top: 6px; }
  .honor-strip { padding-left: 12px; gap: 12px; }
  .honor-strip .hs-label .eyebrow b { display: none; }
}

@media (max-width: 600px) {
  .stream { --row: 240px; --max-per-row: 2; --min-per-row: 2; gap: 18px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 补充 */
.rail-item.neutral { --tc: var(--lead); }
.rail-item.neutral em { color: var(--faint); }
.rail-item.neutral[aria-current="page"] { --tc: var(--fg); }
.rail-item.neutral[aria-current="page"] em { color: var(--muted); }
.red-strip { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.red-strip .eyebrow { color: var(--bad); }
.tagchip.red { border-color: #6E4337; color: var(--bad); text-decoration: none; min-height: 30px; font-size: 13px; }
.scroll-hint { display: none; }
.trend.m { display: none; }
.if-row:nth-child(2) { align-items: stretch; }
@media (max-width: 820px) {
  .trend.d { display: none; }
  .trend.m { display: block; }
  .trend.m text { font-size: 12px; }
  .is-self .p-remind { display: flex; flex-direction: column; }
  .is-self .scroll-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; text-decoration: none; align-self: center; }
  .scroll-hint .icon { width: 14px; height: 14px; }
}
form > .table-wrap + .actions { margin-top: 14px; }
.inactive-row td { opacity: .55; }
.inactive-row td:last-child, .inactive-row td:nth-child(4) { opacity: 1; }
.input.sm-in { width: 120px; }
.field.xs-wide { width: 140px; }
.stream.is-justified .tile { flex: 0 0 auto; max-width: none; }
.add-item .field.xs-wide { flex: 0 0 160px; width: 160px; min-width: 0; }
.locked-name { display: flex; align-items: center; gap: 8px; }
.locked-name .input { color: var(--fg-2); }
.danger { border: 1px dashed #6E4337; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.danger .eyebrow { color: var(--bad); }
.danger p { font-size: 13.5px; font-weight: 300; color: var(--fg-2); line-height: 1.7; }
.danger p b { color: var(--bad); font-weight: 400; }
.btn.danger-btn { border-color: #6E4337; color: var(--bad); }
.btn.danger-btn:hover:not(:disabled) { background: rgba(236,154,134,.08); border-color: var(--bad); }
.cat-head .cat-title { flex: 1; min-width: 0; }
.cat-na { flex-shrink: 0; }
.cat-na-note { display: none; padding: 14px 18px; }
.cat.is-na { border-top-color: var(--line-2); }
.cat.is-na .cat-head { border-bottom: 0; }
.cat.is-na .cat-head .h-zh, .cat.is-na .cat-head .en-sub { color: var(--faint); }
.cat.is-na .cat-na-note { display: block; border-top: 1px solid var(--line); }
.cat.is-na .item { display: none; }
.cat.is-na .cat-score .num { font-family: var(--body); font-size: 14px; color: var(--muted); }
.prog-row.is-na { opacity: .5; }
@media (max-width: 480px) {
  .cat-head { flex-wrap: wrap; gap: 10px; }
  .cat-head .cat-score { margin-left: auto; }
}
