/* =====================================================================================================================
   Ignyte "Aurora" - loaded after style.css, changes no page: the violet night with a lime-on-violet halftone glow far behind,
   the top band in Halo (straight chevrons, violet glass, one light line on each chevron, 40 px high), the buttons in Arrow
   (one corner cut, the other end a point, Chakra Petch capitals), Halo frames for the game cards. The roles keep their
   colours in the band: administrators gold, moderators teal, players the plain glass.
   ===================================================================================================================== */
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); }
:root { --bg: #0b1017; --panel: #12161f; --panel2: #182130; --line: #263145; --text: #dfe4f0; --muted: #949fb4;
        --accent: #4d82ff; --accent2: #d4ef6a; --good: #b8f53c; --neon: #b8f53c; --lemon: #e6f77a;
        --violet: #4d82ff; --violet-l: #8bb0ff; --edge: #3a578c; --lime: #b8f53c; --glass: #0e141e; --glass2: #0c111b;
        --tip: 12px; --band: 40px; --cut: 9px; }

/* ---------------------------------------------------------------- the night and the aurora behind every page */
html { background: linear-gradient(180deg, #0d121c 0%, #0b1017 50%, #090d12 100%) fixed #0b1017; }
body { background: transparent; }
html.ig-arrive body { background: #0b1017; }
body::before { content: ""; position: fixed; inset: -10%; z-index: -2; pointer-events: none; opacity: .5; filter: blur(30px);
  background: radial-gradient(32% 30% at 18% 82%, rgba(54, 145, 226, .5), rgba(54, 145, 226, .1) 45%, transparent 70%),
              radial-gradient(42% 40% at 82% 18%, rgba(61, 114, 240, .7), rgba(61, 114, 240, .16) 50%, transparent 75%); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at center, transparent 0 .9px, rgba(9, 13, 18, .9) 1.3px) 0 0 / 4px 4px; }
body.admin::before { opacity: .22; } body.admin::after { opacity: .35; }
::selection { background: rgba(77, 130, 255, .45); }

/* ---------------------------------------------------------------- the top band (Halo): three segments, straight chevrons */
body.admin header.bar.nb { height: var(--band); min-height: var(--band); background: var(--glass2); border-bottom: 1px solid var(--line); }
body.ingame header.bar.nb { height: var(--band); min-height: var(--band); }
.nb .nb-brand { padding: 0 calc(var(--tip) + 18px) 0 16px; gap: 10px; color: #e8eefb;
  background: linear-gradient(180deg, rgba(77, 130, 255, .16), rgba(77, 130, 255, .06)), var(--glass);
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); }
.nb .nb-menu { margin-left: calc(var(--tip) * -1); padding: 0 calc(var(--tip) + 16px) 0 calc(var(--tip) + 12px);
  background: linear-gradient(180deg, rgba(77, 130, 255, .10), rgba(77, 130, 255, .03)), var(--glass2);
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%, var(--tip) 50%); }
.nb .nb-who { margin-left: calc(var(--tip) * -1); padding: 0 14px 0 calc(var(--tip) + 14px); gap: 8px;
  background: linear-gradient(180deg, rgba(77, 130, 255, .16), rgba(77, 130, 255, .06)), var(--glass);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--tip) 50%); }
.nb .nb-brand::after, .nb .nb-menu::after { width: calc(var(--tip) + 2px);
  background: linear-gradient(180deg, rgba(139, 176, 255, .12), rgba(139, 176, 255, .8) 50%, rgba(139, 176, 255, .12));
  clip-path: polygon(0 0, 1.5px 0, calc(var(--tip) + 1.5px) 50%, 1.5px 100%, 0 100%, var(--tip) 50%); }
.nb .nb-brand .ig-logo { filter: drop-shadow(0 0 5px rgba(184, 245, 60, .35)); }
.nb .nb-brand .ig-logo svg { width: 22px !important; height: 22px !important; }
.nb .nb-name { font-size: 14px; font-weight: 600; letter-spacing: .14em; }
nav.nb-tabs a { color: #b0bdd6; padding: 0 13px; font-size: 14px; }
nav.nb-tabs a:hover { color: #ffffff; background: radial-gradient(60% 90% at 50% 50%, rgba(77, 130, 255, .14), transparent 70%); }
nav.nb-tabs a.on { color: #ffffff; background: radial-gradient(60% 90% at 50% 50%, rgba(77, 130, 255, .3), transparent 70%); }
nav.nb-tabs a.nb-more { color: var(--lemon); }
.nb-ind { height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 176, 255, .95), transparent); }
.nb-ind::after { width: 6px; height: 6px; margin-left: -3px; top: -2.5px; transform: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(184, 245, 60, .8); }
.nb-ind.nb-ind2::after { top: auto; bottom: -2.5px; }
.nb-gs { background: rgba(139, 176, 255, .5); }
.nb-sep { background: linear-gradient(180deg, transparent, rgba(139, 176, 255, .5), transparent); }
.nb-sep::after { background: rgba(139, 176, 255, .8); }
.nb-moremenu { background: #12161f; border-color: var(--line); }
.nb-moremenu a { color: #c3cbdc; }
.nb-moremenu a:hover, .nb-moremenu a.on { background: rgba(77, 130, 255, .14); color: #ffffff; }
.nb .crumb .gametitle { color: #e8eefb; }
/* you: the name chip and My account */
.nb .me-chip { border-radius: 20px 4px 4px 20px; background: rgba(77, 130, 255, .10); border-color: rgba(139, 176, 255, .28); }
.nb .nb-who .me-chip .me-link { padding: 2px 10px 2px 2px; }
.nb .nb-who a.me-acc { color: #cfdbf2; background: linear-gradient(180deg, rgba(77, 130, 255, .2), rgba(77, 130, 255, .08)); }
.nb .nb-who a.me-acc:hover { color: #ffffff; background: linear-gradient(180deg, rgba(77, 130, 255, .34), rgba(77, 130, 255, .16)); }
.nb .nb-who a.me-acc.on { color: #12161f; background: linear-gradient(180deg, #d6f77a, var(--lime)); }
.nb .nb-who > a, .nb .nb-who .link { color: var(--lemon); }
.nb .avatar.sm { width: 20px; height: 20px; }
/* the roles: their colour rising in the menu segment, on its chevron, its tabs and the open tab's marks */
.nb-adm { --role: #ffd84d; --role-rgb: 255, 216, 77; --role-tab: #f2e199; }
.nb-mod { --role: #7fe8d8; --role-rgb: 127, 232, 216; --role-tab: #a8e0d8; }
.nb-adm .nb-menu, .nb-mod .nb-menu { background: linear-gradient(0deg, rgba(var(--role-rgb), .22) 0%, rgba(var(--role-rgb), .09) 32%, rgba(var(--role-rgb), .02) 70%, transparent),
  linear-gradient(180deg, rgba(77, 130, 255, .10), rgba(77, 130, 255, .03)), var(--glass2); }
.nb-adm .nb-menu::after, .nb-mod .nb-menu::after { background: linear-gradient(180deg, rgba(139, 176, 255, .12), rgba(var(--role-rgb), .75) 50%, rgba(139, 176, 255, .12)); }
.nb-adm nav.nb-tabs a, .nb-mod nav.nb-tabs a { color: var(--role-tab); }
.nb-adm nav.nb-tabs a:hover, .nb-mod nav.nb-tabs a:hover { color: #ffffff; background: radial-gradient(60% 90% at 50% 50%, rgba(var(--role-rgb), .1), transparent 70%); }
.nb-adm nav.nb-tabs a.on, .nb-mod nav.nb-tabs a.on { color: #ffffff; background: radial-gradient(60% 90% at 50% 50%, rgba(var(--role-rgb), .2), transparent 70%); }
.nb-adm .nb-ind, .nb-mod .nb-ind { background: linear-gradient(90deg, transparent, rgba(var(--role-rgb), .95), transparent); }
.nb-adm .nb-ind::after, .nb-mod .nb-ind::after { background: var(--role); box-shadow: 0 0 10px rgba(var(--role-rgb), .8); }
.nb-adm .nb-gs, .nb-mod .nb-gs { background: rgba(var(--role-rgb), .5); }
.nb-adm nav.nb-tabs a.nb-more, .nb-adm .crumb .crumb-link, .nb-mod nav.nb-tabs a.nb-more, .nb-mod .crumb .crumb-link { color: var(--role-tab); }
/* the Updates corner (administrators): a gold arrow */
a.nb-upd { margin: 7px 8px 7px 0; padding: 0 22px 0 16px; font: 700 12px/1 "Chakra Petch", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #1e1a08;
  background: linear-gradient(180deg, #ffe680, #e8c94a); clip-path: polygon(var(--cut) 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 0 var(--cut)); }
a.nb-upd.on { background: linear-gradient(180deg, #fff2a8, #ffd84d); box-shadow: none; }

/* ---------------------------------------------------------------- the home page's short band (top right): left-pointing chevron, lime diamonds */
.cbwrap { height: var(--band); }
.cbdia { width: 8px; height: 8px; margin-right: 12px; background: var(--lime); box-shadow: 0 0 10px rgba(184, 245, 60, .8); }
.cb { height: var(--band); padding: 0 14px 0 calc(var(--tip) + 18px); border-bottom: 0;
  background: linear-gradient(180deg, rgba(77, 130, 255, .2), rgba(77, 130, 255, .07)), var(--glass);
  clip-path: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%); }
.cb::before { width: calc(var(--tip) + 2px); background: linear-gradient(180deg, rgba(139, 176, 255, .12), rgba(139, 176, 255, .85) 50%, rgba(139, 176, 255, .12));
  clip-path: polygon(var(--tip) 0, calc(var(--tip) + 1.5px) 0, 1.5px 50%, calc(var(--tip) + 1.5px) 100%, var(--tip) 100%, 0 50%); }
.cb a.cb-go { height: var(--band); padding: 0 22px; letter-spacing: .1em; color: #ffffff;
  background: radial-gradient(60% 90% at 50% 50%, rgba(77, 130, 255, .35), transparent 75%); }
.cb a.cb-go:hover { background: radial-gradient(60% 90% at 50% 50%, rgba(77, 130, 255, .5), transparent 75%); }
.cb-go::before, .cb-go::after { height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 176, 255, .9), transparent); }
.cb-go i { background: var(--lime); box-shadow: 0 0 10px rgba(184, 245, 60, .8); }
.cb .me-link { background: rgba(77, 130, 255, .10); border-color: rgba(139, 176, 255, .28); }

/* ---------------------------------------------------------------- buttons (Arrow): one corner cut, the other end a point.
   Only real buttons: links, tabs, chips, cards and the small row actions keep their own look */
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button) { position: relative; border: 0; border-radius: 0; padding: 9px 24px 9px 16px; font: 700 12px/1.2 "Chakra Petch", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: #ffffff; background: var(--violet); box-shadow: none;
  clip-path: polygon(var(--cut) 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 0 var(--cut)); }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button):hover { background: #6290ff; box-shadow: none; }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button):disabled:hover { background: var(--violet); }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button):is(.small) { padding: 6px 20px 6px 12px; font-size: 11px; --cut: 7px; }
/* outline: a 1 px frame inside the same shape */
:is(button.ghost, .btn.ghost, .gbtn):not(.link, .chip, .card, .swatch, .palette button, .on-tabs button, .on-stats button, .subtabs button) { background: rgba(77, 130, 255, .08); color: var(--text); border: 0; }
:is(button.ghost, .btn.ghost, .gbtn):not(.link, .chip, .card, .swatch, .palette button, .on-tabs button, .on-stats button, .subtabs button):hover { background: rgba(77, 130, 255, .2); color: #ffffff; }
:is(button.ghost, .btn.ghost, .gbtn):not(.link, .chip, .card, .swatch, .palette button, .on-tabs button, .on-stats button, .subtabs button)::before, .btn.admin-btn::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--fr, var(--violet-l)); opacity: .75; clip-path: polygon(var(--cut) 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 0 var(--cut), 1px calc(var(--cut) + .4px), 1px calc(100% - 1px), calc(100% - 10.6px) calc(100% - 1px), calc(100% - 1.2px) 50%, calc(100% - 10.6px) 1px, calc(var(--cut) + .4px) 1px, 1px calc(var(--cut) + .4px), 0 var(--cut)); }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button):is(.bad, .gbad) { background: #b4405a; }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button):is(.bad, .gbad):hover { background: #c94d68; }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button):is(.danger) { background: rgba(180, 64, 90, .12); color: #f1a0ad; }
/* the role buttons in the band: an outline in the role's colour */
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button).admin-btn { --fr: var(--admin); color: var(--admin); background: rgba(255, 216, 77, .06); padding: 6px 20px 6px 12px; font-size: 11px; --cut: 7px; }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button).admin-btn:hover { background: rgba(255, 216, 77, .16); }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button).admin-btn.mod-btn { --fr: var(--moderator); color: var(--moderator); background: rgba(127, 232, 216, .06); }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button).admin-btn.mod-btn:hover { background: rgba(127, 232, 216, .16); }
button.link, button.link:hover { color: var(--lemon); }
.nb .nb-who .link { padding: 6px 8px; }
/* the tab-like buttons and chips: the violet palette on their own shapes */
.on-tabs button.on { background: var(--panel2); border-color: var(--line); }
.on-stats button { background: var(--panel2); border-color: var(--line); }
.on-stats button:hover { border-color: var(--violet-l); }
.dr-tabs button.on b { color: var(--lemon); }
.subtabs button.on { border-bottom-color: var(--violet-l); }
button.mact:hover { background: rgba(77, 130, 255, .16); border-color: var(--violet-l); }
button.dr-card:hover { border-color: var(--violet-l); }
.dr-hours i { background: linear-gradient(180deg, rgba(184, 245, 60, .8), rgba(77, 130, 255, .55)); }
.dr-spark a i.m { background: rgba(184, 245, 60, .6); } .dr-spark a i.v { background: rgba(139, 176, 255, .5); }
/* the big arrow (log in, Play Ironsteer): lime */
.lgo { color: #12161f; font: 700 13px/1 "Chakra Petch", system-ui, sans-serif; letter-spacing: .16em; background: var(--lime);
  clip-path: polygon(var(--cut) 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 0 var(--cut)); }
.lgo:hover { filter: none; background: #cbff5a; }
.lgo i { background: #12161f; opacity: .55; }

/* ---------------------------------------------------------------- fields */
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], select, textarea { background: #0d121b; border-color: var(--line); border-radius: 8px; }
input:focus, select:focus, textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(184, 245, 60, .12); }
button:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--lime); }

/* ---------------------------------------------------------------- panels, tables, tabs, messages */
.card, .mpanel, .chat { background: rgba(18, 22, 31, .92); border-color: var(--line); border-radius: 12px; }
.mp-head { background: linear-gradient(90deg, rgba(77, 130, 255, .10), rgba(77, 130, 255, .02)); border-bottom-color: var(--line); }
details.card summary { color: var(--lemon); }
table.list tr:hover td { background: rgba(77, 130, 255, .07); }
table.list th, table.list td { border-bottom-color: var(--line); }
nav.tabs a.on { border-bottom-color: var(--violet-l); }
.mtabs a { color: #9facc4; }
.mtabs a:hover { color: #ffffff; background: linear-gradient(180deg, transparent 60%, rgba(77, 130, 255, .08)); }
.mtabs a.on { color: #ffffff; background: linear-gradient(180deg, transparent 30%, rgba(77, 130, 255, .14)); }
.mtabs a.on::after { height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 176, 255, .95), transparent); }
.mtabs a.on::before { border-radius: 50%; transform: none; background: var(--lime); box-shadow: 0 0 10px rgba(184, 245, 60, .8); }
.mrow.on { box-shadow: inset 3px 0 0 var(--lime); background: linear-gradient(90deg, rgba(77, 130, 255, .14), transparent); }
.tag { border-radius: 999px; border-color: var(--line); padding: 1px 9px; }
.tag.b-default { background: rgba(77, 130, 255, .14); border-color: var(--edge); color: var(--lemon); }
.on-chip { background: rgba(77, 130, 255, .08); border-color: var(--line); }
.msg.ok { border-color: rgba(184, 245, 60, .4); background: rgba(184, 245, 60, .06); color: var(--lime); }
.msg.warn { border-color: #6a5426; background: #221b10; }
.msg.err { border-color: #6a2e35; background: #23111a; }
.lobby-head { border-bottom-color: var(--line); }
.avatar.initials { background: #a8c7ff; }
.me-link:hover { background: rgba(77, 130, 255, .14); }

/* ---------------------------------------------------------------- the games page: Halo cards */
.gamecard { background: rgba(18, 22, 31, .92); border-color: var(--line); border-radius: 16px; position: relative; }
.gamecard::before, .gamecard::after { content: ""; position: absolute; right: 12px; z-index: 3; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent var(--edge); }
.gamecard::before { top: 12px; } .gamecard::after { bottom: 12px; }
a.gamecard, a.gamecard:hover { text-decoration: none; }
a.gamecard { transition: box-shadow .3s ease, border-color .3s ease; }
a.gamecard:hover { transform: none; border-color: var(--line); box-shadow: inset 0 0 0 1px rgba(139, 176, 255, .45), inset 0 0 26px rgba(77, 130, 255, .16); }      /* (a soft light inside the edge: nothing moves) */
.gc-art { margin: 8px 8px 0; border-radius: 10px; overflow: hidden;
  background: radial-gradient(circle at center, transparent 0 .9px, rgba(9, 13, 18, .55) 1.3px) 0 0 / 4px 4px,
              radial-gradient(40% 60% at 24% 80%, rgba(184, 245, 60, .45), transparent 70%),
              radial-gradient(ellipse at 72% 18%, #2b55b0 0%, #182a4f 52%, #0f1522 100%); }
.gc-ironsteer, .gc-build { background-color: #141d30; }
.gc-ironsteer::after { display: none; }
.gc-title { color: #edf3ff; letter-spacing: .22em; font-size: 24px; }
.gc-kind { color: var(--lime); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
.gc-text { color: #c3cbdc; }
.gamecard.soon .gc-art { background: rgba(24, 33, 48, .6); }
.gamecard.soon .gc-title { color: #838fa6; }

/* ---------------------------------------------------------------- the log-in card: its shape kept, violet */
main.lw { background: linear-gradient(160deg, rgba(184, 245, 60, .35), rgba(139, 176, 255, .1) 35%, rgba(139, 176, 255, .06) 65%, rgba(77, 130, 255, .45)); }
.lcard { background: linear-gradient(180deg, #141c2b, #0f1520); }
.lbeam { height: 1px; background: linear-gradient(90deg, transparent, rgba(184, 245, 60, .9), transparent); }
.lbeam i { background: var(--lime); box-shadow: 0 0 10px rgba(184, 245, 60, .8); }
.ldia { background: linear-gradient(135deg, rgba(184, 245, 60, .22), rgba(77, 130, 255, .3)); }
.ltag h1 { color: #e8eefb; } .ltag small, .lcard label { color: #8894ab; } .lfoot { color: #687790; }
.lcard input[type=text], .lcard input[type=password] { background: #0c111a; box-shadow: inset 0 0 0 1px var(--line); border-radius: 2px; }
.lcard input:focus { box-shadow: inset 0 0 0 1px var(--lime), inset 3px 0 0 var(--lime); }

/* ---------------------------------------------------------------- the member dashboard */
.md-stats { background: var(--line); border-color: var(--line); border-radius: 12px; overflow: hidden; }
.md-stats div { background: #12161f; }
.md-stats div:first-child { box-shadow: inset 0 2px 0 rgba(184, 245, 60, .75); }
.md-stats b { color: #edf3ff; } .md-stats span, .md-h { color: #8894ab; }
.md-g { border-bottom-color: #1d2738; }
.md-g.win i { background: var(--lime); } .md-g.win .r { color: var(--lime); }
button:not(:disabled):hover, .btn:hover { box-shadow: 0 0 0 1px rgba(139, 176, 255, .35); }
button.ghost:not(:disabled):hover, .btn.ghost:hover, .gbtn:hover { border-color: var(--violet-l); }
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button):hover { box-shadow: none; }

/* =====================================================================================================================
   THE ADMIN PANEL (admin.php, logged in as an administrator): the band and the page's box in gold and orange, on the same
   violet night as everywhere else, so its pages are known at a glance. The members' pages (games, lobby, account, dashboard) keep the violet night even for an administrator.
   ===================================================================================================================== */
body.admin:not(.lobby):has(.nb-adm) {
  --bg: #100c08; --panel: #1a140d; --panel2: #231a10; --line: #3a2d1b; --text: #f1e9dc; --muted: #b3a48c; --accent: #f0a030; --accent2: #ffd84d; --lemon: #ffe27a;
  --gold: #ffd84d; --orange: #f0902a; --amber-l: #ffc266; --edge: #6b4f24; color: var(--text); }

/* the band: only its menu segment in gold and orange (stronger than on the members' pages), the logo and you as for everyone */
body.admin:not(.lobby) .adm-nav.nb-adm .nb-menu { background: linear-gradient(0deg, rgba(255, 190, 70, .26) 0%, rgba(255, 190, 70, .1) 34%, rgba(255, 190, 70, .03) 72%, transparent), linear-gradient(180deg, rgba(240, 144, 42, .12), rgba(240, 144, 42, .04)), #120d08; }
body.admin:not(.lobby) .adm-nav.nb-adm .nb-menu::after { background: linear-gradient(180deg, rgba(255, 194, 102, .12), rgba(255, 210, 110, .9) 50%, rgba(255, 194, 102, .12)); }
body.admin:not(.lobby) .adm-nav.nb-adm .nb-sep { background: linear-gradient(180deg, transparent, rgba(255, 194, 102, .55), transparent); }
body.admin:not(.lobby) .adm-nav.nb-adm .nb-sep::after { background: rgba(255, 210, 110, .85); }
body.admin:not(.lobby) .adm-nav.nb-adm .nb-gs { background: rgba(255, 210, 110, .55); }
body.admin:not(.lobby):has(.nb-adm) .nb-moremenu { background: #1a140d; border-color: #3a2d1b; }
body.admin:not(.lobby):has(.nb-adm) .nb-moremenu a { color: #e6d6bd; }
body.admin:not(.lobby):has(.nb-adm) .nb-moremenu a:hover, body.admin:not(.lobby):has(.nb-adm) .nb-moremenu a.on { background: rgba(240, 144, 42, .16); color: #ffffff; }

/* buttons: orange arrows, dark ink; the outlines gold */
body.admin:not(.lobby):has(.nb-adm) :is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .admin-btn, .on-tabs button, .on-stats button, .subtabs button) { background: var(--orange); color: #1e1406; }
body.admin:not(.lobby):has(.nb-adm) :is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .admin-btn, .on-tabs button, .on-stats button, .subtabs button):hover { background: #ffa640; }
body.admin:not(.lobby):has(.nb-adm) :is(button.ghost, .btn.ghost, .gbtn):not(.link, .chip, .card, .swatch, .palette button, .on-tabs button, .on-stats button, .subtabs button) { --fr: var(--amber-l); background: rgba(240, 144, 42, .08); color: var(--text); }
body.admin:not(.lobby):has(.nb-adm) :is(button.ghost, .btn.ghost, .gbtn):not(.link, .chip, .card, .swatch, .palette button, .on-tabs button, .on-stats button, .subtabs button):hover { background: rgba(240, 144, 42, .2); color: #ffffff; }
body.admin:not(.lobby):has(.nb-adm) :is(button, .btn):is(.bad, .gbad) { background: #c0453a; color: #ffffff; }
body.admin:not(.lobby):has(.nb-adm) button:not(:disabled):hover, body.admin:not(.lobby):has(.nb-adm) .btn:hover { box-shadow: 0 0 0 1px rgba(255, 194, 102, .35); }
body.admin:not(.lobby):has(.nb-adm) :is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button):hover { box-shadow: none; }

/* panels, tabs, tables, fields, chips */
body.admin:not(.lobby):has(.nb-adm) :is(.card, .mpanel, .chat) { background: rgba(26, 20, 13, .92); border-color: var(--line); }
body.admin:not(.lobby):has(.nb-adm) .mp-head { background: linear-gradient(90deg, rgba(240, 144, 42, .14), rgba(255, 216, 77, .03)); border-bottom-color: var(--line); }
body.admin:not(.lobby):has(.nb-adm) details.card summary { color: var(--gold); }
body.admin:not(.lobby):has(.nb-adm) table.list tr:hover td { background: rgba(240, 144, 42, .08); }
body.admin:not(.lobby):has(.nb-adm) :is(input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], select, textarea) { background: #140f09; border-color: var(--line); color: var(--text); }
body.admin:not(.lobby):has(.nb-adm) :is(input, select, textarea):focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 216, 77, .14); }
body.admin:not(.lobby):has(.nb-adm) .on-tabs button.on, body.admin:not(.lobby):has(.nb-adm) .on-stats button { background: var(--panel2); border-color: var(--line); }
body.admin:not(.lobby):has(.nb-adm) .on-stats button:hover { border-color: var(--amber-l); }
body.admin:not(.lobby):has(.nb-adm) .subtabs button.on, body.admin:not(.lobby):has(.nb-adm) nav.tabs a.on { border-bottom-color: var(--amber-l); }
body.admin:not(.lobby):has(.nb-adm) .mtabs a { color: #c9b796; }
body.admin:not(.lobby):has(.nb-adm) .mtabs a.on { background: linear-gradient(180deg, transparent 30%, rgba(240, 144, 42, .16)); }
body.admin:not(.lobby):has(.nb-adm) .mtabs a.on::after { background: linear-gradient(90deg, transparent, rgba(255, 194, 102, .95), transparent); }
body.admin:not(.lobby):has(.nb-adm) .mtabs a.on::before { background: var(--gold); box-shadow: 0 0 10px rgba(255, 216, 77, .8); }
body.admin:not(.lobby):has(.nb-adm) .mrow.on { box-shadow: inset 3px 0 0 var(--gold); background: linear-gradient(90deg, rgba(240, 144, 42, .14), transparent); }
body.admin:not(.lobby):has(.nb-adm) .on-chip { background: rgba(240, 144, 42, .08); border-color: var(--line); }
body.admin:not(.lobby):has(.nb-adm) .tag.b-default { background: rgba(240, 144, 42, .14); border-color: var(--edge); color: var(--gold); }
body.admin:not(.lobby):has(.nb-adm) button.mact:hover { background: rgba(240, 144, 42, .16); border-color: var(--amber-l); }
body.admin:not(.lobby):has(.nb-adm) button.dr-card:hover { border-color: var(--amber-l); }
body.admin:not(.lobby):has(.nb-adm) .dr-hours i { background: linear-gradient(0deg, #c85a28, #f0902a 45%, #ffd84d); }
body.admin:not(.lobby):has(.nb-adm) .dr-spark a i.m { background: rgba(255, 216, 77, .6); } body.admin:not(.lobby):has(.nb-adm) .dr-spark a i.v { background: rgba(240, 144, 42, .5); }
body.admin:not(.lobby):has(.nb-adm) .avatar.initials { background: #f3c77a; }
body.admin:not(.lobby):has(.nb-adm) ::selection { background: rgba(240, 144, 42, .45); }

/* the page itself in a box of its own: warm glass, a gold-to-orange edge, the band's beam on top with its diamond, Halo's corner marks */
body.admin:not(.lobby):has(.nb-adm) main.wide { position: relative; margin: 26px auto 48px; max-width: 1140px; padding: 26px 28px 40px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(34, 25, 14, .94), rgba(22, 16, 10, .94));
  box-shadow: 0 0 0 1px rgba(255, 194, 102, .28), 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 230, 160, .08); }
body.admin:not(.lobby):has(.nb-adm) main.wide.xwide { max-width: 1700px; }
body.admin:not(.lobby):has(.nb-adm) main.wide::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(240, 144, 42, .9) 25%, rgba(255, 216, 77, 1) 50%, rgba(240, 144, 42, .9) 75%, transparent); }
body.admin:not(.lobby):has(.nb-adm) main.wide::after { content: ""; position: absolute; left: 50%; top: -3.5px; width: 7px; height: 7px; margin-left: -3.5px; transform: rotate(45deg); pointer-events: none;
  background: var(--gold); box-shadow: 0 0 10px rgba(255, 216, 77, .8); }
body.admin:not(.lobby):has(.nb-adm) :is(.card, .mpanel, .chat) { background: rgba(14, 10, 6, .55); }
@media (max-width: 1200px) { body.admin:not(.lobby):has(.nb-adm) main.wide { margin: 16px 12px 32px; padding: 20px 16px 32px; } }

/* =====================================================================================================================
   THE MEMBERS' PAGES (dashboard, games, lobby, account): their content in a box, easier to read over the glow; the
   dashboard with your picture on the right (its ring in your role's colour), Play Ironsteer gone from it
   ===================================================================================================================== */
body.admin.lobby main.wide { position: relative; margin: 26px auto 48px; max-width: 1140px; padding: 26px 28px 36px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 26, 38, .93), rgba(13, 18, 27, .93));
  box-shadow: 0 0 0 1px rgba(139, 176, 255, .26), 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(210, 225, 255, .07); }
body.admin.lobby main.wide.md { max-width: 960px; }
body.admin.lobby main.wide::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(77, 130, 255, .9) 25%, rgba(184, 245, 60, .95) 50%, rgba(77, 130, 255, .9) 75%, transparent); }
body.admin.lobby main.wide::after { content: ""; position: absolute; left: 50%; top: -3.5px; width: 7px; height: 7px; margin-left: -3.5px; transform: rotate(45deg); pointer-events: none;
  background: var(--lime); box-shadow: 0 0 10px rgba(184, 245, 60, .8); }
body.admin.lobby :is(.card, .mpanel, .chat, .gamecard) { background: rgba(10, 14, 21, .55); }
body.admin.lobby .md-stats div { background: rgba(10, 14, 21, .7); }
@media (max-width: 1200px) { body.admin.lobby main.wide { margin: 16px 12px 32px; padding: 20px 16px 28px; } }
.md-head { margin: 0 0 22px; }
.md-head h1 { font-size: 24px; }
a.md-av { display: block; flex: 0 0 auto; border-radius: 50%; padding: 5px; background: conic-gradient(from 210deg, var(--violet), var(--violet-l), var(--lime), var(--violet)); text-decoration: none; }
a.md-av.role-admin { background: conic-gradient(from 210deg, #f0902a, #ffd84d, #fff0b0, #f0902a); }
a.md-av.role-moderator { background: conic-gradient(from 210deg, #2fb9a8, #7fe8d8, #d6fff8, #2fb9a8); }
a.md-av .avatar.big { display: flex; width: 72px; height: 72px; font-size: 24px; box-shadow: 0 0 0 2px #12161f; }
a.md-av:hover { filter: brightness(1.12); }

/* the lobby: the games listed; the one you are in lit on its whole edge (lime), its Open button takes you back to its room */
.gtable { border-color: var(--line); border-radius: 12px; }
.grow { background: rgba(10, 14, 21, .55); border-top-color: var(--line); }
.grow.ghead { background: rgba(24, 33, 48, .7); }
.grow.running { background: rgba(13, 18, 27, .7); }
.grow.mine { position: relative; background: linear-gradient(90deg, rgba(184, 245, 60, .08), rgba(77, 130, 255, .06)); box-shadow: inset 0 0 0 1px rgba(184, 245, 60, .55), inset 3px 0 0 var(--lime), inset 0 0 18px rgba(184, 245, 60, .08); }

/* lobby <-> game room: the games' column slides in from the side it comes from (the room from the right, the lobby from the left) */
@keyframes ig-vin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes ig-vout { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.lobby-grid > section.vswap.vin { animation: ig-vin .2s cubic-bezier(.2, .7, .2, 1); }
.lobby-grid > section.vswap.vout { animation: ig-vout .2s cubic-bezier(.2, .7, .2, 1); }

/* =====================================================================================================================
   THE GAME'S OWN SCREENS (lobby.php): the countdown, the loading, the end of a game (over, or aborted)
   ===================================================================================================================== */
.countdown { background: rgba(6, 9, 16, .74); backdrop-filter: blur(3px); }
.countdown.cd { background: rgba(6, 9, 16, .5); }
.cd-box { position: relative; min-width: 300px; padding: 22px 26px 20px; border: 0; border-radius: 16px; text-align: center;
  background: linear-gradient(180deg, rgba(23, 31, 46, .96), rgba(15, 21, 31, .96)); box-shadow: 0 0 0 1px rgba(139, 176, 255, .3), 0 30px 70px rgba(0, 0, 0, .55); }
.cd-box::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; border-radius: 0;
  background: linear-gradient(90deg, transparent, #4d82ff 15%, #40aaff 35%, #28bec8 55%, #6ee678 75%, #e6f77a 88%, transparent); }
.cd-box::after { content: ""; position: absolute; left: 50%; top: -3.5px; width: 7px; height: 7px; margin-left: -3.5px; transform: rotate(45deg); background: var(--lime); box-shadow: 0 0 10px rgba(184, 245, 60, .8); }
.cd-title.igb { background: rgba(77, 130, 255, .12); border-radius: 6px; padding: 7px 12px; }
.cd-title .igb-t svg { fill: #c3cbdc; }
.cd-title.done .igb-t svg { fill: var(--lime); }
.cd-num .igb-t svg { fill: #f0f4ff; }
.cd-bar { height: 4px; background: #1d2738; border-radius: 4px; margin-bottom: 16px; }
.cd-bar i { background: linear-gradient(90deg, #4d82ff, #40aaff 30%, #28bec8 55%, #6ee678 80%, #e6f77a); }
.cd-acts { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cd-acts [hidden] { display: none; }
/* the end of a game: its title big in the buttons' face, lime when over, amber when aborted */
.end-box { min-width: 340px; padding: 28px 30px 24px; }
.end-t { font: 700 26px/1 "Chakra Petch", system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); text-shadow: 0 0 18px rgba(184, 245, 60, .35); }
#ended.aborted .end-t { color: #ffb44a; text-shadow: 0 0 18px rgba(255, 180, 74, .35); }
#ended.aborted .cd-box::after { background: #ffb44a; box-shadow: 0 0 10px rgba(255, 180, 74, .8); }
.end-box .cd-text { margin: 14px 0 20px; font-size: 15px; letter-spacing: 0; color: #d3daea; }
/* the loading: the violet night, the logo, a prism bar; nothing else to press */
.gstage { background: #090e15; }
.gload { background: radial-gradient(ellipse at center, #162136 0%, #0d1320 45%, #090e15 75%); }
.gload .gbar { width: 280px; height: 4px; background: #1d2738; border-radius: 4px; }
.gload .gbar i { background: linear-gradient(90deg, #4d82ff, #40aaff 30%, #28bec8 55%, #6ee678 80%, #e6f77a); box-shadow: 0 0 10px rgba(110, 230, 120, .35); }
.gload .loader .muted { color: #9facc4; }
.igb-t { background: #162030; border-color: #2a3a55; }
.cd-num .igb-t { background: linear-gradient(180deg, #1c283c, #131c2a); border-color: #324566; }
.igb-t svg { fill: #e8eefb; }

/* ---- heroes (a build with hero.js): the hero picker of the game room, the heroes of the loading screen; the compact room ---- */

/* the slot: the hero's portrait, the player's avatar small on its corner */
.hp-ava { position: relative; width: 44px; height: 44px; flex: 0 0 auto; }
.hp-ava .hp-face { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: #0c111b; box-shadow: inset 0 0 0 1px var(--edge); display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 700; }
.hp-ava .hp-face.none { box-shadow: inset 0 0 0 1px #344156; background: repeating-linear-gradient(135deg, #11161f 0 6px, #0e121b 6px 12px); }
.hp-ava .hp-face svg, .hp-ava .hp-face img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.hp-ava .avatar { position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; font-size: 10px; box-shadow: 0 0 0 2px #0b1017; }
.who-cell .hp-hn { font-size: 11px; letter-spacing: .12em; color: var(--lime); font-weight: 600; }
.who-cell .hp-hn.none { color: var(--muted); letter-spacing: .02em; font-weight: 500; }
.who-cell .hp-nm { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tick.hp-off { opacity: .35; cursor: not-allowed; }

/* the picker: small vertical cards in a row, above the room; a pick is locked in (Ready needs it), unlocked to change */
.hp-body { display: flex; gap: 16px; align-items: stretch; padding: 12px 14px 14px; flex-wrap: wrap; }
.hp-list { display: flex; gap: 10px; overflow-x: auto; padding: 2px; }
.hp-card { position: relative; flex: 0 0 auto; width: 92px; height: 138px; border-radius: 9px; overflow: hidden; cursor: pointer; background: #0c111b; box-shadow: inset 0 0 0 1px var(--edge); transition: transform .15s, box-shadow .15s, filter .15s, opacity .15s; }
.hp-card .hp-art { position: absolute; inset: 0 0 30px; overflow: hidden; }
.hp-card .hp-art svg, .hp-card .hp-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.hp-card .hp-band { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; display: flex; align-items: center; justify-content: center; border-top: 2px solid var(--edge); background: #0f1520; }
.hp-card .hp-band b { font-size: 11px; letter-spacing: .16em; padding-left: .16em; }
.hp-card .hp-pad { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: none; align-items: center; justify-content: center; background: rgba(11, 16, 23, .8); box-shadow: inset 0 0 0 1px #454f60; }
.hp-card:hover:not(.locked) { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--violet-l); }
.hp-card.locked { cursor: not-allowed; }
.hp-card.locked .hp-art { filter: grayscale(1) brightness(.35); }
.hp-card.locked .hp-band b { color: #687790; }
.hp-card.locked .hp-pad { display: flex; }
.hp-card.sel { box-shadow: inset 0 0 0 2px var(--violet-l), 0 0 18px rgba(77, 130, 255, .35); }
.hp-card.sel .hp-band { border-top-color: var(--violet-l); background: rgba(77, 130, 255, .2); }
.hp-card.in { box-shadow: inset 0 0 0 2px var(--lime), 0 0 18px rgba(184, 245, 60, .25); }
.hp-card.in .hp-band { border-top-color: var(--lime); background: rgba(184, 245, 60, .14); }
.hp-card.in .hp-band b { color: var(--lime); }
.hp-card.in .hp-pad { display: flex; background: var(--lime); box-shadow: none; }
.hp-pick.is-in .hp-card:not(.in) { opacity: .45; cursor: default; }
.hp-pick.is-in .hp-card:not(.in):hover { transform: none; box-shadow: inset 0 0 0 1px var(--edge); }
.hp-side { margin-left: auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 8px; min-width: 180px; text-align: right; }
.hp-cur { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.hp-cur b { font-size: 20px; letter-spacing: .2em; }
.hp-k { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hp-pick.is-in .hp-k { color: var(--lime); }
.hp-pick.is-in .hp-cur b { color: var(--lime); }
@media (max-width: 700px) { .hp-side { margin-left: 0; align-items: flex-start; text-align: left; width: 100%; } .hp-cur { align-items: flex-start; } }

/* the loading screen: the teams and their heroes under the logo */
.gload .hp-teams { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; margin-top: 18px; }
.gload .hp-team { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gload .hp-team > .team-tag { font-size: 12px; letter-spacing: .08em; }
.gload .hp-row { display: flex; gap: 12px; }
.gload .hp-vs { font-size: 22px; font-weight: 700; letter-spacing: .24em; color: #687790; }
.gload .hp-lc { width: 124px; text-align: center; }
.gload .hp-lc .hp-art { height: 184px; border-radius: 10px; overflow: hidden; background: #0c111b; box-shadow: inset 0 0 0 1px var(--edge); border-bottom: 3px solid var(--tc); }
.gload .hp-lc .hp-art svg, .gload .hp-lc .hp-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.gload .hp-lc b { display: block; margin-top: 7px; font-size: 13px; letter-spacing: .2em; padding-left: .2em; color: var(--text); }
.gload .hp-lc .hp-p { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 3px; font-size: 12px; color: #9facc4; }
.gload .hp-lc .hp-p .avatar { width: 18px; height: 18px; font-size: 9px; }
.gload .hp-lc .hp-st { font-size: 10px; letter-spacing: .16em; color: #687790; margin-top: 2px; }
.gload .hp-lc .hp-st.ok { color: var(--lime); }

@media (max-width: 900px) {
  .gload .hp-lc { width: 92px; } .gload .hp-lc .hp-art { height: 136px; }
}
@media (max-width: 700px) { .gload .hp-teams { flex-direction: column; gap: 14px; } }

/* compact room: the hero bar, the slots and the map stacked flush, square, no column titles */
#roomView .mpanel { border-radius: 0; margin: 0; }
#roomView .mpanel + .mpanel { border-top: 0; }
#roomView .room { gap: 0; }
.hp-head { display: flex; align-items: center; gap: 10px; }
.hp-head h2 { text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.hp-head .hp-sep { color: var(--edge); font-size: 18px; }
.hp-head .hp-fl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hp-head .hp-tabs { margin: 0; border: 0; gap: 2px; }
.hp-head .hp-tabs button { font-size: 12px; letter-spacing: .14em; font-weight: 700; padding: 3px 10px; }
.hp-head .hp-tabs button.on { border-bottom-color: var(--violet-l); }
.hp-head .push { margin-left: auto; }
.hp-body { padding: 10px 14px; }

/* the faction, plain to see: its label bright, its tab framed like the site's buttons */
.hp-head .hp-fl { font-size: 12px; font-weight: 700; color: #c6d4f0; letter-spacing: .16em; }
.hp-head .hp-tabs button { color: #ffffff; background: rgba(77, 130, 255, .28); border: 0; padding: 4px 16px 4px 10px; font-size: 12px; letter-spacing: .16em;
  clip-path: polygon(6px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%, 0 6px); }
.hp-head .hp-tabs button.on { background: var(--violet); color: #ffffff; box-shadow: 0 0 14px rgba(77, 130, 255, .5); }
.hp-head .hp-tabs button:hover:not(.on) { background: rgba(77, 130, 255, .45); color: #ffffff; }

/* a player's colour: a frame shaped like the site's buttons, the colour as a square in it */
#roomView .swatch.hp-col { --sh: polygon(7px 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 0 7px);
  width: 64px; height: 30px; padding: 1.5px; border: 0; border-radius: 0; box-shadow: none; background: #4a679c; clip-path: var(--sh); }
#roomView .swatch.hp-col .hp-in { display: flex; align-items: center; height: 100%; padding-left: 9px; background: #0f1520; clip-path: var(--sh); }
#roomView .swatch.hp-col i { display: block; width: 26px; height: 16px; background: var(--c); filter: saturate(1.3) brightness(1.1); box-shadow: 0 0 10px var(--c); }
#roomView .swatch.hp-col:not(:disabled) { cursor: pointer; background: var(--violet-l); }
#roomView .swatch.hp-col:not(:disabled):hover { background: var(--lime); }
#roomView .swatch.hp-col:disabled { opacity: 1; }

/* Ready: a larger tick */
#roomView .slots .tick { width: 28px; height: 28px; }
#roomView .slots .tick i { width: 28px; height: 28px; border-radius: 5px; }
#roomView .slots .tick.on i::after { width: 7px; height: 14px; margin: 3px 0 0 9px; border-width: 0 4px 4px 0; }
#roomView .slots .tick-space { width: 28px; }
.hp-card.in:hover { box-shadow: inset 0 0 0 2px #ffffff, 0 0 18px rgba(184, 245, 60, .3); }      /* (her card locked in: a click unlocks) */

/* the slots: fixed columns, the same whatever they hold (a hero picked or not, a longer name) */
#roomView .slots { table-layout: fixed; }
#roomView .slots col.hp-c-slot { width: 12%; }
#roomView .slots col.hp-c-team { width: 14%; }
#roomView .slots col.hp-c-start { width: 12%; }
#roomView .slots col.hp-c-col { width: 96px; }
#roomView .slots td { height: 57px; overflow: hidden; }
#roomView .slots .who-cell .hp-nm { min-width: 0; }
#roomView .slots .who-cell .hp-nm > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the whole card framed (over its picture), not only its name band */
.hp-card::after { content: ""; position: absolute; inset: 0; border-radius: 9px; pointer-events: none; z-index: 2; box-shadow: inset 0 0 0 1px var(--edge); }
.hp-card:hover:not(.locked)::after { box-shadow: inset 0 0 0 1px var(--violet-l); }
.hp-card.in::after { box-shadow: inset 0 0 0 2px var(--lime); }
.hp-card.in:hover::after { box-shadow: inset 0 0 0 2px #ffffff; }
.hp-card .hp-pad { z-index: 3; }
#roomView .slots td:first-child { padding-left: 14px; }

/* the hero cards: side by side, no gap, square */
.hp-list { gap: 0; padding: 0; }
.hp-card, .hp-card::after { border-radius: 0; }
.hp-card:hover:not(.locked) { transform: none; }
.hp-card.in, .hp-card:hover { z-index: 1; }
.hp-list .hp-card.in::after { box-shadow: inset 0 0 0 2px var(--lime); }
.hp-list .hp-card.in:hover::after { box-shadow: inset 0 0 0 2px #ffffff; }
/* no frame on the cards: only the one locked in is framed */
.hp-list .hp-card { box-shadow: none; }
.hp-list .hp-card::after, .hp-list .hp-card:hover:not(.locked)::after { box-shadow: none; }
.hp-list .hp-card:hover:not(.locked):not(.in) { box-shadow: none; filter: brightness(1.25); }
.hp-list .hp-card.in::after { box-shadow: inset 0 0 0 2px var(--lime); }
.hp-list .hp-card.in:hover::after { box-shadow: inset 0 0 0 2px #ffffff; }
.hp-list .hp-card.in .hp-pad { display: none; }      /* (selected: its frame only; the padlock is for heroes not available) */
.hp-head .hp-tabs { gap: 4px; }
.hp-head .hp-tabs button.hp-fx { background: rgba(255, 255, 255, .05); color: #687790; cursor: not-allowed; display: inline-flex; align-items: center; gap: 5px; }
.hp-head .hp-tabs button.hp-fx:hover { background: rgba(255, 255, 255, .08); color: #8390a8; }
.hp-card .hp-art img, .hp-ava .hp-face img, .gload .hp-lc .hp-art img { object-position: 50% 14%; }
.hp-ava .hp-face img { object-position: 50% 10%; transform: scale(1.6); transform-origin: 50% 12%; }
.hp-head h2 { white-space: nowrap; }

/* the room's options kept for administrators (the AI templates): in the admin orange */
.opts label.adm-opt { color: #f0902a !important; }
.opts label.adm-opt select { color: #f0902a !important; border-color: #f0902a !important; }

/* 0.8.155: hero pick — any card switches; the panel keeps one height (no jump) */
.hp-pick.is-in .hp-card:not(.in) { opacity: 1; cursor: pointer; }
.hp-pick.is-in .hp-card.locked:not(.in) { cursor: not-allowed; }
.hp-head { flex-wrap: nowrap; height: 44px; min-height: 44px; box-sizing: border-box; overflow: hidden; }
.hp-head #hpNote { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.hp-body { flex-wrap: nowrap; height: 158px; box-sizing: border-box; overflow: hidden; }
.hp-list { flex: 1 1 auto; min-width: 0; height: 138px; overflow-y: hidden; }
.hp-side { flex: 0 0 180px; }
#hpSide[hidden] { display: flex !important; visibility: hidden; }
@media (max-width: 700px) { .hp-body { height: auto; flex-wrap: wrap; } .hp-side { flex: 1 1 100%; } #hpSide[hidden] { display: none !important; } }
.who-cell select.hp-aisel { font-size: 11px; letter-spacing: .12em; font-weight: 600; color: var(--lime); padding: 1px 4px; margin-top: 2px; max-width: 120px; }
/* games list: the card and its name only (0.8.176) */
.gc-body.gc-only { padding: 10px 14px 12px; flex: 0; }
/* lobby (0.8.176): a compact title bar, the chat at the bottom, the Start button in two looks */
.lobby-head.lh-bar { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-bottom: 10px; padding-bottom: 8px; }
.lobby-head.lh-bar .lh-thumb { width: 72px; height: 40px; border-radius: 6px; object-fit: cover; }
.lobby-head.lh-bar h1 { font-size: 20px; }
.lh-ver { color: #ffb35c; border-color: #8a5a20; }
.lobby-chat { margin-top: 18px; }
.lobby-chat h2 { margin: 0 0 8px; }
.lobby-chat .chatlog { max-height: 220px; }
.startwrap { display: inline-flex; transition: filter .3s ease; }
.room-head #startBtn.st-wait, .room-head #startBtn.st-wait:disabled { opacity: 1; color: #e8f0ff; cursor: default;
  background: linear-gradient(100deg, #2f6fd8 0%, #2a5fc4 72%, #3f9f6a 100%); }
.room-head #startBtn.st-go { color: #06210f; font-weight: 700; background: linear-gradient(180deg, #7dff8f, #34c35a); }
.startwrap:has(#startBtn.st-go) { filter: drop-shadow(0 0 6px rgba(110, 255, 140, .9)) drop-shadow(0 0 14px rgba(80, 230, 120, .55)); animation: ig-startglow 1.4s ease-in-out infinite; }
@keyframes ig-startglow { 50% { filter: drop-shadow(0 0 9px rgba(140, 255, 160, 1)) drop-shadow(0 0 22px rgba(80, 230, 120, .75)); } }
/* lobby (0.8.177): hero selection in the right column (in a game room), who is online under the chat as a flow of small chips */
.lobby-grid:not(:has(#hpPick:not([hidden]))) { grid-template-columns: 1fr; }
.lobby-grid > aside.hero-side .hp-head { flex-wrap: wrap; row-gap: 6px; }
.lobby-grid > aside.hero-side .hp-pick { margin: 0; }
.lobby-online { margin-top: 14px; }
.lobby-online h2 { margin: 0 0 8px; }
.lobby-online .players { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10, 14, 21, .45); }
.lobby-online .player { padding: 3px 9px 3px 6px; gap: 6px; border-radius: 7px; font-size: 13px; }
.lobby-online .player.busy { border-color: #6a5a20; }
.lobby-online .player .dot { width: 7px; height: 7px; }
/* hero selection (0.8.178): three framed parts, one under the other: faction, hero, the one selected */
.hp-pick .hp-frame { margin: 8px 10px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10, 14, 21, .35); }
.hp-pick .hp-frame > .mp-head { padding: 6px 10px; border-bottom: 1px solid var(--line); }
.hp-pick .hp-frame > .mp-head h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.hp-pick .hp-frame > .hp-tabs { padding: 8px 10px; flex-wrap: wrap; }
.hp-pick .hp-frame > .hp-list { padding: 10px; flex-wrap: wrap; overflow: visible; }
.hp-pick .hp-side { display: flex; gap: 14px; align-items: center; padding: 10px; }
.hp-pick .hp-side[hidden], .hp-pick .hp-none[hidden] { display: none; }
.hp-pick .hp-big { width: 120px; height: 160px; flex: none; border-radius: 9px; overflow: hidden; background: #0c111b; box-shadow: inset 0 0 0 2px var(--lime), 0 0 18px rgba(184, 245, 60, .2); }
.hp-pick .hp-big img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hp-pick .hp-cur { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.hp-pick .hp-cur b { color: var(--lime); letter-spacing: .14em; font-size: 15px; }
.hp-pick .hp-none { padding: 12px 10px; }
/* the chat (0.8.179): the lobby's in the lobby, the game room's in the game room */
#chatLog[data-v="lobby"] .line.sc-room, #chatLog[data-v="lobby"] .line.sc-match, #chatLog[data-v="room"] .line.sc-lobby, #chatLog[data-v="room"] .line.sc-match { display: none; }
#chatScope[hidden] { display: none; }
#chatLog .line.other { display: none; }

/* Admin > Users: who is around (two columns), the Members box and its tabs, the stats */
.u-around h2, .u-box h2 { margin: 0 0 10px; }
.u-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.u-cols .lobby-online { margin: 0; }
.u-cols h3 { margin: 0 0 8px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.u-cols .player .muted { margin-left: 2px; }
.u-cols .dot.on.bg { background: #c9a03a; box-shadow: 0 0 5px #c9a03a; }
.u-box { padding: 0; overflow: hidden; }
.u-box > h2 { padding: 14px 16px 0; }
.u-pane { padding: 14px 16px; }
.ustats td.good { color: var(--good, #7dff4a); }
.ustats td.bad { color: var(--bad, #ff6a7a); }
/* Admin > Game reports: a match's videos (recorded in its replay), under its row */
.rep-vids td { padding: 8px 14px; background: rgba(10, 14, 21, .45); }
.rep-vid { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 3px 0; }

/* ---------------------------------------------------------------- Admin > Workspace and EDW maps */
a.nb-upd.nb-ws { background: linear-gradient(180deg, #b8f0ff, #6fcfe8); margin-right: 4px; }
a.nb-upd.nb-ws.on { background: linear-gradient(180deg, #e2fbff, #9be4f5); }
.ws-list td { vertical-align: middle; }
.ws-list .ws-sep td { background: rgba(255, 210, 110, .06); }
.ws-sepline { color: rgba(255, 210, 110, .85); letter-spacing: .08em; font-size: 12px; }
.ws-list .ws-fixed td { opacity: .7; }
.ws-ord button { padding: 2px 8px; margin-right: 3px; }
.ws-mod { display: inline-flex; gap: 6px; align-items: center; }
.edw-build { margin: 14px 0; }
.edw-build h2 { margin: 0 0 8px; font-size: 16px; }
.edw-maps .edw-archived td { opacity: .55; }
.edw-maps .edw-admin td:first-child b { color: #ffd27a; }
.edw-maps .edw-mod td:first-child b { color: #9fd8ff; }
/* Workspace: Admin bar / User bar tabs, the user bar's list (0.8.377) */
.ws-tabs { margin: 6px 0 16px; }
.ws-list tr.ub-off td:first-child, .ws-list tr.ub-off td:nth-child(3) { opacity: .45; }
.ub-list select { width: auto; padding: 4px 8px; }
/* Admin > Forum: groups and categories, the icon lists, the permissions (0.8.378) */
.fa-list td { vertical-align: middle; }
.fa-list select, .fa-perm select { width: auto; max-width: 150px; padding: 4px 6px; }
.fa-list .ws-ord { white-space: nowrap; }
.fa-nd { width: 100%; }
.fa-nd input { display: block; width: 100%; margin: 2px 0; padding: 5px 8px; }
.fa-nd input + input { font-size: 12px; color: var(--muted); }
.fa-grp td { background: rgba(255, 210, 110, .06); }
.fa-cat td:first-child { padding-left: 22px; }
.fa-n a { color: var(--muted); }
.fa-rm { white-space: nowrap; }
.fa-ico { width: 32px; height: 32px; image-rendering: pixelated; vertical-align: middle; }
.fa-pick { position: relative; display: inline-block; }
.fa-pick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 8px; }
.fa-pick summary::-webkit-details-marker { display: none; }
.fa-pick .pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; display: grid; grid-template-columns: repeat(5, 42px); gap: 4px; padding: 8px; background: #1a140c; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9); }
.fa-pick label { position: relative; cursor: pointer; }
.fa-pick label input { position: absolute; opacity: 0; pointer-events: none; }
.fa-pick label img { width: 38px; height: 38px; image-rendering: pixelated; border-radius: 6px; padding: 2px; display: block; }
.fa-pick label:hover img { background: rgba(255, 210, 110, .12); }
.fa-pick label input:checked + img { outline: 2px solid var(--amber-l, #ffd27a); background: rgba(255, 210, 110, .14); }
.fa-h2 { font-size: 15px; margin: 24px 0 8px; }
.fa-add { display: grid; grid-template-columns: auto 1fr 2fr auto auto; gap: 8px; align-items: center; }
.fa-add input[type=text], .fa-add select { padding: 6px 8px; width: auto; }
.fa-add input[type=text] { width: 100%; }
.fa-up { align-items: center; gap: 10px; }
.fa-dlg { margin: 0 0 16px; padding: 12px 14px; border: 1px solid rgba(255, 120, 90, .35); border-radius: 12px; background: rgba(180, 64, 90, .08); }
.fa-perm td { vertical-align: middle; }
.fa-perm td:not(:first-child), .fa-perm th:not(:first-child) { text-align: center; width: 140px; }
.fa-perm .lk { opacity: .55; }
.fa-perm input[type=number] { width: 88px; padding: 4px 6px; text-align: center; }
.fa-perm tr.sec td { background: rgba(255, 210, 110, .06); color: rgba(255, 210, 110, .85); letter-spacing: .08em; font-size: 12px; text-transform: uppercase; }

/* ---------------------------------------------------------------- the loading screen (Halo): the map, the teams in their frames, VS, the light of the first two sides */
.gload.ld { flex-direction: column; overflow: hidden; padding: 24px 16px 92px; background: #0a111c url(../img/load_bg.webp) center / cover no-repeat; }
.gload.ld::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(6, 11, 20,.15), rgba(6, 11, 20,.72) 100%), linear-gradient(180deg, rgba(6, 11, 18,.55), transparent 22%, transparent 70%, rgba(6, 11, 18,.85)); }
.gload.ld::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: radial-gradient(40% 55% at 12% 55%, color-mix(in srgb, var(--ca, #2f7bff) 30%, transparent), transparent 70%), radial-gradient(40% 55% at 88% 55%, color-mix(in srgb, var(--cb, #e63030) 30%, transparent), transparent 70%); }
.gload.ld .loader { position: static; z-index: 1; gap: 0; }
.gload.ld .loader > * { position: relative; z-index: 1; }
.ld-top { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 26px; }
.ld-map { font: 700 13px "Chakra Petch", sans-serif; letter-spacing: .32em; padding-left: .32em; color: #e5ebf7; text-transform: uppercase; }
.ld-map:empty, .ld-mode:empty { display: none; }
.ld-mode { font: 600 11px "Chakra Petch", sans-serif; letter-spacing: .22em; color: #8d9db8; text-transform: uppercase; }
.ld-mode i { font-style: normal; color: #4f5d74; margin: 0 6px; }
.ld-teams { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.ld-team { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ld-tag { font: 700 11px "Chakra Petch", sans-serif; letter-spacing: .28em; padding: 0 0 5px .28em; text-transform: uppercase; color: color-mix(in srgb, var(--tc) 55%, #ffffff); border-bottom: 2px solid var(--tc); }
.ld-row { display: flex; gap: 14px; }
.ld-vs { position: relative; width: 58px; height: 58px; display: grid; place-items: center; font: 700 18px "Chakra Petch", sans-serif; letter-spacing: .1em; padding-left: .1em; color: #e5ebf7; }
.ld-vs::before { content: ""; position: absolute; inset: 9px; transform: rotate(45deg); border: 1.5px solid rgba(229, 235, 247,.55); background: rgba(10, 18, 24,.6); box-shadow: 0 0 18px rgba(120, 183, 255,.25); }
.ld-vs::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 188, 255,.22), transparent 65%); animation: ld-breathe 7s ease-in-out infinite alternate; }
.ld-vs span { position: relative; z-index: 1; }
/* a hero: the frame (two corners cut, the team's edge), a reflection in the team's colour running round it, the name on an arrow plate */
.ld-c { --k: 14px; --cw: min(var(--w, 168px), calc((100vw - 60px) / var(--n, 2))); position: relative; isolation: isolate; width: var(--cw); text-align: center; animation: ld-in .45s ease-out both; }
.ld-b .ld-c { animation-name: ld-inr; }
.ld-c::before, .ld-c::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1.5px solid color-mix(in srgb, var(--tc) 60%, #ffffff); opacity: .6; animation: ld-tick 6s ease-in-out infinite alternate; }
.ld-c::before { top: -5px; right: -5px; border-left: 0; border-bottom: 0; }
.ld-c::after { top: calc(var(--cw) * 839 / 600 - 4px); left: -5px; border-right: 0; border-top: 0; }
.ld-glow { position: absolute; left: -14%; right: -14%; top: 58%; height: 52%; z-index: -1; pointer-events: none; opacity: .35;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--tc) 55%, transparent), transparent 70%); animation: ld-glow 8s ease-in-out infinite alternate; animation-delay: var(--d2); }
.ld-fr { position: relative; isolation: isolate; padding: 2px; clip-path: polygon(var(--k) 0, 100% 0, 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, 0 100%, 0 var(--k));
  background: linear-gradient(165deg, var(--tc), rgba(255, 255, 255,.18) 30%, rgba(255, 255, 255,.05) 60%, var(--tc)); }
.ld-fr::before, .ld-ref { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; margin: -80% 0 0 -80%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 62%, color-mix(in srgb, var(--tc) 20%, transparent) 70%, color-mix(in srgb, var(--tc) 55%, #ffffff) 80%, color-mix(in srgb, var(--tc) 20%, transparent) 88%, transparent 94%);
  animation: ld-spin 9s linear infinite; animation-delay: var(--d2); }
.ld-fr::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: #ffffff; }
.ld-art { position: relative; aspect-ratio: 600 / 839; overflow: hidden; background: #0c111b;
  clip-path: polygon(calc(var(--k) - 1px) 0, 100% 0, 100% calc(100% - var(--k) + 1px), calc(100% - var(--k) + 1px) 100%, 0 100%, 0 calc(var(--k) - 1px)); }
.ld-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 0; }
.ld-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--tc) 50%, transparent), transparent 38%); }
.ld-art::before { content: ""; position: absolute; z-index: 1; left: 18%; right: 18%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255,.9), transparent); }
.ld-plate { position: relative; isolation: isolate; overflow: hidden; margin: -14px 12px 0; padding: 6px 12px 6px 14px;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); background: color-mix(in srgb, var(--tc) 40%, rgba(255, 255, 255,.08)); }
.ld-plate .ld-ref { z-index: -2; width: 130%; margin: -65% 0 0 -65%; animation-delay: var(--d); }
.ld-pf { position: absolute; z-index: -1; inset: 1px; clip-path: polygon(7.5px 0, calc(100% - 7.5px) 0, 100% 50%, calc(100% - 7.5px) 100%, 7.5px 100%, 0 50%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 22%, #0c141a), #0c141a 70%); box-shadow: inset 0 2px 0 var(--tc); }
.ld-plate::before, .ld-plate::after { content: ""; position: absolute; top: 50%; width: 4px; height: 4px; margin-top: -2px; transform: rotate(45deg); background: color-mix(in srgb, var(--tc) 60%, #ffffff); opacity: .8; }
.ld-plate::before { left: 12px; } .ld-plate::after { right: 12px; }
.ld-nm { display: block; font: 700 13px "Chakra Petch", sans-serif; letter-spacing: .2em; padding-left: .2em; color: #dfe4f0; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-pl { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 5px; font-size: 12px; color: #b3bfd4; }
.ld-pl .avatar { width: 18px; height: 18px; font-size: 9px; }
.gload.ld-sm .ld-plate { margin: -14px 4px 0; padding: 5px 8px; } .gload.ld-sm .ld-plate::before, .gload.ld-sm .ld-plate::after { display: none; } .gload.ld-sm .ld-nm { font-size: 12px; letter-spacing: .1em; padding-left: .1em; }
/* the bottom: the bar and the step */
.gload.ld .loader > .ld-foot { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gload.ld .gbar { width: min(420px, 80vw); height: 4px; margin: 0; background: rgba(30, 45, 60,.8); }
.ld-step { font: 600 11px "Chakra Petch", sans-serif; letter-spacing: .2em; color: #8d9db8; text-transform: uppercase; }
.ld-foot #gSeed:empty { display: none; }
.gload.ld.go .ld-fr::after { animation: ld-flash .9s ease-out 1; }
@keyframes ld-in { from { opacity: 0; transform: translateX(-24px); } }
@keyframes ld-inr { from { opacity: 0; transform: translateX(24px); } }
@keyframes ld-spin { to { transform: rotate(360deg); } }
@keyframes ld-breathe { from { opacity: .3; } to { opacity: .6; } }
@keyframes ld-glow { from { opacity: .25; } to { opacity: .45; } }
@keyframes ld-tick { from { opacity: .45; } to { opacity: .75; } }
@keyframes ld-flash { 0% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ld-c, .ld-c *, .ld-c::before, .ld-c::after, .ld-fr::before, .ld-vs::after { animation: none !important; } }
@media (max-width: 700px) { .gload.ld { justify-content: flex-start; overflow-y: auto; padding-bottom: 24px; } .ld-teams { flex-direction: column; gap: 14px; } .ld-row { gap: 8px; } .gload.ld .loader > .ld-foot { position: static; margin-top: 26px; } .ld-c::after { display: none; } }

/* ---------------------------------------------------------------- 0.8.458: the admin panel's menu, in its page under the title (the header: the same as on every page) */
.adm-nav { position: relative; display: flex; align-items: stretch; height: 46px; margin: 2px 0 22px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 190, 70, .06), rgba(0, 0, 0, .28)); box-shadow: inset 0 1px 0 rgba(255, 216, 77, .08); }
.adm-nav .nb-menu { flex: 1 1 0; min-width: 0; display: flex; align-items: stretch; margin: 0 !important; padding: 0 4px 0 8px !important; clip-path: none !important; }
.adm-nav .nb-menu::after { display: none; }
.adm-nav nav.nb-tabs a { font-size: 15px; padding: 0 12px; }
.adm-nav a.nb-upd { margin: 8px 6px 8px 0; }
.adm-nav.nb-mod { border-color: rgba(127, 232, 216, .3); }
body.admin:not(.lobby) .adm-nav.nb-mod .nb-menu { background: linear-gradient(0deg, rgba(127, 232, 216, .18), rgba(127, 232, 216, .04) 45%, transparent); }
@media (max-width: 700px) { .adm-nav { height: 42px; } .adm-nav nav.nb-tabs a { font-size: 14px; padding: 0 10px; } }

/* Beta test news (the forum): a framed button of its own, after the header's menu (never sent to More) */
a.nb-bt { flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; gap: 8px; height: 30px; margin: 0 8px 0 0; padding: 0 14px 0 11px; white-space: nowrap;
  border: 1px solid rgba(184, 245, 60, .55); border-radius: 6px; color: #e9ffc0; font: 700 12px/1 "Chakra Petch", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(184, 245, 60, .15), rgba(184, 245, 60, .04)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45), 0 0 14px rgba(184, 245, 60, .12); transition: background .15s, border-color .15s; }
a.nb-bt i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--lime, #b8f53c); box-shadow: 0 0 8px rgba(184, 245, 60, .9); }
a.nb-bt:hover { text-decoration: none; color: #ffffff; border-color: var(--lime, #b8f53c); background: rgba(184, 245, 60, .22); }
a.nb-bt.on { color: #12161f; border-color: transparent; background: linear-gradient(180deg, #d6f77a, var(--lime, #b8f53c)); box-shadow: 0 0 16px rgba(184, 245, 60, .35); }
a.nb-bt.on i { background: #12161f; box-shadow: none; }
.nb .admin-btn.on { box-shadow: 0 0 0 1px rgba(255, 216, 77, .9), 0 0 14px rgba(255, 216, 77, .35); }
@media (max-width: 700px) { a.nb-bt { padding: 0 9px; font-size: 11px; letter-spacing: .05em; } }

/* ---------------------------------------------------------------- 0.8.459: the header with the logo alone (Site admin > UI details); Site admin's panel */
.nb.nb-logo-only .nb-brand { padding-right: calc(var(--tip) + 14px); }
.sa-box form[hidden] { display: none; }
.sa-ui { display: grid; gap: 10px; }
.sa-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; max-width: 720px; }
.sa-row:hover { border-color: var(--amber-l, #ffc266); }
.sa-row { display: flex !important; justify-content: flex-start; text-align: left; } .sa-row input[type=checkbox] { width: auto !important; flex: 0 0 auto; margin: 3px 0 0 !important; }
.sa-row > span { display: grid; gap: 2px; justify-items: start; flex: 1 1 auto; }
.sa-act { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.mt-dot { margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 11px; letter-spacing: .08em; background: #3a2608; color: #ffc46a; border: 1px solid #8a5a14; }

/* 0.8.460: Admin > Admin in tabs */
.dash-tabs { margin: 0 0 16px; flex-wrap: wrap; }
.dt-pane[hidden] { display: none; }
.dt-pane > .mpanel:first-child { margin-top: 0; }
.dash-tabs .mt-dot { font-weight: 700; }

/* 0.8.461: the admin panel compact: a tighter box with small corners, the title small in the corner with the live numbers beside it, a slimmer menu */
body.admin:not(.lobby):has(.nb-adm) main.wide { margin: 12px auto 32px; padding: 12px 18px 26px; border-radius: 6px; }
body.admin:not(.lobby):has(.nb-adm) main.wide::before { left: 12px; right: 12px; }
@media (max-width: 1200px) { body.admin:not(.lobby):has(.nb-adm) main.wide { margin: 8px 8px 24px; padding: 10px 12px 22px; } }
.adm-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 0 0 8px; }
.adm-head h1 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold, #ffd84d); line-height: 1.2; }
.adm-live { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.adm-live b { color: var(--text); font-size: 13px; font-weight: 700; min-width: 1ch; }
.adm-live i { width: 4px; height: 4px; margin: 0 8px; transform: rotate(45deg) translateY(-2px); background: rgba(255, 210, 110, .55); align-self: center; }
.adm-nav { height: 38px; margin: 0 0 14px; border-radius: 5px; }
.adm-nav nav.nb-tabs a { font-size: 14px; padding: 0 11px; }
.adm-nav a.nb-upd { margin: 6px 5px 6px 0; font-size: 11px; }
.dash-tabs { margin: 0 0 12px; }

/* 0.8.464: the game mode of a game in the lobby's list */
.gm-tag { margin-left: 8px; padding: 1px 7px; border-radius: 4px; font: 700 10px/1.5 "Chakra Petch", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #c8d3e8; border: 1px solid rgba(139, 176, 255, .35); background: rgba(77, 130, 255, .1); }
.gm-tag.gm-horde { color: #8ff5ea; border-color: rgba(47, 230, 210, .45); background: rgba(47, 230, 210, .1); }

/* =====================================================================================================================
   (0.8.556) the new styling: the header in the game's steel (content/img/ui/h3_*.png, at 2x), then the HUD details
   ===================================================================================================================== */
/* (0.8.557: the site's purples moved 33 degrees toward blue, the background glow teal-blue, the header pictures 22 degrees toward purple)
   (0.8.556) the header: its structure (logo block > menu > you, chevron joints) (logo block > menu > you, chevron joints) in the game's steel: h3_*.png at 2x */
:root { --band: 52px; --tp: 16px; }
.nb { --acc: var(--lime); --acc-rgb: 184, 245, 60; }
.nb-adm { --acc: #ffd84d; --acc-rgb: 255, 216, 77; } .nb-mod { --acc: #7fe8d8; --acc-rgb: 127, 232, 216; }
body.admin header.bar.nb { height: 52px; min-height: 52px; border: 0 !important; overflow: visible; align-items: stretch !important; background: #05070b !important; }
.nb .nb-brand, .nb .nb-menu, .nb .nb-who { clip-path: none !important; height: 52px; box-sizing: border-box; align-self: stretch; margin-top: 0 !important; }
/* the logo block */
.nb .nb-brand { flex: 0 0 100px; width: 100px; padding: 0 0 0 20px !important; justify-content: flex-start; background: url("../img/ui/h3_brand.png") 0 0 / 100px 52px no-repeat !important; }
.nb .nb-brand .ig-logo svg { width: 34px !important; height: 34px !important; }
.nb .nb-brand .ig-logo { filter: drop-shadow(0 0 6px rgba(184, 245, 60, .45)); }
/* the menu segment: a notch, a middle that repeats, a point */
.nb .nb-menu { margin-left: calc(var(--tp) * -1) !important; padding: 0 2px !important; border: solid transparent; border-width: 0 36px;
  background: url("../img/ui/h3_menu_l.png") left top / 36px 52px no-repeat border-box, url("../img/ui/h3_menu_r.png") right top / 36px 52px no-repeat border-box, url("../img/ui/h3_menu_m.png") 0 0 / 256px 52px repeat-x padding-box !important;
  background-clip: border-box, border-box, padding-box !important; background-origin: border-box, border-box, padding-box !important; align-items: center !important; }
/* the you segment: a notch, the middle, the bay that holds log out */
.nb .nb-who { margin-left: calc(var(--tp) * -1) !important; padding: 0 4px !important; gap: 6px; border: solid transparent; border-width: 0 72px 0 36px;
  background: url("../img/ui/h3_menu_l.png") left top / 36px 52px no-repeat border-box, url("../img/ui/h3_who_r.png") right top / 72px 52px no-repeat border-box, url("../img/ui/h3_menu_m.png") -128px 0 / 256px 52px repeat-x padding-box !important;
  background-clip: border-box, border-box, padding-box !important; background-origin: border-box, border-box, padding-box !important; align-items: center !important; }
/* the lit chevrons at the joints (the member's colour) */
.nb .nb-brand::after, .nb .nb-menu::after { content: ""; display: block !important; position: absolute; top: 0; bottom: 0; left: auto; width: calc(var(--tp) + 2.5px); pointer-events: none; z-index: 2;
  background: linear-gradient(180deg, rgba(var(--acc-rgb), .1), rgba(var(--acc-rgb), .95) 50%, rgba(var(--acc-rgb), .1)) !important;
  clip-path: polygon(0 0, 2.5px 0, 100% 50%, 2.5px 100%, 0 100%, var(--tp) 50%) !important; }
.nb .nb-brand::after { right: 5px; } .nb .nb-menu::after { right: -31px; }
/* tabs */
nav.nb-tabs { gap: 3px; align-items: center; overflow: visible; }
nav.nb-tabs a, .nb .nb-bt { position: relative; height: 30px; padding: 0 13px !important; align-self: center; font: 600 12px/30px "Chakra Petch", sans-serif !important; letter-spacing: .1em; text-transform: uppercase;
  color: #9fb0bf !important; background: none !important; border: 0 !important; border-radius: 0 !important; z-index: 0; box-shadow: none !important; }
nav.nb-tabs a::before, .nb .nb-bt::before { content: ""; position: absolute; inset: 0; z-index: -1; box-sizing: border-box; border-style: solid; border-width: 14px; border-image: url("../img/ui/h3_tab.png") 28 / 14px stretch; }
nav.nb-tabs a::after, .nb .nb-bt::after { content: ""; position: absolute; inset: 5px 7px; z-index: -2; background: linear-gradient(180deg, rgba(14, 20, 27, .9), rgba(8, 12, 17, .9)); display: block !important; width: auto !important; clip-path: none !important; }
nav.nb-tabs a:hover::before { border-image-source: url("../img/ui/h3_tab_hover.png"); }
nav.nb-tabs a:hover { color: #e2ecf3 !important; }
nav.nb-tabs a.on { color: #0a0f14 !important; text-shadow: 0 1px 0 rgba(255, 255, 255, .3); }
nav.nb-tabs a.on::before { border-image-source: url("../img/ui/h3_tab_on.png"); }
nav.nb-tabs a.on::after { background: linear-gradient(180deg, #ffffff 0%, var(--acc) 40%, rgba(var(--acc-rgb), .8)); }
nav.nb-tabs a.on .ico { filter: brightness(.3); }
.nb-ind { display: none !important; }
.nb-sep { width: 16px; height: 32px; margin: 0 3px; background: url("../img/ui/h3_sep.png") center / 16px 32px no-repeat !important; } .nb-sep::after, .nb-sep::before { display: none !important; }
.nb .nb-bt { color: #cbd7ff !important; } .nb .nb-bt i { display: none; }
.nb .nb-bt::after { background: linear-gradient(180deg, rgba(30, 46, 92, .95), rgba(16, 26, 52, .95)); }
/* the match block: hex ends */
.nb .nb-gb { height: 34px; margin-left: 6px; border: solid transparent !important; border-width: 0 20px !important; border-radius: 0; background: none !important; overflow: visible; padding: 0 2px; box-shadow: none !important;
  border-image: url("../img/ui/h3_match.png") 0 40 0 40 fill / 0 20px 0 20px stretch !important; }
.nb .nb-gb .gb-t { font-size: 11px; letter-spacing: .2em; color: #a0abff; border-right: 1px solid rgba(120, 150, 175, .3); padding: 0 10px; }
.nb .nb-gb .gb-tabs a { font: 600 12px "Chakra Petch", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9fb0bf; margin: 6px 0; }
.nb .nb-gb .gb-tabs a.on { color: #0a0f14; background: var(--acc); }
.nb .nb-gb .gb-m { border-left: 1px solid rgba(120, 150, 175, .3); margin: 6px 0; } .nb .gc-time { font: 700 14px "Chakra Petch", monospace; letter-spacing: .1em; color: var(--acc); }
.nb .nb-gb .gb-b { margin: 6px 0 6px 4px; font: 700 11px "Chakra Petch", sans-serif; letter-spacing: .14em; text-transform: uppercase; border: 0; }
body.ingame .nb .nb-gb .gb-b.gb-ab, .nb .nb-gb .gb-ab { background: #c23434 !important; color: #ffffff !important; }
/* you: a square socket, a plate */
.nb .me-chip { position: relative; height: 34px; align-items: center; background: none !important; border-radius: 0 !important; padding-right: 0;
  border: solid transparent !important; border-width: 0 10px 0 34px !important; border-image: url("../img/ui/h3_me.png") 0 20 0 68 fill / 0 10px 0 34px stretch !important; }
.nb .nb-who .me-chip .me-link { margin-left: -34px; padding: 0 8px 0 5px !important; gap: 14px; background: none !important; border: 0 !important; }
.nb .avatar.sm { width: 24px; height: 24px; border-radius: 1px; clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.nb .nb-who a.me-acc { font: 600 11px "Chakra Petch", sans-serif; letter-spacing: .14em; text-transform: uppercase; background: none !important; color: #9fb0bf !important; padding: 0 6px 0 10px; border-left: 1px solid rgba(120, 150, 175, .25); }
.nb .nb-who a.me-acc:hover { color: #e2ecf3 !important; }
/* the panel button: an arrow */
.nb .nb-who .admin-btn { position: relative; display: inline-flex; align-items: center; box-sizing: border-box; height: 28px; padding: 0 20px 0 14px !important; margin: 0 0 0 4px; font: 700 11px/1 "Chakra Petch", sans-serif !important; letter-spacing: .12em; text-transform: uppercase; color: #0a0f14 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; z-index: 0; clip-path: none !important; }
.nb .nb-who .admin-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; box-sizing: border-box; border-style: solid; border-width: 0 14px 0 10px; border-image: url("../img/ui/h3_admin_btn.png") 0 28 0 20 fill / 0 14px 0 10px stretch; }
.nb .nb-who .admin-btn::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #ffffff 0%, var(--acc) 40%, rgba(var(--acc-rgb), .8));
  clip-path: polygon(7.5px 4.2px, calc(100% - 12.8px) 4.2px, calc(100% - 5.4px) 50%, calc(100% - 12.8px) calc(100% - 4.2px), 4.2px calc(100% - 4.2px), 4.2px 7.5px); }
/* log out, in the bay */
.nb .nb-who form.inline { position: absolute; right: -61px; top: 0; height: 52px; width: 44px; display: flex; align-items: center; justify-content: center; margin: 0; }
.nb .nb-who .link { width: 44px; line-height: 1; text-align: center; white-space: nowrap; word-spacing: -3px; font: 700 10px "Chakra Petch", sans-serif !important; letter-spacing: .04em; color: #e4ebf2 !important; text-transform: uppercase; color: #9fb0bf !important; padding: 4px 0 !important; background: none !important; }
.nb .nb-who .link:hover { color: #ff8f8f !important; }
/* the user's painted logo block and log out bay carry the logo and the words: the live ones stay, unseen, for the click */
.nb .nb-brand { padding-left: 29px !important; }
.nb .nb-brand .ig-logo { opacity: 1; margin-top: 2.5px; }
.nb .nb-brand .ig-logo svg, .nb .nb-brand .ig-logo canvas { width: 27px !important; height: 27px !important; }
.nb .nb-brand:hover { filter: brightness(1.15); }
.nb .nb-who form.inline { right: -66px; width: 56px; }
.nb .nb-who .link { width: 56px; height: 22px; color: transparent !important; font-size: 0 !important; padding: 0 !important; border-radius: 0 !important;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%); }
.nb .nb-who .link:hover { background: rgba(255, 90, 90, .22) !important; }

/* HUD details: small technical marks on the site's existing frames (aurora). Frames stay; details are added. */
:root { --hc: rgba(139, 176, 255, .85); --hl: var(--lime, #b8f53c); --hs: 1.5px; }
body.admin:not(.lobby):has(.nb-adm) { --hc: rgba(255, 194, 102, .9); --hl: #ffd84d; }

/* bracket corners: 8 background layers, used by several frames (size --bk) */
:root { --bk: 12px; }
.mpanel, .card, .lcard, main.wide {
  --brk: linear-gradient(var(--hc), var(--hc)) left top / var(--bk) var(--hs) no-repeat, linear-gradient(var(--hc), var(--hc)) left top / var(--hs) var(--bk) no-repeat,
         linear-gradient(var(--hc), var(--hc)) right top / var(--bk) var(--hs) no-repeat, linear-gradient(var(--hc), var(--hc)) right top / var(--hs) var(--bk) no-repeat,
         linear-gradient(var(--hc), var(--hc)) left bottom / var(--bk) var(--hs) no-repeat, linear-gradient(var(--hc), var(--hc)) left bottom / var(--hs) var(--bk) no-repeat,
         linear-gradient(var(--hc), var(--hc)) right bottom / var(--bk) var(--hs) no-repeat, linear-gradient(var(--hc), var(--hc)) right bottom / var(--hs) var(--bk) no-repeat;
  /* a hatch, bottom right, and a tick ruler, bottom centre */
  --hatch: repeating-linear-gradient(135deg, rgba(139, 176, 255, .32) 0 1.5px, transparent 1.5px 5px) right 16px bottom 5px / 26px 5px no-repeat;
  --ruler: repeating-linear-gradient(90deg, rgba(139, 176, 255, .45) 0 1px, transparent 1px 8px) center bottom 4px / 120px 4px no-repeat;
}

/* ---- the page frame: tighter corners, big brackets, a ruler and hatches */
body.admin.lobby main.wide { --bk: 22px; --hs: 2px; border-radius: 4px;
  background: var(--brk), var(--ruler), var(--hatch), repeating-linear-gradient(45deg, rgba(139, 176, 255, .32) 0 1.5px, transparent 1.5px 5px) left 16px bottom 5px / 26px 5px no-repeat,
    linear-gradient(180deg, rgba(20, 26, 38, .93), rgba(13, 18, 27, .93)); }
body.admin:not(.lobby):has(.nb-adm) main.wide { --bk: 22px; --hs: 2px; border-radius: 4px;
  background: var(--brk), var(--ruler), linear-gradient(180deg, rgba(34, 25, 14, .94), rgba(22, 16, 10, .94)); }

/* ---- page titles: a square cluster before, a fine line after with a tick */
main.wide > h1, main.wide > .h1row h1, main.wide h1.titled { position: relative; padding-left: 20px;
  background: linear-gradient(var(--hl), var(--hl)) 0 50% / 5px 5px no-repeat, linear-gradient(var(--hc), var(--hc)) 7px calc(50% - 3px) / 4px 4px no-repeat,
    linear-gradient(var(--hc), var(--hc)) 7px calc(50% + 3px) / 4px 4px no-repeat, linear-gradient(rgba(139, 176, 255, .35), rgba(139, 176, 255, .35)) 13px 50% / 3px 3px no-repeat; }

/* ---- panels: small corners, brackets; the head gets a lit edge, an index notch and three square lights */
.mpanel, .card { --bk: 9px; border-radius: 3px !important; position: relative; }
body.admin.lobby .mpanel, body.admin.lobby .card { background: var(--brk), var(--hatch), rgba(10, 14, 21, .55); }
body.admin:not(.lobby) .mpanel, body.admin:not(.lobby) .card { background: var(--brk), var(--hatch), rgba(18, 22, 31, .92); }
.mp-head { position: relative; padding-left: 18px !important;
  background: linear-gradient(var(--hl), var(--hl)) 0 50% / 3px 55% no-repeat,
    linear-gradient(var(--hl), var(--hl)) right 12px center / 4px 4px no-repeat, linear-gradient(var(--hc), var(--hc)) right 18px center / 4px 4px no-repeat, linear-gradient(rgba(139, 176, 255, .3), rgba(139, 176, 255, .3)) right 24px center / 4px 4px no-repeat,
    repeating-linear-gradient(90deg, rgba(139, 176, 255, .5) 0 1px, transparent 1px 4px) left 18px bottom -1px / 40px 3px no-repeat,
    linear-gradient(90deg, rgba(77, 130, 255, .10), rgba(77, 130, 255, .02)) !important; }
.mp-head .r, .mp-head > button, .mp-head > a:last-child { margin-right: 22px; }
body.admin:not(.lobby):has(.nb-adm) .mp-head { background: linear-gradient(var(--hl), var(--hl)) 0 50% / 3px 55% no-repeat,
    linear-gradient(var(--hl), var(--hl)) right 12px center / 4px 4px no-repeat, linear-gradient(var(--hc), var(--hc)) right 18px center / 4px 4px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 194, 102, .5) 0 1px, transparent 1px 4px) left 18px bottom -1px / 40px 3px no-repeat,
    linear-gradient(90deg, rgba(240, 144, 42, .14), rgba(255, 216, 77, .03)) !important; }

/* ---- stat tiles: a tick scale under each, a corner mark */
.pf-stats .mp-pad > *, .pf-stats .st, .dr-cards .dr-card, .md-stats div { background-image: repeating-linear-gradient(90deg, rgba(139, 176, 255, .35) 0 1px, transparent 1px 6px), linear-gradient(var(--hc), var(--hc)) !important;
  background-size: 60% 3px, 5px 1.5px !important; background-position: 12px calc(100% - 4px), right 6px top 6px !important; background-repeat: no-repeat !important; }

/* ---- buttons (the violet arrows): three slanted slots before the tip, a bright top edge */
:is(button, .btn):not(.link, .mact, .on-chip, .dr-card, .chip, .card, .swatch, .palette button, .lgo, .on-tabs button, .on-stats button, .subtabs button, .admin-btn, .gb-b, .emo-btn, .lp-go) {
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .45) 0 1.5px, transparent 1.5px 4px), linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)), linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)) !important;
  background-size: 10px 45%, 100% 1px, 100% 1px !important; background-position: right 13px center, 0 0, 0 100% !important; background-repeat: no-repeat !important; padding-right: 30px !important; }
:is(button.ghost, .btn.ghost, .gbtn) { background-image: repeating-linear-gradient(115deg, rgba(139, 176, 255, .6) 0 1.5px, transparent 1.5px 4px) !important; background-size: 10px 45% !important; background-position: right 13px center !important; }

/* ---- fields: square corners, a lit bar on the left, a tick in the corner */
input[type=text], input[type=password], input[type=email], input[type=number], input[type=search], select, textarea { border-radius: 3px !important;
  background-image: linear-gradient(var(--hc), var(--hc)), linear-gradient(var(--hc), var(--hc)), linear-gradient(var(--hc), var(--hc)) !important;
  background-size: 2px 40%, 6px 1.5px, 1.5px 6px !important; background-position: 0 50%, right 2px bottom 2px, right 2px bottom 2px !important; background-repeat: no-repeat !important; }
select { background-image: linear-gradient(var(--hc), var(--hc)) !important; background-size: 2px 40% !important; background-position: 0 50% !important; }
input:focus, select:focus, textarea:focus { background-image: linear-gradient(var(--hl), var(--hl)), linear-gradient(var(--hl), var(--hl)), linear-gradient(var(--hl), var(--hl)) !important; }

/* ---- file pickers: a cut-corner plate */
input[type=file]::file-selector-button { font: 700 11px "Chakra Petch", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #dfe4f0; border: 0; padding: 7px 16px 7px 12px; margin-right: 10px; cursor: pointer;
  background: linear-gradient(var(--hc), var(--hc)) 0 0 / 100% 1px no-repeat, #1e273a; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
input[type=file]::file-selector-button:hover { background-color: #293a5a; }

/* ---- badges: cut corners, a lit notch */
.bt-badge { border-radius: 0 !important; clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  background-image: linear-gradient(var(--hl), var(--hl)) !important; background-size: 3px 3px !important; background-position: right 2px top 2px !important; background-repeat: no-repeat !important; }

/* ---- list rows (members, forum): a lit bar and a chevron on hover */
.mb-row, .fm-cat, table.list tr { position: relative; }
.mb-row:hover, .fm-cat:hover { background-image: linear-gradient(var(--hl), var(--hl)), linear-gradient(90deg, rgba(77, 130, 255, .12), transparent 60%) !important; background-size: 2px 70%, 100% 100% !important; background-position: 0 50%, 0 0 !important; background-repeat: no-repeat !important; }
.mb-row:hover::after, .fm-cat:hover::after { content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border: solid var(--hl); border-width: 2px 2px 0 0; transform: rotate(45deg); }

/* ---- tabs inside pages (admin sub-tabs, messages folders): a square marker on the open one */
:is(.subtabs, .on-tabs, .mtabs) :is(button, a).on { position: relative; }
:is(.subtabs, .on-tabs) :is(button, a).on::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--hl); box-shadow: 0 0 6px var(--hl); }
.pf-nt a.f.on { background-image: linear-gradient(var(--hl), var(--hl)) !important; background-size: 3px 60% !important; background-position: 0 50% !important; background-repeat: no-repeat !important; }

/* ---- the login / invitation box */
.lcard { --bk: 14px; --hs: 2px; border-radius: 4px !important; }

/* ---- the admin tab nav: its own orange button strip (not the header's steel) */
body.admin .adm-nav.nb { --o: #ff9a2e; --o2: #ffc061; height: 40px !important; min-height: 40px !important; margin: 2px 0 18px !important; border: 0 !important; border-radius: 0 !important; overflow: visible !important; align-items: center !important; padding: 0 10px 0 22px;
  background: linear-gradient(var(--o), var(--o)) 0 0 / 100% 1px no-repeat, linear-gradient(rgba(255, 154, 46, .45), rgba(255, 154, 46, .45)) 0 100% / 100% 1px no-repeat,
    linear-gradient(90deg, var(--o) 0 6px, transparent 6px) 0 0 / 100% 100% no-repeat,
    repeating-linear-gradient(180deg, #1a0f05 0 3px, transparent 3px 6px) 1px 9px / 4px 22px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 154, 46, .35) 0 1px, transparent 1px 7px) right 14px bottom 3px / 140px 3px no-repeat,
    linear-gradient(var(--o2), var(--o2)) right 6px top 6px / 4px 4px no-repeat, linear-gradient(rgba(255, 154, 46, .5), rgba(255, 154, 46, .5)) right 12px top 6px / 4px 4px no-repeat,
    linear-gradient(180deg, #1c1208, #110a04) !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
body.admin .adm-nav.nb .nb-menu { height: 40px !important; border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; align-items: center !important; gap: 0; }
body.admin .adm-nav.nb .nb-menu::after, body.admin .adm-nav.nb .nb-menu::before { display: none !important; }
body.admin .adm-nav.nb nav.nb-tabs { gap: 4px; align-items: center; height: 40px; overflow: hidden !important; }
body.admin .adm-nav.nb nav.nb-tabs a, body.admin .adm-nav.nb a.nb-upd { position: relative; height: 26px !important; display: inline-flex !important; align-items: center; margin: 0 !important; padding: 0 12px !important;
  font: 600 12px/26px "Chakra Petch", sans-serif !important; letter-spacing: .1em; text-transform: uppercase; color: #e8bf86 !important; text-shadow: none !important;
  background: rgba(255, 154, 46, .07) !important; box-shadow: inset 0 0 0 1px rgba(255, 154, 46, .38) !important; border: 0 !important; border-radius: 0 !important; filter: none !important;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
body.admin .adm-nav.nb nav.nb-tabs a::before, body.admin .adm-nav.nb nav.nb-tabs a::after, body.admin .adm-nav.nb a.nb-upd::before { display: none !important; }
body.admin .adm-nav.nb nav.nb-tabs a:hover { color: #ffffff !important; background: rgba(255, 154, 46, .2) !important; box-shadow: inset 0 0 0 1px rgba(255, 170, 70, .75) !important; }
body.admin .adm-nav.nb nav.nb-tabs a.on { color: #1a0d02 !important; background: linear-gradient(180deg, #ffc061, #ff9a2e) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .2) !important; }
body.admin .adm-nav.nb nav.nb-tabs a.on::after { content: ""; display: block !important; position: absolute; inset: auto 3px 3px auto !important; clip-path: none !important; width: 3px; height: 3px; background: #1a0d02; }
body.admin .adm-nav.nb .nb-ind { display: none !important; }
body.admin .adm-nav.nb .nb-sep { width: 9px !important; height: 26px !important; margin: 0 8px !important; background: linear-gradient(rgba(255, 154, 46, .55), rgba(255, 154, 46, .55)) center / 1px 100% no-repeat, linear-gradient(var(--o2), var(--o2)) center / 5px 5px no-repeat !important; }
body.admin .adm-nav.nb a.nb-upd { margin-left: 4px !important; }
body.admin .adm-nav.nb a.nb-upd:not(.nb-ws) { color: #1a0d02 !important; background: linear-gradient(180deg, #ffd27a, #ffb13d) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5) !important; }
body.admin .adm-nav.nb a.nb-upd.nb-ws { color: #ffd9a6 !important; }
body.admin .adm-nav.nb a.nb-upd:hover { filter: brightness(1.12) !important; }
body.admin .adm-nav.nb a.nb-upd.on { box-shadow: inset 0 0 0 2px #fff3d6 !important; }
body.admin .adm-nav.nb nav.nb-tabs a.nb-hid, body.admin .adm-nav.nb nav.nb-tabs .nb-hid { display: none !important; }
body.admin .adm-nav.nb a.nb-upd { align-self: center !important; }
.nb-moremenu:has(a[href*="admin?tab"]) { background: #1c1208 !important; border: 1px solid rgba(255, 154, 46, .45) !important; border-radius: 0 !important; }
.nb-moremenu:has(a[href*="admin?tab"]) a { color: #e8bf86 !important; } .nb-moremenu:has(a[href*="admin?tab"]) a:hover { background: rgba(255, 154, 46, .16) !important; color: #ffffff !important; }

/* (0.8.558) square avatars: every avatar a square, its top-left and bottom-right corners cut like the site's frames */
.avatar { --avc: 4px; border-radius: 1px !important; clip-path: polygon(var(--avc) 0, 100% 0, 100% calc(100% - var(--avc)), calc(100% - var(--avc)) 100%, 0 100%, 0 var(--avc)); }
.avatar.sm, .nb .avatar.sm { --avc: 3px; }
.avatar.big { --avc: 9px; }
/* the dashboard's and profiles' picture: a larger square, framed in the member's colour */
.pf-top .avatar.big { width: 84px; height: 84px; font-size: 28px; --avc: 12px; box-sizing: content-box; border: 2px solid transparent; box-shadow: none !important;
  border-image: linear-gradient(135deg, var(--lime, #b8f53c), rgba(139, 176, 255, .9) 45%, rgba(139, 176, 255, .35)) 1; background-origin: border-box; }
.pf-top:has(h1 .role-admin) .avatar.big { border-image: linear-gradient(135deg, #fff0b0, #ffd84d 40%, rgba(240, 144, 42, .5)) 1; }      /* (staff: their colour) */
.pf-top:has(h1 .role-moderator) .avatar.big { border-image: linear-gradient(135deg, #d6fff8, #7fe8d8 40%, rgba(47, 185, 168, .5)) 1; }
a.md-av { border-radius: 0; padding: 4px; --c: 12px; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
a.md-av .avatar.big { --avc: 9px; box-shadow: none; }

/* (0.8.558) the game's screens in the new look: the room's option boxes, the hero column and the chat, framed as the site's panels; the game art matched to the blue */
/* the game art behind the menu and the lobby: its violet toward the site's blue-indigo */
.gm-bg, .gm-rays { filter: hue-rotate(-30deg) saturate(.9); }
/* the option boxes: square, cut corners, bracket corners; each in its own colour (they help reading) */
html body #lobby .opts .og { --hc2: color-mix(in srgb, var(--oc) 80%, transparent); position: relative; border-radius: 0 !important; background: linear-gradient(180deg, rgba(16, 22, 34, .92), rgba(11, 16, 25, .92)) !important; border: 1px solid color-mix(in srgb, var(--oc) 35%, #263145);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); overflow: visible; }
html body #lobby .opts .og::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--hc2), var(--hc2)) right top / 10px 1.5px no-repeat, linear-gradient(var(--hc2), var(--hc2)) right top / 1.5px 10px no-repeat,
              linear-gradient(var(--hc2), var(--hc2)) left bottom / 10px 1.5px no-repeat, linear-gradient(var(--hc2), var(--hc2)) left bottom / 1.5px 10px no-repeat; }
html body #lobby .opts .og-h { position: relative; padding: 6px 12px 6px 14px; color: var(--oc); background: color-mix(in srgb, var(--oc) 14%, #0e1420) !important;
  border-bottom: 1px solid color-mix(in srgb, var(--oc) 30%, #263145); font: 700 11px/1.2 "Chakra Petch", system-ui, sans-serif; letter-spacing: .2em; }
html body #lobby .opts .og-h::before { width: 6px; height: 6px; border-radius: 0 !important; background: var(--oc); box-shadow: 0 0 6px var(--oc); }
html body #lobby .opts .og-h::after { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--oc); opacity: .9; }
html body #lobby .opts .og-b { padding: 4px 0; }
html body #lobby .opts .og-b label { color: #c9d2e4; font-weight: 500; }
html body #lobby .opts .og-b select { border-radius: 0 !important; background: #0b1018; border-color: #263145; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
html body #lobby .opts .og-b select:focus { border-color: var(--oc); }
html body #lobby .opts .og-match { --oc: #5ee08a; } html body #lobby .opts .og-rules { --oc: #b693ff; } html body #lobby .opts .og-eco { --oc: #ffd04a; } html body #lobby .opts .og-ai { --oc: #36d6b4; }      /* (each section its colour, as before: they help reading) */
/* the boxes' fields: never cut short (two fields to a row only when there is room for them) */
html body #lobby .opts .og-b { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
html body #lobby .opts .og-b label { grid-template-columns: max-content minmax(84px, 1fr); }
/* the hero column: its frames square, as the panels */
html body #lobby .hp-pick .hp-frame { border-radius: 0 !important; border-color: #263145; background: rgba(10, 14, 22, .45); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
html body #lobby .hp-pick .hp-card, html body #lobby .hp-pick .hp-art img { border-radius: 0 !important; }
/* the chat: a panel like the others (its title in a lit head, bracket corners, square), its field cut-cornered */
html body #lobby .lobby-chat > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 -1px; padding: 9px 16px 9px 18px; position: relative; font-size: 15px; font-weight: 600;
  background: linear-gradient(90deg, rgba(77, 130, 255, .14), rgba(77, 130, 255, .02) 60%, transparent), rgba(10, 14, 21, .6); border: 1px solid #263145; border-bottom: 0; }
html body #lobby .lobby-chat > h2::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--lime, #b8f53c); box-shadow: 0 0 8px rgba(184, 245, 60, .6); }
html body #lobby .lobby-chat > h2::after { content: ""; margin-left: auto; width: 16px; height: 4px; background: linear-gradient(90deg, #8bb0ff 0 4px, transparent 4px 6px, #8bb0ff 6px 10px, transparent 10px 12px, var(--lime, #b8f53c) 12px 16px); }
html body #lobby .lobby-chat .chat.chat { border-radius: 0 !important; border-color: #263145; position: relative;
  background: linear-gradient(rgba(139, 176, 255, .75), rgba(139, 176, 255, .75)) left bottom / 12px 1.5px no-repeat, linear-gradient(rgba(139, 176, 255, .75), rgba(139, 176, 255, .75)) left bottom / 1.5px 12px no-repeat,
              linear-gradient(rgba(139, 176, 255, .75), rgba(139, 176, 255, .75)) right bottom / 12px 1.5px no-repeat, linear-gradient(rgba(139, 176, 255, .75), rgba(139, 176, 255, .75)) right bottom / 1.5px 12px no-repeat, rgba(10, 14, 22, .82) !important; }
html body #lobby .lobby-chat .chat #chatText, .gdrawer #gChatText { border-radius: 0 !important; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
html body #lobby .lobby-chat .chat .row button[data-emo], html body #lobby .lobby-chat .chat .emo-btn { border-radius: 0 !important; }
/* the slots: the hero portraits square as the avatars */
html body #lobby .slots .hp-face, html body #lobby .slots .hp-face img { border-radius: 0 !important; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
html body #lobby .lobby-chat .emo-btn { border-radius: 0 !important; }

/* (0.8.559) the logged-out pages (home band, log-in and invitation card), from login_demo.html; colours as the rest (purples 33 degrees toward blue, the steel 22 toward purple) */
/* the logged-out band (home, top right): the user's composition (login_parts II), Log in live in the hexagon */
.cbwrap { height: 52px !important; }
.cbwrap .cbdia { display: none !important; }
.cbwrap .cb { position: relative; box-sizing: border-box; width: 107px; height: 52px !important; padding: 0 !important; clip-path: none !important; border: 0 !important;
  background: url("../img/ui/h3_login.png") 0 0 / 107px 52px no-repeat !important; }
.cbwrap .cb::before { display: none !important; }
.cbwrap .cb a.cb-go { position: absolute; left: 45px; top: 19px; width: 47px; height: 14px !important; padding: 0 !important; display: flex; align-items: center; justify-content: center;
  font: 700 12px/14px "Chakra Petch", sans-serif !important; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #eef2f6 !important; background: none !important; }
.cbwrap .cb a.cb-go::after { display: none !important; }
.cbwrap .cb a.cb-go::before { content: ""; display: block !important; position: absolute; left: -12px; right: -10px; top: -9px !important; bottom: -9px !important; height: auto !important; background: none !important; }
.cbwrap .cb a.cb-go:hover { color: #e6ffb0 !important; text-shadow: 0 0 8px rgba(184, 245, 60, .9); }
.cbwrap .cb a.cb-go i { display: none; }

/* ---- the login / invitation card */
main.lw { --hc: rgba(184, 245, 60, .8); }
.lcard { background: linear-gradient(var(--hl), var(--hl)) right 18px top 16px / 4px 4px no-repeat, linear-gradient(rgba(139, 176, 255, .8), rgba(139, 176, 255, .8)) right 24px top 16px / 4px 4px no-repeat, linear-gradient(rgba(139, 176, 255, .35), rgba(139, 176, 255, .35)) right 30px top 16px / 4px 4px no-repeat,
    repeating-linear-gradient(180deg, rgba(139, 176, 255, .45) 0 1px, transparent 1px 7px) 8px 70px / 4px 120px no-repeat,
    repeating-linear-gradient(90deg, rgba(139, 176, 255, .45) 0 1px, transparent 1px 8px) center bottom 8px / 110px 4px no-repeat,
    repeating-linear-gradient(135deg, rgba(139, 176, 255, .35) 0 1.5px, transparent 1.5px 5px) right 24px bottom 9px / 30px 5px no-repeat,
    repeating-linear-gradient(45deg, rgba(139, 176, 255, .35) 0 1.5px, transparent 1.5px 5px) left 24px bottom 9px / 30px 5px no-repeat,
    linear-gradient(180deg, #141c2b, #0f1520) !important; }
.ltag { position: relative; padding-bottom: 12px; }
.ltag::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(var(--hl), var(--hl)) 0 0 / 22px 1.5px no-repeat, linear-gradient(rgba(139, 176, 255, .3), rgba(139, 176, 255, .3)) 0 0 / 100% 1px no-repeat, repeating-linear-gradient(90deg, rgba(139, 176, 255, .55) 0 1px, transparent 1px 4px) 26px 1px / 48px 3px no-repeat; }
.lgo { background-image: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)), linear-gradient(#12161f, #12161f), linear-gradient(#12161f, #12161f), linear-gradient(rgba(18, 22, 31, .35), rgba(18, 22, 31, .35)) !important;
  background-size: 100% 1px, 3px 3px, 3px 3px, 3px 3px !important; background-position: 0 0, 7px 7px, 7px 12px, 7px 17px !important; background-repeat: no-repeat !important; padding-left: 20px !important; }
.lcard .msg.warn, .lcard .msg { border-radius: 0 !important; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); padding-left: 16px !important;
  background-image: repeating-linear-gradient(180deg, rgba(255, 200, 80, .8) 0 4px, transparent 4px 8px) !important; background-size: 3px 100% !important; background-position: 0 0 !important; background-repeat: no-repeat !important; }
/* square checkboxes */
.lcard input[type=checkbox], .sa-row input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; flex: 0 0 14px; margin-top: 2px; background: #0c111a; box-shadow: inset 0 0 0 1px rgba(139, 176, 255, .6); cursor: pointer;
  clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.lcard input[type=checkbox]:checked, .sa-row input[type=checkbox]:checked { background: linear-gradient(#0c111a, #0c111a) center / 4px 4px no-repeat, var(--hl); box-shadow: none; }
/* (0.8.566) the header button of the beta update: lime, NEW until its dashboard box has been seen */
.nb .nb-bt.nb-bn { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; color: #e9ffc0 !important; }
.nb .nb-bt.nb-bn::after { background: linear-gradient(180deg, rgba(58, 84, 22, .95), rgba(26, 40, 12, .95)); }
.nb .nb-bt.nb-bn i { display: inline-block; width: 6px; height: 6px; transform: rotate(45deg); background: var(--lime, #b8f53c); box-shadow: 0 0 6px rgba(184, 245, 60, .8); }
.nb .nb-bt.nb-bn .nb-bn-v { color: #b8f53c; letter-spacing: .05em; }
.nb .nb-bt.nb-bn b { font: 700 9px/1 system-ui, sans-serif; letter-spacing: 1px; color: #12161f; background: #ffb347; padding: 3px 5px; border-radius: 2px; }
.nb .nb-bt.nb-bn.new i { animation: nbBn 1.6s ease-in-out infinite; }
.nb .nb-bt.nb-bn:hover { color: #ffffff !important; }
.nb .nb-bt.nb-bn:hover::after { background: linear-gradient(180deg, rgba(76, 110, 28, .95), rgba(34, 52, 16, .95)); }
@keyframes nbBn { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 760px) { .nb .nb-bt.nb-bn .nb-bn-v { display: none; } }
/* (0.8.572) the Start button of a game room (solo and multiplayer): bigger and clear again. The buttons' hatch (background-image,
   !important) had covered its own gradient: dim. Waiting: a solid blue; ready to start: lime, lit and glowing */
html body .room-head #startBtn { padding: 9px 38px 9px 20px !important; font-size: 13px !important; letter-spacing: .18em; min-width: 132px; opacity: 1 !important; text-shadow: none; }
html body .room-head #startBtn.st-wait, html body .room-head #startBtn.st-wait:disabled { color: rgba(214, 228, 255, .78) !important; background-color: #1b2b4e !important;      /* (0.8.574: dim, but plainly the place where the game will start) */
  background-image: repeating-linear-gradient(115deg, rgba(184, 245, 60, .45) 0 1.5px, transparent 1.5px 4px), linear-gradient(180deg, rgba(139, 176, 255, .45), rgba(139, 176, 255, .45)), linear-gradient(180deg, #24396a, #1a2a4d 60%, #15223f) !important;
  background-size: 10px 45%, 100% 1px, 100% 100% !important; background-position: right 14px center, 0 0, 0 0 !important; cursor: default; }
html body .room-head #startBtn.st-hero, html body .room-head #startBtn.st-hero:disabled { cursor: pointer; color: #e6f5c8 !important; }
html body .room-head #startBtn.st-hero:hover { background-image: repeating-linear-gradient(115deg, rgba(184, 245, 60, .6) 0 1.5px, transparent 1.5px 4px), linear-gradient(180deg, rgba(184, 245, 60, .5), rgba(184, 245, 60, .5)), linear-gradient(180deg, #2c4579, #203359 60%, #1a2a4a) !important; }
html body .startwrap:has(#startBtn.st-wait) { filter: drop-shadow(0 0 0 transparent); }
html body .startwrap:has(#startBtn.st-hero) { animation: ig-startwait 2.2s ease-in-out infinite; }
@keyframes ig-startwait { 50% { filter: drop-shadow(0 0 5px rgba(184, 245, 60, .35)); } }
.hp-pick.hp-flash { animation: ig-hpflash 1.2s ease-out; }
@keyframes ig-hpflash { 0%, 40% { box-shadow: 0 0 0 2px rgba(184, 245, 60, .9), 0 0 24px rgba(184, 245, 60, .45); } 100% { box-shadow: 0 0 0 0 transparent; } }
html body .room-head #startBtn.st-go { color: #0b2604 !important; font-weight: 700; background-color: #a6f43c !important;
  background-image: repeating-linear-gradient(115deg, rgba(11, 38, 4, .55) 0 1.5px, transparent 1.5px 4px), linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)), linear-gradient(180deg, #dcff8c, #a6f43c 55%, #6fcb20) !important;
  background-size: 10px 45%, 100% 1px, 100% 100% !important; background-position: right 14px center, 0 0, 0 0 !important; cursor: pointer; }
html body .room-head #startBtn.st-go:hover { background-image: repeating-linear-gradient(115deg, rgba(11, 38, 4, .6) 0 1.5px, transparent 1.5px 4px), linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), linear-gradient(180deg, #ecffb4, #b8ff52 55%, #82dc2c) !important; }
html body .startwrap:has(#startBtn.st-go) { filter: drop-shadow(0 0 6px rgba(184, 245, 60, .85)) drop-shadow(0 0 14px rgba(150, 230, 50, .5)); animation: ig-startglow2 1.4s ease-in-out infinite; }
@keyframes ig-startglow2 { 50% { filter: drop-shadow(0 0 9px rgba(205, 255, 110, 1)) drop-shadow(0 0 22px rgba(150, 230, 50, .7)); } }
/* (0.8.576) the game room's head (multiplayer): one clean line. The name and the count on the left (cut with … if long), the buttons
   on the right on one line each, clear of the corner marks; on a narrow page the buttons go under the name, still on one line */
html body #lobby .room-head { flex-wrap: wrap; row-gap: 8px; column-gap: 14px; padding-right: 40px !important; min-height: 58px; }
html body #lobby .room-head h2 { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
html body #lobby .room-head #roomCount { flex: 0 0 auto; white-space: nowrap; }
html body #lobby .room-head .push { flex: 0 0 auto; flex-wrap: nowrap; gap: 8px; margin-left: auto; }
html body #lobby .room-head .push :is(button, .btn) { white-space: nowrap; }
html body #lobby .room-head .setline { white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
html body #lobby .room-head .push > button.ghost.small { padding: 7px 26px 7px 13px !important; }
@media (max-width: 1100px) { html body #lobby .room-head .push { margin-left: 0; } }
/* (0.8.580) in a game: the page never scrolls, whatever the window: the header, then the game filling exactly what is left */
html:has(body.ingame), body.ingame { height: 100%; overflow: hidden !important; }
body.ingame { display: flex; flex-direction: column; min-height: 0; }
body.ingame > header.bar { flex: 0 0 auto; }
body.ingame > main.gameview { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
body.ingame > main.gameview[hidden] { display: none; }
body.ingame .gstage { flex: 1 1 auto; height: auto !important; min-height: 240px; }
body.gfs .gstage { height: 100vh !important; }
body.ingame > main:not(.gameview), body.ingame > .ig-foot { display: none; }
