body{margin:0;background:#0d111a;color:#e8edf8}*{box-sizing:border-box}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,canvas:focus-visible{outline:2px solid #a5eee2;outline-offset:3px}[hidden]{display:none!important}.rift-shell{max-width:1320px;margin:auto;padding:36px 28px 50px}.rift-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:20px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.2em;color:#d7ad78}.rift-title h1{font-size:40px;margin:10px 0}.rift-title h1 span{font-size:12px;color:#8692a9;font-weight:500;letter-spacing:.2em;margin-left:14px}.muted{color:#98a6be;font-size:13px}.badge{font-size:10px;letter-spacing:.1em;border:1px solid #384252;padding:12px;color:#acb6c7}.rift-layout{display:grid;grid-template-columns:minmax(0,1fr) 252px;gap:22px}.arena-panel{border:1px solid #34404f;border-radius:12px;overflow:hidden;background:#131d2b;align-self:start}.hud{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:22px;align-items:center;padding:18px 22px;background:#17202c}.hud small{font-size:9px;color:#8fa1b8;letter-spacing:.1em}.hud strong{display:block;font-size:17px;margin:5px 0}.hud button{background:#253448;border:1px solid #3e4a5d;border-radius:6px;padding:12px}.meter{height:4px;background:#344152}.meter i{display:block;width:100%;height:100%;background:#9ad9bb}.mana i{background:#99a5ef}.arena{position:relative;aspect-ratio:16/9;background:#141820}.arena>#riftCanvas{width:100%;height:100%;display:block;touch-action:none}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#0d1420ec,#0d14208c);padding:22px;text-align:center}.overlay h2{font-size:clamp(23px,3vw,40px);margin:16px 0;color:#fff4df}.overlay p:not(.eyebrow){font-size:13px;line-height:1.9;color:#bdc7d8}.primary{background:#e7bc82;color:#251e1a;border:0;padding:14px 28px;border-radius:5px;font-size:14px;font-weight:800;margin-top:14px}.primary span{margin-left:30px}.skillbar{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:14px}.skillbar button{background:#1c283a;border:1px solid #3b4a60;border-radius:7px;padding:9px 4px;min-height:82px;touch-action:none;user-select:none}.skillbar button:active{background:#384e61}.skillbar kbd{display:block;font:10px monospace;color:#e7c89f}.skillbar b{display:block;font-size:12px;margin:7px 0 4px}.skillbar small{font-size:10px;color:#8cacc3}.skillbar button:disabled{opacity:.45}.status{font-size:11px;color:#a3b3c7;margin:0;padding:10px 18px 15px;border-top:1px solid #28384b}.info-card{background:#141d2a;border:1px solid #2b394d;border-radius:10px;padding:21px;margin-bottom:18px}.info-card h2{font-size:19px;margin:12px 0 23px}.info-card p:not(.eyebrow){font-size:12px;line-height:1.85;color:#a9b8cc}.info-card small{font-size:10px;color:#8f9fb5;line-height:1.8}.stages{list-style:none;padding:0;margin:0}.stages li{display:flex;gap:15px;color:#687a90;padding:17px 0;border-bottom:1px solid #2c3849;font-size:11px}.stages li span{font-size:13px}.stages small{display:block;font-size:10px;margin-top:5px}.stages li.active{color:#f0ce9b}.record{margin-top:24px}.record strong{display:block;font-size:28px;color:#e8ca9e;margin-top:6px}.touch-controls{display:none;text-align:center;padding:0 12px 12px}.touch-controls button{width:48px;height:40px;margin:2px;background:#2a3c50;border:1px solid #4b6278;border-radius:6px;touch-action:none;user-select:none}.touch-controls span{display:block;font-size:10px;color:#9aa9be;margin-top:7px}#upgradeChoices{display:flex;gap:8px;justify-content:center}#upgradeChoices button{border:1px solid #8c7d68;background:#243147;padding:15px 11px;border-radius:5px;font-size:12px}#upgradeChoices b{display:block;color:#e6c491;font-size:11px;margin-top:8px}@media(pointer:coarse){.touch-controls{display:block}}@media(max-width:950px){.rift-layout{grid-template-columns:1fr}.rift-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.badge{display:none}}@media(max-width:560px){.rift-shell{padding:22px 12px}.rift-title h1{font-size:30px}.rift-title h1 span{font-size:9px}.hud{padding:12px;gap:10px}.hud strong{font-size:12px}.hud small{font-size:8px}.rift-layout aside{grid-template-columns:1fr}.skillbar{gap:4px;padding:8px}.skillbar b{font-size:10px}.skillbar small{font-size:9px}.overlay{padding:10px}.overlay h2{font-size:22px;margin:8px}.overlay p:not(.eyebrow){font-size:10px;margin:6px}.primary{padding:10px 18px;margin-top:6px}.eyebrow{font-size:8px}.touch-controls{display:block}#upgradeChoices button{padding:9px 7px;font-size:10px}}
/* Forged brass, polished stone and colour-coded skill glyphs. */
.rift-title{position:relative;padding:4px 0 21px;border-bottom:1px solid #c6a66e21}.rift-title::after{content:"";position:absolute;bottom:-1px;left:0;width:160px;height:1px;background:linear-gradient(90deg,#d0ab72,transparent)}.rift-title h1{letter-spacing:-.055em;color:#f2e5ca;text-shadow:0 3px 24px #dfb27116}.rift-title h1 span{letter-spacing:.24em;color:#af9c80}.badge{border-color:#b59a6b36;background:linear-gradient(135deg,#b99b6a0c,transparent);color:#bda787}.arena-panel{border-color:#8c785945;box-shadow:0 22px 65px #0004,0 0 0 4px #101721,0 0 0 5px #b39c6620;border-radius:8px}.hud{position:relative;background:linear-gradient(115deg,#202a33,#16202b 60%,#222832);border-bottom:1px solid #b79a6440}.hud::before,.hud::after{content:"";position:absolute;bottom:-4px;width:7px;height:7px;transform:rotate(45deg);background:#b69860;z-index:2}.hud::before{left:17px}.hud::after{right:17px}.hud strong{font-variant-numeric:tabular-nums;letter-spacing:.025em}.hud>div:first-child strong{color:#d0f2de}.hud>div:nth-child(2) strong{color:#d6dcff}.hud>div:nth-child(3) strong{color:#f3d2a1}.meter{height:7px;padding:1px;border:1px solid #b4caad33;background:#060b1280;box-shadow:0 1px 0 #ffffff09}.meter i{background:linear-gradient(90deg,#438c78,#9bd7a4);box-shadow:0 0 9px #8edab326}.mana i{background:linear-gradient(90deg,#5d66b1,#b3b6fa);box-shadow:0 0 9px #a0a9f52b}.arena::after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #e8d0a318;z-index:1}.overlay{background:radial-gradient(ellipse at center,#0c1521b8,#080d16df);color:#e1c492}.overlay>div{max-width:520px}.oath-sigil{width:64px;height:64px;margin:0 auto 9px;color:#dfc08b;filter:drop-shadow(0 0 15px #e3ba4a30)}.oath-sigil svg{display:block;width:100%;height:100%}.overlay .eyebrow{font-size:9px;color:#c8ad7e}.overlay h2{font-weight:800;letter-spacing:-.035em;text-shadow:0 3px 25px #dfb27125}.overlay p:not(.eyebrow){max-width:440px;margin:0 auto 10px;color:#b5c0cd}.primary{position:relative;background:linear-gradient(135deg,#efd3a3,#b89761);border:1px solid #efd9b0;box-shadow:inset 0 0 0 3px #b28d552e,0 5px 24px #0005;color:#282018;border-radius:3px;transition:filter .15s}.primary:hover{filter:brightness(1.13)}.skillbar{background:linear-gradient(#17212c,#101925);gap:9px;padding:16px}.skillbar button{--skill:#d8bb85;position:relative;border-color:#a38c5f40;background:radial-gradient(ellipse at 50% 30%,#b89b5916,transparent 70%),linear-gradient(150deg,#25313e,#15202e);padding:11px 5px 10px;min-height:113px;box-shadow:inset 0 0 0 3px #0c15204d;border-radius:5px;color:#e3e9ef;transition:border-color .15s,background .15s}.skillbar button[data-action=skill]{--skill:#91d9d4}.skillbar button[data-action=burst]{--skill:#c4abef}.skillbar button[data-action=dash]{--skill:#a4c4e3}.skillbar button[data-action=potion]{--skill:#b7d5a1}.skill-icon{width:34px;height:34px;display:block;margin:2px auto 8px;color:var(--skill);filter:drop-shadow(0 0 6px #d4c69424)}.skillbar button kbd{position:absolute;right:6px;top:5px;padding:1px 4px;font-size:8px;line-height:12px;border:1px solid #a8b1bf22;border-radius:2px;background:#0f1824b0;color:#a9b6c8}.skillbar b{margin:2px 0 4px;font-size:12px;font-weight:650}.skillbar small{color:#8e9eb1}.skillbar button:hover:not(:disabled){border-color:var(--skill);background:linear-gradient(150deg,#314154,#1e2b3c)}.skillbar button:disabled{opacity:.48;filter:saturate(.5)}.info-card{background:linear-gradient(135deg,#1b2531,#131c28);border-color:#a58b602b}.stages li.active{background:linear-gradient(90deg,#ba9c5913,transparent);box-shadow:-2px 0 #c7a770;padding-left:10px}.record{padding-top:14px;border-top:1px solid #a58b6020}.record strong{text-shadow:0 0 22px #cfa45e24}#upgradeChoices button{background:linear-gradient(150deg,#293444,#172331);border-color:#c0a36c80;box-shadow:inset 0 0 0 3px #0a14223b;min-width:112px}#upgradeChoices button:hover{border-color:#f0d19e;background:#354255}#upgradeChoices button::before{content:"◇";display:block;font-size:21px;color:#d8bb85;margin-bottom:7px}#upgradeChoices button[data-upgrade=vital]::before{color:#add8c6}#upgradeChoices button[data-upgrade=mana]::before{color:#c1b0ef}.touch-controls button{border-color:#8194ad55;background:linear-gradient(135deg,#344459,#223246);box-shadow:inset 0 0 0 3px #16233555}.touch-controls button:active{background:#47627b}
@media(max-width:560px){.rift-title{padding-bottom:12px}.rift-title h1 span{margin-left:10px}.hud::before,.hud::after{width:5px;height:5px;bottom:-3px}.meter{height:6px}.oath-sigil{width:30px;height:30px;margin-bottom:2px}.overlay .eyebrow{font-size:6px;letter-spacing:.15em;margin:5px 0}.overlay h2{margin:5px 0;font-size:20px}.overlay p:not(.eyebrow){font-size:9px;line-height:1.6;max-width:300px;margin-bottom:6px}.overlay .primary{font-size:11px;padding:8px 18px}.skillbar{gap:5px;padding:10px 7px}.skillbar button{min-height:95px;padding:13px 2px 8px}.skill-icon{width:27px;height:27px;margin:3px auto 7px}.skillbar b{font-size:10px}.skillbar button kbd{font-size:6px;line-height:9px;right:4px;top:3px;padding:0 2px}.skillbar small{font-size:8px}#upgradeChoices{gap:5px}#upgradeChoices button{min-width:0;padding:7px;font-size:9px}#upgradeChoices button::before{font-size:14px;margin-bottom:3px}#upgradeChoices b{font-size:8px;margin-top:4px}}
/* Class selection and progression share the same forged frame language. */
.hud .xp-track{grid-column:1/-1;margin-top:-8px}.xp-track>small{display:flex;justify-content:space-between;margin-bottom:6px;font-size:8px;letter-spacing:.14em}.xp-track span{color:#c4b18b;font-variant-numeric:tabular-nums}.meter.xp{height:4px;border:0;padding:0}.meter.xp i{background:linear-gradient(90deg,#8d724f,#e1c795);box-shadow:0 0 7px #d6b67d30}.skillbar{grid-template-columns:repeat(6,minmax(0,1fr))}.skillbar button[data-action=ultimate]{--skill:#efbf79}.class-choices{display:flex;justify-content:center;gap:8px;margin:16px auto 2px}.class-choices button{position:relative;display:grid;grid-template-columns:24px 1fr;column-gap:9px;align-items:center;text-align:left;min-width:128px;border:1px solid #8d9eb042;border-radius:4px;padding:12px 13px;background:linear-gradient(135deg,#24303d,#151e2b);color:#c0cbd8;box-shadow:inset 0 0 0 3px #0d152340}.class-choices button:hover{border-color:#c4b293}.class-choices button[aria-pressed=true],.class-choices button.selected{border-color:#d3b27a;background:linear-gradient(135deg,#4d4533,#242631);box-shadow:inset 0 0 0 3px #d4b7820e,0 0 18px #cba76f12;color:#f2dab2}.class-choices b{font-size:12px;line-height:1.7}.class-choices small{grid-column:2;font-size:9px;color:#92a3b6;white-space:nowrap}.class-mark{grid-row:1/3;color:#d3b27a;font-family:Georgia,serif;font-size:25px}.class-choices button[data-class=mage] .class-mark{color:#c4b1ed}.class-choices button[data-class=brawler] .class-mark{color:#d6a189}.class-choices~.primary{margin-top:14px}.tree-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.tree-heading h2{margin-bottom:10px}.point-chip{display:inline-flex;align-items:center;gap:5px;font-size:9px;background:#c4a47013;border:1px solid #ba9a603b;padding:8px;border-radius:4px;color:#c4a878}.point-chip b{font-size:18px;color:#efcf96}.info-card .tree-hint{font-size:10px;margin:0 0 14px;color:#8496ae}.skill-tree{display:grid;gap:7px}.skill-tree button{display:flex;gap:10px;align-items:center;text-align:left;background:linear-gradient(100deg,#263141,#1a2534);border:1px solid #8f9cb42b;border-radius:5px;color:#d2dbe5;padding:10px;min-height:58px;position:relative}.skill-tree button::after{content:"+";font-size:17px;color:#d9bb85;position:absolute;right:11px;top:12px}.skill-tree .node-mark{display:grid;place-items:center;border:1px solid #a68c5e54;width:29px;height:29px;flex-shrink:0;transform:rotate(-5deg);font-family:Georgia,serif;color:#d0b788;background:#0c17254d}.skill-tree b{display:block;font-size:11px;padding-right:14px}.skill-tree small{display:block;font-size:9px;margin-top:2px;line-height:1.4}.skill-tree button:hover:not(:disabled){border-color:#c2a16e;background:#2c3a4d}.skill-tree button:disabled{opacity:.47;cursor:default}.skill-tree button[data-node=mastery]{margin-top:7px;border-color:#bca3784f}.skill-tree button[data-node=mastery] .node-mark{color:#eed299;border-color:#c1a274}.skill-tree button.unlocked{border-color:#8ac2ae70}.skill-tree button.unlocked::after{content:"✓";color:#a1d5be}
@media(min-width:561px) and (max-width:1100px){.overlay .oath-sigil{width:42px;height:42px;margin:0 auto 3px}.overlay h2{font-size:28px;margin:8px 0}.overlay p:not(.eyebrow){font-size:11px}.class-choices{margin-top:10px}.class-choices button{padding:8px 10px;min-width:120px}}
@media(max-width:560px){.hud .xp-track{margin-top:-3px}.xp-track>small{font-size:6px;margin-bottom:4px}.meter.xp{height:3px}.skillbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.skillbar button{min-height:80px;padding:9px 4px 7px}.skill-icon{width:25px;height:25px;margin:2px auto 4px}.skillbar b{font-size:10px}.skillbar button kbd{font-size:7px}.overlay .oath-sigil{display:none}.overlay h2{font-size:18px}.overlay p:not(.eyebrow){max-width:310px;font-size:8px;line-height:1.5}.class-choices{gap:5px;margin:7px auto 0}.class-choices button{min-width:0;padding:6px 7px;grid-template-columns:16px 1fr;column-gap:5px}.class-choices b{font-size:9px}.class-choices small{font-size:7px}.class-mark{font-size:18px}.class-choices~.primary{margin-top:7px}.overlay .primary{padding:7px 17px}.skill-tree{grid-template-columns:1fr 1fr}.skill-tree button[data-node=mastery]{margin-top:0}.skill-tree button{padding:8px;gap:7px}.skill-tree .node-mark{width:24px;height:25px}.skill-tree b{font-size:10px}.skill-tree small{font-size:8px}.skill-tree button::after{right:7px;top:9px}}
.hud .tree-open{display:block;border:0;background:transparent;color:#cdb58b;font-size:9px;padding:3px 0 0;text-align:left;min-height:18px;white-space:nowrap}.tree-open kbd{font-family:inherit;font-size:8px;border:1px solid #bba47542;padding:0 3px;margin-left:4px;border-radius:2px}.hud .tree-open:disabled{opacity:.4;cursor:default}.info-card .tree-notice{font-size:11px;line-height:1.7;padding:10px;background:#d4b87c10;border:1px solid #caae7440;color:#e3cfa8;margin:0 0 12px}.tree-close{width:100%;padding:11px 9px;font-size:11px;font-weight:650;color:#f0d4a6;border:1px solid #b99b6550;border-radius:4px;background:linear-gradient(135deg,#4b4536,#283039);margin-top:12px}.tree-close:hover{border-color:#d5ba87}.skill-tree-card:has(#closeTreeBtn:not([hidden])){border-color:#cbb17b;box-shadow:0 0 0 3px #bba16b13,0 0 35px #bba16b0c}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-heading h2{color:#f0d4a6}@media(max-width:560px){.hud .tree-open{font-size:7px;padding-top:0;min-height:14px}.tree-open kbd{font-size:6px}.skill-tree-card:has(#closeTreeBtn:not([hidden])){scroll-margin-top:120px}}
/* Six silhouettes, seven actions and branching class mastery. */
.class-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,480px);gap:7px}.class-choices button{min-width:0;grid-template-columns:34px 1fr;padding:9px 10px;min-height:62px}.class-mark{width:34px;height:34px;display:block}.class-mark svg{display:block;width:100%;height:100%}.class-choices button[data-class=archer] .class-mark{color:#b0d4ad}.class-choices button[data-class=assassin] .class-mark{color:#bcacde}.class-choices button[data-class=paladin] .class-mark{color:#edcd87}.class-detail{grid-column:1/-1;text-align:center;font-size:10px;line-height:1.7;color:#d5c7ad;padding:8px 12px;background:#0a111c90;border:1px solid #a8905a22;border-radius:3px;min-height:35px}.overlay{overflow-y:auto;overscroll-behavior:contain}.overlay:has(#classChoices:not([hidden])){padding:16px}.overlay:has(#classChoices:not([hidden])) .oath-sigil{display:none}.overlay:has(#classChoices:not([hidden])) h2{font-size:30px;margin:8px 0}.overlay:has(#classChoices:not([hidden])) p:not(.eyebrow){font-size:11px;line-height:1.7}.overlay:has(#classChoices:not([hidden])) .class-choices{margin-top:13px}.overlay:has(#classChoices:not([hidden]))>.primary{margin-top:9px}.skillbar{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:14px 10px}.skillbar button[data-action=special]{--skill:#e3a5b0}.skillbar b{font-size:11px}.skillbar small{font-size:9px}.level-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;border-top:1px solid #c5aa694d;border-bottom:1px solid #c5aa6936;background:linear-gradient(90deg,#4b4028,#27333b);padding:11px 16px;color:#f2d6a2;font-size:12px;text-align:left;box-shadow:inset 0 1px #e4c17a15}.level-notice span{font-size:10px;color:#d4e6dd;white-space:nowrap}.level-notice:hover{background:linear-gradient(90deg,#5a4c30,#34454b)}.growth-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 0 16px;font-size:10px;line-height:1.8;color:#b8c6d5}.growth-summary:empty{display:none}.growth-summary>div,.growth-summary>span{background:#0a142452;border:1px solid #a7b9cc15;border-radius:3px;padding:6px 8px}.growth-summary b,.growth-summary strong{color:#e6cfaa;font-size:12px;display:block}.branch-title{font-size:11px;color:#d8c199;font-weight:650;margin:18px 0 10px;padding-top:14px;border-top:1px solid #bd9f6633;letter-spacing:.05em}.branch-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.branch-path{display:flex;flex-direction:column;gap:17px;position:relative;min-width:0}.branch-path>h4,.branch-path>h3,.branch-path>.path-label{font-size:9px;text-align:center;color:#b5a080;margin:0;line-height:1.6;font-weight:500}.branch-node{position:relative;min-width:0;width:100%;border:1px solid #b49a6552;background:linear-gradient(155deg,#2b3545,#192435);color:#e2e4e9;border-radius:4px;min-height:85px;padding:9px 4px;text-align:center;box-shadow:inset 0 0 0 2px #0d16232b}.branch-node+.branch-node::before{content:"";position:absolute;left:50%;bottom:calc(100% + 1px);width:1px;height:16px;background:linear-gradient(#8c784e,#c1a36f)}.branch-node+.branch-node::after{content:"";position:absolute;width:4px;height:4px;left:calc(50% - 1.5px);bottom:calc(100% + 6px);background:#c7a97a;transform:rotate(45deg)}.branch-node b{display:block;font-size:10px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}.branch-node small{display:block;color:#9bacc1;font-size:8px;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}.branch-node:hover:not(:disabled){border-color:#e4c893;background:linear-gradient(155deg,#3c475a,#253246)}.branch-node:disabled{opacity:.4;cursor:default}.branch-node.unlocked,.branch-node.learned,.branch-node[data-learned=true]{border-color:#92cbb5;background:linear-gradient(155deg,#30483f,#1c2f35);opacity:1}.branch-node.unlocked small,.branch-node.learned small{color:#b6d1c2}.level-rewards{padding:12px 9px;margin-bottom:16px;background:radial-gradient(ellipse at top,#b58d3920,transparent),#101c2b;border:1px solid #d1ae6961;border-radius:5px}.reward-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#f0d09b;font-size:12px}.reward-heading>span{display:grid;place-items:center;min-width:23px;height:23px;background:#d6b576;color:#201c16;border-radius:50%;font-size:11px;font-weight:750}.level-rewards>p{font-size:9px!important;line-height:1.6!important;margin:7px 0 10px!important;color:#adbdcb!important}.level-rewards>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.level-rewards button{border:1px solid #b79b624f;background:#293445;border-radius:3px;padding:8px 3px;color:#ddd4c3}.level-rewards button b{display:block;font-size:10px}.level-rewards button small{display:block;font-size:7px;line-height:1.6;color:#b8aa90;margin-top:5px}.level-rewards button:hover{border-color:#edd3a3;background:#3b4655}
@media(min-width:561px) and (max-width:1100px){.overlay:has(#classChoices:not([hidden])){padding:10px}.overlay:has(#classChoices:not([hidden])) h2{font-size:25px}.overlay:has(#classChoices:not([hidden])) .eyebrow{margin:5px 0}.class-choices{max-width:440px;gap:6px}.class-choices button{min-width:0;padding:7px;min-height:52px;grid-template-columns:27px 1fr;column-gap:6px}.class-mark{width:27px;height:27px}.class-detail{font-size:9px;padding:5px 8px;min-height:27px}.class-choices~.primary{margin-top:8px;padding:10px 20px}}
@media(max-width:560px){.arena:has(#classChoices:not([hidden])){min-height:350px;aspect-ratio:auto}.arena:has(#classChoices:not([hidden]))>#riftCanvas{position:absolute;inset:0;object-fit:cover}.overlay:has(#classChoices:not([hidden])){padding:15px 10px;place-items:center}.overlay:has(#classChoices:not([hidden]))>div{width:100%;max-width:380px}.overlay:has(#classChoices:not([hidden])) h2{font-size:23px;margin:7px 0}.overlay:has(#classChoices:not([hidden])) .eyebrow{font-size:7px;margin:5px 0}.overlay:has(#classChoices:not([hidden])) p:not(.eyebrow){font-size:9px;line-height:1.6;max-width:300px}.class-choices{gap:6px}.class-choices button{min-height:61px;padding:7px 5px;grid-template-columns:24px 1fr;column-gap:5px}.class-mark{width:24px;height:28px}.class-choices b{font-size:10px}.class-choices small{font-size:7px;white-space:normal;line-height:1.5}.class-detail{font-size:9px;padding:7px 9px;min-height:32px}.class-choices~.primary{margin-top:10px;font-size:12px;padding:10px 25px}.skillbar{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:9px 7px}.skillbar button{min-height:83px}.skillbar b{font-size:9px}.skillbar small{font-size:7px}.level-notice{padding:10px;font-size:10px;gap:7px}.level-notice span{font-size:8px}.branch-tree{gap:9px}.branch-node{min-height:79px;padding:10px 6px}.branch-node b{font-size:11px}.branch-node small{font-size:9px}.branch-path>h4,.branch-path>h3,.branch-path>.path-label{font-size:10px}.level-rewards{padding:13px}.level-rewards button{padding:10px 5px}.level-rewards button small{font-size:9px}.growth-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Readable two-tier paths inside the compact sidebar. */
.growth-summary{display:block;line-height:1.9}.branch-tree{grid-template-columns:1fr;gap:14px}.branch-path{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.branch-node{min-height:110px;padding:10px 7px}.branch-node b{font-size:11px}.branch-node small{font-size:10px}.branch-node em{display:block;font-style:normal;font-size:9px;line-height:1.6;color:#d1bb92;margin-top:8px;overflow-wrap:anywhere}.branch-node+.branch-node::before{left:auto;right:calc(100% + 1px);bottom:50%;width:17px;height:1px;background:#a98e62}.branch-node+.branch-node::after{left:auto;right:calc(100% + 7px);bottom:calc(50% - 2px)}.branch-node:disabled{opacity:.6}.branch-node.learned:disabled{opacity:1}
/* Advanced identity, specialization and per-skill mastery. */
.selected-hero{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:14px;min-height:82px;padding:5px 16px;background:radial-gradient(ellipse at 25% 60%,#a5d4cb15,transparent 55%),linear-gradient(100deg,#0b1523,#121d2b);border:1px solid #bd9d632b;border-radius:4px;text-align:left}.selected-hero canvas{width:62px;height:70px;display:block;flex-shrink:0;filter:drop-shadow(0 0 9px #bdded317)}.selected-hero .class-detail{padding:0;min-height:0;border:0;background:none;text-align:left;line-height:1.9;font-size:10px;max-width:310px}.skillbar{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.skillbar button[data-action=awakening]{--skill:#f1d5a2}.skillbar b{font-size:10px}.skillbar small{font-size:8px}.hero-identity{font-size:13px;font-weight:700;color:#edcfa4;padding:10px 0 13px;margin-top:-9px;border-bottom:1px solid #aa916033;line-height:1.6}.growth-roadmap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px 0 18px;margin:0;list-style:none;border-bottom:1px solid #aa916026}.growth-roadmap li{font-size:8px;line-height:1.8;color:#9cabc0;display:flex;gap:5px;white-space:nowrap}.growth-roadmap b{font-size:8px;color:#c6ad81;font-weight:650}.specialization-panel{margin-top:17px;padding:12px 10px;background:radial-gradient(ellipse at 50% 0,#b4925121,transparent 75%),#111d2c;border:1px solid #ba9a5d5c;border-radius:5px}.specialization-heading{display:flex;justify-content:space-between;align-items:center;gap:7px}.specialization-heading h3{font-size:12px;color:#e6cda2;margin:0;font-weight:650}.specialization-heading>span{font-size:8px;color:#c3a574;border:1px solid #c3a57440;border-radius:3px;padding:3px 5px;white-space:nowrap}.info-card .specialization-status{font-size:10px;color:#a4b4c7;line-height:1.7;margin:8px 0 11px}.specialization-choices{display:grid;grid-template-columns:1fr 1fr;gap:6px}.specialization-choices:empty{display:none}.specialization-choices button{min-width:0;position:relative;text-align:center;padding:12px 5px 10px;color:#d5dbe4;background:linear-gradient(150deg,#354252,#1c293b);border:1px solid #b49a6573;border-radius:4px;line-height:1.6;font-size:11px}.specialization-choices button::before{content:"✦";display:block;font-size:19px;color:#e3c68e;margin-bottom:6px}.specialization-choices button b{display:block;font-size:11px;color:#f0d7ae}.specialization-choices button small{display:block;font-size:8px;color:#9eadbf;margin-top:5px;line-height:1.6}.specialization-choices button:hover:not(:disabled){border-color:#f1d69b;background:#3b485a}.specialization-choices button:disabled{opacity:.45;cursor:default}.specialization-choices button.selected,.specialization-choices button[aria-pressed=true]{opacity:1;border-color:#e9c891;background:linear-gradient(150deg,#544936,#283441);box-shadow:inset 0 0 0 2px #d6b37c10}.skill-rank-tree{display:grid;gap:6px}.skill-rank-node{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:7px;position:relative;padding:10px;border:1px solid #91a6bd33;border-radius:4px;background:linear-gradient(100deg,#263447,#182637);color:#d6e0ea;text-align:left;min-height:54px}.skill-rank-node b{display:block;font-size:11px;font-weight:650;line-height:1.6}.skill-rank-node small{grid-column:1;display:block;font-size:9px;color:#99adc4;line-height:1.6;margin-top:3px}.skill-rank-node em{grid-column:2;grid-row:1/3;align-self:center;display:block;font-size:9px;font-style:normal;line-height:1.7;color:#e9cb98;border:1px solid #b79c6540;border-radius:3px;padding:4px 6px;background:#0f1a2a66;white-space:nowrap}.skill-rank-node:hover:not(:disabled){border-color:#bfa36f;background:#304158}.skill-rank-node:disabled{opacity:.45;cursor:default}.skill-rank-node.maxed,.skill-rank-node.learned{border-color:#9fc3b06b}.skill-rank-node.maxed em{color:#b2dccb;border-color:#7fba9b50}
@media(min-width:561px) and (max-width:1100px){.selected-hero{gap:9px;min-height:65px;padding:3px 12px}.selected-hero canvas{width:50px;height:56px}.selected-hero .class-detail{font-size:9px}.overlay:has(#classChoices:not([hidden])) h2{font-size:23px;margin:5px 0}.overlay:has(#classChoices:not([hidden])) .class-choices{margin-top:8px}.class-choices~.primary{padding:8px 19px}.overlay:has(#classChoices:not([hidden])){align-items:start}}
@media(max-width:560px){.arena:has(#classChoices:not([hidden])){min-height:420px}.selected-hero{gap:10px;min-height:78px;padding:5px 11px}.selected-hero canvas{width:58px;height:65px}.selected-hero .class-detail{font-size:9px;line-height:1.8}.skillbar{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.skillbar b{font-size:9px}.skillbar small{font-size:7px}.hero-identity{font-size:14px}.growth-roadmap{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.growth-roadmap li{display:block;text-align:center;font-size:8px}.growth-roadmap b{display:block;font-size:9px}.specialization-panel{padding:14px}.specialization-choices{gap:9px}.specialization-choices button{padding:12px 8px}.specialization-choices button b{font-size:12px}.specialization-choices button small{font-size:9px}.skill-rank-tree{grid-template-columns:1fr 1fr;gap:7px}.skill-rank-node{display:block;padding:9px;min-height:97px}.skill-rank-node b{font-size:10px}.skill-rank-node small{font-size:8px}.skill-rank-node em{display:inline-block;font-size:8px;padding:2px 5px;margin-top:7px}}
/* Opening the tree turns the compact sidebar into a full mastery workbench. */
.skill-tree-card:has(#closeTreeBtn:not([hidden])){position:fixed;z-index:1100;top:100px;left:50%;transform:translateX(-50%);width:min(960px,calc(100% - 24px));max-height:calc(100dvh - 124px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a78e62 #172332;margin:0;padding:26px 30px 0;border:1px solid #bfa574;border-radius:10px;background:radial-gradient(ellipse at top left,#51462d21,transparent 60%),#14202e;box-shadow:0 0 0 100vmax #030914d9,0 25px 100px #000b;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 22px;isolation:isolate}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-heading,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-hint,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-notice,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .growth-summary,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-title,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-tree,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-tree,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-tree,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-close{grid-column:1/-1}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-heading h2{font-size:27px;margin:9px 0 11px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-heading .eyebrow{font-size:9px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .point-chip{padding:11px 17px;font-size:11px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .point-chip b{font-size:24px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-hint{font-size:12px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .growth-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:17px;font-size:12px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .growth-summary b,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .growth-summary strong{font-size:16px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .level-rewards,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-panel{margin:0;padding:17px;align-self:start}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .level-rewards[hidden]+.specialization-panel{grid-column:1/-1}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-heading h3{font-size:15px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-choices button b{font-size:13px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-choices button small{font-size:11px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-title{font-size:13px;margin:21px 0 13px;padding-top:19px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-tree{gap:15px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-path{gap:18px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-path>h3,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-path>h4,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-path>.path-label{font-size:12px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-node{min-height:82px;padding:13px 12px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-node b{font-size:13px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-node small{font-size:11px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-tree{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-node{display:block;padding:13px 10px;min-height:117px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-node b{font-size:12px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-node small{font-size:10px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-node em{display:inline-block;font-size:10px;margin-top:8px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-tree{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-tree button[data-node=mastery]{margin-top:0}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-tree button{padding:12px 10px;min-height:70px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-tree b{font-size:11px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-tree small{font-size:9px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-close{position:sticky;bottom:0;z-index:3;margin:22px -30px 0;width:calc(100% + 60px);border:0;border-top:1px solid #c8ab754d;border-radius:0;min-height:56px;background:linear-gradient(100deg,#554833,#273745);box-shadow:0 -10px 24px #0b172bd9;color:#f5dcaf;font-size:13px;padding:15px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-close:hover{background:linear-gradient(100deg,#67573b,#36485c)}
@media(max-width:700px){.skill-tree-card:has(#closeTreeBtn:not([hidden])){top:16px;width:calc(100% - 20px);max-height:calc(100dvh - 32px);padding:18px 16px 0;display:block;border-radius:8px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-heading h2{font-size:23px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .point-chip{padding:7px 11px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-hint{font-size:10px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .growth-summary{grid-template-columns:repeat(3,minmax(0,1fr));font-size:10px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .growth-summary b,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .growth-summary strong{font-size:13px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .level-rewards,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-panel{margin:14px 0 0;padding:13px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-heading h3{font-size:13px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-choices button b{font-size:11px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .specialization-choices button small{font-size:9px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-tree{gap:7px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-node{min-height:90px;padding:10px 5px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-node b{font-size:10px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-node small{font-size:8px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-path>h3,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-path>h4,.skill-tree-card:has(#closeTreeBtn:not([hidden])) .branch-path>.path-label{font-size:9px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-tree{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-node{min-height:104px;padding:10px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-node b{font-size:11px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-rank-node small{font-size:9px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-tree{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .skill-tree button{padding:9px 7px}.skill-tree-card:has(#closeTreeBtn:not([hidden])) .tree-close{margin:20px -16px 0;width:calc(100% + 32px);min-height:54px;font-size:12px}}

.skill-tree-card:not(.tree-is-open) :is(#specializationPanel,#branchTree,#skillRankTree,#skillTree,.branch-title){display:none}.tree-quick-open{width:100%;padding:12px;border:1px solid #a88a55;background:linear-gradient(120deg,#57472f,#263749);border-radius:4px;color:#f4dab1;font-size:12px}.tree-quick-open:disabled{opacity:.45;cursor:default}.tree-is-open .tree-quick-open{display:none}

/* Six regions and the relics collected along the expedition. */
.expedition-progress{margin:16px 0 4px;padding:13px;border:1px solid #b99c6440;border-radius:5px;background:linear-gradient(120deg,#30392e55,#101c2c)}.expedition-progress>b{font-size:12px;letter-spacing:.05em;color:#e8ce9e}.info-card .expedition-progress p{font-size:11px;line-height:1.7;margin:7px 0 0;color:#b7c5ce}.stages li{padding-top:12px;padding-bottom:12px}.stages li>b{font-size:11px;font-weight:600;min-width:24px}.stages li.cleared{opacity:.62}.stages li.cleared>b{font-size:0}.stages li.cleared>b::after{content:'✓';font-size:13px;color:#a8dac1}.relic-vault{border-top:1px solid #baa16a30;margin-top:15px;padding-top:15px}.relic-vault h3{font-size:13px;color:#e6cca1;margin:0 0 10px}.relic-vault h3 span{display:block;font-size:9px;font-weight:400;color:#91a4bc;margin-top:4px}.info-card .relic-vault p{font-size:11px;line-height:1.7;color:#90a4b9}.relic-vault ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}.relic-vault li{position:relative;padding:10px 10px 10px 29px;border:1px solid #b79c6338;background:linear-gradient(110deg,#44392930,#14202f);border-radius:4px}.relic-vault li::before{content:'◇';position:absolute;left:10px;top:10px;color:#dfc088}.relic-vault li b{font-size:11px;display:block;color:#e5c997}.relic-vault li small{display:block;font-size:9px;line-height:1.7;margin-top:4px;color:#aab9ca}#upgradeChoices{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}#upgradeChoices:not([hidden]){display:grid}#upgradeChoices button{min-width:0;min-height:118px;padding:15px 10px}#upgradeChoices strong{display:block;font-size:13px;color:#f0d5a6}#upgradeChoices small{display:block;line-height:1.8;font-size:11px;color:#bccbd7;margin-top:9px}.overlay:has(#upgradeChoices:not([hidden]))>div{width:100%;max-width:600px}
@media(max-width:560px){.arena:has(#upgradeChoices:not([hidden])){min-height:340px;aspect-ratio:auto}.arena:has(#upgradeChoices:not([hidden]))>#riftCanvas{position:absolute;inset:0;object-fit:cover}.overlay:has(#upgradeChoices:not([hidden])){padding:16px 12px}.overlay:has(#upgradeChoices:not([hidden])) h2{font-size:22px}.overlay:has(#upgradeChoices:not([hidden])) p:not(.eyebrow){font-size:11px;line-height:1.7;margin:9px auto 14px}#upgradeChoices button{padding:13px 5px;min-height:123px}#upgradeChoices strong{font-size:11px}#upgradeChoices small{font-size:10px;line-height:1.6}#upgradeChoices button::before{font-size:21px;margin-bottom:8px}.expedition-progress>b{font-size:13px}.relic-vault li b{font-size:12px}.relic-vault li small{font-size:11px}}

/* Expedition controls, camp economy and readable run feedback. */
.combat-guide summary{cursor:pointer;font-size:15px;font-weight:650;color:#ddc89e}.combat-guide details[open] summary{margin-bottom:17px}.combat-guide p{font-size:12px!important;line-height:1.85!important}
.passive-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;padding:10px 15px 13px;background:linear-gradient(110deg,#1f2e35,#172130);border-bottom:1px solid #93bbad2b}.passive-strip b{display:block;font-size:11px;color:#bedbcf}.passive-strip small{display:block;font-size:9px;line-height:1.7;color:#91a8bc;margin-top:3px}.passive-strip>span{font-size:10px;white-space:nowrap;color:#a6b6cc}.passive-strip>span.ready{color:#e8c991}.passive-meter{position:absolute;left:15px;right:15px;bottom:4px;height:2px;background:#0c1721}.passive-meter i{display:block;height:100%;background:#a2cdb4;width:0}.loadout-card{border:1px solid #bca6773b;background:#272d342f;padding:12px;border-radius:5px;margin-top:17px}.loadout-card>b{display:block;font-size:11px;color:#dec99f}.loadout-card>small{display:block;font-size:9px;line-height:1.7;color:#98b1c3;margin-top:5px}.loadout-card #companionName{margin-top:12px;color:#b4dcce}.camp-tabs:not([hidden]){display:flex;gap:5px;margin:14px 0 12px;padding:4px;border:1px solid #b89e6545;border-radius:5px;background:#111b29}.camp-tabs button{flex:1;border:1px solid transparent;background:none;color:#9fb4c7;font-size:12px;padding:9px 4px;border-radius:3px}.camp-tabs button[aria-pressed=true]{color:#eed6a6;background:linear-gradient(130deg,#514533,#273843);border-color:#c3aa7370}.frontier-camp-panel h3{font-size:13px;color:#ead4ad;text-align:left;margin:16px 0 10px}.frontier-camp-panel h3 small{font-size:9px;color:#93aaba;font-weight:400;margin-left:7px}.camp-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.camp-card-grid.routes{grid-template-columns:repeat(2,minmax(0,1fr))}.camp-card-grid button{min-width:0;min-height:101px;padding:13px 9px;border-radius:4px;border:1px solid #a6b5c24d;background:linear-gradient(145deg,#293645,#152231);color:#dfd0b4;text-align:left}.camp-card-grid button:disabled{opacity:.48;cursor:default}.camp-card-grid button:hover:not(:disabled),.camp-card-grid button[aria-pressed=true]{border-color:#e2bf83;background:linear-gradient(145deg,#514533,#243545)}.camp-card-grid b{display:block;font-size:12px;line-height:1.6}.camp-card-grid small{display:block;font-size:10px;color:#9bb4c8;line-height:1.7;margin-top:5px}.camp-card-grid em{display:block;font-size:10px;font-style:normal;color:#d5bd91;margin-top:8px}.overlay .frontier-camp-panel>p{font-size:10px;margin:15px 0 0;color:#92abba}.arena:has(#campTabs:not([hidden])){min-height:620px;aspect-ratio:auto}.arena:has(#campTabs:not([hidden]))>#riftCanvas{position:absolute;inset:0;object-fit:cover}.overlay:has(#campTabs:not([hidden])){padding:22px}.overlay:has(#campTabs:not([hidden]))>div{width:100%;max-width:620px}.practice-bar:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:11px 14px;background:#20443e;border-bottom:1px solid #98d2ba4a;color:#c4e6d7}.practice-bar>b{font-size:11px;margin-right:auto}.practice-bar label{font-size:10px}.practice-bar select,.practice-bar button{background:#132f31;border:1px solid #92c3b562;color:#d2e8db;border-radius:3px;padding:7px;font-size:10px}.journal-panel{margin-top:25px;background:linear-gradient(130deg,#1c2a36,#131e2d);border:1px solid #b89d6440;border-radius:7px;color:#bbccda}.journal-panel>summary{cursor:pointer;padding:19px 22px;font-size:14px;font-weight:650;color:#ddc99f}.journal-panel>summary span{font-size:10px;color:#91aabc;font-weight:400;margin-left:16px}.journal-content{padding:0 22px 22px}.journal-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.journal-totals>div{border:1px solid #9cb4c332;background:#111e2e;padding:13px;border-radius:4px}.journal-totals b{display:block;font-size:22px;color:#d2e5d8}.journal-totals small{font-size:10px;color:#91aabd}.journal-content h3{font-size:13px;color:#d7c399;margin:22px 0 12px}.journal-codex{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.journal-codex section{padding:13px;background:#162334;border:1px solid #aabed42b;border-radius:4px}.journal-codex h4{font-size:11px;color:#a6bfce;margin:0 0 8px}.journal-codex section>div{display:flex;flex-wrap:wrap;gap:5px}.journal-codex span{padding:5px 8px;border:1px solid #aac8ad40;border-radius:3px;font-size:10px;background:#30453b55;color:#bfd9bf}.journal-codex .undiscovered{background:#101d2b;color:#576d83;border-color:#71859d33}.journal-runs{margin:0;padding:0;list-style:none}.journal-runs li{padding:11px 0;border-top:1px solid #819bb329;font-size:11px;color:#91a7bb}.journal-runs b{display:block;color:#ccdbc9;font-size:12px}.journal-runs small{display:block;margin-top:5px;font-size:10px}
@media(max-width:560px){.passive-strip{padding:10px 9px 13px}.passive-strip b{font-size:10px}.passive-strip small{font-size:8px;line-height:1.6}.passive-strip>span{font-size:9px}.camp-tabs{margin:12px 0 9px}.camp-tabs button{font-size:10px;padding:10px 3px}.overlay:has(#campTabs:not([hidden])){padding:17px 10px}.arena:has(#campTabs:not([hidden])){min-height:650px}.camp-card-grid{gap:5px}.camp-card-grid button{padding:10px 6px;min-height:120px}.camp-card-grid b{font-size:10px}.camp-card-grid small{font-size:9px}.camp-card-grid em{font-size:9px}.camp-card-grid.routes button{min-height:85px}.frontier-camp-panel h3{font-size:12px;margin:13px 0 8px}.frontier-camp-panel h3 small{display:block;margin:3px 0 0;font-size:9px}.overlay .frontier-camp-panel>p{font-size:10px;line-height:1.6}.practice-bar{padding:10px 9px}.practice-bar>b{width:100%;font-size:10px}.journal-panel>summary{padding:16px;font-size:13px}.journal-panel>summary span{display:block;margin:7px 0 0 16px;font-size:10px}.journal-content{padding:0 14px 16px}.journal-totals{gap:5px}.journal-totals>div{padding:10px 4px;text-align:center}.journal-totals b{font-size:17px}.journal-totals small{font-size:8px}.journal-codex{grid-template-columns:1fr}.journal-codex span{font-size:10px}.loadout-card>b{font-size:12px}.loadout-card>small{font-size:10px}}
.synergy-list p:not(.active){opacity:.55}#upgradeChoices em{display:block;color:#a7e8c8;font-size:10px;font-style:normal;line-height:1.6;margin-top:6px}
.run-options{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;padding:14px 16px;margin:0 0 20px;border:1px solid #a58c5e36;border-radius:7px;background:linear-gradient(110deg,#202b36,#121c2a)}.difficulty-options,.access-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.difficulty-options>span{font-size:11px;color:#afbac9;margin-right:6px}.run-options button{font:inherit;font-size:11px;padding:8px 12px;border:1px solid #91a0b240;border-radius:4px;color:#b9c8da;background:#14202f}.run-options button[aria-pressed=true]{color:#f4d9a6;border-color:#c9ad76;background:#51493677}.run-options button:hover:not(:disabled){border-color:#edd09a;color:#f2e0c0}.run-options button:disabled{cursor:default;opacity:.5}.run-options .continue-run{width:100%;text-align:left;border-color:#8fcdb77a;color:#c4e8d3;background:linear-gradient(90deg,#244339,#172c34);padding:12px 16px}.run-options .run-message{flex-basis:100%;font-size:10px;line-height:1.6;color:#9aadc2;margin:0}.expedition-hud{display:flex;justify-content:space-between;gap:8px;padding:8px 15px;background:#111b27;border-bottom:1px solid #a88e5733;font-size:10px;color:#aebfd0}.expedition-hud #goldText{color:#f1d294;font-weight:750}.expedition-hud #dodgeText{color:#94d9cf}.objective-card{padding:13px;border:1px solid #8bc1b444;border-radius:5px;background:linear-gradient(135deg,#273d372b,#152131);margin-top:16px}.objective-card>.eyebrow{display:block;font-size:8px;color:#8bb4ac;margin-bottom:7px}.objective-card>b{display:block;font-size:12px;color:#d1e5da}.info-card .objective-card>p{font-size:10px;line-height:1.8;margin:7px 0;color:#a9bbcb}.objective-meter{height:4px;background:#0b1622;overflow:hidden;border-radius:3px}.objective-meter>i{height:100%;display:block;width:0;background:linear-gradient(90deg,#579f9a,#d8dc9a)}.objective-card>small{display:block;font-size:9px;color:#8da6ba;margin-top:7px}.objective-card>small[data-complete=true]{color:#bce5af}.synergy-list p{padding:10px;border:1px solid #a7d0c555;border-radius:4px;background:#23433b38;margin:10px 0 0!important}.synergy-list b{display:block;color:#bce9d8;font-size:11px}.synergy-list small{display:block;color:#9db8be;font-size:9px;line-height:1.8;margin-top:4px}.camp-shop{border-top:1px solid #c7ac6d55;margin-top:18px;padding-top:13px}.camp-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.camp-heading>b{font-size:12px;color:#e1c28c}.camp-heading button{background:#273241;border:1px solid #bd9e6666;border-radius:4px;padding:7px 10px;color:#e4c896;font-size:10px}.camp-heading button:disabled{opacity:.4;cursor:default}#shopChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:9px}#shopChoices button{padding:10px 6px;min-width:0;background:#1d3033;border:1px solid #81b4a456;border-radius:4px;color:#c4e0d4}#shopChoices button:disabled{opacity:.45;cursor:default}#shopChoices b{display:block;font-size:11px}#shopChoices small{display:block;margin-top:5px;font-size:9px;line-height:1.7;color:#a5bebc}.overlay #campStatus{font-size:10px;line-height:1.7;margin-top:9px;color:#9aafbe}.run-results:not([hidden]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px auto;max-width:430px}.run-results>div{padding:11px;background:#1e2b37c4;border:1px solid #b69b633d;border-radius:4px}.run-results small{display:block;font-size:10px;color:#98afc3}.run-results b{display:block;margin-top:5px;font-size:16px;color:#ebd19f}.arena:has(#campShop:not([hidden])){min-height:500px;aspect-ratio:auto}.arena:has(#campShop:not([hidden]))>#riftCanvas{position:absolute;inset:0;object-fit:cover}.arena:has(#runResults:not([hidden])){min-height:350px}.overlay:has(#campShop:not([hidden]))>div{width:100%;max-width:600px}html[data-reduced-motion=true] .rift-shell *,html[data-reduced-motion=true] .rift-shell *::before,html[data-reduced-motion=true] .rift-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:560px){.run-options{padding:13px 11px;gap:12px;margin-bottom:16px}.difficulty-options,.access-options{width:100%}.difficulty-options>span{flex:1}.difficulty-options button{padding:8px 14px}.access-options button{flex:1;padding:9px 4px;font-size:10px}.run-options .run-message{font-size:10px}.expedition-hud{padding:9px;font-size:9px}.arena:has(#campShop:not([hidden])){min-height:540px}.overlay:has(#campShop:not([hidden])){padding:18px 10px}.camp-heading>b{font-size:12px}.camp-heading button{font-size:9px;padding:7px}#shopChoices{gap:4px}#shopChoices button{padding:11px 4px;min-height:78px}#shopChoices b{font-size:10px}#shopChoices small{font-size:9px}.overlay #campStatus{font-size:10px}.arena:has(#runResults:not([hidden])){min-height:360px;aspect-ratio:auto}.arena:has(#runResults:not([hidden]))>#riftCanvas{position:absolute;inset:0;object-fit:cover}.run-results{gap:5px}.run-results>div{padding:10px 4px}.run-results b{font-size:15px}.objective-card>b{font-size:13px}.info-card .objective-card>p{font-size:11px}.objective-card>small{font-size:10px}.synergy-list small{font-size:10px}}

/* Combat tactics: compact actions above the arena, optional settings and records below. */
.controls-panel{margin:0 0 20px;border:1px solid #93a9bb35;border-radius:6px;background:#13212f;color:#b6c6d5}.controls-panel>summary{padding:13px 17px;font-size:12px;font-weight:650;color:#d9c6a4;cursor:pointer}.controls-panel>summary span{font-weight:400;font-size:10px;margin-left:14px;color:#8ca6bc}.controls-content{padding:0 17px 15px}.controls-content p{font-size:11px;line-height:1.8;color:#9eb1c4}.controls-top{display:flex;gap:8px;flex-wrap:wrap}.controls-top button,.binding-list button{border:1px solid #96adbc48;border-radius:4px;background:#223444;color:#ccdae4;padding:9px 12px;font-size:11px}.controls-top button[aria-pressed=true]{background:#304b44;border-color:#a4d3b9;color:#cbe9d8}.binding-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.binding-list button{display:flex;justify-content:space-between;align-items:center;gap:7px;min-height:46px;cursor:pointer}.binding-list kbd{font-size:10px;color:#ecd5a9;border:1px solid #c4a6774d;border-radius:3px;padding:4px;min-width:23px;text-align:center}.binding-list button.listening{border-color:#f2d79f;background:#504735}.controls-content #bindingMessage{margin-bottom:0;color:#d1c098;min-height:20px}.controls-panel button:focus-visible,.tactic-action:focus-visible{outline:2px solid #f0d7a2;outline-offset:3px}
.tactics-bar{display:grid;grid-template-columns:minmax(130px,1.3fr) minmax(115px,1fr) minmax(115px,1fr);gap:9px;position:relative;align-items:center;padding:11px 14px 15px;border-bottom:1px solid #92b8c536;background:linear-gradient(100deg,#233741,#172635)}.focus-gauge>div:first-child{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-bottom:8px}.focus-gauge b{font-size:10px;color:#d9c4a0}.focus-gauge span{font-size:10px;color:#d1dce3}.focus-gauge .meter{height:5px;background:#0b1724}.focus-gauge .meter i{width:0;background:linear-gradient(90deg,#7caeb3,#efd294)}.focus-gauge .meter i.active{background:#ffe2a5;box-shadow:0 0 8px #e6bf6f66}.tactic-action{display:flex;gap:9px;align-items:center;justify-content:center;min-height:44px;padding:7px;border:1px solid #aac5d456;border-radius:4px;color:#dae7ee;background:linear-gradient(135deg,#3b5163,#223647);touch-action:none}.tactic-action span{text-align:left}.tactic-action b{display:block;font-size:11px}.tactic-action small{display:block;font-size:9px;margin-top:3px;color:#a5bac9}.tactic-action kbd{color:#e2d0a7;font-size:12px;border:1px solid #bca87655;padding:5px;border-radius:3px}.tactic-action:disabled{opacity:.46}.tactic-action.counter-ready{border-color:#c4edff;background:#365771}.tactic-action[data-action=focus]{border-color:#c4a97165;background:linear-gradient(135deg,#514b37,#2d3741)}.tactics-bar #inputQueue{position:absolute;bottom:2px;right:15px;font-size:8px;line-height:10px;color:#c9e5ef;pointer-events:none}.practice-bar #practiceMetrics{font-size:10px;color:#badbce}
.tactics-records{display:grid;grid-template-columns:1fr 1.3fr;gap:16px;align-items:start}.tactics-records .journal-panel>summary span{display:block;margin:7px 0 0 16px}.record-note{font-size:11px;line-height:1.8;color:#91a9bc}.combat-log{list-style:none;padding:0;margin:0;max-height:420px;overflow:auto;scrollbar-color:#496274 #142333}.combat-log li{display:flex;gap:14px;padding:10px 0;border-bottom:1px solid #9cb3c322;color:#bacbd6;font-size:11px;line-height:1.6}.combat-log time{color:#7994ac;font-variant-numeric:tabular-nums}.combat-log li[data-kind=taken]{color:#efa99f}.combat-log li:is([data-kind=parry],[data-kind=counter],[data-kind=dodge]){color:#a8d5f1}.combat-log li:is([data-kind=focus],[data-kind=level],[data-kind=result]){color:#eed29d}.achievement-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.achievement-list article{display:grid;grid-template-columns:22px 1fr;column-gap:6px;padding:12px 10px;border:1px solid #859cb533;border-radius:4px;background:#11202e;min-width:0}.achievement-list article>span{grid-row:1/4;align-self:start;font-size:18px;color:#6a8299}.achievement-list b{font-size:11px;color:#a3b5c7;line-height:1.6}.achievement-list small{font-size:10px;line-height:1.7;color:#8099af;margin-top:4px}.achievement-list em{font-size:9px;font-style:normal;color:#7992aa;margin-top:6px}.achievement-list .unlocked{border-color:#d4ba7d66;background:linear-gradient(135deg,#363e35,#172936)}.achievement-list .unlocked>span,.achievement-list .unlocked b{color:#efd5a0}.achievement-list .unlocked em{color:#bad8bf}.achievement-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;max-width:calc(100vw - 32px);width:max-content;margin:0;background:#203c38f2;color:#f4e0af;border:1px solid #d3bd87;border-radius:6px;box-shadow:0 8px 30px #07121ba0;padding:14px 20px;line-height:1.6;font-size:13px;pointer-events:none}
@media(max-width:760px){.binding-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tactics-records{grid-template-columns:1fr;gap:0}.controls-content{padding:0 13px 14px}.tactics-bar{padding:9px 8px 15px;gap:6px;grid-template-columns:minmax(70px,.9fr) minmax(100px,1fr) minmax(100px,1fr)}.focus-gauge>div:first-child{display:block;margin-bottom:6px}.focus-gauge b,.focus-gauge span{display:block;font-size:9px}.focus-gauge span{margin-top:3px}.tactic-action{gap:5px;padding:7px 4px;min-height:48px}.tactic-action b{font-size:10px}.tactic-action small{font-size:8px}.tactic-action kbd{font-size:10px;padding:4px;max-width:40px;overflow-wrap:anywhere}.controls-panel>summary span{font-size:9px}.achievement-toast{bottom:12px;font-size:11px;padding:11px 14px}.achievement-list{gap:6px}.achievement-list article{padding:10px 7px;grid-template-columns:15px 1fr}.achievement-list b{font-size:10px}.achievement-list small{font-size:9px}.practice-bar #practiceMetrics{display:block;width:100%;font-size:10px}}
