/* 吉米的榴莲 · 每日拍卖 —— 暗墨绿舞台 + 香槟金。字阶 13/16/20/25/31/39/49/61/76，间距 4px 栅格，圆角 10/16 */
:root {
  --bg: #0E1813;
  --bg-2: #122019;
  --surface: #17261E;
  --surface-2: #1E3027;
  --line: rgba(242, 236, 222, .10);
  --line-2: rgba(242, 236, 222, .18);
  --text: #F2ECDE;
  --text-2: #CFD2C4;
  --muted: #95A396;
  --gold: #D8B45E;
  --gold-2: #F1D58C;
  --gold-ink: #1B1508;
  --green: #A4CC82;
  --red: #EE9575;
  --r1: 10px;
  --r2: 16px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --num: "DIN Alternate", "DIN Condensed", "SF Pro Display", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --bar-h: 0px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 70% -10%, rgba(216, 180, 94, .10), transparent 60%);
  background-attachment: fixed;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky; top: 0; z-index: 20; height: 56px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(14, 24, 19, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; min-width: 0; }
.brand img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.brand-name { font: 600 16px/1.2 var(--serif); white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--gold); margin-left: 8px; font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .08em; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 40px; height: 40px; border: 0; background: none; border-radius: var(--r1); display: grid; place-items: center; color: var(--text-2); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(242, 236, 222, .06); }
.online { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-right: 4px; }
.online svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .online-t { display: none; } .brand-name em { margin-left: 4px; } }
.conn { position: sticky; top: 56px; z-index: 19; background: #4A2A1E; color: #FFD9C9; text-align: center; font-size: 13px; padding: 4px 16px; }

main { max-width: 1240px; margin: 0 auto; padding: 16px 16px 32px; }
.loading { min-height: 60vh; display: grid; place-items: center; align-content: center; gap: 16px; color: var(--muted); }
.loading span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--gold); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow { font-size: 13px; letter-spacing: .12em; color: var(--gold); margin: 0 0 8px; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }

/* ---------- 按钮 ---------- */
.btn {
  min-height: 48px; padding: 0 24px; border-radius: var(--r1); border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px;
  transition: transform .15s ease-out, filter .15s ease-out, background .15s ease-out;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-gold:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(242, 236, 222, .05); }
.btn[disabled] { opacity: .55; cursor: default; filter: none; transform: none; }
.btn-block { width: 100%; }

/* ---------- 舞台（竞拍中）---------- */
.stage { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
/* 手机上两栏拆开按顺序排：图 → 价格 → 介绍 → 出价记录 → 拍品队列 */
.col-l, .col-r, .side { display: contents; }
.media { order: 1; } .price-card { order: 2; } .lot-head { order: 3; } .qr-card { order: 4; } .side > .panel { order: 5; } .queue-wrap { order: 6; }
.media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r2); overflow: hidden; background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img.art { object-fit: contain; padding: 24px; background: radial-gradient(closest-side, rgba(216, 180, 94, .18), transparent); }
.media.kb img { animation: kb 18s ease-out both; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.media-tag { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(10, 16, 13, .72); backdrop-filter: blur(6px); font-size: 13px; letter-spacing: .06em; }
.media-tag b { color: var(--gold-2); font-weight: 600; }
.live-chip { position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(10, 16, 13, .72); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.live-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(238, 149, 117, .7); } 100% { box-shadow: 0 0 0 10px rgba(238, 149, 117, 0); } }

.lot-head h1 { font: 700 25px/1.25 var(--serif); margin: 0 0 4px; }
.lot-head p { margin: 0 0 12px; color: var(--text-2); max-width: 36em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.facts b { color: var(--text-2); font-weight: 500; }

.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 20px 20px 16px; position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 160px at 20% 0%, rgba(216, 180, 94, .16), transparent 70%); pointer-events: none; opacity: 0; transition: opacity .25s ease-out; }
.price-card.flash::after { opacity: 1; }
.price-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.price { font: 700 49px/1.1 var(--num); font-variant-numeric: tabular-nums; color: var(--gold-2); margin: 8px 0 8px; display: flex; align-items: baseline; gap: 4px; transform-origin: left center; }
.price small { font-size: 25px; font-weight: 600; color: var(--gold); }
.price.bump { animation: bump .45s ease-out; }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.06); } 100% { transform: scale(1); } }
.leader { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: 16px; color: var(--text-2); }
.leader svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.leader b { color: var(--text); font-weight: 600; }
.leader .me { color: var(--green); font-weight: 600; }

.timer { margin-top: 16px; }
.timer-track { height: 6px; border-radius: 3px; background: rgba(242, 236, 222, .08); overflow: hidden; }
.timer-fill { height: 100%; width: 100%; background: var(--green); transform-origin: left center; transition: background .25s ease-out; }
.timer.warn .timer-fill { background: var(--gold); }
.timer.hot .timer-fill { background: var(--red); }
.timer-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.phase { font: 600 16px/1.3 var(--serif); color: var(--text-2); }
.timer.hot .phase { color: var(--red); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .55; } }
.clock { font: 700 25px/1 var(--num); font-variant-numeric: tabular-nums; }
.timer.hot .clock { color: var(--red); }
.extended { color: var(--gold-2); font-size: 13px; margin-left: 8px; opacity: 0; transition: opacity .2s ease-out; }
.extended.on { opacity: 1; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 16px 20px; }
.panel h2 { font: 600 16px/1.3 var(--serif); margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; }
.panel h2 span { font: 400 13px var(--sans); color: var(--muted); }

.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed li.new { animation: slidein .3s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font: 600 13px var(--sans); color: var(--text-2); flex: none; }
.feed li:first-child .avatar { background: var(--gold); color: var(--gold-ink); }
.feed .who { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .who small { color: var(--muted); font-size: 13px; margin-left: 4px; }
.feed .tag { font-size: 13px; color: var(--gold); margin-left: 8px; }
.feed .tag.me { color: var(--green); }
.feed .amt { font: 600 16px var(--num); font-variant-numeric: tabular-nums; }
.feed li:first-child .amt { color: var(--gold-2); }
.feed li:not(:first-child) { opacity: .78; }
.empty-feed { color: var(--muted); font-size: 15px; padding: 8px 0; }

.chart svg { width: 100%; height: 96px; }
.chart .line { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart .area { fill: url(#chartFill); }
.chart .dot { fill: var(--gold-2); }

.queue { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-snap-type: x proximity; }
.queue::-webkit-scrollbar { display: none; }
.q-item { flex: none; width: 148px; scroll-snap-align: start; border-radius: var(--r1); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.q-item.cur { border-color: var(--gold); }
.q-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.q-item img.art { object-fit: contain; padding: 8px; }
.q-body { padding: 8px 12px 12px; }
.q-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-meta { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 4px; }
.q-meta .sold { color: var(--gold-2); }
.q-meta .live { color: var(--red); }

.section-title { font: 600 16px/1.3 var(--serif); margin: 8px 0 12px; display: flex; justify-content: space-between; align-items: baseline; }
.section-title span { font: 400 13px var(--sans); color: var(--muted); }

.qr-card { display: none; }

@media (min-width: 960px) {
  main { padding: 24px 32px 48px; }
  .stage { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 32px; }
  .col-l, .col-r { display: grid; gap: 24px; align-content: start; }
  .col-r { position: sticky; top: 80px; gap: 16px; }
  .side { order: 3; }
  .side { display: grid; gap: 16px; }
  .price-card { padding: 24px 28px 20px; }
  .queue { margin: 0; padding-left: 0; padding-right: 0; }
  .price { font-size: 76px; }
  .price small { font-size: 31px; }
  .lot-head h1 { font-size: 31px; }
  .clock { font-size: 31px; }
}
@media (min-width: 1280px) { .price { font-size: 96px; } }

/* 投屏模式：给直播/大屏用，不放出价按钮，放二维码 */
body.screen .top { height: 64px; }
body.screen .bidbar, body.screen .cs-fab, body.screen #meBtn { display: none !important; }
body.screen { --bar-h: 0px !important; }
body.screen .qr-card { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 16px; }
.qr-card img { width: 112px; height: 112px; border-radius: 8px; background: #F5F1E6; }
.qr-card b { display: block; font: 600 20px/1.3 var(--serif); margin-bottom: 4px; }
.qr-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 出价栏 ---------- */
.bidbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 24, 19, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.bidbar-in { max-width: 640px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r1); height: 52px; flex: none; }
.stepper button { width: 40px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--text-2); }
.stepper button[disabled] { opacity: .3; cursor: default; }
.stepper .amt { min-width: 88px; text-align: center; font: 700 20px var(--num); font-variant-numeric: tabular-nums; }
.bidbar .btn { flex: 1; min-height: 52px; font-size: 18px; }
.bidbar .status-line { flex: 1; text-align: center; color: var(--text-2); font-size: 15px; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r1); background: var(--surface); }
.bidbar .status-line.lead { color: var(--green); background: rgba(164, 204, 130, .10); }
.bidbar .status-line svg { width: 18px; height: 18px; }
.bid-hint { max-width: 640px; margin: 0 auto 8px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }

.cs-fab {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom)); z-index: 29;
  width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.cs-fab svg { width: 22px; height: 22px; }

/* ---------- 开拍前 ---------- */
.pre-hero { text-align: center; padding: 32px 0 24px; }
.pre-hero h1 { font: 700 31px/1.2 var(--serif); margin: 0 0 8px; }
.pre-hero .when { color: var(--text-2); margin: 0 0 24px; }
.count { display: inline-flex; gap: 8px; align-items: flex-start; }
.count div { min-width: 64px; padding: 12px 8px 8px; border-radius: var(--r1); background: var(--surface); border: 1px solid var(--line); }
.count b { display: block; font: 700 39px/1 var(--num); font-variant-numeric: tabular-nums; color: var(--gold-2); }
.count span { font-size: 13px; color: var(--muted); }
.count .sep { min-width: 0; padding: 12px 0 0; background: none; border: 0; font: 700 31px/1 var(--num); color: var(--muted); }
.pre-cta { margin: 24px auto 0; max-width: 360px; display: grid; gap: 8px; }
.pre-cta p { margin: 0; font-size: 13px; color: var(--muted); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--text-2); font-size: 15px; }
.rules li { display: flex; gap: 12px; }
.rules b { color: var(--gold); font: 600 15px var(--num); flex: none; width: 16px; }
.grid-lots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card-lot { border-radius: var(--r2); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.card-lot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.card-lot img.art { object-fit: contain; padding: 12px; }
.card-lot .b { padding: 12px; }
.card-lot h3 { font: 600 16px/1.3 var(--serif); margin: 0 0 4px; }
.card-lot p { margin: 0 0 8px; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-lot .p { font-size: 13px; color: var(--muted); }
.card-lot .p b { font: 700 20px var(--num); color: var(--gold-2); margin-right: 4px; }
.card-lot .p2 { font-size: 13px; color: var(--muted); }
.pre-cols { display: grid; gap: 32px; margin-top: 16px; }
@media (min-width: 960px) {
  .grid-lots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pre-cols { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
  .pre-hero h1 { font-size: 39px; }
  .count b { font-size: 49px; }
  .count div { min-width: 88px; }
}

/* ---------- 结束 / 空 ---------- */
.end-hero { padding: 32px 0 24px; text-align: center; }
.end-hero h1 { font: 700 31px/1.2 var(--serif); margin: 0 0 8px; }
.end-hero p { margin: 0; color: var(--text-2); }
.stats { display: flex; justify-content: center; gap: 32px; margin: 24px 0 0; }
.stats div { text-align: center; }
.stats b { display: block; font: 700 31px/1.1 var(--num); color: var(--gold-2); }
.stats span { font-size: 13px; color: var(--muted); }
.results { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; gap: 8px; }
.results li { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r1); background: var(--surface); border: 1px solid var(--line); }
.results li.mine { border-color: var(--green); }
.results img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--surface-2); flex: none; }
.results img.art { object-fit: contain; padding: 4px; }
.results .t { flex: 1; min-width: 0; }
.results .t b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results .t span { font-size: 13px; color: var(--muted); }
.results .r { text-align: right; }
.results .r b { display: block; font: 700 20px var(--num); color: var(--gold-2); }
.results .r span { font-size: 13px; color: var(--muted); }
.results .r .unsold { color: var(--muted); font: 500 15px var(--sans); }
.next-box { max-width: 720px; margin: 24px auto 0; padding: 16px 20px; border-radius: var(--r2); border: 1px dashed var(--line-2); display: flex; gap: 12px; align-items: center; color: var(--text-2); }
.next-box svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.empty { min-height: 60vh; display: grid; place-items: center; align-content: center; text-align: center; gap: 8px; padding: 32px 0; }
.empty img { width: 120px; opacity: .9; }
.empty h1 { font: 700 25px/1.3 var(--serif); margin: 16px 0 0; }
.empty p { margin: 0; color: var(--muted); max-width: 22em; }

/* ---------- 落槌弹层 ---------- */
.hammer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(6, 10, 8, .78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .25s ease-out; padding: 16px; }
@keyframes fade { from { opacity: 0; } }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hammer-card { position: relative; text-align: center; width: min(420px, 100%); padding: 32px 24px 24px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 24px 64px rgba(0, 0, 0, .5); animation: rise .3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.gavel { width: 72px; height: 72px; margin: 0 auto 8px; color: var(--gold-2); transform-origin: 80% 80%; animation: strike .9s ease-in-out both; }
.gavel svg { width: 100%; height: 100%; }
@keyframes strike { 0% { transform: rotate(-35deg); } 35% { transform: rotate(12deg); } 45% { transform: rotate(-8deg); } 60% { transform: rotate(8deg); } 70% { transform: rotate(-4deg); } 100% { transform: rotate(0); } }
.stamp { display: inline-block; font: 900 49px/1 var(--serif); letter-spacing: .18em; padding: 12px 12px 12px 24px; color: var(--gold-2); border: 3px double var(--gold); border-radius: 8px; transform: rotate(-6deg); animation: stamp .5s .35s cubic-bezier(.2, 1.6, .4, 1) both; }
.stamp.unsold { color: var(--muted); border-color: var(--muted); }
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(2.2); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
.hammer-card h2 { font: 600 20px/1.3 var(--serif); margin: 24px 0 4px; }
.hammer-card .final { font: 700 49px/1.1 var(--num); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.hammer-card .final small { font-size: 25px; }
.hammer-card .winner { color: var(--text-2); margin: 8px 0 0; }
.hammer-card .winner b { color: var(--text); }
.hammer-card .you { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r1); background: rgba(164, 204, 130, .12); color: var(--green); font-size: 15px; }
.hammer-card .nextline { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.hammer-card .nextline b { color: var(--text); font-weight: 600; }

/* ---------- 底部弹层 ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(6, 10, 8, .6); animation: fade .2s ease-out; }
.sheet { position: relative; width: 100%; max-width: 480px; max-height: 88vh; overflow: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 20px 20px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); animation: up .25s ease-out; }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 640px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 20px; border-bottom: 1px solid var(--line-2); } }
.sheet h2 { font: 700 20px/1.3 var(--serif); margin: 0 0 4px; padding-right: 40px; }
.sheet .sub { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.sheet .x { position: absolute; top: 12px; right: 12px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; color: var(--text-2); }
.field input { height: 48px; border-radius: var(--r1); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); padding: 0 16px; font-size: 16px; width: 100%; }
.field input:focus { border-color: var(--gold); outline: none; }
.form-err { color: var(--red); font-size: 15px; margin: -4px 0 12px; min-height: 0; }
.note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.menu a, .menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r1); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; text-align: left; }
.menu svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.menu span { flex: 1; }
.menu small { color: var(--muted); font-size: 13px; }
.wins { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.wins li { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r1); background: var(--surface); }
.wins img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; background: var(--surface-2); }
.wins img.art { object-fit: contain; padding: 4px; }
.wins .t { flex: 1; min-width: 0; font-size: 15px; }
.wins .t span { display: block; font-size: 13px; color: var(--muted); }
.wins .st { font-size: 13px; color: var(--gold); white-space: nowrap; }

.toast { position: fixed; left: 50%; top: 72px; transform: translateX(-50%); z-index: 70; background: #F2ECDE; color: #1A2119; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); animation: drop .2s ease-out; max-width: calc(100% - 32px); }
.toast.bad { background: #F6D3C6; color: #4A1E10; }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
