:root {
  --bg: #efe3c6; --paper: #f8f0dc; --ink: #3a2a1a; --dim: #8a7356; --gold: #b8862b;
  --deep: #2b1d12; --red: #a23a2a; --green: #3f7a3a; --line: #d9c79f; --sea: #3b6f8f;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: 'Noto Serif KR', 'Apple SD Gothic Neo', serif; font-size: 15px; line-height: 1.5; -webkit-tap-highlight-color: transparent; }
#app { max-width: 480px; margin: 0 auto; padding: 0 12px 110px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1 { font-size: 26px; margin: 12px 0; } h2 { font-size: 17px; margin: 14px 0 6px; } h3 { font-size: 15px; margin: 10px 0 4px; }
p { margin: 6px 0; } b { font-weight: 700; }
.small { font-size: 12.5px; } .dim { color: var(--dim); } .danger { color: var(--red); } .ok { color: var(--green); }
.center { text-align: center; }
.top { position: sticky; top: 0; z-index: 5; background: var(--deep); color: #f3e6c8; margin: 0 -12px; padding: 8px 14px 10px; box-shadow: 0 2px 6px #0004; }
.top .row1 { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #c9b48d; }
.top .row1 button { background: none; border: 1px solid #7a6448; color: #f3e6c8; border-radius: 14px; padding: 2px 10px; font-size: 12.5px; }
.top .fol { font-size: 15px; color: #f3e6c8; margin-top: 2px; }
.top .fol b { font-size: 19px; color: #f5d27a; }
.goal { background: var(--paper); border: 2px solid var(--gold); border-radius: 14px; padding: 10px 12px; margin-top: 10px; }
.goal .big { font-size: 19px; font-weight: 700; }
.meter { position: relative; height: 22px; background: #e2d2ab; border-radius: 11px; overflow: hidden; margin: 8px 0 4px; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #d9a94a, #f5d27a); transition: width .35s; }
.meter.full i { background: linear-gradient(90deg, #6aa45f, #9bd18a); }
.meter span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.coach { background: #2f4a3a; color: #f1f7e9; border-radius: 14px; padding: 10px 12px; margin-top: 10px; font-size: 14.5px; position: relative; }
.coach::before { content: '📜 안내'; display: block; font-size: 11.5px; color: #b6d3b0; margin-bottom: 2px; }
.coach b { color: #ffe9a3; }
.coach .skip { position: absolute; right: 8px; top: 6px; background: none; border: none; color: #b6d3b0; font-size: 11.5px; text-decoration: underline; }
.pulse { animation: pulse 1.3s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 #f5c24a; } 50% { box-shadow: 0 0 0 5px #f5c24a88; } }
.dc { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: #fffaf0; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 10px; margin: 7px 0; }
.dc.has { border-color: var(--gold); background: #fff6df; }
.dc .face { font-size: 26px; width: 40px; height: 40px; border-radius: 50%; background: #efe0bd; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.dc .mid { flex: 1; min-width: 0; }
.dc .nm { font-weight: 700; }
.chip { display: inline-block; font-size: 11.5px; padding: 1px 7px; border-radius: 9px; background: #efe0bd; color: #6b5332; margin-left: 4px; font-weight: 400; }
.chip.fam { background: #dcebd3; color: #3f6a35; }
.sbar { height: 6px; background: #e8dbbd; border-radius: 3px; overflow: hidden; margin-top: 4px; }
.sbar i { display: block; height: 100%; background: #9bbf7a; }
.sbar.mid i { background: #e1b04b; } .sbar.hi i { background: #c9573f; }
.dc .job { flex: 0 0 auto; text-align: center; font-size: 12px; min-width: 62px; }
.dc .job b { display: block; font-size: 22px; line-height: 1.1; }
.warnline { font-size: 12px; color: var(--red); margin-top: 2px; }
.flow { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px; margin-top: 10px; }
.fl { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px dotted var(--line); gap: 8px; }
.fl:last-child { border-bottom: none; }
.fl .pl { font-weight: 700; min-width: 54px; }
.fl .rs { flex: 1; font-size: 13.5px; }
.fl.locked { color: #b9a682; }
.step { display: flex; align-items: center; gap: 4px; }
.step button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff7e6; font-size: 18px; }
.step b { min-width: 18px; text-align: center; }
.stock { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; padding: 8px 10px; margin-top: 10px; background: #f1e5c6; border-radius: 10px; }
.go { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(#efe3c600, #efe3c6 30%); z-index: 6; }
.btn { display: block; width: 100%; background: #fff7e6; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; margin: 5px 0; text-align: center; }
.btn:disabled { opacity: .4; }
.btn.primary { background: var(--deep); color: #f8e7bf; border-color: var(--deep); font-weight: 700; padding: 14px; font-size: 16px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.ev { background: #fff3d1; border: 1.5px solid var(--gold); border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.quote { font-style: italic; color: #5b4128; }
.lines { margin: 4px 0; padding-left: 18px; font-size: 14px; }
.food { display: flex; gap: 10px; justify-content: center; font-size: 15px; margin: 6px 0; flex-wrap: wrap; }
.food span { background: #fff7e6; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
input[type=range] { width: 100%; accent-color: var(--gold); margin: 10px 0 4px; height: 28px; }
.rumor { text-align: center; padding: 14px 10px; border-radius: 12px; margin-top: 10px; background: #eee2c4; }
.rumor .q { font-size: 20px; font-weight: 700; margin: 4px 0; font-style: italic; }
.rumor.bad { background: #f2cdbf; } .rumor.good { background: #f3e2a8; } .rumor.great { background: linear-gradient(#fbe9a4, #f5d27a); box-shadow: 0 0 16px #f5d27a; }
.mrow { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
.mrow:last-child { border-bottom: none; }
.sheet-bg { position: fixed; inset: 0; background: #0006; z-index: 20; }
.sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; max-height: 84vh; overflow-y: auto; background: var(--paper); z-index: 21; border-radius: 18px 18px 0 0; padding: 14px 14px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px #0005; }
.opt { display: flex; width: 100%; align-items: center; gap: 10px; text-align: left; background: #fffaf0; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; margin: 6px 0; }
.opt.on { border-color: var(--gold); background: #f8e6b0; }
.opt:disabled { opacity: .4; }
.opt .ic { font-size: 24px; width: 32px; text-align: center; }
.opt .tx { flex: 1; }
.opt .ef { font-weight: 700; color: var(--green); white-space: nowrap; }
.cycle { background: #fffaf0; border-radius: 12px; padding: 10px; font-size: 14px; line-height: 1.9; text-align: center; border: 1px solid var(--line); }
.title { text-align: center; padding-top: 40px; }
.title h1 { font-size: 34px; margin-bottom: 4px; }
.story { text-align: left; background: var(--paper); border-radius: 14px; padding: 14px; margin: 18px 0; border: 1px solid var(--line); line-height: 1.75; }
table.hist { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.hist td, table.hist th { padding: 5px 4px; border-bottom: 1px dotted var(--line); text-align: center; }

.ampbox { border: 1.5px solid var(--gold); background: #fff8e2; }
.amp { opacity: 0; transform: translateY(6px) scale(.97); animation: ampin .45s ease-out forwards; padding: 3px 0; }
.amp.total { font-size: 18px; border-top: 1px dashed #c9a85a; margin-top: 4px; padding-top: 6px; text-align: right; }
@keyframes ampin { 60% { transform: translateY(0) scale(1.04); } to { opacity: 1; transform: none; } }
.feastline { margin-top: 4px; color: #7a4a10; }
.fl { flex-wrap: wrap; }

.cand { background: #fffaf0; border: 1.5px solid var(--gold); border-radius: 14px; padding: 12px; margin: 10px 0; }
.cand .ch { display: flex; gap: 10px; align-items: center; }
.cand .face { font-size: 30px; width: 46px; height: 46px; border-radius: 50%; background: #efe0bd; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cand .nm { font-size: 18px; }
.cand .btn { margin-top: 6px; }
.or { text-align: center; font-size: 13px; opacity: .7; margin: -2px 0; }

/* v0.6 과제 목록 + 끌어놓기 */
.quests { background: #fffaf0; border: 1.5px solid var(--gold); border-radius: 12px; padding: 8px 10px; margin-top: 10px; }
.qhd { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.qhd .small { color: var(--dim); font-weight: 400; }
.qrow { display: flex; gap: 6px; align-items: flex-start; padding: 4px 0; font-size: 13.5px; border-bottom: 1px dotted var(--line); }
.qrow:last-child { border-bottom: none; }
.qrow .qb { width: 16px; flex: 0 0 auto; }
.qrow .qt { flex: 1; }
.qrow .qr { font-size: 11.5px; background: #f3e2a8; border-radius: 8px; padding: 0 6px; white-space: nowrap; }
.qrow.done { color: var(--green); } .qrow.done .qt { text-decoration: line-through; opacity: .75; }
.qrow.now { background: #fff1c4; margin: 0 -6px; padding: 4px 6px; border-radius: 8px; font-weight: 700; }
.qrow .qh { font-weight: 400; color: #6b4a14; }
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.place { position: relative; background: #fffaf0; border: 2px dashed var(--line); border-radius: 12px; padding: 7px 6px; min-height: 112px; text-align: center; font-size: 12.5px; transition: background .15s, border-color .15s, transform .15s; }
.place .pn { font-weight: 700; font-size: 15px; }
.place.locked { color: #b9a682; background: #f3ead4; }
.place .wks { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin: 4px 0; min-height: 28px; }
.wk { display: inline-flex; align-items: center; gap: 2px; background: #f8e6b0; border: 1px solid var(--gold); border-radius: 14px; padding: 1px 6px 1px 3px; font-size: 12px; touch-action: none; user-select: none; -webkit-user-select: none; }
.wk i { font-style: normal; font-size: 10px; color: #3f6a35; }
.slot { display: inline-block; border: 1px dashed #c9b48d; border-radius: 14px; padding: 1px 6px; font-size: 11px; color: var(--dim); }
.place .pst { color: #5b4128; }
.place .acc { font-size: 11px; color: var(--dim); margin-top: 3px; line-height: 1.35; }
.place .alls { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin-top: 4px; }
.place .all { border: 1px solid var(--gold); background: #fff3d1; border-radius: 8px; font-size: 11.5px; padding: 2px 6px; }
.place.can { border-color: #6aa45f; background: #eef7e6; border-style: solid; }
.place.no { opacity: .55; }
.place.over.can { transform: scale(1.04); background: #dcf0d0; }
.rest { margin-top: 6px; border: 2px dashed var(--line); border-radius: 12px; padding: 10px; text-align: center; color: var(--dim); font-size: 13px; }
.rest.can, .rest.over { border-color: #6aa45f; background: #eef7e6; color: var(--ink); }
.pop { position: absolute; left: 0; right: 0; top: -6px; z-index: 3; font-weight: 700; font-size: 14px; color: #2f6a2a; animation: popup 1.4s ease-out forwards; pointer-events: none; text-shadow: 0 1px 0 #fff; }
.pop.bad { color: var(--red); font-size: 12px; }
@keyframes popup { 0% { opacity: 0; transform: translateY(14px) scale(.8); } 20% { opacity: 1; transform: translateY(0) scale(1.15); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px); } }
.piles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pile { display: flex; align-items: center; gap: 4px; background: #fff7e6; border: 1.5px solid var(--gold); border-radius: 12px; padding: 8px; box-shadow: 0 3px 0 #d9c79f, 0 5px 0 #e9dcbc; touch-action: none; user-select: none; -webkit-user-select: none; }
.pile .pi { font-size: 24px; } .pile b { font-size: 18px; } .pile .pnm { font-size: 11.5px; color: var(--dim); }
.pile.zero { opacity: .45; box-shadow: none; border-style: dashed; }
.pile.sel { background: #f5d27a; transform: translateY(-3px); }
.pile:not([data-drag]) { box-shadow: none; }
.bench .dcard { display: flex; gap: 8px; align-items: center; background: #fffaf0; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px; margin: 6px 0; touch-action: none; user-select: none; -webkit-user-select: none; }
.dcard.placed { border-color: var(--gold); background: #fff6df; }
.dcard .face { font-size: 26px; width: 40px; height: 40px; border-radius: 50%; background: #efe0bd; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.dcard .mid { flex: 1; min-width: 0; } .dcard .nm { font-weight: 700; }
.dcard .where { text-align: center; min-width: 50px; }
.ghost { position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; opacity: .92; box-shadow: 0 8px 18px #0005; margin: 0 !important; }
.lifting { opacity: .35; }
.toast { background: #2f4a3a; color: #f1f7e9; border-radius: 10px; padding: 8px 10px; margin-top: 8px; font-size: 13.5px; animation: ampin .4s ease-out forwards; }
.rotb{display:block;font-size:10px;line-height:1.2;color:#e8836b;margin-top:2px}
.rotb.dim{color:#a8987a}

/* ===== v0.8 넓은 화면: 스택랜드식 카드 테이블 ===== */
#app.wide { max-width: none; margin: 0; padding: 0; }
.desk { display: flex; height: 100vh; overflow: hidden; }
.tablewrap { flex: 1; height: 100vh; position: relative; overflow: hidden; background: radial-gradient(ellipse at 45% 35%, #b9c98d 0%, #9fb574 45%, #7f9a5a 100%); }
.tablewrap.still { position: fixed; inset: 0; }
.tablewrap.still .table { pointer-events: none; }
.tablewrap.still::after { content: ''; position: absolute; inset: 0; background: #1c140c88; }
.table { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.tlabel { position: absolute; color: #2f3f1f; font-size: 13px; font-weight: 700; opacity: .7; white-space: nowrap; }
.card { position: absolute; width: 96px; height: 128px; user-select: none; -webkit-user-select: none; touch-action: none; }
.card[data-card] { cursor: grab; }
.card[data-locked] { cursor: pointer; }
.cardface { --strip: #d9c79f; position: relative; width: 100%; height: 100%; background: #fbf4e2; border: 2.5px solid #2b1d12; border-radius: 9px; box-shadow: 0 3px 0 #0000002e; display: flex; flex-direction: column; overflow: visible; }
.cardface .ct { background: var(--strip); color: #2b1d12; font-weight: 700; font-size: 12.5px; height: 22px; line-height: 19px; padding: 0 6px; white-space: nowrap; overflow: hidden; border-bottom: 2px solid #2b1d12; border-radius: 6px 6px 0 0; }
.cardface .ci { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 40px; line-height: 1; }
.cardface .cf { font-size: 10px; text-align: center; padding: 0 4px 5px; color: #6b5332; line-height: 1.25; }
.res-wheat { --strip: #ecc767; } .res-bread { --strip: #dca35e; } .res-fish { --strip: #8fc3de; } .res-meal { --strip: #eb8c5f; } .res-bone { --strip: #ddd6c6; } .res-manure { --strip: #ac8d66; }
.cardface.stale { --strip: #b0a172; background: #e8e0c2; }
.cardface.stale .ci { filter: saturate(.5); }
.dface { --strip: #f3d37c; background: #fff8e6; }
.dface .ci { font-size: 32px; }
.dface .cf { font-size: 10px; }
.dface .chip { margin: 0; font-size: 10px; padding: 0 5px; }
.dface .sbar { height: 5px; margin: 3px 2px 2px; }
.dface .warnline { font-size: 9.5px; line-height: 1.15; }
.dface .fam { font-style: normal; font-size: 10px; color: #3f6a35; }
.cnt { position: absolute; right: -9px; top: -11px; background: #2b1d12; color: #f5d27a; border-radius: 10px; padding: 0 6px; font-size: 13px; font-weight: 700; z-index: 2; border: 1.5px solid #f5d27a; }
.card.pulse .cardface, .ptile.pulse { animation: pulse 1.3s infinite; }
.card.pulse { animation: none; }
.card.bump .cardface { animation: bump .45s ease-out; }
@keyframes bump { 40% { transform: scale(1.12) rotate(2deg); } }
.card.over .cardface { outline: 3px solid #fff3a8; }
.lifting { opacity: .22; }
.ghostgrp { position: absolute; z-index: 999; pointer-events: none; }
.ghostgrp .cardface { box-shadow: 0 14px 20px #0000005c; transform: rotate(-2.5deg) translateY(-4px); }
.ptile { position: absolute; width: 168px; height: 168px; background: #f6ead0; border: 3px solid #2b1d12; border-radius: 11px; box-shadow: 0 4px 0 #00000040; z-index: 5; transition: transform .12s, opacity .12s; }
.ptile .ct { --strip: #d9c79f; background: var(--strip); font-weight: 700; font-size: 15px; height: 28px; line-height: 25px; padding: 0 8px; border-bottom: 2.5px solid #2b1d12; border-radius: 8px 8px 0 0; }
.pl-oven .ct { --strip: #f0a06a; } .pl-field .ct { --strip: #a9cf7a; } .pl-sea .ct { --strip: #86b9d8; }
.ptile .pbody { padding: 6px 8px; font-size: 12px; line-height: 1.45; }
.ptile .pst { color: #3a2a1a; margin-bottom: 4px; }
.ptile .rec { color: #6b5332; font-size: 12.5px; }
.ptile.locked { opacity: .55; filter: grayscale(.6); }
.ptile .lk { font-size: 30px; text-align: center; }
.ptile.can { box-shadow: 0 0 0 5px #fff3a8, 0 4px 0 #00000040; }
.ptile.no { opacity: .5; }
.ptile.over.can { transform: scale(1.04); box-shadow: 0 0 0 7px #fff3a8, 0 8px 12px #0004; }
.table > .pop { position: absolute; width: 168px; z-index: 900; text-align: center; font-size: 13px; background: #fffbe9; border: 2px solid #2b1d12; border-radius: 10px; padding: 2px 4px; }
.side { flex: 0 0 340px; width: 340px; height: 100vh; overflow-y: auto; background: var(--bg); padding: 0 12px 14px; box-shadow: -3px 0 10px #0003; position: relative; z-index: 3; }
.side .top { margin: 0 -12px; }
.sidego { position: sticky; bottom: 8px; margin-top: 12px; box-shadow: 0 4px 12px #0004; }
.modal { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; }
.mbox { width: 500px; max-width: 94vw; max-height: 94vh; overflow-y: auto; background: var(--bg); border-radius: 16px; box-shadow: 0 12px 40px #0009; padding: 0 12px; position: relative; }
.mbox .top { margin: 0 -12px; border-radius: 16px 16px 0 0; }
.mbox .go { position: sticky; left: auto; bottom: 0; transform: none; width: auto; max-width: none; margin: 8px -12px 0; }
.mbox .title { padding: 22px 0 16px; }
@media (min-width: 900px) {
  .sheet { top: 50%; bottom: auto; transform: translate(-50%, -50%); border-radius: 18px; max-width: 440px; }
}

/* ===== v0.9 시간이 흐르는 테이블 ===== */
.card.rc { width: 86px; height: 116px; }
.card.rc .ci { font-size: 34px; }
.card.disc { width: 100px; height: 132px; }
.dface .ct { font-size: 12px; padding: 0 4px; }
.dface .ct .chip { font-size: 9.5px; padding: 0 4px; margin-left: 2px; vertical-align: 1px; }
.dface .ci { font-size: 28px; }
.dface .dl { font-size: 10px; line-height: 1.2; color: #3a2a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dface .dl.idle { color: #9a6a2a; white-space: normal; font-size: 9.5px; }
.pbar { height: 6px; background: #e8dbbd; border-radius: 3px; overflow: hidden; margin: 2px 2px 0; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, #5c9fd0, #8fd0f0); }
.tchip { position: absolute; left: 6px; right: 6px; bottom: -15px; background: #3b2c1c; color: #f7e7c2; border: 2px solid #f5d27a; border-radius: 9px; font-size: 10.5px; text-align: center; padding: 1px 2px; white-space: nowrap; overflow: hidden; z-index: 3; cursor: grab; }
.tchip.on { background: #2f5a35; }
.toolf { --strip: #9fa8b3; background: #eef0f2; }
.toolf .cf { font-size: 9.5px; }
.res-straw { --strip: #cfe08a; } .res-wood { --strip: #b98a5a; } .res-iron { --strip: #a9b1bb; }
.ptile.big { width: 214px; height: 196px; }
.pl-forest .ct { --strip: #6fa86a; }
.ptile .queue { font-size: 18px; letter-spacing: -2px; min-height: 26px; line-height: 26px; }
.plots { display: flex; flex-wrap: wrap; gap: 3px; margin: 2px 0 4px; }
.plot { position: relative; width: 30px; height: 30px; border-radius: 6px; background: #c9a77a; border: 1.5px solid #6b4a2a; display: flex; align-items: center; justify-content: center; font-size: 17px; overflow: hidden; }
.plot.ripe { background: #ecd17a; box-shadow: 0 0 0 2px #fff3a8; } .plot.grow { background: #b9c98d; } .plot.busy { background: #f0d79a; }
.plot b { position: absolute; right: -1px; top: -3px; font-size: 10px; }
.plot i { position: absolute; left: 0; bottom: 0; height: 3px; background: #3f7a3a; }
.ptile.bench { --strip: #c6a97f; }
.ptile.bench .ct { --strip: #d2b48a; }
.bin { background: #fffaf0; border: 1.5px dashed #b49a72; border-radius: 8px; padding: 3px 5px; min-height: 28px; font-size: 16px; margin: 3px 0; }
.mini { font-size: 10.5px; border: 1px solid #b49a72; background: #fff3d1; border-radius: 6px; padding: 0 5px; vertical-align: 3px; }
.crs { margin-top: 4px; font-size: 10.5px; line-height: 1.35; }
.cr { border-bottom: 1px dotted #d9c79f; padding: 1px 0; } .cr span { float: right; color: #6b5332; }
.cr.unk { color: #8a7356; } .cr.unk span { float: none; display: block; font-size: 9.5px; }
.ptile.merch { height: auto; min-height: 120px; padding-bottom: 6px; }
.ptile.merch .ct { --strip: #e7b8d8; }
.ptile.merch.empty { opacity: .8; }
.offer { background: #fffaf0; border: 2px dashed #b49a72; border-radius: 8px; padding: 3px 5px; margin: 4px 0; font-size: 12px; line-height: 1.3; }
.offer .arrow { font-weight: 700; color: #2f5a35; }
.offer.sold { opacity: .45; }
.offer.can { border-color: #6aa45f; border-style: solid; background: #eef7e6; } .offer.no { opacity: .5; } .offer.over.can { background: #dcf0d0; transform: scale(1.03); }
.card.disc.can .cardface { outline: 3px solid #fff3a8; } .card.disc.over .cardface { outline: 4px solid #8fd06a; }
.ptile.bench.can, .ptile.bench.over { box-shadow: 0 0 0 5px #fff3a8, 0 4px 0 #00000040; }
.clock { background: var(--paper); border: 2px solid var(--gold); border-radius: 12px; padding: 8px 10px; margin-top: 10px; }
.clock .crow { display: flex; justify-content: space-between; align-items: baseline; }
.tbar { height: 12px; background: #e2d2ab; border-radius: 6px; overflow: hidden; margin: 5px 0; }
.tbar i { display: block; height: 100%; background: linear-gradient(90deg, #f3c25a, #e07a3a); }
.spds { display: flex; gap: 4px; }
.spd { flex: 1; border: 1px solid var(--line); background: #fff7e6; border-radius: 8px; padding: 4px 0; font-size: 12.5px; }
.spd.on { background: var(--deep); color: #f8e7bf; border-color: var(--deep); }
.feed div { padding: 1px 0; }
.table > .pop { width: 180px; }
