:root{color-scheme:dark;--bg:#10151b;--panel:#1c242c;--line:#35414c;--text:#f0eee8;--muted:#aab5bd;--gold:#ffc54a;--teal:#76d5bb;--red:#f48c86;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #53616d;border-radius:7px;padding:10px 15px;background:#2b3742;color:var(--text);font-weight:650;line-height:1.2;min-height:40px}button:hover:not(:disabled){background:#3b4955;border-color:#a3b0b9}button:disabled{opacity:.4;cursor:not-allowed}.primary{background:var(--gold);border-color:#ffe1a0;color:#171b20;box-shadow:0 3px 0 #97702a}.primary:hover:not(:disabled){background:#ffda83;border-color:#fff0c9}.quiet,.level-link{background:transparent;border-color:transparent}.quiet{color:var(--muted)}:focus-visible{outline:3px solid var(--teal);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:1.7rem;line-height:1.25;margin-bottom:9px}h2{font-size:1.06rem;line-height:1.4;margin-bottom:10px}h3{font-size:1rem}p{line-height:1.55;color:var(--muted);margin-bottom:14px}small{color:var(--muted);font-size:.9rem;line-height:1.6}img{object-fit:contain;image-rendering:pixelated}button,select{touch-action:manipulation}.boot{padding:40px}.title-screen{max-width:1120px;min-height:100dvh;margin:auto;display:flex;align-items:center;padding:55px 60px;gap:40px}.title-copy{flex:1;position:relative;z-index:1}.logo{width:min(100%,360px);max-height:170px;object-position:left;margin-bottom:35px}.title-copy h1{font-size:2.7rem;max-width:500px;letter-spacing:-.04em}.title-copy p{max-width:390px}.title-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 35px}.title-player{width:40%;max-height:610px;filter:none}.topbar{display:flex;align-items:center;gap:32px;max-width:1400px;margin:auto;padding:16px 28px}.brand{width:150px;max-height:65px}.resources{display:flex;align-items:center;gap:30px;flex:1}.resources>strong{font-size:1.5rem;color:var(--teal);min-width:120px;font-variant-numeric:tabular-nums}.resources>div{width:145px}.resources span{display:flex;justify-content:space-between;font-size:.9rem;color:var(--muted);margin-bottom:7px}.resources b{color:var(--text);font-variant-numeric:tabular-nums}progress{display:block;width:100%;height:7px;border:0;background:#34414a;border-radius:6px;overflow:hidden;accent-color:var(--teal)}progress::-webkit-progress-bar{background:#34414a;border-radius:6px}progress::-webkit-progress-value{background:var(--teal);border-radius:6px}.danger::-webkit-progress-value{background:var(--red)}.header-actions{display:flex;gap:5px;align-items:center}.header-actions button{padding:9px 11px}.tabs{display:flex;max-width:1344px;margin:auto;gap:5px;border-bottom:1px solid var(--line);padding:0 0 8px}.tabs button{border:0;background:transparent;color:var(--muted);padding:13px 23px;border-radius:7px 7px 0 0;white-space:nowrap}.tabs button.active{background:#26313a;color:var(--gold);box-shadow:inset 0 -3px var(--gold)}.budget-line{max-width:1344px;margin:auto;display:flex;align-items:center;gap:12px;padding:10px 2px;font-size:.9rem;color:var(--muted)}.budget-line button{font-size:.9rem;min-height:28px;padding:4px 8px;border:0;background:transparent;text-decoration:underline;color:var(--muted)}.save-state{margin-left:auto;font-size:.9rem}.game-content{max-width:1344px;margin:0 auto;padding:12px 0 65px}.objective{font-size:.9rem;border-left:3px solid var(--gold);padding:8px 12px;margin:6px 0 30px;color:#dce0df;max-width:800px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head p{margin-bottom:0;font-size:.9rem;max-width:760px}.section-head>strong{color:var(--gold);white-space:nowrap}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{padding:22px;border-radius:10px;background:var(--panel);border:1px solid var(--line);min-width:0}.card p{font-size:.9rem}.card-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.card-title h2{margin:0}.chance{color:var(--teal);font-size:1.3rem}.reward{font-size:1.2rem!important;color:var(--gold);font-weight:700;margin:15px 0}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.card-bottom>span{color:var(--muted);font-size:.9rem}.card-bottom button{font-size:.9rem}details{color:var(--muted);font-size:.9rem}summary{cursor:pointer;padding:14px 0 3px}details[open] summary{margin-bottom:12px}details p{font-size:.9rem}.contribution{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--line);font-size:.9rem}.contribution span:last-child{text-align:right}.locked-list{margin-top:24px;max-width:800px}.locked-list p{padding:9px 0;margin:0;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);font-size:.9rem}.locked-list span{font-size:.9rem;color:#c6cdd2;text-align:right}.result{padding:16px 20px;display:flex;gap:15px;align-items:center;border:1px solid #3c7364;border-radius:7px;margin-bottom:20px;background:#1a302c}.result strong{color:var(--teal)}.result span{font-size:.9rem}.result.failure{background:#382626;border-color:#844c49}.result.failure strong{color:var(--red)}.subtabs{display:flex;gap:8px;margin-bottom:22px}.subtabs button{background:transparent;color:var(--muted);border-color:var(--line)}.subtabs button.selected{color:var(--gold);border-color:var(--gold)}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.person-card{display:flex;align-items:flex-start;gap:18px;padding:18px}.portrait{flex-shrink:0;display:block;width:105px;aspect-ratio:3/4;background-size:400% 200%;background-repeat:no-repeat;image-rendering:pixelated;border-radius:5px}.person-content{flex:1;min-width:0}.person-content .card-title{display:block}.person-content .card-title>span{font-size:.9rem}.person-content h2{margin-bottom:2px}.person-content p{font-size:.9rem;margin:10px 0}.stats-inline{color:#e0cfa8!important}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.person-card button{font-size:.9rem;padding:9px 11px}.relation-ally,.relation-girlfriend{color:var(--teal)}.relation-enemy{color:var(--red)}.relation-neutral{color:var(--muted)}.arrears{border-top:1px solid #71534d;margin-top:14px;padding-top:10px;font-size:.9rem;color:#ffc3b6}.arrears button{margin-left:8px}.atlas{display:block;image-rendering:pixelated;background-repeat:no-repeat;width:100%;aspect-ratio:4/3}.building,.club-art{max-height:180px;margin-bottom:18px;object-fit:contain}label{display:block;color:var(--muted);font-size:.9rem;line-height:1.5}select{display:block;width:100%;background:#131b22;border:1px solid #4b5b68;border-radius:5px;color:var(--text);padding:10px;margin-top:6px;max-width:100%}.muted{color:var(--muted)}.services{margin-bottom:22px;border-color:#658b81}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.service-grid p{font-size:.9rem}.clubs{grid-template-columns:repeat(3,minmax(0,1fr))}.club-card button{width:100%;margin-top:8px}.recovery{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:24px}.recovery p{margin:0;max-width:680px}.section-note{font-size:.9rem;margin-top:25px}.attributes{margin-top:25px;margin-bottom:25px}.stat-number{font-size:2.5rem;color:var(--gold)}.feed{font-size:.9rem;line-height:1.6;color:var(--muted);padding-left:18px}.feed li{padding:5px 0}.pause-banner{color:var(--gold);border:1px solid #6f613c;text-align:center;padding:14px;margin-bottom:24px;border-radius:6px}.obligation{max-width:650px;margin:30px auto;border-color:#c28a58}.obligation small{display:block;margin-top:18px}.point{display:inline-grid;place-items:center;background:var(--gold);color:#1b232c;width:19px;height:19px;border-radius:50%;font-size:.9rem}.empty{padding:20px 0}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#05090edb;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(4px)}.dialog{border:1px solid #566571;border-radius:12px;background:#1d2731;padding:28px;width:620px;max-width:100%;max-height:90dvh;overflow:auto;box-shadow:0 20px 100px #0008}.dialog-close{display:flex;justify-content:flex-end;margin-bottom:14px}.dialog-close button{padding:6px 12px;min-height:32px;font-size:.9rem}.menu-actions{display:grid;gap:10px}.dialog h2{font-size:1.5rem}.dialog label{margin-bottom:18px}.dialog input[type=range]{width:100%;display:block;margin-top:10px}.check{display:flex;align-items:center;gap:9px}.check input{width:18px;height:18px;accent-color:var(--gold)}dl{display:grid;grid-template-columns:1fr auto;gap:15px;font-size:.9rem;margin-bottom:28px}dt{color:var(--muted)}dd{margin:0;color:var(--gold)}.dialog>p{font-size:.9rem;margin-top:22px}.dialog>.actions{margin:22px 0}#toasts{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;max-width:min(600px,90vw);background:#344551;border:1px solid #94b5bf;color:white;border-radius:8px;padding:13px 19px;box-shadow:0 8px 30px #0008;opacity:0;pointer-events:none;font-size:.9rem;transition:opacity .18s}#toasts.visible{opacity:1}.large-text{font-size:18px}
@media(max-width:1450px){.tabs,.budget-line,.game-content{margin-left:28px;margin-right:28px}.topbar{gap:20px}.resources{gap:20px}.tabs button{padding-left:20px;padding-right:20px}}
@media(max-width:1050px){.brand{width:110px}.topbar{gap:20px}.resources{gap:16px}.resources>strong{font-size:1.2rem;min-width:100px}.resources>div{width:120px}.header-actions{gap:2px}.header-actions button{font-size:.9rem}.people-grid{grid-template-columns:1fr}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs{justify-content:space-between}.tabs button{padding:11px 15px}.title-screen{padding:40px}.title-copy h1{font-size:2.2rem}}
@media(max-width:700px){:root{font-size:16px}.topbar{padding:14px 16px;flex-wrap:wrap;gap:14px}.brand{width:90px;height:44px}.resources{order:3;flex-basis:100%;justify-content:space-between;gap:18px}.resources>strong{font-size:1.25rem;min-width:100px}.resources>div{width:auto;flex:1}.header-actions{margin-left:auto}.tabs,.budget-line,.game-content{margin-left:16px;margin-right:16px}.tabs{overflow-x:auto;justify-content:flex-start;gap:0;scrollbar-width:thin}.tabs button{font-size:.9rem;padding:12px 16px}.budget-line{padding:12px 0}.save-state{display:none}.game-content{padding-top:0}.objective{margin-bottom:24px;font-size:.9rem}.section-head{align-items:flex-start;gap:15px}.section-head>button{font-size:.9rem;max-width:135px;padding:9px 11px;min-height:36px}.card-grid{grid-template-columns:1fr}.card{padding:19px}.frauds{gap:14px}.result{align-items:flex-start;flex-direction:column;gap:5px}.title-screen{padding:36px 24px;align-items:flex-start;position:relative;overflow:hidden}.title-copy{padding-top:40px}.logo{width:280px;max-height:140px;margin-bottom:30px}.title-copy h1{font-size:2.4rem;max-width:300px}.title-copy p{max-width:270px}.title-actions{flex-direction:column;align-items:flex-start;gap:13px;max-width:220px}.title-actions button{width:100%;min-height:45px}.title-player{position:absolute;bottom:-12px;right:-26px;width:53%;max-height:55vh;opacity:.55;pointer-events:none}.person-card{padding:15px;gap:13px}.portrait{width:82px}.person-content .actions{gap:5px}.person-content button{font-size:.9rem}.service-grid{grid-template-columns:1fr;gap:25px}.recovery{display:block}.recovery button{margin-top:18px}.section-head>strong{font-size:.9rem}.modal-backdrop{padding:14px}.dialog{padding:20px}.locked-list p{font-size:.9rem}.locked-list span{max-width:45%}dl{font-size:.9rem}.clubs{grid-template-columns:repeat(2,minmax(0,1fr))}.club-card{padding:14px}.club-card h2{font-size:.95rem}.club-card p{font-size:.9rem}.club-card button{padding:9px;font-size:.9rem}.club-art{max-height:100px}.building{max-height:165px}}

.pixel-icon{display:inline-block;width:22px;height:22px;vertical-align:middle;flex-shrink:0;background-size:600% 400%;background-repeat:no-repeat;image-rendering:pixelated;margin-right:7px}button>.pixel-icon{width:20px;height:20px}.tabs .pixel-icon{width:22px;height:22px}.header-actions .pixel-icon{width:17px;height:17px}.atlas.building,.atlas.club-art{width:min(100%,180px);height:auto;max-height:none;margin:0 auto 18px}@media(max-width:700px){.atlas.club-art{width:min(100%,120px)}}

.service-heading{margin-top:24px;color:var(--gold)}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.service-card{display:flex;gap:18px;align-items:center;padding:15px;background:#141d25;border-radius:8px}.service-card p{margin-bottom:10px;font-size:.9rem}.service-card h3{margin-bottom:6px}.service-art{width:82px;height:82px;flex-shrink:0}.service-card .portrait{width:82px}.lawyer-card{display:flex;gap:16px;align-items:flex-start}.lawyer-card .portrait{width:80px}.lawyer-card p{font-size:.9rem}.lawyer-card>div{min-width:0}.recovery .portrait{width:65px}.fraud-art{width:48px;height:48px;float:left;margin:0 12px 10px 0}.fraud-card .card-bottom{clear:both}.obligation-art{width:110px;height:110px;margin:0 auto 20px}@media(max-width:700px){.service-grid{grid-template-columns:1fr}.recovery .portrait{float:left;margin-right:15px}.service-card{gap:14px}}
/* All atlas cells use measured source rectangles and a shared padded square. */
.sprite{display:block;aspect-ratio:1!important;overflow:hidden;image-rendering:pixelated;background:none!important;border-radius:0}.sprite image{image-rendering:pixelated}.sprite.portrait{height:auto;width:105px}.sprite.pixel-icon{display:inline-block;width:22px;height:22px;vertical-align:middle;margin-right:7px;overflow:visible}.sprite.atlas{height:auto}.sprite.fraud-art{width:48px;height:48px}.sprite.building,.sprite.club-art{width:min(100%,180px);height:auto;margin:0 auto 18px}.sprite.service-art{width:82px;height:82px}.sprite.obligation-art{width:110px;height:110px}.shop-card{display:flex;flex-direction:column;align-items:flex-start}.shop-card h2{margin-bottom:8px}.shop-card p{margin-bottom:12px}.shop-card>button{margin-top:auto}.shop-art{width:160px!important;max-width:100%;height:160px!important;align-self:center;margin-bottom:15px}.shop-total{font-size:.9rem;color:var(--teal);margin-bottom:20px}.shop-filters{flex-wrap:wrap}.tabs{overflow-x:auto}.tabs button{padding-left:15px;padding-right:15px}.lawyer-card .sprite.portrait{width:80px}.recovery .sprite.portrait{width:65px}.service-card .sprite.portrait{width:82px}
@media(max-width:700px){.sprite.portrait{width:82px}.sprite.club-art{width:min(100%,120px)}.shop-art{width:140px!important;height:140px!important}.tabs button{padding:12px}.shop-filters{gap:6px}.shop-filters button{font-size:.9rem;padding:9px 11px}}
/* Reference layout: left navigation | active area | persistent player panel. */
.game-shell{display:grid;grid-template-columns:190px minmax(0,1fr) 264px;max-width:1800px;min-height:100dvh;margin:0 auto;align-items:start}.navigation-panel,.player-panel{position:sticky;top:0;height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.navigation-panel{display:flex;flex-direction:column;gap:24px;padding:24px 16px;background:#141c24;border-right:1px solid var(--line)}.sidebar-brand{display:block;width:148px;max-width:100%;height:76px;margin:0 auto;object-fit:contain}.side-nav{display:flex;flex-direction:column;gap:8px}.side-nav button{display:flex;align-items:center;gap:10px;width:100%;min-height:49px;padding:12px;text-align:left;background:transparent;border:1px solid transparent;color:var(--muted);font-size:.9rem;white-space:nowrap}.side-nav .pixel-icon{margin:0;width:24px;height:24px}.side-nav button.active{color:var(--gold);background:#30302a;border-color:#665735;box-shadow:inset 3px 0 var(--gold)}.side-nav .point{margin-left:auto;flex-shrink:0}.navigation-footer{margin-top:auto;display:grid;gap:9px;padding-top:25px}.navigation-footer button{text-align:left;font-size:.9rem;padding:10px 12px}.sidebar-save{display:block;font-size:.9rem;color:var(--muted);padding:4px 12px}.game-shell>.game-content{margin:0;padding:30px 26px 55px;min-width:0;width:100%;min-height:100dvh;container-type:inline-size}.game-content .section-head{gap:18px;margin-bottom:25px}.game-content h1{font-size:1.6rem}.game-content .section-head p{font-size:.9rem;line-height:1.5}.game-content .card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}.game-content .card{padding:19px}.game-content .people-grid{grid-template-columns:1fr;gap:15px}.game-content .service-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:14px}.game-content .result{flex-direction:column;align-items:flex-start;gap:5px;padding:14px 17px}.game-content .card-bottom{flex-wrap:wrap}.game-content .subtabs{flex-wrap:wrap}.game-content .recovery{flex-wrap:wrap;gap:15px}.game-content .recovery p{font-size:.9rem}.player-panel{display:flex;flex-direction:column;gap:14px;padding:20px 16px;background:#141c24;border-left:1px solid var(--line)}.player-block{margin:0;padding:16px;background:#1b252e;border:1px solid var(--line);border-radius:8px;min-width:0}.avatar-panel{padding:8px 12px 12px;text-align:center}.avatar-panel .sprite.avatar-sprite{display:block;width:100%;height:auto;max-width:240px;margin:auto}.avatar-panel figcaption{font-size:.9rem;font-weight:700;color:var(--text);margin-top:0}.player-cash{display:block;color:var(--teal);font-size:1.65rem;font-variant-numeric:tabular-nums;line-height:1.3;margin-bottom:7px}.player-budget{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:22px;color:var(--muted);font-size:.9rem}.player-budget button{padding:0;min-height:24px;border:0;background:none;font-size:.9rem;color:var(--muted);text-decoration:underline}.resource-meter+.resource-meter{margin-top:17px}.resource-meter>span{display:flex;justify-content:space-between;gap:10px;font-size:.9rem;color:var(--muted);margin-bottom:8px}.resource-meter b{color:var(--text);font-variant-numeric:tabular-nums}.player-attributes h2{font-size:.94rem;margin:0 0 13px}.side-stats{display:flex;flex-direction:column;gap:12px;margin:0 0 22px;font-size:.9rem}.side-stats>div{display:flex;justify-content:space-between;gap:15px}.side-stats dd{color:var(--gold);font-weight:700;font-variant-numeric:tabular-nums}.player-level-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:9px;font-size:.9rem}.player-level-row small{font-size:.9rem}.distribute-points{margin-top:12px;padding:8px 10px;font-size:.9rem;width:100%;min-height:32px}.game-content .lawyer-card{gap:13px}.game-content .lawyer-card .portrait{width:72px}.game-content .lawyer-card h2{overflow-wrap:anywhere}.game-content .lawyer-card button{font-size:.9rem;padding:9px 11px}
@media(min-width:1450px){.game-shell{grid-template-columns:210px minmax(0,1fr) 288px}.navigation-panel{padding:28px 20px}.player-panel{padding:24px 20px}.game-shell>.game-content{padding:35px}.avatar-panel .sprite.avatar-sprite{max-width:250px}}
@media(min-width:901px) and (max-height:760px){.player-panel{gap:10px;padding-top:14px;padding-bottom:14px}.player-block{padding:13px}.avatar-panel{padding:4px 12px 7px}.avatar-panel .sprite.avatar-sprite{max-width:190px}.player-budget{margin-bottom:14px}.side-stats{gap:9px;margin-bottom:15px}.resource-meter+.resource-meter{margin-top:13px}}
@media(min-width:701px) and (max-width:1050px){.game-shell{grid-template-columns:164px minmax(0,1fr) 228px}.navigation-panel{padding:20px 10px;gap:20px}.sidebar-brand{width:135px}.side-nav button{font-size:.9rem;padding:10px 8px;gap:8px}.side-nav .pixel-icon{width:21px;height:21px}.player-panel{padding:16px 12px;gap:12px}.player-block{padding:13px}.game-shell>.game-content{padding:25px 20px 45px}.player-cash{font-size:1.4rem}.game-content .card{padding:17px}.game-content .section-head{flex-wrap:wrap}.game-content .section-head>button{font-size:.9rem;padding:9px 10px}.game-content .card-grid{grid-template-columns:1fr}.game-content .lawyer-card .portrait{width:80px}}
@media(max-width:700px){.game-shell{grid-template-columns:60px minmax(0,1fr);grid-template-rows:auto 1fr}.navigation-panel{grid-column:1;grid-row:1 / 3;padding:12px 5px;gap:16px;height:100dvh;z-index:2}.sidebar-brand{width:48px;height:38px}.side-nav{gap:6px}.side-nav button{padding:10px 5px;min-height:46px;justify-content:center;position:relative}.side-nav button>span:not(.pixel-icon){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.side-nav .point{clip-path:none!important;width:14px!important;height:14px!important;top:0;right:0;font-size:.9rem}.side-nav .pixel-icon{width:25px;height:25px}.navigation-footer{padding-top:10px;gap:8px}.navigation-footer button{padding:9px 3px;min-height:40px;font-size:0;text-align:center}.navigation-footer .pixel-icon{margin:0;width:22px;height:22px}.sidebar-save{display:none}.player-panel{position:static;grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:8px;height:auto;overflow:visible;border-left:0;border-bottom:1px solid var(--line);padding:12px;background:#141c24}.avatar-panel{grid-column:2;grid-row:1;align-self:center;padding:0;border:0;background:transparent}.avatar-panel .sprite.avatar-sprite{width:82px;height:82px}.avatar-panel figcaption{display:none}.player-resources{grid-column:1;grid-row:1;display:block;padding:0;border:0;background:transparent}.player-cash{font-size:1.35rem;line-height:1.2;margin-bottom:5px}.player-budget{margin-bottom:10px;font-size:.9rem;justify-content:flex-start;gap:10px}.player-budget button{font-size:.9rem;min-height:18px}.resource-meter>span{font-size:.9rem;margin-bottom:5px}.resource-meter+.resource-meter{margin-top:8px}.resource-meter progress{height:5px}.player-attributes{grid-column:1 / 3;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.player-attributes h2{display:none}.side-stats{flex-direction:row;justify-content:space-between;flex:1;gap:12px;width:100%;margin:0;font-size:.9rem}.side-stats>div{gap:6px}.player-level-row{margin:4px 0 0;width:100%;font-size:.9rem}.player-attributes>progress{height:4px}.distribute-points{width:auto;font-size:.9rem;padding:5px 7px;min-height:25px;margin:0 0 0 auto}.game-shell>.game-content{grid-column:2;grid-row:2;min-height:calc(100dvh - 180px);padding:22px 12px 40px}.game-content .section-head{display:block;margin-bottom:20px}.game-content .section-head>button{max-width:none;margin-top:12px}.game-content h1{font-size:1.5rem}.game-content .section-head p{font-size:.9rem}.game-content .card-grid{grid-template-columns:1fr;gap:13px}.game-content .card{padding:15px}.game-content .person-card{gap:9px;padding:13px}.game-content .person-card .portrait{width:64px}.game-content .person-content button{font-size:.9rem;padding:8px 9px}.game-content .person-content h2{font-size:.92rem}.game-content .person-content p{font-size:.9rem}.game-content .lawyer-card .portrait{width:64px}.game-content .lawyer-card{gap:10px}.game-content .lawyer-card p{font-size:.9rem}.game-content .service-card{padding:12px;gap:10px}.game-content .service-card .portrait,.game-content .service-art{width:64px;height:64px}.game-content .subtabs{gap:6px}.game-content .subtabs button{padding:9px 10px;min-height:35px;font-size:.9rem}.game-content .recovery .portrait{float:none}.game-content .card-bottom>span{font-size:.9rem}.game-content .card-bottom button{font-size:.9rem;padding:9px 11px}.game-content .shop-art{width:140px!important;height:140px!important}.game-content .locked-list p{font-size:.9rem}.game-content .locked-list span{font-size:.9rem}.game-content .section-note{font-size:.9rem}}
/* Fraud reference: selected operation at left, complete catalogue at right. */
.fraud-view .section-head{margin-bottom:20px}.fraud-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(190px,.9fr);gap:18px;align-items:start;height:calc(100dvh - 130px);min-height:470px}.game-content .fraud-detail{max-height:100%;height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:18px}.fraud-overview{display:grid;grid-template-columns:minmax(92px,140px) minmax(0,1fr);gap:12px;align-items:center;margin-bottom:20px}.sprite.fraud-scene{width:100%;height:auto;max-width:160px}.fraud-heading{min-width:0}.fraud-heading h2{font-size:1.12rem;margin:0 0 18px;line-height:1.35;overflow-wrap:anywhere}.fraud-chance{display:flex;flex-direction:column;gap:5px}.fraud-chance>span{color:var(--muted);font-size:.9rem}.fraud-chance .chance{font-size:1.65rem}.fraud-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin:0 0 20px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:.9rem}.fraud-metrics>div{min-width:0}.fraud-metrics dt{font-size:.9rem;margin-bottom:4px}.fraud-metrics dd{font-weight:700;color:var(--text)}.fraud-metrics .metric-return{grid-column:1 / 3}.metric-return dd{font-size:1.12rem;color:var(--gold)}.fraud-apply{width:100%;margin-bottom:4px}.fraud-lock{color:var(--gold);font-size:.9rem!important;margin:0 0 14px}.fraud-result{display:flex;flex-wrap:wrap;gap:5px 12px;margin:16px 0 0;padding:11px 12px;border-radius:5px;font-size:.9rem;background:#20382f;color:var(--teal)}.fraud-result.failure{background:#3a2828;color:var(--red)}.fraud-participants-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:24px 0 12px}.fraud-participants-head h3{font-size:.9rem;margin:0}.fraud-participants-head small{font-size:.9rem}.fraud-participants{display:grid;gap:10px}.fraud-participant{display:flex;align-items:center;gap:12px;background:#151e26;border:1px solid #2d3b46;border-radius:6px;padding:9px;min-width:0}.fraud-participant .sprite.portrait{width:54px;height:54px}.fraud-participant>div{min-width:0}.fraud-participant h3{font-size:.9rem;margin:0 0 4px;line-height:1.3}.fraud-participant p{font-size:.9rem;margin:0;line-height:1.45}.positive{color:var(--teal)!important}.negative{color:var(--red)!important}.fraud-catalogue{display:flex;flex-direction:column;height:100%;max-height:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background:#141d25;overflow:hidden}.fraud-catalogue>h2{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0;padding:17px 14px;border-bottom:1px solid var(--line);font-size:.9rem}.fraud-catalogue h2 small{font-size:.9rem}.fraud-list{display:flex;flex-direction:column;gap:7px;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;padding:9px;flex:1;min-height:0}.fraud-list-button{display:flex;align-items:center;gap:10px;flex-shrink:0;width:100%;text-align:left;background:#1b2630;border:1px solid transparent;padding:9px 8px;border-radius:5px;min-height:67px}.fraud-list-button.selected{background:#332f24;border-color:#917339;box-shadow:inset 3px 0 var(--gold)}.fraud-list-button.is-locked{background:#171f27;color:#98a3ad}.fraud-list-button.is-locked .fraud-thumbnail{opacity:.5}.fraud-list-button.is-locked.selected{border-color:#9b824e;background:#2b2922}.sprite.fraud-thumbnail{width:42px;height:42px;flex-shrink:0}.fraud-option-copy{min-width:0}.fraud-option-copy>strong{display:block;font-size:.9rem;line-height:1.3;font-weight:650}.fraud-option-copy>small{display:block;font-size:.9rem;line-height:1.4;margin-top:5px;color:var(--muted)}.fraud-list-button.selected .fraud-option-copy>strong{color:var(--gold)}
@container(max-width:540px){.fraud-workspace{grid-template-columns:1fr;height:auto;min-height:0}.game-content .fraud-detail{max-height:none;height:auto}.fraud-catalogue{height:320px;max-height:320px}.fraud-overview{grid-template-columns:130px minmax(0,1fr)}}
@media(max-width:700px){.fraud-workspace{display:flex;flex-direction:column;height:auto;min-height:0;gap:16px}.fraud-catalogue{order:0;width:100%;height:235px;max-height:235px}.game-content .fraud-detail{order:1;width:100%;height:auto;max-height:none;padding:15px}.fraud-overview{grid-template-columns:110px minmax(0,1fr);gap:10px}.fraud-heading h2{font-size:1rem;margin-bottom:12px}.fraud-chance .chance{font-size:1.35rem}.fraud-list-button{min-height:62px}.fraud-metrics{font-size:.9rem}.fraud-participant .sprite.portrait{width:48px;height:48px}.fraud-participants-head{flex-wrap:wrap;gap:4px}}
.game-shell>.game-content.fraud-view{padding-bottom:20px}
@media(min-width:701px) and (max-height:760px){.fraud-overview{grid-template-columns:110px minmax(0,1fr);margin-bottom:14px}.fraud-metrics{padding:12px 0;gap:10px 16px;margin-bottom:14px}.fraud-participants-head{margin-top:18px;margin-bottom:10px}.fraud-participant .sprite.portrait{width:48px;height:48px}.fraud-participants{gap:8px}.fraud-participant{padding:8px}.fraud-heading h2{margin-bottom:12px}}

/* Compact, readable controls and account detail. */
:root{font-size:16px;font-weight:500}body{font-weight:500}button,input,select,summary{font-weight:600}p,small,dt,label,time,span,li{font-weight:500}h1,h2,h3,strong,b{font-weight:700}p{line-height:1.45;margin-bottom:9px}small{line-height:1.4}h2{margin-bottom:8px}button{padding:9px 12px;min-height:40px}button:disabled{opacity:.6}button .pixel-icon{margin-right:5px}
.game-shell{grid-template-columns:184px minmax(0,1fr) 264px}.navigation-panel{padding:18px 12px;gap:16px}.side-nav{gap:4px}.side-nav button{min-height:46px;padding:10px;gap:8px}.navigation-footer{padding-top:14px;gap:5px}.sidebar-brand{height:68px}.sidebar-save{padding:4px 8px}.game-shell>.game-content{padding:20px 18px 32px}.game-content .section-head{margin-bottom:14px;gap:10px}.game-content h1{font-size:1.55rem;margin-bottom:4px}.game-content .card{padding:14px}.game-content .card-grid,.game-content .people-grid{gap:10px}.game-content .people-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}.game-content .card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))}.subtabs{gap:6px;margin-bottom:12px}.card-bottom{margin-top:12px;gap:8px}.reward{margin:9px 0}.person-card{gap:12px;align-items:center}.person-content p{margin:7px 0}.person-card .sprite.portrait{width:80px;height:80px}.person-content button{font-size:.9rem}.person-content h2{font-size:1rem}.sprite.building,.sprite.club-art{width:min(100%,145px);margin:0 auto 8px}.shop-art{width:130px!important;height:130px!important;margin-bottom:8px}.shop-card p{margin-bottom:8px}.shop-total{margin-bottom:12px}.service-heading{margin-top:14px;margin-bottom:10px}.services{margin-bottom:12px}.service-card{padding:10px;gap:10px}.game-content .service-grid{gap:10px}.service-card .sprite.portrait,.service-art{width:70px;height:70px}.section-note{margin-top:14px}.attributes{margin-top:14px;margin-bottom:12px}.bonus-section{margin-bottom:12px}.feed{margin-top:8px;margin-bottom:0}.feed li{padding:3px 0}.pause-banner{padding:8px;margin-bottom:12px}.game-content .recovery{margin:0 0 14px;gap:10px;padding:12px}.recovery>div{flex:1;min-width:min(100%,220px)}.recovery h2{margin-bottom:4px}
.player-panel{padding:14px 12px;gap:10px}.player-block{padding:12px}.avatar-panel{padding:3px 10px 6px}.avatar-panel .sprite.avatar-sprite{max-width:184px}.avatar-panel figcaption{font-size:.95rem}.player-cash{font-size:1.65rem;margin-bottom:5px}.player-budget{margin-bottom:5px;flex-wrap:wrap;font-size:.9rem}.player-budget button{font-size:.9rem;min-height:28px}.game-clock{display:flex;justify-content:space-between;gap:8px;font-size:.9rem;color:var(--muted);margin-bottom:8px;font-variant-numeric:tabular-nums}.player-spending{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:.9rem!important;margin:3px 0 12px}.player-spending strong{color:var(--text)}.resource-meter>span{font-size:.9rem;margin-bottom:6px}.resource-meter+.resource-meter{margin-top:11px}.side-stats{gap:8px;margin-bottom:12px;font-size:.95rem}.player-attributes h2{margin-bottom:9px}.player-level-row{margin-bottom:7px;font-size:.9rem}.player-level-row small{font-size:.9rem}.distribute-points{font-size:.9rem;margin-top:9px}.negative,.player-cash.negative{color:var(--red)!important}
.fraud-view .section-head{margin-bottom:12px}.fraud-workspace{gap:12px;height:calc(100dvh - 105px);min-height:470px;grid-template-columns:minmax(0,1.2fr) minmax(200px,.9fr)}.game-content .fraud-detail{padding:14px}.fraud-overview{grid-template-columns:minmax(84px,125px) minmax(0,1fr);gap:10px;margin-bottom:12px}.fraud-heading h2{font-size:1.2rem;margin-bottom:10px}.fraud-chance>span{font-size:.9rem}.fraud-metrics{gap:10px 14px;padding:12px 0;margin-bottom:12px;font-size:.95rem}.fraud-metrics dt{font-size:.9rem;margin-bottom:2px}.fraud-metrics dd{font-size:1rem}.fraud-metrics .metric-return dd{font-size:1.15rem}.fraud-participants-head{margin:16px 0 8px;flex-wrap:wrap;gap:4px}.fraud-participants-head h3{font-size:1rem}.fraud-participants-head small{font-size:.9rem}.fraud-participant{padding:8px;gap:9px}.fraud-participant .sprite.portrait{width:52px;height:52px}.fraud-participant h3{font-size:.95rem;margin-bottom:3px}.fraud-participant p{font-size:.9rem}.fraud-participants{gap:7px}.fraud-list{gap:5px;padding:7px}.fraud-catalogue>h2{padding:12px;font-size:1rem}.fraud-list-button{min-height:70px;padding:7px;gap:8px}.fraud-option-copy>strong{font-size:.95rem}.fraud-option-copy>small{font-size:.9rem;margin-top:3px}.sprite.fraud-thumbnail{width:46px;height:46px}.fraud-apply{font-size:.95rem;min-height:44px}
.manager-picker{position:relative;margin:8px 0;font-size:.9rem}.manager-picker>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:7px 9px;background:#121b23;border:1px solid #61717c;border-radius:6px;color:var(--text);min-height:48px;margin:0}.manager-picker>summary::-webkit-details-marker{display:none}.manager-picker .sprite.portrait{width:34px;height:34px}.manager-picker>summary>span:not(.picker-arrow){flex:1;min-width:0;overflow-wrap:anywhere}.picker-arrow{margin-left:auto}.manager-options{margin-top:5px;padding:5px;max-height:290px;overflow-y:auto;background:#111a22;border:1px solid #61717c;border-radius:6px;display:grid;gap:4px;scrollbar-width:thin}.manager-option{display:flex;align-items:center;gap:8px;text-align:left;width:100%;font-size:.9rem;padding:6px 8px;background:#26333e}.manager-option>span{min-width:0}.manager-option small{display:block;font-size:.9rem;color:var(--muted);margin-top:2px}.manager-options>p{padding:7px;margin:0}.manager-options .portrait{width:40px!important;height:40px!important}.manager-option:disabled{opacity:.65}.manager-picker[open]>summary{border-color:var(--gold)}
.locked-person{background:#171e25;border-color:#303b44;min-height:112px}.silhouette{filter:brightness(0)}.unlock-requirement{display:flex;align-items:center;gap:5px;color:#c1c8ce!important}.unlock-requirement .pixel-icon{width:18px;height:18px}.managed-business{display:flex;align-items:center;gap:8px;margin:6px 0 8px;padding:5px 8px;background:#141c23;border-radius:5px}.managed-business .sprite.managed-art{width:44px;height:44px;flex-shrink:0}.managed-business strong,.managed-business small{display:block;font-size:.9rem}.managed-business small{margin-bottom:2px}
.bonus-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:8px}.bonus-source{display:flex;align-items:center;gap:10px;padding:8px;background:#131c24;border-radius:6px;min-width:0}.bonus-source h3{font-size:1rem;margin:0 0 3px}.bonus-source p{margin:5px 0 0}.sprite.bonus-art{width:58px;height:58px;flex-shrink:0}.bonus-source>div{min-width:0}
.dialog{padding:20px;width:720px;max-height:92dvh}.dialog-close{margin-bottom:7px}.dialog h2{margin-bottom:12px}.budget-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.budget-summary>div{display:flex;flex-direction:column;gap:4px;padding:10px;background:#111b24;border:1px solid var(--line);border-radius:6px}.budget-summary span{font-size:.9rem;color:var(--muted)}.budget-summary strong{font-size:1.08rem}.budget-groups{display:grid;gap:7px}.budget-group{border:1px solid var(--line);border-radius:6px;overflow:hidden}.budget-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;padding:12px;margin:0!important;color:var(--text);font-size:.95rem}.budget-group>summary:before{content:'▸';color:var(--gold)}.budget-group[open]>summary:before{content:'▾'}.budget-group>summary>span{flex:1}.budget-group summary strong{white-space:nowrap}.budget-items{padding:0 10px 6px}.budget-items>p{padding:8px;margin:0}.budget-item{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:.95rem}.budget-item>div{flex:1;min-width:0}.budget-item h3{font-size:.95rem;margin:0 0 3px}.budget-item p{margin:3px 0}.budget-item>strong{white-space:nowrap}.sprite.budget-art{width:48px;height:48px;flex-shrink:0}.budget-group>.budget-item{margin:0 12px}.budget-group>button{margin:0 12px 12px;max-width:calc(100% - 24px)}.budget-totals{gap:9px;margin:16px 0 0}.dialog>p{margin-top:14px;font-size:.9rem}.dialog-close button{font-size:.9rem}.dialog label{font-size:1rem}.dialog input[type=range]{min-height:30px}#toasts{font-size:1rem;font-weight:600;padding:12px 18px;max-width:min(640px,92vw);text-align:center}#toasts[data-kind=success]{background:#163b30;border-color:var(--teal)}#toasts[data-kind=failure]{background:#442824;border-color:var(--red)}#toasts:not(.visible){visibility:hidden}
@container(max-width:540px){.fraud-workspace{grid-template-columns:1fr;height:auto;min-height:0}.game-content .fraud-detail{height:auto;max-height:none}.fraud-catalogue{height:320px;max-height:320px}}
@media(min-width:701px) and (max-width:1050px){.game-shell{grid-template-columns:158px minmax(0,1fr) 232px}.navigation-panel{padding:14px 8px}.side-nav button{padding:9px 6px;gap:6px}.game-shell>.game-content{padding:18px 14px 28px}.player-panel{padding:12px 10px}.player-block{padding:10px}.player-cash{font-size:1.5rem}.game-content .card-grid{grid-template-columns:1fr}}
@media(max-width:700px){.game-shell{grid-template-columns:56px minmax(0,1fr)}.navigation-panel{padding:10px 4px;gap:10px}.sidebar-brand{width:46px;height:36px}.side-nav button{min-height:45px;padding:9px 3px}.navigation-footer button{font-size:0}.side-nav .point{font-size:.9rem!important;width:19px!important;height:19px!important}.player-panel{grid-template-columns:minmax(0,1fr) 70px;padding:10px;gap:7px}.avatar-panel{padding:0}.avatar-panel .sprite.avatar-sprite{width:70px;height:70px}.player-resources{padding:0}.player-attributes{padding:7px 0 0}.player-cash{font-size:1.5rem}.player-budget{gap:7px;margin-bottom:3px}.game-clock{flex-wrap:wrap;font-size:.9rem;margin-bottom:5px;gap:3px 8px}.player-spending{margin:3px 0 8px}.player-budget,.player-budget button,.resource-meter>span,.side-stats,.player-level-row,.distribute-points{font-size:.9rem}.side-stats{gap:6px;flex-wrap:wrap}.side-stats>div{gap:5px}.player-level-row{margin:3px 0 0}.game-shell>.game-content{padding:16px 10px 26px}.game-content .card{padding:12px}.game-content .card-grid,.game-content .people-grid{grid-template-columns:1fr;gap:9px}.game-content .section-head{margin-bottom:12px}.game-content .person-card{padding:11px;gap:8px;align-items:flex-start}.game-content .person-card>.portrait{width:56px;height:56px}.game-content .person-content h2{font-size:1rem}.game-content .person-content p,.game-content .person-content button,.game-content .lawyer-card p,.game-content .subtabs button,.game-content .section-note,.game-content .card-bottom>span,.game-content .card-bottom button,.game-content .section-head p{font-size:.9rem}.game-content .subtabs{gap:5px}.game-content .subtabs button{padding:8px;min-height:38px}.game-content .subtabs .pixel-icon{width:16px;height:16px;margin-right:4px}.game-content .lawyer-card{gap:8px}.game-content .lawyer-card .portrait{width:58px;height:58px}.game-content .service-card{padding:9px;gap:7px;align-items:flex-start}.game-content .service-card .portrait,.game-content .service-art{width:54px;height:54px}.fraud-workspace{display:flex;gap:10px;height:auto;min-height:0}.fraud-catalogue{height:250px;max-height:250px;width:100%}.game-content .fraud-detail{height:auto;max-height:none;width:100%}.fraud-overview{grid-template-columns:92px minmax(0,1fr)}.fraud-heading h2{font-size:1.05rem}.fraud-chance .chance{font-size:1.5rem}.fraud-list-button{min-height:69px}.fraud-metrics{gap:9px 12px}.fraud-participant .sprite.portrait{width:46px;height:46px}.game-content .shop-art{width:125px!important;height:125px!important}.dialog{padding:14px}.modal-backdrop{padding:10px}.budget-group>summary{padding:10px;gap:6px;flex-wrap:wrap}.budget-group summary strong{font-size:.9rem}.budget-item{flex-wrap:wrap;gap:7px}.budget-item>strong{margin-left:auto}.budget-item .sprite.budget-art{width:42px;height:42px}.budget-summary{gap:6px}.budget-summary>div{padding:8px}.budget-summary strong{font-size:1rem}.budget-totals{font-size:.9rem}.locked-person{min-height:90px}.bonus-source{padding:7px;gap:7px}.sprite.bonus-art{width:48px;height:48px}#toasts{bottom:14px;font-size:.95rem}}

@media(min-width:701px){.game-content .fraud-detail{height:auto}}
.game-content .person-card{align-items:flex-start}
.manager-picker[open]>summary{margin-bottom:0}
[data-scroll]{overflow-anchor:none}

/* 0.5.5: viewport shell, floating pickers and consistent visual feedback. */
body.is-playing{height:100dvh;overflow:hidden}body.is-playing #app{height:100dvh;overflow:hidden}.game-shell{height:100dvh;min-height:0;overflow:hidden;align-items:stretch}.game-shell>.game-content{height:100%;min-height:0!important;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.navigation-panel,.player-panel{height:100%;min-height:0;position:static;overscroll-behavior:contain}.player-panel{overflow-y:auto}.game-content .people-grid{grid-template-columns:minmax(0,1fr);gap:8px}.game-content .person-card{padding:12px;gap:12px;align-items:flex-start}.game-content .person-card>.portrait{width:64px;height:64px}.person-content{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;align-items:start}.person-content .card-title{display:flex;align-items:baseline;justify-content:flex-start;gap:10px;grid-column:1}.person-content h2{font-size:1rem;margin:0}.person-content .card-title>span{font-size:.9rem}.person-content p{margin:0;grid-column:1}.person-content .actions,.person-content>button{grid-column:2;grid-row:1 / span 4;align-self:center;justify-self:end}.person-content .actions{max-width:260px;justify-content:flex-end}.person-content .managed-business{grid-column:1;margin:1px 0 0;max-width:360px;padding:4px 7px}.managed-business .sprite.managed-art{width:36px;height:36px}.locked-person{min-height:80px}.unlock-requirement{margin-top:6px!important}.game-content .person-card.locked-person>.portrait{width:56px;height:56px}
@media(min-width:951px){.game-shell>.game-content.fraud-view{display:flex;flex-direction:column;overflow:hidden;padding-bottom:20px}.fraud-view>.section-head,.fraud-view>.pause-banner{flex:none}.fraud-workspace{flex:1;height:auto;min-height:0;align-items:start;overflow:hidden}.game-content .fraud-detail{max-height:100%;height:auto;min-height:0;overflow-y:auto}.fraud-catalogue{height:100%;min-height:0}.fraud-view>.obligation{overflow:auto}}
@media(min-width:701px) and (max-width:950px){.fraud-workspace{height:auto;min-height:0}.game-content .fraud-detail{height:auto;max-height:none}.fraud-catalogue{height:320px;max-height:320px}}
.manager-options{position:fixed;inset:auto;z-index:90;margin:0;padding:5px;width:300px;max-width:calc(100vw - 24px);max-height:300px;overflow-y:auto;box-shadow:0 12px 35px #0009;border:1px solid #71828d;border-radius:8px;background:#17232e;color:var(--text);gap:4px}.manager-options:not(:popover-open){display:none}.manager-options:popover-open{display:grid}.manager-option{display:grid;grid-template-columns:40px minmax(0,1fr);min-height:58px;gap:9px;padding:7px;text-align:left}.manager-option>span:last-child{display:block}.manager-placeholder{width:40px;height:40px;display:grid;place-items:center}.manager-placeholder .sprite.pixel-icon{width:25px;height:25px;margin:0}.manager-option .portrait{margin:0}.manager-option small{font-size:.9rem;line-height:1.3}
.stat-label{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;white-space:nowrap;line-height:1.4}.stat-label .sprite.pixel-icon{width:21px;height:21px;margin:0;flex-shrink:0}.stat-label strong{margin-left:2px}.stat-labia{color:#ffcf72}.stat-analise{color:#7cddce}.stat-influencia{color:#d9b0f4}.stats-inline,.shop-total{display:flex;flex-wrap:wrap;gap:5px 13px;align-items:center;line-height:1.45}.stats-inline{color:var(--text)!important}.side-stats dt .stat-label .pixel-icon{width:20px;height:20px}.side-stats>div{align-items:center}.side-stats dd{color:var(--text)}.attributes h2 .stat-label{font-size:1rem}.bonus-source p{margin-top:5px}.stat-number{line-height:1.35}.bonus-source>div{flex:1}
.player-balance{display:flex;align-items:center;gap:8px;margin:3px 0 7px}.player-balance>.pixel-icon{width:27px;height:27px;margin:0}.player-balance>.player-cash{margin:0}.player-budget{margin-bottom:8px;align-items:center}.resource-caption{display:flex;gap:5px;align-items:center;flex:1;min-width:0}.resource-caption>.pixel-icon{width:18px;height:18px;margin:0}.resource-caption [data-live=budget]{font-size:.9rem}.player-spending{padding-top:7px;border-top:1px solid var(--line);margin:0 0 12px;align-items:center}.player-spending>span,.resource-meter>span>span{display:inline-flex;align-items:center;gap:5px}.player-spending .pixel-icon,.resource-meter .pixel-icon{width:20px;height:20px;margin:0}.player-spending strong{color:#f2b880}.resource-meter [data-live=energy]{color:#7cddce}.resource-meter [data-live=wanted]{color:#f49f9a}.resource-meter .pixel-icon{vertical-align:middle}.resource-meter>span{align-items:center}.upkeep-value{color:#f2b880!important;display:flex;align-items:center;gap:4px}.upkeep-value .pixel-icon{width:18px;height:18px;margin:0}.energy-value{color:#7cddce}.risk-value{color:#f49f9a}.money-value{color:#ffcf72}.service-facts{display:flex;flex-direction:column;gap:5px;margin:6px 0 8px}.service-facts>span{display:flex;align-items:center;gap:5px;font-size:.9rem}.service-facts .pixel-icon{width:19px;height:19px;margin:0}.service-card .stats-inline{margin:6px 0;font-size:.9rem}.service-card small{display:block;margin-bottom:7px}.fraud-metrics dt{display:flex;align-items:center;gap:4px}.fraud-metrics dt .pixel-icon{width:18px;height:18px;margin:0}.fraud-metrics dd{padding-top:2px}.reward{display:flex;align-items:center;gap:5px}.reward .pixel-icon{margin:0}
.game-content .card-grid:has(.lawyer-card){grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}.game-content .lawyer-card{gap:12px}.game-content .lawyer-card>.portrait{width:64px;height:64px}.lawyer-card>div{flex:1}.fact-list{display:grid;grid-template-columns:1fr;gap:8px;margin:10px 0 12px;font-size:.9rem}.fact-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center}.fact-list dt{display:flex;align-items:center;gap:5px;font-size:.9rem}.fact-list .pixel-icon{width:18px;height:18px;margin:0}.fact-list dd{font-size:.95rem;text-align:right}.fact-cost dd{color:#ffcf72}.fact-upkeep dd{color:#f2b880}.fact-protection dd{color:#7cddce}.fact-list dt{color:#bec8d0}
.history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}.history-heading h2{margin:0}.history-summary{display:flex;flex-wrap:wrap;gap:8px 16px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:.9rem}.history-summary>span{display:flex;gap:5px;align-items:center}.history-summary .pixel-icon{width:19px;height:19px;margin:0}.activity-list{list-style:none;padding:0;margin:0}.activity-row{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);align-items:flex-start}.activity-row:last-child{border-bottom:0;padding-bottom:0}.sprite.event-art{width:42px;height:42px;flex-shrink:0}.activity-row>.pixel-icon{width:34px;height:34px;margin:4px;flex-shrink:0}.activity-copy{flex:1;min-width:0}.activity-heading{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.activity-heading>strong{font-size:.95rem}.activity-heading time{font-size:.9rem;color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0}.activity-copy>p{margin:4px 0 0;font-size:.9rem}.activity-footer{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:7px}.activity-footer>small{margin-right:auto;font-size:.9rem}.activity-success .activity-heading>strong{color:#99e1c7}.activity-failure .activity-heading>strong,.activity-warning .activity-heading>strong{color:#ffb0a1}.change-chip{display:inline-flex;gap:4px;align-items:center;border-radius:5px;padding:3px 6px;background:#111b24;white-space:nowrap;font-size:.9rem}.change-chip .pixel-icon{width:16px;height:16px;margin:0}.change-cash.is-gain{color:#99e1c7}.change-cash.is-cost,.change-debt.is-gain{color:#f2b880}.change-energy{color:#7cddce}.change-xp{color:#ffcf72}
#toasts{left:auto;bottom:20px;right:max(280px,calc((100vw - 1800px)/2 + 280px));transform:none;width:min(410px,calc(100vw - 480px));max-width:none;padding:0;background:none;border:0;box-shadow:none;text-align:left;pointer-events:none;border-radius:10px;opacity:0;transition:opacity .16s,translate .16s;translate:0 8px}#toasts.visible{opacity:1;translate:0 0}#toasts[data-kind=success],#toasts[data-kind=failure]{background:none;border:0}.toast-card{position:relative;display:flex;align-items:flex-start;gap:11px;padding:14px 12px 16px;border:1px solid #53646e;border-left:3px solid #89b6c9;background:#1b2833;box-shadow:0 12px 36px #0009;border-radius:9px;overflow:hidden;pointer-events:auto}.toast-success{border-left-color:#7cddba}.toast-failure{border-left-color:#ff9c91}.toast-warning{border-left-color:#ffc966}.toast-art{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:7px;background:#111b24}.toast-art>.event-art{width:38px;height:38px}.toast-art>.pixel-icon{width:28px;height:28px;margin:0}.toast-copy{min-width:0;flex:1;padding-right:4px}.toast-copy>strong{display:block;font-size:1rem;line-height:1.35;color:#f3f0e7}.toast-copy>p{margin:4px 0 0;font-size:.9rem;color:#b9c8d2}.toast-changes{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.toast-changes:empty{display:none}.toast-dismiss{display:grid;place-items:center;min-height:26px;width:26px;padding:4px;border:0;background:none;border-radius:5px;flex-shrink:0}.toast-dismiss .pixel-icon{width:16px;height:16px;margin:0}.toast-timer{position:absolute;bottom:0;left:0;height:2px;width:100%;background:#89b6c9;transform-origin:left;animation:toast-countdown 4s linear forwards}.toast-success .toast-timer{background:#7cddba}.toast-failure .toast-timer{background:#ff9c91}.toast-warning .toast-timer{background:#ffc966}@keyframes toast-countdown{to{transform:scaleX(0)}}
@media(max-width:1050px) and (min-width:701px){#toasts{right:245px;width:min(380px,calc(100vw - 425px))}}
@media(max-width:700px){.game-shell{grid-template-rows:auto minmax(0,1fr)}.navigation-panel{height:100dvh}.player-panel{height:auto;overflow:visible}.game-shell>.game-content{height:100%;min-height:0!important}.game-content .fraud-workspace{height:auto;min-height:0;overflow:visible}.game-content .fraud-detail{max-height:none}.game-content .person-card{gap:8px;padding:11px}.game-content .person-card>.portrait,.game-content .person-card.locked-person>.portrait{width:48px;height:48px}.person-content{grid-template-columns:minmax(0,1fr);gap:5px}.person-content .actions,.person-content>button{grid-column:1;grid-row:auto;justify-self:start;justify-content:flex-start;max-width:100%;margin-top:3px}.person-content .card-title{flex-wrap:wrap;gap:2px 8px}.person-content .managed-business{width:100%;max-width:100%}.stats-inline,.shop-total{gap:5px 9px}.stat-label .sprite.pixel-icon{width:18px;height:18px}.player-attributes .side-stats{gap:6px 10px}.side-stats dt .stat-label .pixel-icon{width:17px;height:17px}.side-stats .stat-label{gap:3px}.resource-caption>.pixel-icon{width:16px;height:16px}.player-balance{margin:2px 0 5px;gap:6px}.player-balance>.pixel-icon{width:23px;height:23px}.player-spending{padding-top:5px;margin-bottom:8px}.player-budget{gap:5px;margin-bottom:5px}.player-budget button{min-height:24px}.player-attributes .side-stats>div{gap:4px}.resource-meter+.resource-meter{margin-top:8px}.game-content .lawyer-card>.portrait{width:52px;height:52px}.fact-list>div{grid-template-columns:1fr;gap:2px}.fact-list dd{text-align:left;padding-left:23px}.activity-heading{flex-wrap:wrap;gap:4px}.activity-heading time{font-size:.9rem}.activity-row{gap:7px}.activity-row>.event-art{width:34px;height:34px}.activity-footer>small{width:100%;margin-right:0}.history-heading{flex-wrap:wrap;gap:4px}.history-summary{gap:6px}#toasts{right:10px;bottom:12px;width:calc(100vw - 76px)}.toast-card{padding:11px 9px 13px;gap:8px}.toast-art{width:34px;height:34px}.toast-art>.event-art{width:30px;height:30px}.toast-art>.pixel-icon{width:24px;height:24px}.toast-copy>strong{font-size:.95rem}.toast-dismiss{width:24px;min-height:24px}.toast-changes{gap:4px}.toast-changes .change-chip{padding:3px 4px}.toast-copy>p{font-size:.9rem}}

.club-facts{display:grid;gap:6px;margin:9px 0;font-size:.9rem}.club-facts>span{display:flex;align-items:center;gap:5px}.club-facts .pixel-icon{width:19px;height:19px;margin:0}.shop-role{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:center}.shop-role .upkeep-value{display:inline-flex;align-items:center;gap:5px}.shop-role .pixel-icon{width:18px;height:18px;margin:0}.budget-summary>div>span{display:flex;align-items:center;gap:5px}.budget-summary .pixel-icon{width:18px;height:18px;margin:0}.fraud-metrics>div:first-child dd{color:#7cddce}.fraud-metrics>div:nth-child(2) dd{color:#f2b880}.fraud-metrics .metric-return dd{color:#99e1c7}

@media(min-width:701px){.activity-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}.activity-heading{grid-column:1 / 3}.activity-copy>p{grid-column:1;margin:0}.activity-footer{grid-column:2;grid-row:2;margin:0;justify-content:flex-end}.activity-row{padding:10px 0}.activity-footer:empty{display:none}}

/* 0.5.6: notices stay at the upper content corner; all businesses remain visible. */
#toasts{top:12px;bottom:auto;overflow:auto;transform:translateY(-8px)}#toasts.visible{transform:translateY(0)}

.fraud-repeat{display:flex;gap:6px;margin:2px 0 8px}.fraud-repeat button{flex:1;min-height:34px;padding:6px 8px;font-size:14px;font-weight:600}.fraud-repeat button.selected{border-color:var(--gold);background:#3b3323;color:var(--gold)}.fraud-batch-estimate{font-size:14px;color:var(--muted);margin:0 0 8px;line-height:1.4}
.fraud-timer{padding:12px;border:1px solid #557c70;border-radius:6px;background:#1b302b;margin:8px 0 12px}.fraud-timer-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.fraud-timer-heading time{font-size:1.35rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--teal)}.fraud-timer p{margin:7px 0!important;overflow-wrap:anywhere}.game-shell .player-resources .fraud-timer-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;width:100%;min-width:0;margin:10px 0 14px;padding:10px;border:1px solid #3f5e53;border-radius:7px;background:#192b27;box-shadow:none;text-align:left}.fraud-timer-compact .fraud-timer-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;color:var(--text)}.fraud-timer-compact time{white-space:nowrap;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--teal)}.fraud-timer-compact progress{grid-column:1 / -1;height:3px}
.toast-card{pointer-events:none}.toast-dismiss{pointer-events:auto}
.fraud-energy-help{margin:13px 0 4px;padding:12px;border:1px solid #37615e;border-radius:8px;background:#142b2c}.fraud-energy-help p{display:flex;align-items:center;gap:7px;margin:0 0 10px;font-size:14px;color:#c6ddd6}.fraud-energy-help p>.pixel-icon{width:21px;height:21px;margin:0;flex-shrink:0}.energy-recovery-link{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;background:#23473f;border-color:#76b7a3;color:#c5f3df;font-size:14px}.energy-recovery-link>.pixel-icon{width:22px;height:22px;margin:0;flex-shrink:0}.energy-recovery-link:hover:not(:disabled){background:#2d5d50;border-color:#a2d9c4}
/* Health, medicines and purchases stay visible beside the content. */
@media(min-width:701px){.player-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.player-resources{overflow-y:auto;scrollbar-width:thin}.player-attributes{min-height:0}.player-attributes .side-stats{margin-bottom:9px}}
.player-attributes h2{margin-bottom:5px}.attribute-price{display:flex;justify-content:space-between;gap:6px;margin:0 0 9px;font-size:14px;color:var(--muted)}.attribute-price strong{color:var(--gold)}.side-stats>div{display:grid;grid-template-columns:minmax(0,1fr) auto 32px;gap:5px}.side-stats dd{white-space:nowrap;margin:0}.bought{color:#89d9bf;font-size:.75em}.buy-attribute{min-height:28px;width:32px;padding:3px;font-size:14px;color:var(--gold)}.health-meter [data-live=health],.health-value{color:#9bdfa9}.health-cost{color:#f2b880}progress.health{accent-color:#9bdfa9}progress.health::-webkit-progress-value{background:#9bdfa9}.change-health{color:#9bdfa9}.participant-impact{margin-left:7px;font-weight:700;white-space:nowrap}.pharmacy-status{margin-bottom:14px}.pharmacy-status h2{display:flex;gap:7px;align-items:center}.pharmacy-status h2 strong{margin-left:auto;color:#9bdfa9}.medicine-card{display:flex;gap:12px;align-items:center}.medicine-card .medicine-art{width:80px;height:80px;flex-shrink:0}.medicine-card>div{min-width:0}.medicine-card p{display:flex;align-items:center;gap:6px;margin:7px 0}.medicine-card .pixel-icon{width:20px;height:20px;margin:0}.medicine-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important}.character-name-label{display:block;margin:16px 0 7px;font-weight:600}#character-name{display:block;width:100%;max-width:420px;min-height:44px;padding:10px 12px;border:1px solid #73838e;border-radius:6px;background:#111b24;color:var(--text);font:500 16px system-ui}#character-name:focus{outline:2px solid var(--teal);outline-offset:2px}.attributes .bought{font-size:.6em}.player-panel .avatar-panel .avatar-sprite{width:112px;height:112px}.player-panel .avatar-panel{padding:8px}.player-panel .avatar-panel figcaption{overflow-wrap:anywhere}
@media(max-width:700px){.player-panel .avatar-panel{padding:0}.player-panel .avatar-panel .avatar-sprite{width:60px;height:60px}.player-attributes{display:block}.player-attributes .side-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;flex:none;margin-bottom:5px}.player-attributes .side-stats>div{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:2px}.player-attributes .side-stats dt{grid-column:1 / 3}.player-attributes .side-stats dd{font-size:14px}.player-attributes .buy-attribute{width:30px;min-height:28px}.attribute-price{margin-bottom:5px;width:100%}.player-attributes .stat-label{font-size:14px}.player-level-row{margin-top:6px}.player-attributes .side-stats .bought{font-size:14px}.resource-meter+.resource-meter{margin-top:6px}.clock-speed{margin-bottom:5px}.player-panel{padding:8px;grid-template-columns:minmax(0,1fr) 60px}.side-nav{gap:4px}.side-nav button{min-height:42px}.medicine-card .medicine-art{width:58px;height:58px}}
.night-encounters{margin:14px 0 16px;padding:12px;background:#111c25;border:1px solid #3b4e5a;border-radius:8px}.encounters-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.encounters-heading h3{margin:0}.encounters-heading button{font-size:14px}.encounter-odds{display:flex;flex-wrap:wrap;gap:6px 14px;margin:7px 0}.encounter-odds>span{display:inline-flex;align-items:center;gap:5px;font-size:14px}.encounter-odds .pixel-icon{width:19px;height:19px;margin:0}.meeting-place{display:flex;align-items:center;gap:8px;margin:8px 0}.meeting-place .meeting-art{width:42px;height:42px;flex-shrink:0}.meeting-place strong,.meeting-place small{display:block}.game-content .night-encounters .person-card{margin:0}.night-encounters .empty{padding:8px 0}.night-encounters .section-note{margin:8px 0 12px}.encounter-card .person-content>button{margin-top:7px}
.business-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.game-content .business-card{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:12px;padding:14px;min-height:112px}.game-content .business-card>.building{width:84px;height:84px;margin:0}.business-content{min-width:0}.business-content h2{margin:0 0 6px}.business-content>.reward{margin:4px 0 8px}.business-content .manager-picker{max-width:420px}.business-content>.card-bottom{margin:8px 0 0}.business-offer{display:flex;flex-wrap:wrap;gap:6px 18px;margin:7px 0 9px}.business-offer>span{display:inline-flex;align-items:center;gap:5px}.business-offer .pixel-icon{width:19px;height:19px;margin:0}.locked-business{background:#171e25;border-color:#303b44}.services-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 12px}.services-heading h2{margin:0}.service-description{display:block;margin:4px 0 7px}.service-card>div{min-width:0}.service-facts{flex-wrap:wrap}.service-card .stats-inline{margin:7px 0 3px}.service-card small+button{margin-top:9px}
@media(max-width:700px){.game-content .business-card{grid-template-columns:54px minmax(0,1fr);gap:8px;padding:11px}.game-content .business-card>.building{width:54px;height:54px}.business-content .card-bottom{flex-wrap:wrap}.business-offer{gap:5px 10px}.service-description{font-size:14px}}

/* Shared controls: actions 44px, compact utilities 32px, catalog/manager rows retain their image layout. */
.police-screen{max-width:850px;margin:0 auto;border-color:#7376a1}.fraud-view>.police-screen{overflow:auto;max-height:100%;min-height:0}.police-scene{display:flex;align-items:center;justify-content:center;gap:15px;padding:6px 0 16px;background:#141e29;border-radius:8px;margin-bottom:18px}.police-scene .police-officer{width:100px;height:100px}.police-scene .police-car{width:140px;height:100px}.police-heat{display:flex;align-items:center;gap:7px;font-size:14px;color:#f3c478}.police-heat .pixel-icon{width:20px;height:20px;margin:0;flex-shrink:0}.police-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.police-choices>article{display:flex;flex-direction:column;padding:14px;border:1px solid #465465;border-radius:8px;background:#14202b}.police-choices article>button{width:100%;margin-top:auto}.police-choices article p{font-size:14px}.police-choices .money-value{display:flex;gap:5px;align-items:center}.police-choices .money-value>.pixel-icon{width:20px;height:20px;margin:0}.police-warning{font-size:14px;margin:16px 0 0;color:#f6b0a0}
@container(max-width:650px){.police-choices{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.police-scene{gap:5px}.police-scene .police-officer{width:66px;height:66px}.police-scene .police-car{width:86px;height:66px}.police-choices{grid-template-columns:minmax(0,1fr)}.police-choices>article{padding:12px}.police-screen h1{font-size:1.35rem}}
:root{--button-height:44px;--button-compact:32px;--button-radius:7px;--button-font:14px;--button-gap:7px}
.game-shell button,.game-shell .game-content button,.dialog button,.title-screen button{display:inline-flex;align-items:center;justify-content:center;gap:var(--button-gap);min-height:var(--button-height);padding:10px 12px;border-radius:var(--button-radius);font-size:var(--button-font);font-weight:650;line-height:20px;vertical-align:middle;max-width:100%}
.game-shell button>.pixel-icon,.dialog button>.pixel-icon,.title-screen button>.pixel-icon{width:20px;height:20px;margin:0;flex-shrink:0}
.game-shell .side-nav button,.game-shell .navigation-footer button{justify-content:flex-start;min-height:var(--button-height)}
.game-shell .game-content .fraud-list-button{display:flex;justify-content:flex-start;min-height:70px;padding:7px;gap:8px;text-align:left}
.game-shell .game-content .manager-option{display:grid;grid-template-columns:40px minmax(0,1fr);min-height:58px;padding:7px;gap:9px;justify-content:stretch;line-height:20px}
.game-shell .game-content .manager-option .portrait{width:40px;height:40px}
.game-shell .manager-picker>summary{min-height:44px;padding:6px 10px;font-size:14px;gap:7px;align-items:center}.game-shell .manager-picker>summary .portrait{width:28px;height:28px}
.game-shell .buy-attribute,.game-shell .player-budget button{min-height:var(--button-compact);padding:4px 6px;font-size:var(--button-font);line-height:20px}
.game-shell .buy-attribute{width:var(--button-compact);height:var(--button-compact);padding:4px;gap:0}
.game-shell .side-stats>div{grid-template-columns:minmax(0,1fr) auto var(--button-compact)}
.toast-card .toast-dismiss{display:inline-flex;align-items:center;justify-content:center;width:var(--button-compact);min-height:var(--button-compact);height:var(--button-compact);padding:7px;gap:0;border-radius:var(--button-radius)}
.toast-card .toast-dismiss>.pixel-icon{width:18px;height:18px;margin:0}
.game-shell .medicine-card>div,.game-shell .service-card>div{flex:1;min-width:0}
.game-shell .game-content .medicine-card button,.game-shell .game-content .service-card button,.game-shell .game-content .lawyer-card button,.game-shell .game-content .shop-card button,.game-shell .game-content .attributes button{width:100%}
.game-shell .game-content .obligation .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.game-shell .game-content .obligation .actions button{width:100%}
.player-level-row>strong,.business-content .card-bottom>span{display:inline-flex;align-items:center;gap:5px}
.player-level-row .level-icon,.business-content .card-bottom .level-icon,.unlock-requirement .level-icon{width:20px;height:20px;margin:0;flex-shrink:0}
.night-fraud-return{display:flex;align-items:center;gap:12px;margin:0 0 14px;border-color:#508778;background:#192e2b}
.night-fraud-return>.return-fraud-art{width:66px;height:66px;flex-shrink:0}
.night-fraud-return>div{flex:1;min-width:0}.night-fraud-return h2{color:#a3e2c9;margin:0 0 3px}.night-fraud-return p{margin:0 0 9px;color:var(--text)}
@media(max-width:700px){.game-shell .side-nav button{min-height:44px;width:44px;justify-content:center;padding:10px;margin-inline:auto}.game-shell .navigation-footer button{width:44px;min-height:44px;padding:10px;justify-content:center;font-size:0;gap:0;margin-inline:auto}.game-shell .player-attributes .side-stats>div{grid-template-columns:minmax(0,1fr) var(--button-compact)}.game-shell .player-attributes .buy-attribute{width:var(--button-compact);min-height:var(--button-compact)}.game-shell .game-content .obligation .actions{grid-template-columns:minmax(0,1fr)}.night-fraud-return>.return-fraud-art{width:44px;height:44px;align-self:flex-start}.night-fraud-return{gap:9px}.night-fraud-return button{width:100%}}
.account-label{font-size:14px;color:var(--muted,#b9b5ad);overflow-wrap:anywhere}
.target-defense{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:8px;background:#171f27}.target-defense h3{margin:0 0 10px}.target-defenders{display:flex;flex-wrap:wrap;gap:12px}.target-defender{display:flex;align-items:center;gap:8px;min-width:0}.target-defender .portrait{width:48px;height:48px}.target-defender strong{font-size:14px;overflow-wrap:anywhere}.target-defenders>p{margin:0}
.nickname-invite{margin-bottom:18px}.nickname-invite>label{color:var(--text);font-weight:650;margin-bottom:8px}.nickname-invite-controls{display:flex;gap:10px;align-items:stretch}.nickname-invite-controls input{flex:1;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #53616d;border-radius:7px;background:#131b22;color:var(--text)}.nickname-invite small{display:block;margin-top:9px}.nickname-invite-controls button{flex-shrink:0}
@media(max-width:700px){.nickname-invite-controls{flex-direction:column}.nickname-invite-controls button{width:100%}}
.title-actions .oauth-google,.title-actions .oauth-discord{min-height:48px;justify-content:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.character-selection{max-width:1000px;min-height:100dvh;margin:auto;padding:32px 40px;display:flex;flex-direction:column;justify-content:center}
.character-selection-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:48px}.selection-brand{width:180px;height:90px;object-position:left}.character-selection h1{margin-bottom:24px;font-size:1.8rem}
.character-selection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,280px));gap:20px}.character-card{min-width:0;padding:24px;border:1px solid #725e39;border-radius:12px;background:radial-gradient(ellipse at 50% 25%,#302838,#19212a 72%);text-align:center}.character-card .sprite.selection-avatar{display:block;width:160px;height:180px;margin:0 auto 16px}.character-card h2{margin:0 0 8px;font-size:1.3rem;overflow-wrap:anywhere}.character-card p{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:20px;font-size:14px}.character-card .level-badge{margin:0}.character-card button{width:100%;min-height:44px}
.character-create{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:280px;border:1px dashed #58636b;border-radius:12px;background:#171f26;color:var(--muted);font-size:16px}.character-create>span{display:grid;place-items:center;width:56px;height:56px;border:1px solid #46545d;border-radius:50%;font-size:32px;font-weight:400;color:var(--gold)}.character-create:hover{color:var(--text)}.selection-saves{align-self:flex-start;margin-top:20px}.selection-version{margin-top:32px;font-size:12px}.connection-notice{display:grid;gap:5px;color:var(--gold);font-size:13px}.connection-notice button{padding:5px;font-size:13px}
@media(max-width:600px){.character-selection{padding:20px;justify-content:flex-start}.character-selection-header{margin-bottom:28px;gap:10px}.selection-brand{width:145px;height:72px}.character-selection-header button{font-size:13px;padding:8px}.character-selection h1{font-size:1.45rem}.character-selection-grid{grid-template-columns:minmax(0,1fr)}.character-card{padding:20px}.character-card .sprite.selection-avatar{height:150px;margin-bottom:12px}.character-create{min-height:120px;flex-direction:row;gap:12px}.character-create>span{width:40px;height:40px;font-size:26px}.selection-version{margin-top:24px}}
.title-actions .oauth-discord{background:#404aa5;border-color:#7b84ed;color:#fff;box-shadow:0 3px 0 #272f72}
.title-actions>p,.title-actions>small{flex-basis:100%;max-width:100%;margin:0}
.title-actions [role="alert"]{color:#ffc7a8;max-width:40ch}
.level-badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:14px;color:var(--gold)}.level-badge .level-icon{width:20px;height:20px;margin:0}.person-card .card-title .level-badge{margin:4px 12px 4px 0}.business-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}.business-status .reward{margin:0;font-size:1rem!important}.power-breakdown{margin:9px 0!important;color:var(--text)}.power-breakdown strong{color:var(--gold);font-size:1.2rem}.power-breakdown small{display:block}.defense-roster{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.defense-roster>span{font-size:13px;background:#16302c;color:#b9e6d6;padding:4px 8px;border:1px solid #385f55;border-radius:5px}.defense-help{padding:10px 8px;font-size:13px!important;margin:0!important}.manager-option.selected{background:#234137;border-color:#6bae92}.manager-options .level-badge{font-size:12px}.manager-options .level-icon{width:15px;height:15px}.closed-business{border-color:#aa5e50;background:#2c2225}.social-rules{margin-bottom:18px}.social-rules p:last-child{margin-bottom:0}.social-offline{color:var(--gold)}.war-button{border-color:#b47065;background:#4a2c2b;color:#ffc3b6}.cooldown{display:block;color:#f4c17a!important}.ally-power{font-weight:700;color:var(--gold)}.relation-pending,.relation-sent{color:var(--gold)}.attack-team{border:1px solid var(--line);border-radius:8px;margin:18px 0;padding:10px;min-width:0}.attack-member{display:flex;align-items:center;gap:10px;margin:0!important;padding:9px 0;border-bottom:1px solid var(--line)}.attack-member:last-child{border-bottom:0}.attack-member input{width:20px;height:20px;accent-color:var(--gold);flex-shrink:0}.attack-member .portrait{width:42px;height:42px}.attack-member>span{min-width:0;overflow-wrap:anywhere}.attack-member small{display:block}.combat-preview{display:flex;gap:10px;flex-wrap:wrap;padding:14px;background:#14272c;border:1px solid #4b706c;border-radius:8px}.combat-preview>span{flex-basis:100%;color:var(--gold)}.player-meeting-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.player-card h2{overflow-wrap:anywhere}
@media(max-width:700px){.business-content .card-bottom{gap:8px}.business-content .card-bottom>button{width:100%}.defense-roster{gap:4px}.person-content .actions>button{max-width:100%}.attack-team{padding:6px}.attack-member{gap:7px}.attack-member .portrait{width:32px;height:32px}}
/* Character creation: persistent avatar identity, separate from equipment. */
.character-dialog{width:min(1080px,100%);padding:24px;max-height:94dvh}.creation-heading{margin-bottom:20px}.creation-eyebrow{color:var(--gold);letter-spacing:.16em;font-size:.75rem;font-weight:700}.character-dialog .creation-heading h2{font-size:1.8rem;margin:6px 0}.creation-heading p{color:var(--muted);margin:0}.creation-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px}.creation-identity{min-width:0}.creation-preview{margin:0 0 18px;padding:16px 12px;background:radial-gradient(ellipse at 50% 38%,#3e304b,#17212a 72%);border:1px solid var(--line);border-radius:10px;text-align:center}.creation-preview .sprite.creation-sprite{display:block;width:100%;height:235px;margin:0 auto 8px}.creation-preview figcaption{color:var(--gold);font-size:1.3rem;font-weight:700;overflow-wrap:anywhere}.creation-preview h3{margin:6px 0;font-size:1rem}.creation-preview p{font-size:.85rem;color:var(--muted);margin:0;min-height:40px}.character-dialog .character-name-label{display:block;margin-bottom:7px}.character-dialog #character-name{width:100%;margin:0 0 6px;min-height:44px}.creation-identity>small{color:var(--muted);font-size:.8rem}.character-choices{min-width:0}.avatar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.avatar-heading h3{font-size:1rem;margin:0}.avatar-heading>span{font-size:.85rem;color:var(--muted)}.avatar-filters{display:flex;gap:6px;margin-bottom:12px}.avatar-filters button{min-width:76px;min-height:36px;font-size:.85rem;padding:7px 10px}.avatar-filters button[aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#3b3220}.avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:444px;overflow-y:auto;scrollbar-width:thin;padding:3px;overscroll-behavior:contain}.avatar-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:7px 4px;background:#17212a;border:2px solid #35434f;border-radius:8px;transition:border-color .15s,background .15s;text-align:center}.avatar-option[hidden]{display:none}.avatar-option:hover{background:#2a2b32;border-color:#8b7856}.avatar-option[aria-pressed=true]{border-color:var(--gold);background:#392f27;box-shadow:0 0 0 1px #ffc54a33}.avatar-option .sprite.avatar-choice-sprite{width:100%;height:auto;aspect-ratio:1}.avatar-option>span:first-of-type{font-size:.72rem;line-height:1.25;font-weight:600;min-height:27px;display:flex;align-items:center}.avatar-selected{display:none;position:absolute;right:4px;top:4px;width:18px;height:18px;align-items:center;justify-content:center;background:var(--gold);color:#191b20;font-weight:800;font-size:.8rem;border-radius:50%}.avatar-option[aria-pressed=true] .avatar-selected{display:flex}.creation-footer{display:flex;gap:20px;align-items:center;justify-content:flex-end;border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.creation-footer p{font-size:.85rem;color:var(--muted);margin:0}.creation-footer small{display:block;font-size:.8rem;margin-top:4px}.creation-start{min-width:165px;min-height:46px;flex-shrink:0}.avatar-option:focus-visible,.avatar-filters button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@media(max-width:800px){.character-dialog{padding:16px}.creation-layout{grid-template-columns:180px minmax(0,1fr);gap:16px}.avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:430px}.creation-preview .sprite.creation-sprite{height:200px}}
@media(max-width:560px){.character-dialog{padding:14px;max-height:94dvh}.creation-heading{margin-bottom:14px}.character-dialog .creation-heading h2{font-size:1.45rem}.creation-layout{grid-template-columns:1fr;gap:18px}.creation-identity{display:grid;grid-template-columns:110px minmax(0,1fr);gap:4px 12px;align-items:start}.creation-preview{grid-row:1/5;margin:0;padding:6px}.creation-preview .sprite.creation-sprite{height:115px;margin:0}.creation-preview figcaption{font-size:.9rem}.creation-preview h3{font-size:.7rem;margin:3px 0}.creation-preview p{display:none}.character-dialog .character-name-label{margin-top:12px;font-size:.9rem}.creation-identity>small{font-size:.75rem}.avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:310px;gap:6px}.avatar-option{padding:4px 2px}.avatar-option>span:first-of-type{font-size:.66rem;min-height:28px}.creation-footer{flex-direction:column;align-items:stretch;gap:12px;margin-top:14px;padding-top:12px}.creation-start{width:100%}.creation-footer p,.creation-footer small{font-size:.78rem}.avatar-heading{margin-bottom:8px}}
/* Keep the primary action visible on narrow screens. */
@media(max-width:560px){.avatar-grid{max-height:clamp(120px,calc(100dvh - 640px),220px)}}

/* Live hospital/prison rooms retain their own scroll while the clock updates. */
.game-shell>.game-content.stay-view{display:block;overflow-y:auto}.stay-view>.obligation{max-width:none;margin:0 0 18px;overflow:visible}.stay-view>.room-chat{margin:0}
@media(min-width:1250px){.game-shell>.game-content.stay-view{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.3fr);gap:18px;align-content:start;align-items:start}.stay-view>.obligation{margin:0}}
.stay-countdown{font-variant-numeric:tabular-nums;color:var(--gold)}.room-chat{margin-top:18px;min-width:0}.room-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.room-chat-heading h2{margin:0}.room-chat-heading small{color:var(--teal)}.room-chat-messages{height:280px;overflow-y:auto;overscroll-behavior:contain;margin:14px 0;padding:0 10px;list-style:none;border:1px solid var(--line);border-radius:8px;background:#111c23}.room-message{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.room-message:last-child{border-bottom:0}.room-message .sprite.portrait{width:36px;height:36px;flex-shrink:0}.room-message>div{flex:1;min-width:0}.room-message-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}.room-message-heading strong{font-size:.9rem;overflow-wrap:anywhere}.room-message-heading time{color:var(--muted);font-size:.75rem;font-variant-numeric:tabular-nums}.room-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0}.room-message-self strong{color:var(--teal)}.room-chat form label{display:block;margin-bottom:7px}.room-chat-compose{display:flex;gap:10px}.room-chat-compose input{min-width:0;flex:1;width:100%;min-height:44px;background:#111c23;border:1px solid #53616d;border-radius:7px;color:var(--text);padding:10px 12px;font:inherit}.room-chat-compose button{flex-shrink:0}.room-chat form small{display:block;margin-top:7px;color:var(--muted)}.room-chat>button{margin-top:12px}.room-chat #room-chat-error:empty{display:none}
@media(max-width:700px){.room-chat-heading{flex-wrap:wrap}.room-chat-messages{height:240px;padding-inline:8px}.room-chat-compose{flex-direction:column}.room-chat-compose button{width:100%}.room-message{gap:7px}.room-message .sprite.portrait{width:28px;height:28px}}
/* Global top 100, using the same identity portraits as Social. */
.highscores-heading{align-items:flex-start}.highscores-heading>button{flex-shrink:0}.highscores-panel{overflow-x:auto}.highscores-table{width:100%;border-collapse:collapse;font-size:.95rem;font-variant-numeric:tabular-nums}.highscores-table caption{text-align:left;color:var(--muted);padding:0 0 14px;font-size:.9rem}.highscores-table th,.highscores-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:right}.highscores-table thead th{color:var(--muted);font-size:.85rem;font-weight:600;white-space:nowrap}.highscores-table th:first-child,.highscores-table td:first-child,.highscores-table th:nth-child(2){text-align:left}.highscores-table tbody tr:last-child>*{border-bottom:0}.highscore-player{display:flex;align-items:center;gap:12px;min-width:0}.highscore-player .sprite.portrait{width:44px;height:44px;flex-shrink:0}.highscore-player>span{overflow-wrap:anywhere;min-width:0}.highscore-position{width:78px;color:var(--muted);font-weight:700}.highscore-podium{color:var(--gold);font-size:1.15rem}.highscore-level{color:var(--gold);font-weight:700}.highscore-self{background:#ffc54a0d}.highscore-self>td:first-child{box-shadow:inset 3px 0 var(--gold)}.highscore-you{display:block;color:var(--teal);font-size:.75rem;font-weight:600}
@media(max-width:700px){.highscores-heading{flex-wrap:wrap}.highscores-table{font-size:.85rem}.highscores-table th,.highscores-table td{padding:10px 5px}.highscores-table thead th{font-size:.75rem}.highscore-position{width:46px}.highscore-player{gap:7px}.highscore-player .sprite.portrait{width:32px;height:32px}}
/* Notifications share the existing game event history. */
/* Account discoveries: a single small marker at each level of navigation. */
.unlock-dot{display:inline-block;vertical-align:middle;width:8px;height:8px;margin-left:8px;flex:0 0 8px;border-radius:50%;background:#ff5252;animation:unlock-pulse 1.2s ease-in-out infinite}
.side-nav button{position:relative}.game-shell .side-nav .unlock-dot{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:8px;height:8px;clip-path:none;overflow:visible;margin:0}
.game-shell .subtabs .unlock-dot{margin-left:2px}
@keyframes unlock-pulse{0%,100%{opacity:1}50%{opacity:.3}}
@media(max-width:700px){.game-shell .side-nav .unlock-dot{right:2px;top:3px;transform:none}}
.navigation-footer .sidebar-notifications{position:relative;display:flex;align-items:center;gap:6px;width:100%;min-height:44px;padding:10px 8px;color:var(--muted)}
.notification-bell{width:22px;height:22px;flex-shrink:0;shape-rendering:crispEdges}
.notification-label{min-width:0;flex:1;font-size:13px}
.navigation-footer .sidebar-notifications.has-unread{color:#ffcf72;border-color:#79613b;background:#302b22}
.notification-badge{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border:1px solid #ffd799;border-radius:6px;background:#ffc966;color:#211a12;font-size:12px;font-weight:800;line-height:1}
.notification-badge[hidden]{display:none}
.notifications-dialog{width:min(720px,100%);display:flex;flex-direction:column;overflow:hidden}
.notifications-body{display:flex;flex-direction:column;min-height:0}
.notification-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0}
.notification-heading h2{margin:0 0 3px}
.notification-heading p{margin:0;font-size:14px;color:var(--gold)}
.notification-read-all{font-size:13px;min-height:36px;flex-shrink:0}

.notification-list{list-style:none;display:flex;flex-direction:column;gap:8px;padding:0 3px 3px;margin:16px 0 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0}
.notification-item{border:1px solid var(--line);border-left:3px solid #526674;border-radius:8px;background:#15212b}
.notification-item.is-unread{background:#21303a;border-color:#607780;border-left-color:#89b6c9}
.notification-item.activity-success{border-left-color:#7cddba}.notification-item.activity-failure{border-left-color:#ff9c91}.notification-item.activity-warning{border-left-color:#ffc966}
.notification-entry{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0;text-align:left;padding:14px 12px;border:0;background:transparent;border-radius:6px;white-space:normal;color:var(--text)}
.notification-entry:hover:not(:disabled){background:#ffffff08}.notification-entry:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
.notification-art{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:6px;background:#111b24}.notification-art>.event-art{width:40px;height:40px}.notification-art>.pixel-icon{width:28px;height:28px;margin:0}
.notification-copy{display:block;min-width:0;flex:1;overflow-wrap:anywhere}.notification-copy>strong{display:block;font-size:15px;line-height:1.4}.notification-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:3px 10px;margin-bottom:5px;color:var(--muted);font-size:12px;font-weight:400}.notification-meta time{font-size:12px}.notification-detail{display:block;margin-top:5px;color:#bdcbd5;font-size:14px;line-height:1.5;font-weight:400}.notification-copy .toast-changes{margin-top:8px}.notification-copy .toast-changes:empty{margin:0}
.notification-unread-dot{display:block;width:7px;height:7px;border-radius:50%;margin-top:7px;flex-shrink:0;background:var(--gold)}
.notification-empty{text-align:center;padding:35px 18px;color:var(--muted)}.notification-empty>.pixel-icon{width:42px;height:42px;margin:0 0 10px}.notification-empty h3{color:var(--text);font-size:16px}.notification-empty p{font-size:14px;line-height:1.5}
@media(min-width:701px) and (max-width:1050px){.sidebar-notifications .notification-label{font-size:12px}.sidebar-notifications .notification-bell{width:20px;height:20px}.sidebar-notifications .notification-badge{min-width:18px;padding:0 4px;font-size:11px}.navigation-footer .sidebar-notifications{gap:5px}}
@media(max-width:700px){.game-shell .navigation-footer .sidebar-notifications{position:relative;gap:0}.sidebar-notifications .notification-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sidebar-notifications .notification-badge{position:absolute;right:-3px;top:-5px;min-width:19px;height:19px;font-size:11px;padding:0 4px}.notification-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}.notification-read-all{font-size:12px;padding:7px 9px}.notification-entry{gap:8px;padding:12px 9px}.notification-art{width:34px;height:34px}.notification-art>.event-art{width:32px;height:32px}.notification-copy>strong{font-size:14px}.notification-description{font-size:13px}.notification-unread-dot{width:6px;height:6px}}
/* Vorcaro Coins and the featured Premium Shop. */
.premium-icon{object-fit:contain;image-rendering:pixelated;flex-shrink:0}.side-nav button.premium-nav{color:#f4d37d;border:1px solid #80612e;background:linear-gradient(110deg,#332916,#292036);box-shadow:inset 3px 0 #d8ac4b}.side-nav button.premium-nav.active,.side-nav button.premium-nav:hover{background:#493721;border-color:#e9c566;color:#ffe5a0}.player-coins{display:flex;align-items:center;gap:8px;width:100%;margin:10px 0 12px;padding:8px 10px;text-align:left;background:#2a251b;border:1px solid #67522c;color:#f4d37d}.player-coins .pixel-icon{width:30px;height:30px}.player-coins span{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.player-coins small{font-size:.75rem;color:#dcc796}.vip-badge{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid #b28a3e;border-radius:4px;background:#3b2c19;color:#ffe09a;font-size:.75rem;font-weight:800;letter-spacing:.08em}.avatar-panel .vip-badge{margin-left:8px}.premium-eyebrow{color:#d7b16c;font-size:.72rem;letter-spacing:.16em;font-weight:750;margin:0 0 7px}.premium-heading{align-items:center}.premium-heading h1{color:#ffe2a0}.premium-wallet{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#282317;border:1px solid #70572f;border-radius:8px;flex-shrink:0}.premium-wallet .pixel-icon{width:38px;height:38px;margin:0}.premium-wallet div{display:grid;gap:4px}.premium-wallet small{color:#c8bca3}.premium-wallet strong{color:#ffe09a;font-size:.95rem}.premium-status{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:20px 0 16px;border:1px solid #594831;background:#24231f;border-radius:8px}.premium-status>.pixel-icon{width:36px;height:36px}.premium-status div{flex:1}.premium-status strong{font-size:.95rem;color:#ead6ab}.premium-status p{font-size:.85rem;margin:4px 0 0;color:var(--muted)}.premium-status.is-vip{border-color:#9b7838;background:#29251b}.game-content .premium-product{display:grid;grid-template-columns:minmax(160px,.85fr) minmax(0,1.35fr);gap:28px;padding:28px;border:1px solid #8a6a35;background:linear-gradient(120deg,#302131,#1b222a 65%);overflow:hidden;max-width:1000px}.premium-product-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;min-width:0;background:radial-gradient(ellipse,#60422655,transparent 72%)}.premium-pass-art{display:block;width:100%;max-width:240px;aspect-ratio:1;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 12px 12px #0005)}.premium-duration{padding:6px 12px;border-top:1px solid #7d5e35;border-bottom:1px solid #7d5e35;letter-spacing:.15em;font-size:.72rem;color:#e7c88f}.premium-product-copy h2{font-size:1.7rem;color:#fff0c8;margin:0 0 10px}.premium-description{font-size:.9rem;color:#b9b6b2;max-width:34em}.premium-benefits{list-style:none;margin:20px 0;padding:0;display:grid;gap:16px}.premium-benefits li{display:flex;align-items:center;gap:12px}.premium-benefit-value{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:62px;height:46px;background:#3b3020;border:1px solid #7d6135;border-radius:6px;color:#ffd780;font-size:1.2rem;font-weight:800}.premium-benefits strong{font-size:.9rem}.premium-benefits p{margin:3px 0 0;color:var(--muted);font-size:.8rem}.premium-purchase{border-top:1px solid #5b4d3a;padding-top:18px}.premium-price{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#ffe2a0}.premium-price>.pixel-icon{width:28px;height:28px}.premium-price strong{font-size:1.1rem}.premium-price small{flex-basis:100%;color:var(--muted);font-size:.8rem}.premium-buy{width:100%;margin-top:5px;min-height:46px}.premium-purchase-note{font-size:.8rem;color:var(--muted);margin:9px 0 0}.premium-coming-soon{display:flex;align-items:center;justify-content:center;gap:8px;margin:20px 0;color:#c9bd9f;font-size:.85rem}.premium-coming-soon .pixel-icon{width:23px;height:23px}.profile-vip-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.85rem;color:#e6c781}.profile-vip-summary .pixel-icon{width:26px;height:26px}.change-coins{color:#f4d37d}.premium-nav:focus-visible,.player-coins:focus-visible{outline:2px solid #ffe09a;outline-offset:3px}
@container(max-width:640px){.game-content .premium-product{grid-template-columns:1fr;gap:20px;padding:20px}.premium-pass-art{max-width:180px}.premium-product-visual{gap:10px}.premium-wallet{margin-top:12px}.premium-product-copy h2{font-size:1.45rem}}
@media(max-width:700px){.side-nav button.premium-nav{box-shadow:inset 0 -2px #d8ac4b}.player-coins{margin:7px 0;padding:5px 8px;min-height:32px}.player-coins .pixel-icon{width:22px;height:22px}.premium-wallet{width:100%;padding:10px 12px;margin-top:12px}.premium-status{padding:12px;margin-top:16px}.game-content .premium-product{grid-template-columns:1fr;gap:20px;padding:18px}.premium-pass-art{max-width:170px}.premium-product-visual{gap:10px}.premium-product-copy h2{font-size:1.45rem}.premium-coming-soon{align-items:flex-start;line-height:1.5}.premium-price strong{font-size:1rem}}
/* Homes: paired generated facade/interior atlases and the player's room stage. */
.home-icon{color:var(--gold)}.home-scene{display:block;width:100%;aspect-ratio:3/2;overflow:hidden;image-rendering:pixelated;background:#272324}.home-scene image{image-rendering:pixelated}.home-avatar-stage{position:relative;aspect-ratio:3/2;overflow:hidden;border-radius:5px;background:#272324;isolation:isolate}.home-avatar-stage>.avatar-room{position:absolute;inset:0;width:100%;height:100%}.avatar-panel .home-avatar-stage>.sprite.avatar-sprite{position:absolute;z-index:1;left:50%;bottom:0;transform:translateX(-50%);width:74%;height:100%;max-width:none;margin:0;filter:drop-shadow(2px 3px 0 #0006)}.player-panel .avatar-panel{padding:6px 6px 9px}.avatar-panel:has(.home-avatar-stage) figcaption{padding:8px 4px 2px}.home-collection{align-self:center;color:var(--muted);font-size:.85rem;white-space:nowrap}.game-content .current-home{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);padding:0;overflow:hidden;gap:0;margin-bottom:28px;border-color:#75603c}.current-home-stage{position:relative;min-width:0;align-self:stretch;background:#211d22;overflow:hidden}.current-home-stage>.home-scene{height:100%;min-height:215px;object-fit:cover}.current-home-stage>.home-preview-avatar{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);width:54%;height:85%;filter:drop-shadow(2px 4px 0 #0006)}.home-scene-label{position:absolute;left:12px;bottom:10px;max-width:calc(100% - 24px);font-size:.65rem;letter-spacing:.04em;color:#fff1d2;background:#17191ddd;padding:5px 8px;border-radius:3px}.current-home-copy{padding:24px;align-self:center;min-width:0}.home-eyebrow{margin:0 0 8px;color:var(--gold);font-size:.64rem;font-weight:700;letter-spacing:.13em}.current-home-copy h2{font-size:1.35rem;margin:0 0 10px}.current-home-copy>p:not(.home-eyebrow){color:var(--muted);font-size:.85rem;line-height:1.6}.home-active-bonuses{margin:16px 0;gap:10px}.current-home-copy>.home-rules{font-size:.73rem;border-top:1px solid var(--line);padding-top:12px;margin-bottom:0}.homes-catalogue-title{font-size:1rem;margin:0 0 16px}.homes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.game-content .home-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.home-card.is-current-home{border-color:#a17d40;box-shadow:inset 0 0 0 1px #a17d4033}.home-facade{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}.home-tier,.home-current-tag{position:absolute;font-size:.65rem;line-height:1.3;border-radius:3px;padding:5px 7px;background:#151b23e8;color:#f1d8a1}.home-tier{left:10px;top:10px;font-variant-numeric:tabular-nums;letter-spacing:.1em}.home-current-tag{right:10px;bottom:10px;background:#2d3524f0;color:#d8ecbb;border:1px solid #82945b}.home-current-tag.is-owned{background:#192c2cf0;color:#8fe1cf;border-color:#507f76}.home-card-copy{display:flex;flex:1;flex-direction:column;padding:17px;min-width:0}.home-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.home-card-heading h3{font-size:1rem;margin:0;line-height:1.4}.home-card-heading .level-badge{font-size:.65rem;flex-shrink:0}.home-description{color:var(--muted);font-size:.8rem;line-height:1.6;min-height:3.2em;margin:12px 0}.home-bonuses{font-size:.75rem;gap:8px;min-height:26px;margin-bottom:12px}.home-bonuses .pixel-icon,.home-active-bonuses .pixel-icon{width:20px;height:20px}.home-room-preview{border-top:1px solid var(--line);margin-bottom:14px}.home-room-preview summary{padding:10px 0;color:var(--muted);cursor:pointer;font-size:.73rem;line-height:1.5}.home-room-preview[open] summary{color:var(--gold)}.home-room-preview>.home-scene{border-radius:4px;margin-bottom:8px}.home-purchase{display:grid;gap:6px;margin-top:auto}.home-purchase>strong{font-size:1rem}.home-purchase>small{font-size:.68rem;color:var(--muted)}.home-purchase>button{width:100%;margin-top:7px;min-height:40px;font-size:.8rem}.home-purchase>button:disabled{opacity:.65}.home-room-preview summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media(max-width:1100px){.game-content .current-home{grid-template-columns:1fr}.current-home-stage>.home-scene{min-height:0}.current-home-copy{padding:19px}.homes-grid{gap:16px}}
@media(max-width:700px){.player-panel .avatar-panel:has(.home-avatar-stage){min-width:0;padding:5px 5px 8px}.avatar-panel:has(.home-avatar-stage) figcaption{padding:5px 2px 2px;font-size:.8rem}.home-avatar-stage{max-width:280px;margin:auto}.game-content .current-home{grid-template-columns:1fr}.current-home-stage{max-height:300px}.current-home-copy h2{font-size:1.15rem}.homes-grid{grid-template-columns:1fr}.home-collection{font-size:.7rem}.home-card-copy{padding:16px}}
/* Monthly seasons on the welcome screen, character selection and ranking. */
.season-details{margin-top:12px}.season-details>summary{padding:0;font-size:.8rem;color:var(--muted)}.season-details[open]>summary{margin-bottom:8px}.legal-scroll-status:empty{display:none}
.season-panel{padding:18px 20px;margin:0 0 24px;border:1px solid #675637;border-radius:10px;background:linear-gradient(120deg,#302b20,#1b252e);min-width:0}.season-summary{display:flex;align-items:center;justify-content:space-between;gap:20px}.season-summary small{display:block;font-size:.8rem}.season-summary h2{margin:4px 0 0;color:var(--gold);font-size:1.15rem}.season-timer{text-align:right;flex-shrink:0}.season-timer strong{display:block;margin-top:4px;font-size:1.05rem;font-variant-numeric:tabular-nums;color:var(--teal);white-space:nowrap}.season-panel .season-date{font-size:.8rem;margin:12px 0 0}.season-panel .season-rules{font-size:.8rem;line-height:1.6;margin:8px 0 0;max-width:none}.title-copy .season-panel{max-width:520px;margin-top:25px}.character-selection>.season-panel{max-width:840px;margin-bottom:30px}
@media(max-width:700px){.season-panel{padding:15px}.season-summary{flex-wrap:wrap;gap:12px}.season-timer{text-align:left}.season-summary h2{font-size:1.05rem}.season-timer strong{font-size:1rem}.title-copy .season-panel{max-width:100%;position:relative;z-index:1}.title-copy .season-panel p{max-width:none}}
/* Character attributes share the avatar card, directly below its name. */
.player-panel .character-panel{padding:6px 6px 12px;min-width:0}.player-panel .character-panel .avatar-panel{margin:0;padding:0;border:0;background:transparent}.avatar-attributes{margin:10px 6px 0;padding:12px 0 0;border-top:1px solid var(--line);text-align:left}.avatar-attributes .attribute-price{font-weight:400;margin-bottom:9px}.avatar-attributes .side-stats{display:flex;flex-direction:column;gap:8px;margin:0 0 12px;width:100%;font-weight:400}.game-shell .avatar-attributes .side-stats>div{display:grid;grid-template-columns:minmax(0,1fr) auto var(--button-compact);align-items:center;gap:5px}.avatar-attributes .side-stats dt,.avatar-attributes .side-stats dd{min-width:0}.avatar-attributes .player-level-row{margin:0 0 7px}.avatar-attributes>progress{display:block;width:100%}
@media(min-width:701px){.player-panel{grid-template-rows:auto minmax(0,1fr)}}
@media(max-width:700px){.player-panel{grid-template-columns:minmax(0,1fr);gap:10px}.player-panel .character-panel{grid-column:1;grid-row:1;padding:6px 8px 9px}.character-panel .avatar-panel{display:block;align-self:auto}.character-panel .home-avatar-stage{width:156px;max-width:100%}.character-panel .avatar-panel figcaption{display:block;font-size:.85rem;padding:6px 0 0}.avatar-attributes{margin:8px 0 0;padding-top:9px}.avatar-attributes .attribute-price{margin-bottom:7px}.avatar-attributes .side-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px}.game-shell .avatar-attributes .side-stats>div{grid-template-columns:minmax(0,1fr) var(--button-compact);gap:3px}.avatar-attributes .side-stats dt{grid-column:1 / -1}.avatar-attributes .side-stats dd,.avatar-attributes .side-stats .bought,.avatar-attributes .stat-label{font-size:14px}.avatar-attributes .player-level-row{margin-bottom:5px}.player-panel .player-resources{grid-column:1;grid-row:2;min-width:0}}
/* Legal document and mandatory acceptance before character creation. */
.legal-link,.legal-page a,.legal-document a{color:var(--gold);text-underline-offset:3px;overflow-wrap:anywhere}
.title-copy>.legal-link{display:block;margin:12px 0}.selection-version{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.legal-page{max-width:880px;margin:auto;padding:30px 24px 60px}.legal-page nav,.legal-page footer{padding:12px 0 26px}
.legal-document{font-size:1rem;line-height:1.65;overflow-wrap:anywhere}.legal-document header{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:24px}.legal-document h1{font-size:1.65rem}.legal-document h2{font-size:1.1rem;margin:24px 0 12px}.legal-document p,.legal-document li{line-height:1.65}.legal-document li{margin:8px 0}.legal-document ul{padding-left:23px}.legal-eyebrow{font-size:.75rem;letter-spacing:.12em;color:var(--gold);margin-bottom:10px}.legal-document .legal-notice{padding:12px;border-left:3px solid var(--gold);background:#302c20;color:#eee1bd}.legal-end{padding:22px 0 8px;border-top:1px solid var(--line);margin-top:28px;color:var(--teal)}
.dialog.legal-dialog{display:flex;flex-direction:column;width:900px;max-height:94dvh;padding:24px;gap:12px;overflow:hidden}.legal-dialog>.dialog-close{display:none}.legal-heading{display:flex;gap:14px;align-items:flex-start;flex-shrink:0}.legal-heading h2{font-size:1.4rem;margin:0 0 6px}.legal-heading p{margin:0;font-size:.9rem}.legal-badge{border:1px solid var(--gold);border-radius:6px;padding:9px;color:var(--gold);font-weight:700;flex-shrink:0}.legal-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--line);border-radius:7px;background:#111a22;padding:20px;min-height:100px;height:42dvh;flex:1 1 auto;scroll-behavior:auto}.legal-scroll .legal-document header{margin-bottom:18px}.legal-dialog .legal-scroll-status{font-size:.85rem;margin:0;color:var(--gold);flex-shrink:0}.legal-dialog form{flex-shrink:0}.legal-checks{border:0;padding:0;margin:0;display:grid;gap:9px;min-width:0}.legal-checks legend{font-size:.85rem;margin-bottom:9px;color:var(--muted)}.legal-checks:disabled{opacity:.5}.legal-dialog .legal-checks label{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:.85rem;line-height:1.4;color:var(--text);cursor:pointer}.legal-checks input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--gold);flex-shrink:0}.legal-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.legal-actions button{min-height:44px}.legal-error{color:var(--red);font-size:.85rem;margin:8px 0 0}.legal-error:empty{display:none}
@media(max-width:600px){.modal-backdrop:has(.legal-dialog){padding:8px}.dialog.legal-dialog{padding:14px;gap:9px;max-height:calc(100dvh - 16px)}.legal-heading h2{font-size:1.1rem}.legal-heading p{font-size:.8rem}.legal-heading{gap:10px}.legal-badge{padding:7px;font-size:.85rem}.legal-scroll{padding:14px;height:34dvh}.legal-document h1{font-size:1.25rem}.legal-document h2{font-size:1rem}.legal-document p,.legal-document li{font-size:.9rem}.legal-dialog .legal-checks label{font-size:.78rem;line-height:1.35}.legal-checks{gap:7px}.legal-actions{gap:8px;margin-top:10px}.legal-actions button{font-size:.85rem;min-height:44px;padding:8px 10px}.legal-dialog .legal-scroll-status{font-size:.78rem}.legal-page{padding:20px 16px 40px}}
@media(max-height:620px){.dialog.legal-dialog{gap:7px;padding:12px}.legal-heading p,.legal-checks legend{display:none}.legal-heading h2{font-size:1.1rem}.legal-dialog .legal-checks label{font-size:.75rem;line-height:1.25}.legal-checks{gap:5px}.legal-actions{margin-top:8px}.legal-scroll{min-height:70px}.legal-dialog .legal-scroll-status{font-size:.75rem}}

.legal-dialog .legal-check-all{padding:9px 10px;background:#293540;border:1px solid #53616d;border-radius:6px}.legal-check-all span{font-weight:700}.legal-actions .legal-decline{background:#293943;border-color:#8295a3;color:var(--text);box-shadow:0 3px 0 #101820}.legal-actions .legal-decline:hover:not(:disabled){background:#3b4c59;border-color:#b1c1cd}
/* Compact navigation keeps account screens available during confinement. */
.navigation-panel{overflow:hidden;gap:12px}.sidebar-brand,.navigation-footer{flex-shrink:0}.side-nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;gap:3px}.side-nav>button{flex-shrink:0}.navigation-footer{padding-top:0}.side-nav button.is-restricted{color:#7d8992}.side-nav button.is-restricted:hover{color:var(--text);background:#202a33}.side-nav .nav-lock{width:12px;height:12px;flex-shrink:0;margin-left:auto;opacity:.8}.side-nav button.status-nav{color:#f0bd78;border-color:#725735;background:#30291f}.side-nav button.status-nav.active{box-shadow:inset 3px 0 #f0bd78}.side-nav button:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
@media(max-width:700px){.side-nav .nav-lock{position:absolute;width:10px;height:10px;right:2px;bottom:3px;margin:0}.navigation-panel{gap:10px}.side-nav button.status-nav.active{box-shadow:inset 0 -2px #f0bd78}}
.side-nav:has(.nav-status){scroll-padding-top:64px}.nav-status{display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;z-index:2;padding-bottom:6px;background:#141c24;border-bottom:1px solid var(--line)}
@media(min-width:701px){.navigation-panel{padding-block:12px;gap:8px}.sidebar-brand{height:52px}}
/* Drops, three-slot equipment and the player marketplace. */
.loot-eyebrow{font-size:.72rem;letter-spacing:.14em;color:var(--muted);margin:0 0 6px}.player-equipment{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding:20px}.player-equipment h2{margin:0}.player-equipment p{max-width:370px;color:var(--muted)}.equipment-slots{display:grid;grid-template-columns:repeat(3,minmax(0,96px));gap:10px}.person-content>.equipment-slots{margin:12px 0}.inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:12px;margin:16px 0 24px}.item-cell{--rarity:#637084;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:112px;min-width:0;width:100%;padding:12px 6px 8px;border:2px solid var(--rarity);border-radius:7px;background:linear-gradient(145deg,color-mix(in srgb,var(--rarity) 14%,#151e2a),#101824);box-shadow:inset 0 0 14px color-mix(in srgb,var(--rarity) 9%,transparent);color:var(--rarity);text-align:center;transition:transform .12s,border-color .12s}.item-cell:hover,.item-cell:focus-visible{transform:translateY(-2px);outline:2px solid var(--rarity);outline-offset:3px;z-index:1}.loot-glyph{width:36px;height:36px;flex-shrink:0;filter:drop-shadow(0 3px 0 #0005);shape-rendering:crispEdges}.item-cell-name{font-size:.68rem;font-weight:600;line-height:1.25;color:#e4eaf3;overflow-wrap:anywhere}.item-cell-rarity{font-size:.61rem}.equipped-mark{position:absolute;right:5px;top:3px;font-size:.65rem}.empty-item-slot{border-style:dashed;min-height:106px;font-size:.7rem;color:#94a3b8}.slot-plus{font-size:1.8rem;color:#71839a}.loot-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:16px 0}.loot-filters label{display:flex;flex-direction:column;gap:6px;font-size:.78rem;flex:1;min-width:120px}.loot-filters input,.loot-filters select{width:100%;min-height:40px;min-width:0}.loot-filters button{min-height:40px}.rarity-legend{display:flex;gap:9px 15px;flex-wrap:wrap;padding:8px 0;color:var(--muted);font-size:.74rem}.rarity-legend>span{color:var(--rarity);display:flex;gap:5px;align-items:center}.rarity-legend>span:before{content:'';width:7px;height:7px;background:var(--rarity)}.rarity-legend small{opacity:.6}.loot-empty{padding:36px 20px;text-align:center;color:var(--muted);margin:16px 0}.loot-empty h2{color:#e4eaf3}.loot-empty p{max-width:500px;margin:12px auto 20px}.item-summary{display:flex;align-items:center;gap:15px;color:var(--rarity);margin:6px 0 14px}.item-summary>.loot-glyph{width:52px;height:52px;padding:8px;border:2px solid var(--rarity);box-sizing:content-box;border-radius:6px;background:#111b28}.item-summary h3{font-size:1.05rem;line-height:1.3;margin:5px 0 0;color:#eef2f8}.rarity-label{color:var(--rarity);font-size:.72rem;font-weight:600}.item-multiplier{font-size:.75rem;color:var(--muted);margin:14px 0 4px}.loot-stats{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.item-tooltip{position:fixed;z-index:10000;width:min(310px,calc(100vw - 16px));padding:16px;border:1px solid #526279;border-radius:9px;background:#121b2afc;box-shadow:0 12px 36px #0009;pointer-events:none;font-size:.8rem;line-height:1.45}.item-tooltip[hidden]{display:none}.item-tooltip p{margin:8px 0}.item-tooltip .item-summary>.loot-glyph{width:32px;height:32px}.item-tooltip .item-summary h3{font-size:.88rem}.item-tooltip .stats-inline{gap:8px;font-size:.8rem}.items-dialog{width:min(650px,94vw)}.items-dialog>p,.items-dialog form>p{line-height:1.55;color:var(--muted)}.items-dialog label{display:block;font-size:.82rem;margin:16px 0 6px}.items-dialog select,.items-dialog input{width:100%;min-height:42px}.items-dialog form>button{width:100%;margin-top:12px}.items-dialog .picker-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr));max-height:380px;overflow:auto;padding:6px}.equipped-current{padding:12px;border:1px solid var(--line);border-radius:5px}.item-equip-actions{display:grid;gap:8px;margin:15px 0}.item-equip-actions button{justify-content:flex-start;white-space:normal;text-align:left}.market-balances{display:flex;flex-wrap:wrap;gap:10px 25px;padding:12px 16px;border:1px solid var(--line);border-radius:6px;background:#111b27}.market-balances>span{display:flex;align-items:center;gap:8px;font-size:.85rem}.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:20px 0}.market-card{border-top:3px solid var(--rarity);padding:17px;display:flex;flex-direction:column;gap:14px}.market-card h2{font-size:.95rem;margin:5px 0;line-height:1.35}.market-item-heading{display:flex;align-items:center;gap:13px}.market-item-heading .item-cell{width:70px;min-width:70px;min-height:74px;padding:8px}.market-item-heading .item-cell-name,.market-item-heading .item-cell-rarity{display:none}.market-item-heading small{font-size:.72rem;color:var(--muted)}.market-card>.stats-inline{font-size:.8rem;gap:10px;flex-wrap:wrap}.market-price{display:flex;align-items:center;gap:8px;font-size:.9rem;color:#f3d595;margin-top:auto}.market-card>button{width:100%}.market-buy-price{font-size:1.4rem!important;color:#f3d595!important;font-weight:700}.fraud-drops{font-size:.78rem;border:1px solid var(--line);padding:10px 12px;margin:14px 0;border-radius:5px}.fraud-drops summary{cursor:pointer;color:#d4dce9}.fraud-drops p,.fraud-drops small{color:var(--muted);line-height:1.5}.drop-odds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}.drop-odds span{display:flex;justify-content:space-between;gap:8px;color:var(--rarity)}
@media(max-width:700px){.player-equipment{align-items:flex-start;flex-direction:column}.player-equipment>.equipment-slots{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-grid{grid-template-columns:repeat(auto-fill,minmax(85px,1fr));gap:9px}.market-grid{grid-template-columns:1fr}.loot-filters label{min-width:130px}.market-balances{gap:10px}.item-cell{min-height:104px}.person-content>.equipment-slots{grid-template-columns:repeat(3,minmax(0,1fr));max-width:310px}}
.person-content>.equipment-slots{grid-template-columns:repeat(3,42px);gap:7px;margin:9px 0;max-width:none}.person-content>.equipment-slots .item-cell{width:42px;min-height:42px;height:42px;padding:6px;border-radius:5px}.person-content>.equipment-slots .loot-glyph{width:27px;height:27px}.person-content>.equipment-slots .item-cell-name,.person-content>.equipment-slots .item-cell-rarity,.person-content>.equipment-slots .empty-item-slot>span:not(.slot-plus){display:none}.person-content>.equipment-slots .slot-plus{font-size:1.3rem;line-height:1}.person-content>.equipment-slots .equipped-mark{font-size:.45rem;top:1px;right:2px}.loot-filters input,.loot-filters select{background:#111b27;color:var(--text);border:1px solid var(--line);border-radius:5px;padding:9px 10px}

/* Compact mobile shell: one content scroller, details available on demand. */
.fraud-current-badge{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;padding:3px 7px;border:1px solid #497b6c;border-radius:5px;background:#193b32;color:var(--teal);font-size:.75rem;font-weight:700;line-height:1.4;vertical-align:middle}
.fraud-current-badge::before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:currentColor}
.fraud-option-copy>strong .fraud-current-badge{margin:3px 0 3px 8px}
.fraud-list-button.is-current:not(.selected){border-color:#497b6c;background:#1a302c}
.fraud-heading>.fraud-current-badge,.fraud-heading>.fraud-current-link{margin:-2px 0 10px}
.fraud-current-link{min-height:44px;padding:8px 10px;border-color:#497b6c;background:#193b32;color:var(--teal);font-size:.9rem}
.mobile-header,.mobile-nav,.game-shell button.mobile-fraud-picker{display:none}
.dialog.navigation-dialog .navigation-panel{display:flex;position:static;height:auto;padding:0;border:0;background:transparent;overflow:visible;gap:16px}
.navigation-dialog .sidebar-brand,.navigation-dialog .sidebar-notifications{display:none}
.navigation-dialog .side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:8px}
.navigation-dialog .side-nav button{width:100%;min-height:58px;padding:12px;white-space:normal;justify-content:flex-start;text-align:left;background:#141e28;border-color:var(--line);margin:0;font-size:14px}
.navigation-dialog .side-nav button>span{position:static;display:inline;width:auto;height:auto;clip-path:none;overflow:visible}
.navigation-dialog .side-nav button.active{background:#302d23;border-color:#8a713e}
.navigation-dialog .nav-status{grid-column:1 / -1;position:static;padding:0 0 8px;background:transparent}
.navigation-dialog .navigation-footer{margin:0;padding:0}
.navigation-dialog .navigation-footer button{width:100%;min-height:44px;justify-content:center;font-size:14px}
.dialog.player-dialog .player-panel{display:flex;flex-direction:column;position:static;grid-column:auto;grid-row:auto;height:auto;overflow:visible;padding:0;border:0;background:transparent;gap:16px}
.player-dialog .player-block{padding:14px;border:1px solid var(--line);border-radius:10px;background:#151f28}
.player-dialog .player-resources{overflow:visible;order:-1}
.player-dialog .player-resources .fraud-timer-compact{display:none}
.player-dialog .game-clock{flex-wrap:wrap}
.player-dialog .player-budget button,.player-dialog .buy-attribute{min-width:44px;min-height:44px}
.player-dialog .avatar-attributes .side-stats{display:flex;flex-direction:column;gap:9px}
.player-dialog .avatar-attributes .side-stats>div{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center}
.player-dialog .avatar-attributes .side-stats dt{grid-column:auto}
.player-dialog .home-avatar-stage{width:156px;margin:auto}
.player-dialog .avatar-panel figcaption{display:block}
.player-dialog .player-profile-link{width:100%;margin-top:16px}
.catalogue-dialog .fraud-catalogue{height:auto;max-height:none;border:0;background:transparent;overflow:visible}
.catalogue-dialog .fraud-catalogue>h2{padding:0 0 16px;font-size:1.25rem}
.catalogue-dialog .fraud-list{padding:10px 0 0;overflow:visible;gap:8px}
.catalogue-dialog .fraud-list-button{justify-content:flex-start;text-align:left;min-height:72px}
.dialog .dialog-close{position:sticky;top:-1px;z-index:3;background:#1d2731;padding:4px 0 8px}

@media(max-width:900px){
  .game-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;height:100dvh;max-width:100%;overflow:hidden}
  .game-shell>.navigation-panel,.game-shell>.player-panel{display:none}
  .game-shell>.game-content,.game-shell>.game-content.fraud-view{grid-column:1;grid-row:2;display:block;height:100%;min-height:0!important;overflow-y:auto;padding:18px max(16px,env(safe-area-inset-right)) 28px max(16px,env(safe-area-inset-left));scroll-padding-block:16px;overscroll-behavior-y:contain}
  .game-content .section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}
  .game-content .section-head>div{min-width:0}
  .game-content .section-head>button{margin:0;max-width:100%;min-height:44px}
  .game-content h1{font-size:1.4rem;margin:0;overflow-wrap:anywhere}
  .game-content .section-head p{margin:6px 0 0}
  .mobile-header{display:block;grid-column:1;grid-row:1;min-width:0;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left));background:#141c24;border-bottom:1px solid var(--line)}
  .mobile-header-row{display:flex;align-items:center;gap:8px;min-width:0}
  .game-shell .mobile-player-button{flex:1;min-width:0;padding:0;gap:8px;justify-content:flex-start;background:transparent;border-color:transparent;text-align:left}
  .mobile-player-button .portrait{width:36px;height:36px;flex-shrink:0;border-radius:8px;background:#26333e!important}
  .mobile-player-button>span{min-width:0}
  .mobile-player-button strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}
  .mobile-player-button small{display:block;font-size:.72rem;color:var(--muted)}
  .mobile-player-button small span{color:var(--gold);margin-left:6px}
  .mobile-cash{flex:0 1 auto;max-width:48%;min-width:0;color:var(--teal);font-size:.88rem;line-height:1.3;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
  .game-shell .mobile-header .sidebar-notifications{position:relative;flex:none;width:44px;height:44px;padding:10px;border:0;background:transparent}
  .mobile-header .notification-label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
  .mobile-header .notification-bell{width:21px;height:21px;color:var(--muted)}
  .mobile-header .has-unread .notification-bell{color:var(--gold)}
  .mobile-header .notification-badge{position:absolute;top:0;right:0;min-width:17px;height:17px;padding:0 3px;font-size:10px}
  .game-shell .mobile-vitals{display:flex;width:100%;gap:8px;justify-content:space-between;min-height:44px;padding:6px 2px;border:0;border-radius:0;background:transparent}
  .mobile-vitals>span{display:flex;align-items:center;gap:4px;min-width:0;font-size:.69rem;color:var(--muted);font-weight:400}
  .mobile-vitals b{color:var(--text);font-size:.75rem;font-variant-numeric:tabular-nums}
  .mobile-vitals .pixel-icon{width:16px;height:16px;margin:0;flex-shrink:0}
  .game-shell .mobile-header .fraud-timer-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;min-width:0;gap:4px 10px;text-align:left;margin:0 0 4px;min-height:44px;padding:6px 10px;font-size:.75rem;background:#1b2c2b;border-color:#35584d}
  .mobile-header .fraud-timer-compact .fraud-timer-name,.mobile-header .fraud-timer-compact time{font-size:.75rem}
  .mobile-header .connection-notice{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.75rem;padding:4px}
  .game-shell .mobile-nav{display:grid;grid-column:1;grid-row:3;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#141c24;border-top:1px solid var(--line)}
  .game-shell .mobile-nav button{display:flex;flex-direction:column;min-width:0;min-height:54px;padding:6px 2px;gap:4px;font-size:.65rem;line-height:1.2;border-color:transparent;background:transparent;color:var(--muted);border-radius:9px}
  .game-shell .mobile-nav button.active{color:var(--gold);background:#302d23;border-color:#605131}
  .game-shell .mobile-nav button>.pixel-icon{width:21px;height:21px}
  .game-shell button.mobile-fraud-picker{display:inline-flex;min-height:44px;padding:8px 12px;color:var(--gold);border-color:#665735;background:#27271f}
  .game-content .fraud-workspace{display:block;height:auto;min-height:0;overflow:visible}
  .game-content .fraud-catalogue{display:none}
  .game-content .fraud-detail{width:100%;height:auto;max-height:none;overflow:visible;padding:16px;border-radius:12px}
  .fraud-overview{grid-template-columns:88px minmax(0,1fr);gap:14px;margin-bottom:16px}
  .fraud-heading h2{font-size:1.05rem;line-height:1.35;margin-bottom:8px}
  .fraud-chance .chance{font-size:1.5rem}
  .fraud-metrics{gap:12px 16px;padding-block:16px}
  .fraud-metrics dd{overflow-wrap:anywhere}
  .game-shell .game-content .fraud-repeat button{min-height:44px}
  .game-shell .game-content .fraud-apply{min-height:48px}
  .game-content .subtabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:2px 2px 10px;gap:8px;scrollbar-width:thin;scroll-padding-inline:2px}
  .game-content .subtabs button{flex-shrink:0;white-space:nowrap;min-height:44px;padding:9px 12px}
  .game-content .card-grid,.game-content .people-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .game-content .card{border-radius:12px}
  .game-content .person-content{display:flex;flex-direction:column;min-width:0}
  .person-content .card-title{flex-wrap:wrap}
  .game-content .person-content .actions{max-width:100%;justify-content:flex-start}
  .game-content .person-content button{min-height:44px;overflow-wrap:anywhere}
  .game-content input,.game-content select,.dialog input:not([type=checkbox]):not([type=range]),.dialog select{font-size:16px;min-height:44px}
  .game-content summary{min-height:44px;align-content:center}
  .modal-backdrop{padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));align-items:flex-end}
  .dialog{width:100%;max-width:620px;max-height:calc(100dvh - max(24px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));padding:16px;border-radius:18px;overscroll-behavior:contain;scrollbar-width:thin}
  .dialog .dialog-close button{min-height:44px}
  .dialog.mobile-sheet{width:100%;max-width:560px}
  .dialog.mobile-sheet>h2{font-size:1.25rem;margin:0 0 16px}
  .dialog.navigation-dialog .side-nav .pixel-icon{width:22px;height:22px}
  .dialog.player-dialog .player-coins{min-height:44px}
  .game-content .homes-grid,.game-content .market-grid{grid-template-columns:minmax(0,1fr)}
  .game-content .current-home{grid-template-columns:minmax(0,1fr)}
  .game-content .player-equipment{flex-wrap:wrap;gap:12px}
  .game-content .premium-product{grid-template-columns:minmax(0,1fr)}
  .game-content .premium-pass-art{max-width:170px}
  .game-content .premium-wallet{width:100%;margin-top:0}
  .game-content .highscores-table{font-size:.8rem}
  .game-content .highscores-table th,.game-content .highscores-table td{padding:10px 5px}
  .game-content .highscore-player{gap:6px;min-width:0}
  .game-content .highscore-player .portrait{width:28px;height:28px}
  .toast-card .toast-dismiss{min-width:44px;min-height:44px;width:44px;height:44px}
}
@media(max-width:360px){
  .mobile-vitals>span{font-size:.63rem;gap:3px}
  .mobile-vitals .pixel-icon{width:14px;height:14px}
  .mobile-vitals b{font-size:.7rem}
  .game-shell>.game-content,.game-shell>.game-content.fraud-view{padding-inline:12px}
  .game-content .fraud-detail{padding:12px}
  .navigation-dialog .side-nav button{padding:9px;font-size:13px;gap:6px}
}
@media(max-width:900px) and (max-height:500px){
  .mobile-header{padding-top:4px;padding-bottom:4px}
  .mobile-header-row{float:left;width:48%;padding-right:10px}
  .game-shell .mobile-vitals{width:52%}
  .mobile-header>.fraud-timer-compact{clear:both}
  .game-shell .mobile-nav button{flex-direction:row;min-height:44px;gap:7px}
}

/* Shared VIP identity art: preserve the portrait crop and place the generated frame above it. */
.vip-portrait>svg{ x:20px;y:28px;width:88px;height:80px }
.vip-frame{pointer-events:none;image-rendering:pixelated}
.player-name{display:inline-flex;align-items:center;flex-wrap:wrap;gap:3px 6px;max-width:100%;vertical-align:middle}
.player-name>span{min-width:0;overflow-wrap:anywhere}
.vip-name{color:#ffe09a}
.vip-mark{display:inline-block;width:45px;height:17px;flex:none;vertical-align:middle;image-rendering:pixelated;overflow:visible}
.avatar-panel .vip-mark,.premium-status>.vip-mark{width:56px;height:21px}
.game-content .player-card>.vip-portrait{width:80px;height:80px}
.highscore-player .sprite.vip-portrait{width:56px;height:56px}
.room-message .sprite.vip-portrait{width:44px;height:44px}
.game-shell .manager-picker>summary .sprite.vip-portrait{width:40px;height:40px}
.game-shell .game-content .manager-option .vip-portrait{width:48px!important;height:48px!important}
.attack-member .sprite.vip-portrait,.target-defender .sprite.vip-portrait{width:56px;height:56px}
.defense-roster .player-name{gap:3px 5px}
@media(max-width:600px){
 .game-content .player-card>.vip-portrait{width:64px;height:64px}
 .highscore-player .sprite.vip-portrait,.room-message .sprite.vip-portrait{width:40px;height:40px}
 .attack-member .sprite.vip-portrait{width:44px;height:44px}
 .vip-mark{width:40px;height:15px}
}
.online-counter{display:flex;align-items:center;gap:8px;color:var(--teal);font-size:.85rem;line-height:1.4;font-variant-numeric:tabular-nums}.online-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none;box-shadow:0 0 8px #76d5bb44}.online-counter.is-unavailable{color:var(--muted)}.title-copy>.online-counter{margin:0 0 18px}.navigation-footer>.online-counter{justify-content:center;padding:5px 3px;font-size:.75rem;text-align:center}
.mobile-header>.online-counter{justify-content:flex-end;clear:both;font-size:.65rem;line-height:1.2;padding:2px 0 4px}.mobile-header .online-dot{width:5px;height:5px}

.mobile-nav button,.mobile-fraud-picker{position:relative}.mobile-nav .unlock-dot{position:absolute;top:5px;right:12px;margin:0}.navigation-dialog .side-nav .unlock-dot{position:absolute;right:8px;top:8px;transform:none;width:8px;height:8px;margin:0}
/* Server-authored business battle replay. */
.dialog.battle-dialog{width:900px;padding:0;overflow:auto;border:2px solid #bb9a55;background:#111b29;box-shadow:0 18px 100px #000c;scrollbar-width:thin}
.battle-view{font-family:ui-monospace,Consolas,monospace;color:#f6ecd8;overflow:hidden}
.battle-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:#162331;border-bottom:1px solid #384756;gap:12px}
.battle-eyebrow{display:block;letter-spacing:.18em;font-size:10px;color:#dfb96a;font-weight:700}
.battle-header h2{font-size:23px;margin:5px 0 0;letter-spacing:-1px;color:#fbf0d6}
.battle-countdown{padding:8px 12px;background:#0c1620;border:1px solid #475365;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.battle-scene{position:relative;height:330px;overflow:hidden;isolation:isolate;background:linear-gradient(#263856 0%,#555778 53%,#89725e 53.5%,#a58c68 54%,#695c53 100%)}
.battle-skyline{position:absolute;left:0;right:0;bottom:46%;height:130px;background:#152638;opacity:.65;clip-path:polygon(0 65%,4% 65%,4% 30%,10% 30%,10% 55%,14% 55%,14% 0,21% 0,21% 40%,24% 40%,24% 20%,33% 20%,33% 70%,40% 70%,40% 40%,47% 40%,47% 5%,55% 5%,55% 60%,62% 60%,62% 25%,69% 25%,69% 65%,75% 65%,75% 15%,81% 15%,81% 50%,87% 50%,87% 32%,93% 32%,93% 65%,100% 65%,100% 100%,0 100%)}
.battle-ground{position:absolute;border-radius:50%;height:42px;width:220px;background:#33463a;box-shadow:0 6px #24362f,0 9px 0 3px #8d8871;border:4px solid #80917a}
.battle-ground-defense{right:7%;top:48%;width:190px;height:32px}.battle-ground-attack{left:6%;bottom:17px}
.battle-combatant{position:absolute;width:195px;height:195px;z-index:2}.battle-defense{right:7%;top:3%}.battle-attack{left:7%;bottom:7px;width:225px;height:225px}
.battle-fighter-art,.battle-fighter-art>.sprite.battle-sprite{width:100%;height:100%;display:block;image-rendering:pixelated}
.battle-hud{position:absolute;width:43%;max-width:340px;padding:12px 14px 10px;border:2px solid #21383e;border-radius:3px 3px 12px 3px;background:#e8e6c9;box-shadow:4px 4px #182b37;color:#193138;z-index:3}
.battle-hud-defense{top:20px;left:24px}.battle-hud-attack{right:24px;bottom:25px}
.battle-hud>div{display:flex;align-items:center;justify-content:space-between;gap:7px}.battle-hud strong{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.battle-type{font-size:9px;padding:4px 5px;border-radius:2px;background:#693a71;color:#fff;white-space:nowrap}.battle-type[data-type=analise]{background:#216473}.battle-type[data-type=influencia]{background:#806125}
.battle-hud label{display:flex;justify-content:space-between;font-size:10px!important;margin:9px 0 5px;letter-spacing:.08em}.battle-hud label b{font-variant-numeric:tabular-nums}
.battle-hud progress{display:block;width:100%;height:9px;accent-color:#429569;margin:0;border:0}.battle-hud progress::-webkit-progress-bar{background:#9baf9d;border-radius:2px}.battle-hud progress::-webkit-progress-value{background:#39976c;transition:width .55s ease}.battle-hud progress.battle-low::-webkit-progress-value{background:#c35b48}
.battle-field-label{position:absolute;bottom:4px;right:10px;max-width:45%;font-size:9px;letter-spacing:.08em;color:#e9dfcc;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.battle-damage{position:absolute;top:15%;left:43%;font-size:26px;color:#fff1d0;font-weight:900;text-shadow:2px 2px #542f35;animation:battle-damage .9s ease-out both;z-index:5}
.battle-attack.is-attacking .battle-fighter-art{animation:battle-lunge .5s steps(4)}.battle-defense.is-attacking .battle-fighter-art{animation:battle-lunge .5s steps(4) reverse}
.battle-combatant.is-hit .battle-fighter-art{animation:battle-hit .6s steps(2) .25s}.battle-combatant.is-knocked-out .battle-fighter-art{opacity:.25;transform:translateY(30px);transition:opacity .8s,transform .8s}
.battle-projectile{position:absolute;z-index:4;left:28%;top:61%;font-size:40px;color:#fbdf9f;text-shadow:2px 2px #705366;animation:battle-projectile .7s steps(6) both}
.battle-scene[data-striker=defense] .battle-projectile{left:69%;top:29%;animation-name:battle-projectile-back}
.battle-scene[data-effect=smoke] .battle-projectile{color:#b9a3d3;letter-spacing:5px}.battle-scene[data-effect=stamp] .battle-projectile{color:#dfb85d}
.battle-narrative,.battle-result{padding:17px 24px 12px;min-height:146px;border-top:3px solid #bb9a55;background:#101b29}.battle-narrative h3,.battle-result h3{margin:8px 0;font-size:21px;color:#f8eacf}.battle-narrative p,.battle-result p{font-size:12px;line-height:1.65;margin:0;color:#c5cbd0}.battle-effectiveness{display:block;font-size:11px;color:#e4ba69;min-height:14px;margin-top:7px}
.battle-result.is-victory h3{color:#8fe0ac}.battle-rewards{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.battle-rewards>*{font-size:12px;padding:6px 9px;background:#233d3c;color:#cce4c9;border:1px solid #496558}.battle-rewards>span{background:#27303d;color:#bfc8d1;border-color:#46505d}.battle-result p.battle-cooldown-note{font-size:10px}
.battle-lineups{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:12px 24px 0;border-top:1px solid #344251}.battle-lineups>div{min-width:0}.battle-lineups small{font-size:9px;letter-spacing:.1em;color:#a9b7c4}.battle-lineups>div>div{display:flex;gap:3px;overflow:auto;max-height:51px;margin-top:4px;scrollbar-width:thin}.battle-reserve{flex:0 0 40px;width:40px;height:40px;background:#1f2d3c;border:1px solid #3e4a59;border-radius:3px}.battle-reserve>.sprite.battle-sprite{width:100%;height:100%;display:block}
.battle-type-guide{font-size:9px;color:#8c9dac;margin:10px 24px 12px;line-height:1.5}.battle-controls{padding:12px 24px;background:#172432;border-top:1px solid #344251;display:flex;align-items:center;justify-content:space-between;gap:12px}.battle-controls>span{font-size:9px;color:#91a696}.battle-controls>div{display:flex;gap:7px}.battle-controls button{font:inherit;font-size:11px;padding:9px 11px;border:1px solid #a58c55;background:#293849;color:#f2dfb5;min-height:36px}.battle-controls button[hidden]{display:none}.battle-history{margin-bottom:10px;font-size:.85rem}
@keyframes battle-lunge{50%{transform:translate(24px,-9px)}}
@keyframes battle-hit{25%,75%{opacity:.25;transform:translateX(5px)}50%{opacity:1;transform:translateX(-5px)}}
@keyframes battle-damage{0%{opacity:0;transform:translateY(15px)}30%,70%{opacity:1}100%{opacity:0;transform:translateY(-20px)}}
@keyframes battle-projectile{0%{opacity:0;transform:translate(0,0) rotate(-10deg)}20%{opacity:1}90%{opacity:1}100%{opacity:0;transform:translate(290px,-100px) rotate(20deg)}}
@keyframes battle-projectile-back{0%{opacity:0;transform:translate(0,0)}20%{opacity:1}90%{opacity:1}100%{opacity:0;transform:translate(-290px,100px)}}
@media(max-width:600px){.dialog.battle-dialog{width:calc(100vw - 16px);max-height:96dvh}.battle-header{padding:12px 14px}.battle-header h2{font-size:19px}.battle-eyebrow{font-size:8px}.battle-scene{height:275px}.battle-hud{padding:9px;width:51%}.battle-hud-defense{left:10px;top:12px}.battle-hud-attack{right:10px;bottom:15px}.battle-hud strong{font-size:10px}.battle-hud label{font-size:8px!important}.battle-type{font-size:7px;padding:3px}.battle-defense{width:145px;height:145px;right:2%;top:30px}.battle-attack{width:175px;height:175px;left:0;bottom:5px}.battle-ground-defense{width:120px;right:6%;top:54%;height:24px}.battle-ground-attack{left:2%;width:150px;height:30px;bottom:15px}.battle-narrative,.battle-result{padding:14px;min-height:155px}.battle-narrative h3,.battle-result h3{font-size:18px}.battle-narrative p,.battle-result p{font-size:11px}.battle-lineups{padding:10px 14px 0;gap:12px}.battle-type-guide{margin:9px 14px;font-size:8px}.battle-controls{padding:10px 14px;gap:8px;align-items:flex-start;flex-direction:column}.battle-controls>div{align-self:flex-end}.battle-controls button{font-size:10px}.battle-rewards{gap:5px}.battle-rewards>*{font-size:10px}.battle-projectile{font-size:28px}.battle-field-label{font-size:7px}.battle-lineups>div>div{max-height:40px}.battle-reserve{width:32px;height:32px;flex-basis:32px}}

.battle-toolbar{display:flex;align-items:center;gap:8px}.battle-mute{display:grid;place-items:center;min-width:38px;min-height:38px;padding:7px;border:1px solid #8d794f;background:#233647;color:#efcf85;border-radius:3px}.battle-mute svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.battle-speaker-slash{display:none}.battle-mute[data-muted=true] .battle-speaker-slash{display:block}.battle-mute[data-muted=true] .battle-speaker-waves{display:none}.battle-mute[data-muted=true]{color:#a3b0bd;border-color:#506072}
/* Idle energy: keep the resource flow readable alongside the existing pixel art. */
.energy-flow{display:flex;justify-content:space-between;gap:8px;font-size:.68rem;line-height:1.5;margin-top:5px;flex-wrap:wrap;color:var(--muted,#b6adcb)}
.energy-flow b,.mobile-regen{color:#80e7ba}.mobile-regen{font-size:.65rem;white-space:nowrap}
.fraud-energy-note{font-size:.9rem;line-height:1.5;margin:14px 0}.fraud-calculation{border-top:1px solid var(--line);margin-top:12px}.fraud-calculation p{margin:10px 0}.market-item-heading>.loot-glyph{width:64px;height:64px;flex-shrink:0}.night-risk{font-size:.9rem;line-height:1.5}.night-risk .pixel-icon{width:19px;height:19px}.energy-details p{margin:12px 0 0}.fraud-detail>.fraud-calculation{order:5}
.fraud-flow{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;padding:14px 16px;margin:16px 0;background:#171b29;border:1px solid #39394f;border-radius:8px}
.fraud-flow>div{display:flex;flex-direction:column;gap:5px}.fraud-flow span{font-size:.76rem;color:#b9b1cb}.fraud-flow strong{font-size:1.1rem;color:#80e7ba}.fraud-flow>div:nth-child(2) strong{color:#e9c577}
.fraud-flow p{grid-column:1/-1;font-size:.78rem;line-height:1.6;margin:2px 0 0;color:#bfc4d7}.fraud-flow.is-deficit{border-color:#695233}
.fraud-metrics dd small{display:block;font-weight:400;font-size:.7rem;color:#b9b1cb;margin-top:5px}.idle-explainer{font-size:.78rem;color:#b9b1cb;line-height:1.7}.idle-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.fraud-timer small{display:block;font-size:.75rem;line-height:1.7;color:#c1b9d1}.fraud-timer.is-waiting{border-color:#9c7e48}.fraud-timer-compact .fraud-timer-name small{display:block;font-size:.64rem;color:#bfb6cf;margin-top:3px}
.regen-dashboard{margin-bottom:20px}.regen-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.regen-dashboard-heading small{font-size:.66rem;letter-spacing:.08em;color:#b9b1cb}.regen-dashboard-heading h2{color:#80e7ba;font-size:1.6rem;margin:8px 0}.regen-dashboard-heading p,.regen-rules{font-size:.8rem;line-height:1.7;color:#b9b1cb}.effect-slots{border:1px solid #666079;border-radius:6px;padding:8px;font-size:.75rem;white-space:nowrap}
.active-effects{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-top:14px}.active-effect{display:flex;gap:12px;align-items:center;background:#171b29;border-radius:6px;padding:10px}.active-effect>.atlas,.active-effect>.portrait{width:48px;height:56px;flex:0 0 48px}.active-effect>div{min-width:0;flex:1}.active-effect strong,.active-effect span{display:block;font-size:.78rem;line-height:1.6}.active-effect span{font-size:.7rem;color:#b9b1cb}.active-effect progress{width:100%;height:7px;margin-top:6px;accent-color:#80e7ba}.regen-empty{font-size:.8rem;color:#b9b1cb;line-height:1.7}.effect-duration{font-size:.7rem;color:#b9b1cb}.service-tradeoff,.medicine-tradeoff{font-size:.75rem;line-height:1.6;color:#edc786}.service-card .service-facts{flex-wrap:wrap}.service-card button{white-space:normal}
@media(max-width:600px){.regen-dashboard-heading{align-items:flex-start;flex-direction:column}.regen-dashboard-heading h2{font-size:1.3rem}.active-effects{grid-template-columns:1fr}.fraud-flow{padding:12px}.mobile-vitals>span{flex-wrap:wrap}.mobile-regen{flex-basis:100%}.idle-controls>*{flex:1}.regen-dashboard{padding:16px}}

.battle-hud label{color:#324b50}.battle-hud label b{color:#243f45}
.active-effect{display:grid;grid-template-columns:48px minmax(0,1fr)}.active-effect>button{grid-column:2;justify-self:start;padding:5px 8px;min-height:30px;font-size:.72rem}.fraud-power-note{font-size:.78rem;line-height:1.7;color:var(--muted)}
@media(max-width:760px){.fraud-detail{display:flex;flex-direction:column}.fraud-detail>.fraud-overview{order:0}.fraud-detail>.fraud-lock{order:1}.fraud-detail>.fraud-idle-controls{order:2}.fraud-detail>.fraud-metrics{order:3;margin-top:20px}.fraud-detail>.fraud-drops{order:4}.fraud-detail>.fraud-power-note{order:5}.fraud-idle-controls .fraud-flow{margin-top:0}.fraud-idle-controls .idle-explainer{margin-bottom:10px}.fraud-idle-controls .fraud-flow p{font-size:.76rem}}

.battle-header h2{margin:0;font-size:21px;letter-spacing:0}.battle-header{padding:14px 24px}.battle-scene{height:400px}.battle-controls{justify-content:flex-end}.battle-narrative,.battle-result{min-height:105px;padding-top:12px;padding-bottom:12px}.battle-lineups{padding-bottom:12px}.battle-lineups small{letter-spacing:0;font-size:11px}.battle-attributes{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:9px 0 7px!important;padding:0!important}.battle-attributes>div{display:block!important;min-width:0}.battle-attributes dt{font-size:10px;color:#3b5152;font-weight:400}.battle-attributes dd{font-size:13px;font-weight:700;margin:3px 0 0;color:#193138}.battle-loadout{position:relative;display:flex!important;gap:5px;align-items:center;justify-content:flex-start!important}.battle-equipped-item,.battle-empty-item{display:block;margin:0;padding:0;width:34px;height:32px;flex-shrink:0;border:1px solid var(--item-color,#92a391);border-radius:3px;background:#20363b;color:#a5b4a7}.battle-empty-item{display:grid;place-items:center;border-style:dashed;background:#d4d8be;color:#687d6f}.battle-equipped-item>summary{list-style:none;display:block;cursor:pointer;margin:0!important;width:100%;height:100%;padding:0!important}.battle-equipped-item>summary::-webkit-details-marker{display:none}.battle-equipped-item .sprite.battle-item-art{display:block;width:100%;height:100%}.battle-item-detail{position:absolute;left:0;bottom:38px;z-index:8;display:grid;gap:4px;width:100%;min-width:140px;padding:9px;background:#18313b;border:1px solid #9eac90;border-radius:4px;box-shadow:0 3px 12px #0008;color:#f4edd7;font-size:11px;line-height:1.4}.battle-item-detail strong{font-size:11px;color:#f4edd7}.battle-item-detail span,.battle-item-detail small{display:block;font-size:10px;color:#d3dcca}.battle-item-detail small{white-space:normal}.battle-hud{overflow:visible}.battle-header>div:first-child{min-width:0}
@media(max-width:600px){.battle-header{padding:12px 14px}.battle-header h2{font-size:16px;line-height:1.3}.battle-scene{height:360px}.battle-hud{width:49%;padding:8px}.battle-hud strong{font-size:10px}.battle-hud>div{gap:4px}.battle-type{font-size:7px;padding:3px}.battle-attributes{gap:3px;margin:7px 0 6px!important}.battle-attributes dt{font-size:8px}.battle-attributes dd{font-size:11px;margin-top:2px}.battle-equipped-item,.battle-empty-item{width:29px;height:27px}.battle-loadout{gap:4px}.battle-item-detail{bottom:32px;font-size:10px;min-width:0}.battle-hud-defense{left:9px;top:12px}.battle-hud-attack{right:9px;bottom:14px}.battle-defense{top:24px;right:0}.battle-ground-defense{top:40%;right:5%}.battle-attack{left:0;bottom:4px}.battle-narrative,.battle-result{min-height:94px;padding:10px 14px}.battle-narrative h3,.battle-result h3{font-size:16px;margin:4px 0 7px}.battle-narrative p{font-size:11px}.battle-lineups{padding:9px 14px}.battle-lineups small{font-size:10px}.battle-controls{flex-direction:row;padding:9px 14px}.battle-controls>div{margin-left:auto}.battle-countdown{padding:7px 9px;font-size:11px}.battle-toolbar{gap:6px}.battle-type-guide,.battle-field-label{display:none}}

.business-attacker{display:flex;align-items:center;gap:10px;margin:10px 0;padding:10px;border:1px solid #83564f;border-radius:6px;background:#241c20}.business-attacker>.portrait{width:42px;height:42px;flex-shrink:0}.business-attacker>div{min-width:0}.business-attacker small,.business-attacker strong,.business-attacker time{display:block}.business-attacker strong{margin:3px 0;overflow-wrap:anywhere}.business-attacker small,.business-attacker time{font-size:13px;color:var(--muted)}
/* Compact guided rehearsal: only the precise control receives input. */
#tutorial-overlay{position:fixed;inset:0;z-index:1600;pointer-events:none}
.tutorial-ring{position:fixed;border:2px solid #ffd36b;border-radius:8px;box-shadow:0 0 0 3px #382842bb,0 0 18px #ffd36b55;pointer-events:none}
.in-tutorial{--tutorial-action:#ff63d6}
.tutorial-ring.is-interactive{border-color:var(--tutorial-action);border-width:3px;animation:tutorial-target-pulse 1.35s ease-in-out infinite}
.in-tutorial [data-tutorial-target],#tutorial-overlay button{outline:2px solid var(--tutorial-action);outline-offset:2px;animation:tutorial-target-pulse 1.35s ease-in-out infinite}
.in-tutorial button[data-tutorial-target],#tutorial-overlay button{background:var(--tutorial-action);border-color:#ffc0ef;color:#211020}
.in-tutorial button[data-tutorial-target]:hover:not(:disabled),#tutorial-overlay button:hover:not(:disabled){background:#ff9be7;border-color:#ffe2f8}
.in-tutorial [data-tutorial-target]:focus-visible,#tutorial-overlay button:focus-visible{outline:3px solid #fff;outline-offset:4px}
@keyframes tutorial-target-pulse{0%,100%{box-shadow:0 0 0 0 #ff63d680,0 0 10px #ff63d64d}55%{box-shadow:0 0 0 7px #ff63d600,0 0 24px #ff63d6b3}}
.tutorial-guide{position:fixed;display:flex;align-items:flex-end;width:min(350px,calc(100vw - 24px));gap:6px;pointer-events:auto;color:#f8eedc}
.tutorial-voro{flex:0 0 58px;width:58px;height:58px;background-image:url('/assets/v05/voro-tutorial.png');background-size:300% 100%;background-position:calc(var(--pose)*50%) center;image-rendering:pixelated}
.tutorial-bubble{flex:1;min-width:0;padding:12px;border:1px solid #cba857;border-radius:10px;background:#211a2af5;box-shadow:0 5px 22px #0009;font:14px/1.45 system-ui,sans-serif;max-height:calc(100dvh - 24px);overflow:auto}
.tutorial-bubble h2{font:700 16px/1.25 system-ui,sans-serif;margin:5px 0 7px;color:#ffe1a0}
.tutorial-bubble p{margin:0 0 10px;font-size:14px;line-height:1.45}
.tutorial-bubble small{font-size:11px;color:#cab8d1}
.tutorial-bubble button{min-height:44px;width:100%;white-space:normal;font-size:13px}
.tutorial-click{display:block;font-weight:700;color:#ffe1a0;font-size:12px}
.tutorial-error:empty{display:none}.tutorial-error{color:#ffbcb5}
.in-tutorial #toasts,.in-tutorial #item-tooltip{visibility:hidden}
@media(max-width:600px){.tutorial-guide{width:min(330px,calc(100vw - 24px));gap:4px}.tutorial-voro{flex-basis:44px;width:44px;height:44px}.tutorial-bubble{padding:10px}.tutorial-bubble h2{font-size:15px}.tutorial-bubble p{font-size:13px;line-height:1.4}}
@media(max-height:500px) and (min-width:601px){.tutorial-guide{width:min(490px,calc(100vw - 24px))}.tutorial-voro{flex-basis:44px;width:44px;height:44px}.tutorial-bubble{padding:10px}.tutorial-bubble p{font-size:13px;line-height:1.4}}

/* Later care qualities remain inspectable without crowding the current offers. */
.care-catalog{margin:12px 0 20px;border-top:1px solid var(--line);padding-top:10px}.care-catalog>summary{cursor:pointer;color:var(--muted);padding:8px 0;line-height:1.6}.care-catalog[open]>summary{margin-bottom:10px}.care-level{color:var(--muted);font-size:.75rem;line-height:1.6}.medicine-card .medicine-tradeoff{display:block}
.pharmacy-heading{margin:22px 0 12px}.medicine-target{color:var(--teal)}.medicine-card p{overflow-wrap:anywhere}.active-effect{flex-wrap:wrap}.active-effect>button{flex-basis:100%;min-height:44px}.active-effect small{color:var(--muted)}
.service-blocked{margin:0 0 12px;padding:12px;border:1px solid var(--line);border-radius:6px}.service-blocked p{margin:0 0 8px}.pharmacy-link{white-space:normal;min-height:44px}.medicine-card:focus-within{outline:2px solid var(--teal);outline-offset:3px}

.retaliation-action{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:8px}.retaliation-action[hidden]{display:none}.retaliation-action small{font-size:12px}.attack-member input:disabled:not(:checked){opacity:.5}

.combat-order{list-style:none;padding:0;margin:10px 0 16px;display:grid;gap:6px}.combat-order li{display:flex;align-items:center;gap:9px;padding:7px;background:#15212b;border:1px solid var(--line);border-radius:6px;min-width:0}.combat-order .portrait{width:36px;height:36px;flex-shrink:0}.combat-order strong{min-width:0;overflow-wrap:anywhere;font-size:14px}.order-position{color:var(--gold);min-width:16px;font-weight:700}.order-buttons{display:flex;gap:5px;margin-left:auto;flex-shrink:0}.order-move{min-height:36px;min-width:36px;padding:5px 9px}.defense-order{margin:10px 0}.defense-order summary{cursor:pointer;font-size:14px}.defense-order .combat-order{margin-bottom:4px}.battle-reserve.is-active{outline:2px solid #efc66e;outline-offset:1px}.battle-reserve.is-defeated{opacity:.3;filter:grayscale(1)}.battle-loading{position:absolute;z-index:10;inset:0;display:grid;place-items:center;background:#122132ee;color:#f4dfb0;margin:0;font-weight:700}.battle-playback{position:relative}.battle-log{margin-top:12px;font-size:13px}.battle-log summary{cursor:pointer;min-height:36px;align-content:center}.battle-log ol{max-height:200px;overflow:auto;line-height:1.6;padding-left:23px}.battle-log li{padding:4px 0}.battle-combatant.is-entering .battle-fighter-art{animation:battle-enter .6s ease-out both}.battle-damage{animation-delay:.25s}.battle-hud progress::-webkit-progress-value{transition:none}
@keyframes battle-enter{from{opacity:0;transform:translateY(25px) scale(.65)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.combat-order li{gap:6px;padding:6px}.combat-order strong{font-size:12px}.combat-order .portrait{width:30px;height:30px}.order-move{min-height:40px;min-width:36px}.battle-log{font-size:11px}}

.ally-equipped-item{min-width:0;position:relative}.ally-equipped-item>summary{cursor:pointer;list-style:none}.ally-equipped-item>summary::-webkit-details-marker{display:none}.ally-equipped-item[open]{z-index:3}.ally-item-detail{position:absolute;left:0;top:48px;width:190px;max-width:calc(100vw - 100px);padding:12px;border:1px solid var(--line);border-radius:6px;background:#121b2a;box-shadow:0 8px 20px #0008;display:grid;gap:7px;font-size:.78rem}.ally-item-detail .stats-inline{flex-wrap:wrap;gap:7px;font-size:.8rem}.ally-equipment>details:last-child .ally-item-detail{left:auto;right:0}
/* Loot boxes, session earnings and wanted flow. */
.box-glyph{width:56px;height:56px;flex:none;image-rendering:pixelated;filter:drop-shadow(0 3px 0 #080d16)}
.fraud-metrics .metric-box dt{display:flex;align-items:center;gap:7px}.metric-box .box-glyph{width:26px;height:26px}.metric-wanted dd{color:#ffb178}
.fraud-run-loot{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;margin:12px 0}.fraud-run-loot>span,.fraud-run-loot>button{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #57857966;border-radius:6px;background:#101f25;text-align:left;min-width:0;color:var(--teal)}.fraud-run-loot small,.fraud-run-loot strong{display:block}.fraud-run-loot small{font-size:.75rem;color:var(--muted);margin-bottom:3px}.fraud-run-loot .box-glyph{width:36px;height:36px}.fraud-run-loot strong{font-size:1.1rem;overflow-wrap:anywhere}.wanted-flow{line-height:1.55}.wanted-details{font-size:.75rem;color:var(--muted);margin-top:6px}.wanted-details summary{cursor:pointer;min-height:30px;align-content:center}.wanted-details p{margin:8px 0}.wanted-details button{font-size:.75rem;min-height:36px}.mobile-wanted-flow{display:block;font-size:.6rem;color:#ffb178;grid-column:1/-1}
.inventory-boxes{margin:22px 0}.inventory-boxes h2{margin-bottom:8px}.box-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.box-card{display:flex;gap:12px;align-items:flex-start;padding:16px}.box-card>div{min-width:0;flex:1}.box-card>.box-glyph{width:68px;height:68px}.box-card h3{font-size:1rem;margin-bottom:5px}.box-card small{display:block;color:var(--muted);margin-bottom:10px}.box-card button{min-height:44px;width:100%}.box-count{color:var(--gold);white-space:nowrap}.box-card details{font-size:.8rem;margin-top:8px}.box-card summary{min-height:36px;align-content:center;cursor:pointer}.box-card .drop-odds{display:grid;grid-template-columns:1fr;gap:6px}.box-card .drop-odds>span{display:flex;justify-content:space-between}
.box-dialog{width:min(580px,calc(100vw - 24px));padding:0;overflow:hidden;border:1px solid #ba9359;background:#0d1423;box-shadow:0 0 70px #b787352a}.box-celebration{padding:22px;background:radial-gradient(ellipse at 50% 35%,#353050 0,transparent 65%);text-align:center;position:relative}.box-opening-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:.8rem}.box-opening-top button{min-height:44px;padding:7px 10px;font-size:.75rem}.box-celebration h2{color:var(--gold);font-size:1.8rem;margin:22px 0 0}.box-stage{height:230px;position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden}.box-prize[hidden],.box-skip[hidden]{display:none}.box-prize{position:relative;z-index:2}.box-prize .item-summary{justify-content:center;flex-direction:column;gap:10px;text-align:center}.box-prize .loot-glyph{width:100px;height:100px}.box-prize h3{font-size:1.4rem;color:var(--rarity)}.box-prize .stats-inline,.box-prize .actions{justify-content:center;flex-wrap:wrap}.box-prize .item-multiplier{display:none}.box-prize .positive{margin:16px 0}.box-prize .actions button{min-height:46px}.box-opening-status{color:var(--muted);font-size:.85rem;min-height:2.5em;margin:0}.box-skip{margin-top:12px;min-height:44px}
.is-revealed .box-stage{height:85px}.box-animation{width:230px;height:230px;max-width:100%;image-rendering:pixelated}.is-revealed .box-animation{width:85px;height:85px}
@media(max-width:600px){.box-grid{grid-template-columns:1fr}.box-dialog{max-height:calc(100dvh - 24px);overflow-y:auto}.box-celebration{padding:16px}.box-stage{height:200px}.box-animation{width:200px;height:200px}.box-opening-top{font-size:.75rem}.fraud-run-loot{gap:7px}.fraud-run-loot>span,.fraud-run-loot>button{padding:8px}.fraud-run-loot small{font-size:.65rem}.fraud-run-loot strong{font-size:1rem}.box-prize .loot-stats{gap:8px}.box-prize .actions{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:900px){.mobile-vitals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;text-align:left}.mobile-vitals>span{display:grid;grid-template-columns:16px 1fr;gap:4px;align-items:center}.mobile-vitals>span>b{grid-column:1/-1}.mobile-vitals .mobile-regen,.mobile-vitals .mobile-wanted-flow{grid-column:1/-1;margin-left:0;font-size:.6rem;line-height:1.3}}
.box-prize .rarity-label{display:none}.is-revealed h2{color:var(--rarity)}.is-revealed .box-opening-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.box-inventory-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:8px}.box-inventory-heading h2{margin:0}.box-inventory-heading button{min-height:44px}.box-dialog{max-height:calc(100dvh - 24px);overflow-y:auto}.is-batch.is-revealed h2{color:var(--gold)}.is-batch.is-revealed .box-opening-status{position:static;width:auto;height:auto;margin:12px 0;overflow:visible;clip-path:none;white-space:normal}.box-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:38dvh;overflow-y:auto;padding:5px;scrollbar-width:thin}.box-reward{min-width:0;border:1px solid var(--rarity);border-radius:7px;padding:12px;background:#111b28;animation:box-item-reveal .4s ease-out both}.box-reward .item-summary{margin:0}.box-reward .loot-glyph{width:56px;height:56px}.box-reward h3{font-size:1rem;overflow-wrap:anywhere}.box-reward .rarity-label{display:inline;font-size:.75rem}.box-reward>p{font-size:.8rem;line-height:1.5;color:var(--muted)}.box-reward .loot-stats{font-size:.8rem;margin-bottom:0}.box-opening-complete[hidden]{display:none}
@keyframes box-item-reveal{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.box-inventory-heading button{width:100%}.box-rewards{grid-template-columns:1fr;max-height:34dvh}.is-batch.is-revealed .box-stage{height:60px}.is-batch.is-revealed .box-animation{width:60px;height:60px}}
.fraud-outcome-effect{position:fixed;z-index:75;opacity:.8;pointer-events:none;image-rendering:pixelated}
.danger-button{color:var(--red);border-color:#965b5b;background:#37252b}.danger-button:hover:not(:disabled){background:#513038;border-color:var(--red)}
.selection-delete{margin-top:12px}.character-delete-option{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}
.dialog[data-modal="deleteCharacter"] h2{overflow-wrap:anywhere}
#delete-character-form{display:grid;gap:12px;margin-top:20px}#delete-character-form input{width:100%;min-width:0;min-height:44px}#delete-character-form p{margin:0}.delete-character-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:8px}.delete-character-actions button{min-height:44px}
