/* Elemental Legion — site-wide styles. Dark grey + orange. */

@font-face {
  font-family: 'Exo 2';
  src: url('../fonts/Exo2-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Exo 2';
  src: url('../fonts/Exo2-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Exo 2';
  src: url('../fonts/Exo2-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #121214;
  --bg-2: #18181b;
  --panel: #1d1d21;
  --panel-2: #242429;
  --line: #2e2e34;
  --text: #ececef;
  --muted: #a2a2ab;
  --orange: #ff7a1a;
  --orange-soft: #ffa04d;
  --orange-deep: #e05f00;
  --glow: rgba(255, 122, 26, 0.35);
  --radius: 14px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg) url('../img/bg-texture.jpg') center / cover fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange-soft); text-decoration: none; }
a:hover { color: var(--orange); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 20, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
/* Logo: never let the global img{max-width:100%} clamp the width — Firefox then
   rescales the height and the wordmark renders ~1/3 size (seen on a 1080p Firefox). */
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { height: 30px; width: auto; max-width: none; flex: none; }

.main-nav { display: flex; gap: 6px; align-items: center; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: #fff; }

/* ---- MY ACCOUNT, in the header --------------------------------------------------
   The widget is a nav link with a face on it, so it inherits the nav's spacing and
   breakpoints rather than having its own. It sits LAST and is visually separated,
   because it is the only item that is about the person rather than the site. */
.el-account {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 10px; padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.14);
}
/* Signed out it reads as a call to action; signed in it is quiet, because by then it
   is a way back to your own page rather than something to persuade you. */
.el-account .el-acct-label { color: var(--orange); font-weight: 600; }
/* ⚠ A PERSON'S NAME IS NOT A NAV ITEM. The nav uppercases and letter-spaces its links,
   which is right for COMPANY and GAMES and wrong for somebody's name — "BILL MCCARTHY"
   shouts, and the truncation that follows it ("CREATIONSTUDI…") reads as a bug. */
.el-account.in .el-acct-label { color: #cfcac2; font-weight: 500; max-width: 16ch;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-transform: none; letter-spacing: normal; font-size: 13.5px; }
.el-account:hover .el-acct-label { color: #fff; }
/* The ID tag beside the name (owner, 2026-09-17): soft grey, about half the name's size. */
.el-account .el-acct-tag { color: #7d7973; font-size: 8.5px; font-weight: 600; letter-spacing: .04em;
  margin-left: -2px; align-self: center; text-transform: none; white-space: nowrap; opacity: .9; }
.el-account:hover .el-acct-tag { color: #a39e96; }
/* Unread messages / requests: a red dot on the top-right of the face. The face clips to its circle,
   so the dot hangs off a wrapper that does not. */
.el-acct-wrap { position: relative; flex: 0 0 26px; display: inline-flex; }
.el-acct-dot { position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%;
  background: #ff5f5f; border: 2px solid #121214; box-shadow: 0 0 6px rgba(255,95,95,.6); }
/* ⭐ THE ELEMENTIUM BALANCE ON THE PROFILE CARD (owner, 2026-09-19, design/111 §1c): *"always shown in top right on the
   right side of your profile card. So Icon:Balance. Balance always in bright orange."* The mark, then the number, after the
   name and tag on every page's header widget, for every signed-in account. */
.el-account .el-acct-elm { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding-left: 9px;
  border-left: 1px solid rgba(255,255,255,.12); text-transform: none; letter-spacing: normal; white-space: nowrap; align-self: center; }
.el-account .el-acct-elm img { width: 16px; height: 16px; display: block; filter: drop-shadow(0 0 4px rgba(255,138,43,.45)); }
.el-account .el-acct-elm b { color: #ff8a2b; font-weight: 800; font-size: 12.5px; font-variant-numeric: tabular-nums; line-height: 1; }
/* The initial used to sit UNDER the picture; since design/111 (2026-09-19) a letter shows only when the letter option was
   chosen — see facePieces() in account-widget.js. */
.el-acct-face {
  position: relative; width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--orange-deep), var(--orange));
  color: #1a1207; font-weight: 700; font-size: 13px; line-height: 1;
}
.el-acct-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* ⭐ THE CHOSEN ICON, DRAWN THE WAY THE PORTAL DRAWS IT: one file, masked over a colour, so
   a single asset serves whatever colour the person picked.
   ⚠ IT SITS OVER THE INITIAL, exactly like the picture does — so if the file 404s the letter
   is already underneath and a missing icon degrades to a monogram rather than a hole.
   ⚠⚠ `color` IS SET HERE AND NOT INHERITED. `.el-acct-face` sets a near-black `color` for the
   initial, and inheriting it would paint the icon near-black on a dark tint — invisible, and
   it would look exactly like the icon failing to load. */
/* ⚠ NOW AN <img>, NOT A MASKED BOX. The masking properties above it are gone on purpose:
   the icon set is full-colour art, and a mask would discard that colour and paint a white
   silhouette. `object-fit: contain` is what keeps a non-square icon from stretching inside
   the round face. */
.el-acct-icon {
  position: absolute; inset: 0; margin: auto; width: 72%; height: 72%;
  object-fit: contain;
}
@media (max-width: 760px) {
  .el-account { margin-left: 0; padding-left: 0; border-left: 0; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.3rem;
  padding: 4px 12px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 70% -10%, rgba(255, 122, 26, 0.16), transparent 60%),
    linear-gradient(rgba(18, 18, 20, 0.72), rgba(18, 18, 20, 0.9)),
    url('../img/hero-banner.jpg') center / cover;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px 88px;
  text-align: center;
}
.hero-logo { max-width: 560px; width: 88%; margin: 0 auto 34px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff 15%, var(--orange-soft) 55%, var(--orange) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.hero p.lead {
  max-width: 720px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.12rem;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Page hero (subpages) */
.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 80% -20%, rgba(255, 122, 26, 0.14), transparent 60%),
    linear-gradient(rgba(18, 18, 20, 0.78), rgba(18, 18, 20, 0.92)),
    url('../img/hero-banner.jpg') center / cover;
}
.page-hero .hero-inner { padding: 72px 24px 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #16130f;
  box-shadow: 0 4px 18px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 26px var(--glow); color: #000; }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-soft); transform: translateY(-2px); }

/* Button with a leading brand glyph */
.btn-icon { display: inline-flex; align-items: center; gap: 9px; }
.btn-icon svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-spotify {
  border: 1px solid rgba(30, 215, 96, 0.55);
  color: #1ed760;
  background: rgba(30, 215, 96, 0.08);
}
.btn-spotify:hover {
  border-color: #1ed760;
  color: #1ed760;
  background: rgba(30, 215, 96, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 215, 96, 0.15);
}

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.block.tight { padding: 48px 0; }

.section-head { margin-bottom: 36px; }
.section-head h2 {
  display: inline-block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
  line-height: 1.2;
}
.section-head p { color: var(--muted); margin-top: 10px; max-width: 760px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 26, 0.55);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 122, 26, 0.12);
}
.card .card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); position: relative; }
.card .card-media.square { aspect-ratio: 1 / 1; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card-media img { transform: scale(1.045); }

/* Video-enabled media: hover preview + click-to-open */
.card-media.has-video { cursor: pointer; }
.card-media .hover-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.card-media.playing .hover-frame { opacity: 1; }
.card-media.playing img { opacity: 0; }
.card-media .play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  z-index: 2;
  backdrop-filter: blur(2px);
}
.card-media .play-badge::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.card-media.has-video:hover .play-badge { background: var(--orange); border-color: var(--orange); transform: translate(-50%, -50%) scale(1.08); }
.card-media.has-video:hover .play-badge::before { border-left-color: #16130f; }
.card-media.playing .play-badge { opacity: 0; }

/* ---------- Video lightbox ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.video-modal.open { display: flex; opacity: 1; }
.video-modal .vm-inner {
  position: relative;
  width: min(1100px, 94vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.video-modal.open .vm-inner { transform: scale(1); }
.video-modal .vm-inner iframe { width: 100%; height: 100%; border: 0; }
.video-modal .vm-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--panel);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  z-index: 2;
}
.video-modal .vm-close:hover { background: var(--orange); border-color: var(--orange); color: #16130f; transform: rotate(90deg); }
@media (max-width: 560px) {
  .video-modal .vm-close { top: -10px; right: 6px; }
}
.card .card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card .card-link { font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.88rem; }

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-soft);
  border: 1px solid rgba(255, 122, 26, 0.5);
  background: rgba(255, 122, 26, 0.08);
}
.badge.grey { color: var(--muted); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }

/* Live status badge — green with a pulsing dot */
.badge.live {
  color: #56e08a;
  border-color: rgba(60, 224, 130, 0.55);
  background: rgba(60, 224, 130, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badge.live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ce082;
  box-shadow: 0 0 0 0 rgba(60, 224, 130, 0.7);
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(60, 224, 130, 0.65); }
  70%  { box-shadow: 0 0 0 9px rgba(60, 224, 130, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 224, 130, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .badge.live::before { animation: none; }
}

/* Feature list inside cards / panels */
.feature-list { list-style: none; }
.feature-list li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 5px 0;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--orange);
}

/* ---------- Split panels (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.split .panel-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.split h2, .split h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.split p { color: var(--muted); margin-bottom: 14px; }

/* ---------- Socials ---------- */
.el-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.el-links a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
}
.el-links a svg { width: 24px; height: 24px; fill: var(--muted); transition: fill 0.2s; }
.el-links a:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(255, 122, 26, 0.18);
}
.el-links a:hover svg { fill: var(--orange); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(15, 15, 17, 0.92);
  padding: 44px 0 36px;
  margin-top: 48px;
}
.site-footer .el-links { margin-bottom: 26px; }
/* design/111 §1k: our own titles beside the legal lines — the marks, then the names */
.site-footer .foot-titles { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 38px; margin: 0 auto 22px; }
.site-footer .foot-title { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font: 700 .72rem/1 'Exo 2', 'Segoe UI', system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.site-footer .foot-title img { height: 34px; width: auto; max-width: 260px; object-fit: contain; opacity: .92; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.site-footer a.foot-title:hover { color: #fff; }
.site-footer .legal {
  color: #77777f;
  font-size: 0.78rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}
.site-footer .foot-brand { display: block; margin: 0 auto 22px; max-width: 300px; opacity: 0.9; }

/* ---------- Store: coming-soon placeholder ---------- */
.store-soon {
  max-width: 640px;
  margin: 10px auto 30px;
  text-align: center;
  padding: 46px 30px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
.store-soon .badge { margin-bottom: 16px; }
.store-soon h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.store-soon p { color: var(--muted); margin: 0 auto 26px; max-width: 460px; }
.store-soon .soon-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Help panel (slide-in) ---------- */
:root { --red: #e02424; --red-deep: #a81919; }

.help-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 6px 24px rgba(224, 36, 36, 0.35), 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.help-fab:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(224, 36, 36, 0.45); }
/* design/111 §1k: the button is drawn for a signed-in account only (main.js takes `hidden` off) */
.help-fab[hidden] { display: none; }
/* the drawer's pages — the site's own order: Games · Music · Ark Mods · Store */
.help-tabs { display: flex; gap: 6px; margin-top: 14px; }
.help-tabs button { flex: 1 1 0; padding: 9px 6px; font: 700 .74rem/1 'Exo 2', 'Segoe UI', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: #17171a; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.help-tabs button:hover { color: #fff; border-color: rgba(255,122,26,.5); }
.help-tabs button.active { color: #fff; background: linear-gradient(180deg, #3a2c1f, #2a2118); border-color: var(--orange, #ff7a1a); }
.help-search[hidden], .help-chips[hidden] { display: none; }
.help-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 4px 0 8px; }
.help-game { display: flex; flex-direction: column; gap: 8px; padding: 0 0 10px; background: #17171a; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--text); overflow: hidden; text-align: center; font: 700 .86rem/1.2 'Exo 2', 'Segoe UI', system-ui, sans-serif; transition: transform .15s, border-color .15s; }
.help-game img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.help-game:hover { transform: translateY(-2px); border-color: rgba(255,122,26,.6); }
.help-back { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; padding: 6px 10px; font: 600 .78rem/1 'Exo 2', 'Segoe UI', system-ui, sans-serif; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.help-back:hover { color: #fff; border-color: rgba(255,122,26,.5); }
.help-game-name { margin: 0 0 10px; font: 800 1.05rem/1.2 'Exo 2', 'Segoe UI', system-ui, sans-serif; letter-spacing: .04em; color: #fff; }
.help-soon { font-size: 1rem; color: #ffe2c4; padding: 26px 16px; border: 1px dashed rgba(255,122,26,.4); border-radius: 12px; }
.help-fab .q {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.85rem; font-weight: 700;
}

.help-backdrop {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(8, 8, 10, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}
.help-backdrop.open { opacity: 1; visibility: visible; }

.help-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 960;
  width: min(520px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 60px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.7, 0.3, 1);
}
.help-drawer.open { transform: translateX(0); }

.help-head { padding: 20px 22px 0; border-bottom: 1px solid var(--line); }
.help-head .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.help-head h2 {
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding-left: 12px; border-left: 4px solid var(--red);
}
.help-close {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line);
  background: var(--panel); color: var(--text);
  font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.help-close:hover { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(90deg); }

.help-search { position: relative; margin: 16px 0 14px; }
.help-search input {
  width: 100%;
  padding: 12px 38px 12px 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-family: inherit; font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.help-search input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}
.help-search input::placeholder { color: #7b7b84; }
/* hide the browser's native search "clear" — we render our own */
.help-search input::-webkit-search-cancel-button,
.help-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.help-search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.95rem; }
.help-search .clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: var(--muted);
  font-size: 1.2rem; cursor: pointer; padding: 4px 8px; line-height: 1;
  display: none;
}
.help-search .clear.show { display: block; }
.help-search .clear:hover { color: var(--orange); }

.help-chips {
  display: flex; gap: 7px;
  overflow-x: auto; padding-bottom: 14px;
  /* scrollable, but no chrome-coloured scrollbar in a dark drawer */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* fade the right edge so it reads as "more over here" */
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.help-chips::-webkit-scrollbar { display: none; }
.help-chips button {
  flex: none; cursor: pointer; font-family: inherit;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel); color: var(--muted);
  font-size: 0.8rem; letter-spacing: 0.04em; white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.help-chips button:hover, .help-chips button.active {
  color: var(--orange-soft); border-color: rgba(255, 122, 26, 0.5);
  background: rgba(255, 122, 26, 0.08);
}

.help-body { flex: 1; overflow-y: auto; padding: 4px 22px 28px; scrollbar-width: thin; }
.help-body::-webkit-scrollbar { width: 9px; }
.help-body::-webkit-scrollbar-thumb { background: #34343b; border-radius: 6px; }

.help-cat { margin-top: 22px; }
.help-cat > h3 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.help-cat > h3 .ic { opacity: 0.85; }

.help-item { border-bottom: 1px solid var(--line); }
.help-item > button {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 12px 2px;
  border: 0; background: none; color: var(--text);
  font-family: inherit; font-size: 0.95rem; font-weight: 500; line-height: 1.5;
  transition: color 0.18s;
}
.help-item > button:hover { color: var(--orange-soft); }
.help-item > button .chev {
  flex: none; color: var(--muted); font-size: 0.8rem; margin-top: 4px;
  transition: transform 0.25s ease, color 0.2s;
}
.help-item.open > button .chev { transform: rotate(90deg); color: var(--orange); }
.help-item .cat-tag {
  display: inline-block; margin-left: 9px;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle;
}
.help-item .ans {
  display: none;
  padding: 0 2px 16px;
  color: var(--muted); font-size: 0.93rem; line-height: 1.7;
}
.help-item.open .ans { display: block; }
.help-item .ans p { margin-bottom: 10px; }
.help-item .ans ul, .help-item .ans ol { margin: 0 0 10px 20px; }
.help-item .ans li { margin: 4px 0; }
.help-item .ans a { word-break: break-word; }
.help-item .ans pre {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; margin: 8px 0; overflow-x: auto;
}
.help-item .ans code { font-family: ui-monospace, Consolas, monospace; font-size: 0.86rem; color: var(--orange-soft); }

/* Mod ID lookup grid (always visible, not an accordion) */
.help-ids { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
/* the owner, 2026-09-19: *"have it centered and have Title on top row, then right below it Mod ID so they are not squished"* */
.help-id {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px 11px; border-radius: 9px; text-align: center;
  border: 1px solid var(--line); background: var(--panel);
}
.help-id .n { font-size: 0.88rem; font-weight: 600; line-height: 1.25; }
.help-id .v {
  font-family: ui-monospace, Consolas, monospace; font-size: 0.92rem; letter-spacing: .04em;
  color: var(--orange); cursor: pointer; border: 0; background: none; padding: 2px 6px;
}
.help-id .v:hover { color: var(--orange-soft); text-decoration: underline; }
.help-id .v.copied { color: #56e08a; }

.help-empty { text-align: center; color: var(--muted); padding: 40px 10px; font-size: 0.95rem; }
.help-count { color: var(--muted); font-size: 0.8rem; padding: 2px 0 0; }
mark { background: rgba(255, 122, 26, 0.28); color: #fff; border-radius: 3px; padding: 0 2px; }

.help-foot {
  border-top: 1px solid var(--line);
  padding: 15px 22px 17px;
  background: rgba(15, 15, 17, 0.72);
}
.help-foot .foot-lead { font-size: 0.88rem; color: var(--text); line-height: 1.55; margin-bottom: 11px; }
.help-foot .foot-lead strong { color: var(--orange-soft); }
.help-discord {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; border-radius: 10px;
  background: #5865f2; color: #fff;
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.help-discord svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.help-discord:hover {
  background: #4954e0; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.32);
}
.help-foot .foot-sub { margin-top: 10px; font-size: 0.79rem; color: var(--muted); line-height: 1.5; }
.help-foot .foot-sub a { color: var(--orange-soft); }

@media (max-width: 560px) {
  .help-fab { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.85rem; }
  .help-head, .help-body, .help-foot { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(18, 18, 20, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
}

/* ---------------- Store page (product cards) */
.store-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.product-card { display: flex; flex-direction: column; }
.product-media {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(420px 220px at 50% 8%, rgba(255,122,26,.16), transparent 60%),
    linear-gradient(160deg, #17171a 0%, #101012 100%);
  border-bottom: 1px solid var(--line);
}
.product-logo {
  width: 96px; height: 96px; object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(255,122,26,.28));
}
.product-tag { color: var(--muted); margin: 2px 0 12px; font-size: .98rem; }
.product-buy {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.price { display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: .01em; }
.price .price-note { color: var(--muted); font-size: .82rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; filter: grayscale(.25); }
.product-fineprint { color: var(--muted); font-size: .82rem; margin-top: 14px; line-height: 1.55; }
.product-fineprint a { color: var(--orange-soft); }

/* ---------- Cybernetic launch slider ----------
   A horizontal announcement frame above the mod lineup. The band is the frame; the
   slider inside it is a fixed-ratio window, so a gallery of mixed screenshot sizes
   cannot make the page jump as it advances. */
.cyber-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(700px 200px at 50% -40%, rgba(255, 122, 26, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.18));
  padding: 18px 18px 20px;
  margin-bottom: 34px;
}
.cyber-band-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff 10%, var(--orange-soft) 55%, var(--orange) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cyber-slider {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--line);
  background: #0e0e10;
  /* ⭐ A FIXED 16/9 WINDOW, CENTRED — video-player shaped, roughly the width of the three
     mod cards below it. Every slide is forced to fill exactly this box and is cropped to
     fit, so a gallery of mixed sizes (these run 1243x699 to 1600x915) can never change the
     frame or letterbox inside it.
     ⚠ max-width + aspect-ratio is the safe pairing. Capping the HEIGHT of a ratio box
     instead shrinks its width to preserve the ratio, which narrowed the frame and let the
     next slide peek in at the side. Constrain the width and let the ratio set the height. */
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
/* ⭐ ONE TRACK, TRANSLATED — not a stack of absolutely positioned slides cross-fading.
   A track slides, which is what was asked for, and it keeps the DOM order meaningful
   for anyone reading it with assistive tech. */
.cyber-slides {
  display: flex;
  margin: 0;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.cyber-slides > * {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.cyber-slides img {
  object-fit: cover;
  display: block;
  user-select: none;
}
.cyber-slide.is-video {
  position: relative;
  background: #000;
}
.cyber-slide.is-video iframe,
#cyberYtMount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cyber-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 18, 20, 0.55);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}
.cyber-slider:hover .cyber-nav,
.cyber-nav:focus-visible { opacity: 1; }
.cyber-nav:hover { background: var(--orange); border-color: var(--orange); color: #16130f; }
.cyber-nav.prev { left: 12px; }
.cyber-nav.next { right: 12px; }
.cyber-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex;
  gap: 7px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 12px;
}
.cyber-dots button {
  width: 7px; height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cyber-dots button[aria-selected="true"] { background: var(--orange); transform: scale(1.5); }
@media (prefers-reduced-motion: reduce) {
  .cyber-slides { transition: none; }
}

/* ── Tip the studio (2026-09-16) ──────────────────────────────────────────────
   The social row's fifth icon is drawn only for verified members (account-widget.js
   flips `hidden`); `.el-links a` is a flex box, so the attribute needs help. */
.el-links a[hidden] { display: none !important; }
/* the tip-jar glyph: a plain heart, WHITE at rest (owner, 2026-09-17), orange on hover like its neighbours */
.el-links a.tipjar svg { fill: #fff; }
.el-links a.tipjar:hover svg { fill: var(--orange); }
.btn-xmoney svg { width: 20px; height: 20px; }
.btn-xmoney svg .xm circle { fill: #151517; stroke: currentColor; stroke-width: .6; }
.btn-xmoney svg .xm path { fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-linejoin: miter; }

.tip-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 26px 26px 22px; margin-bottom: 18px; }
.tip-card h2 { margin: 0 0 10px; font-size: 1.35rem; }
.tip-card p { color: var(--muted); }
.tip-thanks { border-color: rgba(255,122,26,.45); box-shadow: 0 0 0 1px rgba(255,122,26,.25), 0 0 28px rgba(255,122,26,.12); }
.tip-presets { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 20px 0 18px; }
.tip-presets button { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 28px; min-width: 88px; font: inherit; font-size: 1.08rem; font-weight: 600; letter-spacing: .03em; cursor: pointer; transition: border-color .15s, box-shadow .15s, color .15s; }
.tip-presets button:hover { border-color: var(--orange); color: var(--orange-soft); }
.tip-presets button[data-on="1"] { border-color: var(--orange); color: var(--orange-soft); box-shadow: 0 0 0 1px var(--orange), 0 0 14px rgba(255,122,26,.35); }
.tip-custom { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.tip-custom { font-size: 1.08rem; gap: 8px; margin-left: 4px; }
.tip-custom input { width: 116px; padding: 13px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--text); font: inherit; font-size: 1.08rem; }
.tip-custom input:focus { outline: none; border-color: var(--orange); }
.tip-agree { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); margin: 6px 0 16px; cursor: pointer; }
.tip-agree input { margin-top: 3px; accent-color: var(--orange); }
.tip-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tip-actions .btn[disabled] { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.tip-note { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.tip-terms { color: var(--muted); font-size: .92rem; line-height: 1.55; padding: 4px 6px 0; }
.tip-terms h3 { color: var(--text); margin: 18px 0 8px; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.tip-terms ol { padding-left: 20px; } .tip-terms li { margin: 0 0 8px; }
.tip-terms strong { color: var(--text); }

/* ---- THE GIFT BOX + GIFT CARD (2026-09-18, owner's 4b) --------------------------------
   Beside the account link on every page while a paid gift waits: bobbing, glittering, and it
   shakes on hover. Clicking opens the gift card; ACCEPT is the server's call. */
.el-gift { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 34px;
  margin-left: 6px; text-decoration: none; font-size: 22px; line-height: 1; cursor: pointer;
  filter: drop-shadow(0 0 6px rgba(255,200,80,.65)); animation: elGiftBob 2.4s ease-in-out infinite; }
.el-gift:hover { animation: elGiftShake .55s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(255,210,90,.95)); }
.el-gift .el-gift-box { display: inline-block; }
.el-gift i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffe08a; box-shadow: 0 0 6px #ffd257;
  opacity: 0; pointer-events: none; animation: elGlitter 2.2s ease-in-out infinite; }
.el-gift i.g1 { top: 2px; left: 3px; } .el-gift i.g2 { top: 5px; right: 1px; animation-delay: .55s; }
.el-gift i.g3 { bottom: 3px; left: 7px; animation-delay: 1.1s; } .el-gift i.g4 { bottom: 1px; right: 5px; animation-delay: 1.65s; }
.el-gift .el-gift-n { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 999px; background: #ff5f5f;
  color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; padding: 0 4px; }
@keyframes elGiftBob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-2px) rotate(4deg); } }
@keyframes elGiftShake { 0%,100% { transform: rotate(0) scale(1.05); } 20% { transform: rotate(-14deg) scale(1.15); } 40% { transform: rotate(12deg) scale(1.15); } 60% { transform: rotate(-9deg) scale(1.1); } 80% { transform: rotate(9deg) scale(1.1); } }
@keyframes elGlitter { 0%,100% { opacity: 0; transform: translate(0,0) scale(.4); } 30% { opacity: 1; transform: translate(-3px,-7px) scale(1); } 60% { opacity: .6; transform: translate(4px,-12px) scale(.7); } }
.el-giftcard-wrap { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.62); display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: elFade .25s ease; }
.el-giftcard { position: relative; width: min(540px, 100%); background: linear-gradient(160deg, #26262c, #141416); border: 1px solid rgba(255,200,80,.5);
  border-radius: 18px; padding: 28px 28px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 44px rgba(255,190,60,.2); color: #ececef; overflow: hidden; }
.el-giftcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 90% -20%, rgba(255,190,60,.2), transparent 60%); pointer-events: none; }
.el-giftcard h3 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .9px; color: #a2a2ab; }
.el-giftcard .from { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.el-giftcard .from .el-acct-face { width: 42px; height: 42px; flex: 0 0 42px; font-size: 19px; }
.el-giftcard .from .el-acct-tag { font-size: 13px; color: #7d7973; font-weight: 600; }
.el-giftcard .prod { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; background: rgba(0,0,0,.28); margin-bottom: 16px; }
.el-giftcard .prod b { display: block; font-size: 18px; margin-bottom: 3px; }
.el-giftcard .prod span { color: #a2a2ab; font-size: 13.5px; line-height: 1.5; }
.el-giftcard .ask { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-bottom: 6px; }
.el-giftcard .ask button { background: #1d1d21; border: 1px solid #3a3a42; color: #ececef; border-radius: 999px; padding: 6px 16px; cursor: pointer; font: inherit; font-size: 13px; }
.el-giftcard .ask button.on { border-color: #4fd18a; background: rgba(79,209,138,.18); }
.el-giftcard .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 12px; }
.el-giftcard .note { color: #a2a2ab; font-size: 12px; line-height: 1.5; max-width: 58%; }
.el-giftcard .accept { background: linear-gradient(180deg, #34d27c, #1f9f58); color: #04170c; border: 0; border-radius: 14px; padding: 16px 34px;
  font-size: 19px; font-weight: 800; letter-spacing: 1.5px; cursor: pointer; font-family: inherit; animation: elAcceptPulse 1.5s ease-in-out infinite; }
.el-giftcard .accept:hover { filter: brightness(1.08); transform: translateY(-1px); }
.el-giftcard .accept[disabled] { opacity: .6; animation: none; cursor: default; transform: none; }
.el-giftcard .x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: #a2a2ab; font-size: 18px; cursor: pointer; }
.el-giftcard .x:hover { color: #fff; }
.el-giftcard .err { color: #ff8b6b; font-size: 13px; min-height: 16px; }
@keyframes elAcceptPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,210,124,.6); } 50% { box-shadow: 0 0 0 12px rgba(52,210,124,0); } }
@keyframes elFade { from { opacity: 0; } to { opacity: 1; } }
.el-giftcard.dust { animation: elDust 1.1s ease-in forwards; }
@keyframes elDust { 0% { opacity: 1; filter: blur(0); transform: scale(1); } 55% { opacity: .55; filter: blur(3px); transform: scale(1.04) translateY(-6px); } 100% { opacity: 0; filter: blur(16px); transform: scale(1.14) translateY(-34px); } }
.el-giftcard .mote { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffd98a; box-shadow: 0 0 6px #ffd257; pointer-events: none; animation: elMote 1.1s ease-out forwards; }
@keyframes elMote { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.el-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #1d1d21; border: 1px solid #4fd18a; color: #ececef;
  padding: 12px 18px; border-radius: 12px; z-index: 9999; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: elFade .3s ease; }
.el-toast a { color: #4fd18a; font-weight: 700; }
@media (max-width: 760px) { .el-gift { margin-left: 0; } .el-giftcard .foot { flex-direction: column; align-items: stretch; } .el-giftcard .note { max-width: none; } }

/* ---- THE STAFF BADGE (owner, 2026-09-18) --------------------------------------------
   "Square curved edges with the orange flame icon scaled in there. Dark grey background with
   orange trim line border." The art is /assets/img/badges/staff.png (made from the legion mark);
   one class draws it at every size, and the hover text names the role. */
.el-staff { display: inline-block; width: 18px; height: 18px; border-radius: 5px; vertical-align: -4px; margin-left: 5px;
  background: url("/assets/img/badges/staff.png") center / contain no-repeat;   /* the 256px file: the 64px URL got a 404 edge-cached on 09-18 */ cursor: help; flex: none; }
.el-staff.lg { width: 24px; height: 24px; border-radius: 6px; vertical-align: -6px; }
.el-staff.sm { width: 14px; height: 14px; border-radius: 4px; vertical-align: -3px; margin-left: 4px; }
.el-account .el-staff { margin-left: 2px; vertical-align: middle; align-self: center; }
