@charset "UTF-8";
:root{color-scheme:dark;--bg:#101413;--panel:#1b1c1c;--panel2:#232424;--edge:#4c4b3f;--rust:#765440;--text:#dbd3bd;--muted:#8f9888;--teal:#77c2b5;--amber:#d0a16b;--red:#c46a62;--pink:#c48b9c;--green:#a1a897;--header:78px;--footer:76px;--sidebar:234px;font:14px/1.5 'Bahnschrift','Segoe UI',sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{background:radial-gradient(ellipse at 70% 0,#2c2d2d 0,transparent 65%),#101413}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--teal);outline-offset:4px}a{color:var(--teal)}button{color:inherit}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:'Bahnschrift SemiCondensed','Arial Narrow','Bahnschrift','Segoe UI',sans-serif;font-weight:500}h1{font-size:26px;letter-spacing:.035em}h2{font-size:24px}h3{font-size:19px}h4{font-size:16px}small{font-size:11px}p{line-height:1.6}svg.icon{width:22px;height:22px;flex:0 0 auto;vertical-align:middle}button .icon{pointer-events:none}button span{pointer-events:none}::selection{background:#77c2b540;color:#fff}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:#121212}::-webkit-scrollbar-thumb{background:#4a4b4c;border:1px solid #191a1a}input,select,textarea{background:#101714;color:var(--text);border:1px solid #4c4e4e;border-radius:2px;min-height:42px;padding:10px 12px;max-width:100%;accent-color:var(--teal)}input::placeholder,textarea::placeholder{color:#747e73}select{padding-right:30px}input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0 8px 0 0}input[type=number]{width:120px}input[readonly]{color:var(--teal);font-size:12px}textarea{resize:vertical;min-height:90px}label{color:var(--muted);font-size:12px}label input,label select,label textarea{display:block;margin-top:7px;color:var(--text);font-size:14px}input[type=checkbox]{display:inline-block;vertical-align:middle}progress{appearance:none;-webkit-appearance:none;width:100%;height:6px;border:0;background:#101111;border-radius:0;overflow:hidden}progress::-webkit-progress-bar{background:#0d0e0e;box-shadow:inset 0 1px 2px #000}progress::-webkit-progress-value{background:var(--teal);box-shadow:0 0 8px #77c2b555}progress::-moz-progress-bar{background:var(--teal)}.muted,.requirements{color:var(--muted);font-size:12px}.eyebrow{font-size:10px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}.skip-link{position:fixed;left:12px;top:-60px;z-index:200;background:var(--panel);padding:12px}.skip-link:focus{top:12px}
.app-shell{height:100dvh;min-height:630px;display:flex;flex-direction:column;max-width:2200px;margin:auto;border-left:1px solid #3d3e3f;border-right:1px solid #3d3e3f;box-shadow:0 0 80px #000a}.topbar{height:var(--header);flex:none;display:flex;align-items:stretch;background:repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 4px),linear-gradient(100deg,#272727,#141515 50%,#262626);border-top:3px solid #5d4939;border-bottom:1px solid #645545;box-shadow:0 4px 12px #0008;z-index:20;position:relative}.topbar::after{content:'';position:absolute;bottom:-3px;left:var(--sidebar);right:0;height:2px;background:linear-gradient(90deg,transparent,#9d6b4533,transparent);pointer-events:none}.brand{width:var(--sidebar);flex:none;display:flex;align-items:center;gap:11px;padding:10px 14px;color:var(--text);text-decoration:none;border-right:1px solid #414242}.brand strong{display:block;font-size:21px;letter-spacing:.075em;font-weight:500;line-height:1.2}.brand small{display:block;color:#9f9e89;font-size:8px;letter-spacing:.06em;line-height:1.7}.brand-seal{width:47px;height:47px;display:flex;justify-content:center;align-items:center;border:3px double #975d48;border-radius:50%;color:#b96e57;font-size:32px;font-family:Georgia,serif;font-weight:700;box-shadow:inset 0 0 13px #000,0 0 0 3px #0d0e0e,0 0 0 4px #574438;flex:none;text-shadow:1px 2px #000}.topnav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));flex:1;min-width:0;padding:0 14px}.game-button{border:1px solid #62604c;border-radius:1px;background:linear-gradient(170deg,#333434,#232425);color:#ded8c2;min-height:39px;padding:9px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;font-weight:500;line-height:1.3;box-shadow:inset 0 1px #ffffff0b,0 2px 3px #0005;transition:border-color .15s,background .15s,color .15s,transform .15s}.game-button:hover:not(:disabled){border-color:var(--amber);color:#fff3d9;background:linear-gradient(170deg,#3d3e3e,#2c2e2e)}.game-button:active:not(:disabled){transform:translateY(1px)}.game-button.primary{background:linear-gradient(170deg,#b88d57,#806141);border-color:#d3ad78;color:#171818;text-shadow:0 1px #ffffff15;font-weight:600}.game-button.primary:hover:not(:disabled){background:linear-gradient(170deg,#d6b17a,#a17b4d);color:#121313}.game-button.quiet{background:#1c1d1d;border-color:#464848;color:#a9b4a0;box-shadow:inset 0 1px #ffffff04}.game-button.danger{border-color:#6f4940;color:#c58c7d;background:#261d18}.game-button.text-button{background:none;border:0;box-shadow:none;color:var(--teal);padding:4px 0;min-height:28px;justify-content:flex-start}.game-button.text-button .icon{width:17px}.icon-button{background:transparent;border:0;color:var(--muted);padding:12px}.icon-button:hover{color:var(--teal)}.settings-toggle{width:56px;border-left:1px solid #404242;flex:none}.settings-toggle .icon{width:26px;height:26px}.game-button.nav-tab{border:0;border-bottom:2px solid transparent;min-width:0;display:flex;flex-direction:column;gap:4px;background:none;box-shadow:none;padding:8px 5px 6px;font-size:11px;text-transform:uppercase;letter-spacing:.055em;color:#9c9e89}.nav-tab .icon{width:29px;height:29px;padding:4px;border:1px solid #645747;box-sizing:content-box;border-radius:50%;background:radial-gradient(#313233,#181818);box-shadow:0 2px 3px #0009}.game-button.nav-tab:hover{background:#ffffff03;color:#e1d9c2}.game-button.nav-tab.active{color:var(--teal);border-bottom-color:var(--teal);background:linear-gradient(0deg,#77c2b50c,transparent)}.nav-tab.active .icon{border-color:#6a9c88;color:#99ddcc;box-shadow:0 0 12px #77c2b51c,inset 0 0 8px #77c2b511}
.workspace{display:flex;flex:1;min-height:0}.sidebar{width:var(--sidebar);flex:none;overflow-y:auto;background:repeating-linear-gradient(90deg,#ffffff01 0 1px,transparent 1px 3px),linear-gradient(90deg,#1d1d1d,#181919);border-right:1px solid #5a5544;box-shadow:7px 0 15px #0003;position:relative;z-index:5;padding:17px 14px 12px}.identity{display:flex;gap:12px;align-items:center;padding-bottom:17px;border-bottom:1px solid #424343;margin-bottom:18px}.portrait{width:63px;height:70px;border:2px solid #776649;outline:1px solid #363737;outline-offset:3px;flex:none;background-color:#272828;background-image:url('/art/operative-frames.png');background-size:960% 480%;background-position:6.5% 2.5%;box-shadow:inset 0 0 20px #1119;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)}.portrait.male{background-image:url('/art/operative-male-frames.png')}.identity-copy{min-width:0;flex:1}.identity-copy>small{font-size:8px;letter-spacing:.1em;color:#7d897b;display:block}.identity h2{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0 4px;max-width:135px}.level-row{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:11px;white-space:nowrap}.level-row b{color:#c3c5ab;font-weight:500}.level-row small{color:#7f8a7b;font-size:9px}.xp-progress{height:3px;margin-top:6px}.resource-stack{display:flex;flex-direction:column;gap:11px}.resource-meter{display:flex;gap:8px;align-items:center;color:var(--teal)}.resource-meter>.icon{border:1px solid #656768;border-radius:50%;width:30px;height:30px;padding:5px;box-shadow:0 0 0 2px #131313}.meter-body{flex:1;min-width:0}.meter-label{display:flex;justify-content:space-between;gap:5px;font-size:9px;letter-spacing:.045em;line-height:1.5}.meter-label span{color:#a9ad97}.meter-label b{font-size:10px;font-weight:500;color:#ddd9bf;white-space:nowrap}.resource-meter progress{display:block;margin-top:4px;height:5px}.resource-meter.red{color:#bd7970}.resource-meter.red>.icon{border-color:#80534c}.resource-meter.red progress::-webkit-progress-value{background:linear-gradient(90deg,#7e403b,#bc7b6b);box-shadow:0 0 8px #c46a6240}.resource-meter.green{color:#a3aa99}.resource-meter.green progress::-webkit-progress-value{background:linear-gradient(90deg,#686a6a,#a0a996)}.resource-meter.pink{color:#b997a6}.resource-meter.pink progress::-webkit-progress-value{background:linear-gradient(90deg,#735b6f,#bc96a7)}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:18px 0;padding:13px 0;border-block:1px solid #3f4141}.stat-mini{text-align:center;position:relative}.stat-mini:not(:last-child){border-right:1px solid #3f4141}.stat-mini .icon{width:19px;height:19px;color:#a29c87;margin-right:5px}.stat-mini b{font-weight:500;font-size:15px}.stat-mini small{display:block;font-size:9px;color:#8c9683;margin-top:4px}.wallet{margin-bottom:15px}.wallet-row{display:flex;align-items:center;gap:9px;font-size:11px;padding:5px 4px;border-bottom:1px solid #343636}.wallet-row .icon{width:18px;height:18px;color:#a99b77}.wallet-row span{color:#a6ac94;letter-spacing:.04em}.wallet-row b{margin-left:auto;font-weight:500;color:#ded9bd;font-size:14px}.medical-button{width:100%;border:1px solid #775741;color:#d5aa7e;background:linear-gradient(120deg,#393022,#241f18);font-size:13px;text-transform:uppercase;letter-spacing:.07em;margin-bottom:17px}.side-nav{display:flex;flex-direction:column;border-top:1px solid #414343;padding-top:7px}.game-button.side-link{justify-content:flex-start;background:none;box-shadow:none;border:0;border-left:2px solid transparent;color:#969f8a;padding:8px 9px;min-height:35px;font-size:12px}.side-link>.icon{width:18px;height:18px;margin-right:4px;color:#9b9d85}.game-button.side-link.active{border-left-color:var(--teal);background:#7ebda90a;color:var(--teal)}.side-link.active .icon{color:var(--teal)}.account{font-size:10px;margin-top:14px;color:#737f70;border-top:1px solid #37393a;padding-top:12px;overflow:hidden}.account>p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.account>button{margin-top:5px;background:none;border:0;color:#a5a991;font-size:10px;padding:0;min-height:24px;box-shadow:none}.account>button:hover{color:var(--red)}
.main-column{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:linear-gradient(#1717178c,#161616ed),url('/art/infirmary.png') center/cover}.screen-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 25px 13px;min-height:72px;flex:none;border-bottom:1px solid #444647;background:linear-gradient(90deg,#252627e6,#1b1b1bf0);gap:12px}.screen-heading h1{margin-top:1px;font-size:25px}.screen-heading .eyebrow{font-size:8px;letter-spacing:.12em;max-width:500px;display:block}.connection{color:#839b85;font-size:8px;letter-spacing:.08em;white-space:nowrap;display:flex;gap:6px;align-items:center}.connection i,.live-dot{height:5px;width:5px;background:#9bada3;box-shadow:0 0 7px #a2b5ab70;border-radius:50%;display:inline-block}.status-message{z-index:30;position:fixed;top:calc(var(--header) + 12px);right:22px;max-width:min(480px,calc(100vw - 30px));padding:11px 16px;border:1px solid #65876b;color:#c4ccc0;background:#262727f5;font-size:12px;box-shadow:0 5px 18px #0006;transition:opacity .25s;pointer-events:none}.status-message:empty{display:none}.status-message.success{animation:statusFade 4s forwards}.status-message.error{background:#35251df7;color:#dfb5a3;border-color:#906449;animation:statusFade 7s forwards}.status-message.pending{color:#b5c4af}.game-content{flex:1;min-height:0;overflow:auto;padding:23px 25px 28px;position:relative;scrollbar-gutter:stable}.game-content:focus{outline:none}.section-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.section-intro h2{font-size:25px}.section-intro p{font-size:12px;color:var(--muted);margin-top:5px}.tag{display:inline-flex;align-items:center;gap:5px;font-size:8px;letter-spacing:.08em;padding:4px 7px;border:1px solid #515353;color:#a6ad94;background:#252627;line-height:1.25;white-space:nowrap}.tag.teal{border-color:#6c7d74;color:#bdcbc2;background:#3536376b}.tag.red{border-color:#8a5847;color:#d7a080;background:#3d2a1c}.list-caption{color:var(--muted);font-size:11px;margin:15px 0}.currency-line{display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:12px}.currency{display:inline-flex;align-items:center;gap:5px;color:#b9b9a0}.currency .icon{width:17px;height:17px;color:#b8a073}.currency b{font-weight:500;color:#d9d0ad}.currency small{font-size:9px;color:#8c9a83}.currency.currency2 .icon{color:#b8bb93}.currency.currency3 .icon{color:#b9a0bd}.energy-cost{display:inline-flex;align-items:center;gap:5px;color:#a8b1a0}.energy-cost .icon{width:16px;height:16px}.energy-cost b{font-weight:500}.energy-cost small{color:#8c9a83}.requirements{font-size:11px;line-height:1.5}.segmented-control{display:flex;gap:2px;padding:3px;background:#131414;border:1px solid #404242;width:max-content;max-width:100%;margin-bottom:20px}.segmented-control .game-button{border:0;box-shadow:none;background:none;color:#8e9b83;min-height:33px;padding:8px 17px;font-size:12px}.segmented-control .game-button.selected{background:#393a3b;color:#cccfc4;box-shadow:inset 0 0 0 1px #626667}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:250px;padding:30px;text-align:center;width:100%;grid-column:1/-1;color:var(--muted);border:1px dashed #424242;background:#18181880;gap:12px}.empty-state>.icon{width:42px;height:42px;color:#738465}.empty-state h3{color:#c6c8ad}.empty-state p{font-size:12px;max-width:400px}.empty-state button{margin-top:6px}.search-toolbar{display:flex;gap:12px;align-items:center;background:#161717;border:1px solid #454747;padding:8px 10px;margin-bottom:16px}.search-toolbar>.icon{color:#859677;width:19px}.search-toolbar input{flex:1;border:0;padding:4px;background:transparent;min-height:30px;min-width:0}.search-toolbar .game-button{min-height:31px;padding:5px 15px;font-size:12px}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:25px 0 0}.pagination span{color:var(--muted);font-size:12px}.pagination button{min-width:95px}
.game-content.home-screen{padding:0;display:flex;flex-direction:column;scrollbar-gutter:auto}.room-scene{position:relative;isolation:isolate;flex:1;min-height:350px;overflow:hidden;background:#1e1e1e url('/art/infirmary.png') center/cover;border-bottom:1px solid #645844}.room-scene::before,.battle-scene::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#080909a6,transparent 35%,#0c0c0c25);pointer-events:none;z-index:1}.room-scene::after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 65px #0b0b0b90;pointer-events:none;z-index:3}.room-coordinate{position:absolute;top:23px;left:28px;display:flex;flex-direction:column;z-index:2;text-shadow:0 2px 7px #000}.room-coordinate small{font-size:8px;letter-spacing:.2em;color:#b3b69c}.room-coordinate strong{font-size:45px;line-height:1.15;font-weight:400;color:#d1d1b9;letter-spacing:.03em}.room-coordinate span{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#a5ae98}.room-caption{position:absolute;left:28px;bottom:23px;z-index:4;max-width:270px;text-shadow:0 2px 8px #000}.room-caption small{font-size:7px;letter-spacing:.14em;color:#aaa58c}.room-caption h2{font-size:24px;line-height:1.2;color:#d0c8af;max-width:230px;margin:7px 0}.room-caption p{font-size:11px;color:#a2a48d;max-width:240px;line-height:1.6}.sprite{position:absolute;pointer-events:none;background-repeat:no-repeat;background-size:400% 200%;background-position:0 0;image-rendering:auto;z-index:2;filter:drop-shadow(1px 5px 5px #000b);animation:idleFrames 2.8s steps(4) infinite}.sprite.operative{background-image:url('/art/operative-frames.png');aspect-ratio:1/2}.sprite.operative.male{background-image:url('/art/operative-male-frames.png')}.sprite.warden{background-image:url('/art/warden-frames.png');aspect-ratio:1;animation-duration:3.3s}.room-scene .operative{height:95%;max-height:590px;width:auto;bottom:-.5%;left:41%}.sprite.is-attacking{background-position-y:100%;animation:attackFrames .7s steps(4) 1}.room-fog{position:absolute;z-index:2;bottom:0;left:-20%;width:140%;height:22%;background:radial-gradient(ellipse,#b5bbb010,transparent 65%);animation:fogDrift 18s ease-in-out infinite;pointer-events:none}.rain-layer{position:absolute;inset:0;background:repeating-linear-gradient(105deg,transparent 0 90px,#c4ded203 91px 92px,transparent 93px 140px);opacity:.7;animation:rainShimmer 6s ease-in-out infinite;pointer-events:none;z-index:1}.scene-rail{position:absolute;z-index:4;top:21px;right:17px;display:flex;flex-direction:column;gap:7px}.rail-button{width:105px;min-height:34px;font-size:10px;justify-content:flex-start;padding:7px 10px;background:#1d1d1de8;color:#b9baa1;border-color:#6a5d49;box-shadow:0 2px 6px #0008}.rail-button .icon{width:19px;height:19px;color:#b1a78d}.scene-note{position:absolute;right:21px;bottom:22px;width:235px;z-index:4;background:linear-gradient(150deg,#19241fe8,#101b16ed);border:1px solid #656768;border-top:2px solid #8c9878;padding:13px 15px;box-shadow:3px 6px 12px #0005;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%)}.note-top{display:flex;gap:7px;align-items:center;color:#a7b7ae;border-bottom:1px solid #4b4d4e;padding-bottom:9px;margin-bottom:9px}.note-top .icon{width:17px;height:17px}.note-top small{font-size:7px;letter-spacing:.06em}.scene-note>p{font-size:11px;color:#aeb9a2;line-height:1.6}.scene-note .game-button{font-size:10px;margin-top:8px}.home-actions{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:0;background:linear-gradient(#272929,#191919);padding:12px 17px;min-height:83px;border-top:1px solid #141414;z-index:4}.home-actions>.game-button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;text-align:left;margin:0 6px;background:#232323;border-color:#545657;padding:9px 15px;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)}.home-action>.icon{grid-row:1/3;width:26px;height:26px;color:#b7ae8a}.home-action>span{font-size:13px}.home-action>small{grid-column:2;font-size:7px;color:#87967d;letter-spacing:.04em}.home-actions>.primary{background:linear-gradient(120deg,#bd985d,#947442);color:#191a1a;border-color:#dbc087}.home-actions>.primary>.icon{color:#302d1d}.home-actions>.primary>small{color:#3e4141}.tutorial-strip{display:flex;align-items:center;gap:12px;padding:9px 18px;border-bottom:1px solid #4f5253;background:linear-gradient(90deg,#2c2f30,#262626);flex:none;min-height:57px;position:relative;z-index:5}.tutorial-strip>.icon{color:#c8b579;width:22px;height:22px}.tutorial-strip>div{flex:1;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.tutorial-strip small{font-size:7px;letter-spacing:.07em;color:#b1ac79;width:100%;line-height:1}.tutorial-strip b{font-size:12px;font-weight:500}.tutorial-strip span{font-size:10px;color:#a5ae8b}.tutorial-strip .game-button{font-size:10px;padding:7px 11px;min-height:30px;flex:none}
.utility-belt{height:var(--footer);display:flex;align-items:center;flex:none;gap:14px;background:repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 3px),linear-gradient(#272829,#181818);border-top:3px solid #6c5743;box-shadow:0 -4px 12px #0006;z-index:20;position:relative}.utility-belt::before{content:'';position:absolute;left:5px;top:5px;width:4px;height:4px;border-radius:50%;background:#9e8e63;box-shadow:calc(100vw - 22px) 0 #9e8e63}.belt-label{width:calc(var(--sidebar) - 1px);padding:0 18px;flex:none;display:grid;grid-template-columns:8px 1fr;gap:3px 8px}.belt-label strong{font-weight:500;font-size:11px;letter-spacing:.12em;color:#a9b0a4}.belt-label .live-dot{align-self:center}.belt-label small{grid-column:2;font-size:8px;color:#788a70}.quick-slots{display:flex;gap:8px;flex:1;min-width:0;overflow:hidden}.belt-slot{height:51px;flex:1;min-width:95px;max-width:205px;justify-content:flex-start;padding:7px 10px;position:relative;background:#1a1a1a;border:1px solid #4c4f4f;border-bottom:2px solid #5f6161;box-shadow:inset 0 0 10px #0004;color:#bec0b5}.belt-slot>.icon{width:26px;height:26px;color:#aea57e}.belt-slot>span:not(.tag){text-align:left;overflow:hidden;flex:1}.belt-slot small{font-size:6px;letter-spacing:.07em;color:#76896b;display:block;margin-bottom:2px;white-space:nowrap}.belt-slot b{font-weight:400;display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.belt-slot>.tag{font-size:8px;padding:2px 4px;border:0;background:none;position:absolute;bottom:1px;right:4px;color:var(--teal)}.belt-slot.empty{flex:0 1 65px;min-width:45px;color:#585b5c;background:#18181855;justify-content:center;max-width:65px}.belt-slot.empty>span{display:none}.belt-slot.empty .icon{width:20px;color:#585b5c}.refresh-button{margin:0 18px 0 0;background:none;color:#8f9d81;border:0;display:flex;align-items:center;gap:8px;font-size:10px;white-space:nowrap}.refresh-button .icon{width:18px;height:18px}.refresh-button:hover{color:var(--teal)}
.battle-scene{position:relative;height:340px;min-height:300px;background:linear-gradient(#1818181a,#0e0f0fe0),url('/art/infirmary.png') center 55%/cover;isolation:isolate;overflow:hidden;border:1px solid #4e5151;margin-bottom:15px}.battle-scene .operative{height:78%;width:auto;left:19%;bottom:2%;transform:scaleX(1)}.battle-scene .warden{height:81%;width:auto;right:6%;bottom:4%}.boss-health{position:absolute;z-index:4;top:19px;left:22px;right:22px}.boss-name{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.boss-name small{color:#d3987c;font-size:7px;letter-spacing:.12em}.boss-name h2{font-size:23px;color:#e2ccae}.boss-health>.resource-meter{max-width:520px;margin:auto}.boss-health>.resource-meter .icon{display:none}.boss-health>.resource-meter progress{height:7px;border:1px solid #4f3328}.timer-line{position:absolute;right:3px;top:65px;display:flex;align-items:center;gap:6px;color:#bfae8a;font-size:12px}.timer-line .icon{width:16px;height:16px}.battle-team{position:absolute;bottom:15px;left:16px;z-index:3;display:flex;gap:7px}.team-member{background:#161616df;border:1px solid #545556;padding:8px;display:flex;align-items:center;gap:9px;width:220px;max-width:270px;flex-wrap:wrap}.team-member>.icon{width:25px;height:25px;color:#9ea798}.team-member>div:not(.resource-meter){flex:1;min-width:0}.team-member b{font-size:11px;font-weight:500}.team-member small{display:block;font-size:8px;color:#859b79}.team-member .resource-meter{width:100%}.team-member .resource-meter>.icon{display:none}.team-member .meter-label{display:none}.team-member progress{height:3px}.team-member.inactive{opacity:.55}.battle-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.battle-controls>button{flex:1;min-width:120px;position:relative;min-height:52px}.battle-controls>button.attack-button{flex:1.3}.ability-button{background:#2d2d2d;border-color:#595a5b}.ability-button small{font-size:9px;color:#9eac8e}.battle-controls>.danger{min-width:80px;flex:0;font-size:10px}.combat-log{border:1px solid #424344;background:#151515;padding:10px 15px;color:#849477;font-size:11px}.combat-log summary{cursor:pointer;color:#b1b6ab}.combat-log p{margin-top:5px}.battle-result{border:1px solid #8a8d5b;border-top:3px solid #a5a993;background:linear-gradient(120deg,#38393980,#23232390);padding:23px;margin-bottom:24px;position:relative}.battle-result.victory::after{content:'✓';position:absolute;right:25px;top:17px;font-size:65px;line-height:1;color:#a1aa9118}.battle-result.defeat{border-color:#795846;border-top-color:#ad7a59;background:linear-gradient(120deg,#4b2f2080,#2a251a)}.result-heading{display:flex;gap:14px;align-items:center;margin-bottom:20px}.result-heading>.icon{width:41px;height:41px;color:#c0c58a}.result-heading small{font-size:8px;letter-spacing:.12em;color:#999e8c}.result-heading h2{font-size:28px;margin-top:3px}.reward-grid{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0 18px}.reward-grid>.currency-line{width:100%;margin-bottom:4px}.reward-tile{background:#1e1e1e;border:1px solid #525353;display:flex;gap:8px;align-items:center;padding:9px 11px;min-height:39px;color:#c0c4ba;font-size:11px;font-weight:400}.reward-tile b{font-weight:400}.reward-tile .icon{width:20px;height:20px;color:#979c89}.reward-tile.xp{color:#d2d2ab}.reward-tile.xp b{font-weight:500}.reward-tile.xp small{color:#909687;font-size:8px}.reward-tile.unlock{border-color:#73977d;color:#c0cac0;background:#35363655}.boss-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:28px}.boss-card{background:linear-gradient(130deg,#2e3030,#1f2020);border:1px solid #505354;display:grid;grid-template-columns:100px 1fr;overflow:hidden;position:relative}.boss-portrait{width:100px;min-height:150px;grid-row:1/3;background:radial-gradient(ellipse,#545657,#181818);overflow:hidden;position:relative;border-right:1px solid #48494a}.warden-head{position:absolute;width:310px;height:310px;left:-102px;top:6px;background:url('/art/warden-frames.png') 0 0/400% 200%;filter:drop-shadow(0 4px 8px #000)}.boss-card-copy{padding:15px 15px 5px;min-width:0}.boss-card-copy>small{font-size:7px;letter-spacing:.12em;color:#8c9b76}.boss-card-copy h3{font-size:20px;color:#ddcfac;margin:4px 0 10px;line-height:1.2}.boss-stats{display:flex;gap:15px;font-size:11px;margin-bottom:9px}.boss-stats>span{display:flex;align-items:center;gap:5px;color:#a4ad8b}.boss-stats .icon{width:15px;height:15px}.boss-stats b{font-weight:500}.boss-card>button{margin:8px 15px 15px;justify-self:stretch;font-size:12px}.boss-card.locked{filter:saturate(.65)}.pvp-panel{padding:22px;border:1px solid #4d4e4e;background:#1d1e1e9c;margin-top:18px}.pvp-panel>.section-intro{margin-bottom:14px}.pvp-panel>.game-button{margin-bottom:15px}.pvp-panel .action-form{margin-top:8px}.action-form{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.action-form label{flex:1;min-width:160px}.action-form select{width:100%;display:block}.action-form>button{min-height:43px}.lobby-controls{width:100%;border:1px solid #545556;background:#1e1f1f;padding:20px}.lobby-controls>p{font-size:12px;color:#a1a69a;margin-bottom:15px}.lobby-controls>.game-button{margin-top:15px}
.category-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:19px}.category-tabs>.game-button{font-size:11px;padding:7px 11px;min-height:34px;background:#1f2020;border-color:#48494a;color:#8e9f7c}.category-tabs>.game-button .icon{width:17px;height:17px}.category-tabs>.selected{border-color:#8f9683;color:#d1d4c9;background:#373839}.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:14px}.item-card{border:1px solid #4b4c4d;background:linear-gradient(145deg,#2c2d2d,#1e1f1f);position:relative;overflow:hidden;display:flex;flex-direction:column;min-width:0}.item-card.equipped{border-color:#83a27a;box-shadow:inset 0 0 0 1px #83a27a22}.item-art{height:125px;width:100%;border:0;border-bottom:1px solid #48494a;box-shadow:none;background:radial-gradient(ellipse,#4d4f4f55,#1a1a1a 75%);border-radius:0;position:relative;overflow:hidden}.item-art::before{content:'';position:absolute;width:65%;height:65%;border:1px solid #73786214;transform:rotate(45deg);pointer-events:none}.item-art .icon{width:67px;height:67px;stroke-width:1;filter:drop-shadow(0 5px 5px #0008);color:#c5bd8d}.item-card:nth-child(3n+2) .item-art .icon{color:#9eafa0}.item-card:nth-child(3n+3) .item-art .icon{color:#bdad8c}.item-card-body{padding:12px;display:flex;flex-direction:column;flex:1;min-width:0}.item-card-meta{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:7px;min-height:18px}.item-card-meta>small{font-size:8px;color:#879a73}.item-card-meta .tag{font-size:6px;padding:3px 4px}.item-card h3{font-size:17px;line-height:1.25;min-height:40px;margin-bottom:8px;color:#d9d6b4}.item-card .currency-line{min-height:31px;gap:5px}.item-card .currency small{display:none}.item-card .currency b{font-size:11px}.item-description{font-size:10px;color:#959a8c;min-height:32px;line-height:1.5}.item-detail-button{justify-content:space-between;border:0;border-top:1px solid #454747;background:none;border-radius:0;box-shadow:none;padding:10px 0 0;margin-top:auto;min-height:30px;color:#a4ab9a;font-size:10px}.item-detail-button .icon{width:13px;height:13px}.development-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.development-card{background:#272828;border:1px solid #595b5c;padding:22px;text-align:center}.development-card>.icon{width:40px;height:40px;color:#c0ba8a;margin-bottom:8px}.development-card h3{font-size:20px}.development-card>strong{display:block;font-size:40px;font-weight:400;color:#e1d5a9;margin:6px 0}.development-card>p{color:#969c8b;font-size:10px;margin-bottom:15px}.development-card .currency-line{justify-content:center;margin-bottom:16px}.development-card>button{width:100%;font-size:12px}.settings-panel{background:#1e1f1f;border:1px solid #4a4b4b;padding:22px;margin-bottom:20px}.settings-panel .section-intro{margin-bottom:15px}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.recipe-card{background:#222323;border:1px solid #515353;padding:18px}.recipe-card.ready{border-color:#88917d}.recipe-card header{display:flex;gap:10px;align-items:center;margin-bottom:18px}.recipe-card header>.icon{color:#c2b583;width:26px;height:26px}.recipe-card h3{flex:1;font-size:20px}.recipe-parts{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}.recipe-part{display:flex;align-items:center;gap:8px;color:#81936a;font-size:11px}.recipe-part .icon{width:16px;height:16px;color:#6d7464}.recipe-part span{flex:1}.recipe-part b{font-size:10px;font-weight:400;white-space:nowrap}.recipe-part.complete{color:#bcc1b3}.recipe-part.complete .icon{color:#a4b097}.recipe-card>button{width:100%}.enchant-row{display:flex;align-items:center;gap:15px;border:1px solid #5a5c5c;background:#282929;padding:16px;margin-bottom:10px}.enchant-row>.icon{color:#a7ad9c;width:30px;height:30px}.enchant-row>div{flex:1}.enchant-row h3{font-size:18px}.enchant-row p{font-size:11px;color:#909786}.enchant-row button{font-size:10px}.enchant-list+.action-form{border:1px solid #565858;background:#232425;padding:20px;margin:20px 0}
.map-layout{display:flex;gap:20px;min-height:370px;margin-bottom:22px}.floor-selector{width:84px;flex:none;display:grid;grid-template-columns:1fr 1fr;gap:6px;align-content:start;padding:10px;background:#181919;border:1px solid #434444}.floor-selector .game-button{font-size:10px;min-height:34px;padding:5px;background:#272829;border-color:#454747;color:#939b8b}.floor-selector .selected{border-color:#a3ac98;color:#d0d4c5;background:#444646}.location-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;flex:1}.location-card{background:linear-gradient(#2e2f2f,#1f1f1f);border:1px solid #555758;display:flex;flex-direction:column}.location-visual{height:180px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:linear-gradient(#232424a6,#1b1c1ccf),url('/art/infirmary.png') center/cover;border-bottom:1px solid #4e5050}.location-visual>.icon{position:absolute;opacity:.12;width:95px;height:95px;stroke-width:1}.location-visual>strong{font-size:57px;font-weight:400;color:#abb4a2;letter-spacing:.05em}.location-copy{padding:16px;display:flex;flex-direction:column;flex:1}.location-copy h3{font-size:22px;margin:10px 0}.location-copy .tag{align-self:flex-start;font-size:7px}.location-copy p{font-size:10px;line-height:1.6;margin-bottom:17px;flex:1}.location-copy button{width:100%;font-size:12px}.location-card.current{border-color:#adb4a0}.location-card.locked .location-visual{filter:saturate(.3);opacity:.7}.event-panel{display:flex;gap:18px;align-items:center;padding:20px;border:1px solid #606263;background:#2a2b2c}.event-panel>.icon{width:31px;height:31px;color:#a2ab96}.event-panel>div{flex:1}.event-panel h3{font-size:20px}.event-panel p{font-size:11px;color:#9da492}.event-panel button{font-size:11px}.event-panel.anomaly{border-color:#98768b;background:#322b31;position:relative}.event-panel.anomaly::after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 4px,#c998b206 4px 5px);animation:anomalyShift 7s steps(1) infinite}.event-panel.anomaly small{color:#cbaac0;font-size:8px;letter-spacing:.1em}.work-section{margin-bottom:28px;border:1px solid #525455;background:#1f2020}.category-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 19px;border-bottom:1px solid #474949;background:#2b2c2d}.category-heading small{font-size:7px;letter-spacing:.1em;color:#919988}.category-heading h3{font-size:21px;margin-top:3px}.work-card{display:flex;gap:17px;align-items:center;border-bottom:1px solid #3a3b3b;padding:18px}.work-card:last-child{border-bottom:0}.work-number{font-size:27px;color:#606262;font-weight:400;flex:none}.work-copy{flex:1;min-width:0}.work-copy h4{color:#caccc1;margin-bottom:8px;font-size:15px}.work-progress{display:flex;gap:8px;align-items:center}.work-progress progress{width:110px;height:3px}.work-progress small{font-size:9px;color:#9fa595}.work-copy>small{display:block;color:#71796a;font-size:9px;margin-top:5px}.work-cost{min-width:130px;max-width:200px}.work-cost>.small,.work-cost>small{font-size:9px;color:#858d7c;display:block;margin-top:5px}.work-card>button{min-width:108px;font-size:11px}.work-card.locked{opacity:.6}.work-card .currency b{font-size:11px}
.quest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.quest-card{border:1px solid #595b5c;background:linear-gradient(150deg,#303131,#212223);padding:18px;display:flex;flex-direction:column}.quest-card.ready{border-color:#b0bb74;box-shadow:inset 0 2px #979d83}.quest-card>header{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:10px}.quest-card>header>small{font-size:7px;letter-spacing:.07em;color:#94998b}.quest-card h3{font-size:21px;line-height:1.2;margin-bottom:20px;min-height:50px}.quest-condition{margin-bottom:12px;font-size:11px}.quest-condition>div{display:flex;justify-content:space-between;gap:10px;color:#a6ac9e;margin-bottom:5px}.quest-condition b{font-size:10px;font-weight:400;flex:none}.quest-condition progress{height:3px}.quest-card>.currency-line{margin-top:auto;margin-bottom:7px;padding-top:10px}.quest-card>small{font-size:10px;color:#c2c38a;margin-bottom:12px}.quest-card>button{width:100%;margin-top:7px;font-size:12px}.achievement-card{padding:20px;border:1px solid #5a5c5c;background:#2c2d2d;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.achievement-card>.icon{width:31px;height:31px;color:#c7b774}.achievement-card h3{font-size:19px;flex:1}.achievement-card>button{width:100%;font-size:11px}.dice-table{border:1px solid #636565;padding:28px;background:radial-gradient(ellipse at 50% 50%,#42444455,#1b1c1cb0);box-shadow:inset 0 0 80px #0005}.dice-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.dice-heading small{font-size:8px;letter-spacing:.13em;color:#9a9f8d}.dice-heading h2{font-size:30px;margin:5px 0 12px}.dice-table>.muted{font-size:12px}.dice-tray{display:flex;justify-content:center;gap:32px;padding:45px 0 35px;min-height:240px}.die-holder{display:flex;align-items:center;flex-direction:column;gap:23px}.die{width:95px;height:95px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:17px;gap:7px;border:1px solid #c0b38a;background:linear-gradient(135deg,#b5b492,#5d5e5f);box-shadow:inset 2px 2px 2px #dad9b65e,inset -3px -3px 2px #1e1f1f4d,0 9px 0 #303131,0 16px 20px #0007;transform:rotate(-4deg);border-radius:8px}.die-holder:nth-child(2) .die{transform:rotate(6deg)}.die-holder:nth-child(3) .die{transform:rotate(-7deg)}.pip{display:block;background:#222323;border-radius:50%;box-shadow:inset 0 1px 2px #0009,0 1px #f5edc344;visibility:hidden}.face-1 .pip-5,.face-2 .pip-1,.face-2 .pip-9,.face-3 .pip-1,.face-3 .pip-5,.face-3 .pip-9,.face-4 .pip-1,.face-4 .pip-3,.face-4 .pip-7,.face-4 .pip-9,.face-5 .pip-1,.face-5 .pip-3,.face-5 .pip-5,.face-5 .pip-7,.face-5 .pip-9,.face-6 .pip-1,.face-6 .pip-3,.face-6 .pip-4,.face-6 .pip-6,.face-6 .pip-7,.face-6 .pip-9{visibility:visible}.die.face-0{display:flex;align-items:center;justify-content:center;background:#2e2f2f;border-color:#626465}.die.face-0 .icon{width:50px;height:50px;color:#747c6a;stroke-width:1}.die-holder>button{font-size:10px;padding:7px 12px;min-height:32px}.dice-actions{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid #4f5151;padding-top:22px}.dice-history{margin-top:25px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 16px;border-bottom:1px solid #414343;background:#242525}.history-row>.reward-grid{margin:0}.history-row>b{letter-spacing:.3em;font-size:19px;font-weight:400;color:#a6ad9b}.history-row .reward-tile{border:0;background:none}.history-row .currency-line{margin:0}
.legacy-screen .section-intro{grid-column:1/-1}.legacy-screen>fieldset{margin:0 0 15px;padding:18px;border:1px solid #535556;background:linear-gradient(145deg,#2d2e2f,#1f2021);min-width:0;position:relative}.legacy-screen>fieldset>legend{padding:0 8px;font-size:18px;color:#d2d4b2}.legacy-screen>fieldset>p{font-size:12px;color:#989e8f;margin:8px 0}.legacy-screen>fieldset>button{margin:9px 6px 0 0;font-size:11px}.card-sigil{position:absolute;top:12px;right:14px;opacity:.16}.card-sigil .icon{width:36px;height:36px}.legacy-screen fieldset fieldset{background:#1f2021;border:1px solid #4d4f4f;padding:12px}.legacy-screen form{display:flex;gap:13px;align-items:flex-end;flex-wrap:wrap}.legacy-screen form br{display:none}.legacy-screen form label{display:block;flex:1;min-width:135px}.legacy-screen form label select,.legacy-screen form label input,.legacy-screen form label textarea{width:100%}.legacy-screen form button{min-height:43px;flex:none}.legacy-screen>h2{font-size:21px;margin:24px 0 16px}.legacy-screen>p{font-size:12px;color:#9da394;margin:9px 0}.legacy-screen>button{margin:8px 6px 14px 0}.legacy-screen input[readonly]{width:100%;margin:8px 0 18px}.legacy-screen select[multiple]{width:100%;height:170px;margin:9px 0;border:1px solid #5c5e5e;background:#1d1e1e}.legacy-screen select[multiple] option{padding:6px 12px;font-size:12px}.legacy-screen>ol{list-style:none;margin:20px 0 0;padding:0;counter-reset:rank}.legacy-screen>ol li{counter-increment:rank;display:flex;align-items:center;gap:20px;padding:17px 22px;border-bottom:1px solid #4a4c4d;background:#272829;font-size:15px;color:#c0c3b5}.legacy-screen>ol li::before{content:counter(rank,decimal-leading-zero);color:#88907d;font-size:23px;min-width:35px}.legacy-screen>ol li:first-child{background:#373939;color:#dfd6a5;border:1px solid #8b9155}.clan-screen>h2{font-size:30px;border-bottom:1px solid #535556;padding-bottom:15px}.clan-screen>form{background:#2b2c2d;border:1px solid #5b5d5d;padding:18px;margin-top:20px}.clan-screen>form>label{display:flex;align-items:center}.clan-screen>form textarea{flex:1;min-width:200px}.chat-screen>fieldset{position:sticky;top:-24px;z-index:5;background:#252627;border-top:2px solid #7e8874;box-shadow:0 7px 15px #0f0f0f80}.chat-screen>p{padding:13px 18px;background:#212222;border-left:2px solid #6d7b63;margin:9px 0;font-size:12px;overflow-wrap:anywhere}.chat-screen form label:last-of-type{flex:3}.chat-screen form label:first-of-type{max-width:150px}.business-screen{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-content:start}.business-screen .section-intro,.business-screen>button{grid-column:1/-1}.business-screen>fieldset{margin-bottom:0}.business-screen>button{justify-self:start}.contacts-screen>fieldset>legend{font-size:16px}.contacts-screen>fieldset>fieldset{margin-top:13px}
.metal-dialog{background:linear-gradient(145deg,#303131,#1b1c1c 80%);color:var(--text);border:1px solid #767a6a;border-top:3px solid #bca171;padding:30px;max-width:min(460px,calc(100vw - 30px));width:460px;max-height:85dvh;overflow:auto;box-shadow:0 12px 90px #000c;position:fixed}.metal-dialog::backdrop{background:#090909ba;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:12px;top:12px;min-height:28px;min-width:28px;padding:5px;border:0;background:none;box-shadow:none}.dialog-close>span{display:none}.dialog-close>.icon{width:20px;height:20px}.metal-dialog>small{font-size:9px;color:#9ca67f;letter-spacing:.09em}.metal-dialog>h2{font-size:29px;margin:10px 0 15px;color:#dfd7b4;padding-right:10px}.metal-dialog>h3{font-size:19px;margin:22px 0 12px}.metal-dialog>p{color:#a4a99a;font-size:12px;margin:13px 0}.dialog-item-art{height:135px;background:radial-gradient(ellipse,#717a613d,transparent 70%);display:flex;align-items:center;justify-content:center;margin-top:12px}.dialog-item-art .icon{width:88px;height:88px;stroke-width:1;color:#c3bc8c;filter:drop-shadow(0 6px 6px #0009)}.spec-row{display:flex;justify-content:space-between;border-bottom:1px solid #4b4d4e;padding:9px 0;font-size:12px;color:#a9af9f}.spec-row b{font-weight:500;color:#d2d8b2}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 12px}.dialog-actions>button{flex:1}.upgrade-option{width:100%;margin-top:8px;justify-content:flex-start;font-size:12px;background:#2f3031;border-color:#5e6060}.upgrade-option+.upgrade-option{margin-top:7px}.metal-dialog>.currency-line{margin-top:20px}.sell-value{margin:16px 0}.sell-value>small{color:#818978;font-size:8px;letter-spacing:.1em}.sell-value .currency-line{margin-top:4px}.setting-row{display:flex;align-items:center;justify-content:space-between;font-size:14px;padding:15px 0;border-bottom:1px solid #4c4e4e}.setting-row input{margin:0}.metal-dialog>.game-button.quiet{margin-top:20px}.debug-result{display:none;position:fixed;inset:auto 15px 90px auto;width:min(530px,calc(100vw - 30px));max-height:50vh;z-index:100;background:#1a1b1b;border:1px solid #686a6b;padding:15px;overflow:auto}.debug-result.visible{display:block}.debug-result summary{cursor:pointer;color:#afb7a6;font-size:11px}.debug-result pre{white-space:pre-wrap;font:11px/1.6 Consolas,monospace;color:#97a293}.game-content[data-technical] textarea{width:100%;font-family:Consolas,monospace}.action-flash{position:fixed;left:55%;top:47%;pointer-events:none;opacity:0;z-index:100;color:#f0b09a;font-size:45px;text-shadow:0 2px 10px #000}.action-flash.striking{animation:damageFloat .75s ease-out}.action-flash.healing{inset:0;left:var(--sidebar);top:var(--header);background:radial-gradient(ellipse,#9dbbab1a,transparent 70%);animation:lightPulse .75s ease-out}.action-flash.guarding{inset:0;left:var(--sidebar);top:var(--header);background:radial-gradient(ellipse,#86c2da16,transparent 70%);animation:lightPulse .75s ease-out}.loading-screen{height:100%;min-height:400px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:30px;color:#8fa581;font-size:12px;letter-spacing:.04em}.is-loading .topnav{opacity:.3}.login-scene{height:100%;min-height:450px;background:url('/art/infirmary.png') center/cover;position:relative;display:flex;align-items:flex-end}.login-atmosphere{position:absolute;inset:0;background:linear-gradient(0deg,#0c0d0de0,transparent 80%)}.login-title{z-index:1;padding:45px;max-width:490px;text-shadow:0 3px 10px #000}.login-title>small{font-size:10px;letter-spacing:.23em;color:#bcae87}.login-title>h2{font-size:49px;line-height:1.1;margin:12px 0 15px;color:#ded1af}.login-title>p{font-size:14px;color:#b1b89c}.logged-out .sidebar{width:300px;padding:25px 24px}.logged-out .brand{width:300px}.logged-out .utility-belt .belt-label{width:285px}.logged-out .account{border:0;margin:0;padding:0}.logged-out .account>fieldset{padding:18px 0 23px;border:0;border-bottom:1px solid #4d4e4e;margin:0 0 18px}.logged-out .account legend{font-size:22px;color:#d3cfaa;margin-bottom:13px}.logged-out .account label{display:block;font-size:11px;color:#8d9e79}.logged-out .account input{width:100%;margin:6px 0 12px;background:#161616;font-size:14px}.logged-out .account form>br{display:none}.logged-out .account select{width:100%;margin:3px 0 14px}.logged-out .account form>button{width:100%;background:linear-gradient(#b08d55,#8c703f);border:1px solid #ccb77b;color:#181919;font-size:13px;padding:11px;letter-spacing:.04em;font-weight:600}.logged-out .account fieldset:last-child button{background:#292a2b;color:#b9bdb0;border-color:#676969}.logged-out .game-content{padding:0}.logged-out #hud,.logged-out #secondary-nav{display:none}.large-text{font-size:16px}.large-text .game-content p,.large-text .game-content label{font-size:14px}.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reduce-motion .sprite{background-position:0 0}.reduce-motion .action-flash{display:none}
@keyframes idleFrames{from{background-position-x:0}to{background-position-x:133.333333%}}@keyframes attackFrames{from{background-position-x:0}to{background-position-x:133.333333%}}@keyframes fogDrift{0%,100%{transform:translateX(-3%)}50%{transform:translateX(3%)}}@keyframes rainShimmer{0%,100%{opacity:.35}50%{opacity:.65}}@keyframes anomalyShift{0%,93%,100%{transform:none;opacity:.2}94%{transform:translateX(1px);opacity:.6}95%{transform:translateX(-1px);opacity:.3}}@keyframes damageFloat{0%{transform:translateY(10px);opacity:0}20%{opacity:1}100%{transform:translateY(-55px);opacity:0}}@keyframes lightPulse{0%,100%{opacity:0}30%{opacity:1}}@keyframes statusFade{0%,75%{opacity:1}100%{opacity:0;visibility:hidden}}
@media(min-width:1600px){:root{--sidebar:268px;--header:87px;--footer:86px;font-size:15px}.brand strong{font-size:24px}.brand small{font-size:9px}.brand{padding-inline:20px;gap:15px}.sidebar{padding:23px 20px}.portrait{width:72px;height:77px}.identity h2{font-size:20px;max-width:150px}.meter-label{font-size:10px}.meter-label b{font-size:12px}.resource-meter>.icon{width:34px;height:34px}.resource-stack{gap:15px}.resource-meter progress{height:6px}.stats-row{padding-block:17px;margin-block:21px}.wallet-row{font-size:12px;padding-block:7px}.side-nav .game-button{min-height:41px;font-size:13px}.main-column .screen-heading{padding:18px 32px;min-height:82px}.screen-heading h1{font-size:29px}.game-content{padding:28px 32px}.room-caption{max-width:310px;left:36px;bottom:32px}.room-caption h2{font-size:32px;max-width:300px}.room-caption p{font-size:13px}.scene-note{width:280px;right:30px;bottom:29px;padding:18px}.scene-note>p{font-size:13px}.scene-note .game-button{font-size:12px}.scene-rail{right:27px;top:27px}.rail-button{width:120px;min-height:41px;font-size:11px}.home-actions{min-height:96px;padding-inline:25px}.home-action>span{font-size:15px}.home-action>small{font-size:8px}.room-coordinate{left:36px;top:30px}.room-coordinate strong{font-size:60px}.room-coordinate small{font-size:10px}.room-coordinate span{font-size:13px}.battle-scene{height:430px}.boss-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.item-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.item-art{height:155px}.item-card h3{font-size:19px}.game-button.nav-tab{font-size:12px}.nav-tab .icon{width:32px;height:32px}}
@media(max-width:1120px){:root{--sidebar:205px;--header:72px;--footer:66px}.brand{padding-inline:12px;gap:10px}.brand strong{font-size:18px}.brand small{font-size:7px}.brand-seal{width:39px;height:39px;font-size:27px}.topnav{padding-inline:7px}.nav-tab .icon{width:24px;height:24px;padding:4px}.game-button.nav-tab{font-size:9px;letter-spacing:0}.settings-toggle{width:40px}.sidebar{padding:15px 11px}.identity{gap:9px}.portrait{width:52px;height:60px}.identity h2{font-size:15px;max-width:120px}.identity-copy>small{font-size:7px}.level-row{font-size:9px;gap:5px}.level-row small{font-size:8px}.resource-meter{gap:6px}.resource-meter>.icon{width:25px;height:25px;padding:4px}.meter-label{font-size:8px;letter-spacing:0}.meter-label b{font-size:9px}.resource-stack{gap:10px}.stats-row{margin-block:15px}.stat-mini .icon{width:16px;height:16px;margin-right:3px}.stat-mini b{font-size:13px}.stat-mini small{font-size:8px}.wallet-row{font-size:10px}.wallet-row b{font-size:12px}.medical-button{font-size:11px;min-height:35px}.side-nav .side-link{min-height:31px;padding-block:6px;font-size:11px}.screen-heading{min-height:65px;padding:13px 20px}.screen-heading h1{font-size:23px}.screen-heading .eyebrow{font-size:7px}.connection{font-size:7px}.game-content{padding:20px}.room-scene .operative{left:37%;height:92%}.room-caption{max-width:215px;left:20px}.room-caption h2{font-size:21px;max-width:190px}.room-caption p{font-size:10px;max-width:185px}.room-coordinate{left:20px}.scene-note{width:197px;right:16px;bottom:20px;padding:10px 12px}.scene-note>p{font-size:10px}.note-top small{font-size:6px}.scene-rail{right:13px}.rail-button{width:90px;font-size:9px;min-height:31px;padding:6px 8px}.rail-button .icon{width:16px;height:16px}.home-actions{padding:10px 9px;min-height:75px}.home-actions>.game-button{padding:8px 10px;column-gap:8px;margin:0 4px}.home-action>span{font-size:11px}.home-action>small{font-size:6px}.home-action>.icon{width:21px;height:21px}.belt-label{padding-inline:13px}.belt-slot{height:44px;padding:6px 8px;min-width:72px}.belt-slot>.icon{width:23px;height:23px}.belt-slot b{font-size:9px}.belt-slot small{font-size:5px}.quick-slots{gap:6px}.refresh-button{margin-right:10px}.refresh-button>span{display:none}.tutorial-strip{padding:8px 12px;gap:9px;min-height:54px}.tutorial-strip span{font-size:9px}.tutorial-strip b{font-size:10px}.tutorial-strip small{font-size:6px}.tutorial-strip .game-button{font-size:9px;padding:6px 8px}.quest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.boss-card{grid-template-columns:80px 1fr}.boss-portrait{width:80px}.boss-card-copy{padding:12px}.boss-card-copy h3{font-size:18px}.warden-head{left:-111px}.boss-card>button{margin:6px 12px 12px;font-size:11px}.location-grid{gap:10px}.map-layout{gap:12px}.location-copy{padding:12px}.location-copy h3{font-size:19px}.location-visual{height:140px}.location-visual>strong{font-size:44px}.work-card{gap:12px;padding:13px}.work-number{font-size:23px}.work-card>button{min-width:85px;font-size:10px;padding:8px 12px}.work-cost{min-width:108px;max-width:140px}.work-cost .currency small{display:none}.work-copy h4{font-size:13px}.work-progress progress{width:80px}.business-screen{grid-template-columns:1fr}.item-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.item-art{height:110px}.item-card h3{font-size:15px}.item-card-body{padding:10px}.item-card-meta .tag{font-size:5px}.die{width:83px;height:83px;padding:15px;gap:5px}.dice-tray{gap:25px}.dice-table{padding:22px}.development-card{padding:18px 12px}.development-card>button{font-size:11px;padding:9px}}
@media(max-width:760px){:root{--sidebar:185px}.screen-heading .connection{display:none}.scene-note{width:175px;right:13px}.scene-note>p{font-size:9px}.scene-note .game-button{font-size:9px}.scene-rail{gap:5px}.rail-button{width:80px;font-size:8px}.room-caption{max-width:165px}.room-caption h2{font-size:19px;max-width:155px}.room-caption p{font-size:9px;max-width:150px}.room-scene .operative{left:30%;height:85%}.home-actions{grid-template-columns:1fr 1fr;min-height:73px}.home-actions>.game-button:last-child{display:none}.home-action>small{font-size:5px}.boss-cards{grid-template-columns:1fr}.battle-scene{height:310px}.battle-scene .operative{left:7%;height:72%}.battle-scene .warden{right:-8%;height:75%}.boss-name h2{font-size:20px}.team-member{width:180px}.battle-team{gap:4px;bottom:10px;left:10px}.team-member:not(:first-child){width:130px}.team-member:not(:first-child)>.icon{display:none}.battle-controls>button{min-width:120px;min-height:45px}.battle-controls>.danger{flex:1}.quest-grid{grid-template-columns:1fr}.location-grid{grid-template-columns:1fr}.location-card{display:grid;grid-template-columns:100px 1fr}.location-visual{height:100%;border:0;border-right:1px solid #4e5050}.location-visual>strong{font-size:33px}.location-copy h3{margin:6px 0;font-size:18px}.location-copy p{margin-bottom:10px}.location-copy .game-button{min-height:32px;font-size:11px}.floor-selector{width:65px;padding:7px;gap:4px}.floor-selector .game-button{font-size:9px;padding:4px 2px;min-height:30px}.map-layout{gap:9px}.recipe-grid{grid-template-columns:1fr}.event-panel{flex-wrap:wrap;gap:12px}.event-panel>button{flex:1}.work-card{flex-wrap:wrap;gap:10px}.work-copy{min-width:150px}.work-cost{margin-left:33px;flex:1;max-width:none}.work-card>button{min-height:32px}.section-intro{align-items:flex-start;flex-direction:column;gap:12px}.section-intro>.segmented-control{margin-bottom:0}.development-grid{grid-template-columns:1fr}.development-card{display:grid;grid-template-columns:35px 1fr 80px;gap:10px;text-align:left;align-items:center}.development-card>.icon{width:27px;height:27px;margin:0;grid-row:1/3}.development-card h3{font-size:18px}.development-card>strong{font-size:25px;margin:0;text-align:right}.development-card>p{font-size:10px;margin:0;grid-column:2/4}.development-card>.currency-line{grid-column:1/3;margin:5px 0 0}.development-card>button{grid-column:3;font-size:10px;min-height:33px}.dice-tray{gap:20px}.die{width:70px;height:70px;padding:12px;gap:5px}.die-holder>button{font-size:8px;padding:6px 8px}.dice-heading h2{font-size:25px}.dice-heading .tag{font-size:6px}.dice-table{padding:20px 16px}.dice-actions>button{width:100%;font-size:12px}.enchant-row{flex-wrap:wrap}.enchant-row>button{width:100%}}
@media(max-width:580px){:root{--header:114px;--footer:66px;--sidebar:100%;font-size:14px}.app-shell{height:auto;min-height:100dvh;border:0}.topbar{height:114px;display:grid;grid-template-columns:1fr 44px;grid-template-rows:48px 66px;position:sticky;top:0;border-top-width:2px}.brand{width:auto;padding:7px 14px;border-right:0;gap:10px}.brand-seal{width:30px;height:30px;font-size:21px;border-width:2px;box-shadow:0 0 0 2px #0f1010,0 0 0 3px #544c36}.brand strong{font-size:18px}.brand small{font-size:6px}.settings-toggle{grid-column:2;grid-row:1;width:44px;border-left:1px solid #3c3c3c}.settings-toggle .icon{width:22px;height:22px}.topnav{grid-column:1/3;grid-row:2;display:flex;overflow-x:auto;gap:1px;padding:0 8px;border-top:1px solid #3f4040}.game-button.nav-tab{min-width:62px;flex:1;padding:4px 4px 3px;gap:2px;font-size:8px}.nav-tab .icon{width:22px;height:22px;padding:4px}.workspace{display:flex;flex-direction:column;min-height:0;flex:none}.sidebar{width:100%;overflow:visible;padding:13px 14px 7px;border:0;border-bottom:1px solid #565757;box-shadow:none}.sidebar #hud{display:grid;grid-template-columns:1fr 1fr;gap:10px 17px}.identity{padding:0;margin:0;border:0;grid-column:1;grid-row:1;gap:11px}.portrait{width:44px;height:51px}.identity-copy>small{font-size:6px}.identity h2{max-width:130px;font-size:14px}.level-row{font-size:8px}.level-row small{font-size:7px}.resource-stack{grid-column:2;grid-row:1/3;gap:8px}.resource-meter>.icon{width:22px;height:22px;padding:3px}.meter-label{font-size:7px}.meter-label b{font-size:8px}.resource-meter progress{height:3px;margin-top:2px}.stats-row{margin:0;padding:8px 0;border:0;border-top:1px solid #474848;grid-column:1;grid-row:2;gap:3px}.stat-mini .icon{width:13px;height:13px}.stat-mini b{font-size:11px}.stat-mini small{font-size:6px;margin-top:2px}.wallet{display:flex;gap:12px;grid-column:1/3;margin:0;border-top:1px solid #424343;padding-top:7px}.wallet-row{flex:1;padding:0 0 5px;border:0;gap:5px;font-size:8px}.wallet-row .icon{width:15px;height:15px}.wallet-row span{font-size:8px}.wallet-row b{font-size:10px}.medical-button{display:none}.side-nav{flex-direction:row;justify-content:space-between;padding:4px 0 0;margin-top:2px;gap:2px}.game-button.side-link{font-size:8px;min-height:29px;padding:5px 3px;gap:3px;border-left:0;border-bottom:1px solid transparent}.side-link>.icon{width:12px;height:12px;margin:0}.game-button.side-link.active{border-bottom-color:var(--teal);border-left:0}.account{position:absolute;right:12px;top:12px;display:none}.main-column{min-height:480px;overflow:visible}.screen-heading{padding:13px 16px;min-height:66px}.screen-heading .eyebrow{font-size:6px;max-width:300px;letter-spacing:.1em}.screen-heading h1{font-size:23px}.game-content{padding:17px 14px 24px;overflow:visible;min-height:400px;flex:none}.game-content.home-screen{min-height:510px;height:auto;padding:0}.room-scene{height:420px;min-height:420px;flex:none;background-position:56% center}.room-scene .operative{height:89%;left:26%;bottom:0}.room-coordinate{left:17px;top:16px}.room-coordinate small{font-size:6px}.room-coordinate strong{font-size:37px}.room-coordinate span{font-size:9px}.room-caption{bottom:20px;left:16px;max-width:160px}.room-caption>small{font-size:5px}.room-caption h2{font-size:18px;max-width:155px}.room-caption p{display:none}.scene-note{right:12px;bottom:17px;width:155px;padding:9px}.note-top{padding-bottom:7px;margin-bottom:6px;gap:5px}.note-top .icon{width:14px;height:14px}.note-top small{font-size:5px}.scene-note>p{font-size:8px;line-height:1.5}.scene-note .game-button{font-size:8px;min-height:22px;margin-top:5px}.scene-rail{top:15px;right:12px;gap:5px}.rail-button{min-height:29px;width:85px;font-size:8px}.home-actions{min-height:83px;padding:12px 8px}.home-actions>.game-button{padding:10px 9px}.home-action>span{font-size:11px}.home-action>small{font-size:5px}.tutorial-strip{padding:10px 12px;gap:8px;min-height:61px}.tutorial-strip>div{display:block}.tutorial-strip small{font-size:6px;display:block;line-height:1.3}.tutorial-strip b{font-size:10px;display:block;margin:2px 0}.tutorial-strip span{display:none}.tutorial-strip>.icon{width:20px;height:20px}.utility-belt{position:sticky;bottom:0;gap:7px;height:66px;min-height:66px;padding:0 10px}.belt-label{display:none}.quick-slots{gap:6px}.belt-slot{min-width:44px;width:44px;max-width:65px;height:45px;justify-content:center;padding:5px}.belt-slot>span:not(.tag){display:none}.belt-slot>.icon{width:24px;height:24px}.belt-slot.empty{min-width:44px;flex:1}.refresh-button{margin:0;padding:5px}.refresh-button .icon{width:19px;height:19px}.status-message{top:calc(var(--header) + 8px);right:10px;max-width:calc(100vw - 20px);font-size:11px;padding:10px 13px}.category-tabs{gap:5px}.category-tabs>.game-button{padding:6px 9px;font-size:9px;min-height:31px}.category-tabs>.game-button .icon{width:14px;height:14px}.segmented-control{margin-bottom:16px;max-width:100%}.segmented-control>.game-button{font-size:10px;padding:7px 13px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.item-art{height:108px}.item-art .icon{width:56px;height:56px}.item-card-body{padding:10px}.item-card h3{font-size:16px;min-height:40px}.item-card-meta>small{font-size:7px}.item-card-meta .tag{font-size:5px;letter-spacing:0}.item-description{font-size:9px}.boss-card{grid-template-columns:84px 1fr}.boss-portrait{width:84px}.boss-card-copy h3{font-size:20px}.boss-stats{font-size:10px}.boss-card>button{min-height:35px}.battle-scene{height:340px;margin-inline:-2px}.battle-scene .operative{left:4%;height:73%}.battle-scene .warden{right:-17%;height:77%}.boss-health{left:13px;right:13px;top:13px}.boss-name small{font-size:6px}.boss-name h2{font-size:20px}.boss-name .tag{font-size:6px}.timer-line{top:71px;font-size:10px}.battle-team{bottom:9px;left:9px;right:9px;overflow-x:auto;max-width:100%}.team-member{width:168px;flex:none;padding:6px}.team-member b{font-size:9px}.team-member small{font-size:7px}.team-member>.icon{width:20px;height:20px}.battle-controls{display:grid;grid-template-columns:1fr 1fr;gap:7px}.battle-controls>button{min-width:0;font-size:11px;min-height:48px;padding:8px}.battle-controls>.attack-button{grid-column:1/3}.battle-controls>.danger{grid-column:1/3;min-height:33px;font-size:10px}.battle-controls .icon{width:19px;height:19px}.battle-result{padding:17px}.result-heading h2{font-size:25px}.result-heading small{font-size:6px}.result-heading>.icon{width:32px;height:32px}.reward-tile{font-size:9px;padding:7px 8px}.reward-tile .icon{width:17px;height:17px}.section-intro h2{font-size:23px}.section-intro p{font-size:11px}.work-card{padding:15px 12px}.work-copy h4{font-size:14px}.category-heading{padding:14px}.category-heading h3{font-size:21px}.map-layout{gap:8px}.floor-selector{width:58px;gap:4px;padding:5px}.floor-selector>.game-button{font-size:8px}.location-card{grid-template-columns:80px 1fr}.location-visual>strong{font-size:28px}.location-copy{padding:11px}.location-copy p{font-size:9px}.location-copy .tag{font-size:6px}.recipe-card{padding:16px}.recipe-card h3{font-size:19px}.quest-grid{grid-template-columns:1fr}.quest-card h3{font-size:23px;min-height:0}.quest-condition{font-size:12px}.legacy-screen>fieldset{padding:15px}.legacy-screen form{gap:12px}.legacy-screen form label{min-width:120px}.legacy-screen form button{flex:1}.legacy-screen form input,.legacy-screen form select{font-size:12px}.chat-screen>fieldset{position:relative;top:0}.chat-screen form label:first-of-type{max-width:none}.chat-screen form label:last-of-type{flex-basis:100%}.chat-screen>p{padding:11px 13px;font-size:11px}.metal-dialog{padding:25px 20px}.dialog-actions>button{font-size:12px}.setting-row{font-size:13px}.logged-out .brand{width:auto}.logged-out .workspace{position:relative}.logged-out .sidebar{width:100%;order:2;padding:25px 24px;background:#1c1c1c}.logged-out .account{display:block;position:static}.logged-out .main-column{order:1;min-height:290px}.logged-out .screen-heading{display:none}.logged-out .game-content{min-height:270px}.logged-out .login-scene{min-height:270px;height:270px}.logged-out .login-title{padding:27px;max-width:320px}.logged-out .login-title h2{font-size:39px}.logged-out .login-title p{font-size:12px}.logged-out .utility-belt{display:none}.logged-out .account>fieldset:last-child{border-bottom:0}.logged-out .topnav{visibility:hidden}.logged-out .topbar{height:50px;grid-template-rows:48px}.logged-out .main-column .game-content{padding:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.sprite{background-position:0 0}.action-flash{display:none}}
.sidebar{display:flex;flex-direction:column;overflow:hidden}.sidebar #hud{min-height:0;overflow-y:auto;flex:1;padding-right:2px}.identity{padding-bottom:12px;margin-bottom:13px}.resource-stack{gap:8px}.stats-row{margin:13px 0;padding:10px 0}.wallet-row{padding-block:4px}.wallet{margin-bottom:11px}.medical-button{min-height:34px;margin-bottom:10px}.side-nav{display:grid;grid-template-columns:1fr 1fr;gap:2px 5px;flex:none;padding-top:9px;margin-top:8px}.game-button.side-link{font-size:10px;min-height:29px;padding:6px 5px;gap:5px}.side-link>.icon{width:16px;height:16px;margin-right:0}.side-nav .side-link:last-child{grid-column:1/3}.account{margin-top:8px;padding-top:7px;flex:none}.account>p{display:none}.portrait{background-size:850% auto;background-position:7.3% 0%}.metal-card,.item-card,.quest-card,.recipe-card,.development-card,.settings-panel{box-shadow:inset 0 1px #d4c6a70c,0 3px 8px #0004}.topbar::before{content:'';position:absolute;width:4px;height:4px;border-radius:50%;left:5px;top:5px;background:#8a765e;box-shadow:0 calc(var(--header) - 15px) #5f5547;z-index:2}.room-scene{border-left:2px solid #66523f;border-right:2px solid #66523f}.screen-heading{border-bottom-color:#5b5545}.sidebar{border-right-color:#5d5141}.utility-belt{border-top-color:#6e5540}.dialog-feedback{font-size:12px;line-height:1.5;border:1px solid #626565;padding:10px;background:#2d2f30;color:#c8d6bc;margin-top:15px}.dialog-feedback.error{border-color:#8d5d4a;background:#35251e;color:#dcb59e}
@media(min-width:1600px){.sidebar #hud{padding-right:4px}.side-nav .side-link{font-size:12px;min-height:34px}.identity{padding-bottom:18px;margin-bottom:18px}.resource-stack{gap:12px}.stats-row{margin:18px 0;padding:15px 0}.wallet-row{padding-block:6px}.medical-button{min-height:39px}}
@media(max-width:580px){.sidebar{display:block;overflow:visible}.sidebar #hud{overflow:visible;padding:0}.side-nav{display:flex;gap:2px;padding-top:4px;margin-top:2px}.side-nav .side-link{min-height:29px;font-size:8px;padding:5px 3px;gap:3px}.side-link>.icon{width:12px;height:12px}.identity{margin:0;padding:0}.stats-row{margin:0;padding:8px 0}.wallet-row{padding-block:0}.wallet{margin-bottom:0}.resource-stack{gap:8px}.account{display:none}.logged-out .account{display:block}.portrait{background-size:850% auto}}
@media(min-width:581px) and (max-height:820px){.identity{padding-bottom:10px;margin-bottom:10px}.identity .portrait{width:52px;height:57px}.identity h2{line-height:1.2}.identity-copy>small{line-height:1.3}.identity .level-row{line-height:1.2}.identity .xp-progress{display:block;height:3px;margin-top:5px}.resource-stack{gap:6px}.resource-meter>.icon{width:25px;height:25px;padding:4px}.meter-label{line-height:1.3}.resource-meter progress{height:4px;margin-top:3px}.stats-row{padding:6px 0;margin:10px 0}.stat-mini .icon{width:16px;height:16px}.stat-mini b{font-size:13px;line-height:1.2}.stat-mini small{font-size:8px;line-height:1.25;margin-top:3px}.wallet-row{padding-block:2px;line-height:1.3}.wallet-row b{font-size:12px;line-height:1.5}.wallet-row .icon{width:16px;height:16px}.wallet{margin-bottom:8px}.medical-button{padding:5px 10px;min-height:31px;font-size:11px;margin-bottom:6px}.medical-button .icon{width:18px;height:18px}.account{padding-top:4px;margin-top:6px}.account>button{font-size:9px;min-height:19px;margin-top:2px}}
.radio-screen{display:flex;flex-direction:column;height:100%;min-height:440px}.radio-screen>.section-intro{flex:none}.radio-screen>.segmented-control{flex:none}.chat-stream{min-height:180px;flex:1;overflow-y:auto;border:1px solid #4b4c4c;background:repeating-linear-gradient(0deg,#ffffff01 0 1px,transparent 1px 4px),#181919;padding:18px 20px}.chat-stream>.empty-state{border:0;background:none;min-height:220px}.message-row{display:flex;gap:12px;margin:0 0 18px;max-width:85%}.message-avatar{width:32px;height:37px;flex:none;border:1px solid #565859;background:#292a2b;display:flex;align-items:center;justify-content:center;color:#9eab88}.message-avatar .icon{width:23px;height:23px}.message-content{min-width:0;flex:1}.message-content header{display:flex;align-items:center;gap:12px;margin-bottom:6px}.message-content b{font-size:11px;font-weight:500;color:#b4c4a5}.message-content small{font-size:8px;color:#6f826c}.message-content p{font-size:12px;line-height:1.6;overflow-wrap:anywhere;padding:11px 15px;background:#282929;border-left:2px solid #708265;color:#c1c9b5}.message-row.own{margin-left:auto;flex-direction:row-reverse}.message-row.own .message-content header{justify-content:flex-end}.message-row.own .message-content p{background:#253c32;border-left-color:#76b39b}.message-row.own .message-avatar{border-color:#64866f;background:#323435;color:#95bfaa}.chat-composer{display:flex;gap:10px;padding:15px;background:#272828;border:1px solid #4e5152;border-top:0;flex:none}.chat-composer input{flex:1;min-width:0;background:#18191a;border-color:#505353}.chat-composer>button{font-size:12px}.radio-screen .segmented-control .icon{width:17px;height:17px}.chat-composer .icon{width:17px;height:17px}.contacts-screen fieldset.note-card{border-left:3px solid #83a488}.note-card legend{font-size:14px}.legacy-screen .note-state{display:inline-flex;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#b3b79a;background:#2c2e2e;padding:4px 7px;border:1px solid #535657}.contacts-screen .empty-social{margin:20px 0}
@media(max-width:580px){.radio-screen{height:620px;min-height:620px}.chat-stream{padding:15px 11px}.message-row{max-width:95%;gap:8px}.message-content p{font-size:12px;padding:9px 12px}.message-content b{font-size:10px}.message-avatar{width:26px;height:31px}.message-avatar>.icon{width:19px;height:19px}.chat-composer{padding:10px;gap:7px}.chat-composer>button{font-size:10px;padding:10px}.chat-composer input{font-size:12px;padding:9px}.chat-composer .icon{display:none}}
.boss-name small{line-height:1.2;display:block}.boss-name h2{font-size:22px;line-height:1.2;margin-top:3px}.boss-name{margin-bottom:8px}.boss-health{top:14px}.boss-health>.resource-meter .meter-label{line-height:1.2}.boss-health>.resource-meter progress{height:6px;margin-top:3px}.dialog-close{position:sticky;top:-10px;right:auto;margin-left:auto;z-index:2;width:30px;height:30px;background:#252626;border:1px solid #5d5f5f;box-shadow:0 2px 8px #0005}.metal-dialog{padding:20px 25px 25px}.dialog-item-art{height:94px;margin-top:4px}.dialog-item-art .icon{width:70px;height:70px}.metal-dialog>h2{margin-top:8px}.upgrade-option{min-height:38px;padding:8px 12px}.dialog-actions{margin:17px 0 12px}.dialog-notice{padding:9px 11px;font-size:11px;color:#b6b293;border-left:2px solid #a68d62;background:#483d252e;margin:12px 0}.metal-dialog>.requirements{margin-top:10px}
.item-illustration{display:block;width:105px;height:105px;flex:none;background-image:url('/art/equipment-icons.png');background-size:400% 300%;background-repeat:no-repeat;filter:drop-shadow(0 6px 5px #0008);image-rendering:auto;position:relative;z-index:1;pointer-events:none}.art-0{background-position:0 0}.art-1{background-position:33.333333% 0}.art-2{background-position:66.666667% 0}.art-3{background-position:100% 0}.art-4{background-position:0 50%}.art-5{background-position:33.333333% 50%}.art-6{background-position:66.666667% 50%}.art-7{background-position:100% 50%}.art-8{background-position:0 100%}.art-9{background-position:33.333333% 100%}.art-10{background-position:66.666667% 100%}.art-11{background-position:100% 100%}.item-art .item-illustration{width:118px;height:118px}.dialog-item-art .item-illustration{width:115px;height:115px}.belt-slot>.item-illustration{width:34px;height:34px}.belt-slot>span.item-illustration{flex:none;overflow:visible}.item-art:hover .item-illustration{transform:translateY(-2px);transition:transform .2s}.item-card:nth-child(2n) .item-art{background-color:#37362b22}.item-card:nth-child(3n) .item-art{background-color:#303c3c22}
@media(max-width:580px){.item-art .item-illustration{width:105px;height:105px}.belt-slot>span.item-illustration{display:block;width:32px;height:32px}}
@media(max-width:580px){.meter-label{font-size:9px;line-height:1.25}.meter-label b{font-size:10px}.identity-copy>small{font-size:7px}.stat-mini small{font-size:8px;line-height:1.3}.stat-mini b{font-size:12px}.level-row{font-size:10px}.level-row small{font-size:8px}.wallet-row span{font-size:9px}.wallet-row b{font-size:11px}.wallet{gap:9px}.game-button.nav-tab{font-size:9px}.side-nav{overflow-x:auto;justify-content:flex-start}.side-nav .side-link{font-size:10px;min-width:83px;min-height:34px;padding:6px}.side-link>.icon{width:14px;height:14px}.scene-note>p{font-size:10px;line-height:1.6}.scene-note .game-button{font-size:10px;margin-top:8px}.note-top small{font-size:6px}.room-caption>small{font-size:6px}.room-caption h2{font-size:20px}.home-action>small{font-size:6px}.screen-heading .eyebrow{font-size:7px}.screen-heading h1{font-size:24px}body[data-screen="Бои"] .sidebar .identity,body[data-screen="Бои"] .sidebar .stats-row,body[data-screen="Бои"] .sidebar .wallet,body[data-screen="Бои"] .side-nav{display:none}body[data-screen="Бои"] .sidebar #hud{display:block}body[data-screen="Бои"] .resource-stack{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}body[data-screen="Бои"] .sidebar{padding:12px 14px}body[data-screen="Бои"] .battle-scene{height:300px}.mobile-caption{font-size:11px}}
.status-message[data-trivial="true"]{opacity:0;animation:none}.status-message.error[data-trivial="false"]{opacity:1}

.context-banner{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:18px;border:1px solid #665044;background:linear-gradient(110deg,#29241f,#171b1b);font-size:12px;color:#d7cbbb}.context-banner>.icon{width:22px;flex:none;color:#c09b6d}.context-banner>span{flex:1;line-height:1.5}.context-banner .game-button{flex:none}@media(max-width:580px){.context-banner{flex-wrap:wrap;font-size:11px;padding:12px}.context-banner .game-button{width:100%}}
#hud,#game{overflow-anchor:none}
.hub-exit{font-size:11px;padding:8px;flex:none}@media(max-width:580px){.in-hub .quick-slots .empty{display:none}.hub-exit{font-size:10px;padding:6px;max-width:94px}}
