@charset "UTF-8";:root{color-scheme:dark;--ink: #0b0d0c;--panel: #111512;--panel-raised: #181d19;--iron: #252c26;--line: #323a32;--text: #e9e7df;--muted: #8e978e;--gold: #e8b85d;--gold-pale: #f5d99d;--green: #7fa38b;--red: #c55b4e;--font-body: "Microsoft YaHei", "PingFang SC", sans-serif;--font-display: "Noto Serif SC", "STSong", "SimSun", serif;--font-mono: "Consolas", "Courier New", monospace}*{box-sizing:border-box}html{min-width:320px;background:var(--ink)}body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(circle at 52% 28%,#1b211b 0,#0d100e 42%,#090b0a);font-family:var(--font-body);font-size:14px}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}svg{display:block}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.grain{position:fixed;inset:0;pointer-events:none;z-index:20;opacity:.045;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20180%20180'%3e%3cg%20fill='%23fff'%20opacity='.8'%3e%3cpath%20d='M7%209h1v1H7zM29%2017h1v1h-1zM52%206h1v1h-1zM77%2028h1v1h-1zM101%2011h1v1h-1zM126%2022h1v1h-1zM151%208h1v1h-1zM171%2031h1v1h-1zM15%2048h1v1h-1zM39%2063h1v1h-1zM65%2045h1v1h-1zM91%2058h1v1h-1zM114%2042h1v1h-1zM143%2067h1v1h-1zM166%2053h1v1h-1zM4%2087h1v1H4zM27%2076h1v1h-1zM55%2094h1v1h-1zM81%2079h1v1h-1zM106%2099h1v1h-1zM133%2084h1v1h-1zM158%2096h1v1h-1zM176%2075h1v1h-1zM13%20123h1v1h-1zM36%20107h1v1h-1zM62%20132h1v1h-1zM88%20114h1v1h-1zM117%20127h1v1h-1zM147%20109h1v1h-1zM169%20137h1v1h-1zM6%20158h1v1H6zM31%20146h1v1h-1zM57%20169h1v1h-1zM84%20151h1v1h-1zM110%20173h1v1h-1zM138%20154h1v1h-1zM161%20166h1v1h-1z'/%3e%3c/g%3e%3c/svg%3e")}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:14px clamp(20px,3vw,52px);border-bottom:1px solid var(--line);background:#0b0e0ce8;position:relative;z-index:5}.topbar:after{content:"";position:absolute;bottom:-1px;left:clamp(20px,3vw,52px);width:170px;height:1px;background:var(--gold)}.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.brand-mark{width:46px;height:50px;display:grid;place-items:center;border-right:1px solid var(--line);padding-right:12px}.brand-mark svg{width:42px;fill:var(--gold)}.brand-mark circle{fill:var(--ink)}.brand strong{display:block;margin-top:3px;font-family:var(--font-display);font-size:23px;letter-spacing:.18em;line-height:1}.eyebrow{display:block;color:var(--gold);font-family:var(--font-mono);font-size:9px;letter-spacing:.2em}.header-center{display:flex;align-items:center;gap:9px;color:#c5cbc3;font-size:12px;letter-spacing:.08em}.live-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px #7fa38b80}.version{margin-left:10px;padding-left:18px;border-left:1px solid var(--line);color:#687169;font-family:var(--font-mono);font-size:10px}.header-actions{display:flex;align-items:center;gap:8px}.icon-button,.text-button{height:38px;border:1px solid var(--line);background:#141815;transition:border-color .18s,background .18s,color .18s}.icon-button:hover,.text-button:hover{border-color:#6e674e;background:#20241d;color:var(--gold-pale)}.icon-button{width:38px;display:grid;place-items:center}.icon-button svg,.text-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.text-button{display:flex;align-items:center;gap:8px;padding:0 14px;color:#b5bcb4;font-size:12px}.game-shell{width:min(1760px,100%);margin:0 auto;padding:clamp(18px,2.3vw,36px) clamp(16px,2.5vw,42px) 24px;display:grid;grid-template-columns:minmax(270px,320px) minmax(470px,1fr) minmax(260px,300px);gap:clamp(16px,1.6vw,26px);align-items:start}.panel{min-width:0;background:linear-gradient(145deg,#151a16f2,#0e120ff2);border:1px solid var(--line);position:relative}.panel:before,.panel:after{content:"";position:absolute;width:12px;height:12px;pointer-events:none}.panel:before{left:-1px;top:-1px;border-left:2px solid #777259;border-top:2px solid #777259}.panel:after{right:-1px;bottom:-1px;border-right:2px solid #777259;border-bottom:2px solid #777259}.panel-heading{min-height:78px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 18px 14px;border-bottom:1px solid var(--line)}.section-index{display:block;color:#747e73;font-family:var(--font-mono);font-size:9px;letter-spacing:.18em;margin-bottom:7px}.panel-heading h2{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--font-display);font-size:17px;font-weight:600;letter-spacing:.08em}.panel-heading h2 svg{width:17px;height:17px;fill:none;stroke:var(--gold);stroke-width:1.5}.item-count,.report-tag{color:var(--muted);font-family:var(--font-mono);font-size:10px;border:1px solid var(--line);padding:5px 7px}.rarity-filters{display:grid;grid-template-columns:1.6fr repeat(3,1fr);margin:14px 14px 10px;border:1px solid var(--line);padding:3px}.rarity-filters button{border:0;background:transparent;color:#798278;padding:6px 4px;font-size:11px;transition:background .18s,color .18s}.rarity-filters button:hover{color:var(--text)}.rarity-filters button.active{color:var(--gold-pale);background:#2c3026}.rarity-filters button[data-grade="4"].active{color:#c6a2d8}.rarity-filters button[data-grade="5"].active{color:var(--gold)}.rarity-filters button[data-grade="6"].active{color:#df8175}.inventory-list{padding:4px 10px 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:606px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#444c40 transparent}.item-card{min-width:0;min-height:130px;padding:10px 8px 9px;position:relative;display:flex;flex-direction:column;align-items:center;border:1px solid #30372f;background:#191e1a;overflow:hidden;text-align:center;transition:transform .18s,border-color .18s,background .18s}.item-card:before{content:"";position:absolute;inset:0;opacity:.09;background:radial-gradient(circle at 50% 35%,var(--rarity),transparent 68%)}.item-card:hover:not(:disabled){transform:translateY(-2px);border-color:var(--rarity);background:#20261f}.item-card.selected{border-color:var(--rarity);box-shadow:inset 0 0 0 1px var(--rarity),0 0 18px color-mix(in srgb,var(--rarity) 12%,transparent)}.item-card.selected:after{content:"已选择";position:absolute;top:0;right:0;padding:3px 5px;background:var(--rarity);color:#10130f;font-size:8px;font-weight:700}.item-card:disabled{opacity:.35;filter:grayscale(.75)}.item-card img{width:69px;height:69px;object-fit:contain;margin:0 0 5px;filter:drop-shadow(0 6px 6px #0008);pointer-events:none}.item-card strong{width:100%;color:#dbded6;font-size:11px;font-weight:500;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-card .item-price{margin-top:4px;color:var(--rarity);font-family:var(--font-mono);font-size:10px}.item-quantity{position:absolute;top:6px;left:7px;color:#9da59a;font-family:var(--font-mono);font-size:9px}.panel-footnote{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:13px 10px;border-top:1px solid var(--line);color:#707a70;font-size:10px}.mouse-icon{width:10px;height:14px;border:1px solid #707a70;border-radius:6px;position:relative}.mouse-icon:after{content:"";position:absolute;width:1px;height:4px;left:4px;top:2px;background:#707a70}.stage-panel{min-width:0}.stage-meta{height:30px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;color:#727d73;font-family:var(--font-mono);font-size:9px;letter-spacing:.05em}#lamp-status{display:flex;align-items:center;gap:6px;color:var(--green)}#lamp-status i{width:5px;height:5px;background:currentColor;border-radius:50%}#lamp-status.escaped{color:var(--red)}.stage-scene{height:clamp(420px,53vh,565px);min-height:420px;position:relative;isolation:isolate;overflow:hidden;border:1px solid #384137;background:radial-gradient(ellipse at 58% 24%,#354235 0,#1d2821 23%,#111a15 50%,#0b110e 78%);box-shadow:inset 0 0 90px #0009}.stage-scene:before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,#090e0bb0,transparent 30%,transparent 75%,#090e0b80),linear-gradient(0deg,#090d0a,transparent 25%)}.stage-scene:after{content:"";position:absolute;z-index:2;left:20%;right:8%;bottom:2%;height:24%;background:radial-gradient(ellipse,#b0bda70d,transparent 65%);filter:blur(12px);pointer-events:none}.scene-grid{position:absolute;inset:0;opacity:.09;background-image:linear-gradient(#a9b8a81f 1px,transparent 1px),linear-gradient(90deg,#a9b8a81f 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 70%);mask-image:linear-gradient(to bottom,#000,transparent 70%)}.moon{position:absolute;top:50px;right:13%;width:68px;height:68px;border-radius:50%;border:1px solid #c6d0b82e;box-shadow:0 0 60px #e6ebcb0a,inset -15px -8px #c4cfb809}.moon:before,.moon:after{content:"";position:absolute;background:#c6d0b83d}.moon:before{width:120px;height:1px;left:-26px;top:33px}.moon:after{width:1px;height:120px;left:33px;top:-26px}.sky-code{position:absolute;right:18px;bottom:18px;color:#798a783d;font-family:var(--font-mono);font-size:9px;line-height:1.8;text-align:right;letter-spacing:.1em}.raven-quote{position:absolute;z-index:4;left:24px;top:28px;padding-left:13px;border-left:2px solid #7f8a6e80}.raven-quote span{color:#828e7f;font-size:9px;letter-spacing:.18em}.raven-quote p{margin:6px 0 0;color:#c5c9b9;font-family:var(--font-display);font-size:clamp(12px,1.1vw,15px);letter-spacing:.05em}.lamp-art{position:absolute;z-index:2;width:100%;height:100%;inset:0;overflow:visible}.ground-shadow{fill:#000;opacity:.5}.ruins{fill:#111813;stroke:#455044;stroke-width:1;opacity:.75}.distant{fill:#111b15;opacity:.6}.lamp-halo{fill:url(#lampGlow);opacity:.8;transform-origin:345px 132px;animation:halo-breathe 4s ease-in-out infinite}.lamp-pole,.lantern-cap{fill:url(#metal);stroke:#596053;stroke-width:1.2}.lamp-detail{fill:none;stroke:#343d34;stroke-width:7}.lantern-frame{fill:#121812a8;stroke:#5e6557;stroke-width:4;stroke-linejoin:round}.lantern-light{fill:#f4cb79;opacity:.85;filter:drop-shadow(0 0 14px #f4c56c);animation:lantern-flicker 5s ease-in-out infinite}.pedestal{fill:#1a211b;stroke:#4b5549;stroke-width:1.5}.raven-body{fill:#080b09;stroke:#455044;stroke-width:.8;transform-box:fill-box;transform-origin:center}.raven-eye{fill:var(--gold);stroke:none;filter:drop-shadow(0 0 3px var(--gold))}.offering-slot{position:absolute;z-index:5;left:50%;bottom:65px;width:150px;min-height:152px;translate:-50% 0;display:flex;flex-direction:column;align-items:center;pointer-events:none}.offering-slot:before{content:"";position:absolute;width:130px;height:35px;bottom:20px;border-radius:50%;background:#e8b85d18;filter:blur(9px)}.slot-label{color:#8e967e;font-size:8px;letter-spacing:.24em;border:1px solid #67705b66;padding:3px 9px;background:#131a14cc}.offering-slot img{width:88px;height:88px;object-fit:contain;margin:3px 0 1px;filter:drop-shadow(0 8px 8px #000b);animation:item-hover 3.2s ease-in-out infinite}.offering-slot strong{max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--gold-pale);font-family:var(--font-display);font-size:12px;font-weight:500}.offering-slot>span:last-child{color:#949b8d;font-family:var(--font-mono);font-size:9px;margin-top:3px}.candles{position:absolute;z-index:6;left:50%;bottom:24px;translate:-50% 0;display:flex;align-items:flex-end;gap:clamp(14px,2.2vw,28px);height:56px}.candle{position:relative;width:8px;height:var(--h);border-radius:2px 2px 0 0;background:linear-gradient(90deg,#726d58,#c2b98f 55%,#625e4c);box-shadow:0 4px 5px #000}.candle:after{content:"";position:absolute;left:-5px;bottom:-3px;width:18px;height:3px;background:#353c32}.candle i{display:none;position:absolute;width:9px;height:16px;left:-.5px;top:-16px;border-radius:70% 30% 60% 40%;background:#ffd37d;box-shadow:0 0 9px #f7b94f,0 0 24px #f7b94f88;transform:rotate(8deg);transform-origin:50% 100%;animation:flame 1.8s ease-in-out infinite alternate}.candle.lit i{display:block}.particles{position:absolute;z-index:8;inset:0;pointer-events:none}.particle{position:absolute;left:50%;top:57%;width:4px;height:4px;background:var(--gold);box-shadow:0 0 6px currentColor;animation:particle-burst .9s ease-out forwards}.particle.lost{background:var(--red)}.stage-scene.is-rolling .lamp-art{animation:stage-rumble .18s linear infinite}.stage-scene.is-rolling .offering-slot img{animation:offering-charge .7s ease-in-out infinite}.stage-scene.is-rolling .lamp-halo{opacity:1;animation:none}.stage-scene.is-rolling .raven-body{animation:raven-ready .45s ease-in-out infinite alternate}.stage-scene.raven-escaped .raven-body{animation:raven-escape 1.1s ease-in forwards}.stage-scene.drag-over{border-color:var(--gold);box-shadow:inset 0 0 80px #e8b85d1a}.offering-console{border:1px solid var(--line);border-top:0;padding:14px 16px 13px;background:#121713}.odds-row{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:12px}.odds-row>div{display:flex;align-items:baseline;justify-content:center;gap:8px;border-right:1px solid var(--line)}.odds-row>div:last-child{border:0}.odds-row span{color:#808a7e;font-size:10px}.odds-row strong{font-family:var(--font-mono);font-size:15px;font-weight:500}.gold{color:var(--gold)!important}.red{color:var(--red)!important}.offer-button{width:100%;min-height:62px;display:flex;align-items:center;gap:14px;padding:9px 18px;border:1px solid #f0cc85;background:linear-gradient(110deg,#d5a64e,#f0cb7d 50%,#c79947);color:#191910;clip-path:polygon(0 0,calc(100% - 13px) 0,100% 13px,100% 100%,13px 100%,0 calc(100% - 13px));box-shadow:0 8px 22px #0005;transition:filter .18s,transform .18s}.offer-button:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-1px)}.offer-button:active:not(:disabled){transform:translateY(1px)}.offer-button:disabled{filter:grayscale(.8);opacity:.48}.button-feather{display:grid;place-items:center;width:36px;height:36px;border:1px solid #2b291b55;transform:rotate(45deg)}.button-feather svg{width:22px;height:22px;transform:rotate(-45deg);fill:none;stroke:currentColor;stroke-width:1.5}.offer-button>span:nth-child(2){display:flex;flex-direction:column;align-items:flex-start}.offer-button small{font-family:var(--font-mono);font-size:8px;letter-spacing:.15em;opacity:.7}.offer-button strong{font-family:var(--font-display);font-size:18px;letter-spacing:.13em}.button-arrow{width:24px;height:24px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.5}.risk-copy{margin:9px 0 0;color:#6f796e;font-size:9px;text-align:center}.report-panel{padding-bottom:12px}.net-worth{padding:20px 18px 16px;border-bottom:1px solid var(--line)}.net-worth>span{display:block;color:var(--muted);font-size:10px;letter-spacing:.1em}.net-worth strong{display:inline-block;max-width:100%;margin-top:8px;color:var(--gold-pale);font-family:var(--font-mono);font-size:clamp(25px,2.3vw,34px);font-weight:400;letter-spacing:-.05em;overflow-wrap:anywhere}.net-worth strong.negative{color:var(--red)}.net-worth small{margin-left:6px;color:#687267;font-size:9px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:14px 10px;border-bottom:1px solid var(--line)}.stats-grid>div{min-width:0;padding:0 8px;border-right:1px solid var(--line)}.stats-grid>div:last-child{border:0}.stats-grid span{display:block;color:#778176;font-size:9px;margin-bottom:6px}.stats-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;color:#bfc5ba;font-family:var(--font-mono);font-size:11px;font-weight:400;white-space:nowrap}.history-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 17px 10px}.history-heading h3{margin:0;font-size:11px;font-weight:500;color:#b9c0b5}.history-heading span{color:#657063;font-family:var(--font-mono);font-size:9px}.history-list{max-height:376px;min-height:255px;overflow-y:auto;padding:0 10px;scrollbar-width:thin;scrollbar-color:#444c40 transparent}.empty-history{height:245px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#505b50;text-align:center}.empty-history svg{width:34px;height:34px;margin-bottom:12px;fill:none;stroke:currentColor;stroke-width:1}.empty-history p{margin:0 0 7px;color:#747f72;font-family:var(--font-display)}.empty-history span{font-size:9px}.history-entry{display:grid;grid-template-columns:39px minmax(0,1fr);gap:9px;padding:10px 7px;border-top:1px solid #2c332c;animation:history-enter .25s ease-out}.history-icon{width:39px;height:39px;display:grid;place-items:center;background:#20261f;border:1px solid #343c32}.history-icon img{width:34px;height:34px;object-fit:contain}.history-icon svg{width:22px;height:22px;fill:none;stroke:var(--red);stroke-width:1.4}.history-main{min-width:0}.history-top{display:flex;justify-content:space-between;gap:6px}.history-top strong{font-size:10px;font-weight:500}.history-top span{font-family:var(--font-mono);font-size:9px;white-space:nowrap}.history-main p{margin:4px 0 0;color:#747e72;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.new-lamp-button{width:calc(100% - 24px);margin:10px 12px 0;padding:11px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #766743;background:#2a291f;color:var(--gold-pale);font-size:11px}.new-lamp-button[hidden]{display:none}.new-lamp-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}.footer{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px clamp(20px,3vw,52px);border-top:1px solid #272e28;color:#5e685e;font-size:9px}.footer button{border:0;background:none;color:#899183;padding:0;font-size:9px;text-decoration:underline;text-underline-offset:3px}dialog{color:var(--text)}dialog:modal{overscroll-behavior:contain}dialog::backdrop{overflow:hidden;overscroll-behavior:contain;background:#030504d9;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.result-dialog,.rules-dialog{width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:34px;border:1px solid #6a634b;background:radial-gradient(circle at 50% 0,#2c3327,#121713 58%);box-shadow:0 30px 100px #000b;overflow-y:auto;text-align:center}.result-dialog[open],.rules-dialog[open]{animation:dialog-enter .24s ease-out}.dialog-close{position:absolute;z-index:2;top:12px;right:12px;width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);background:#131813aa;color:#8e998b}.dialog-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}.result-burst{position:absolute;top:-160px;left:50%;width:360px;height:360px;translate:-50% 0;background:repeating-conic-gradient(from 0deg,#e8b85d0c 0 4deg,transparent 4deg 14deg);animation:slow-spin 35s linear infinite;pointer-events:none}.result-kicker{position:relative;color:var(--gold);font-family:var(--font-mono);font-size:9px;letter-spacing:.22em}.result-dialog h2{position:relative;margin:10px 0 7px;font-family:var(--font-display);font-size:31px;font-weight:500;letter-spacing:.12em;color:var(--gold-pale)}.result-quote{position:relative;margin:0 0 22px;color:#899383;font-family:var(--font-display);font-size:12px}.result-comparison{display:flex;align-items:center;justify-content:center;gap:23px;padding:17px;border-top:1px solid #363e33;border-bottom:1px solid #363e33;background:#0b100c66}.result-item{min-width:0;flex:1}.result-item img,.result-lost-icon{width:94px;height:94px;object-fit:contain;margin:0 auto 7px;filter:drop-shadow(0 9px 9px #0009)}.result-item span{display:block;color:#d6d9ce;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-item small{display:block;margin-top:4px;color:#7f897a;font-family:var(--font-mono);font-size:9px}.result-arrow{color:var(--gold);font-family:var(--font-mono);font-size:24px}.result-lost-icon{display:grid;place-items:center}.result-lost-icon svg{width:67px;height:67px;fill:none;stroke:var(--red);stroke-width:1}.result-delta{padding:16px 0 3px;font-family:var(--font-mono);font-size:20px;color:var(--gold)}.result-delta.negative{color:var(--red)}.result-delta small{display:block;margin-top:5px;color:#778174;font-family:var(--font-body);font-size:9px}.dialog-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;margin-top:21px}.primary-button,.secondary-button{min-height:43px;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;font-size:11px}.primary-button{border:1px solid var(--gold);background:var(--gold);color:#171910;font-weight:700}.primary-button:hover{background:var(--gold-pale)}.primary-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}.secondary-button{border:1px solid #444c40;background:#1c221c;color:#aab2a5}.rules-dialog{text-align:left}.rules-dialog h2{margin:9px 0 22px;font-family:var(--font-display);font-size:25px;font-weight:500}.rules-list{list-style:none;padding:0;margin:0}.rules-list li{display:grid;grid-template-columns:31px 1fr;gap:12px;padding:13px 0;border-top:1px solid var(--line)}.rules-list li>span{color:#6b755f;font-family:var(--font-mono);font-size:12px}.rules-list strong{color:var(--gold-pale);font-size:12px;font-weight:500}.rules-list p,.rules-dialog>p{margin:5px 0 0;color:#939d8f;font-size:11px;line-height:1.8}.rules-notice{margin:14px 0 20px;padding:12px;border-left:2px solid #766743;background:#25261e;color:#aaa993;font-size:10px;line-height:1.8}.rules-dialog form{margin-top:20px}.rules-dialog form .primary-button{width:100%}.credit-links{display:grid;gap:7px;margin:18px 0}.credit-links a{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid var(--line);color:var(--gold-pale);font-size:11px}.credit-links svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4}.rules-dialog code{color:#b8bea9;overflow-wrap:anywhere}@keyframes halo-breathe{50%{opacity:.55;transform:scale(.94)}}@keyframes lantern-flicker{0%,90%,to{opacity:.85}92%{opacity:.64}95%{opacity:.95}}@keyframes item-hover{50%{transform:translateY(-6px)}}@keyframes flame{to{transform:rotate(-7deg) scale(.88,1.08)}}@keyframes stage-rumble{0%,to{transform:translate(0)}50%{transform:translate(1px,-1px)}}@keyframes offering-charge{50%{transform:translateY(-22px) scale(1.13);filter:drop-shadow(0 0 14px var(--gold))}}@keyframes raven-ready{to{transform:translateY(-4px) rotate(-2deg)}}@keyframes raven-escape{to{transform:translate(240px,-200px) rotate(-24deg);opacity:0}}@keyframes particle-burst{to{transform:translate(var(--x),var(--y)) rotate(160deg);opacity:0}}@keyframes history-enter{0%{opacity:0;transform:translateY(-7px)}}@keyframes dialog-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}}@keyframes slow-spin{to{transform:rotate(360deg)}}@media(max-width:1250px){.game-shell{grid-template-columns:280px minmax(450px,1fr)}.report-panel{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr}.report-panel .panel-heading{grid-column:1 / -1}.net-worth{border-right:1px solid var(--line)}.stats-grid{align-items:center;border-bottom:1px solid var(--line)}.history-heading{grid-column:1 / -1}.history-list{grid-column:1 / -1;min-height:0;max-height:250px}.empty-history{height:120px}.new-lamp-button{grid-column:1 / -1;width:auto}.header-center .version{display:none}}@media(max-width:850px){.topbar{gap:12px}.header-center{display:none}.game-shell{grid-template-columns:1fr;padding-top:14px}.stage-panel{grid-row:1}.inventory-panel{grid-row:2}.report-panel{grid-row:3;grid-template-columns:1fr 1fr}.inventory-list{grid-template-columns:repeat(4,minmax(0,1fr));max-height:420px}.stage-scene{height:500px}.panel-heading{min-height:70px}}@media(max-width:560px){.topbar{min-height:70px;padding:11px 14px}.brand-mark{width:37px;height:42px}.brand-mark svg{width:34px}.brand strong{font-size:18px}.brand .eyebrow{font-size:7px}.text-button{width:38px;padding:0;justify-content:center}.text-button span{display:none}.header-actions{gap:5px}.icon-button,.text-button{width:34px;height:34px}.game-shell{padding:12px 10px 18px;gap:14px}.stage-meta{font-size:8px}.stage-scene{height:430px;min-height:430px}.raven-quote{left:15px;top:18px}.raven-quote p{font-size:11px}.moon{width:50px;height:50px;right:11%}.moon:before,.moon:after{display:none}.offering-slot{bottom:56px}.offering-slot img{width:76px;height:76px}.candles{bottom:21px;gap:20px}.offering-console{padding:12px 10px}.odds-row>div{flex-direction:column;align-items:center;gap:4px}.offer-button{min-height:57px;padding:8px 13px}.offer-button strong{font-size:16px}.inventory-list{grid-template-columns:repeat(3,minmax(0,1fr));padding:4px 8px 8px;gap:6px}.item-card{min-height:122px;padding-left:5px;padding-right:5px}.item-card img{width:62px;height:62px}.report-panel{display:block}.net-worth{border-right:0}.history-list{max-height:300px}.footer{flex-direction:column;align-items:flex-start;gap:8px;padding:15px;line-height:1.6}.result-dialog,.rules-dialog{padding:30px 20px 22px}.result-dialog h2{font-size:26px}.result-comparison{gap:12px;padding:14px 9px}.result-item img,.result-lost-icon{width:76px;height:76px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
