/* Explicit surface/text pairs avoid light text inherited by white cards. */
.quest-page{color:#412d20}.quest-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 14px}.quest-header h2{margin:0;font-size:24px}.quest-header p{margin:5px 0 0;color:#725943;font-size:12px;line-height:1.5}.quest-header>b{font-size:26px;white-space:nowrap;color:#674621}.quest-header small{font-size:12px}.quest-list{display:grid;gap:10px}.quest-card{border:1px solid #d8bea0;background:#fffaf1;border-radius:16px;padding:13px;box-shadow:0 3px 10px #5c38130a}.quest-main{display:flex;gap:12px;align-items:center}.quest-picture{position:relative;width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;background:#f2e5d0;border-radius:13px;overflow:hidden;font-size:27px;color:#846031}.quest-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:5px;background:#f2e5d0;box-sizing:border-box}.quest-content{flex:1;min-width:0}.quest-title{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}.quest-title h3{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere}.quest-status{flex-shrink:0;background:#ead9bb;border-radius:7px;padding:4px 7px;font-size:12px;font-weight:800;color:#63441f}.quest-instruction{font-size:13px;line-height:1.5;margin:4px 0;color:#503822;overflow-wrap:anywhere}.quest-cycle{font-size:11px;color:#795e47}.quest-footer{display:flex;align-items:center;gap:12px;border-top:1px solid #e8d8c1;margin-top:10px;padding-top:9px}.quest-reward{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.5}.quest-reward small{font-size:10px;color:#806244}.quest-reward strong{font-size:13px;color:#855117;overflow-wrap:anywhere}.quest-progress{width:26%;height:7px;background:#e8dcca;overflow:hidden;border-radius:9px;flex-shrink:0}.quest-progress i{display:block;height:100%;background:#bf8438;border-radius:9px}.quest-card.is-complete{background:#f4f9ef;border-color:#bfd2ac}.quest-card.is-complete .quest-status{background:#d9ebcc;color:#365d29}.quest-card.is-complete .quest-progress i{background:#729b53}.quest-footer button{min-height:42px;padding:8px 12px;white-space:nowrap;font-size:13px}.quest-checks{display:flex;flex-wrap:wrap;gap:5px 12px;list-style:none;padding:0;margin:9px 0 0;font-size:12px;line-height:1.5}.quest-checks .met{color:#386b2b}.quest-checks .unmet{color:#815331}.quest-feedback{margin:0 0 10px;padding:9px 12px;background:#eee2cf;border-radius:9px;font-size:12px}.quest-feedback summary{cursor:pointer}.quest-feedback p{margin:7px 0 0}.quest-empty{padding:24px 12px;text-align:center;background:#fffaf1;border-radius:14px}.task-sort-row{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}.task-sort-row>.task-editor{flex:1;min-width:0;margin:0}.task-sort-controls{display:grid;grid-template-columns:repeat(2,minmax(44px,1fr));gap:5px;padding-top:6px}.task-sort-controls button{min-height:38px;padding:6px 9px;font-size:12px}.task-sort-controls button:disabled{opacity:.35}.task-sort-row .task-editor-summary{gap:10px}.task-sort-row .task-editor-summary small{overflow-wrap:anywhere}@media(max-width:480px){.quest-title{flex-wrap:wrap;gap:4px}.quest-picture{width:54px;height:54px;flex-basis:54px}.quest-title h3{font-size:16px}.quest-card{padding:11px}.task-sort-row{display:block}.task-sort-controls{display:flex;justify-content:flex-end;padding:5px 0}.task-sort-controls button{min-width:48px}.task-sort-row .task-editor-summary>span:last-child{max-width:42%}}
@media(max-width:430px){.slot-redesign .slot-display .slot-grid9{height:195px}.slot-redesign .slot-cabinet .slot-machine-title{padding:2px 0 9px;font-size:19px}.slot-redesign .slot-cabinet .slot-status b{font-size:20px}.slot-redesign .slot-cabinet .slot-line-label{margin:6px 0;font-size:11px}}
.slot-redesign>header{color:#654024!important;margin:4px 0 12px!important}.slot-redesign>header h1{font-size:22px!important;margin:4px 0!important}.slot-redesign>header small{display:none}.slot-redesign>header p{color:#795330!important;margin:6px 0!important;font-size:13px}.slot-redesign .slot-machine-title{padding-bottom:10px}.slot-redesign .slot-status{padding:7px 0!important}
.slot-sound-settings{border:1px solid #bd9b68;border-radius:12px;margin:12px 0;padding:10px;color:#80532c}.slot-sound-settings summary{cursor:pointer;font-weight:800;font-size:13px}.slot-sound-settings .poker-sound-panel{margin:10px 0 0}.task-presets{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.task-presets button{font-size:12px}.field textarea{width:100%;box-sizing:border-box;font:inherit;font-size:14px;border:1px solid #d4c3aa;border-radius:10px;padding:10px;margin-top:5px;resize:vertical}
.poker-game-active .poker-history{padding:14px;border:1px solid #ffffff26;border-radius:18px;background:#1b1718;color:#fff3dd}
.poker-game-active .poker-history .muted,.poker-game-active .poker-empty-history{color:#dbc7ad}
.poker-game-active .poker-history-row{background:#33282a;border-color:#705649;color:#fff3dd;line-height:1.6}
.poker-game-active .poker-history-row span:last-child{color:#ffda8b}
.poker-history-row span{overflow-wrap:anywhere}
.task-checks{list-style:none;padding:0;display:grid;gap:7px;font-size:13px}.task-checks .met{color:#266c45}.task-checks .unmet{color:#78532d}.task-eligibility-editor{padding:14px;border:1px solid #ded0bb;background:#f7f0e4;border-radius:14px;margin:12px 0}.task-eligibility-editor h4{margin:0 0 6px}.task .muted{color:#756651}.task .task-head{align-items:flex-start;gap:12px}.task .task-head>div{min-width:0;overflow-wrap:anywhere}.comment-feedback{line-height:1.6}
.shrimp-danmaku{container-type:inline-size}
.shrimp-danmaku span{max-width:none;white-space:nowrap;font-size:13px;animation:shrimpReadable var(--travel,24000ms) linear var(--age,0ms) both}
@keyframes shrimpReadable{from{transform:translateX(0)}to{transform:translateX(calc(-100cqw - 100%))}}
.shrimp-chat-speed{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#fff2d9;margin:15px 0 8px}.shrimp-chat-speed label{display:flex;align-items:center;gap:8px}.shrimp-chat-speed select{width:auto}.shrimp-chat-speed small{color:#d5e9e6}
.hotpot-guide{background:#fff4df;color:#4a2d1b;border:1px solid #dfb76f;border-radius:20px;padding:16px;margin:12px 0}.hotpot-guide h1{font-size:24px;margin:0 0 12px}.hotpot-guide ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;gap:5px}.hotpot-guide li{font-size:12px;text-align:center;color:#78634d;display:grid;gap:6px;justify-items:center}.hotpot-guide li b{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e6d2b2}.hotpot-guide li.current{color:#85420f;font-weight:900}.hotpot-guide li.current b{background:#a85720;color:white}.hotpot-guide p{font-size:14px;line-height:1.65;margin:12px 0 0}
/* The original illustration already contains the pot. Map food to that soup,
   preserving the same background crop at every width. */
.hotpot-game-active .hotpot-stage-v3{aspect-ratio:1.1;background-size:180% auto;background-position:center top;border:2px solid #92502b;border-radius:22px}
.hotpot-game-active .hotpot-pot-v3{inset:0;height:auto;filter:none}
.hotpot-game-active .hotpot-broth-surface{inset:27% 19% 41%;background:none;box-shadow:none;clip-path:ellipse(49% 48% at 50% 50%)}
.hotpot-game-active .hotpot-pot-rim-v3,.hotpot-game-active .hotpot-flame,.hotpot-game-active .hotpot-steam{display:none}
.hotpot-food-v3{width:23%;min-width:28px;max-width:92px}.hotpot-game-active .hotpot-dashboard{margin:8px 0}.hotpot-game-active .hotpot-meter{padding:9px}.hotpot-game-active .hotpot-meter b{font-size:22px}.hotpot-game-active .hotpot-chef{display:none}
.hotpot-cook-list{background:#fff6e4;color:#442a1a;padding:14px;border:1px solid #d2ae78;border-radius:16px;margin:12px 0}.hotpot-cook-list h3{font-size:16px;margin:0 0 8px}.hotpot-cook-list h3 small{font-size:12px;color:#276141}.hotpot-cook-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:5px 9px;padding:8px 0;border-top:1px solid #e5d8c1}.hotpot-cook-row img{width:36px;height:36px;object-fit:contain;grid-row:span 2}.hotpot-cook-row span{font-size:12px}.hotpot-cook-row meter{width:100%;height:10px;grid-column:2/-1}.hotpot-cook-row[data-stage=good]{color:#176240}.hotpot-cook-row[data-stage=overcooked],.hotpot-cook-row[data-stage=ruined]{color:#9c3326}.hotpot-pantry{padding:13px;border:1px solid #bd945e;border-radius:16px;background:#fff6e6;color:#482c19;margin:14px 0}.hotpot-pantry summary{cursor:pointer;font-weight:800}.hotpot-pantry .muted{color:#796348}.hotpot-controls-v3{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.hotpot-accounting,.hotpot-accounting span{color:#49301d}.hotpot-accounting{font-size:12px}
.slot-redesign{max-width:620px;margin:auto}.slot-redesign>header{text-align:center;color:#ffe8ac;margin:14px 0}.slot-redesign>header h1{font-size:28px;margin:8px 0}.slot-redesign>header small{letter-spacing:3px;color:#dbb58a}.slot-redesign>header p{color:#f2d1a4}.slot-redesign .slot-stage{background:none;padding:0;min-height:0;box-shadow:none;border:0}.slot-redesign .slot-cabinet{width:100%;box-sizing:border-box;padding:18px;border:3px solid #cb984c;border-radius:32px;background:linear-gradient(135deg,#633527,#271c25 55%,#442127);box-shadow:inset 0 0 0 5px #291617,0 18px 35px #0005;min-height:0;animation:none!important}.slot-machine-title{text-align:center;color:#ffe5aa;font-size:clamp(18px,4vw,26px);letter-spacing:2px;font-weight:900;padding:4px 0 16px;text-shadow:0 2px #744b21}.slot-redesign .slot-display{position:relative;inset:auto;padding:9px;background:#1d141a;border:2px solid #c3914a;border-radius:18px;min-height:0;aspect-ratio:auto}.slot-redesign .slot-grid9{height:300px;gap:6px;width:100%;margin:0}.slot-redesign .slot-reel-window{border-radius:8px;background:#f8e7c6}.slot-redesign .slot-reel-strip .slot-cell{background:linear-gradient(#e6cbaa,#fff4dc 40%,#f5dfbd);border-color:#bc965c}.slot-redesign .slot-payline{border:3px solid #f7bd50;border-radius:7px;background:#ffd34d0c;box-shadow:0 0 10px #ffcf5155}.slot-line-label{font-size:12px;text-align:center;color:#f6ce81;margin:9px 0}.slot-redesign .slot-marquee{position:static;transform:none;background:#18131b;border:1px solid #895940;border-radius:12px;color:#ffe2a8;font-size:17px;padding:14px 7px;text-align:center;min-height:24px}.slot-redesign .slot-marquee.win{background:#453814;color:#fff2a6}.slot-redesign .slot-status{position:static;color:#ead6b9;font-size:14px;text-align:center;padding:11px 0}.slot-redesign .slot-status b{font-size:24px;color:#ffe0a0}.slot-redesign .slot-controls{position:static;display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0;padding:0;transform:none}.slot-redesign .slot-controls button{min-height:58px;font-size:15px}.slot-redesign .slot-spin-main{background:linear-gradient(#e8bc64,#ad7333);color:#2e1b14;text-shadow:none}.slot-auto-limit{display:flex;align-items:center;gap:9px;margin:14px 0;color:#e9d3b7;font-size:13px}.slot-auto-limit select{min-width:0;flex:1;color:#513923;background:#fff2d8}.slot-redesign .slot-cabinet>.ghost{color:#ffe0aa;width:100%;border-color:#916c44}.slot-redesign .slot-paytable{margin-top:18px;color:#482e1d}.slot-redesign .slot-paytable summary{cursor:pointer;font-weight:800}.slot-redesign .slot-payrow{grid-template-columns:36px minmax(0,1fr) auto}.slot-redesign .slot-payrow img{width:32px;height:32px}
@media(max-width:430px){.slot-redesign .slot-cabinet{padding:12px;border-radius:24px}.slot-redesign .slot-grid9{height:228px}.slot-redesign .slot-controls{grid-template-columns:1fr 1fr}.slot-redesign .slot-controls button{font-size:13px}.hotpot-controls-v3{grid-template-columns:1fr 1fr}.hotpot-controls-v3 .serve{grid-column:1/-1}.hotpot-guide{padding:12px}.hotpot-guide h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){.shrimp-danmaku span{animation:none;left:0;max-width:100%;white-space:normal;line-height:1.3}.hotpot-steam,.hotpot-flame,.hotpot-broth-surface:after{animation:none}}

/* Keep reel animation on the compositor. Animated filters and image shadows
   caused repeated mobile repaints while all three columns were moving. */
.slot-redesign .slot-reel-column{will-change:transform;contain:paint}
.slot-redesign .slot-reel-column.rolling{filter:none;animation-name:slotWhirlComposited;animation-duration:.2s}
.slot-redesign .slot-reel-column.rolling .slot-cell img{filter:none}
@keyframes slotWhirlComposited{0%{transform:translate3d(0,-24px,0)}50%{transform:translate3d(0,22px,0)}100%{transform:translate3d(0,-24px,0)}}
@media(prefers-reduced-motion:reduce){.slot-redesign .slot-reel-column.rolling{animation-duration:.45s}}
/* Clip at the stationary reel window; the moving strip must show offscreen cells. */
.slot-redesign .slot-reel-strip{backface-visibility:hidden;contain:layout style}
.slot-redesign .slot-reel-window.stopping{filter:none}
.slot-redesign .slot-stage.spinning .slot-cabinet{animation:none!important}
