/* Overcharged: The Wobble Mainland. HUD and menus: Fredoka for display, Nunito for text, glassy panels with a
   3px #140f0c ink outline, ley-cyan (#7df9ff) accents. */
:root {
  --ink: #140f0c; --ley: #7df9ff; --ley2: #3fb8e8; --gold: #ffd75a; --hp: #ff4d5e; --mana: #4d8cff; --xp: #b07dff; --good: #7dff9a; --bad: #ff5a4d;
  --glass: rgba(24, 20, 30, 0.62); --glass2: rgba(255, 255, 255, 0.08); --text: #fff8ec; --muted: #c8bfb0;
  --font: 'Nunito', system-ui, sans-serif; --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
}
html, body { margin: 0; height: 100%; background: #9fd0f0; overflow: hidden; font-family: var(--font); color: var(--text); user-select: none; -webkit-user-select: none; }
canvas#game { display: block; position: fixed; inset: 0; width: 100%; height: 100%; }
#ui { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
#ui * { box-sizing: border-box; }
.ink { text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 0 3px 0 var(--ink); }
.panel { background: var(--glass); border: 3px solid var(--ink); border-radius: 16px; box-shadow: inset 0 2px 0 rgba(255,255,255,.18), inset 0 -3px 0 rgba(0,0,0,.25), 0 6px 0 rgba(20,15,12,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn { pointer-events: auto; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); background: linear-gradient(#bffcff, #7df9ff 55%, #3fb8e8); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 22px; cursor: pointer; box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 4px 0 var(--ink); transition: transform .08s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); } .btn:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255,255,255,.7), 0 1px 0 var(--ink); }
.btn.alt { background: linear-gradient(#fff3c0, #ffd75a 55%, #f0a830); } .btn.ghost { background: rgba(255,255,255,.12); color: var(--text); box-shadow: 0 3px 0 var(--ink); }
.btn:disabled { filter: grayscale(1) brightness(.7); cursor: default; transform: none; }

/* ---------- orbs, action bar, xp */
#bottom { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 14px; }
.orb { position: relative; width: 132px; height: 132px; }
.orb canvas { width: 132px; height: 132px; }
.orb .val { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--display); font-weight: 700; font-size: 19px; }
.orb .lbl { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font-family: var(--display); font-size: 12px; letter-spacing: 1px; color: var(--muted); }
#barwrap { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 8px; }
#resource { width: 100%; height: 14px; border-radius: 8px; border: 3px solid var(--ink); background: rgba(0,0,0,.45); overflow: hidden; display: none; position: relative; }
#resource i { display: block; height: 100%; background: linear-gradient(90deg, #ffe14a, #ff9a3a); width: 0; transition: width .1s; }
#resource b { position: absolute; inset: 0; font-size: 10px; text-align: center; line-height: 9px; font-family: var(--display); }
#actionbar { display: flex; gap: 6px; padding: 7px; }
.slot { position: relative; width: 54px; height: 54px; border-radius: 12px; border: 3px solid var(--ink); background: rgba(0,0,0,.45); overflow: hidden; box-shadow: inset 0 2px 0 rgba(255,255,255,.15); }
.slot canvas.icon { width: 100%; height: 100%; display: block; }
.slot canvas.cd { position: absolute; inset: 0; width: 100%; height: 100%; }
.slot .key { position: absolute; left: 4px; top: 1px; font-family: var(--display); font-size: 13px; font-weight: 700; }
.slot .cdt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.slot.nomana canvas.icon { filter: saturate(.3) brightness(.6) sepia(.4) hue-rotate(180deg); }
.slot.flash { animation: slotflash .25s; } @keyframes slotflash { from { box-shadow: 0 0 0 4px var(--ley); } to { box-shadow: 0 0 0 0 transparent; } }
.slot.empty { opacity: .45; }
#xpbar { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(980px, 92vw); height: 9px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; background: rgba(0,0,0,.5); overflow: hidden; }
#xpbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8a4dff, #d27dff); transition: width .3s; }
#xpbar b { position: absolute; left: 0; right: 0; top: -1px; text-align: center; font-size: 9px; font-weight: 800; }
#castbar { position: absolute; left: 50%; bottom: 190px; transform: translateX(-50%); width: 280px; height: 22px; display: none; border-radius: 10px; border: 3px solid var(--ink); background: rgba(0,0,0,.55); overflow: hidden; }
#castbar i { display: block; height: 100%; width: 0; background: linear-gradient(#ffe68a, #ffb030); }
#castbar b { position: absolute; inset: 0; text-align: center; font-family: var(--display); font-size: 13px; line-height: 17px; }
#buffs { position: absolute; left: 14px; top: 96px; display: flex; flex-wrap: wrap; gap: 4px; max-width: 260px; }
.buff { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--ink); position: relative; font-family: var(--display); font-size: 10px; display: flex; align-items: flex-end; justify-content: center; }
.buff.good { background: linear-gradient(#7dffb0, #2a9a5a); } .buff.bad { background: linear-gradient(#ff8a7a, #9a2a2a); }
.buff span { position: absolute; top: 2px; left: 0; right: 0; text-align: center; font-size: 13px; }

/* ---------- unit frames */
.uframe { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; min-width: 250px; }
.uframe .portrait { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: radial-gradient(circle at 40% 35%, #fff4, #0004), var(--pc, #3fb8e8); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; font-weight: 700; position: relative; }
.uframe .lvl { position: absolute; bottom: -6px; right: -6px; background: var(--ink); color: var(--gold); border-radius: 10px; font-size: 12px; padding: 1px 6px; font-family: var(--display); }
.uframe .name { font-family: var(--display); font-weight: 600; font-size: 15px; white-space: nowrap; }
.uframe .sub { font-size: 11px; color: var(--muted); }
.uframe .bar { height: 15px; border-radius: 8px; border: 2px solid var(--ink); background: rgba(0,0,0,.5); overflow: hidden; position: relative; margin-top: 3px; }
.uframe .bar i { display: block; height: 100%; background: linear-gradient(#ff8a8a, var(--hp)); }
.uframe .bar.mp i { background: linear-gradient(#8ab8ff, var(--mana)); }
.uframe .bar b { position: absolute; inset: 0; text-align: center; font-size: 10px; line-height: 11px; font-weight: 800; }
#target { left: 50%; top: 14px; transform: translateX(-50%); display: none; min-width: 330px; }
#target .affixes { font-size: 11px; font-weight: 800; letter-spacing: .3px; }
#target .debuffs { display: flex; gap: 3px; margin-top: 3px; } #target .debuffs .buff { width: 20px; height: 20px; font-size: 8px; }
#target .castt { height: 9px; border-radius: 6px; border: 2px solid var(--ink); background: rgba(0,0,0,.5); margin-top: 3px; overflow: hidden; display: none; }
#target .castt i { display: block; height: 100%; background: linear-gradient(#ffd0ff, #c77dff); }
#target .skull { font-size: 20px; }
#bossbar { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); width: min(620px, 70vw); display: none; text-align: center; padding: 8px 14px 10px; }
#bossbar .bn { font-family: var(--display); font-size: 20px; font-weight: 700; }
#bossbar .bb { height: 18px; border-radius: 10px; border: 3px solid var(--ink); background: rgba(0,0,0,.55); overflow: hidden; margin-top: 4px; position: relative; }
#bossbar .bb i { display: block; height: 100%; background: linear-gradient(#ff9a7a, #d8203a); transition: width .15s; }
#bossbar .bb s { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--ink); }
#party { position: absolute; left: 14px; top: 100px; display: flex; flex-direction: column; gap: 6px; }
#playerframe { left: 14px; top: 14px; }

/* ---------- minimap, objective, radio, toasts */
#minimap { position: absolute; right: 14px; top: 14px; width: 196px; height: 196px; border-radius: 50%; border: 4px solid var(--ink); overflow: hidden; box-shadow: 0 5px 0 rgba(20,15,12,.5), inset 0 0 0 3px rgba(125,249,255,.4); background: #2a5a8a; }
#minimap canvas { width: 100%; height: 100%; display: block; }
#mmzone { position: absolute; right: 14px; top: 216px; width: 196px; text-align: center; font-family: var(--display); font-size: 14px; font-weight: 600; }
#mmzone small { display: block; font-size: 11px; color: var(--muted); font-family: var(--font); }
#objective { position: absolute; right: 14px; top: 262px; width: 250px; padding: 10px 12px; display: none; }
#objective h4 { margin: 0 0 4px; font-family: var(--display); font-size: 15px; color: var(--gold); }
#objective .ot { font-size: 13px; } #objective .tm { float: right; font-family: var(--display); color: var(--ley); }
#objective .pb { height: 8px; border-radius: 5px; border: 2px solid var(--ink); background: rgba(0,0,0,.5); margin-top: 6px; overflow: hidden; } #objective .pb i { display: block; height: 100%; background: linear-gradient(90deg, #ffd75a, #ff9a3a); }
#radio { position: absolute; left: 14px; bottom: 150px; width: min(400px, 34vw); padding: 10px 14px 10px 64px; display: none; }
#radio .who { font-family: var(--display); font-size: 13px; color: var(--ley); } #radio .txt { font-size: 14px; line-height: 1.35; }
#radio .av { position: absolute; left: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: radial-gradient(circle at 40% 35%, #fff6, #0003), #3fb8e8; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px; }
#radio .av.talk { animation: talk .18s infinite alternate; } @keyframes talk { to { transform: scale(1.06); } }
#toasts { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.toast { font-family: var(--display); font-weight: 600; font-size: 18px; padding: 6px 16px; border-radius: 12px; animation: toast 3.2s forwards; }
.toast.event { color: var(--gold); } .toast.good { color: var(--good); } .toast.bad { color: #ffb0a8; } .toast.discover { color: var(--ley); } .toast.massacre { color: #ff7ad8; font-size: 22px; } .toast.loot { color: var(--gold); }
@keyframes toast { 0% { opacity: 0; transform: translateY(10px) scale(.9); } 8% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
#banner { position: absolute; left: 0; right: 0; top: 22%; text-align: center; pointer-events: none; opacity: 0; }
#banner h1 { margin: 0; font-family: var(--display); font-size: clamp(34px, 5vw, 64px); font-weight: 700; color: #fff; letter-spacing: 1px; }
#banner p { margin: 4px 0 0; font-size: 18px; color: var(--ley); font-weight: 700; }
#banner.show { animation: banner 4s forwards; } @keyframes banner { 0% { opacity: 0; transform: scale(1.15); } 10% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
#streak { position: absolute; right: 230px; top: 40%; text-align: right; font-family: var(--display); opacity: 0; transition: opacity .3s; }
#streak .n { font-size: 54px; font-weight: 700; color: #ffe14a; line-height: 1; } #streak .l { font-size: 20px; font-weight: 700; color: #ff7ad8; }
#streak.pop .n { animation: pop .18s; } @keyframes pop { from { transform: scale(1.4); } to { transform: scale(1); } }
#prompt { position: absolute; left: 50%; top: 62%; transform: translateX(-50%); padding: 8px 16px; font-family: var(--display); font-size: 16px; display: none; }
#prompt kbd { display: inline-block; min-width: 26px; padding: 1px 6px; margin-right: 8px; border-radius: 7px; border: 2px solid var(--ink); background: var(--ley); color: var(--ink); font-weight: 700; text-align: center; }
#hurt { position: absolute; inset: 0; box-shadow: inset 0 0 160px 40px rgba(255, 30, 40, .0); transition: box-shadow .15s; }
#reconnect { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; flex-direction: column; background: rgba(10,14,30,.82); pointer-events: auto; }
#reconnect h2 { font-family: var(--display); font-size: 46px; margin: 0; } #reconnect p { color: var(--muted); }
#reconnect .spin { width: 64px; height: 64px; border-radius: 50%; border: 7px solid rgba(125,249,255,.2); border-top-color: var(--ley); animation: spin .9s linear infinite; margin-bottom: 18px; } @keyframes spin { to { transform: rotate(360deg); } }
#crosshair { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 0 0 2px rgba(20,15,12,.6); }
#crosshair.hot { border-color: #ff6a5a; transform: scale(1.2); }
#overlay { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
#perf { position: absolute; right: 14px; bottom: 150px; font: 11px/1.35 ui-monospace, monospace; padding: 6px 9px; white-space: pre; display: none; }
#help { position: absolute; left: 14px; top: 136px; font-size: 12px; color: var(--muted); padding: 8px 10px; max-width: 260px; line-height: 1.5; }
#help b { color: var(--ley); font-family: var(--display); }

/* ---------- full-screen menus */
.screen { position: fixed; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; pointer-events: auto; background: radial-gradient(ellipse at center, rgba(10,16,40,.35), rgba(5,8,20,.8)); }
.screen.on { display: flex; }
.menu { width: min(760px, 94vw); max-height: 90vh; overflow: auto; padding: 22px 26px; }
.menu h2 { margin: 0 0 12px; font-family: var(--display); font-size: 32px; } .menu h3 { font-family: var(--display); margin: 16px 0 8px; color: var(--ley); }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs .btn { font-size: 15px; padding: 6px 14px; } .tabs .btn.sel { background: linear-gradient(#fff3c0, #ffd75a 55%, #f0a830); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.row label { font-weight: 700; } .row input[type=range] { width: 220px; pointer-events: auto; accent-color: var(--ley); }
.row select, .row .kb { pointer-events: auto; font-family: var(--display); font-size: 14px; background: rgba(0,0,0,.4); color: var(--text); border: 2px solid var(--ink); border-radius: 9px; padding: 4px 10px; cursor: pointer; }
.row .kb.wait { background: var(--ley); color: var(--ink); }
#title { background: linear-gradient(180deg, rgba(20,40,90,.25), rgba(10,14,30,.75)); }
#title .logo { text-align: center; margin-bottom: 10px; }
#title .logo h1 { margin: 0; font-family: var(--display); font-size: clamp(48px, 8vw, 104px); font-weight: 700; line-height: .95; color: #fff; letter-spacing: 2px; }
#title .logo h1 span { color: var(--ley); }
#title .logo p { margin: 6px 0 0; font-family: var(--display); font-size: clamp(18px, 2.4vw, 30px); color: var(--gold); }
#title .col { display: flex; flex-direction: column; align-items: center; gap: 12px; }
#title .tag { color: var(--muted); font-size: 14px; margin-top: 16px; text-align: center; max-width: 560px; }
.classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.cls { pointer-events: auto; cursor: pointer; padding: 12px; border-radius: 14px; border: 3px solid var(--ink); background: rgba(0,0,0,.35); text-align: center; transition: transform .1s; }
.cls:hover { transform: translateY(-3px); } .cls.sel { background: rgba(125,249,255,.22); box-shadow: 0 0 0 3px var(--ley); }
.cls .ic { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.cls b { font-family: var(--display); display: block; } .cls small { color: var(--muted); font-size: 12px; }
.namein { pointer-events: auto; font-family: var(--display); font-size: 20px; padding: 8px 14px; border-radius: 12px; border: 3px solid var(--ink); background: rgba(0,0,0,.4); color: var(--text); width: 280px; text-align: center; }
#worldmap { position: fixed; inset: 0; z-index: 15; display: none; align-items: center; justify-content: center; background: rgba(5,10,25,.7); pointer-events: auto; }
#worldmap.on { display: flex; }
#worldmap .wrap { position: relative; padding: 12px; }
#worldmap canvas { display: block; width: min(86vh, 86vw); height: min(86vh, 86vw); border-radius: 12px; cursor: crosshair; }
#worldmap .hint { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font-size: 14px; }
.fallback-panel { position: fixed; right: 240px; top: 120px; width: 340px; padding: 16px 18px; z-index: 12; pointer-events: auto; display: none; }
.fallback-panel h3 { margin: 0 0 8px; font-family: var(--display); color: var(--ley); }
.fallback-panel table { width: 100%; font-size: 13px; } .fallback-panel td:last-child { text-align: right; font-weight: 800; }
.fallback-panel .x { position: absolute; right: 10px; top: 8px; cursor: pointer; font-family: var(--display); }
#loading { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(#2c7ad6, #8fc8f0); font-family: var(--display); transition: opacity .6s; }
#loading h1 { font-size: 44px; margin: 0 0 18px; }
#loading .lb { width: 360px; height: 18px; border-radius: 10px; border: 3px solid var(--ink); background: rgba(0,0,0,.35); overflow: hidden; }
#loading .lb i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7df9ff, #ffd75a); transition: width .3s; }
#loading p { margin-top: 10px; font-size: 16px; }
@media (max-width: 900px) { .orb, .orb canvas { width: 96px; height: 96px; } .slot { width: 40px; height: 40px; } #minimap { width: 140px; height: 140px; } #mmzone { width: 140px; top: 160px; } #objective { top: 200px; width: 200px; } #help { display: none; } }

/* Story & Voice captions sit above the action bar and orbs */
.oc-cap { bottom: 196px !important; }

/* Integration layout: the party command bar sits under the MMO chat, clear of the orbs and the chat log */
body .pui.world .cmd { top: 98px; bottom: auto; transform: scale(.7); transform-origin: top left; transition: opacity .4s; }
/* party orders only matter once someone is in your party */
body:not(.ow-hasparty) .pui.world .cmd { opacity: 0; pointer-events: none; }
#help { transition: opacity 1s; }
body.ow-hasparty #help, body.ow-helpdone #help { opacity: 0; pointer-events: none; }
/* Title screen: only the title, the 3D view, settings and the character creator are visible */
body.ow-title > *:not(#title):not(#game):not(#loading):not(#menu):not(.ow-creator):not(.oc-cine):not(script):not(style):not(link) { visibility: hidden !important; }
/* Full-screen panels: story captions slide down out of the way instead of covering the map or the pause menu */
body:has(#worldmap.on) .oc-cap.on, body:has(#menu.on) .oc-cap.on { transform: translate(-50%, 175px) scale(.8); opacity: .85; }
/* The MMO micro-menu column steps aside while an RPG panel (bags, character, crafting) is open on the right */
body:has(.rpg-panel.open) .mmo-micro { opacity: 0; pointer-events: none; }
/* MMO achievement toasts sit left of the minimap, clear of the target frame and the boss bar */
body .mmo-ui .mmo-toast { left: auto; right: 220px; top: 22px; transform: translate(0, -30px); }
body .mmo-ui .mmo-toast.on, body .mmo-ui .mmo-toast.show { transform: translate(0, 0); }

/* ---------------------------------------------------------------- v0.4 */
#guide { position: absolute; left: 50%; top: 104px; transform: translateX(-50%); padding: 6px 14px; display: none; font-size: 14px; white-space: nowrap; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
#guide b { color: var(--gold); font-family: var(--display); margin-right: 8px; letter-spacing: .06em; }
#guide span { font-weight: 800; }
.newspell { position: absolute; left: 50%; top: 26%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; min-width: 300px; max-width: 460px; animation: nsIn .35s cubic-bezier(.2,1.6,.4,1); transition: opacity .5s, transform .5s; pointer-events: none; }
.newspell canvas { width: 64px; height: 64px; border-radius: 10px; border: 3px solid var(--ink); background: #1a1420; }
.newspell small { display: block; color: var(--gold); font-family: var(--display); letter-spacing: .12em; font-size: 12px; }
.newspell b { display: block; font-family: var(--display); font-size: 22px; color: #fff; }
.newspell p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.newspell.out { opacity: 0; transform: translateX(-50%) translateY(-14px); }
@keyframes nsIn { from { transform: translateX(-50%) scale(.6); opacity: 0; } }
#reconnect .killer { color: #ffb0a0; font-family: var(--display); font-size: 18px; font-weight: 600; display: inline-block; margin-top: 10px; }
#reconnect .tip { color: #d8e8f0; font-size: 14px; display: inline-block; margin-top: 6px; }
/* gamepad focus ring for menus and panels */
.gp-focus { outline: 4px solid #7df9ff !important; outline-offset: 2px; box-shadow: 0 0 0 7px rgba(125,249,255,.25) !important; }
/* captions never cover a panel, and stay small (FINAL #2; Story owns the queue, World owns the layout) */
body.ow-panel-open .oc-cap { opacity: 0 !important; }
.oc-cap:not(.cine) { width: min(620px, calc(100vw - 32px)) !important; z-index: 35 !important; }
.ow-hint { position: absolute; left: 50%; bottom: 236px; transform: translateX(-50%) translateY(10px); padding: 9px 16px; font-size: 16px; font-weight: 800; opacity: 0; transition: opacity .35s, transform .35s; pointer-events: none; white-space: nowrap; }
.ow-hint.on { opacity: 1; transform: translateX(-50%); }
.rpg-tracker { top: 262px !important; } /* below the minimap zone name (it covered "Gigglemoss Meadows") */
body.ow-objective .rpg-tracker { top: 372px !important; }
body.ow-dungeon .rpg-tracker, body.ow-dungeon #guide { display: none !important; } /* the run tracker owns that corner inside an instance */
#actionbar .slot.ult { border-color: #ffd36b !important; box-shadow: 0 0 0 2px rgba(255,211,107,.35), 0 0 10px rgba(255,211,107,.25); }
#actionbar .slot.ult:nth-child(11) { margin-left: 14px; }
#actionbar .slot .ulttag { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font-size: 9px; font-weight: 900; color: #ffd36b; letter-spacing: .08em; pointer-events: none; }

/* v0.5 toast lane (FINAL #6, top 15 #10): below the banner while one shows; under an open panel the lane moves to the
   bottom edge so it never covers a character sheet; the MMO chat pill hides under panels */
#toasts { transition: top .25s ease; z-index: 30; }
#toasts.low { top: calc(22% + 128px); }
body.ow-panel-open #toasts { top: 8px; }
body.ow-panel-open .mmo-chat.collapsed, body.ow-panel-open .mmo-chat.idle .pill { opacity: 0; pointer-events: none; }
/* Overtime: the XP bar turns gold at level 30 */
#xpbar.overtime i { background: linear-gradient(90deg, #ffb340, #ffe14a) !important; }
#xpbar.overtime b { color: #ffe14a; }
