/* TaskbarAgents: iron, red banners and equipment slots. Scene scope only. */
.tba-scene.tba-rpg-scene,.tba-panel{--tba-ink:#e5d7b9;--tba-muted:#a49b8d;--tba-paper:#151619;--tba-line:#414146;--tba-soft:#202125;--tba-orange:#ffab29;--tba-green:#9fbd85;--tba-iron:#4f5257;--tba-bronze:#8c4f1a;--tba-gold:#ffab29;background:#09090b;color:var(--tba-ink);color-scheme:dark}
.tba-scene.tba-rpg-scene button:focus-visible,.tba-scene.tba-rpg-scene input:focus-visible{outline:2px solid #ffca64;outline-offset:3px}
.tba-scene .tba-desktop,.tba-scene.tba-dark .tba-desktop{background:radial-gradient(ellipse at 73% 75%,#4a1b0d44,transparent 54%),linear-gradient(145deg,#18191d,#09090b 62%,#1a100e)}
.tba-scene .tba-menubar,.tba-scene.tba-dark .tba-menubar{height:31px;background:#17181be6;color:#c1b8a7;border-bottom:1px solid #54514b;box-shadow:0 2px 0 #050506;font-family:'JetBrains Mono',monospace;padding:0 19px}
.tba-scene .tba-menubar strong{font-family:'Pixelify Sans',monospace;font-size:13px;font-weight:500;color:#e8be6b;letter-spacing:.3px}
.tba-scene .tba-desktop-symbol{font-size:15px;color:#af7841}
.tba-scene .tba-menu-item{font-size:8px;color:#88847c}
.tba-scene .tba-preview-badge{color:#c7ad83;font-size:7px}
.tba-scene .tba-preview-badge i{background:#dc7c30;box-shadow:0 0 7px #e1702b66}
.tba-scene .tba-menu-clock{color:#8a8477;font-size:8px}
.tba-scene .tba-desktop-workspace{grid-template-columns:1.32fr 1fr;gap:23px;padding:22px 27px 0}
.tba-scene .tba-window{border:2px solid #4f5257;border-radius:2px;background:#131416;box-shadow:inset 0 0 0 1px #09090b,0 0 0 1px #08090a,0 14px 30px #0008}
.tba-scene .tba-project-window{transform:none;height:100%;align-self:start;border-color:#41444b}
.tba-scene .tba-window-bar{height:31px;flex:none;background:linear-gradient(#303237,#222429);border-bottom:2px solid #08090b;box-shadow:inset 0 1px #5b5d62;color:#aaa797;font-family:'JetBrains Mono',monospace;font-size:9px}
.tba-scene .tba-window-title{font-weight:400;letter-spacing:.1px}
.tba-scene .tba-window-trailing{color:#817b6f}
.tba-scene .tba-traffic{gap:5px}
.tba-scene .tba-traffic i{width:7px;height:7px;border-radius:1px;border:1px solid #09090b;background:#815944;box-shadow:inset 1px 1px #c29465,0 1px #000}
.tba-scene .tba-traffic i:nth-child(2){background:#8e783c;border-color:#08090b;box-shadow:inset 1px 1px #b4a06e,0 1px #000}
.tba-scene .tba-traffic i:nth-child(3){background:#50664c;border-color:#08090b;box-shadow:inset 1px 1px #8c9870,0 1px #000}
.tba-scene .tba-editor,.tba-scene.tba-dark .tba-editor{background:#141519;height:30%;min-height:85px}
.tba-scene .tba-file-tree{background:#191a1e;border-right:1px solid #303138;color:#827f76;font-size:8px}
.tba-scene .tba-file-tree>span.tba-file-active,.tba-scene.tba-dark .tba-file-tree>span.tba-file-active{background:#31251d;color:#d5af75;border-left:2px solid #ad6127;padding-left:19px}
.tba-scene .tba-code,.tba-scene.tba-dark .tba-code{background:#131418;color:#bcb5a7}
.tba-scene .tba-code-file{color:#ba9e6e;border-bottom:1px solid #373027;background:#201d1a}
.tba-scene .tba-code-highlight{background:#5b3a2029}
.tba-scene .tba-code-lines em{color:#7c7468}
.tba-scene .tba-purple{color:#c9a3cc}.tba-scene .tba-code-blue{color:#a3bbc8}.tba-scene .tba-code-green{color:#9fba92}.tba-scene .tba-orange{color:#dba765}
.tba-scene .tba-work-tabs{background:#1a1b1f;border-top:1px solid #484545;border-bottom:2px solid #09090b;color:#a99e8b;height:33px;font-size:10px;gap:20px}
.tba-scene .tba-work-tabs button{font-family:'JetBrains Mono',monospace;font-weight:400;border-bottom-width:2px}
.tba-scene .tba-work-tabs button[aria-selected="true"]{border-bottom-color:#c24024;color:#f2cf86}
.tba-scene .tba-work-tabs button span{background:#3e3023;border:1px solid #6c4c2d;color:#d1ac74;border-radius:0}
.tba-scene .tba-tab-trailing{color:#807566}
.tba-scene .tba-work-tab-content,.tba-scene .tba-terminal-output{background:#0c0d10;color:#d2caba;scrollbar-color:#69523b #101115}
.tba-scene .tba-terminal-output{font-size:10px;line-height:1.85;padding:14px 16px;text-shadow:0 1px #000}
.tba-scene .tba-terminal-bright{color:#f1e8d7}
.tba-scene .tba-terminal-prompt{color:#d89943}.tba-scene .tba-terminal-branch{color:#899789}
.tba-scene .tba-terminal-muted{color:#918c81}.tba-scene .tba-terminal-success{color:#9ebe8f}.tba-scene .tba-terminal-warning{color:#e8ae55}
.tba-scene .tba-terminal-cursor i{background:#d9ab58}
.tba-scene .tba-mission-form{background:#202024;border-top:2px solid #3c3a35;color:#bd864b;padding:7px 8px 7px 13px;box-shadow:inset 0 1px #0b0c0e}
.tba-scene .tba-mission-form input{font-size:10px;color:#f0e5cf}
.tba-scene .tba-mission-form input::placeholder{color:#a69c8b}
.tba-scene .tba-mission-form button{border-radius:0;background:linear-gradient(#a85424,#71330f);border:1px solid #e39a49;color:#ffe1a3;box-shadow:inset 0 0 0 1px #5c260d,1px 1px #050506}
.tba-scene .tba-mission-form button:disabled{background:#37332d;border-color:#655745;color:#897a64;box-shadow:inset 0 0 0 1px #211f1a}
.tba-scene .tba-control-window{transform:none;align-self:start;margin:0;height:100%;max-height:100%;border:4px solid #3f4145;background:#17181b;box-shadow:inset 0 0 0 1px #626367,0 0 0 1px #09090b,0 0 0 2px #55514b,0 16px 25px #0009;overflow:hidden;position:relative}
.tba-scene .tba-rpg-window>.tba-window-bar{margin:5px 5px 0;background:linear-gradient(#a0251b,#7a0e0e 53%,#610b0b);border:1px solid #a36e35;box-shadow:inset 0 1px #db6450,inset 0 -2px #390808,0 2px 0 #08090b;clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px);height:33px;padding:0 9px;z-index:2}
.tba-scene .tba-rpg-window .tba-window-title{font-family:'Pixelify Sans',monospace;font-size:23px;line-height:1;font-weight:700;letter-spacing:1.8px;color:#ffbd3c;text-transform:uppercase;text-shadow:1px 2px #2d0905,-1px 0 #6c2306}
.tba-scene .tba-rpg-window .tba-traffic i{background:#3a3330;border-color:#09090b;box-shadow:inset 1px 1px #a88a58}
.tba-scene .tba-rpg-corner{display:grid;place-items:center;width:19px;height:19px;border:1px solid #b57a2b;background:#4a2713;color:#ffb535;font-size:15px;line-height:1;box-shadow:inset 0 0 0 1px #271507}
.tba-scene .tba-rpg-currency{display:flex;justify-content:space-between;align-items:center;gap:10px;height:26px;margin:0 9px;position:relative;border-bottom:1px solid #5c4732;color:#cbb382;font-family:'Pixelify Sans',monospace;font-size:13px;flex:none;padding-right:45px}
.tba-scene .tba-rpg-currency>span{display:flex;align-items:center;gap:6px}.tba-scene .tba-rpg-currency>span:nth-child(2){font-family:'JetBrains Mono',monospace;font-size:7px;color:#918675}.tba-scene .tba-rpg-currency b{font-family:'Pixelify Sans',monospace;font-size:14px;font-weight:400;color:#d9b36d}
.tba-scene .tba-rpg-currency .tba-coin{width:8px;height:10px;border-color:#8c4f1a;background:#ffb839;box-shadow:inset 2px 0 #ffe5a0}
.tba-scene .tba-rpg-dragon{position:absolute;right:0;bottom:-4px;width:43px;height:48px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(1px 1px 0 #000);z-index:3;pointer-events:none}
.tba-scene .tba-rpg-body{flex:1;min-height:0;padding:10px 10px 7px;overflow:auto;scrollbar-width:thin;scrollbar-color:#6d4e31 #17181b;background:radial-gradient(ellipse at 50% 0,#55402b1c,transparent 70%)}
.tba-scene .tba-hero-equipment{display:flex;flex-direction:column;height:100%;gap:6px;min-height:218px}
.tba-scene .tba-hero-loadout{display:flex;gap:14px;flex:1;min-height:90px;max-height:140px}
.tba-scene .tba-rpg-portrait{width:100px;flex:none;min-height:90px;position:relative;display:flex;justify-content:center;align-items:flex-end;background:radial-gradient(ellipse at 50% 60%,#6e4a2d,#29211b 67%);border:3px solid #6e634c;outline:1px solid #07080a;box-shadow:inset 0 0 0 2px #2a2117,inset 3px 3px #9e927777,inset -3px -3px #17110d;overflow:hidden}
.tba-scene .tba-rpg-portrait::before,.tba-scene .tba-rpg-portrait::after{content:'';position:absolute;width:3px;height:3px;background:#c4b185;box-shadow:0 1px #060607;top:3px;left:3px;z-index:2}.tba-scene .tba-rpg-portrait::after{left:auto;right:3px}
.tba-scene .tba-rpg-portrait .tba-sprite{--tba-sprite-scale:3;filter:drop-shadow(2px 2px #0008);margin-bottom:10px}
.tba-scene .tba-rpg-class{position:absolute;top:2px;left:5px;right:5px;text-align:center;background:#9d8966;color:#261b11;font-family:'Pixelify Sans',monospace;font-size:12px;line-height:1.4;border:1px solid #3b2b18;z-index:3;text-shadow:0 1px #e0c99855}
.tba-scene .tba-rpg-level{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-family:'Pixelify Sans',monospace;font-size:13px;color:#f6d291;text-shadow:1px 1px #000,-1px -1px #000;z-index:3}
.tba-scene .tba-rpg-character{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:center}
.tba-scene .tba-rpg-character>.tba-eyebrow{font-family:'JetBrains Mono',monospace;font-size:7px;letter-spacing:.3px;color:#a1967e}
.tba-scene .tba-rpg-character h3{font-family:'Pixelify Sans',monospace;font-size:29px;line-height:1;letter-spacing:.5px;font-weight:500;color:#f2bd61;margin:4px 0}
.tba-scene .tba-rpg-role{font-family:'JetBrains Mono',monospace;font-size:8px;color:#a69d8a}
.tba-scene .tba-rpg-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:9px 0 0;gap:5px;border-top:1px solid #4b4135;padding-top:7px}
.tba-scene .tba-rpg-stats div{border-right:1px solid #3d3830;text-align:center}.tba-scene .tba-rpg-stats div:last-child{border-right:0}.tba-scene .tba-rpg-stats dt{font-family:'JetBrains Mono',monospace;font-size:6px;line-height:1.3;color:#968b76;white-space:nowrap}.tba-scene .tba-rpg-stats dd{font-family:'Pixelify Sans',monospace;font-size:19px;font-weight:400;color:#d9c397;margin:0;line-height:1.1}
.tba-scene .tba-rpg-xp{display:flex;align-items:center;gap:7px;flex:none;font-family:'JetBrains Mono',monospace;font-size:7px;color:#bfae8d;padding:2px 0;line-height:1.3}
.tba-scene .tba-rpg-xp>i{height:7px;border:1px solid #9a6d37;background:#100e0c;box-shadow:0 1px #020203,inset 0 1px #000;flex:1;display:block;padding:1px}
.tba-scene .tba-rpg-xp>i>b{display:block;background:linear-gradient(90deg,#7a0e0e,#b8421c 70%,#ffab29);height:100%;box-shadow:inset 0 1px #f9b25866;transition:width .3s}
.tba-scene .tba-equipment-caption{display:flex;justify-content:space-between;font-family:'Pixelify Sans',monospace;font-size:11px;color:#a7977b;line-height:1;flex:none;border-bottom:1px solid #39352e;padding:0 1px 4px}
.tba-scene .tba-equipment-caption>span:last-child{font-family:'JetBrains Mono',monospace;font-size:7px;align-self:center;color:#7d766b}
.tba-scene .tba-equipment-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;flex:none}
.tba-scene .tba-equipment-slot{aspect-ratio:1;min-width:0;position:relative;display:grid;place-items:center;background:#101113 url('./assets/icons/iron_icon_frame_v1.png') center/100% 100% no-repeat;image-rendering:pixelated;isolation:isolate}
.tba-scene .tba-equipment-slot::before{content:'';position:absolute;inset:15%;z-index:-1;background:radial-gradient(#70451944,transparent 75%)}
.tba-scene .tba-equipment-slot>img{width:76%;height:76%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(1px 2px #000)}
.tba-scene .tba-equipment-slot>i{position:absolute;bottom:3px;right:4px;font-family:'Pixelify Sans',monospace;font-size:9px;font-style:normal;line-height:1;color:#f4bd58;text-shadow:1px 1px #09090b,-1px -1px #09090b}
.tba-scene .tba-party-selector{display:flex;gap:5px;padding-top:2px;flex:none}
.tba-scene .tba-party-selector>button{display:flex;align-items:center;gap:5px;min-width:0;flex:1;position:relative;background:linear-gradient(#242528,#191a1d);border:1px solid #535252;box-shadow:inset 0 1px #77716a55,inset 0 -1px #08090a;border-radius:0;padding:3px 6px;color:#b0a58e;font-family:'Pixelify Sans',monospace;font-size:11px;height:33px}
.tba-scene .tba-party-selector .tba-sprite{--tba-sprite-scale:1;width:16px;height:28px;flex:none}
.tba-scene .tba-party-selector>button[aria-pressed="true"]{border-color:#bc812e;background:linear-gradient(#493220,#2d2116);color:#ffcf70;box-shadow:inset 0 0 0 1px #120e0a,inset 0 2px #9a6a3d88}
.tba-scene .tba-party-selector>button i{position:absolute;right:4px;top:4px;width:3px;height:3px;background:#7b7060;box-shadow:0 1px #000}.tba-scene .tba-party-selector>button[aria-pressed="true"] i{background:#d59a48}
.tba-scene .tba-rpg-nav{display:flex;justify-content:space-between;gap:8px;flex:none;padding:6px 12px;background:#131416;border-top:2px solid #504b41;border-bottom:1px solid #08090a;box-shadow:inset 0 1px #13100e}
.tba-scene .tba-rpg-nav>button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;border:0;background:transparent;color:#a29479;font-family:'Pixelify Sans',monospace;font-size:12px;padding:0;line-height:1;min-height:34px}
.tba-scene .tba-rpg-nav>button[aria-selected="true"]{color:#ffcc68;text-shadow:1px 1px #09090b}
.tba-scene .tba-rpg-nav-octagon{display:grid;place-items:center;width:34px;height:34px;flex:none;position:relative;background:#685139;clip-path:polygon(28% 0,72% 0,100% 28%,100% 72%,72% 100%,28% 100%,0 72%,0 28%)}
.tba-scene .tba-rpg-nav-octagon::before{content:'';position:absolute;inset:2px;background:linear-gradient(145deg,#633615,#2e1b10);clip-path:inherit}
.tba-scene .tba-rpg-nav-octagon>img{width:25px;height:25px;object-fit:contain;image-rendering:pixelated;position:relative;z-index:1;filter:drop-shadow(1px 1px #000)}
.tba-scene .tba-rpg-nav>button[aria-selected="true"] .tba-rpg-nav-octagon{background:#d49a38;filter:drop-shadow(0 0 3px #d7791c44)}
.tba-scene .tba-rpg-nav>button[aria-selected="true"] .tba-rpg-nav-octagon::before{background:linear-gradient(#9b541f,#57300f)}
.tba-scene .tba-rpg-section-title{font-family:'Pixelify Sans',monospace;font-size:17px;color:#e0b66d;line-height:1.2;border-bottom:1px solid #625139;padding:2px 0 9px;margin-bottom:6px;display:flex;justify-content:space-between;align-items:center}
.tba-scene .tba-rpg-section-title>span{font-family:'JetBrains Mono',monospace;font-size:8px;color:#97886e}
.tba-scene .tba-rpg-party-panel .tba-control-roster{padding:0}.tba-scene .tba-rpg-party-panel .tba-hero-row{padding:9px 4px}
.tba-scene .tba-rpg-party-footer{font-family:'JetBrains Mono',monospace;font-size:8px;color:#9a8e77;margin-top:12px;padding-top:10px;border-top:1px solid #484034}
.tba-scene .tba-inventory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.tba-scene .tba-inventory-grid .tba-equipment-slot{max-height:64px}.tba-scene .tba-inventory-grid .tba-equipment-slot img{width:70%;height:70%}.tba-scene .tba-slot-empty{opacity:.6}.tba-scene .tba-slot-empty::before{background:none}.tba-scene .tba-rpg-inventory-sample{display:block;margin-top:10px;font-family:'JetBrains Mono',monospace;font-size:7px;color:#857b68}
.tba-scene .tba-hero-row{border-radius:0;border-bottom:1px solid #3f3930;background:#18191b;color:#d8c8a7}
.tba-scene .tba-hero-row+.tba-hero-row{border-top-color:#39352e}
.tba-scene .tba-hero-row.tba-hero-selected,.tba-scene.tba-dark .tba-hero-row.tba-hero-selected{background:#3c2a1b;border-color:#8b6135;box-shadow:inset 2px 0 #bd872f}
.tba-scene .tba-avatar,.tba-scene .tba-avatar.tba-green,.tba-scene .tba-avatar.tba-orange{background:radial-gradient(#6b4a2f,#221e1a);border:2px solid #625a4e;outline:1px solid #08090b;border-radius:0}
.tba-scene .tba-hero-copy strong{color:#e7c98d}.tba-scene .tba-hero-copy strong small{background:#28241d;border-color:#514637;color:#ad9c7c;border-radius:0}.tba-scene .tba-hero-copy>span{color:#9e927d}
.tba-scene .tba-status,.tba-scene.tba-dark .tba-status{border-radius:0;background:#2b3324;color:#c4cd97;border:1px solid #4e5d3c}.tba-scene .tba-status-wait,.tba-scene.tba-dark .tba-status-wait{background:#4b2e18;color:#efb45e;border-color:#78522a}
.tba-scene .tba-approval-card,.tba-scene.tba-dark .tba-approval-card{margin:7px 10px 0;padding:8px;gap:7px;background:#302217;border:1px solid #85552c;border-radius:0;box-shadow:inset 0 1px #ae744033,0 1px #09090b;flex:none}
.tba-scene .tba-approval-icon{border-radius:0;transform:rotate(45deg);width:17px;height:17px;min-width:17px;line-height:1;background:#472713;color:#ffc468;border-color:#ba7c32;font-size:10px;text-shadow:1px 1px #000}
.tba-scene .tba-approval-card strong,.tba-scene.tba-dark .tba-approval-card strong{font-size:10px;color:#ecc486}.tba-scene .tba-approval-card p,.tba-scene.tba-dark .tba-approval-card p{font-size:8px;color:#aa9472}
.tba-scene .tba-approval-card button{background:linear-gradient(#a82a1b,#73110d);border:1px solid #ce7937;color:#ffda8e;box-shadow:inset 0 1px #d2613a,1px 1px #09090b;border-radius:0;font-family:'Pixelify Sans',monospace;font-size:11px;padding:7px;min-height:28px;text-shadow:1px 1px #451108}
.tba-scene .tba-approval-card button:hover:not(:disabled){background:linear-gradient(#bf3c24,#911b11)}
.tba-scene .tba-approval-card.tba-is-approved,.tba-scene.tba-dark .tba-is-approved{background:#293023;border-color:#596340}.tba-scene .tba-is-approved button{background:linear-gradient(#4e5c35,#303b24);color:#d7dfae;border-color:#778356;box-shadow:inset 0 1px #8a9262;text-shadow:1px 1px #17210e}.tba-scene .tba-is-approved .tba-approval-icon{background:#38422b;color:#d9dea5;border-color:#85945e}
.tba-scene .tba-feedback{padding:5px 11px 7px;min-height:20px;font-family:'JetBrains Mono',monospace;font-size:6px;color:#94866f;flex:none}
.tba-scene .tba-desktop-adventure{height:29%;min-height:145px;padding-bottom:38px;margin-top:3px}
.tba-scene .tba-world{background:#141616;border-top:1px solid #49423a}
.tba-scene .tba-desktop-adventure>.tba-world{background:#120f0e;border-top:0}
.tba-scene .tba-world-landscape{filter:brightness(.88) saturate(.87);image-rendering:pixelated}
.tba-scene .tba-world-zone-5{background:radial-gradient(ellipse at 52% 100%,#64230c 0,#261009 45%,#100c0c 80%)}
.tba-scene .tba-world-zone-5 .tba-world-landscape{background-image:url('./assets/ui/fire.png');background-position:center bottom;background-size:100% auto;filter:brightness(.9) saturate(.92)}
.tba-scene .tba-world-zone-1{background-color:#0b101c}.tba-scene .tba-world-zone-0{background-color:#1a1c23}.tba-scene .tba-world-zone-2{background-color:#172023}.tba-scene .tba-world-zone-3{background-color:#251a15}.tba-scene .tba-world-zone-4{background-color:#14232b}.tba-scene .tba-world-zone-6{background-color:#232332}.tba-scene .tba-world-zone-7{background-color:#14111e}.tba-scene .tba-world-zone-8{background-color:#101c27}
.tba-scene .tba-world-zone-5::after{content:'';position:absolute;inset:30% 5% 0;background:radial-gradient(ellipse at 50% 100%,#e36c1626,transparent 67%);pointer-events:none;z-index:0;animation:tba-rpg-fireglow 7s ease-in-out infinite alternate}
.tba-scene .tba-world-hud{top:10px;left:23px;right:23px}
.tba-scene .tba-place,.tba-scene .tba-world-zone-1 .tba-place,.tba-scene .tba-world-zone-7 .tba-place{color:#e0be85;text-shadow:1px 1px #080809;font-size:16px}
.tba-scene .tba-place small,.tba-scene .tba-world-zone-1 .tba-place small,.tba-scene .tba-world-zone-7 .tba-place small{color:#8f826c;font-size:7px}
.tba-scene .tba-world-rewards,.tba-scene .tba-world-zone-1 .tba-world-rewards,.tba-scene .tba-world-zone-7 .tba-world-rewards{color:#edba5a;text-shadow:1px 1px #09090b;font-size:17px}
.tba-scene .tba-world-rewards .tba-reward-label{color:#a1957b}
.tba-scene .tba-world-rewards b,.tba-scene .tba-world-zone-1 .tba-world-rewards b,.tba-scene .tba-world-zone-7 .tba-world-rewards b{background:#201b15;border:1px solid #69502d;border-radius:0;color:#bb9d67;box-shadow:inset 0 1px #a58d5633}
.tba-scene .tba-world .tba-coin{border-color:#985b1d;background:#f6af39;box-shadow:inset 2px 0 #ffe49e}
.tba-scene .tba-journey-track{top:12px}.tba-scene .tba-journey-track i{border-radius:0;background:#786346;transform:rotate(45deg)}.tba-scene .tba-journey-track i:nth-child(-n+2){background:#b5662c}.tba-scene .tba-journey-track .tba-track-current{background:#eea749;box-shadow:0 0 0 2px #39250f}
.tba-scene .tba-actor-tag{background:#211c16e8;border:1px solid #776041;border-radius:0;color:#dec49b;box-shadow:1px 2px #0008;text-shadow:1px 1px #000;font-size:7px}
.tba-scene .tba-actor-selected .tba-actor-tag{border-color:#cc8f38;background:#4d2a13;color:#ffcd77}
.tba-scene .tba-actor-tag i{background:#9baa6b}.tba-scene .tba-actor-tag .tba-amber-dot{background:#eb9a36}
.tba-scene .tba-enemy-health{border-color:#a9916b;background:#29100c;box-shadow:0 0 0 1px #08090b}.tba-scene .tba-enemy-health i{background:#b82114}
.tba-scene .tba-world-footer{color:#bfb28d;text-shadow:1px 1px #000;background:#0e0d0ca6;border-top:1px solid #63503255;padding:3px 5px;bottom:0;left:0;right:0;font-size:6px}
.tba-scene .tba-xp-pop{color:#ffbd4c;text-shadow:1px 1px #321608,-1px -1px #09090b}
.tba-scene .tba-world-embers{position:absolute;inset:30% 5% 8%;z-index:1;pointer-events:none;overflow:hidden}
.tba-scene .tba-world-embers i{position:absolute;bottom:5%;left:18%;width:2px;height:3px;background:#ef8e31;box-shadow:0 0 5px #e6812d66;opacity:0;animation:tba-rpg-ember 9s ease-out infinite}
.tba-scene .tba-world-embers i:nth-child(2){left:37%;animation-delay:-3s;animation-duration:12s}.tba-scene .tba-world-embers i:nth-child(3){left:66%;animation-delay:-7s;animation-duration:10s}.tba-scene .tba-world-embers i:nth-child(4){left:82%;animation-delay:-2s;animation-duration:13s}.tba-scene .tba-world-embers i:nth-child(5){left:53%;animation-delay:-6s;animation-duration:14s;width:1px;height:2px}.tba-scene .tba-world-embers i:nth-child(6){left:25%;animation-delay:-9s;animation-duration:15s;width:1px;height:2px}
.tba-scene .tba-dock{height:45px;gap:8px;padding:5px 8px;background:linear-gradient(#34312be8,#171717f2);border:2px solid #61584a;border-radius:2px;box-shadow:inset 0 1px #a2977e66,0 0 0 1px #09090b,0 4px 10px #0009;backdrop-filter:blur(5px);bottom:1px}
.tba-scene .tba-dock-app{background:linear-gradient(#6a411e,#34210f);border:1px solid #9c6b2a;border-radius:0;clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);box-shadow:inset 0 1px #bb884455;width:31px;height:31px}
.tba-scene .tba-dock-app img{filter:drop-shadow(1px 1px #000)}
.tba-scene .tba-dock-separator{background:#76604455}.tba-scene .tba-dock-terminal{background:#0d0e12;border:2px solid #655f52;color:#d2b578;border-radius:0}.tba-scene .tba-dock-folder{color:#b68032;text-shadow:0 2px #462c12}
.tba-scene .tba-scene-preview{background:#16171a;border:3px solid #414348;box-shadow:inset 0 0 0 1px #76716a}
.tba-scene .tba-scene-bar{background:linear-gradient(#2a2c31,#1b1d21);border-bottom:2px solid #08090b;color:#d9bd86;font-family:'JetBrains Mono',monospace;box-shadow:inset 0 1px #64615c;height:35px}
.tba-scene .tba-scene-demo{color:#867b69}.tba-scene .tba-scene-bar>span>i{color:#716453}
.tba-scene .tba-preview-main{background:linear-gradient(135deg,#202023,#121316)}
.tba-scene .tba-section-heading h3{font-family:'Pixelify Sans',monospace;font-weight:500;letter-spacing:.1px;font-size:30px;color:#e8bc70;text-shadow:1px 2px #08090b}
.tba-scene .tba-section-heading p{color:#a89a80}.tba-scene .tba-eyebrow{color:#a29276;font-size:8px;letter-spacing:1px}
.tba-scene .tba-preview-mission{background:linear-gradient(#302a22,#211e1a);border:2px solid #64523b;border-radius:0;box-shadow:inset 1px 1px #98806655,inset -1px -1px #070709}
.tba-scene .tba-preview-mission-icon{border-radius:0;border:2px solid #69604f;background:radial-gradient(#564026,#221b14);box-shadow:inset 0 0 0 1px #0b0b0c}
.tba-scene .tba-preview-mission strong{color:#dfc38e}.tba-scene .tba-preview-mission>div>span{color:#a7977a}.tba-scene .tba-preview-mission>div>.tba-small-status{color:#aec08b}.tba-scene .tba-mission-percent{color:#d29b4c;text-shadow:1px 2px #000}
.tba-scene .tba-lifecycle-track i{background:#282623;border:1px solid #72614a;border-radius:0;box-shadow:inset 1px 1px #b5a08333,1px 1px #070709;color:#8c806b}.tba-scene .tba-lifecycle-track .tba-stage-active i{background:linear-gradient(#9b321f,#63150e);border-color:#b97737;color:#f7c47a}.tba-scene .tba-lifecycle-track .tba-stage-active small{color:#d1ba90}.tba-scene .tba-lifecycle-track::before{background:#645139}.tba-scene .tba-lifecycle-track small{color:#84775f}
.tba-scene .tba-preview-sidebar{background:linear-gradient(90deg,#17181b,#1d1e22);border-left:3px solid #49464a;box-shadow:inset 1px 0 #736a5b55}
.tba-scene .tba-mini-stat{border-color:#504434}.tba-scene .tba-mini-stat>b{color:#d4ad67}.tba-scene .tba-mini-stat i{background:#0c0d0f;border:1px solid #5a4934;border-radius:0;height:6px}.tba-scene .tba-mini-stat em{background:linear-gradient(90deg,#7a0e0e,#bc4c21,#d58c31)}
.tba-scene .tba-sidebar-mission p{color:#c3b08a}.tba-scene .tba-sidebar-mission>span{color:#98aa77}.tba-scene .tba-sidebar-mission>.tba-sidebar-amber{color:#df9a39}.tba-scene .tba-sidebar-mission small,.tba-scene .tba-sidebar-sample{color:#877a64}
.tba-scene .tba-preview-roster .tba-hero-row{border-left:0;border-right:0;background:transparent}.tba-scene .tba-tab-party{background:#16171a}
.tba-scene .tba-terminal-compact{border:2px solid #484343;border-bottom:0;border-radius:0;background:#0c0d10}
.tba-scene .tba-map-view{background:linear-gradient(#1b1c20,#101113);border:3px solid #48494e;box-shadow:inset 0 0 0 1px #07080a}
.tba-scene .tba-zone-card{border:2px solid #565049;border-radius:0;box-shadow:inset 0 0 0 1px #09090b;filter:saturate(.75)}
.tba-scene .tba-zone-card::after{border-radius:0}.tba-scene .tba-zone-card.tba-zone-selected::after{border-color:#ffab29}.tba-scene .tba-zone-card>span:last-child{color:#e4c999;text-shadow:1px 1px #08090b}.tba-scene .tba-zone-card>span>b{color:#ffb944}.tba-scene .tba-zone-image{filter:brightness(.8)}
.tba-scene .tba-map-footer>span:nth-child(2){color:#dfbd7b}.tba-scene .tba-map-progress i{background:#13110e;border:1px solid #594631;border-radius:0;height:6px}.tba-scene .tba-map-progress b{background:linear-gradient(90deg,#8e1b10,#cd7a2b)}
.tba-panel{border:3px solid #4f5257;border-radius:2px;box-shadow:inset 0 0 0 1px #09090b,0 0 0 1px #08090a,0 16px 40px #0008;background:#16171a}
.tba-panel .tba-panel-bar{background:linear-gradient(#323338,#1f2024);border-bottom:2px solid #08090b;box-shadow:inset 0 1px #74706b;color:#d4b77d;font-family:'Pixelify Sans',monospace;font-size:15px;letter-spacing:.3px}
.tba-panel .tba-panel-menu{color:#a28a62}
.tba-scene .tba-mobile-hero-tab{display:none}
@keyframes tba-rpg-ember{0%{transform:translate(0,0);opacity:0}20%{opacity:.65}70%{opacity:.3}100%{transform:translate(13px,-80px);opacity:0}}
@keyframes tba-rpg-fireglow{from{opacity:.45}to{opacity:1}}
@container (min-width:1000px){.tba-scene .tba-menubar{height:34px}.tba-scene .tba-menubar strong{font-size:15px}.tba-scene .tba-desktop-workspace{padding:27px 38px 0;gap:28px;grid-template-columns:1.32fr 1fr}.tba-scene .tba-window-bar{height:34px;font-size:11px}.tba-scene .tba-code{font-size:10px}.tba-scene .tba-file-tree{font-size:9px}.tba-scene .tba-editor{min-height:115px;height:30%}.tba-scene .tba-work-tabs{height:37px;font-size:11px}.tba-scene .tba-terminal-output{font-size:12px;line-height:1.85;padding:17px 21px}.tba-scene .tba-mission-form{padding:9px 10px 9px 18px}.tba-scene .tba-mission-form input{font-size:11px}.tba-scene .tba-rpg-window>.tba-window-bar{height:36px}.tba-scene .tba-rpg-window .tba-window-title{font-size:26px}.tba-scene .tba-rpg-currency{height:28px;margin:0 12px;font-size:15px}.tba-scene .tba-rpg-currency>span:nth-child(2){font-size:8px}.tba-scene .tba-rpg-dragon{width:49px;height:55px}.tba-scene .tba-rpg-body{padding:12px 14px 9px}.tba-scene .tba-hero-equipment{min-height:253px;gap:8px}.tba-scene .tba-hero-loadout{gap:18px;min-height:113px;max-height:155px}.tba-scene .tba-rpg-portrait{width:119px;min-height:110px}.tba-scene .tba-rpg-portrait .tba-sprite{--tba-sprite-scale:3;margin-bottom:12px}.tba-scene .tba-rpg-class{font-size:14px}.tba-scene .tba-rpg-level{font-size:15px;bottom:3px}.tba-scene .tba-rpg-character>.tba-eyebrow{font-size:8px}.tba-scene .tba-rpg-character h3{font-size:35px}.tba-scene .tba-rpg-role{font-size:9px}.tba-scene .tba-rpg-stats dt{font-size:7px}.tba-scene .tba-rpg-stats dd{font-size:22px}.tba-scene .tba-rpg-xp{font-size:8px;gap:9px}.tba-scene .tba-rpg-xp>i{height:8px}.tba-scene .tba-equipment-grid{gap:7px}.tba-scene .tba-equipment-slot>i{font-size:11px;bottom:4px;right:5px}.tba-scene .tba-equipment-caption{font-size:13px}.tba-scene .tba-party-selector{gap:7px}.tba-scene .tba-party-selector>button{height:37px;font-size:13px;gap:8px;padding:3px 9px}.tba-scene .tba-rpg-nav{padding:7px 15px;gap:10px}.tba-scene .tba-rpg-nav>button{font-size:14px;gap:8px;min-height:38px}.tba-scene .tba-rpg-nav-octagon{height:38px;width:38px}.tba-scene .tba-rpg-nav-octagon>img{width:28px;height:28px}.tba-scene .tba-approval-card{margin:8px 14px 0;padding:9px 10px}.tba-scene .tba-approval-card strong{font-size:11px}.tba-scene .tba-approval-card p{font-size:9px}.tba-scene .tba-approval-card button{font-size:13px;padding:8px 9px}.tba-scene .tba-feedback{font-size:7px;padding:6px 15px 8px;min-height:22px}.tba-scene .tba-desktop-adventure{padding-bottom:43px;min-height:172px;height:28%}.tba-scene .tba-world-hud{left:30px;right:30px;top:13px}.tba-scene .tba-place{font-size:20px}.tba-scene .tba-place small{font-size:8px}.tba-scene .tba-world-rewards{font-size:20px}.tba-scene .tba-world-footer{font-size:7px;padding:4px 12px}.tba-scene .tba-dock{height:50px;gap:10px;padding:5px 9px}.tba-scene .tba-dock-app{height:35px;width:35px}.tba-scene .tba-dock-app img{height:31px;width:31px}}
@container (max-width:650px){.tba-scene .tba-menubar{height:25px;padding:0 12px}.tba-scene .tba-menubar strong{font-size:10px}.tba-scene .tba-preview-badge{font-size:6px}.tba-scene .tba-menu-clock{font-size:7px}.tba-scene .tba-desktop-workspace{padding:13px 15px 0;gap:13px;grid-template-columns:1.18fr 1fr}.tba-scene .tba-window-bar{height:26px;font-size:8px}.tba-scene .tba-editor{height:27%;min-height:65px}.tba-scene .tba-code{font-size:7px}.tba-scene .tba-work-tabs{height:29px;font-size:8px;gap:13px}.tba-scene .tba-terminal-output{font-size:8px;line-height:1.8;padding:10px 11px}.tba-scene .tba-mission-form{padding:5px 6px 5px 10px}.tba-scene .tba-mission-form input{font-size:8px}.tba-scene .tba-control-window{border-width:3px}.tba-scene .tba-rpg-window>.tba-window-bar{height:29px;margin:4px 4px 0;padding:0 5px}.tba-scene .tba-rpg-window .tba-window-title{font-size:19px;letter-spacing:1px}.tba-scene .tba-rpg-window .tba-traffic{gap:2px}.tba-scene .tba-rpg-window .tba-traffic i{width:5px;height:5px}.tba-scene .tba-rpg-corner{width:15px;height:15px;font-size:12px}.tba-scene .tba-rpg-currency{height:24px;margin:0 7px;font-size:11px;padding-right:29px}.tba-scene .tba-rpg-currency>span:nth-child(2){font-size:5px}.tba-scene .tba-rpg-currency b{font-size:11px}.tba-scene .tba-rpg-dragon{height:34px;width:30px;bottom:-1px}.tba-scene .tba-rpg-body{padding:7px 7px 5px}.tba-scene .tba-hero-equipment{gap:5px;min-height:191px}.tba-scene .tba-hero-loadout{min-height:78px;max-height:110px;gap:8px}.tba-scene .tba-rpg-portrait{width:67px;min-height:78px;border-width:2px}.tba-scene .tba-rpg-portrait .tba-sprite{--tba-sprite-scale:2;margin-bottom:9px}.tba-scene .tba-rpg-class{font-size:9px;left:2px;right:2px;top:2px}.tba-scene .tba-rpg-level{font-size:10px}.tba-scene .tba-rpg-character>.tba-eyebrow{font-size:5px;letter-spacing:0}.tba-scene .tba-rpg-character h3{font-size:24px;margin:3px 0}.tba-scene .tba-rpg-role{font-size:6px}.tba-scene .tba-rpg-stats{gap:3px;margin-top:7px;padding-top:5px}.tba-scene .tba-rpg-stats dt{font-size:4px}.tba-scene .tba-rpg-stats dd{font-size:15px}.tba-scene .tba-rpg-xp{font-size:5px;gap:4px}.tba-scene .tba-rpg-xp>i{height:6px}.tba-scene .tba-equipment-caption{font-size:9px;padding-bottom:3px}.tba-scene .tba-equipment-caption>span:last-child{font-size:5px}.tba-scene .tba-equipment-grid{gap:3px}.tba-scene .tba-equipment-slot>i{font-size:6px;bottom:2px;right:2px}.tba-scene .tba-party-selector{gap:3px}.tba-scene .tba-party-selector>button{padding:2px 3px;font-size:8px;gap:3px;height:29px}.tba-scene .tba-party-selector>button i{right:2px;top:3px;width:2px;height:2px}.tba-scene .tba-party-selector .tba-sprite{width:12px;height:21px}.tba-scene .tba-rpg-nav{padding:5px 6px;gap:4px}.tba-scene .tba-rpg-nav>button{font-size:9px;gap:4px;min-height:27px}.tba-scene .tba-rpg-nav-octagon{width:26px;height:26px}.tba-scene .tba-rpg-nav-octagon>img{width:20px;height:20px}.tba-scene .tba-approval-card{margin:5px 7px 0;padding:6px;gap:5px;flex-wrap:wrap}.tba-scene .tba-approval-card strong{font-size:8px}.tba-scene .tba-approval-card p{font-size:6px}.tba-scene .tba-approval-card button{font-size:9px;padding:4px 5px;min-height:24px}.tba-scene .tba-approval-icon{width:13px;height:13px;min-width:13px;font-size:8px}.tba-scene .tba-feedback{font-size:5px;padding:4px 8px 6px;min-height:17px}.tba-scene .tba-desktop-adventure{height:28%;min-height:110px;padding-bottom:31px}.tba-scene .tba-world-hud{left:13px;right:13px;top:8px}.tba-scene .tba-place{font-size:13px}.tba-scene .tba-place small{font-size:5px}.tba-scene .tba-world-rewards{font-size:13px}.tba-scene .tba-world-footer{font-size:5px;padding:2px 5px}.tba-scene .tba-dock{height:37px;padding:4px 6px;gap:6px}.tba-scene .tba-dock-app{height:25px;width:25px}.tba-scene .tba-dock-app img{height:22px;width:22px}.tba-scene .tba-rpg-section-title{font-size:13px}.tba-scene .tba-rpg-section-title>span{font-size:6px}.tba-scene .tba-inventory-grid{gap:4px}.tba-scene .tba-rpg-party-panel .tba-hero-row{padding:7px 3px}.tba-scene .tba-rpg-party-footer{font-size:6px}.tba-scene .tba-section-heading h3{font-size:26px}.tba-scene .tba-scene-bar{height:29px}.tba-scene .tba-eyebrow{font-size:6px}.tba-scene .tba-terminal-compact{font-size:9px;padding:10px}.tba-scene .tba-world-compact{min-height:100px}}
@container (max-width:420px){.tba-scene .tba-menubar{padding:0 9px;gap:8px}.tba-scene .tba-desktop-workspace{grid-template-columns:1fr;padding:10px 10px 0}.tba-scene .tba-control-window{display:none}.tba-scene .tba-project-window{grid-column:1;grid-row:1}.tba-scene .tba-window-bar{height:26px}.tba-scene .tba-editor{height:23%;min-height:52px}.tba-scene .tba-code{font-size:7px}.tba-scene .tba-work-tabs{height:30px;font-size:8px;gap:16px}.tba-scene .tba-mobile-hero-tab{display:flex}.tba-scene .tba-terminal-output{font-size:8px;line-height:1.75;padding:10px 11px}.tba-scene .tba-mobile-approval{background:#382619;color:#d8b17c;border-top:1px solid #754f29;font-family:'JetBrains Mono',monospace;font-size:7px;padding:5px 9px;min-height:34px}.tba-scene .tba-mobile-approval button{border-radius:0;background:linear-gradient(#9e291b,#6e130e);border:1px solid #b47735;color:#ffd28c;font-family:'Pixelify Sans',monospace;font-size:10px;min-height:25px;padding:4px 7px;box-shadow:inset 0 1px #d15d3d}.tba-scene .tba-mobile-approval button:disabled{background:#38412a;color:#c9d59c;border-color:#70834f;box-shadow:none}.tba-scene .tba-mission-form{padding:5px 6px 5px 10px}.tba-scene .tba-mission-form input{font-size:8px;min-height:25px}.tba-scene .tba-desktop-adventure{height:27%;min-height:112px;padding-bottom:30px}.tba-scene .tba-world-hud{left:10px;right:10px;top:7px}.tba-scene .tba-place{font-size:12px}.tba-scene .tba-world-rewards{font-size:12px}.tba-scene .tba-actor-tag{font-size:5px}.tba-scene .tba-dock{height:35px;padding:3px 5px;gap:5px}.tba-scene .tba-dock-app{height:24px;width:24px}.tba-scene .tba-mobile-hero-panel{padding:9px 11px;background:#17181b;min-height:100%}.tba-scene .tba-mobile-hero-panel .tba-hero-equipment{min-height:210px;gap:6px}.tba-scene .tba-mobile-hero-panel .tba-rpg-portrait{width:83px}.tba-scene .tba-mobile-hero-panel .tba-hero-loadout{min-height:89px;max-height:100px;gap:14px}.tba-scene .tba-mobile-hero-panel .tba-rpg-character h3{font-size:29px}.tba-scene .tba-mobile-hero-panel .tba-rpg-character>.tba-eyebrow{font-size:7px}.tba-scene .tba-mobile-hero-panel .tba-rpg-role{font-size:8px}.tba-scene .tba-mobile-hero-panel .tba-rpg-stats dt{font-size:6px}.tba-scene .tba-mobile-hero-panel .tba-rpg-stats dd{font-size:19px}.tba-scene .tba-mobile-hero-panel .tba-rpg-xp{font-size:7px}.tba-scene .tba-mobile-hero-panel .tba-party-selector>button{font-size:11px;height:30px}.tba-scene .tba-mobile-hero-panel .tba-party-selector .tba-sprite{width:16px;height:28px}.tba-scene .tba-world-compact{min-height:115px}.tba-scene .tba-section-heading h3{font-size:27px}}
@media (prefers-reduced-motion:reduce){.tba-scene .tba-world-embers{display:none}.tba-scene .tba-world-zone-5::after{animation:none;opacity:.6}.tba-scene .tba-rpg-xp>i>b{transition:none}}

/* Keep the whole loadout visible at the landing's desktop aspect ratio. */
@container(min-width:1000px){
  .tba-scene .tba-rpg-body{padding:8px 12px 6px}
  .tba-scene .tba-hero-equipment{min-height:0;gap:5px}
  .tba-scene .tba-hero-loadout{min-height:92px;max-height:110px}
  .tba-scene .tba-rpg-portrait{width:100px;min-height:90px}
  .tba-scene .tba-rpg-portrait .tba-sprite{margin-bottom:7px}
  .tba-scene .tba-rpg-character h3{font-size:30px;margin:2px 0}
  .tba-scene .tba-rpg-stats{margin-top:5px;padding-top:4px}
  .tba-scene .tba-rpg-stats dd{font-size:19px}
  .tba-scene .tba-equipment-caption{font-size:11px;padding-bottom:2px}
  .tba-scene .tba-equipment-grid{grid-template-columns:repeat(6,minmax(0,42px));justify-content:space-between}
  .tba-scene .tba-party-selector>button{height:31px;font-size:12px;padding:1px 7px}
}
.tba-scene .tba-scene-demo,.tba-scene .tba-sidebar-sample{color:#b2a58e}
