:root{--bg: #f4ead5;--paper: #fffaf0;--ink: #3b2a1a;--muted: #8a7358;--line: #e0cfae;--accent: #b5562b;--accent-ink: #fff;--green: #4f7a2c;--red: #b23a2a;--gold: #c99a2e}*{box-sizing: border-box}body{margin: 0;background: var(--bg);color: var(--ink);font: 15px/1.5 "Segoe UI",system-ui,sans-serif}#hud{position: sticky;top: 0;z-index: 5;display: flex;flex-wrap: wrap;gap: 6px 18px;align-items: center;padding: 10px 16px;background: #5a3a22;color: #fbefd6}#hud b{color: #ffd98a}#hud .title{font-weight: 700;font-size: 18px;margin-right: auto}#screen{max-width: 1100px;margin: 0 auto;padding: 16px}.card{background: var(--paper);border: 1px solid var(--line);border-radius: 10px;padding: 14px 16px;margin-bottom: 14px}.card h2{margin: 0 0 10px;font-size: 17px}.news{border-left: 4px solid var(--gold)}.tags span{display: inline-block;background: var(--gold);color: #fff;border-radius: 99px;padding: 0 10px;margin-right: 6px;font-size: 13px}.muted{color: var(--muted);font-size: 13px}.good{color: var(--green)}.bad{color: var(--red)}table{width: 100%;border-collapse: collapse}th,td{padding: 6px 8px;border-bottom: 1px solid var(--line);text-align: left}th{font-size: 13px;color: var(--muted);font-weight: 600}td.num,th.num{text-align: right;white-space: nowrap}.table-wrap{overflow-x: auto}button{font: inherit;cursor: pointer;border: 1px solid var(--line);background: #fff;color: var(--ink);border-radius: 8px;padding: 6px 12px}button:hover:not(:disabled){border-color: var(--accent)}button:disabled{opacity: .45;cursor: not-allowed}button.primary{background: var(--accent);color: var(--accent-ink);border-color: var(--accent);font-weight: 600;padding: 9px 18px}button.small{padding: 2px 9px}input[type=number]{width: 90px;font: inherit;padding: 4px 6px;border: 1px solid var(--line);border-radius: 6px}.qty{display: inline-flex;gap: 4px;align-items: center}.qty span{min-width: 28px;text-align: center;font-weight: 600}.row{display: flex;flex-wrap: wrap;gap: 10px;align-items: center}.spacer{flex: 1}label.toggle{display: inline-flex;gap: 6px;align-items: center;cursor: pointer}.market{display: grid;grid-template-columns: 1.3fr 1fr;gap: 14px}@media (max-width: 760px){.market{grid-template-columns: 1fr}}.clock{font-size: 28px;font-weight: 700;font-variant-numeric: tabular-nums}.bar{height: 8px;background: var(--line);border-radius: 99px;overflow: hidden}.bar>i{display: block;height: 100%;background: var(--accent)}.customer{display: flex;gap: 12px;align-items: flex-start}.customer .face{font-size: 46px;line-height: 1}.bubble{background: #fff;border: 1px solid var(--line);border-radius: 12px;padding: 8px 12px;margin: 4px 0}.bubble.me{background: #fde9d6;margin-left: 40px}.basket{margin: 8px 0}.haggle-actions{display: flex;flex-wrap: wrap;gap: 8px;align-items: center;margin-top: 10px}.patience{letter-spacing: 2px}.waiting{min-height: 120px;display: grid;place-items: center;color: var(--muted);text-align: center}.log{max-height: 420px;overflow-y: auto;font-size: 14px}.log div{padding: 4px 0;border-bottom: 1px dashed var(--line)}.stock-mini{display: flex;flex-wrap: wrap;gap: 8px}.stock-mini div{background: #fff;border: 1px solid var(--line);border-radius: 8px;padding: 4px 8px;font-size: 13px}.big{font-size: 22px;font-weight: 700}.end{text-align: center;padding: 40px 16px}canvas.scene{display: block;width: 100%;aspect-ratio: 1000 / 440;margin-top: 10px;border-radius: 8px;background: #f0e1bf}.grow{flex: 1;min-width: 80px}.hint{margin: 8px 0 0}.haggle-box{margin-top: 10px;padding: 10px 12px;background: #fff4e6;border: 1px solid var(--line);border-radius: 8px}.tabs{display: flex;flex-wrap: wrap;gap: 6px;margin-bottom: 10px}.tabs button.active{background: var(--accent);color: var(--accent-ink);border-color: var(--accent)}.tabs button.active .muted{color: #ffe3cc}tr.off td{opacity: .5}.qty input[type=checkbox]{margin: 0 4px 0 0}.overlay{position: fixed;inset: 0;z-index: 20;background: rgba(40,25,10,.45);display: flex;align-items: flex-start;justify-content: center;padding: 24px 12px;overflow-y: auto}.overlay[hidden]{display: none}.sheet{width: 100%;max-width: 1180px;background: var(--paper);border-radius: 12px;border: 1px solid var(--line);box-shadow: 0 10px 40px rgba(0,0,0,.25)}.sheet-head{display: flex;align-items: center;gap: 10px;padding: 12px 16px;border-bottom: 1px solid var(--line)}.sheet-head h2{margin: 0;font-size: 18px}.village{display: grid;grid-template-columns: 300px 1fr;min-height: 70vh}@media (max-width: 800px){.village{grid-template-columns: 1fr}.vlist{max-height: 40vh}}.vlist{border-right: 1px solid var(--line);padding: 12px;display: flex;flex-direction: column;gap: 8px;min-width: 0}.vlist input[type=search]{width: 100%;font: inherit;padding: 6px 10px;border: 1px solid var(--line);border-radius: 8px}.vitems{overflow-y: auto;max-height: 64vh}.vgroup{margin: 10px 0 4px;font-weight: 700;color: var(--accent)}.vgroup small{color: var(--muted);font-weight: 400}.vitem{display: flex;align-items: center;gap: 8px;width: 100%;text-align: left;padding: 4px 6px;margin-bottom: 4px}.vitem img{width: 36px;height: 36px;border-radius: 50%;background: #f3e6c9;flex: none}.vitem span{display: flex;flex-direction: column;min-width: 0}.vitem small{color: var(--muted);font-size: 12px}.vitem.on{border-color: var(--accent);background: #fff4e6}.vdetail{padding: 14px 16px;min-width: 0}.vcard{display: flex;gap: 14px;align-items: flex-start;margin-bottom: 12px}.vcard>img{width: 88px;height: 88px;border-radius: 50%;background: #f3e6c9;border: 2px solid var(--line);flex: none}.vcard h3{margin: 0 0 4px}.vcard h3 small{color: var(--muted);font-weight: 400;font-size: 14px}.vcard p{margin: 2px 0}.aff{margin-top: 6px;max-width: 360px;font-size: 14px}.aff .bar{margin-top: 4px}.aff .bar>i{background: #d6457a}button.active{background: var(--accent);color: var(--accent-ink);border-color: var(--accent)}.tree{overflow-x: auto;padding: 8px 0 14px;margin: 8px 0;background: #fbf3e2;border-radius: 10px}.tree ul{display: flex;justify-content: center;position: relative;margin: 0;padding: 18px 0 0}.tree>ul{padding-top: 6px;width: max-content;min-width: 100%}.tree li{list-style: none;position: relative;padding: 18px 6px 0;display: flex;flex-direction: column;align-items: center}.tree li::before,.tree li::after{content: '';position: absolute;top: 0;right: 50%;width: 50%;height: 18px;border-top: 2px solid #c9ad80}.tree li::after{right: auto;left: 50%;border-left: 2px solid #c9ad80}.tree li:only-child::before,.tree li:only-child::after{display: none}.tree li:only-child{padding-top: 0}.tree li:first-child::before,.tree li:last-child::after{border: 0 none}.tree li:last-child::before{border-right: 2px solid #c9ad80;border-radius: 0 6px 0 0}.tree li:first-child::after{border-radius: 6px 0 0 0}.tree ul ul::before{content: '';position: absolute;top: 0;left: 50%;height: 18px;border-left: 2px solid #c9ad80}.tree>ul>li{padding-top: 0}.tree>ul>li::before,.tree>ul>li::after{display: none}.couple{display: flex;align-items: center;gap: 2px}.ring{color: #c99a2e;font-size: 16px}.pcard{display: flex;flex-direction: column;align-items: center;width: 92px;padding: 4px;font-size: 12px;line-height: 1.25;background: #fff}.pcard img{width: 48px;height: 48px;border-radius: 50%;background: #f3e6c9}.pcard b{font-size: 12px}.pcard small{color: var(--muted);font-size: 11px}.pcard small.rel{color: var(--accent);font-weight: 600}.pcard.me{border-color: #3f7a2c;background: #eef6e4}.pcard.on{border: 2px solid var(--accent);box-shadow: 0 0 0 3px #f6d8c2}.pcard.dead{opacity: .75}.pcard.dead img,.chip.dead{filter: grayscale(1)}details summary{cursor: pointer;font-weight: 700;margin: 6px 0}.relrow{display: flex;flex-wrap: wrap;gap: 4px;align-items: center;margin-bottom: 4px}.relrow>span{min-width: 130px;color: var(--muted);font-size: 13px}.chip{padding: 1px 8px;font-size: 13px;border-radius: 99px}button.link{border: 0;background: none;padding: 0;color: var(--accent);font-weight: 600;text-decoration: underline dotted}#hud button{margin-left: 4px}.vitem b i{font-style: normal;font-size: 12px}body.playing{overflow: hidden}body.playing #hud{position: fixed;top: 0;left: 0;right: 0;z-index: 8;background: rgba(60,38,20,.86);backdrop-filter: blur(4px);padding: 8px 16px}body.playing #screen{max-width: none;padding: 0}.game{position: fixed;inset: 0;background: #e9d9b4;overflow: hidden}.stage{position: absolute;inset: 0}.stage canvas.scene{width: 100%;height: 100%;aspect-ratio: auto;margin: 0;border-radius: 0;cursor: grab;touch-action: none}.stage canvas.scene.drag{cursor: grabbing}.g-panel{background: rgba(255,250,240,.94);border: 1px solid var(--line);border-radius: 12px;box-shadow: 0 6px 18px rgba(60,40,20,.22);padding: 8px 12px}.g-top{position: absolute;top: 56px;left: 12px;right: 12px;display: flex;gap: 10px;align-items: flex-start;flex-wrap: wrap;pointer-events: none;z-index: 5}.g-top>*{pointer-events: auto}.g-clock{display: flex;gap: 12px;align-items: center;min-width: 240px}.g-clock .clock{font-size: 26px}.g-clock .bar{width: 160px}.g-ctrl{margin-left: auto;display: flex;gap: 6px;align-items: center;flex-wrap: wrap}.g-hint{position: absolute;top: 118px;left: 50%;transform: translateX(-50%);z-index: 4;background: rgba(59,42,26,.82);color: #fff3d6;padding: 6px 14px;border-radius: 99px;font-size: 13px;pointer-events: none;transition: opacity 1s;white-space: nowrap}.g-hint.fade{opacity: 0}.g-dock{position: absolute;right: 12px;bottom: 12px;display: flex;gap: 8px;z-index: 6;flex-wrap: wrap;justify-content: flex-end}.g-dock button{position: relative;padding: 10px 14px;font-weight: 600;background: rgba(255,250,240,.96);box-shadow: 0 4px 12px rgba(60,40,20,.2);border-radius: 12px}.g-dock button.active .muted{color: #ffe3cc}.badge{position: absolute;top: -7px;right: -7px;background: var(--red);color: #fff;border-radius: 99px;font-size: 11px;padding: 1px 7px}.g-ticker{position: absolute;left: 12px;bottom: 12px;z-index: 5;max-width: min(560px,46vw);display: flex;flex-direction: column;gap: 4px}.g-ticker div{background: rgba(255,250,240,.92);border: 1px solid var(--line);border-radius: 10px;padding: 5px 10px;font-size: 13px;box-shadow: 0 3px 10px rgba(60,40,20,.15);animation: tick 6s forwards}@keyframes tick{0%{opacity: 0;transform: translateY(8px)}6%{opacity: 1;transform: none}85%{opacity: 1}100%{opacity: 0}}.g-pop{position: absolute;right: 12px;top: 112px;bottom: 72px;width: min(440px,calc(100vw - 24px));z-index: 7;display: flex;flex-direction: column;animation: slide .18s ease-out}.g-pop[hidden]{display: none}@keyframes slide{from{opacity: 0;transform: translateX(20px)}to{opacity: 1;transform: none}}.g-pop header{display: flex;align-items: center;gap: 8px;border-bottom: 1px solid var(--line);padding-bottom: 6px;margin-bottom: 6px;font-size: 16px}.pop-body{overflow-y: auto;flex: 1}.pop-body .log{max-height: none}.stock-grid{display: grid;grid-template-columns: repeat(auto-fill,minmax(124px,1fr));gap: 6px}.stock-grid>div{display: flex;flex-direction: column;background: #fff;border: 1px solid var(--line);border-radius: 10px;padding: 6px 8px;font-size: 13px}.stock-grid .ic{font-size: 22px;line-height: 1.1}.g-haggle{position: absolute;left: 50%;transform: translateX(-50%);bottom: 72px;width: min(760px,calc(100vw - 24px));z-index: 7}.g-haggle[hidden]{display: none}.g-haggle .haggle-box{margin: 0;background: rgba(255,246,232,.97);border: 2px solid var(--accent)}.haggle-chat{display: flex;flex-direction: column;gap: 2px;margin: 6px 0;max-height: 140px;overflow-y: auto}.haggle-chat .bubble{margin: 0;padding: 4px 10px;align-self: flex-start}.haggle-chat .bubble.me{align-self: flex-end;margin-left: 0}@media (max-width: 700px){.g-hint{white-space: normal;width: 90vw;text-align: center}.g-ticker{bottom: 64px;max-width: 92vw}.g-dock button{padding: 8px 10px;font-size: 13px}}.g-dock button.active{background: var(--accent);color: #fff;border-color: var(--accent)}.g-pop{background: rgba(255,250,240,.985)}.card.plan{border-left: 4px solid #3f7a2c}.card.plan h2{margin-bottom: 4px}.stats{display: grid;grid-template-columns: repeat(auto-fit,minmax(150px,1fr));gap: 8px;margin-bottom: 12px}.stats>div{background: #fff;border: 1px solid var(--line);border-radius: 10px;padding: 8px 12px;display: flex;flex-direction: column}.stats small{color: var(--muted)}.stats b{font-size: 20px}tr.dumping td{background: #fbefe2}.dumpbar{background: #fff4e6;border: 1px solid var(--line);border-radius: 10px;padding: 8px 12px;margin-top: 8px}.dumpbar select{font: inherit;padding: 2px 6px;border-radius: 6px;border: 1px solid var(--line)}details.card summary{font-size: 16px}.lifebox{border-top: 1px dashed var(--line);margin-top: 8px;padding-top: 8px}.lifebox p{margin: 4px 0}.lifebox select{font: inherit;padding: 2px 6px;border-radius: 6px;border: 1px solid var(--line)}.card.biz h3{margin: 0 0 6px;font-size: 15px}.biz-grid{display: grid;grid-template-columns: repeat(auto-fit,minmax(280px,1fr));gap: 14px}.biz-grid>div{background: #fff;border: 1px solid var(--line);border-radius: 10px;padding: 10px 12px}.biz-grid p{margin: 4px 0}.biz-grid select{font: inherit;padding: 2px 6px;border-radius: 6px;border: 1px solid var(--line)}.stall-sheet .sheet-head .tabs{margin: 0 0 0 12px}.stall-body{padding: 14px 16px}.ladder{display: flex;align-items: stretch;gap: 4px;overflow-x: auto;padding-bottom: 6px;margin-bottom: 12px}.ladder .arrow{align-self: center;color: var(--muted);font-size: 22px}.ladder .step{flex: 1;min-width: 108px;display: flex;flex-direction: column;align-items: center;text-align: center;gap: 2px;background: #fff;border: 1px solid var(--line);border-radius: 12px;padding: 8px 6px}.ladder .step .ic{font-size: 28px}.ladder .step small{font-size: 12px}.ladder .step.done{background: #eef6e4;border-color: #b9d6a0}.ladder .step.cur{border: 2px solid var(--accent);box-shadow: 0 0 0 3px #f6d8c2}.ladder .step.lock{opacity: .65}.lvcard{background: #fff;border: 1px solid var(--line);border-radius: 12px;padding: 12px 14px;margin-bottom: 12px}.lvcard.next{border: 2px dashed #c9ad80;background: #fffaf2}.lvcard h3{margin: 0;font-size: 20px}.lvcard h4{margin: 12px 0 6px}.lvhead{display: flex;gap: 12px;align-items: center;margin-bottom: 8px}.lvhead p{margin: 2px 0 0}.big-ic{font-size: 44px;line-height: 1}.perks{display: flex;flex-wrap: wrap;gap: 6px}.perk{background: #f6efe2;border: 1px solid var(--line);border-radius: 99px;padding: 3px 10px;font-size: 13px}.perk.up{background: #e6f3da;border-color: #9cc77d}.perk.up b::after{content: ' ▲';color: var(--green);font-size: 10px}.quests{display: flex;flex-direction: column;gap: 6px}.quest{display: flex;gap: 8px;align-items: center;background: #fff;border: 1px solid var(--line);border-radius: 10px;padding: 6px 10px}.quest>div{flex: 1}.quest .qrow{display: flex;justify-content: space-between;gap: 10px;font-size: 14px}.quest .bar{margin-top: 4px}.quest.done{background: #f1f8ea}.quest.done .bar>i{background: var(--green)}.upbar{margin-top: 12px}.staff-sum{display: flex;flex-wrap: wrap;gap: 8px 18px;background: #fff4e6;border: 1px solid var(--line);border-radius: 10px;padding: 8px 12px;margin-bottom: 10px}.slots{display: grid;grid-template-columns: repeat(5,minmax(120px,1fr));gap: 8px;margin-bottom: 10px}@media (max-width: 760px){.slots{grid-template-columns: repeat(2,1fr)}}.slot{display: flex;flex-direction: column;align-items: center;text-align: center;gap: 3px;border-radius: 12px;padding: 10px 6px;border: 1px solid var(--line);background: #fff;min-height: 150px;justify-content: center}.slot img{width: 56px;height: 56px;border-radius: 50%;background: #f3e6c9}.slot .ic{font-size: 28px}.slot small{font-size: 12px}.slot.free{border: 2px dashed #c9ad80;background: #fffaf2}.slot.lock{background: #f2ece0;opacity: .75}.cands{display: grid;grid-template-columns: repeat(auto-fill,minmax(260px,1fr));gap: 8px}.cand{display: flex;gap: 10px;align-items: center;background: #fff;border: 1px solid var(--line);border-radius: 10px;padding: 6px 10px}.cand img{width: 44px;height: 44px;border-radius: 50%;background: #f3e6c9}.cand>div{flex: 1;display: flex;flex-direction: column}.cand small{color: var(--muted);font-size: 12px}.cand .rel{color: var(--accent);font-weight: 600}.levelup{position: fixed;inset: 0;z-index: 30;display: grid;place-items: center;pointer-events: none;animation: lvfade 2.6s forwards}.levelup>div{background: rgba(255,250,240,.97);border: 3px solid var(--gold);border-radius: 18px;padding: 22px 40px;text-align: center;box-shadow: 0 10px 40px rgba(0,0,0,.3)}.levelup h2{margin: 6px 0;color: var(--accent)}@keyframes lvfade{0%{opacity: 0;transform: scale(.8)}12%{opacity: 1;transform: scale(1.04)}20%{transform: none}80%{opacity: 1}100%{opacity: 0}}.stallbar{display: flex;align-items: center;gap: 12px;flex-wrap: wrap}.g-brief{max-width: 380px;font-size: 14px}.g-brief p{margin: 4px 0}.brief-head{display: flex;gap: 10px;align-items: center}.brief-head .clock{font-size: 26px}.brief-head small{display: block;color: var(--muted)}.g-menu{position: absolute;right: 12px;top: 56px;z-index: 6;display: flex;flex-direction: column;width: 172px;padding: 5px;background: rgba(255,250,240,.93);border-radius: 14px;box-shadow: 0 4px 14px rgba(60,40,20,.2)}.mm-grp{display: flex;flex-direction: column;gap: 1px}.mm-grp + .mm-grp,.mm-more{border-top: 1px solid rgba(160,120,70,.22);margin-top: 3px;padding-top: 3px}.mm-fold,.g-menu .m-only{display: none}.g-menu button{position: relative;display: flex;align-items: center;gap: 8px;width: 100%;min-width: 0;padding: 6px 9px;font-size: 14px;font-weight: 600;text-align: left;background: transparent;border: 0;border-radius: 9px;box-shadow: none;color: var(--ink)}.g-menu button:hover{background: rgba(160,110,50,.12);transform: none}.g-menu button .mi{font-size: 17px;width: 22px;text-align: center;flex: none}.g-menu button .ml{flex: 1;white-space: nowrap;overflow: hidden;text-overflow: ellipsis}.g-menu button .badge{position: static;margin-left: auto;font-size: 10px;padding: 1px 6px}.g-menu button.active{background: var(--accent);color: #fff}.g-menu .mm-more{color: var(--muted);font-size: 13px;font-weight: 500}.g-start{position: absolute;left: 50%;bottom: 28px;transform: translateX(-50%);z-index: 6;text-align: center}.start-btn{font-size: 22px;padding: 16px 40px;border-radius: 16px;box-shadow: 0 8px 24px rgba(120,50,20,.35);animation: pulse 2.2s ease-in-out infinite}@keyframes pulse{0%,100%{transform: scale(1)}50%{transform: scale(1.04)}}.start-sub{margin-top: 8px;background: rgba(59,42,26,.78);color: #fff3d6;padding: 4px 14px;border-radius: 99px;font-size: 13px}.g-sheet{position: absolute;left: 50%;top: 56px;bottom: 16px;transform: translateX(-50%);width: min(1180px,calc(100vw - 240px));z-index: 8;display: flex;flex-direction: column;background: rgba(255,250,240,.985);animation: slide .18s ease-out}.g-sheet[hidden]{display: none}.g-sheet header{display: flex;align-items: center;gap: 8px;border-bottom: 1px solid var(--line);padding-bottom: 8px;margin-bottom: 8px;font-size: 18px}.sheet-body{overflow-y: auto;flex: 1;padding-right: 4px}.sheet-body .row{margin-bottom: 6px}.buy-foot{position: sticky;bottom: 0;background: #fff4e6;border: 1px solid var(--line);border-radius: 10px;padding: 8px 12px}.plan-box{margin-top: 10px;background: #f1f8ea;border: 1px solid #b9d6a0;border-radius: 10px;padding: 8px 12px}.plan-box h3{margin: 0 0 4px}.policy{display: flex;flex-direction: column;gap: 10px}.policy select{font: inherit;padding: 2px 6px;border-radius: 6px;border: 1px solid var(--line)}@media (max-width: 900px){.g-sheet{width: calc(100vw - 16px)}.start-btn{font-size: 18px;padding: 12px 24px}}.stage.dim canvas{filter: brightness(.55) saturate(.8)}.sum-sheet{width: min(1180px,calc(100vw - 32px))}.sum-sheet .stats b small{font-size: 12px;font-weight: 400}.sum-grid{display: grid;grid-template-columns: minmax(300px,1fr) 1.3fr;gap: 14px;margin-bottom: 10px}@media (max-width: 800px){.sum-grid{grid-template-columns: 1fr}}.sum-grid>div{background: #fff;border: 1px solid var(--line);border-radius: 10px;padding: 10px 12px}.sum-grid h3,.sum-sheet h3{margin: 4px 0 8px;font-size: 16px}.sum-grid p{margin: 4px 0}table.pl td{padding: 4px 6px}table.pl tr.total td{border-top: 2px solid var(--line)}.next-bar{display: flex;align-items: center;gap: 12px;flex-wrap: wrap;border-top: 1px solid var(--line);padding-top: 10px;margin-top: 8px}.next-bar .cd{flex: 1;min-width: 220px}.next-bar .cd .bar{margin-top: 4px}.next-bar .cd .bar>i{background: var(--gold);transition: width 1s linear}.anger{letter-spacing: 1px}.heat{display: inline-flex;align-items: center;gap: 4px;font-size: 12px;font-weight: 600;color: #6b5a3e}.heat i{display: inline-block;width: 56px;height: 8px;border-radius: 4px;background: #eadfc8;overflow: hidden}.heat i b{display: block;height: 100%;background: linear-gradient(90deg,#f2b84b,#e8742a,#c62828)}.heat.heat2{color: #c4561d}.heat.heat3{color: #c62828;animation: heatShake .25s infinite}@keyframes heatShake{0%,100%{transform: translateX(0)}50%{transform: translateX(1.5px)}}.bubble.hot{background: #ffe3dc;border-color: #c62828;color: #8e1b1b;font-weight: 600}.haggle-chat .bubble.by{align-self: center;background: #f1ead9;font-size: 12px;font-style: italic;color: #6b5a3e}.tag-mohang{font-size: 12px;background: #c62828;color: #ffe08a;border-radius: 10px;padding: 1px 8px}.haggle-price{display: flex;gap: 14px;flex-wrap: wrap;font-size: 13px;padding: 4px 8px;background: rgba(255,255,255,.6);border-radius: 6px}.haggle-note{margin-top: 8px;font-weight: 600;color: #b5562b}.haggle-actions + .haggle-actions{margin-top: 6px}.haggle-actions input#ask{width: 110px}.haggle-actions button.drop{display: inline-flex;flex-direction: column;align-items: center;line-height: 1.1;padding: 4px 10px}.haggle-actions button.drop small{font-size: 11px;opacity: .75}.haggle-actions button.hard{background: #7a2e1d;color: #fff;border-color: #5a1f12}.g-dock button.warn{background: #c62828;color: #fff;animation: viaPulse 1.2s ease-in-out infinite}@keyframes viaPulse{50%{box-shadow: 0 0 0 4px rgba(198,40,40,.3)}}.g-invite{position: absolute;inset: 0;z-index: 12;display: flex;align-items: center;justify-content: center;background: rgba(40,28,16,.45);padding: 16px}.g-invite[hidden]{display: none}.inv-box{width: min(620px,100%);max-height: calc(100% - 32px);overflow-y: auto;background: rgba(255,250,240,.99);border: 2px solid var(--accent);animation: slide .2s ease-out}.inv-head{display: flex;gap: 12px;align-items: center;border-bottom: 1px solid var(--line);padding-bottom: 8px}.inv-icon{font-size: 40px;line-height: 1}.inv-kind{font-size: 22px;font-weight: 700;color: var(--accent)}.inv-who{display: flex;gap: 10px;align-items: center;margin-top: 10px}.inv-who img{width: 56px;height: 56px;border-radius: 50%;background: #f0e1bf;border: 2px solid var(--line)}.inv-text{font-size: 15px;line-height: 1.5;margin: 10px 0}.inv-opts{display: grid;grid-template-columns: repeat(3,1fr);gap: 8px}.inv-opt{display: flex;flex-direction: column;align-items: flex-start;gap: 4px;text-align: left;padding: 10px;white-space: normal;height: auto;font-size: 13px;line-height: 1.35}.inv-opt b{font-size: 15px}.inv-opt.go{border-color: #2e7d32}.inv-opt.no{border-color: #c62828}.inv-poor{margin: 8px 0 0}@media (max-width: 560px){.inv-opts{grid-template-columns: 1fr}}.quest .qtip{display: block;font-size: 11.5px;font-weight: normal;margin-top: 1px}.biz-tier{margin: 14px 0 6px}.biz-grid{display: grid;grid-template-columns: repeat(auto-fill,minmax(330px,1fr));gap: 10px}.biz-card{border: 1px solid var(--line);border-radius: 10px;padding: 10px;background: #fffaf0;display: flex;flex-direction: column;gap: 6px}.biz-card.owned{border: 2px solid #2e7d32;background: #f3faef}.biz-card.locked{opacity: .6}.biz-head{display: flex;gap: 8px;align-items: center}.biz-head h4{margin: 0}.biz-ic{font-size: 30px}.biz-owner{display: flex;gap: 8px;align-items: center}.biz-owner img{width: 48px;height: 48px;border-radius: 50%;background: #f0e1bf;border: 2px solid var(--line)}.biz-owner small{display: block}.biz-owner .reason{font-style: italic;color: #8a5a2a}.biz-owners{border-top: 1px dashed var(--line);margin: 6px 0;padding-top: 6px}.biz-owners>.biz-owner{margin-top: 8px;padding: 4px 6px;border-radius: 10px;background: rgba(255,255,255,.45)}.biz-owners>.biz-owner.ok{background: #eef6e4}.biz-owners>.biz-owner img{width: 40px;height: 40px}.biz-owners p{margin: 4px 0 2px;font-size: 13px}.biz-more{margin: 4px 0;font-size: 13px}.biz-more summary{cursor: pointer;color: var(--muted)}.biz-more .biz-acts{margin-top: 4px}.biz-rules{margin: 6px 0 4px;font-size: 14px}.biz-rules summary{cursor: pointer}.biz-rules p{margin: 6px 0 0}.biz-chips{display: flex;flex-wrap: wrap;gap: 6px;margin-bottom: 8px}.biz-chip{display: flex;align-items: center;gap: 6px;padding: 4px 10px;border: 1px dashed var(--line);border-radius: 10px;opacity: .75;font-size: 14px}.biz-chip span{font-size: 20px}.biz-chip small{color: var(--muted)}.biz-acts,.biz-nego div{display: flex;gap: 6px;flex-wrap: wrap}.biz-nego{border-top: 1px dashed var(--line);padding-top: 6px;display: flex;flex-direction: column;gap: 4px}.biz-set{display: flex;gap: 6px;align-items: center;flex-wrap: wrap;font-size: 13px}.biz-set .seg{display: inline-flex;gap: 2px}.biz-last{font-size: 13px}.biz-msg{padding: 8px 10px;border-radius: 8px;background: #fff3d6;border: 1px solid #e0c08a;margin: 6px 0}.biz-goods{display: flex;flex-wrap: wrap;gap: 4px}.biz-goods .bg{font-size: 11.5px;padding: 2px 7px;border-radius: 10px;background: #f3ead8;border: 1px solid #e2d3b4;white-space: nowrap}.biz-goods .bg small{color: #8a7358}.biz-goods .bg.hot{background: #fde3c8;border-color: #e8a060;font-weight: 600}.biz-goods .bg.off{opacity: .55}.shop-tabs button{font-weight: 600}.stand-list{display: flex;flex-direction: column;gap: 6px}.stand-list button{display: flex;flex-direction: column;align-items: flex-start;text-align: left}.stand-list small{font-size: 12px;opacity: .8}.stock-head{grid-column: 1 / -1;margin: 8px 0 2px}tr.shop-row td{background: #f3ead8}.shop-tag{font-size: 13px}.biz-level{display: flex;gap: 8px;align-items: center}.biz-level small{display: block;font-size: 11.5px}.biz-card h5{margin: 6px 0 2px}body.lobby #hud{display: none}.lobby-screen{position: fixed;inset: 0;overflow: hidden}.lobby-screen .stage{position: absolute;inset: 0}.lobby-screen .stage canvas{filter: saturate(.95)}.lobby-screen::after{content: '';position: absolute;inset: 0;background: radial-gradient(ellipse at 50% 40%,rgba(255,248,230,0) 30%,rgba(60,40,20,.28) 100%);pointer-events: none}.lobby-top{position: absolute;top: 16px;right: 16px;display: flex;gap: 12px;z-index: 5}.lobby-top .round{width: 64px;height: 64px;border-radius: 50%;font-size: 30px;font-weight: 700;background: #fffaf0;border: 3px solid #3b2a1a;box-shadow: 0 4px 0 #3b2a1a;padding: 0}.lobby-top .round:active{transform: translateY(3px);box-shadow: 0 1px 0 #3b2a1a}.lobby-board{position: absolute;left: 50%;top: 6%;transform: translateX(-50%) rotate(-1deg);width: min(820px,calc(100vw - 32px));z-index: 4;filter: drop-shadow(0 10px 18px rgba(0,0,0,.25))}.lobby-awning{z-index: 2;height: 92px;border: 4px solid #3b2a1a;border-bottom: 0;border-radius: 18px 18px 0 0;background: repeating-linear-gradient(90deg,#d9483b 0 64px,#fffaf0 64px 128px);position: relative}.lobby-awning::after{content: '';position: absolute;left: -4px;right: -4px;bottom: -30px;height: 32px;background: radial-gradient(circle at 32px 0,#d9483b 30px,transparent 31px) 0 0 / 128px 32px repeat-x,radial-gradient(circle at 96px 0,#fffaf0 30px,transparent 31px) 0 0 / 128px 32px repeat-x}.lobby-sign{z-index: 1;background: #fffaf0;border: 4px solid #3b2a1a;border-top: 0;border-radius: 0 0 14px 14px;padding: 46px 28px 22px;text-align: center;position: relative;background-image: radial-gradient(rgba(150,110,60,.08) 1px,transparent 1px);background-size: 7px 7px}.lobby-sign h1{margin: 0;font-family: 'Arial Black','Segoe UI Black','Segoe UI',sans-serif;font-weight: 900;font-size: clamp(54px,10vw,108px);letter-spacing: 4px;color: #d9483b;-webkit-text-stroke: 4px #3b2a1a;paint-order: stroke fill;text-shadow: 5px 6px 0 #3b2a1a;transform: rotate(-1.5deg);line-height: 1.05}.lobby-sign p{margin: 10px 0 0;font-size: clamp(16px,2.4vw,24px);font-weight: 700;color: #3b2a1a;font-style: italic}#lobbyBasket{position: absolute;right: -36px;bottom: -34px;width: 190px;height: 130px;transform: rotate(8deg)}.lobby-btns{position: absolute;left: 50%;bottom: 15%;transform: translateX(-50%);display: flex;gap: 28px;z-index: 4;flex-wrap: wrap;justify-content: center;width: min(1000px,calc(100vw - 32px))}.lb{min-width: min(420px,100%);padding: 18px 30px 16px;border-radius: 22px;border: 4px solid #3b2a1a;color: #fff;font-weight: 900;box-shadow: 0 8px 0 #3b2a1a;display: flex;flex-direction: column;align-items: center;gap: 4px;cursor: pointer}.lb span{font-size: clamp(30px,4.6vw,52px);text-shadow: 0 3px 0 rgba(0,0,0,.25);line-height: 1.05}.lb small{font-size: 15px;font-weight: 600;opacity: .95}.lb.go{background: #3f7a2c}.lb.new{background: #d9483b}.lb:hover:not(:disabled){filter: brightness(1.06);border-color: #3b2a1a}.lb:active{transform: translateY(5px);box-shadow: 0 3px 0 #3b2a1a}.lobby-ver{position: absolute;left: 50%;bottom: 4%;transform: translateX(-50%);background: #fffaf0;border: 3px solid #3b2a1a;border-radius: 30px;padding: 8px 22px;font-weight: 700;color: #3f7a2c;z-index: 4;white-space: nowrap}.lobby-corner{position: absolute;right: 16px;bottom: 16px;display: flex;gap: 8px;z-index: 5}.lobby-corner button{border-radius: 20px;border: 2px solid #3b2a1a;background: #2f6aa8;color: #fff;font-weight: 700}.lobby-corner button:disabled{opacity: .5}.lobby-msg{position: absolute;left: 50%;top: 52%;transform: translateX(-50%);background: #fffaf0;border: 2px solid #3b2a1a;border-radius: 10px;padding: 8px 16px;z-index: 6}.lobby-info{position: absolute;inset: 0;background: rgba(40,28,16,.5);display: flex;align-items: center;justify-content: center;z-index: 10;padding: 16px}.lobby-info[hidden]{display: none}.lobby-info .g-panel{width: min(620px,100%);background: #fffaf0;border: 3px solid #3b2a1a;line-height: 1.55}@media (max-width: 700px){.lobby-top .round{width: 48px;height: 48px;font-size: 22px}.lobby-btns{bottom: 13%;gap: 14px}#lobbyBasket{display: none}}.pause-ov{position: fixed;inset: 0;z-index: 60;background: rgba(40,28,16,.45);display: flex;align-items: center;justify-content: center;padding: 16px}.pause-ov[hidden]{display: none}.pause-card{width: min(470px,100%);max-height: calc(100vh - 32px);overflow-y: auto;background: #fffaf0;border: 4px solid #e8dcc4;outline: 3px solid #3b2a1a;border-radius: 18px;padding: 22px 26px 18px;text-align: center;box-shadow: 0 14px 40px rgba(0,0,0,.35);animation: slide .2s ease-out}.pause-card h2{margin: 0;font-family: 'Arial Black','Segoe UI Black','Segoe UI',sans-serif;font-size: 44px;color: #b03a2e;letter-spacing: 1px}.pause-sub{margin: 4px 0 16px;color: #7a6a5a;font-weight: 700}.pb{border: 0;border-radius: 16px;color: #fff;font-weight: 800;font-size: 19px;padding: 14px 10px 12px;cursor: pointer;position: relative;box-shadow: 0 6px 0 rgba(0,0,0,.28),inset 0 4px 0 rgba(255,255,255,.28);text-shadow: 0 2px 0 rgba(0,0,0,.2)}.pb:hover:not(:disabled){filter: brightness(1.07)}.pb:active:not(:disabled){transform: translateY(4px);box-shadow: 0 2px 0 rgba(0,0,0,.28),inset 0 4px 0 rgba(255,255,255,.28)}.pb:disabled{opacity: .5;cursor: default}.pb small{display: block;font-size: 12px;font-weight: 600;opacity: .9;margin-top: 2px}.pb.big{display: block;width: 100%;font-size: 34px;padding: 18px 10px 16px;margin-bottom: 16px}.pb.wide{display: block;width: 100%;margin-top: 12px}.pause-grid{display: grid;grid-template-columns: 1fr 1fr;gap: 12px}.pause-small{display: grid;grid-template-columns: repeat(4,1fr);gap: 8px;margin-top: 16px}.pb.s{font-size: 13px;padding: 10px 4px 8px;border-radius: 12px;box-shadow: 0 4px 0 rgba(0,0,0,.28),inset 0 3px 0 rgba(255,255,255,.25)}.pause-code{margin-top: 14px;color: #6a5a4a;display: grid;gap: 4px;background: #fff3d6;border: 1px solid #ecd9b4;border-radius: 12px;padding: 8px 12px;text-align: left}.pause-code .pc-row{display: flex;align-items: center;gap: 10px;min-height: 38px}.pause-code .pc-row + .pc-row{border-top: 1px dashed #e6d2a8}.pause-code .pc-k{flex: 0 0 auto;min-width: 120px;font-weight: 600;color: #8a6a4a;white-space: nowrap}.pause-code .pc-v{flex: 1 1 auto;min-width: 0;font-weight: 800;color: #4a3520;letter-spacing: .5px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis}.pause-code .pc-row:has(.pc-note){flex-wrap: wrap;row-gap: 0;padding-top: 6px}.pause-code .pc-note{flex: 0 0 100%;color: #9a8466;font-size: 12px;padding: 0 0 6px 130px}.pause-code .pb.s{flex: 0 0 auto;padding: 6px 12px;white-space: nowrap;margin: 0}.pause-info{text-align: left;margin-top: 12px;font-size: 14px;line-height: 1.5}.pause-msg{margin: 8px 0 0;min-height: 1em;font-size: 14px}.pb.green{background: #3f7a2c}.pb.green2{background: #4c8a34}.pb.blue{background: #5a86b8}.pb.teal{background: #2f8f7a}.pb.red{background: #a63a2a}.pb.orange{background: #d9822b}.pb.purple{background: #6a4aa0}.pb.violet{background: #8a6ac8}.pb.navy{background: #2f5f8a}.pb.brown{background: #a8742a}.pb.sage{background: #6a8a6a}.pb.slate{background: #6a7a8a}.pause-btn{font-weight: 700}@media (max-width: 480px){.pause-card h2{font-size: 34px}.pb.big{font-size: 26px}.pause-small{grid-template-columns: 1fr 1fr}}.pause-grid .pb{font-size: 17px;white-space: nowrap}.auto-bar{display: flex;align-items: center;gap: 10px;flex-wrap: wrap;margin-top: 8px;background: rgba(255,250,240,.95);border: 1px solid var(--line);border-radius: 10px;padding: 6px 10px}.auto-bar .cd-text{font-size: 13px;flex: 1;min-width: 180px}.auto-bar .bar{flex-basis: 100%;height: 5px}.auto-bar .bar i{transition: width 1s linear}.name-panel{width: min(460px,100%);background: #fffaf0;border: 3px solid #3b2a1a}.name-panel h3{margin: 0 0 10px;color: #b03a2e;font-size: 24px}.name-who{display: flex;gap: 10px;align-items: center;margin-bottom: 12px}.name-who img{width: 64px;height: 64px;border-radius: 50%;background: #f0e1bf;border: 2px solid var(--line)}.name-who small{display: block;color: #7a6a5a}.name-panel label{display: block;font-weight: 700}.name-panel input{display: block;width: 100%;box-sizing: border-box;margin-top: 6px;font-size: 22px;padding: 8px 12px;border: 2px solid #3b2a1a;border-radius: 10px}.name-sign{margin: 12px auto 4px;text-align: center}.name-sign span{display: inline-block;padding: 6px 16px;border: 3px solid #3f7a2c;border-radius: 8px;background: #fffaf0;color: #3f7a2c;font-weight: 800;font-size: 18px;letter-spacing: .5px}.g-top{top: calc(var(--hud,48px) + 8px)}.g-menu{top: calc(var(--hud,48px) + 8px)}.g-sheet{top: calc(var(--hud,48px) + 8px)}.g-pop{top: calc(var(--hud,48px) + 64px)}.g-hint{top: calc(var(--hud,48px) + 70px)}.i-none,.h-ic{display: none;font-style: normal}#hud i{font-style: normal}button{touch-action: manipulation}@media (max-width: 700px),(max-height: 500px){body.playing #hud{flex-wrap: nowrap;overflow-x: auto;gap: 10px;padding: 6px 10px;font-size: 13px;white-space: nowrap;scrollbar-width: none}body.playing #hud::-webkit-scrollbar{display: none}#hud .title{font-size: 16px;margin-right: 0}#hud .h-txt,#hud .h-name,#hud .h-stall,#hud .h-wide{display: none}#hud .h-ic{display: inline;margin-right: 2px}#hud button{margin-left: 0;padding: 2px 8px}#hud .h-money{margin-right: auto}.g-top{left: 8px;right: 8px;gap: 6px}.g-clock{min-width: 0;gap: 8px;padding: 4px 10px}.g-clock .clock{font-size: 20px}.g-clock .bar{width: 70px}.g-ctrl{gap: 4px;padding: 4px 8px;font-size: 13px}.g-ctrl button{padding: 3px 8px}.g-pop{top: calc(var(--hud,40px) + 56px);bottom: 64px}.g-hint{top: calc(var(--hud,40px) + 60px);white-space: normal;width: 90vw;text-align: center}.g-dock{right: 8px;bottom: 8px;gap: 6px}.g-dock button{padding: 7px 10px;font-size: 13px}.g-ticker{left: 8px;bottom: 60px;max-width: 70vw}.g-ticker div{font-size: 12px;padding: 3px 8px}.g-menu{right: 8px;bottom: auto;width: auto;padding: 4px;max-height: calc(100vh - var(--hud,40px) - 56px);overflow-y: auto;scrollbar-width: none}.mm-grp{display: grid;grid-template-columns: repeat(2,38px);gap: 3px}.g-menu .m-only{display: flex}.g-menu .mm-fold{display: none}.g-menu button{width: 38px;height: 38px;padding: 0;justify-content: center}.g-menu button .ml{display: none}.g-menu button .mi{font-size: 20px;width: auto}.g-menu button .badge{position: absolute;top: -3px;right: -3px;margin: 0;font-size: 9px;padding: 0 4px}.g-menu .mm-more{width: 100%;height: 22px}.g-brief{max-width: calc(100vw - 80px);font-size: 13px}.g-sheet{width: calc(100vw - 12px);bottom: 6px;padding: 8px}.g-start{bottom: 12px;width: calc(100vw - 16px)}.start-btn{font-size: 18px;padding: 10px 22px}.g-haggle{bottom: 58px;width: calc(100vw - 12px);max-height: calc(100vh - var(--hud,40px) - 70px);overflow-y: auto}.g-haggle .haggle-box{padding: 6px 8px;font-size: 13px}.haggle-chat{max-height: 84px}.haggle-actions{gap: 5px;margin-top: 6px}.haggle-actions button{padding: 5px 8px;font-size: 13px}.haggle-actions input#ask{width: 90px}.lobby-ver{bottom: 62px;font-size: 13px;padding: 5px 14px}.lobby-corner{right: 50%;transform: translateX(50%);bottom: 12px;white-space: nowrap}.lb{padding: 12px 18px 10px}.lb small{font-size: 13px}}@media (max-height: 500px){.lobby-board{top: 2%;width: min(520px,calc(100vw - 32px))}.lobby-awning{height: 48px}.lobby-sign{padding: 30px 16px 10px}.lobby-sign h1{font-size: 44px}.lobby-sign p{font-size: 14px}.lobby-btns{bottom: 22%}.lb span{font-size: 26px}.lobby-ver{display: none}.g-start{left: auto;right: 64px;transform: none;width: auto}}.boot-ov{position: fixed;inset: 0;z-index: 100;background: rgba(40,28,16,.55);display: flex;align-items: center;justify-content: center;padding: 14px}.boot-card{width: min(520px,100%);max-height: calc(100vh - 28px);overflow-y: auto;background: #fffaf0;border: 3px solid #3b2a1a;border-radius: 14px;padding: 16px 18px;box-shadow: 0 12px 40px rgba(0,0,0,.35)}.boot-card h3{margin: 0 0 8px;color: #b03a2e}.boot-card p{margin: 6px 0;font-size: 14px}.boot-pre{background: #f3ead8;border-radius: 8px;padding: 8px;font-size: 12px;white-space: pre-wrap;word-break: break-word;max-height: 120px;overflow-y: auto}.boot-card textarea{width: 100%;font: inherit;font-size: 15px;padding: 8px;border: 2px solid var(--line);border-radius: 8px;resize: vertical}.boot-row{display: flex;flex-wrap: wrap;gap: 8px;margin-top: 10px}.boot-row .boot-main{background: var(--accent);color: #fff;border-color: var(--accent);font-weight: 700}.boot-shot{display: flex;flex-direction: column;gap: 4px;font-size: 13px;margin: 6px 0;cursor: pointer}.boot-shot span{display: flex;align-items: center;gap: 6px}.boot-shot input{width: auto;margin: 0}.boot-shot img{max-width: 100%;max-height: 140px;object-fit: contain;border: 1px solid #e2d2ae;border-radius: 6px;background: #f3ead8}.boot-msg{color: var(--green);font-weight: 600;min-height: 1em}.tut-card{position: fixed;left: 50%;bottom: 84px;transform: translateX(-50%);z-index: 55;width: min(440px,calc(100vw - 20px));background: #fffaf0;border: 3px solid #3f7a2c;border-radius: 14px;padding: 10px 14px 10px;box-shadow: 0 10px 30px rgba(40,30,10,.35);animation: slide .2s ease-out}.tut-card.top{top: calc(var(--hud,48px) + 10px);bottom: auto}.tut-card[hidden]{display: none}.tut-head{display: flex;align-items: center;gap: 8px}.tut-head b{font-size: 16px;color: #3f7a2c;flex: 1}.tut-mom{font-size: 26px;line-height: 1}.tut-n{font-size: 12px;color: var(--muted);background: #f1e8d4;border-radius: 99px;padding: 1px 8px}.tut-card p{margin: 6px 0 8px;font-size: 14.5px;line-height: 1.5}.tut-row{display: flex;align-items: center;gap: 8px;flex-wrap: wrap}.tut-row .primary{background: #3f7a2c;border-color: #3f7a2c;padding: 7px 16px}.tut-wait{font-weight: 700;color: #b5562b;font-size: 14px}.tut-skip{border: 0;background: none;color: var(--muted);font-size: 12.5px;text-decoration: underline;padding: 2px 4px}.tut-focus{outline: 3px solid #f2a91e !important;outline-offset: 3px;border-radius: 10px;animation: tutPulse 1.1s ease-in-out infinite}@keyframes tutPulse{0%,100%{outline-color: #f2a91e;box-shadow: 0 0 0 0 rgba(242,169,30,.55)}50%{outline-color: #e8541e;box-shadow: 0 0 0 8px rgba(242,169,30,0)}}@media (max-width: 700px),(max-height: 500px){.tut-card{bottom: 64px;padding: 8px 10px}.tut-card p{font-size: 13.5px;margin: 4px 0 6px}.tut-head b{font-size: 15px}}.dl{font-style: normal}@media (max-width: 700px),(max-height: 500px){.g-dock{left: 8px;flex-wrap: nowrap;overflow-x: auto;padding-top: 8px;scrollbar-width: none}.g-dock::-webkit-scrollbar{display: none}.g-dock>:first-child{margin-left: auto}.g-dock button{white-space: nowrap;flex: none}.g-dock .dl{display: none}.g-ctrl .pause-btn{display: none}.g-sheet header{flex-wrap: wrap;gap: 6px;font-size: 16px}.g-sheet header>b{flex: 1 1 150px;min-width: 0}.g-sheet header button{padding: 5px 9px;font-size: 13px;white-space: nowrap}.overlay{padding: 8px 6px}.sheet-head{flex-wrap: wrap;gap: 6px;padding: 10px 12px}.sheet-head h2{font-size: 16px;flex: 1 1 auto}.stall-sheet .sheet-head .tabs{order: 5;flex-basis: 100%;margin: 0;flex-wrap: nowrap;overflow-x: auto}.stall-sheet .sheet-head .tabs button{white-space: nowrap;flex: none}.stall-body{padding: 10px}.tut-skip{min-height: 32px}}@media (max-width: 400px){#hud .h-wx,#hud #hudMusic{display: none}body.playing #hud{gap: 8px}}@media (max-width: 700px),(max-height: 500px) and (max-width: 1100px){table.buy-tbl,table.buy-tbl tbody{display: block}table.buy-tbl tr:first-child{display: none}table.buy-tbl tr{display: grid;grid-template-columns: 1fr 1fr 1fr 1fr;gap: 6px 8px;padding: 8px 10px;margin-bottom: 8px;background: #fff;border: 1px solid var(--line);border-radius: 12px}table.buy-tbl tr.off{background: #f4efe4}table.buy-tbl td{display: block;padding: 0;border: 0;text-align: left;min-width: 0}table.buy-tbl td[data-l]::before{content: attr(data-l);display: block;font-size: 11px;color: var(--muted);font-weight: 400}table.buy-tbl td[colspan]{grid-column: 1 / -1}table.buy-tbl .c-name{grid-column: 1 / -1;font-weight: 700;font-size: 15px}table.buy-tbl .c-sm{font-size: 13px}table.buy-tbl .c-buy{grid-column: span 2}table.buy-tbl .c-pr,table.buy-tbl .c-mg{font-size: 15px}table.buy-tbl .c-mu{grid-column: span 2}table.buy-tbl .c-keep{grid-column: span 2}table.buy-tbl .qty button.small{min-width: 36px;min-height: 34px;font-size: 16px}table.buy-tbl .qty span{min-width: 30px}.buy-foot{flex-wrap: wrap;gap: 6px 12px}}@media (max-width: 480px){.pause-card{padding: 16px 12px 14px}.pause-grid{gap: 8px}.pause-grid .pb{font-size: 14px;white-space: normal;padding: 10px 6px 9px}.pb.wide{font-size: 15px}.pause-code{font-size: 13px;padding: 6px 10px}.pause-code .pc-k{min-width: 108px}.pause-code .pc-note{padding-left: 118px}}@media (max-width: 700px),(max-height: 500px){.g-dock{justify-content: flex-start}.g-brief button,.g-panel button.small{min-height: 30px}input[type=checkbox]{width: 18px;height: 18px}}@media (max-width: 700px){table.buy-tbl .c-name{order: 0}table.buy-tbl .c-sm{order: 1}table.buy-tbl .c-buy{order: 2}table.buy-tbl .c-mu{order: 3}table.buy-tbl .c-pr{order: 4;grid-column: span 2}table.buy-tbl .c-mg{order: 5;grid-column: span 2}table.buy-tbl .c-keep{order: 6;grid-column: 1 / -1}table.buy-tbl .qty{flex-wrap: nowrap}}@media (max-width: 420px){.g-dock{gap: 4px}.g-dock button{padding: 7px 8px;font-size: 12.5px}}.inv-opts{grid-template-columns: repeat(var(--cols,3),1fr)}@media (max-width: 560px){.inv-opts{grid-template-columns: 1fr}.inv-opt{padding: 8px 10px}}@media (max-height: 500px) and (min-width: 701px){table.buy-tbl .c-in,table.buy-tbl .c-fc,table.buy-tbl .c-mg{display: none}table.buy-tbl td,table.buy-tbl th{padding: 3px 5px}.g-sheet .sheet-body .row{margin-bottom: 3px}.g-invite{padding: 6px}.inv-box{max-height: calc(100% - 12px)}.inv-text{margin: 6px 0;font-size: 14px}.inv-head{padding-bottom: 4px}.inv-icon{font-size: 30px}}@media (max-width: 700px),(max-height: 500px){#hud{flex-wrap: nowrap;overflow-x: auto;gap: 10px;padding: 6px 10px;font-size: 13px;white-space: nowrap;scrollbar-width: none}#hud::-webkit-scrollbar{display: none}}@media (max-width: 400px){#hud{gap: 8px}}.supplier-note{margin: 4px 0 8px;padding: 6px 10px;background: #eef4fb;border: 1px solid #c8d8ea;border-radius: 8px;font-size: 13.5px}#hud button *,.g-dock button *,.g-menu button *,.g-ctrl button *,.g-pop header button *{pointer-events: none}.gift-box{background: #fff8ec;border: 1px solid #ecd3a8;border-radius: 12px;padding: 8px 12px;margin: 0 0 12px}.gift-box .row{gap: 8px}.gift-opts{display: grid;grid-template-columns: repeat(auto-fill,minmax(190px,1fr));gap: 6px;margin-top: 6px}.gift-opt{display: flex;gap: 8px;align-items: center;text-align: left;padding: 6px 8px}.gift-opt .gi{font-size: 22px}.gift-opt span{display: flex;flex-direction: column;min-width: 0}.gift-opt small{color: var(--muted);font-size: 12px}.gift-opt.liked{border-color: #e88fb0;background: #fff1f6}.gift-opt.rotten{opacity: .7}.gift-msg{margin: 6px 0;padding: 6px 10px;background: #eef6e4;border-radius: 8px;font-size: 14px}.gift-msg.bad{background: #fde7e2;color: var(--red)}.batch-box .row{flex-wrap: wrap;margin: 6px 0}.batch-box>.primary{margin: 8px 0 4px}.batch-list{display: grid;grid-template-columns: repeat(auto-fill,minmax(230px,1fr));gap: 6px;margin-top: 6px}.batch-row{display: flex;gap: 8px;align-items: center;text-align: left;padding: 4px 8px}.batch-row img{width: 36px;height: 36px;border-radius: 50%;flex: none}.batch-row span{display: flex;flex-direction: column;min-width: 0;flex: 1}.batch-row small{color: var(--muted);font-size: 12px}.inv-modes{display: flex;flex-wrap: wrap;gap: 6px;align-items: center;margin: 4px 0 6px}.inv-gift{background: #fff8ec;border: 1px solid #ecd3a8;border-radius: 8px;padding: 6px 10px;margin-bottom: 8px;font-size: 14px}.lg-sheet{max-width: 1100px}.lg-sheet .sheet-head .tabs{margin: 0 0 0 12px}.lg-cards b{font-size: 19px}.lg-cards small + b + small,.lg-cards b + small{color: var(--muted);font-size: 12px}.lg-bars{display: flex;align-items: center;gap: 2px;height: 120px;padding: 6px 8px;background: #fff;border: 1px solid var(--line);border-radius: 10px;margin-bottom: 8px;position: relative}.lg-bars::before{content: '';position: absolute;left: 8px;right: 8px;top: 50%;border-top: 1px dashed #cdb894}.lg-bar{flex: 1;height: 100%;display: flex;flex-direction: column;justify-content: center;min-width: 3px;position: relative}.lg-bar i{display: block;width: 100%;border-radius: 2px}.lg-bar i.up{background: #4f7a2c;align-self: flex-end;margin-top: auto;margin-bottom: 50%;max-height: 50%}.lg-bar i.down{background: #b23a2a;margin-top: 50%;margin-bottom: auto;max-height: 50%}.lg-nav{margin: 4px 0 8px}.lg-tbl td,.lg-tbl th{white-space: nowrap;font-size: 13.5px}.lg-pl td{font-size: 14px}.lg-tax p{margin: 6px 0}.lg-meter{background: #fff;border: 1px solid var(--line);border-radius: 10px;padding: 8px 12px;margin: 8px 0}.lg-meter .bar{margin: 6px 0 4px;height: 10px}.lg-meter .bar>i{background: var(--gold)}@media (max-width: 700px){.lg-sheet .sheet-head .tabs{order: 5;flex-basis: 100%;margin: 0;flex-wrap: nowrap;overflow-x: auto}.lg-sheet .sheet-head .tabs button{white-space: nowrap;flex: none}.lg-tbl tr:first-child{display: none}.lg-tbl,.lg-tbl tbody{display: block}.lg-tbl tr{display: grid;grid-template-columns: 1fr 1fr;gap: 2px 10px;padding: 6px 8px;border-bottom: 1px solid var(--line)}.lg-tbl td{border: 0;padding: 0;text-align: left}.lg-tbl td:first-child{grid-column: 1 / -1;font-weight: 700}.lg-tbl td[data-l2]::before{content: attr(data-l2) ': ';color: var(--muted);font-size: 12px}}.lg-bar i{position: absolute;left: 0;right: 0;margin: 0 !important;max-height: 50%}.lg-bar i.up{bottom: 50%}.lg-bar i.down{top: 50%}.warn-t{color: #b5562b;font-weight: 600}.ending-sheet{max-width: 460px;text-align: center}.ending .big-ic{font-size: 56px}.ending h2{margin: 4px 0 10px;color: var(--accent)}.ending table.pl{margin: 12px auto;width: 100%}.ending table.pl td{padding: 6px 12px}.ending button{margin-top: 8px}.warn-box{margin: 6px 0;padding: 6px 10px;border: 1.5px solid #e0a080;background: #fff3ea;border-radius: 8px;font-size: 13px}.warn-box b{color: #b5562b;display: block;margin-bottom: 2px}.warn-box div{margin: 2px 0}.notice-ov{z-index: 40}.notice-sheet{max-width: 560px}.notice-sheet h3{margin: 0 0 8px;color: var(--accent)}.notice-item{margin: 6px 0;padding: 7px 10px;border-radius: 8px;background: #fbf6ea;border-left: 4px solid #c9a46a;font-size: 14px;line-height: 1.45}.notice-item.good{border-left-color: #2e9d4a;background: #f1f8ec}.notice-item.bad{border-left-color: #c62828;background: #fff1ec}.rumor-fx{display: flex;flex-wrap: wrap;gap: 4px;margin: 4px 0}.rumor-fx span{font-size: 12px;padding: 1px 7px;border-radius: 10px;background: #eef3e6}.rumor-fx span.up{background: #fde3dc;color: #a83218}.rumor-fx span.down{background: #e2f0dc;color: #2c6e2c}.notice-auto{z-index: 41}.notice-ov{display: grid;place-items: center;align-items: center;padding: 16px}.notice-ov .notice-sheet{margin: auto;max-height: 86vh;overflow: auto}.g-news{position: absolute;top: calc(var(--hud,48px) + 70px);left: 50%;transform: translate(-50%,-10px);z-index: 5;opacity: 0;pointer-events: none;max-width: min(780px,92vw);width: max-content;text-align: center;background: rgba(59,42,26,.9);color: #fff3d6;padding: 7px 18px;border-radius: 18px;font-size: 14px;line-height: 1.45;transition: opacity .6s,transform .6s;box-shadow: 0 4px 14px rgba(0,0,0,.25)}.g-news.show{opacity: 1;transform: translate(-50%,0)}.g-news.good{background: rgba(36,92,44,.92)}.g-news.bad{background: rgba(140,42,30,.92)}.g-news.rumor{background: rgba(38,58,108,.92)}.g-news b{color: #fff}.g-news .gn-fx{display: block;font-size: 12.5px;opacity: .92;margin-top: 2px}@media (max-width: 700px){.g-news{top: calc(var(--hud,40px) + 60px);font-size: 13px;padding: 6px 12px}}.pause-away{margin: 6px 0 10px;padding: 8px 12px;border-radius: 10px;background: #fff3dc;border: 1.5px solid #e0b860;text-align: left;font-size: 14px;line-height: 1.5;color: #4a3520}.pause-away b{display: block;margin-bottom: 2px;color: #a8501e}.pb.slate2{background: #5f6f7f}.g-news.tip{background: rgba(150,110,20,.94)}.ach-grid{display: grid;grid-template-columns: repeat(auto-fill,minmax(150px,1fr));gap: 6px}.ach{border: 1px solid var(--line);border-radius: 8px;padding: 6px 8px;background: #f3efe6;opacity: .7;font-size: 12px}.ach span{font-size: 20px;margin-right: 4px}.ach b{display: inline;font-size: 13px}.ach small{display: block;color: #7a6a55}.ach.got{background: #fff6d6;border-color: #e0b860;opacity: 1}.h-title{color: #ffd98a;font-style: normal}.scen-list{display: grid;grid-template-columns: repeat(auto-fill,minmax(220px,1fr));gap: 6px;max-height: 38vh;overflow-y: auto;margin-bottom: 8px}.scen{display: flex;flex-direction: column;align-items: flex-start;gap: 2px;text-align: left;padding: 7px 9px;font-size: 13px;line-height: 1.3}.scen b small{color: #c8892a;font-weight: normal;margin-left: 4px}.scen span{font-size: 12px}.scen.active{outline: 3px solid #3f7a2c;background: #eef6e6;color: #2a1d14}.scen.active b,.scen.active span{color: #2a1d14}.name-panel{width: min(640px,100%);max-height: 94vh;overflow-y: auto}.name-panel h4{margin: 4px 0 6px}.year-sheet h2{margin: 0;color: #b03a2e}.year-grid{display: grid;grid-template-columns: repeat(auto-fill,minmax(150px,1fr));gap: 8px;margin: 10px 0}.year-card{background: #fffaf0;border: 2px solid #3b2a1a;border-radius: 8px;padding: 8px;display: flex;flex-direction: column;align-items: center;text-align: center}.year-card span{font-size: 26px}.year-card small{color: #7a5a3a}.year-card b{font-size: 15px}.g-news.info{background: rgba(78,58,38,.93)}.g-news .muted{color: rgba(255,255,255,.78)}.up-bar[hidden],.up-prog[hidden]{display: none}.up-bar{position: fixed;left: 50%;bottom: 14px;transform: translateX(-50%);z-index: 90;display: flex;align-items: center;gap: 8px;background: #fffaf0;border: 2px solid #3b2a1a;border-radius: 999px;padding: 6px 8px 6px 14px;font-size: 14px;font-weight: 600;box-shadow: 0 6px 20px rgba(0,0,0,.25);max-width: calc(100vw - 32px)}.up-bar button{font: inherit;font-size: 13px;padding: 4px 12px;border-radius: 999px;border: 0;background: #c0582f;color: #fff;cursor: pointer}.up-bar .up-x{background: transparent;color: #6b5440;padding: 4px 8px}.up-notes{background: #f5ecd8;border-radius: 8px;padding: 8px 10px;white-space: normal;max-height: 40vh;overflow-y: auto}.up-prog{height: 10px;background: #eadfc6;border-radius: 99px;overflow: hidden;margin: 10px 0 4px}.up-prog>div{height: 100%;width: 0;background: linear-gradient(90deg,#6aa84f,#3d8b37);transition: width .2s}.up-toast{position: fixed;left: 50%;top: 70px;transform: translateX(-50%);z-index: 120;background: #3b2a1a;color: #fff3d6;padding: 8px 16px;border-radius: 10px;font-size: 14px;box-shadow: 0 6px 20px rgba(0,0,0,.3);max-width: calc(100vw - 32px);text-align: center}:root{--sa-t: env(safe-area-inset-top,0px);--sa-b: env(safe-area-inset-bottom,0px);--sa-l: env(safe-area-inset-left,0px);--sa-r: env(safe-area-inset-right,0px)}body.playing #hud{padding-top: calc(8px + var(--sa-t));padding-left: calc(16px + var(--sa-l));padding-right: calc(16px + var(--sa-r))}.g-top{left: calc(12px + var(--sa-l));right: calc(12px + var(--sa-r))}.g-menu,.g-pop{right: calc(12px + var(--sa-r))}.g-dock{right: calc(12px + var(--sa-r));bottom: calc(12px + var(--sa-b))}.g-ticker{left: calc(12px + var(--sa-l));bottom: calc(12px + var(--sa-b))}.g-pop{bottom: calc(72px + var(--sa-b))}.g-haggle{bottom: calc(72px + var(--sa-b))}.g-start{bottom: calc(28px + var(--sa-b))}.g-sheet{bottom: calc(16px + var(--sa-b))}.lobby-corner{bottom: calc(16px + var(--sa-b))}.lobby-ver{bottom: calc(4% + var(--sa-b))}.lobby-top{top: calc(16px + var(--sa-t));right: calc(16px + var(--sa-r))}.lobby-board{top: calc(6% + var(--sa-t))}.lobby-btns{bottom: calc(15% + var(--sa-b))}@media (max-width: 700px),(max-height: 500px){body.playing #hud{padding-top: calc(6px + var(--sa-t));padding-left: calc(10px + var(--sa-l));padding-right: calc(10px + var(--sa-r))}.g-top{left: calc(8px + var(--sa-l));right: calc(8px + var(--sa-r))}.g-menu{right: calc(8px + var(--sa-r))}.g-dock{left: calc(8px + var(--sa-l));right: calc(8px + var(--sa-r));bottom: calc(8px + var(--sa-b))}.g-ticker{left: calc(8px + var(--sa-l));bottom: calc(60px + var(--sa-b))}.g-pop{bottom: calc(64px + var(--sa-b))}.g-haggle{bottom: calc(58px + var(--sa-b))}.g-start{bottom: calc(12px + var(--sa-b))}.g-sheet{bottom: calc(6px + var(--sa-b))}.lobby-corner{bottom: calc(12px + var(--sa-b))}.lobby-ver{bottom: calc(62px + var(--sa-b))}}@media (max-width: 700px){.lobby-btns{bottom: calc(13% + var(--sa-b))}}@media (max-height: 500px){.lobby-board{top: calc(2% + var(--sa-t))}.lobby-btns{bottom: calc(22% + var(--sa-b))}}.cloud-code{font: 800 30px/1.2 ui-monospace,Consolas,monospace;letter-spacing: 2px;text-align: center;background: #f5ecd8;border: 2px dashed #6b5440;border-radius: 12px;padding: 12px 8px;margin: 6px 0 10px;color: #3b2a1a;user-select: all;word-break: break-all}.cloud-input{width: 100%;font: 700 24px/1.2 ui-monospace,Consolas,monospace;letter-spacing: 2px;text-align: center;text-transform: uppercase;padding: 10px;border: 2px solid #3b2a1a;border-radius: 10px;margin: 8px 0 4px;background: #fffdf7}.cloud-input:focus{outline: 3px solid #e2a24a}.biz-goods-more{margin-top: 6px}.biz-goods-more summary{cursor: pointer;font-size: 13px;color: #6b5440;font-weight: 600}.loc-strip{display: flex;gap: 4px;margin: 4px 0 8px;flex-wrap: wrap}.loc-day{display: flex;flex-direction: column;align-items: center;min-width: 40px;padding: 3px 4px;border: 1px solid var(--line);border-radius: 8px;font-size: 20px;opacity: .45}.loc-day small{font-size: 10px}.loc-day.got{opacity: 1;background: #fff3d6}.loc-day.now{border-color: var(--accent);box-shadow: 0 0 0 2px rgba(200,80,30,.25)}.journey{border: 1px solid var(--line);border-radius: 12px;padding: 8px 10px;margin-bottom: 10px;background: #fffaf0}.journey h4{margin: 0 0 6px}.journey .quest.now{background: #fff3d6;border-radius: 8px}.journey .quest small{display: block}.journey-line{margin: 4px 0}.album{border: 1px solid var(--line);border-radius: 12px;padding: 8px 10px;margin-bottom: 10px;background: #fffaf0}.album h4{margin: 0 0 6px}.album-grid{display: grid;grid-template-columns: repeat(auto-fill,minmax(96px,1fr));gap: 6px}.album-card{display: flex;flex-direction: column;align-items: center;text-align: center;padding: 6px 4px;border: 1px solid var(--line);border-radius: 10px;background: #fff}.album-card span{font-size: 26px}.album-card small{font-size: 11px;line-height: 1.25}.album-card.unseen{opacity: .45;background: transparent}.gift-pop{position: fixed;left: 50%;top: 50%;transform: translate(-50%,-50%);z-index: 130;width: min(340px,calc(100vw - 32px));background: #fffaf0;color: #3b2a1a;border: 3px solid #d49a1a;border-radius: 16px;padding: 16px 18px;text-align: center;box-shadow: 0 12px 40px rgba(40,25,10,.35);animation: gpIn .25s ease-out;transition: opacity .45s,transform .45s;cursor: pointer}.gift-pop.out{opacity: 0;transform: translate(-50%,-60%)}.gift-pop .gp-ico{font-size: 40px;line-height: 1;margin-bottom: 6px}.gift-pop .gp-who{font-size: 17px}.gift-pop .gp-item{margin-top: 4px;font-size: 15px}.gift-pop .gp-aff{margin: 8px 0 6px;font-size: 22px;font-weight: 800}.gift-pop .gp-line{font-style: italic;color: #6b4a2a}.gift-pop .muted{font-size: 13px;margin-top: 4px}@keyframes gpIn{from{opacity: 0;transform: translate(-50%,-40%) scale(.9)}to{opacity: 1;transform: translate(-50%,-50%) scale(1)}}.chap-art{position: relative;height: 150px;border-radius: 12px;overflow: hidden;margin: -4px 0 10px;border: 2px solid rgba(60,38,20,.25)}.chap-art .chap-num{position: absolute;left: 10px;top: 8px;background: rgba(255,255,255,.8);color: #5a3a1c;font-weight: 800;font-size: 13px;padding: 2px 8px;border-radius: 10px}.chap-art .chap-stall{position: absolute;left: 50%;bottom: 22px;transform: translateX(-60%);font-size: 74px;line-height: 1;filter: drop-shadow(0 4px 4px rgba(0,0,0,.2))}.chap-art .chap-face{position: absolute;right: 18%;bottom: 14px;width: 84px;height: 84px;border-radius: 50%;background: #fff8ec;border: 3px solid #fff;box-shadow: 0 3px 8px rgba(0,0,0,.2)}.chap-art .chap-ground{position: absolute;left: 0;right: 0;bottom: 0;height: 18px;background: rgba(110,80,40,.28)}.chap-title{margin: 4px 0 8px;color: #8a3b12}.chap-story{margin: 6px 0;line-height: 1.5}.chap-goal{margin-top: 10px;padding: 8px 10px;background: #fff3d6;border-radius: 8px}.chap-end{text-align: center}.chap-end-ico{font-size: 56px;line-height: 1.1}.chap-stats{display: grid;grid-template-columns: repeat(auto-fit,minmax(90px,1fr));gap: 8px;margin-top: 10px}.chap-stats div{background: #fff8ec;border: 1px solid #ecd9b4;border-radius: 10px;padding: 8px 4px}.chap-stats b{display: block;font-size: 17px;color: #5a3a1c}.chap-stats small{color: #8a6a4a}.chap-box{border: 2px dashed #e0c48f;border-radius: 12px;padding: 8px 12px;margin-bottom: 10px;background: #fffaf0}.chap-box p{margin: 4px 0}.chap-dots{display: flex;gap: 6px}.chap-dot{width: 24px;height: 24px;border-radius: 50%;display: inline-flex;align-items: center;justify-content: center;font-size: 12px;font-weight: 700;background: #eee3cf;color: #9a8466}.chap-dot.done{background: #8cc47f;color: #fff}.chap-dot.cur{background: #d4741a;color: #fff}.mini-ov{position: fixed;left: 50%;bottom: 86px;transform: translateX(-50%);z-index: 70;width: min(420px,calc(100vw - 24px))}.mini-box{background: #fffaf0;border: 3px solid #b5562b;border-radius: 14px;padding: 10px 12px;box-shadow: 0 10px 30px rgba(40,25,10,.35);color: #3b2a1a}.mini-head{font-size: 15px;margin-bottom: 6px}.mini-time{height: 6px;background: #eadbc0;border-radius: 3px;overflow: hidden;margin-bottom: 8px}.mini-time i{display: block;height: 100%;width: 100%;background: #d4741a}.mini-sum{margin-bottom: 6px}.mini-notes{display: flex;flex-wrap: wrap;gap: 6px;margin-bottom: 8px}.mini-note{flex: 1 0 56px;padding: 8px 4px;border-radius: 8px;border: 2px solid #7aa36a;background: #e8f4dc;font-weight: 800;color: #2f5d24;cursor: pointer}.mini-note:active{transform: scale(.95)}.mini-go{width: 100%;padding: 10px;border: 0;border-radius: 10px;background: #b5562b;color: #fff;font-weight: 800;font-size: 16px;cursor: pointer}.mini-scale{position: relative;height: 34px;margin: 6px 0 10px;border-radius: 8px;background: linear-gradient(90deg,#f6d2c2,#fff3d6 40%,#fff3d6 60%,#f6d2c2);border: 2px solid #c9a774}.mini-zone{position: absolute;left: 43.6%;width: 12.8%;top: 0;bottom: 0;background: rgba(76,160,70,.45);border-left: 2px solid #3f9b3a;border-right: 2px solid #3f9b3a}.mini-needle{position: absolute;top: -4px;bottom: -4px;width: 4px;margin-left: -2px;background: #c62828;border-radius: 2px;left: 50%}.mini-res{font-size: 16px;font-weight: 700;text-align: center;padding: 6px 0}.hui-broken{display: grid;gap: 8px}.hui-broken button{text-align: left;display: flex;flex-direction: column;align-items: flex-start;gap: 2px}.hui-broken button small{font-weight: 400;color: var(--ink2,#6b4a2a)}.g-brief.brief-mini{padding: 0;max-width: none;background: transparent;border: 0;box-shadow: none}.brief-strip{display: flex;align-items: center;gap: 12px;padding: 6px 14px 6px 8px;border-radius: 999px;border: 2px solid var(--ink,#3b2a1a);background: rgba(255,250,240,.96);box-shadow: 0 3px 0 rgba(59,42,26,.35);font: inherit;font-size: 14px;color: inherit;cursor: pointer;white-space: nowrap}.brief-strip .clock{font-size: 18px;padding: 2px 10px}.brief-strip .bs-day{font-weight: 700}.brief-strip .bs-more{color: #8e1f1a;font-weight: 700}.brief-strip:hover{background: #fff}.g-brief{position: relative}.brief-close{position: absolute;top: 6px;right: 6px;width: 28px;height: 28px;border-radius: 50%;border: 1.5px solid var(--line,#e2d2ae);background: #fffaf0;cursor: pointer;font-size: 14px;line-height: 1;padding: 0}.auto-mini{display: inline-flex;align-items: center;gap: 4px;margin-left: 6px;padding: 1px 8px;border-radius: 999px;background: rgba(255,255,255,.16);cursor: pointer;white-space: nowrap}.auto-mini input{margin: 0}@media (max-width: 900px){.brief-strip{gap: 8px;font-size: 12px;padding: 4px 10px 4px 6px}.brief-strip .clock{font-size: 15px;padding: 1px 8px}.brief-strip .bs-wx{display: none}}:root{--accent-d: #7e3518;--edge: 2.5px solid var(--ink);--drop: 0 6px 0 rgba(59,42,26,.55),0 16px 34px rgba(40,25,10,.25)}.sheet,.g-sheet,.notice-sheet,.pause-card{border: var(--edge) !important;border-radius: 16px !important;box-shadow: var(--drop) !important}.g-panel:not(.brief-mini){border: 2px solid var(--ink);box-shadow: 0 4px 0 rgba(59,42,26,.4),0 10px 24px rgba(40,25,10,.18)}.sheet-head,.g-sheet header{border-bottom: 2px dashed var(--line);font-weight: 800}.sheet-head h2,.g-sheet header b,.notice-sheet h3{font-family: 'Arial Rounded MT Bold','Segoe UI Black','Segoe UI',sans-serif;font-weight: 900;letter-spacing: .01em;color: #6a2c12}button.primary{border-radius: 999px;border: 2px solid var(--accent-d);box-shadow: 0 4px 0 var(--accent-d);font-weight: 800;transition: transform .1s,box-shadow .1s}button.primary:hover:not(:disabled){border-color: var(--accent-d);transform: translateY(-1px);box-shadow: 0 5px 0 var(--accent-d)}button.primary:active:not(:disabled){transform: translateY(3px);box-shadow: 0 1px 0 var(--accent-d)}.start-btn{border-width: 3px !important;box-shadow: 0 6px 0 var(--accent-d),0 12px 24px rgba(40,25,10,.3) !important}.sheet button:not(.link):not(.primary):not(.active),.g-sheet button:not(.link):not(.primary):not(.active),.notice-sheet button:not(.link):not(.primary){border: 1.5px solid #8a7358;box-shadow: 0 2px 0 rgba(59,42,26,.35)}.sheet button.active,.g-sheet button.active{box-shadow: 0 2px 0 var(--accent-d);border-color: var(--accent-d)}@media (prefers-reduced-motion: reduce){button.primary{transition: none}}.ic{width: 1.3em;height: 1.3em;display: inline-block;vertical-align: -.3em;flex: none}.mm-grp .mi .ic,#mmenu .mi .ic{width: 22px;height: 22px;vertical-align: middle}#hud .title .ic{width: 28px;height: 28px}@media (max-width: 900px){#mmenu .mi .ic{width: 26px;height: 26px}}#hud>span .ic [stroke="#3b2a1a"],#hud>span.title .ic [stroke="#3b2a1a"]{stroke: #fff3d6}#hud>span .ic [fill="#3b2a1a"]{fill: #fff3d6}@media (max-height: 500px) and (min-width: 701px) and (max-width: 1100px){table.buy-tbl tbody{display: grid;grid-template-columns: 1fr 1fr;gap: 8px}table.buy-tbl tr{margin-bottom: 0}}@media (max-width: 700px),(max-height: 500px) and (max-width: 1100px){table.buy-tbl tr{border: 1.5px solid #8a7358;box-shadow: 0 2px 0 rgba(59,42,26,.25)}}@media (max-height: 500px){.g-sheet .supplier-note{display: none}.g-sheet .sheet-body>.row,.g-sheet .tabs{flex-wrap: nowrap;overflow-x: auto;scrollbar-width: none;gap: 6px}.g-sheet .sheet-body>.row::-webkit-scrollbar,.g-sheet .tabs::-webkit-scrollbar{display: none}.g-sheet .sheet-body>.row>*,.g-sheet .tabs>*{flex: none;white-space: nowrap}.g-sheet .sheet-body>.row button.small,.g-sheet .tabs button.small,.g-sheet .sheet-body>.row .toggle{font-size: 12.5px;padding: 2px 8px}.g-sheet header{font-size: 15px;padding-bottom: 4px;margin-bottom: 4px}}@media (max-height: 500px) and (max-width: 1100px){table.buy-tbl tr{grid-template-columns: repeat(6,minmax(0,1fr));gap: 2px 6px;padding: 5px 8px;margin-bottom: 6px}table.buy-tbl .c-name{font-size: 14px}table.buy-tbl .c-sm{grid-column: span 1}table.buy-tbl td[data-l]::before{font-size: 10.5px}table.buy-tbl .qty button.small{min-width: 30px;min-height: 28px;font-size: 15px;padding: 0 4px}table.buy-tbl .qty span{min-width: 24px}.buy-foot{padding: 4px 10px;gap: 4px 10px}.buy-foot button.primary{padding: 6px 14px;font-size: 15px}}@media (max-height: 500px) and (max-width: 1100px){table.buy-tbl .c-name{order: 0}table.buy-tbl .c-sm{order: 1}table.buy-tbl .c-buy{order: 2}table.buy-tbl .c-mu{order: 3;grid-column: span 2}table.buy-tbl .c-pr{order: 4;grid-column: span 2}table.buy-tbl .c-keep{order: 5;grid-column: span 4}table.buy-tbl .qty{flex-wrap: nowrap}}.g-menu .ms{display: none}@media (max-width: 700px),(max-height: 500px),(pointer: coarse){body.playing #hud{padding-top: calc(4px + var(--sa-t));padding-bottom: 4px}#hud button{position: relative;min-height: 36px;min-width: 44px;padding: 2px 10px}#hud button::after{content: '';position: absolute;inset: -4px -3px}#hud [data-act=lobby]{margin-left: 10px}.overlay button.small,.g-sheet button.small,.tabs button{min-height: 40px}label.toggle,.auto-mini{min-height: 40px;padding-top: 0;padding-bottom: 0}input[type=checkbox]{width: 20px;height: 20px}.g-ctrl button{min-height: 40px;min-width: 40px}.g-dock button{min-height: 44px}.lobby-corner button{min-height: 44px;padding: 6px 14px}}@media (max-width: 700px),(max-height: 500px){.g-menu{padding: 5px}.mm-grp{grid-template-columns: repeat(3,52px);gap: 4px}.g-menu button{width: 52px;height: 50px;flex-direction: column;gap: 1px}.g-menu button .ms{display: block;max-width: 50px;font-size: 10.5px;font-weight: 600;line-height: 1.15;white-space: nowrap;overflow: hidden;text-overflow: ellipsis}.g-menu button.active .ms{color: #fff}#mmenu .mi .ic{width: 24px;height: 24px}.g-menu .mm-more{width: 100%;height: 40px;flex-direction: row;gap: 6px}.g-menu .mm-more .ms{font-size: 12.5px;max-width: none}.g-menu button .badge{top: -2px;right: -2px;font-size: 10.5px;padding: 0 5px}.start-sub>span{white-space: nowrap}.g-sheet .sheet-body>.row button.small,.g-sheet .tabs button.small,.g-sheet .sheet-body>.row .toggle{min-height: 38px}}@media (max-width: 700px) and (orientation: portrait){.g-menu{top: auto;bottom: calc(150px + var(--sa-b));left: calc(8px + var(--sa-l));right: calc(8px + var(--sa-r));flex-direction: row;flex-wrap: wrap;justify-content: center;gap: 4px;max-height: none}.g-menu .mm-grp{display: contents}.g-menu .mm-grp.mm-fold{display: none}.g-menu .mm-more{width: 52px;height: 50px;flex-direction: column;gap: 1px;border-top: 0;margin: 0;padding: 0}.g-menu .mm-more .ms{font-size: 10.5px}.g-brief{max-width: none}}@media (max-width: 700px) and (orientation: portrait){body.lobby::after{content: '📱 Xoay ngang máy để chơi rộng hơn';position: fixed;left: 50%;bottom: calc(76px + var(--sa-b));transform: translateX(-50%);z-index: 6;white-space: nowrap;padding: 6px 14px;border-radius: 999px;background: rgba(59,42,26,.82);color: #fff3d6;font-size: 13px;font-weight: 600;pointer-events: none}}@media (max-width: 700px),(max-height: 500px),(pointer: coarse){.g-ctrl button.small,.g-panel.g-ctrl button{min-height: 40px;min-width: 40px}.brief-strip{min-height: 40px}.overlay .sheet-head button.small,.g-sheet header button.small{min-height: 40px}table.buy-tbl input[type=checkbox]{width: 24px;height: 24px}}@media (max-width: 700px),(max-height: 500px){.g-menu .mm-more{margin-top: 6px}}@media (max-height: 500px) and (max-width: 1100px){table.buy-tbl .qty button.small{min-width: 36px;min-height: 36px}}@media (max-width: 700px),(max-height: 500px),(pointer: coarse){.g-brief .brief-strip{min-height: 40px}.sheet-head>button,.g-sheet header>button{min-height: 40px}.g-sheet .sheet-body>.row{margin-bottom: 6px}}@media (max-width: 700px) and (orientation: portrait){.brief-strip .bs-day{display: none}#hud .title{display: none}body.playing #hud{gap: 6px}#hud button{padding: 2px 6px}body.lobby::after{top: 46%;bottom: auto}}.lb small>span{white-space: nowrap;font-size: inherit;text-shadow: none;line-height: inherit}.khoe-sheet{max-width: 920px}.khoe-body{display: grid;grid-template-columns: minmax(0,340px) 1fr;gap: 18px;align-items: start;padding: 14px 16px 16px}.khoe-img{width: 100%;height: auto;border: 2.5px solid var(--ink,#3b2a1a);border-radius: 6px;box-shadow: 0 4px 0 rgba(59,42,26,.3);background: #fff}.khoe-side{text-align: left}.khoe-side p{margin: 0 0 12px}.khoe-btns{display: flex;flex-wrap: wrap;gap: 8px;margin-bottom: 10px}.khoe-btns button{min-height: 44px}.khoe-txt{width: 100%;box-sizing: border-box;font: inherit;font-size: 16px;padding: 8px 10px;border: 1.5px solid #cdb894;border-radius: 8px;background: #fffaf0;resize: none}.invite-note{margin: 0 0 10px;padding: 8px 12px;border: 2px dashed #c8322a;border-radius: 10px;background: #fff3e6}@media (max-width: 700px),(max-height: 500px){.khoe-body{grid-template-columns: minmax(0,200px) 1fr;gap: 12px;padding: 10px}}@media (max-width: 480px){.khoe-body{grid-template-columns: 1fr}.khoe-img{max-width: 240px;margin: 0 auto;display: block}}.diff-list{display: grid;grid-template-columns: repeat(3,minmax(0,1fr));gap: 6px;margin-bottom: 8px}.diff{display: flex;flex-direction: column;align-items: flex-start;gap: 2px;text-align: left;padding: 7px 9px;font-size: 13px;line-height: 1.3;min-height: 44px}.diff span{font-size: 12px}.diff.active{outline: 3px solid #3f7a2c;background: #eef6e6;color: #2a1d14}.diff.active b,.diff.active span{color: #2a1d14}.diff:disabled{opacity: .45}@media (max-width: 560px){.diff-list{grid-template-columns: 1fr}}.farm-grid{display: grid;grid-template-columns: repeat(auto-fill,minmax(280px,1fr));gap: 10px;margin: 8px 0 12px}.farm-card{background: #fffaf0;border: 2px solid var(--ink,#3b2a1a);border-radius: 12px;padding: 10px 12px;box-shadow: 0 3px 0 rgba(59,42,26,.25);text-align: left}.farm-card.empty{background: #f6efe0;border-style: dashed}.farm-top{display: flex;gap: 10px;align-items: flex-start}.farm-top small{display: block;margin-top: 2px}.farm-ic{font-size: 30px;line-height: 1}.farm-steps{display: flex;gap: 4px;margin: 8px 0 4px}.farm-steps span{flex: 1;text-align: center;font-size: 11px;font-weight: 700;padding: 2px 0;border-radius: 6px;background: #eadfc8;color: #8a7458}.farm-steps span.on{background: #7cc06b;color: #1f3d12}.farm-steps span.cur{outline: 2px solid #3f7a2c}.farm-info{font-size: 13px;margin: 6px 0}.farm-next{border-top: 1.5px dashed #d8c39c;margin-top: 8px;padding-top: 8px}.farm-next small{display: block}.farm-req{list-style: none;padding: 0;margin: 6px 0 8px;font-size: 13px}.farm-req li{color: #9a5a3a}.farm-req li.good{color: #2f7d32}.farm-next button{min-height: 40px}@media (max-width: 560px){.farm-grid{grid-template-columns: 1fr}}.fscene{position: fixed;inset: 0;z-index: 30;background: #a6c96e;overflow: hidden}.fscene[hidden]{display: none}.fs-cv{position: absolute;inset: 0;width: 100%;height: 100%;display: block;touch-action: none;cursor: grab}.fs-cv.drag{cursor: grabbing}.fs-top{position: absolute;top: 0;left: 0;right: 0;z-index: 2;display: flex;align-items: center;gap: 8px;color: #fff3d6;background: rgba(60,38,20,.88);padding: calc(6px + var(--sa-t)) calc(12px + var(--sa-r)) 6px calc(12px + var(--sa-l))}.fs-title{font-size: 17px;white-space: nowrap}.fs-chips{display: flex;gap: 6px;overflow-x: auto;flex: 1;min-width: 0;scrollbar-width: none;padding: 2px}.fs-chips::-webkit-scrollbar{display: none}.fs-chip{position: relative;display: flex;align-items: center;gap: 5px;min-height: 40px;padding: 4px 10px;white-space: nowrap;flex: none;background: #f3dfae;color: var(--ink,#3b2a1a);border: 2px solid var(--ink,#3b2a1a);border-radius: 10px;font-weight: 600}.fs-chip small{font-weight: 400;color: #6b4a2a}.fs-chip.on{background: #ffd65a;box-shadow: 0 0 0 2px #fff3d6}.fs-chip .fs-ci{font-size: 18px}.fs-up{position: absolute;top: -6px;right: -6px;width: 18px;height: 18px;border-radius: 50%;background: #3f9b3a;color: #fff;font-style: normal;font-size: 12px;line-height: 18px;text-align: center}.fs-money{white-space: nowrap;font-weight: 700;color: #ffd98a}.fs-top button.small{min-height: 40px;white-space: nowrap}.fs-hint{position: absolute;left: 50%;bottom: calc(16px + var(--sa-b));transform: translateX(-50%);z-index: 2;margin: 0;pointer-events: none;background: rgba(59,42,26,.82);color: #fff3d6;padding: 8px 14px;border-radius: 20px;font-size: 14px;white-space: nowrap;transition: opacity .4s}.fs-hint.gone{opacity: 0}.fs-panel{position: absolute;z-index: 3;top: calc(64px + var(--sa-t));right: calc(12px + var(--sa-r));max-height: calc(100% - 76px - var(--sa-t) - var(--sa-b));width: min(380px,calc(100vw - 24px));overflow: hidden;display: flex;flex-direction: column;padding: 0;animation: slide .18s ease-out}.fs-panel[hidden]{display: none}.fs-panel .fs-x{position: absolute;top: 8px;right: 8px;z-index: 1;min-width: 40px;min-height: 40px}.fs-card{overflow-y: auto;padding: 10px 12px}.fs-card .farm-card{border: 0;box-shadow: none;padding: 0;background: transparent;padding-right: 44px}.fs-card .farm-next{padding-right: 0}.fs-extra{border-top: 1px dashed var(--line,#d8c8a8);margin-top: 10px;padding-top: 8px}.fs-extra p{margin: 0 0 6px}.fs-extra button{min-height: 40px}@media (max-width: 760px),(max-height: 460px){.fs-title,.fs-money,.fs-chip .fs-cn{display: none}.fs-chip{padding: 4px 8px}}@media (max-width: 700px) and (orientation: portrait){.fs-panel{top: auto;bottom: calc(8px + var(--sa-b));left: calc(8px + var(--sa-l));right: calc(8px + var(--sa-r));width: auto;max-height: 58vh}}@media (max-height: 460px){.fs-panel{top: calc(56px + var(--sa-t));width: min(320px,46vw);max-height: calc(100% - 64px - var(--sa-t) - var(--sa-b))}.fs-hint{font-size: 12px;padding: 6px 12px}}.fs-top button.fs-demo.on{background: #ffd65a;border-color: #3b2a1a}.lb.week{background: #b8741a;min-width: min(360px,100%);padding: 10px 22px 10px;box-shadow: 0 6px 0 #3b2a1a}.lb.week>span{font-size: clamp(20px,2.6vw,30px)}.lb.week small{font-size: 13px}.bep-grid{display: grid;grid-template-columns: repeat(auto-fill,minmax(280px,1fr));gap: 10px;margin: 8px 0 12px}.bep-card{background: #fffaf0;border: 2px solid var(--ink,#3b2a1a);border-radius: 12px;padding: 10px 12px;box-shadow: 0 3px 0 rgba(59,42,26,.25);text-align: left}.bep-card.want{border-color: #c62828;box-shadow: 0 3px 0 rgba(198,40,40,.35)}.bep-top{display: flex;gap: 8px;align-items: flex-start}.bep-top small{display: block}.bep-ic{font-size: 30px;line-height: 1}.bep-in{font-size: 13px;margin: 6px 0 4px;color: #6b4a2a}.bep-in .good{color: #2f7d32}.bep-out{font-size: 13px;margin: 0 0 8px}.bep-card button{min-height: 40px}.bep-why{display: block;margin-top: 4px}.bep-orders{margin: 4px 0 10px;padding-left: 18px;font-size: 14px}.bep-orders li{margin: 3px 0}.bep-game .boot-card{text-align: center}.bep-cv{width: 320px;max-width: 100%;background: #f6ecd2;border: 2px solid #3b2a1a;border-radius: 10px;touch-action: manipulation}.bep-score{font-weight: 700;margin: 6px 0}.bep-game .boot-main{min-height: 52px;min-width: 140px;font-size: 18px}@media (max-width: 560px){.bep-grid{grid-template-columns: 1fr}}.do-bar{position: fixed;left: 50%;bottom: calc(14px + env(safe-area-inset-bottom,0px));transform: translateX(-50%);z-index: 150;width: min(560px,calc(100vw - 24px));background: #fffaf0;color: #3b2a1a;border: 2px solid #3b2a1a;border-radius: 14px;box-shadow: 0 6px 0 rgba(59,42,26,.35);padding: 12px 14px;font-size: 14px;line-height: 1.45}.do-bar p{margin: 0 0 10px}.do-bar a{color: #8a3a1a}.do-btns{display: flex;gap: 8px;justify-content: flex-end;flex-wrap: wrap}.do-btns button{min-height: 40px;padding: 6px 16px;border-radius: 10px;border: 2px solid #3b2a1a;background: #fff;color: #3b2a1a;font: inherit;font-weight: 700;cursor: pointer}.do-btns .do-yes{background: #3f7a2c;color: #fff}body:not(.lobby) .do-bar.in-game{display: none}