/* play.wyldor.org: the title, login and the frame around the game. Tokens and components follow WyldorSite
   src/styles/global.css (panel, btn-ember, field, rule, eyebrow, grain) so the page reads as part of wyldor.org. */

@font-face { font-family: "Cormorant SC"; font-weight: 700; font-display: swap; src: url(../fonts/cormorant-sc-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 500; font-display: swap; src: url(../fonts/rajdhani-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url(../fonts/rajdhani-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url(../fonts/rajdhani-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 400; font-display: swap; src: url(../fonts/spectral-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Grenze Gotisch"; font-weight: 700; font-display: swap; src: url(../fonts/grenze-gotisch-latin-700-normal.woff2) format("woff2"); }

:root {
  --coal: #0c0a0b; --charcoal: #141012; --iron: #2a2326; --iron-hi: #3a3134; --oxblood: #3a0b0c;
  --ember: #e8481c; --ember-deep: #9e2410; --amber: #f5a524; --ash: #e9e1d8; --muted: #a39890; --online: #63c46a;
  --bad: #ff8a66;
  --display: "Cormorant SC", "Times New Roman", serif;
  --ui: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --body: "Spectral", Georgia, serif;
  --gothic: "Grenze Gotisch", "Cormorant SC", serif;
  --quint: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; height: 100dvh; background: var(--coal); color: var(--ash); overflow: hidden;
  overscroll-behavior: none; /* no pull-to-refresh or bounce on a phone */ }
body { font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

/* ---------- the scene: the walk north to the Wilderness ditch (img/play_scene, play_portrait on upright phones). It drifts,
   light moves over it and embers rise: all transform and opacity, so the compositor alone animates it ---------- */
.scene { position: fixed; inset: 0; overflow: hidden; background: var(--coal); }
.scene.gone { display: none; } /* in game: nothing here takes memory or a compositor layer */
.drift { position: absolute; inset: -5%; will-change: transform; animation: scene-drift 48s ease-in-out infinite alternate; }
@keyframes scene-drift { from { transform: translate3d(-1.2%, .4%, 0) scale(1); } to { transform: translate3d(1.2%, -1%, 0) scale(1.07); } }
.scene .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%;
  will-change: transform; user-select: none; pointer-events: none; }
.scene .glow { position: absolute; inset: -20%; pointer-events: none; opacity: .85; will-change: transform;
  background: radial-gradient(circle at 74% 62%, rgb(232 72 28 / .17), transparent 26%), radial-gradient(circle at 24% 58%, rgb(245 165 36 / .12), transparent 24%);
  animation: light-drift 26s ease-in-out infinite alternate; }
@keyframes light-drift { from { transform: translate3d(-3%, 2%, 0); } to { transform: translate3d(3%, -2%, 0); } }
.scene .wash { position: absolute; inset: 0; pointer-events: none; transition: opacity 1.1s var(--quint);
  background: linear-gradient(180deg, rgb(10 7 8 / .62), rgb(10 7 8 / .86)); }
body.ready:not(.handoff) .scene .wash { opacity: .68; }
.scene .vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 110% 85% at 50% 45%, transparent 52%, rgb(8 6 7 / .9) 100%); }
.embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(circle, #ffd9a0 0 25%, #f5772a 55%, transparent 72%); animation: ember-rise var(--d) linear var(--w) infinite; }
@keyframes ember-rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 8% { opacity: .95; } 72% { opacity: .55; }
  100% { transform: translate3d(var(--sway), -86vh, 0); opacity: 0; } }
.embers i:nth-child(1) { --x: 7%; --s: 4px; --d: 15s; --w: -2s; --sway: 46px; }
.embers i:nth-child(2) { --x: 16%; --s: 3px; --d: 19s; --w: -11s; --sway: -30px; }
.embers i:nth-child(3) { --x: 27%; --s: 5px; --d: 13s; --w: -6s; --sway: 38px; }
.embers i:nth-child(4) { --x: 36%; --s: 3px; --d: 21s; --w: -15s; --sway: 60px; }
.embers i:nth-child(5) { --x: 62%; --s: 4px; --d: 17s; --w: -4s; --sway: -44px; }
.embers i:nth-child(6) { --x: 71%; --s: 3px; --d: 14s; --w: -9s; --sway: 28px; }
.embers i:nth-child(7) { --x: 82%; --s: 5px; --d: 20s; --w: -13s; --sway: -52px; }
.embers i:nth-child(8) { --x: 93%; --s: 3px; --d: 16s; --w: -1s; --sway: -24px; }
@media (pointer: coarse) { .embers i:nth-child(even) { display: none; } } /* half as many on a phone or tablet */

/* ---------- the title: the crest, then the loading card or the login card under it ---------- */
#title { position: fixed; inset: 0; display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); overflow-y: auto;
  transition: opacity .7s var(--quint), visibility 0s .7s; }
/* --boot-shift centres what the loading stage shows (js/play.js): what's below it keeps its room, invisible, so nothing jumps at the hand-off */
.center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 20px 16px 8px; transition: transform .9s var(--quint); }
body:not(.ready) .center, body.handoff .center { transform: translate3d(0, var(--boot-shift, 0px), 0); }

.logo { position: relative; z-index: 2; width: min(450px, 76vw, 40vh); flex: none; margin: 0; aspect-ratio: 1200 / 486; line-height: 0; pointer-events: none; }
.logo::before { content: ""; position: absolute; inset: -34% -18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(232 72 28 / .3), rgb(232 72 28 / .08) 55%, transparent); animation: halo 5.5s ease-in-out infinite alternate; }
@keyframes halo { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.05); } }
.logo-float { position: absolute; inset: 0; animation: logo-float 6.5s ease-in-out infinite alternate; will-change: transform; }
@keyframes logo-float { from { transform: translate3d(0, 3px, 0); } to { transform: translate3d(0, -5px, 0); } }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* loading pours molten colour into the wordmark from the bottom: --fill is the client's load percent */
.logo .cold { filter: grayscale(1) brightness(.34) contrast(1.1); }
.logo .hot { clip-path: inset(calc(100% - var(--fill, 0%)) 0 0 0); transition: clip-path .5s var(--quint); }
body.ready .logo .hot { clip-path: none; filter: drop-shadow(0 0 12px rgb(232 72 28 / .35)); animation: forged 1.4s ease-out 1; }
@keyframes forged { 0% { filter: brightness(1.9) drop-shadow(0 0 40px rgb(245 165 36 / .9)); } 100% { filter: drop-shadow(0 0 12px rgb(232 72 28 / .35)); } }

/* the stack: the loading card and the forms share one place, and cross-fade */
.stack { display: grid; width: min(100%, 420px); margin-top: -40px; }
.stack > * { grid-area: 1 / 1; min-width: 0; }

/* a card: dark glass, a brass hairline and a light that travels along its top edge */
.glass { position: relative; border-radius: 18px; border: 1px solid rgb(245 165 36 / .17);
  background: linear-gradient(180deg, rgb(29 22 24 / .95), rgb(13 10 11 / .96));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 0 0 1px rgb(0 0 0 / .45), 0 32px 70px -24px #000; }
.glass::before { content: ""; position: absolute; top: -1px; left: 14%; right: 14%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--amber), transparent); animation: accent 6s ease-in-out infinite alternate; }
@keyframes accent { from { opacity: .35; transform: translate3d(-16%, 0, 0); } to { opacity: 1; transform: translate3d(16%, 0, 0); } }

/* ---------- the loading stage ---------- */
.boot { align-self: start; display: flex; flex-direction: column; align-items: center; padding-top: 50px; transition: opacity .55s var(--quint), transform .7s var(--quint), visibility 0s; }
body.ready:not(.handoff) .boot { opacity: 0; transform: translate3d(0, -12px, 0); visibility: hidden; pointer-events: none; transition: opacity .4s var(--quint), transform .6s var(--quint), visibility 0s .5s; }
.tagline { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 600 12.5px/1.2 var(--ui); letter-spacing: .3em; text-transform: uppercase; color: #cdbfb2; text-shadow: 0 2px 10px #000; white-space: nowrap; }
.tagline::before, .tagline::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, rgb(245 165 36 / .6)); }
.tagline::after { transform: scaleX(-1); }
.tagline b { font: 700 1.3em/1 var(--gothic); letter-spacing: .04em; text-transform: none; color: var(--amber); }
.boot-card { width: 100%; padding: 22px 24px 18px; }
.boot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.eyebrow { margin: 0 0 5px; font: 700 10.5px/1 var(--ui); letter-spacing: .3em; text-transform: uppercase; color: #a4968a; }
.boot-title { margin: 0; font: 700 21px/1.15 var(--display); letter-spacing: .03em; color: #f6ecdf; }
.boot-chip { flex: none; padding: 6px 11px; border-radius: 999px; font: 700 10.5px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--amber);
  background: rgb(232 72 28 / .1); border: 1px solid rgb(245 165 36 / .32); white-space: nowrap; }
.bar { position: relative; height: 8px; margin-top: 16px; border-radius: 999px; overflow: hidden; background: #070506; box-shadow: inset 0 1px 3px #000, 0 1px 0 rgb(255 255 255 / .05); }
.bar i { position: absolute; inset: 0; border-radius: 999px; transform: translate3d(calc(var(--fill, 0%) - 100%), 0, 0); transition: transform .5s var(--quint);
  background: linear-gradient(90deg, #9e2410, var(--ember) 45%, var(--amber) 85%, #ffe0a8); }
.bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 26%; background: linear-gradient(90deg, transparent, rgb(255 244 220 / .55), transparent); animation: bar-sheen 2.2s ease-in-out infinite; }
@keyframes bar-sheen { from { transform: translate3d(-110%, 0, 0); } to { transform: translate3d(420%, 0, 0); } }
body.handoff .bar i { transform: none; }
.boot-detail { display: flex; gap: 8px; min-height: 19px; margin: 11px 0 0; font: 600 13.5px/1.4 var(--ui); letter-spacing: .03em; color: #a89b90; }
.boot-detail b { color: #efe4d8; font-variant-numeric: tabular-nums; }
body.handoff #bootPct { display: none; }
.boot.bad .boot-title { font: 600 16px/1.4 var(--ui); color: #ffd9c9; }
.boot.bad .bar, .boot.bad .boot-detail, .boot.bad .boot-chip { display: none; }
.boot-tip { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 20px; margin: 16px 0 0; text-align: center; font: 600 12.5px/1.35 var(--ui); letter-spacing: .05em; color: #b6a89c; text-shadow: 0 1px 6px #000; }
.boot-tip #bootTip { transition: opacity .4s; }
.boot-tip #bootTip.out { opacity: 0; }
.dots { display: inline-flex; gap: 4px; flex: none; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); animation: dot 1.3s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .18s; } .dots i:nth-child(3) { animation-delay: .36s; }
@keyframes dot { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- the login card ---------- */
.forms, .saved, .event { transition: opacity .7s .12s var(--quint), transform .8s .12s var(--quint); }
body:not(.ready) .forms, body:not(.ready) .saved, body:not(.ready) .event,
body.handoff .forms, body.handoff .saved, body.handoff .event { opacity: 0; transform: translate3d(0, 16px, 0); pointer-events: none; transition: opacity .3s, transform .3s; }
.card { width: 100%; padding: 48px 28px 22px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-head h2 { margin: 0; font: 700 25px/1.1 var(--display); letter-spacing: .02em; color: #f7ecdf; overflow-wrap: anywhere; }
.card-head p { margin: 5px 0 0; font: 500 14px/1.3 var(--ui); letter-spacing: .02em; color: #a89b90; }
.world { flex: none; display: flex; align-items: center; gap: 7px; margin-top: 3px; padding: 6px 10px; border-radius: 999px; background: rgb(0 0 0 / .35); border: 1px solid rgb(255 255 255 / .07);
  font: 700 11px/1 var(--ui); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #6b625c; }
.dot.on { background: var(--online); box-shadow: 0 0 8px rgb(99 196 106 / .75); }
.dot.on + .count { color: #bfe3c1; }

/* a field: its label above, a link to the label's right, a dark well that lights up in ember when in use */
.slot { position: relative; display: flex; align-items: stretch; height: 48px; margin-top: 34px; border-radius: 10px;
  background: rgb(7 5 6 / .92); border: 1px solid rgb(245 165 36 / .16); box-shadow: inset 0 2px 5px rgb(0 0 0 / .55); transition: border-color .2s, box-shadow .2s; }
.card-head + .slot { margin-top: 42px; }
.slot:hover { border-color: rgb(245 165 36 / .3); }
.slot:focus-within { border-color: rgb(245 128 50 / .85); box-shadow: inset 0 2px 5px rgb(0 0 0 / .55), 0 0 0 3px rgb(232 72 28 / .16), 0 0 18px rgb(232 72 28 / .16); }
.slot-icon { flex: none; width: 40px; display: grid; place-items: center; color: #6f6157; transition: color .2s; }
.slot-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slot:focus-within .slot-icon { color: var(--amber); }
::selection { background: rgb(232 72 28 / .55); color: #fff6ea; }
.slot input::selection { background: rgb(245 165 36 / .45); }
.slot input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 12px 0 0; font: 600 17px/1 var(--ui); letter-spacing: .03em; color: #f4ebe1; caret-color: var(--amber);
  background: transparent; border: 0; outline: none; border-radius: 0; }
.slot input::placeholder { color: #6f645d; font-weight: 500; opacity: 1; }
.slot label { position: absolute; left: 2px; top: -22px; pointer-events: none; font: 700 11.5px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: #dca95c; }
.slot-link { position: absolute; right: 2px; top: -23px; font: 600 12.5px/1 var(--ui); letter-spacing: .03em; color: #cfc3b8; text-decoration: none; transition: color .2s; }
.slot-link:hover { color: var(--amber); }
/* the browser's own autofill colours (pale yellow or blue) never show: the field keeps its face */
.slot input:-webkit-autofill, .slot input:-webkit-autofill:hover, .slot input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f4ebe1; caret-color: var(--amber); -webkit-box-shadow: 0 0 0 100px #0a0708 inset;
  box-shadow: 0 0 0 100px #0a0708 inset; transition: background-color 9999s ease-out 0s; font: 600 17px/1 var(--ui); }
.slot input:autofill { box-shadow: 0 0 0 100px #0a0708 inset; -webkit-text-fill-color: #f4ebe1; }
.slot input[type=password]:not(:placeholder-shown) { letter-spacing: .2em; }
.reveal { flex: none; width: 42px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #7d6b5c; cursor: pointer; transition: color .2s; }
.reveal:hover, .reveal:focus-visible { color: var(--amber); outline: none; }
.reveal svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reveal .slash { display: none; }
.reveal[aria-pressed=true] .slash { display: inline; }
.caps { margin: 7px 2px 0; font: 700 11px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.caps::before { content: "▲ "; font-size: 9px; }

.row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font: 600 14px/1 var(--ui); letter-spacing: .03em; color: #cfc3b8; }
.check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; user-select: none; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; cursor: pointer; display: grid; place-items: center; border-radius: 5px;
  background: #070506; border: 1px solid rgb(245 165 36 / .32); box-shadow: inset 0 1px 3px #000; transition: background .15s, border-color .15s; }
.check input:checked { border-color: var(--amber); background: linear-gradient(180deg, #f2622f, var(--ember-deep)); box-shadow: none; }
.check input:checked::after { content: ""; width: 4px; height: 8px; border: solid #fff4e6; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.check input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.check:hover span { color: var(--ash); }

/* the button: molten ember, a sheen that crosses it now and then */
.forge { position: relative; display: block; width: 100%; height: 52px; margin-top: 16px; padding: 0; border: 0; border-radius: 11px; overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, #ff9450, #ec5220 52%, #b8331a);
  box-shadow: inset 0 1px 0 rgb(255 228 190 / .75), inset 0 -2px 0 rgb(80 14 0 / .5), 0 12px 26px -10px rgb(232 72 28 / .75); transition: transform .2s var(--quint), filter .2s, box-shadow .2s; }
.forge-fill { display: none; }
.forge-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 21px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff8ee; text-shadow: 0 2px 0 rgb(90 14 0 / .7); }
.forge-face::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 24%; background: linear-gradient(100deg, transparent, rgb(255 244 220 / .42), transparent); transform: translate3d(-120%, 0, 0); animation: btn-sheen 6.5s ease-in-out 1.5s infinite; }
@keyframes btn-sheen { 0% { transform: translate3d(-120%, 0, 0); } 22%, 100% { transform: translate3d(460%, 0, 0); } }
.forge:hover:not(:disabled) { filter: brightness(1.08); transform: translate3d(0, -1px, 0); box-shadow: inset 0 1px 0 rgb(255 228 190 / .8), inset 0 -2px 0 rgb(80 14 0 / .5), 0 16px 30px -10px rgb(232 72 28 / .95); }
.forge:active:not(:disabled) { transform: translate3d(0, 1px, 0); filter: brightness(.95); }
.forge:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.forge:disabled { cursor: progress; filter: saturate(.75) brightness(.86); }
.stud { display: none; }
.forge .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(255 244 230 / .3); border-top-color: #fff4e6; animation: spin .8s linear infinite; }
body.entering .forge .spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* a message only takes room when there is one; errors are an ember notice */
#message { margin: 12px 0 0; font: 600 14px/1.45 var(--ui); letter-spacing: .02em; color: #b6a89c; text-align: center; }
#message:empty { display: none; }
#message.bad { padding: 9px 12px; color: #ffd9c9; border-radius: 9px; background: rgb(158 36 16 / .22); border: 1px solid rgb(232 72 28 / .45); }
#message a { color: var(--amber); }

.new { margin: 16px 0 0; font: 500 14px/1.4 var(--ui); letter-spacing: .02em; color: #a89b90; text-align: center; }
.new b { color: var(--amber); font-weight: 700; letter-spacing: .04em; }

/* saved accounts: names only, never a password */
.saved { width: min(100%, 420px); padding: 13px 16px 12px; }
.saved h3 { margin: 0; font: 700 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #efc98f; }
.saved-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.acct { position: relative; }
.acct-pick { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 8px 4px 7px; border: 1px solid rgb(255 255 255 / .06); border-radius: 10px; background: rgb(0 0 0 / .28); color: #d9cfc6; cursor: pointer; transition: border-color .15s, background .15s; }
.acct-pick:hover, .acct-pick:focus-visible { border-color: rgb(245 165 36 / .5); background: rgb(232 72 28 / .1); outline: none; }
.acct.on .acct-pick { border-color: rgb(245 128 50 / .75); }
.acct-mark { width: 34px; height: 34px; display: grid; place-items: center; font: 700 18px/1 var(--display); color: #fff3e2; text-transform: uppercase;
  background: linear-gradient(160deg, #e8481c, #5b1608); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.acct-name { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 12.5px/1.1 var(--ui); letter-spacing: .02em; }
.acct-x { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #9a8c80; font: 700 12px/1 var(--ui); cursor: pointer; opacity: 0; transition: opacity .15s, color .15s; }
.acct:hover .acct-x, .acct-x:focus-visible { opacity: 1; }
.acct-x:hover { color: #fff; background: rgb(158 36 16 / .6); }
@media (hover: none) { .acct-x { opacity: .75; } }
.forms:has(#regform:not([hidden])) ~ .saved { display: none; }


/* the next event: a small plaque under the card */
.event { display: flex; align-items: center; gap: 11px; padding: 9px 18px 9px 14px; font: 600 13.5px/1.2 var(--ui); letter-spacing: .06em;
  color: #d8cabd; background: linear-gradient(180deg, rgb(30 24 26 / .92), rgb(18 14 16 / .92)); border: 1px solid #3d3028;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 10px 24px -10px rgb(0 0 0 / .9);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); }
.event-icon { width: 17px; height: 17px; flex: none; color: var(--amber); }
.event-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.event .eyebrow { font: 700 10.5px/1 var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--amber); }
.event .time { margin-left: 4px; padding: 4px 8px; font-variant-numeric: tabular-nums; font-weight: 700; color: #fff1e4; letter-spacing: .1em;
  background: #0b0809; box-shadow: inset 0 2px 4px rgb(0 0 0 / .8); border: 1px solid #3d3028; }

footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 10px 16px 16px;
  font: 700 12px/1 var(--ui); letter-spacing: .24em; text-transform: uppercase; }
footer a { color: #8f847c; text-decoration: none; padding: 6px 0; transition: color .2s; }
footer a:hover { color: var(--amber); }

/* ---------- in game: the game area beside a sidebar, as RuneLite lays it out on the desktop ---------- */
#stage { position: fixed; inset: 0; display: flex; background: #000; opacity: 0; visibility: hidden;
  transition: opacity .6s var(--quint), visibility 0s .6s;
  /* the visible part of the page (play.js --vv-*: a phone's address bar showing or hiding, its keyboard open), clear of
     a notch on either side */
  top: var(--vv-top, 0px); height: var(--vv-h, 100dvh); bottom: auto;
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); box-sizing: border-box; }
/* the home-screen install offer (play.js): a quiet bar on the title screen, never over the game */
.install { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30;
  display: none; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 8px 10px 8px 14px; border-radius: 10px;
  background: rgb(20 16 18 / .92); border: 1px solid #3a2f2a; color: var(--ash); font-size: 14px; line-height: 1.35; }
.install.show { display: flex; }
body.playing .install { display: none; }
.install button { flex: none; border: 0; border-radius: 7px; padding: 6px 10px; font: inherit; cursor: pointer; }
.install .yes { background: #b8471f; color: #fff; }
.install .no { background: transparent; color: var(--ash); opacity: .7; }
/* contain: nothing inside can make the browser lay out or repaint the page around the game */
#screen { position: relative; flex: 1; min-width: 0; overflow: hidden; contain: strict; }
#screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: rgb(0 0 0 / .32);
  transition: opacity .26s var(--quint); will-change: opacity; }
#screen.region-loading::after { opacity: 1; transition: opacity .16s ease-in; }
#game { position: absolute; left: 0; top: 0; display: block; outline: none; image-rendering: auto; touch-action: none;
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; /* no long-press callout or selection */ }
body.playing #stage { opacity: 1; visibility: visible; transition: opacity .6s .15s var(--quint); }
body.playing #title, body.playing .scene { opacity: 0; visibility: hidden; }
body.playing #title *, body.playing #title *::before, body.playing #title *::after { animation-play-state: paused !important; }
.scene { transition: opacity .7s var(--quint), visibility 0s .7s; }
body.fixed #screen { background: radial-gradient(ellipse at center, #1a1416 0%, #060505 75%); }

/* the sidebar: its own column, never over the game */
.rail { flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #221c1f, #141012);
  border-left: 1px solid #0a0809; box-shadow: inset 1px 0 0 rgb(232 72 28 / .1); }
.rail button, .rail a { position: relative; width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0;
  padding: 0; background: transparent; color: #b9ab9f; cursor: pointer; text-decoration: none; transition: color .15s, background .15s; }
.rail button:hover, .rail a:hover { color: var(--amber); background: rgb(255 255 255 / .05); }
.rail button.on { color: var(--amber); box-shadow: inset 2px 0 0 var(--ember); }
.rail svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail hr { width: 24px; margin: 4px auto; border: 0; height: 1px; background: rgb(245 165 36 / .2); flex: none; }
.rail .logout { margin-top: auto; color: #e7a08a; }
.rail .logout:hover { color: #fff; background: rgb(158 36 16 / .45); }
.rail [data-tip]:hover::after { content: attr(data-tip); position: absolute; right: 44px; top: 50%; transform: translateY(-50%); z-index: 5;
  white-space: nowrap; padding: 6px 10px; font: 700 11.5px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ash); background: rgb(12 10 11 / .95); border: 1px solid rgb(245 165 36 / .25); pointer-events: none; }
@media (hover: none) { .rail [data-tip]:hover::after { display: none; } }

.toast { position: fixed; left: 50%; top: 18px; z-index: 20; transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  padding: 9px 16px; font: 700 12.5px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ash);
  background: rgb(12 10 11 / .92); border: 1px solid rgb(245 165 36 / .3); transition: opacity .25s, transform .25s var(--quint); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.lost { position: fixed; left: 50%; top: 18px; z-index: 21; display: none; align-items: center; gap: 10px; transform: translateX(-50%);
  padding: 10px 18px; font: 700 12.5px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ash);
  background: rgb(58 11 12 / .94); border: 1px solid rgb(232 72 28 / .5); box-shadow: 0 10px 30px rgb(0 0 0 / .6); }
.lost .spin { display: block; width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgb(255 244 230 / .3);
  border-top-color: #fff4e6; animation: spin .8s linear infinite; }
body.reconnecting .lost { display: flex; }

/* ---------- touch screens: the keyboard button, and play sideways ---------- */
.touch-only { display: none !important; }
@media (pointer: coarse) { .touch-only { display: grid !important; } }
.rotate { display: none; position: fixed; inset: 0; z-index: 30; place-items: center; text-align: center; background: var(--coal);
  font: 700 14px/1.4 var(--ui); letter-spacing: .24em; text-transform: uppercase; color: var(--ash); }
.rotate svg { width: 64px; height: 64px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  animation: turn 2.4s var(--quint) infinite; }
@keyframes turn { 0%, 30% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }
@media (orientation: portrait) and (pointer: coarse) { body.playing .rotate { display: grid; } }

/* ---------- small screens ---------- */
@media (max-height: 800px) { .event { display: none; } }
@media (max-height: 720px) { .saved { display: none; } .logo { width: min(320px, 60vw); } .stack { margin-top: -26px; } .card { padding-top: 34px; } .boot { padding-top: 36px; } .new { display: none; } }
@media (max-height: 560px) { .logo { width: min(220px, 40vw); } .card { padding: 26px 18px 14px; } .slot { margin-top: 30px; } }
@media (max-width: 480px) { .card { padding-left: 18px; padding-right: 18px; } .tagline { letter-spacing: .2em; font-size: 11px; } .tagline::before, .tagline::after { width: 18px; } footer { gap: 4px 16px; letter-spacing: .18em; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- the plugin panel: RuneLite's configuration panel, in Wyldor's iron and ember ---------- */
.plugins { flex: none; width: 250px; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  font: 500 14px/1.25 var(--ui); color: #d9cfc6; background: #1a1517; border-left: 1px solid #0a0809; }
.plugins[hidden] { display: none; }
.plugins button { font: inherit; color: inherit; }
.pl-list, .pl-config { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.pl-list[hidden], .pl-config[hidden] { display: none; }
.pl-search { flex: none; display: flex; align-items: center; gap: 6px; margin: 8px; padding: 0 8px; height: 32px;
  background: #120e10; border: 1px solid #2c2427; }
.pl-search:focus-within { border-color: rgb(245 165 36 / .5); }
.pl-search svg { width: 15px; height: 15px; flex: none; fill: none; stroke: #8f847c; stroke-width: 2; stroke-linecap: round; }
.pl-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ash); font: inherit; }
.pl-rows, .pl-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  scrollbar-color: #3a3134 transparent; }
.pl-row { display: flex; align-items: center; gap: 4px; height: 30px; margin: 0 8px 2px; padding: 0 4px 0 2px; background: #231c1f; }
.pl-row.has-config { cursor: pointer; }
.pl-row:hover { background: #2d2427; }
.pl-row.off .pl-name { color: #8f847c; }
.pl-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pl-pin, .pl-cog, .pl-back { flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0;
  background: transparent; cursor: pointer; color: #6f645d; }
.pl-pin-space { flex: none; width: 24px; }
.pl-pin svg, .pl-cog svg, .pl-back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.pl-pin { opacity: 0; }
.pl-row:hover .pl-pin, .pl-pin.on { opacity: 1; }
.pl-pin.on { color: var(--amber); }
.pl-pin.on svg { fill: currentColor; }
.pl-pin:hover, .pl-cog:hover, .pl-back:hover { color: var(--amber); }
.pl-switch { flex: none; position: relative; width: 30px; height: 16px; padding: 0; border: 0; border-radius: 8px; cursor: pointer;
  background: #3a3134; transition: background .15s; }
.pl-switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%;
  background: #9a8f88; transition: transform .15s var(--quint), background .15s; }
.pl-switch.on { background: var(--ember-deep); }
.pl-switch.on::after { transform: translateX(14px); background: var(--amber); }
.pl-switch[hidden] { display: none; }
.pl-empty { margin: 16px; color: #8f847c; text-align: center; }
.pl-head { flex: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 6px;
  border-bottom: 1px solid #2c2427; background: #1f191b; }
.pl-title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700;
  letter-spacing: .06em; color: var(--amber); }
.pl-body { padding: 6px 0; }
.pl-section { margin: 4px 8px 6px; }
.pl-section-head { display: flex; align-items: center; gap: 6px; width: 100%; padding: 6px 2px; border: 0;
  border-bottom: 1px solid rgb(245 165 36 / .22); background: transparent; cursor: pointer; text-align: left;
  font-weight: 700 !important; letter-spacing: .05em; color: #efe5dc !important; }
.pl-section-head svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--amber); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.pl-section.closed .pl-section-head svg { transform: rotate(-90deg); }
.pl-section.closed .pl-section-body { display: none; }
.pl-section-body { padding-top: 4px; }
.pl-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; margin: 0 8px; padding: 3px 0; }
.pl-section .pl-item { margin: 0; }
.pl-item.wide { flex-wrap: wrap; }
.pl-item.wide > :last-child { flex: 1 1 100%; }
.pl-label { flex: 1; min-width: 0; color: #d9cfc6; cursor: default; }
.pl-num, .pl-text, .pl-select { height: 26px; padding: 0 6px; border: 1px solid #2c2427; border-radius: 0; outline: 0;
  background: #120e10; color: var(--ash); font: inherit; }
.pl-num { width: 72px; text-align: right; }
.pl-select { max-width: 130px; }
.pl-num:focus, .pl-text:focus, .pl-select:focus { border-color: rgb(245 165 36 / .5); }
.pl-units { display: inline-flex; align-items: center; gap: 4px; color: #8f847c; }
.pl-check { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 0; border: 1px solid #4a3f43;
  background: #120e10; cursor: pointer; display: grid; place-items: center; }
.pl-check:checked { background: var(--ember-deep); border-color: var(--ember); }
.pl-check:checked::after { content: ""; width: 8px; height: 4px; border: solid var(--ash); border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg); }
.pl-set { display: flex; flex-direction: column; gap: 2px; padding: 4px 6px; background: #120e10; border: 1px solid #2c2427; }
.pl-set-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.pl-colour { display: inline-flex; align-items: center; gap: 6px; }
.pl-colour input[type=color] { width: 34px; height: 22px; padding: 0; border: 1px solid #4a3f43; background: none; cursor: pointer; }
.pl-alpha { width: 60px; accent-color: var(--amber); }
.pl-key { min-width: 90px; height: 26px; padding: 0 8px; border: 1px solid #2c2427; background: #120e10; cursor: pointer; }
.pl-key.listening { border-color: var(--amber); color: var(--amber); }
.pl-other { color: #8f847c; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-reset { flex: none; margin: 8px; height: 30px; border: 1px solid #3a3134; background: #231c1f; cursor: pointer;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700 !important; font-size: 12px !important; }
.pl-reset:hover { border-color: var(--ember); color: #fff; background: rgb(158 36 16 / .4); }
/* a plugin's side panel (plugins.js drawSidePanel): Loot Tracker, XP Tracker, PvP Performance Tracker */
.pl-panel svg { stroke-width: 2.2; }
.sp-summary, .sp-stats { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; }
.sp-summary { margin: 2px 8px 6px; padding: 8px 10px; background: #231c1f; }
.sp-summary dt, .sp-stats dt { color: #8f847c; white-space: nowrap; }
.sp-summary dd, .sp-stats dd { margin: 0; text-align: right; color: #f1e8df; font-variant-numeric: tabular-nums;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 8px 8px; }
.sp-btn { flex: 1 1 auto; height: 26px; padding: 0 8px; border: 1px solid #3a3134; background: #231c1f; cursor: pointer;
  font-weight: 700 !important; font-size: 11.5px !important; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.sp-btn:hover { border-color: var(--ember); color: #fff; background: rgb(158 36 16 / .4); }
.sp-btn.small { height: 24px; font-size: 11px !important; letter-spacing: .06em; }
.sp-btn.primary { border-color: var(--ember-deep); background: var(--ember-deep); color: #fff6ea; }
.sp-btn.primary:hover { background: var(--ember); }
.sp-card { --accent: #6f645d; margin: 0 8px 6px; padding: 7px 9px 8px; background: #231c1f; box-shadow: inset 2px 0 0 var(--accent); }
.sp-card.faded { opacity: .55; }
.sp-head { display: flex; align-items: center; gap: 6px; min-height: 20px; }
.sp-title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; color: #f1e8df; }
.sp-right { flex: none; color: var(--amber); font-weight: 600; font-variant-numeric: tabular-nums; }
.sp-more { flex: none; display: grid; place-items: center; width: 22px; height: 20px; padding: 0; border: 0; background: transparent;
  cursor: pointer; color: #8f847c; }
.sp-more svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.sp-more:hover, .sp-card.menu .sp-more { color: var(--amber); }
.sp-sub { margin-top: 1px; font-size: 12.5px; color: #8f847c; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-stats { margin-top: 5px; font-size: 13px; }
.sp-bar { position: relative; height: 16px; margin-top: 7px; background: #3d3831; overflow: hidden; }
.sp-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); transition: width .4s var(--quint); }
.sp-mark { position: absolute; top: 0; bottom: 0; width: 1px; background: rgb(0 0 0 / .45); }
.sp-bar.dim .sp-fill { opacity: .35; }
.sp-bar-labels { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 4px;
  padding: 0 5px; font-size: 11.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 0 #000, 0 0 3px #000; white-space: nowrap; }
.sp-bar-center { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.sp-items { list-style: none; margin: 6px 0 0; padding: 4px 0 0; border-top: 1px solid #2f272a; font-size: 13px; }
.sp-items li { display: flex; align-items: baseline; gap: 6px; padding: 1px 0; }
.sp-items li.faded { opacity: .45; text-decoration: line-through; }
.sp-items li.act { cursor: pointer; }
.sp-items li.act:hover .sp-item-name { color: var(--amber); }
.sp-item-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-item-q { flex: none; color: #c8bdb3; font-variant-numeric: tabular-nums; }
.sp-item-v { flex: none; min-width: 42px; text-align: right; color: var(--amber); font-variant-numeric: tabular-nums; }
.sp-vs { display: grid; grid-template-columns: auto 1fr 1fr; gap: 1px 8px; margin-top: 5px; font-size: 12.5px;
  font-variant-numeric: tabular-nums; }
.sp-vs > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; color: #f1e8df; }
.sp-vs > .sp-vs-label { text-align: left; color: #8f847c; }
.sp-vs > .sp-vs-head { font-weight: 700; color: var(--amber); }
.sp-vs > .win { color: #7fd67f; }
.sp-menu { display: none; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.sp-card.menu .sp-menu { display: flex; }
/* the colour dialog of a plugin's "Pick color" (plugins.js pickColour) */
.wy-pick-shade { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / .45); }
.wy-pick { width: min(100%, 260px); padding: 14px; font: 500 14px/1.25 var(--ui); color: #d9cfc6; background: #1a1517;
  border: 1px solid #3a2f2a; box-shadow: 0 18px 40px rgb(0 0 0 / .6); }
.wy-pick button { font: inherit; color: inherit; }
.wy-pick-title {margin-bottom: 10px; font-weight: 700; letter-spacing: .06em; color: var(--amber); }
.wy-pick-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wy-pick-row input[type=color] { width: 54px; height: 32px; padding: 0; border: 1px solid #4a3f43; background: none; cursor: pointer; }
.wy-pick-hex { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; }
.wy-pick-row .pl-alpha { flex: 1; width: auto; }
.wy-pick-buttons { display: flex; gap: 6px; }
.wy-pick-buttons .sp-btn { height: 30px; }
/* phones: the panel lies over the game rather than squeezing it */
@media (max-width: 760px), (max-height: 420px) {
  .plugins { position: absolute; right: 44px; top: 0; bottom: 0; z-index: 6; box-shadow: -10px 0 30px rgb(0 0 0 / .5); }
}

/* narrow screens: the card and the event plaque never run off the edge */
.center > * { max-width: 100%; }
@media (max-width: 440px) {
  .event { flex-wrap: wrap; justify-content: center; row-gap: 6px; padding: 8px 18px; }
  .event .eyebrow { letter-spacing: .22em; }
}

/* ---------- Create Account (js/register.js; client revision 363) ---------- */
.new a { color: var(--amber); text-decoration: none; border-bottom: 1px solid rgb(245 165 36 / .35); }
.new a:hover { border-color: var(--amber); }
.reg.card { padding-top: 46px; }
.reg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.reg-head h2 { margin: 0; font: 700 15px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--ash); }
.reg-head a { font: 500 13px/1 var(--ui); color: #a4968a; text-decoration: none; border-bottom: 1px solid rgb(245 165 36 / .25); }
.reg-head a:hover { color: var(--amber); border-color: var(--amber); }
.reg-note { margin: 10px 0 0; font: 600 13px/1.4 var(--ui); color: var(--amber); }
.reg .slot { margin-top: 30px; height: 46px; }
.reg .chip { position: absolute; z-index: 2; right: 12px; top: 50%; transform: translateY(-50%); font: 700 11px/1 var(--ui);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.reg .slot .reveal + .chip, .reg .slot:has(.reveal) .chip { right: 48px; }
.reg .chip.good { color: var(--online); }
.reg .chip.bad { color: #f0644a; }
.reg .hint { margin: 6px 2px 0; font: 500 12px/1.35 var(--ui); color: #8f8378; }
.reg .hint.bad { color: #f0644a; }
.reg .hint.s2 { color: #f0a040; } .reg .hint.s3 { color: #c8d25a; } .reg .hint.s4 { color: var(--online); }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 7px 2px 0; font: 600 12px/1 var(--ui); color: #8f8378; }
.suggest button { font: 600 12.5px/1 var(--ui); color: var(--ash); background: rgb(255 255 255 / .07); border: 1px solid rgb(245 165 36 / .3);
  padding: 6px 10px; cursor: pointer; clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.suggest button:hover, .suggest button:focus-visible { color: #fff; background: rgb(232 72 28 / .35); border-color: var(--amber); outline: none; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 7px 0 0; }
.meter i { height: 3px; background: rgb(255 255 255 / .09); transition: background .25s; }
.meter.s1 i:nth-child(-n+1) { background: #f0644a; }
.meter.s2 i:nth-child(-n+2) { background: #f0a040; }
.meter.s3 i:nth-child(-n+3) { background: #c8d25a; }
.meter.s4 i { background: var(--online); }
.reg .row { margin-top: 12px; }
.reg .check a { color: var(--amber); }
#regMessage { margin: 12px 0 0; font: 600 14px/1.45 var(--ui); letter-spacing: .02em; color: #b6a89c; text-align: center; }
#regMessage:empty { display: none; }
#regMessage.bad { padding: 9px 12px; color: #ffd9c9; background: rgb(158 36 16 / .22); border: 1px solid rgb(232 72 28 / .45); }
