:root {
  --paper: #F3EFE6;
  --paper-2: #EAE4D6;
  --ink: #141414;
  --muted: #6B665C;
  --line: #D8D0BF;
  --accent: #FF5A1F;
  --sage: #8A9A3B;
  --display: "Futura", "Avenir Next", "PingFang SC", "Noto Sans SC", sans-serif;
  --body: -apple-system, "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.u { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 顶栏 */
.top { position: sticky; top: 0; z-index: 20; background: rgba(243,239,230,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 8px; }
.logo .slash { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.logo .cursor { display: inline-block; width: 8px; height: 14px; background: var(--accent); margin-left: 2px; animation: blink 1.1s steps(1) infinite; vertical-align: -1px; }
@keyframes blink { 50% { opacity: 0; } }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--ink); }
.bell { position: relative; }
.bell .dot { position: absolute; top: -6px; right: -12px; background: var(--accent); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 6px; line-height: 16px; }

/* 通用按钮 */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 18px; background: transparent; font: 600 14px var(--body); cursor: pointer; color: var(--ink); transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.hot { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.on { background: var(--ink); color: var(--paper); }
.btn .n { font-family: var(--mono); font-size: 12px; opacity: .75; }
.chip { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.4); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; padding: 1px 8px; border-radius: 6px; border: 1px solid currentColor; }
.tag.自选 { color: #2F7F4F; } .tag.联名 { color: #4B4E8C; } .tag.银幕 { color: #A8481B; } .tag.代言 { color: #8B6D0E; }
.tag.unverified { color: #B3261E; border-style: dashed; }
.sticker { display: inline-block; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 11px; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--ink); transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--ink); }

/* 提示 */
.flash { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--ink); font-size: 14px; }
.flash.ok { background: #E3EBCF; } .flash.error { background: #F7D9CC; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* 首页 */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: end; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 80px); line-height: 1.22; letter-spacing: -.02em; margin: 0; }
.hero h1 .nowrap { white-space: nowrap; }
.hero h1 .wave { padding-bottom: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 8 Q10 0 20 8 T40 8' fill='none' stroke='%23FF5A1F' stroke-width='3.5'/%3E%3C/svg%3E") left 96% / .42em .13em repeat-x; }
.hero > *, .detail > *, .p-story > *, .me-hero > * { min-width: 0; }
body { overflow-x: hidden; }
.hero p.lede { font-size: 18px; color: var(--muted); max-width: 30em; margin: 22px 0 0; }
.sub-box { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 26px; }
.sub-box h3 { margin: 0 0 6px; font-family: var(--display); font-size: 22px; }
.sub-box p { margin: 0 0 16px; color: #BDB6A6; font-size: 14px; }
.sub-form { display: flex; gap: 8px; }
.sub-form input { flex: 1; border: none; border-radius: 999px; padding: 12px 18px; font: 15px var(--body); background: var(--paper); color: var(--ink); min-width: 0; }
.sub-form button { border: none; border-radius: 999px; padding: 0 20px; background: var(--accent); color: #fff; font: 700 15px var(--body); cursor: pointer; }
.sub-meta { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: #A39C8C; letter-spacing: .05em; }

.section { padding: 56px 0 8px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; border-bottom: 1.5px solid var(--ink); padding-bottom: 10px; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: 30px; margin: 0; letter-spacing: -.01em; }

/* 本期 */
.issue { border: 1.5px solid var(--ink); border-radius: var(--r); background: #FBF9F3; overflow: hidden; }
.issue-top { display: flex; justify-content: space-between; padding: 12px 22px; border-bottom: 1.5px dashed var(--line); }
.issue-body { padding: 22px 26px 8px; }
.issue-body h3 { font-family: var(--display); font-size: 26px; margin: 0 0 6px; }
.issue-body .intro { color: var(--muted); margin: 0 0 14px; }
.tldr { list-style: none; padding: 0; margin: 0; }
.tldr li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.tldr .no { font-family: var(--mono); color: var(--accent); font-weight: 700; }
.tldr .name { font-weight: 700; }
.tldr .go { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* 大头 */
.heads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.head { container-type: inline-size; position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .18s; }
.head:hover { transform: rotate(-1deg) translateY(-3px); }
.head .latin { font-family: var(--display); font-weight: 900; font-size: min(calc(118cqw / var(--len, 7)), 30cqw); line-height: .9; letter-spacing: -.03em; white-space: nowrap; }
.head .cn { font-weight: 700; font-size: 17px; }
.head .meta { font-family: var(--mono); font-size: 11px; opacity: .85; letter-spacing: .05em; }
.head .sticker { position: absolute; right: 14px; bottom: 16px; }
.head.big { aspect-ratio: auto; min-height: 360px; padding: 32px; }
.head.big .latin { font-size: min(calc(110cqw / var(--len, 7)), 150px); }
.head .halo { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); }
.head .halo.two { right: -10px; top: -10px; width: 110px; height: 110px; }
.kind-filter { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }

/* 物件卡 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #FBF9F3; border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 4px 4px 0 var(--ink); }
.pic { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 1.5px solid var(--ink); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic svg { width: 52%; height: auto; }
.pic .ref { position: absolute; left: 10px; top: 10px; font-family: var(--mono); font-size: 10.5px; background: var(--paper); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--ink); }
.pic .cat { position: absolute; right: 10px; top: 10px; }
.pic.手表 { background: #EADFC6; } .pic.车 { background: #D5E2DC; } .pic.相机 { background: #E9D5CC; } .pic.眼镜 { background: #DCDDEC; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .brand { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.card .title { font-weight: 800; font-size: 16px; line-height: 1.3; }
.owners { display: flex; gap: -4px; margin-top: auto; padding-top: 8px; align-items: center; }
.ava { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 10px; font-weight: 800; border: 2px solid #FBF9F3; margin-right: -6px; font-family: var(--display); }
.owners .who { margin-left: 12px; font-size: 12px; color: var(--muted); }

/* 物件详情 */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 40px 0; }
.detail .pic { border: 1.5px solid var(--ink); border-radius: 24px; }
.detail h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin: 6px 0 4px; letter-spacing: -.02em; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 8px; }
.actions .hint { width: 100%; font-size: 12.5px; color: var(--muted); }
.blocks { margin-top: 26px; display: grid; gap: 18px; }
.block .label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; margin-bottom: 4px; }
.block p { margin: 0; }
.who-list { display: grid; gap: 12px; }
.who-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px; border: 1.5px solid var(--ink); border-radius: 16px; background: #FBF9F3; }
.who-item .mini { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 900; font-size: 16px; text-align: center; line-height: 1; padding: 4px; }
.who-item .src { font-size: 12px; color: var(--muted); }

/* 名人详情 */
.p-hero { margin: 32px 0 0; }
.p-story { display: grid; grid-template-columns: 1fr 1.3fr; gap: 44px; padding: 40px 0 10px; }
.p-story .quote { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.25; }
.p-story .story { font-size: 17px; }
.row-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* 我的 */
.me-hero { padding: 44px 0 10px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.taste-label { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; margin: 8px 0 16px; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 52px 1fr 44px; gap: 10px; align-items: center; font-size: 14px; }
.bar .track { height: 12px; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: #FBF9F3; }
.bar .fill { height: 100%; background: var(--accent); }
.panel { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 20px; background: #FBF9F3; }
.panel h3 { margin: 0 0 12px; font-family: var(--display); font-size: 20px; }
.closest { display: grid; gap: 10px; }
.closest a { display: flex; gap: 12px; align-items: center; }
form.stack { display: grid; gap: 10px; }
form.stack input[type=text], form.stack input[type=email], form.stack input[type=url], form.stack select, form.stack textarea {
  border: 1.5px solid var(--ink); border-radius: 12px; padding: 10px 12px; font: 15px var(--body); background: var(--paper); width: 100%; }
.alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.alerts li { padding: 10px 12px; border-radius: 12px; background: var(--paper-2); font-size: 14px; }
.alerts li.new { background: #FFE2D6; }
.reason { font-size: 12px; color: var(--muted); }
.empty { padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--r); text-align: center; color: var(--muted); }

/* 分享卡 */
.share-card { max-width: 560px; margin: 40px auto; background: var(--ink); color: var(--paper); border-radius: 28px; padding: 34px; position: relative; overflow: hidden; }
.share-card .taste-label { color: var(--paper); }
.share-card .halo { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(255,90,31,.6); }
.share-card .picks { display: grid; gap: 6px; margin-top: 18px; font-size: 15px; }
.share-card .picks span { font-family: var(--mono); font-size: 11px; color: var(--accent); margin-right: 8px; }

/* 表格（后台） */
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
table.t th { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { border: 1.5px solid var(--ink); border-radius: 16px; padding: 16px; background: #FBF9F3; }
.stat .v { font-family: var(--display); font-weight: 900; font-size: 36px; }

footer { margin-top: 80px; border-top: 1.5px solid var(--ink); padding: 26px 0 50px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero, .detail, .p-story, .me-hero { grid-template-columns: 1fr; }
  .heads, .grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 14px; }
}

.thumb .pic .ref, .thumb .pic .cat { display: none; }
.thumb { border-radius: 12px; overflow: hidden; border: 1.5px solid var(--ink); }
@media (max-width: 600px) {
  .who-item[style] { grid-template-columns: 96px 1fr !important; }
  .sub-form { flex-direction: column; } .sub-form button { padding: 12px; }
  .tldr li { grid-template-columns: 34px 1fr; } .tldr .go { display: none; }
}


/* ===== 大头 v2：抠图半身像 + 大字（参照 faqt.fr 的做法） ===== */
.head .latin { position: absolute; left: 18px; right: 0; top: 34%; z-index: 1; }
.head .bust { position: absolute; z-index: 2; right: -6%; bottom: 0; height: 84%; width: 78%; display: flex; justify-content: flex-end; align-items: flex-end; pointer-events: none; transition: transform .25s; }
.head:hover .bust { transform: translateY(-4px) scale(1.02); }
.bust-img { height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom right;
  filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff) drop-shadow(6px 8px 0 rgba(0,0,0,.18)); }
.bust-ph { height: 100%; width: auto; fill: currentColor; opacity: .16; }
.head .cn { position: absolute; z-index: 3; left: 14px; bottom: 16px; font-size: 13px; font-weight: 700; background: var(--ink); color: var(--paper); padding: 3px 10px; border-radius: 999px; }
.head .meta { position: relative; z-index: 3; }
.head .sticker { z-index: 3; }
.head.has-photo .halo { opacity: .5; }

.stage { position: relative; margin: 28px 0 0; min-height: 560px; border-radius: 26px; overflow: hidden; background: var(--bg); color: var(--fg); container-type: inline-size; }
.stage .meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; opacity: .85; }
.stage-text { position: relative; z-index: 1; padding: 36px 40px; max-width: 58%; }
.stage-name { margin: 10px 0 6px; font-family: var(--display); font-weight: 900; letter-spacing: -.045em; line-height: .86; white-space: nowrap; font-size: min(calc(150cqw / var(--len)), 190px); }
.stage-cn { font-size: 24px; font-weight: 800; margin-top: 22px; }
.stage-hook { font-size: 19px; line-height: 1.5; max-width: 26em; opacity: .92; margin: 18px 0 0; }
.stage-bust { position: absolute; z-index: 2; right: 4%; bottom: 0; height: 92%; width: 50%; display: flex; justify-content: center; align-items: flex-end; pointer-events: none; }
.stage .bust-ph { opacity: .2; }
.stage-quote { position: absolute; z-index: 3; right: 28px; bottom: 28px; width: min(380px, 44%); color: var(--ink); transition: transform .18s; }
.stage-quote:hover { transform: translateY(-3px) rotate(-.5deg); }
.stage-quote .pill { display: inline-block; float: right; margin-bottom: 8px; font-size: 12px; background: var(--ink); color: var(--paper); padding: 4px 12px; border-radius: 999px; }
.stage-quote .q-body { clear: both; background: #fff; border-radius: 12px 12px 0 0; padding: 14px 18px; }
.q-ref { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .05em; }
.q-name { font-weight: 800; font-size: 19px; line-height: 1.3; }
.q-note { font-size: 14px; line-height: 1.5; margin-top: 4px; }
.q-bar { display: flex; justify-content: space-between; margin: 0 8px; padding: 8px 12px; border-radius: 0 0 12px 12px; color: #fff; font-size: 13px; font-weight: 700; background: #2F7F4F; }
.q-bar.联名 { background: #4B4E8C; } .q-bar.银幕 { background: #A8481B; } .q-bar.代言 { background: #8B6D0E; }
.stage .credit { position: absolute; z-index: 3; left: 40px; bottom: 18px; font-family: var(--mono); font-size: 10px; opacity: .7; }
@media (max-width: 760px) {
  .stage { min-height: 0; padding-bottom: 20px; }
  .stage-text { max-width: none; padding: 26px 22px 0; }
  .stage-name { font-size: min(calc(118cqw / var(--len)), 110px); }
  .stage-cn { margin-top: 12px; }
  .stage-bust { position: relative; right: auto; height: 300px; width: 100%; margin-top: 8px; }
  .stage-quote { position: relative; right: auto; bottom: auto; width: auto; margin: -40px 16px 0; display: block; }
  .stage .credit { position: static; padding: 12px 22px 0; }
}

/* ===== 涂鸦：没有授权照片的人，画 TA 的东西 ===== */
.doodle { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; pointer-events: none; }
.doodle .blob { fill: currentColor; stroke: none; opacity: .13; }
.doodle .hand { fill: currentColor; stroke: none; font-family: "Caveat", "Marker Felt", "Chalkboard SE", "Comic Sans MS", cursive; font-weight: 700; }
.head.has-doodle .halo { display: none; }
.head.has-doodle:hover .doodle { transform: rotate(-1.5deg); transition: transform .25s; }
.stage-bust.doodled { right: 2%; width: 52%; height: 96%; }
.stage-bust.doodled .doodle { position: absolute; inset: 0; stroke-width: 2.2; }
@media (max-width: 760px) { .stage-bust.doodled { height: 320px; width: 100%; right: auto; } }
.stage.doodled .stage-name { font-size: min(calc(72cqw / var(--len)), 160px); }
@media (max-width: 760px) { .stage.doodled .stage-name { font-size: min(calc(118cqw / var(--len)), 110px); } }

/* 抠图物件照片：和人像一样贴纸白边 */
.pic img.cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10% 10% 9%; filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff) drop-shadow(5px 7px 0 rgba(0,0,0,.16)); }
.credit-line { font-size: 12px; margin-top: 8px; }
/* 分代时间轴 */
.gens { margin-top: 18px; }
.gens .label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.gen-row { display: flex; flex-wrap: wrap; gap: 6px; }
.gen { display: flex; flex-direction: column; min-width: 64px; padding: 6px 10px; border: 1.5px solid var(--ink); border-radius: 10px; line-height: 1.25; background: #fff; transition: transform .15s; }
.gen b { font-size: 14px; } .gen span { font-family: var(--mono); font-size: 10px; color: var(--muted); }
a.gen:hover { transform: translateY(-2px); box-shadow: 2px 2px 0 var(--ink); }
.gen.on { background: var(--ink); color: var(--paper); } .gen.on span { color: var(--paper); opacity: .7; }
.gen.off { border-style: dashed; border-color: var(--line); background: transparent; color: var(--muted); }

/* 我的东西：搜索 + 自由输入 */
.find { display: flex; gap: 8px; }
.find input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; }
.hits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; margin: 16px 0 8px; }
.hit { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; padding: 8px; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; }
.hit .thumb .pic { border-radius: 10px; border: 0; } .hit .pic .ref, .hit .pic .cat { display: none; }
.ask { margin-top: 18px; padding: 18px; border: 1.5px dashed var(--ink); border-radius: var(--r); background: var(--paper-2); }
.ask-kind { display: flex; gap: 16px; font-size: 14px; margin-bottom: 8px; }
.ask textarea, .stack textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; resize: vertical; }
.ask-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.ask .file { font-size: 14px; cursor: pointer; } .ask .file input { font-size: 13px; margin-left: 6px; max-width: 200px; }
.reqs { margin-top: 18px; } .reqs .label { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 6px; letter-spacing: .06em; }
.req { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.status { font-family: var(--mono); font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.s-排队中 { color: var(--muted); } .s-查找中 { color: #4B4E8C; } .s-待审核 { color: #8B6D0E; } .s-已上线 { color: #2F7F4F; } .s-没找到 { color: #B3261E; }
.draft { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px; background: #fff; }
.draft h3 { margin: 4px 0 8px; }
@media (max-width: 600px) { .hit { grid-template-columns: 64px 1fr; } .hit form { grid-column: 1 / -1; } }

/* 本周工作台 */
.wk-steps { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; }
.wk-step { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.wk-step .big { font-family: var(--display); font-size: 40px; font-weight: 900; line-height: 1; }
.wk-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wk-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px; margin-bottom: 14px; background: #fff; scroll-margin-top: 90px; }
.wk-card.is-done { opacity: .55; padding: 10px 18px; grid-template-columns: 120px minmax(0, 1fr); }
.wk-card.is-done form, .wk-card.is-done .hint { display: none; }
.wk-photo .pic { border: 1.5px solid var(--ink); border-radius: 14px; margin-bottom: 10px; }
.wk-photo .pic .ref, .wk-photo .pic .cat { display: none; }
.wk-photo .stack input[type=text] { font-size: 13px; }
.wk-body h3 { margin: 4px 0 6px; font-size: 22px; }
.hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.wk-check { background: #FFF4D6; border-left: 3px solid #E3B23C; padding: 6px 10px; font-size: 14px; border-radius: 6px; }
.btn.ghost { border-color: var(--line); color: var(--muted); margin-top: 6px; }
.wk-issue-meta { display: grid; grid-template-columns: 170px 1fr; gap: 8px; margin-bottom: 12px; }
.wk-issue-meta textarea, .wk-issue-meta input[name=sign] { grid-column: 1 / -1; }
.wk-issue-meta input, .wk-pick input[type=text] { font: inherit; font-size: 15px; padding: 9px 12px; border: 1.5px solid var(--ink); border-radius: 10px; background: #fff; min-width: 0; }
.wk-pick { display: grid; grid-template-columns: 24px 260px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .wk-steps, .wk-card, .wk-pick { grid-template-columns: 1fr; } .wk-issue-meta { grid-template-columns: 1fr; } }

/* 账本：小票 */
.ledgers { margin-top: 22px; } .ledgers .label { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .06em; margin-bottom: 8px; }
.receipt { position: relative; max-width: 400px; background: #FFFEFA; color: var(--ink); font-family: var(--mono); font-size: 12.5px; line-height: 1.6;
  padding: 16px 18px 22px; border: 1px solid var(--line); box-shadow: 3px 4px 0 rgba(0,0,0,.08); transform: rotate(-.4deg); margin-bottom: 14px;
  -webkit-mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100%; mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100%; }
.r-head { display: flex; justify-content: space-between; font-weight: 700; letter-spacing: .08em; }
.r-angle { margin-top: 6px; color: var(--accent); font-weight: 700; }
.r-q { font-family: var(--body); font-size: 14px; margin: 2px 0 8px; }
.r-rule { border-top: 1.5px dashed var(--ink); margin: 8px 0; } .r-rule.dotted { border-top-style: dotted; border-color: var(--muted); }
.r-row, .r-total { display: flex; justify-content: space-between; gap: 12px; } .r-row span:last-child { text-align: right; }
.r-total { font-size: 16px; font-weight: 800; }
.r-verdict { font-family: var(--body); font-size: 14px; margin: 8px 0 0; }
.r-beyond { font-family: var(--body); font-size: 14px; color: #4A463F; } .r-beyond span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.r-note { font-size: 11px; color: var(--muted); margin: 10px 0 4px; }
.r-src { display: flex; gap: 10px; font-size: 11px; color: var(--muted); flex-wrap: wrap; } .r-src a { text-decoration: underline; } .r-src span { margin-left: auto; }
.coda { margin: 30px 0 0; padding: 22px 0; border-top: 1.5px solid var(--ink); }
.coda .mono { color: var(--muted); } .coda p { font-size: 19px; line-height: 1.8; margin: 6px 0 0; }
.manifesto .mf { max-width: 640px; } .manifesto .mf p { font-size: 18px; line-height: 1.9; margin: 0 0 10px; }
.manifesto .mf p:first-child { font-family: var(--display); font-size: 30px; font-weight: 900; }

/* 编者手记：每期最后，编者自己的几个想法 */
.thoughts { margin: 30px 0 0; padding: 24px 0 4px; border-top: 1.5px solid var(--ink); }
.thoughts .mono { color: var(--muted); }
.thoughts ol { margin: 12px 0 0; padding-left: 1.4em; }
.thoughts li { font-size: 18px; line-height: 1.85; margin-bottom: 10px; }
.thoughts li::marker { color: #9C8458; font-weight: 600; }
.thoughts .sign { text-align: right; color: var(--muted); margin-top: 10px; }

/* 工作台：两个网站一个入口 */
.studio { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin: 24px 0 0; padding: 12px 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; font-size: 14px; }
.studio a { color: var(--muted); }
.studio a.on { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.studio a.pub { margin-left: auto; }
.wy-form label { display: grid; gap: 4px; font-size: 14px; }
.wy-form fieldset { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.wy-form legend { font-size: 13px; color: var(--muted); padding: 0 6px; }
.wy-form label.ck { display: inline-flex; gap: 6px; align-items: center; }
.wy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wy-body { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 16px; line-height: 1.9; }
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pub-log { background: #1d1d1c; color: #dcdad4; padding: 12px 14px; border-radius: 10px; font-size: 12px; white-space: pre-wrap; max-height: 360px; overflow: auto; }
@media (max-width: 760px) { .wy-row, .pub-grid { grid-template-columns: 1fr; } }
