/* ============================================================ */
/* Glow theme — Too Much Stupid                                  */
/* Adapted from plans/stupid/design/glow/styles.css              */
/* ============================================================ */

html, body { height: 100%; margin: 0; }
body.glowed { min-height: 100vh; }

.glowed {
  background: radial-gradient(ellipse at 50% 30%, #0a1a2e 0%, #050810 70%);
  color: #d8f0ff;
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
}
.glowed .smoke {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(120, 220, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(255, 200, 100, 0.10), transparent 60%);
  filter: blur(20px);
}
.glowed .grid-floor {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(0deg, rgba(120, 220, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 220, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
}
.glowed > * { position: relative; z-index: 1; }
.glowed a { color: inherit; text-decoration: none; }
.glowed h1, .glowed h2, .glowed h3, .glowed h4, .glowed h5, .glowed h6 { margin: 0; }
.glowed ul, .glowed ol { margin: 0; padding: 0; list-style: none; }
.glowed p { margin: 0; }
.glowed img { display: block; max-width: 100%; height: auto; }
.glowed button { font-family: inherit; }

.glowed .topframe {
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(120, 220, 255, 0.2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  background: rgba(120, 220, 255, 0.04);
}
.glowed .tf-cell {
  padding: 10px 18px; display: flex; align-items: center; gap: 10px;
  border-right: 1px solid rgba(120, 220, 255, 0.1);
}
.glowed .topframe > .tf-cell:last-child { border-right: none; }
.glowed .tf-cell .v { color: #8feaff; text-shadow: 0 0 8px rgba(143, 234, 255, 0.7); }
.glowed .tf-cell .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #8feaff; box-shadow: 0 0 12px #8feaff;
  animation: holo-pulse 1.6s infinite;
}
.glowed .tf-spacer { flex: 1; border-right: 1px solid rgba(120, 220, 255, 0.1); }
.glowed .tf-link {
  border-left: 1px solid rgba(120, 220, 255, 0.1);
  transition: background 0.15s, color 0.15s;
}
.glowed .tf-link:hover {
  background: rgba(143, 234, 255, 0.06);
  color: #fff;
}

.glowed .nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 36px;
}
.glowed .nav-logo {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.0625rem; color: #fff;
}
.glowed .nav-logo .ring { width: 44px; height: 44px; position: relative; border-radius: 50%; }
.glowed .nav-logo .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.glowed .nav-logo .codename {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; font-weight: 400;
  color: rgba(216, 240, 255, 0.5);
  margin-top: 2px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.glowed .nav-pills {
  display: flex; gap: 4px; padding: 5px;
  background: rgba(120, 220, 255, 0.06);
  border: 1px solid rgba(120, 220, 255, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(20px);
}
.glowed .nav-pills a {
  padding: 8px 16px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.6);
  text-decoration: none;
}
.glowed .nav-pills a.active {
  background: linear-gradient(180deg, rgba(143, 234, 255, 0.25), rgba(143, 234, 255, 0.1));
  color: #fff;
  box-shadow: 0 0 16px rgba(143, 234, 255, 0.4), inset 0 0 0 1px rgba(143, 234, 255, 0.5);
}
.glowed .nav-user {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(120, 220, 255, 0.2);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.glowed .nav-user .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #8feaff, #2a4f7f);
  box-shadow: 0 0 12px rgba(143, 234, 255, 0.5);
  overflow: hidden;
  flex-shrink: 0;
}
.glowed .nav-user .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.glowed .nav-user .nu-text {
  display: flex; flex-direction: column; gap: 2px;
  line-height: 1.1;
}
.glowed .nav-user .nu-name {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem; font-weight: 600;
  color: #fff;
}
.glowed .nav-user .small { display: block; font-size: 0.5625rem; color: rgba(216, 240, 255, 0.55); margin-top: 0.125rem; }
.glowed .nav-user .small i { margin-right: 0.375rem; color: #8feaff; }

.glowed .hero {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 40px; padding: 30px 40px 60px;
  position: relative;
}
.glowed .hero-left { position: relative; z-index: 1; }
.glowed .pre-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(120, 220, 255, 0.08);
  border: 1px solid rgba(120, 220, 255, 0.2);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.glowed .pre-tag .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #8feaff; box-shadow: 0 0 10px #8feaff;
  animation: holo-pulse 1.6s infinite;
}
.glowed .pre-tag .v {
  color: #8feaff;
  text-shadow: 0 0 6px rgba(143, 234, 255, 0.6);
}

.glowed h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300; font-size: 4rem;
  line-height: 1.05; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 28px;
  text-shadow: 0 0 30px rgba(143, 234, 255, 0.3);
}
.glowed h1 .bold { font-weight: 700; }
.glowed h1 .accent {
  background: linear-gradient(180deg, #8feaff, #4a8fcf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.glowed .lede {
  font-size: 1rem; line-height: 1.65;
  color: rgba(216, 240, 255, 0.75);
  max-width: 480px; margin-bottom: 32px;
  padding-left: 18px;
  border-left: 1px solid rgba(120, 220, 255, 0.3);
}

.glowed .cta-row {
  display: flex; gap: 12px; align-items: center;
  margin-top: 24px; margin-bottom: 36px; flex-wrap: wrap;
}

/* === Three CTA tiers === */
/* Tier 1: PLAY — high-energy red, reserved for "play / launch the game" */
.glowed .btn-play {
  padding: 14px 26px;
  background: linear-gradient(180deg, #ff4f5e 0%, #d92a3c 100%);
  border: 1px solid rgba(255, 120, 130, 0.6);
  border-radius: 999px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 0 28px rgba(255, 79, 94, 0.55),
    0 0 8px rgba(255, 79, 94, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: inline-flex; align-items: center; gap: 10px;
  position: relative;
  transition: all 0.2s;
}
.glowed .btn-play:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 36px rgba(255, 79, 94, 0.7),
    0 0 12px rgba(255, 79, 94, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Tier 2: PRIMARY — cyan glow, for the main affirmative action on a page (not Play) */
.glowed .btn-primary {
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(143, 234, 255, 0.3) 0%, rgba(143, 234, 255, 0.12) 100%);
  border: 1px solid rgba(143, 234, 255, 0.6);
  border-radius: 999px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    0 0 24px rgba(143, 234, 255, 0.5),
    0 0 6px rgba(143, 234, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: inline-flex; align-items: center; gap: 10px;
  text-shadow: 0 0 10px rgba(143, 234, 255, 0.6);
  transition: all 0.2s;
}
.glowed .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 32px rgba(143, 234, 255, 0.65),
    0 0 10px rgba(143, 234, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Tier 3: SECONDARY — outlined ghost */
.glowed .btn-secondary {
  padding: 14px 22px;
  background: transparent;
  border: 1px solid rgba(216, 240, 255, 0.3);
  border-radius: 999px;
  color: rgba(216, 240, 255, 0.75);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s;
}
.glowed .btn-secondary:hover {
  border-color: rgba(216, 240, 255, 0.5);
  color: #fff;
}

/* Sparing handwriting accent — peach-tinted, ONE place only */
.glowed .ghost-note {
  font-family: 'Caveat', cursive;
  font-size: 1.1875rem;
  color: rgba(255, 180, 140, 0.75);
  transform: rotate(-3deg);
  margin-left: 4px;
  white-space: nowrap;
}

/* Gauges */
.glowed .gauges { display: flex; gap: 28px; }
.glowed .gauge { display: flex; align-items: center; gap: 10px; }
.glowed .gauge svg { width: 48px; height: 48px; }
.glowed .gauge .gv {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.375rem; color: #fff;
}
.glowed .gauge .gl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}

/* Hero right — orb (NO SPIN) */
.glowed .hero-right {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.glowed .holo-orb {
  width: 100%; aspect-ratio: 1/1;
  max-width: 540px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 40px rgba(143, 234, 255, 0.3));
  /* no animation */
}
.glowed .holo-orb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.glowed .core-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.625rem;
  letter-spacing: 0.05em;
  text-align: center;
  color: #fff; line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(143, 234, 255, 0.6);
}
.glowed .core-label .sub {
  display: block;
  font-size: 0.625rem; font-weight: 400;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.2em;
  color: rgba(216, 240, 255, 0.7);
  margin-top: 8px;
}
.glowed .data-pill {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(8, 18, 32, 0.85);
  border: 1px solid rgba(143, 234, 255, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.85);
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(143, 234, 255, 0.2);
  /* no animation */
}
.glowed .data-pill .v { color: #8feaff; }
.glowed .data-pill .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #8feaff; box-shadow: 0 0 8px #8feaff;
}
.glowed .dp1 { top: 6%; right: -8%; }
.glowed .dp2 { bottom: 22%; right: -12%; }
.glowed .dp3 { bottom: 4%; left: -6%; }
.glowed .dp4 { top: 16%; left: -10%; }

/* Clusters / cards */
.glowed .clusters { padding: 0 40px 40px; position: relative; }
.glowed .cluster-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
}
.glowed .cluster-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.375rem;
  letter-spacing: -0.01em; color: #fff;
}
.glowed .ch-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}
.glowed .cluster-header .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(143, 234, 255, 0.3), transparent);
}
.glowed .games {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.glowed .gcard {
  background: linear-gradient(180deg, rgba(143, 234, 255, 0.05), rgba(143, 234, 255, 0.01));
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 22px;
  padding: 22px;
  position: relative;
  backdrop-filter: blur(20px);
  transition: all 0.3s;
}
.glowed .gcard:hover {
  border-color: rgba(143, 234, 255, 0.6);
  box-shadow: 0 0 32px rgba(143, 234, 255, 0.2);
}
.glowed .gtop {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.glowed .gid {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
}
.glowed .gid .id { color: #8feaff; }
.glowed .gtag {
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  border-radius: 999px;
  border: 1px solid rgba(216, 240, 255, 0.2);
  color: rgba(216, 240, 255, 0.6);
}
.glowed .gtag.live {
  background: rgba(143, 234, 255, 0.15);
  border-color: rgba(143, 234, 255, 0.5);
  color: #8feaff;
  box-shadow: 0 0 12px rgba(143, 234, 255, 0.3);
}
.glowed .gtag.daily {
  background: rgba(180, 220, 140, 0.15);
  border-color: rgba(180, 220, 140, 0.5);
  color: #b4dc8c;
}
.glowed .gvis {
  position: relative;
  margin-bottom: 18px;
  height: 135px; border-radius: 14px;
  background: radial-gradient(ellipse at center, rgba(143, 234, 255, 0.08), transparent);
  overflow: hidden;
}
.glowed .gvis svg { width: 100%; height: 100%; }
.glowed .gname {
  position: absolute;
  bottom: 10px; left: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.875rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(143, 234, 255, 0.5);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.glowed .gname .sub {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; font-weight: 400;
  color: rgba(216, 240, 255, 0.55);
  letter-spacing: 0.15em; margin-top: 2px;
}
.glowed .gcard h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.1875rem;
  color: #fff; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.glowed .gdesc {
  font-size: 0.8125rem; line-height: 1.55;
  color: rgba(216, 240, 255, 0.7);
  margin-bottom: 18px;
}
.glowed .gfoot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(143, 234, 255, 0.15);
}
.glowed .gstats {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.1em;
  color: rgba(216, 240, 255, 0.55);
  text-transform: uppercase;
}
.glowed .gstats .v { color: #8feaff; }
.glowed .gengage {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: #8feaff;
  display: inline-flex; align-items: center; gap: 6px;
}

/* Footer */
.glowed .footer {
  padding: 18px 40px;
  border-top: 1px solid rgba(143, 234, 255, 0.15);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}
.glowed .footer .tms {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(216, 240, 255, 0.85);
  transition: color 0.15s;
}
.glowed .footer .tms:hover { color: #fff; }
.glowed .footer-links { display: flex; gap: 22px; }

/* ============================================================ */
/* GAME PAGE — Global Triumph                                    */
/* ============================================================ */
.glowed .product-intro {
  padding: 24px 40px 24px;
  display: grid; grid-template-columns: 1fr minmax(180px, 240px);
  gap: 36px; align-items: center;
}
.glowed .product-intro .pre-tag { margin-bottom: 16px; }
.glowed .product-intro .lede {
  margin: 0 0 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem; line-height: 1.55; font-weight: 400;
  color: rgba(216, 240, 255, 0.92);
  padding-left: 18px;
  border-left: 1px solid rgba(120, 220, 255, 0.35);
  max-width: none;
}
.glowed .product-intro .sub {
  margin: 0;
  font-size: 0.9375rem; line-height: 1.6;
  color: rgba(216, 240, 255, 0.6);
  padding-left: 19px;
}
.glowed .product-intro-image {
  margin-left: auto;
  filter: drop-shadow(0 0 28px rgba(143, 234, 255, 0.25));
}
.glowed .product-intro-image img { display: block; width: 100%; height: auto; }
.glowed .product-intro.gt .product-intro-image { filter: drop-shadow(0 0 28px rgba(255, 200, 100, 0.22)); }
.glowed .product-intro.smartichoke .product-intro-image { filter: drop-shadow(0 0 28px rgba(180, 220, 140, 0.3)); }
.glowed .product-intro.words .product-intro-image { filter: drop-shadow(0 0 28px rgba(143, 234, 255, 0.3)); }
@media (max-width: 900px) {
  .glowed .product-intro {
    grid-template-columns: 1fr;
    padding: 20px 16px 20px;
    gap: 20px;
  }
  .glowed .product-intro-image { order: -1; max-width: 200px; margin: 0 auto; }
}

.glowed .gt-forums {
  margin: 8px 40px 32px;
  padding: 18px;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 18px;
  background: rgba(143, 234, 255, 0.04);
}
.glowed .gt-forums-head {
  display: flex; align-items: center; gap: 14px;
  padding: 0 6px 14px;
}
.glowed .gt-forums-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.125rem; color: #fff;
  margin: 0;
}
.glowed .gt-forums-head .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(143, 234, 255, 0.3), transparent);
}
.glowed .gt-forums-head .gt-forums-more {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8feaff; text-decoration: none;
  transition: color 0.2s;
}
.glowed .gt-forums-head .gt-forums-more:hover { color: #fff; }
.glowed .gt-forums .threads { padding: 0; }
@media (max-width: 720px) {
  .glowed .gt-forums { margin: 8px 16px 24px; padding: 14px; }
}

/* Account home — profile card + quick-grid */
.glowed .account-body {
  padding: 20px 40px 40px;
  display: grid; gap: 20px;
}
.glowed .profile-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px; align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 18px;
  background: rgba(143, 234, 255, 0.04);
}
.glowed .profile-card .icon {
  position: relative;
  width: 96px; height: 96px;
  cursor: pointer;
}
.glowed .profile-card .uicon {
  width: 100%; height: 100%;
}
.glowed .profile-card .uicon img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 50%;
  border: 2px solid rgba(143, 234, 255, 0.4);
  box-shadow: 0 0 18px rgba(143, 234, 255, 0.3);
  background: rgba(143, 234, 255, 0.08);
}
.glowed .profile-card .icon .upload {
  position: absolute;
  right: 0; bottom: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(143, 234, 255, 0.2);
  border: 1px solid rgba(143, 234, 255, 0.5);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 0 10px rgba(143, 234, 255, 0.4);
  opacity: 0; transition: opacity 0.2s;
}
.glowed .profile-card .icon:hover .upload { opacity: 1; }
.glowed .profile-card #upload_progress {
  display: none; position: absolute;
  top: 0; left: 0; bottom: 0; width: 0;
  border-radius: 50%;
  background: rgba(143, 234, 255, 0.35);
  pointer-events: none;
}
.glowed .profile-card .profile-meta {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.glowed .profile-card .handle {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.5rem; color: #fff;
  text-shadow: 0 0 12px rgba(143, 234, 255, 0.3);
  word-break: break-word;
}
.glowed .profile-card .name {
  font-size: 0.9375rem; color: rgba(216, 240, 255, 0.85);
}
.glowed .profile-card .email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.05em;
  color: rgba(216, 240, 255, 0.55);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
}
.glowed .profile-card .email i { color: #8feaff; }
.glowed .profile-card #in_icon { display: none; }

.glowed .quick-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.glowed .quick-card {
  display: flex; flex-direction: column;
  padding: 18px 20px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.03);
  text-decoration: none; color: inherit;
  transition: all 0.2s;
}
.glowed .quick-card:hover {
  border-color: rgba(143, 234, 255, 0.45);
  background: rgba(143, 234, 255, 0.06);
  transform: translateY(-1px);
}
.glowed .quick-card .qc-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(143, 234, 255, 0.1);
  border: 1px solid rgba(143, 234, 255, 0.3);
  color: #8feaff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 6px rgba(143, 234, 255, 0.4));
}
.glowed .quick-card .qc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  margin-bottom: 6px;
}
.glowed .quick-card .qc-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.625rem; color: #fff;
  text-shadow: 0 0 10px rgba(143, 234, 255, 0.3);
  display: flex; align-items: baseline; gap: 8px;
}
.glowed .quick-card .qc-value .qc-unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}
.glowed .quick-card .qc-action {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8feaff;
  display: inline-flex; align-items: center; gap: 6px;
}

@media (max-width: 720px) {
  .glowed .account-body { padding: 16px 16px 32px; }
  .glowed .profile-card { padding: 16px; gap: 16px; grid-template-columns: 72px 1fr; }
  .glowed .profile-card .icon { width: 72px; height: 72px; }
  .glowed .profile-card .handle { font-size: 1.25rem; }
}
@media (max-width: 600px) {
  .glowed .quick-grid { grid-template-columns: 1fr; }
}

/* Tip cards (Smartichoke tips, others) — image + title + blurb */
.glowed .tip-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.03);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: all 0.2s;
}
.glowed .tip-card:hover {
  border-color: rgba(143, 234, 255, 0.45);
  background: rgba(143, 234, 255, 0.06);
}
.glowed .tip-thumb {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.glowed .tip-thumb img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.glowed .tip-meta {
  padding: 16px;
}
.glowed .tip-meta .ft {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1rem; color: #fff;
  margin-bottom: 6px;
}
.glowed .tip-meta .fd {
  font-size: 0.8125rem; line-height: 1.55;
  color: rgba(216, 240, 255, 0.7);
}

/* Process steps — numbered horizontal flow (Words "How to Play") */
.glowed .step-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 12px;
}
.glowed .step-grid .step {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.03);
  display: flex; flex-direction: column; gap: 10px;
}
.glowed .step-grid .step .step-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.18em;
  color: #8feaff; text-transform: uppercase;
}
.glowed .step-grid .step .step-img {
  display: block; width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.glowed .step-grid .step .step-img img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.glowed .step-grid .step .step-cap {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.9375rem; color: #fff;
}
@media (max-width: 900px) {
  .glowed .step-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .glowed .step-grid { grid-template-columns: 1fr; }
}

/* Version history — used on /words/ */
.glowed .versions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 12px;
}
.glowed .version {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(143, 234, 255, 0.12);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.02);
}
.glowed .version .vlabel {
  display: flex; flex-direction: column; gap: 4px;
}
.glowed .version .vnumber {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1rem; color: #fff;
}
.glowed .version .vdate {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.12em;
  color: rgba(216, 240, 255, 0.5);
  text-transform: uppercase;
}
.glowed .version .vchanges ul {
  list-style: none; margin: 0; padding: 0;
}
.glowed .version .vchanges li {
  position: relative;
  padding-left: 16px;
  font-size: 0.875rem; line-height: 1.55;
  color: rgba(216, 240, 255, 0.78);
}
.glowed .version .vchanges li + li { margin-top: 4px; }
.glowed .version .vchanges li::before {
  content: '\203A';
  position: absolute; left: 0; top: 0;
  color: #8feaff;
}
@media (max-width: 720px) {
  .glowed .version { grid-template-columns: 1fr; gap: 8px; }
}

.glowed .game-hero {
  padding: 30px 40px 36px;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 48px; align-items: center;
}
.glowed .game-hero-left .pre-tag { margin-bottom: 24px; }
.glowed .game-hero-left h1 {
  font-size: 4rem; line-height: 0.95;
  margin-bottom: 22px;
  font-weight: 300;
}
.glowed .game-hero-left h1 .strike {
  display: block;
  font-size: 1.75rem; font-weight: 600; letter-spacing: 0.06em;
  color: #ffc864;
  text-shadow: 0 0 18px rgba(255, 200, 100, 0.5);
  text-transform: uppercase;
  margin-top: 10px;
}
.glowed .game-hero-left .lede { margin-bottom: 28px; max-width: 520px; }
.glowed .game-hero-left .cta-row { margin-bottom: 0; }

.glowed .gh-orb {
  width: 100%; aspect-ratio: 1/1;
  max-width: 520px; margin-left: auto;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 40px rgba(255, 200, 100, 0.25));
}
.glowed .gh-orb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.glowed .gh-core {
  position: absolute;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 2.375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 24px rgba(143, 234, 255, 0.7);
  line-height: 1;
}
.glowed .gh-core .ss {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem; letter-spacing: 0.3em;
  font-family: 'JetBrains Mono', monospace;
  color: #ffc864;
  text-shadow: 0 0 14px rgba(255, 200, 100, 0.6);
}
.glowed .gh-pill {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(8, 18, 32, 0.85);
  border: 1px solid rgba(143, 234, 255, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.85);
  box-shadow: 0 0 16px rgba(143, 234, 255, 0.2);
  white-space: nowrap;
}
.glowed .gh-pill .v { color: #8feaff; }
.glowed .gh-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: #8feaff; box-shadow: 0 0 8px #8feaff; }

/* Briefing strip */
.glowed .briefing {
  margin: 8px 40px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.04);
  overflow: hidden;
}
.glowed .brief-cell {
  padding: 18px 22px;
  border-right: 1px solid rgba(143, 234, 255, 0.15);
  display: flex; flex-direction: column; gap: 6px;
}
.glowed .brief-cell:last-child { border-right: none; }
.glowed .brief-cell .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}
.glowed .brief-cell .v {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem; font-weight: 600; color: #fff;
  text-shadow: 0 0 12px rgba(143, 234, 255, 0.4);
}
.glowed .brief-cell .v .accent { color: #8feaff; }
.glowed .brief-cell .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; color: rgba(216, 240, 255, 0.55);
}

/* Two-col body */
.glowed .gp-body {
  padding: 8px 40px 40px;
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}
.glowed .gp-section {
  margin-top: 2rem;
}
.glowed .gp-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.375rem;
  color: #fff;
  margin-bottom: 16px;
}
.glowed .gp-section .h2-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
}
.glowed .gp-section .h2-row h2 { margin-bottom: 0; }
.glowed .gp-section .h2-row .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(143, 234, 255, 0.3), transparent);
}
.glowed .gp-section p {
  font-size: 0.9375rem; line-height: 1.7;
  color: rgba(216, 240, 255, 0.78);
  margin-bottom: 14px;
}

.glowed .feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: 16px;
}
.glowed .feature {
  padding: 16px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.03);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.5rem;
  row-gap: 6px;
  align-items: start;
}
.glowed .feature .ico {
  grid-column: 1; grid-row: 1;
  align-self: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; color: #8feaff; letter-spacing: 0.15em;
  margin-bottom: 0;
}
.glowed .feature .ico i {
  font-size: 0.9375rem;
  filter: drop-shadow(0 0 6px rgba(143, 234, 255, 0.4));
}
.glowed .feature .ft {
  grid-column: 2; grid-row: 1;
  align-self: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.9375rem; color: #fff;
  margin-bottom: 0;
}
.glowed .feature .fd {
  grid-column: 1 / -1; grid-row: 2;
  font-size: 0.75rem; line-height: 1.5;
  color: rgba(216, 240, 255, 0.65);
}
.glowed .gp-section .feature-lede {
  margin: 2.5rem 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
}
.glowed .gp-section .feature-lede + .feature-grid { margin-top: 0.75rem; }

/* Right column — worlds list */
.glowed .gp-side {
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 18px;
  background: rgba(143, 234, 255, 0.03);
  padding: 20px;
  height: fit-content;
}
.glowed .gp-side h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1rem;
  color: #fff; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.glowed .gp-side h3 .pulse { width: 7px; height: 7px; border-radius: 50%; background: #8feaff; box-shadow: 0 0 10px #8feaff; animation: holo-pulse 1.6s infinite; }
.glowed .world {
  padding: 12px 0;
  border-bottom: 1px solid rgba(143, 234, 255, 0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.glowed .world:last-child { border-bottom: none; }
.glowed .world .wleft { display: flex; flex-direction: column; gap: 4px; }
.glowed .world .wname {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.875rem; color: #fff;
}
.glowed .world .wmeta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.12em;
  color: rgba(216, 240, 255, 0.55);
  text-transform: uppercase;
}
.glowed .world .wjoin {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  color: #8feaff;
  padding: 6px 12px;
  border: 1px solid rgba(143, 234, 255, 0.4);
  border-radius: 999px;
  background: rgba(143, 234, 255, 0.08);
}
.glowed .world .wstate {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; color: rgba(216, 240, 255, 0.4);
  letter-spacing: 0.15em; text-transform: uppercase;
}

/* Worlds bar (Game v2) */
.glowed .worlds-bar {
  margin: 8px 40px 32px;
  padding: 18px 18px 18px 18px;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 18px;
  background: rgba(143, 234, 255, 0.04);
  position: relative;
}
.glowed .wb-head {
  display: flex; align-items: center; gap: 14px;
  padding: 0 6px 14px;
}
.glowed .wb-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.125rem; color: #fff;
  margin: 0;
}
.glowed .wb-head .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #8feaff; box-shadow: 0 0 10px #8feaff;
  animation: holo-pulse 1.6s infinite;
}
.glowed .wb-head .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}
.glowed .wb-head .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(143, 234, 255, 0.3), transparent);
}
.glowed .wb-track {
  position: relative;
  display: flex; align-items: stretch; gap: 14px;
}
.glowed .wb-arrow {
  flex-shrink: 0;
  width: 40px;
  align-self: stretch;
  border: 1px solid rgba(143, 234, 255, 0.25);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.05);
  color: #8feaff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.125rem;
  transition: all 0.2s;
}
.glowed .wb-arrow:hover {
  background: rgba(143, 234, 255, 0.12);
  border-color: rgba(143, 234, 255, 0.5);
  box-shadow: 0 0 16px rgba(143, 234, 255, 0.25);
}
.glowed .wb-arrow.disabled {
  opacity: 0.3; cursor: default;
}
.glowed .wb-cards {
  flex: 1;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-width: 0;
}
.glowed .wb-cards::-webkit-scrollbar { display: none; }
.glowed .worlds-bar.no-scroll .wb-arrow { display: none; }
.glowed .worlds-bar.no-scroll .wb-cards { overflow: hidden; }
.glowed .wb-card {
  flex: 0 0 calc((100% - 3 * 14px) / 4);
  scroll-snap-align: start;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(143, 234, 255, 0.03);
  cursor: pointer;
  transition: all 0.2s;
  display: flex; flex-direction: column;
}
@media (max-width: 1100px) {
  .glowed .wb-card { flex: 0 0 calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 820px) {
  .glowed .wb-card { flex: 0 0 calc((100% - 14px) / 2); }
}
@media (max-width: 560px) {
  .glowed .wb-card { flex: 0 0 100%; }
}
.glowed .wb-card:hover {
  border-color: rgba(143, 234, 255, 0.55);
  box-shadow: 0 0 24px rgba(143, 234, 255, 0.2);
  /* transform: translateY(-2px); */
}
.glowed .wb-thumb {
  position: relative; display: block;
  aspect-ratio: 2 / 1;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(143, 234, 255, 0.2);
  text-decoration: none; color: inherit;
}
.glowed .wb-thumb:hover { filter: brightness(1.08); }
.glowed .wb-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,16,0.1) 0%, rgba(5,8,16,0.65) 100%),
              radial-gradient(ellipse at center, transparent 50%, rgba(143,234,255,0.18));
  mix-blend-mode: normal;
}
.glowed .wb-thumb .day {
  position: absolute; top: 10px; left: 10px;
  z-index: 1;
  padding: 4px 10px;
  background: rgba(5, 8, 16, 0.75);
  border: 1px solid rgba(143, 234, 255, 0.4);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8feaff;
  backdrop-filter: blur(6px);
}
.glowed .wb-thumb .state {
  position: absolute; top: 10px; right: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.glowed .wb-thumb .state.open {
  background: rgba(180, 220, 140, 0.15);
  border: 1px solid rgba(180, 220, 140, 0.5);
  color: #b4dc8c;
}
.glowed .wb-thumb .state.full {
  background: rgba(255, 200, 100, 0.12);
  border: 1px solid rgba(255, 200, 100, 0.5);
  color: #ffc864;
}
.glowed .wb-thumb .state.live {
  background: rgba(143, 234, 255, 0.15);
  border: 1px solid rgba(143, 234, 255, 0.5);
  color: #8feaff;
}
.glowed .wb-body {
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.glowed .wb-body .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1rem; color: #fff;
}
.glowed .wb-body .stats {
  display: flex; gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
}
.glowed .wb-body .stats .v { color: #8feaff; }
.glowed .wb-body .wb-actions {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 16px;
}
.glowed .wb-body .wb-actions > a {
  flex: 1 1 auto;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
/* Tier 01: Play — red */
.glowed .wb-body .play {
  background: linear-gradient(180deg, #ff4f5e 0%, #d92a3c 100%);
  border: 1px solid rgba(255, 120, 130, 0.6);
  color: #fff;
  box-shadow:
    0 0 16px rgba(255, 79, 94, 0.5),
    0 0 4px rgba(255, 79, 94, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.glowed .wb-body .play:hover {
  box-shadow:
    0 0 22px rgba(255, 79, 94, 0.65),
    0 0 6px rgba(255, 79, 94, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
/* Tier 02: Primary — cyan glow */
.glowed .wb-body .primary {
  background: linear-gradient(180deg, rgba(143, 234, 255, 0.3) 0%, rgba(143, 234, 255, 0.12) 100%);
  border: 1px solid rgba(143, 234, 255, 0.6);
  color: #fff;
  text-shadow: 0 0 8px rgba(143, 234, 255, 0.55);
  box-shadow:
    0 0 14px rgba(143, 234, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.glowed .wb-body .primary:hover {
  background: linear-gradient(180deg, rgba(143, 234, 255, 0.4) 0%, rgba(143, 234, 255, 0.18) 100%);
  border-color: rgba(143, 234, 255, 0.8);
  box-shadow:
    0 0 20px rgba(143, 234, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* Tier 03: Secondary — outlined ghost */
.glowed .wb-body .preview {
  flex: 0 1 auto;
  background: transparent;
  border: 1px solid rgba(216, 240, 255, 0.28);
  color: rgba(216, 240, 255, 0.7);
}
.glowed .wb-body .preview:hover {
  border-color: rgba(216, 240, 255, 0.5);
  color: #fff;
}
.glowed .wb-dots {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 14px;
}
.glowed .wb-dot {
  width: 24px; height: 3px; border-radius: 2px;
  background: rgba(143, 234, 255, 0.2);
}
.glowed .wb-dot.active {
  background: #8feaff;
  box-shadow: 0 0 8px #8feaff;
}

/* ============================================================ */
/* NOTES PAGE                                                    */
/* ============================================================ */
.glowed .util-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px 12px;
}
.glowed .util-title {
  display: flex; align-items: center; gap: 14px;
}
.glowed .util-title .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(143, 234, 255, 0.1);
  border: 1px solid rgba(143, 234, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: #8feaff;
  box-shadow: 0 0 18px rgba(143, 234, 255, 0.25);
}
.glowed .util-title h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 2rem; color: #fff;
  margin: 0; line-height: 1; text-shadow: none;
}
.glowed .util-title .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em; color: rgba(216, 240, 255, 0.5);
  text-transform: uppercase;
  margin-top: 4px; display: block;
}
.glowed .util-tools { display: flex; gap: 8px; }
.glowed .tool-btn {
  padding: 10px 16px;
  background: rgba(143, 234, 255, 0.06);
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 999px;
  color: rgba(216, 240, 255, 0.75);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.glowed .tool-btn:hover {
  border-color: rgba(143, 234, 255, 0.45);
  color: #fff;
  background: rgba(143, 234, 255, 0.1);
}
.glowed .tool-btn .i { color: #8feaff; }
.glowed .tool-btn.primary {
  background: linear-gradient(180deg, rgba(143, 234, 255, 0.3) 0%, rgba(143, 234, 255, 0.12) 100%);
  border-color: rgba(143, 234, 255, 0.6);
  color: #fff;
  box-shadow:
    0 0 18px rgba(143, 234, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow: 0 0 8px rgba(143, 234, 255, 0.55);
}
.glowed .tool-btn.primary:hover {
  background: linear-gradient(180deg, rgba(143, 234, 255, 0.4) 0%, rgba(143, 234, 255, 0.18) 100%);
  border-color: rgba(143, 234, 255, 0.8);
  box-shadow:
    0 0 24px rgba(143, 234, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.glowed .util-tabs {
  display: flex; gap: 4px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(143, 234, 255, 0.15);
}
.glowed .util-tab {
  padding: 12px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.glowed .util-tab.active {
  color: #8feaff;
  border-bottom-color: #8feaff;
  text-shadow: 0 0 10px rgba(143, 234, 255, 0.6);
}
.glowed .util-tab .count {
  margin-left: 6px; padding: 2px 6px;
  background: rgba(143, 234, 255, 0.15);
  border-radius: 999px; color: #8feaff; font-size: 0.5625rem;
}

.glowed .notes-list {
  padding: 20px 40px;
  display: flex; flex-direction: column; gap: 8px;
}
.glowed .notes-list-form {
  display: flex; flex-direction: column; gap: 8px;
}
.glowed .notes-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 6px 18px 12px;
  border-bottom: 1px solid rgba(143, 234, 255, 0.12);
  margin-bottom: 4px;
}
.glowed .notes-checkall {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(216, 240, 255, 0.6);
  cursor: pointer;
}
.glowed .notes-checkall input[type="checkbox"] { cursor: pointer; }
.glowed .notes-bulk { display: flex; gap: 8px; }
.glowed .notes-empty {
  padding: 32px 24px;
  text-align: center;
  color: rgba(216, 240, 255, 0.5);
  border: 1px dashed rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.glowed .notes-notice {
  padding: 12px 18px;
  border: 1px solid rgba(255, 200, 100, 0.25);
  border-radius: 14px;
  background: rgba(255, 200, 100, 0.05);
  color: rgba(255, 220, 170, 0.85);
  font-size: 0.8125rem;
  display: flex; align-items: center; gap: 10px;
}
.glowed .notes-notice i { color: #ffc864; }
.glowed .note {
  position: relative;
  display: grid;
  grid-template-columns: 24px 200px 1fr 110px;
  gap: 18px; align-items: center;
  padding: 14px 18px 14px 30px;
  border: 1px solid rgba(143, 234, 255, 0.12);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.02);
  transition: all 0.2s;
}
.glowed .note:hover {
  border-color: rgba(143, 234, 255, 0.4);
  background: rgba(143, 234, 255, 0.05);
}
.glowed .note.unread { border-color: rgba(143, 234, 255, 0.3); }
.glowed .note.unread::before {
  content: '';
  position: absolute;
  left: 10px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: #8feaff; box-shadow: 0 0 10px #8feaff;
}
.glowed .note .note-check { cursor: pointer; }
.glowed .note .from {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.875rem; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.glowed .note .from .to-label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400; font-size: 0.625rem; letter-spacing: 0.12em;
  color: rgba(216, 240, 255, 0.45);
  text-transform: uppercase;
  margin-right: 4px;
}
.glowed .note .from .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; color: rgba(216, 240, 255, 0.5);
  letter-spacing: 0.1em; margin-left: 6px;
}
.glowed .note .preview {
  display: block; min-width: 0;
  font-size: 0.8125rem; color: rgba(216, 240, 255, 0.7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-decoration: none;
}
.glowed .note .preview .subj { color: #fff; font-weight: 500; margin-right: 8px; }
.glowed .note .preview .ax { color: rgba(143, 234, 255, 0.7); margin-left: 6px; }
.glowed .note .ts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.1em;
  text-align: right;
  color: rgba(216, 240, 255, 0.5);
  text-transform: uppercase;
}

/* ============================================================ */
/* FORUMS PAGE                                                   */
/* ============================================================ */
.glowed .forum-head {
  padding: 24px 40px 16px;
  display: flex; align-items: center; gap: 20px;
}
.glowed .forum-crumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
  display: flex; align-items: center; gap: 8px;
}
.glowed .forum-crumbs .crumb-link { color: #8feaff; }
.glowed .forum-crumbs .sep { color: rgba(216, 240, 255, 0.3); }

.glowed .forum-title-row {
  padding: 0 40px 20px;
  display: flex; justify-content: space-between; align-items: end;
  border-bottom: 1px solid rgba(143, 234, 255, 0.15);
}
.glowed .forum-title h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 2.25rem; color: #fff;
  margin: 0; line-height: 1; text-shadow: none;
}
.glowed .forum-title .desc {
  margin-top: 8px;
  font-size: 0.875rem; color: rgba(216, 240, 255, 0.65);
  max-width: 540px;
}
.glowed .forum-stats {
  display: flex; gap: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
}
.glowed .forum-stats .v { color: #8feaff; font-size: 1.125rem; display: block; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0; }

.glowed .forum-toolbar {
  padding: 16px 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.glowed .forum-cats { display: flex; gap: 6px; }
.glowed .cat-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.6);
  border: 1px solid rgba(143, 234, 255, 0.2);
  background: rgba(143, 234, 255, 0.04);
  cursor: pointer;
}
.glowed .cat-pill.active {
  background: rgba(143, 234, 255, 0.15);
  border-color: rgba(143, 234, 255, 0.5);
  color: #8feaff;
  box-shadow: 0 0 12px rgba(143, 234, 255, 0.3);
}

.glowed .threads {
  padding: 0 40px 36px;
  display: flex; flex-direction: column; gap: 8px;
}
.glowed .thread {
  display: grid;
  grid-template-columns: 24px 1fr 130px 130px;
  gap: 18px; align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(143, 234, 255, 0.12);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.02);
  transition: all 0.2s;
}
.glowed .thread:hover {
  border-color: rgba(143, 234, 255, 0.4);
  background: rgba(143, 234, 255, 0.05);
}
.glowed .thread.pinned {
  background: rgba(255, 200, 100, 0.04);
  border-color: rgba(255, 200, 100, 0.3);
}
.glowed .thread .activity {
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
}
.glowed .thread .activity .bar {
  display: inline-block;
  width: 5px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(143, 234, 255, 0.35);
  background: rgba(143, 234, 255, calc(var(--f, 0) * 0.95));
  box-shadow: 0 0 calc(var(--f, 0) * 10px) rgba(143, 234, 255, calc(var(--f, 0) * 0.55));
  transition: background 0.2s, box-shadow 0.2s;
}
.glowed .thread .tinfo .ttitle {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.9375rem; color: #fff;
  display: flex; align-items: center; gap: 10px;
}
.glowed .thread .tinfo .ttitle a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.glowed .thread .tinfo .ttitle a:hover {
  color: #8feaff;
}
.glowed .thread .tinfo .ttitle .thread-last {
  margin-left: -4px;
  display: inline-flex; align-items: center;
  font-size: 0.8125rem;
  color: rgba(216, 240, 255, 0.45);
}
.glowed .thread .tinfo .ttitle .thread-last:hover {
  color: #8feaff;
}
.glowed .thread .tinfo .ttitle .tag {
  padding: 2px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.15em;
  border-radius: 999px;
  background: rgba(143, 234, 255, 0.15);
  border: 1px solid rgba(143, 234, 255, 0.4);
  color: #8feaff;
  text-transform: uppercase;
}
.glowed .thread .tinfo .ttitle .tag.pin { background: rgba(255, 200, 100, 0.15); border-color: rgba(255, 200, 100, 0.4); color: #ffc864; }
.glowed .thread .tinfo .tmeta {
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.1em;
  color: rgba(216, 240, 255, 0.55);
  text-transform: uppercase;
}
.glowed .thread .tmetric {
  text-align: center;
}
.glowed .thread .tmetric .mv {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 600; color: #fff;
}
.glowed .thread .tmetric .mv + .mv {
  margin-top: 0.125rem;
  font-size: 0.8125rem; font-weight: 500;
  color: rgba(216, 240, 255, 0.65);
}
.glowed .thread .tmetric .ml {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.45);
  margin-top: 0.25rem;
}

/* Forums layout: main + sidebar */
.glowed .forums-layout {
  padding: 8px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
}
.glowed .forums-main { min-width: 0; }
.glowed .forums-main .threads { padding: 0; }

.glowed .forums-sidebar {
  display: flex; flex-direction: column; gap: 16px;
}
.glowed .forums-sidebar .new-thread {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(143, 234, 255, 0.3) 0%, rgba(143, 234, 255, 0.12) 100%);
  border: 1px solid rgba(143, 234, 255, 0.6);
  border-radius: 999px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(143, 234, 255, 0.6);
  box-shadow:
    0 0 24px rgba(143, 234, 255, 0.5),
    0 0 6px rgba(143, 234, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.2s;
}
.glowed .forums-sidebar .new-thread:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 32px rgba(143, 234, 255, 0.65),
    0 0 10px rgba(143, 234, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.glowed .forums-sidebar .sidebar-block {
  padding: 16px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.03);
}
.glowed .forums-sidebar h3 {
  margin: 0 0 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  font-weight: 500;
}
.glowed .forums-sidebar .sidebar-categories {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.glowed .forums-sidebar .sidebar-categories a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 7px 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  color: rgba(216, 240, 255, 0.78);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.glowed .forums-sidebar .sidebar-categories a:hover {
  color: #fff;
  background: rgba(143, 234, 255, 0.06);
}
.glowed .forums-sidebar .sidebar-categories li.active a {
  color: #fff;
  background: rgba(143, 234, 255, 0.1);
}
.glowed .forums-sidebar .sidebar-categories .cat-name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.glowed .forums-sidebar .sidebar-categories .dots {
  display: inline-flex; gap: 3px; flex-shrink: 0;
}
.glowed .forums-sidebar .sidebar-categories .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(143, 234, 255, 0.3);
  background: rgba(143, 234, 255, calc(var(--f, 0) * 0.95));
  box-shadow: 0 0 calc(var(--f, 0) * 6px) rgba(143, 234, 255, calc(var(--f, 0) * 0.5));
}

@media (max-width: 900px) {
  .glowed .forums-layout {
    grid-template-columns: 1fr;
    padding: 8px 16px 32px;
  }
}

/* Thread detail */
.glowed .thread-detail {
  padding: 24px 40px 40px;
  display: grid; grid-template-columns: 1fr 280px;
  gap: 28px;
}
.glowed .td-main { min-width: 0; }
.glowed .td-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.875rem; color: #fff;
  margin: 8px 0 10px; line-height: 1.15;
}
.glowed .td-meta {
  display: flex; gap: 18px; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(143, 234, 255, 0.15);
  margin-bottom: 24px;
}
.glowed .td-meta .v { color: #8feaff; }
.glowed .td-meta .tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(143, 234, 255, 0.15);
  border: 1px solid rgba(143, 234, 255, 0.4);
  color: #8feaff;
  font-size: 0.5625rem;
}
/* Thread panel: subject + browse desc above the post list */
.glowed .thread-panel {
  padding: 18px 22px;
  margin-bottom: 16px;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.04);
}
.glowed .thread-panel h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.5rem; line-height: 1.2;
  color: #fff;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.glowed .thread-panel h2 .tag {
  padding: 3px 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(143, 234, 255, 0.15);
  border: 1px solid rgba(143, 234, 255, 0.4);
  color: #8feaff;
}
.glowed .thread-panel h2 .tag.pin {
  background: rgba(255, 200, 100, 0.15);
  border-color: rgba(255, 200, 100, 0.4);
  color: #ffc864;
}
.glowed .thread-panel .browse-desc {
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
}

.glowed .post {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px;
  padding: 20px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.03);
  margin-bottom: 14px;
  position: relative;
}
.glowed .post-avatar {
  width: 72px; height: 72px;
}
.glowed .post-avatar .uicon,
.glowed .post-avatar .uicon img {
  width: 100%; height: 100%;
  display: block;
  border-radius: 50%;
}
.glowed .post-avatar .uicon img {
  object-fit: cover;
  border: 1px solid rgba(143, 234, 255, 0.4);
  box-shadow: 0 0 12px rgba(143, 234, 255, 0.3);
}
.glowed .post-head {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 4px;
}
.glowed .post-author {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.9375rem; color: #fff;
}
.glowed .post-rank {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}
.glowed .post-meta {
  margin-left: auto;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.glowed .post-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.1em;
  color: rgba(216, 240, 255, 0.45);
}
.glowed .post-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: rgba(143, 234, 255, 0.55);
}
.glowed .post-sep {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  color: rgba(216, 240, 255, 0.3);
}
.glowed .post-body {
  font-size: 0.875rem; line-height: 1.65;
  color: rgba(216, 240, 255, 0.85);
  margin: 1.25rem 0;
}
/* Inkling media — fix aspect-ratio container so the absolutely-positioned image
   sizes correctly inside a flex parent. The default rules (padding-bottom: 75%
   + height: 100%) collapse when .full has no resolved height. */
.glowed .post-body .inkrender .component.media .full .wrap {
  aspect-ratio: 4 / 3;
  height: auto;
  padding: 0;
}
.glowed .post-body .inkrender .component.media.qty1 .full .wrap {
  aspect-ratio: auto;
}
.glowed .post-body .inkrender .component.media.qty1 .full .wrap img,
.glowed .post-body .inkrender .component.media.qty1 .full .wrap video {
  position: static;
  display: block;
  width: auto; height: auto;
  max-width: 100%; max-height: 500px;
  margin: 0 auto;
}
.glowed .post-body p { margin: 0 0 10px; }
.glowed .post-body strong { color: #fff; }
.glowed .post-body .quote {
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 2px solid #8feaff;
  background: rgba(143, 234, 255, 0.06);
  border-radius: 0 8px 8px 0;
  font-size: 0.8125rem;
  color: rgba(216, 240, 255, 0.7);
}
.glowed .post-body .quote .qhead {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8feaff;
  margin-bottom: 4px;
}
.glowed .post-actions {
  display: flex; align-items: center; gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(143, 234, 255, 0.12);
}
.glowed .react {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(143, 234, 255, 0.05);
  border: 1px solid rgba(143, 234, 255, 0.18);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.8125rem;
  color: rgba(216, 240, 255, 0.6);
  transition: all 0.15s;
}
.glowed .react:hover { border-color: rgba(143, 234, 255, 0.5); color: #fff; }
.glowed .react.on {
  background: rgba(180, 220, 140, 0.15);
  border-color: rgba(180, 220, 140, 0.5);
  color: #b4dc8c;
}
.glowed .react .ct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; margin-left: 4px;
}
.glowed .post-tools {
  margin-left: auto;
  display: flex; gap: 6px;
}
.glowed .ptool {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: rgba(216, 240, 255, 0.55);
  border: 1px solid rgba(143, 234, 255, 0.18);
  background: rgba(143, 234, 255, 0.05);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.glowed .ptool:hover {
  color: #8feaff;
  border-color: rgba(143, 234, 255, 0.5);
}

.glowed .reply-box {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(143, 234, 255, 0.25);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.04);
}
.glowed .reply-box .rb-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.glowed .reply-box .rb-input {
  width: 100%; min-height: 90px;
  background: rgba(5, 8, 16, 0.5);
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  color: rgba(216, 240, 255, 0.85);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem; line-height: 1.5;
  resize: vertical; box-sizing: border-box;
}
.glowed .reply-box .rb-input::placeholder { color: rgba(216, 240, 255, 0.35); }
.glowed .reply-box .rb-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
}
.glowed .reply-box .rb-formatting {
  display: flex; gap: 4px;
}
.glowed .reply-box .fmt {
  width: 28px; height: 28px; border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(143, 234, 255, 0.2);
  color: rgba(216, 240, 255, 0.6);
  font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem;
  cursor: pointer;
}

.glowed .reply-row {
  margin-top: 18px;
  display: flex; justify-content: flex-end;
}

/* Browsebar — paginator (used by Browse::page()) */
.glowed .browsebar {
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.03);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  align-items: center;
}
.glowed .browsebar .col { margin-top: 0; }
.glowed .browsebar .col.page,
.glowed .browsebar .col.step {
  display: flex; align-items: center; gap: 8px;
}
.glowed .browsebar .col.step { justify-content: flex-end; }
.glowed .browsebar select {
  appearance: none; -webkit-appearance: none;
  background-color: rgba(5, 8, 16, 0.5);
  border: 1px solid rgba(143, 234, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.1em;
  padding: 5px 26px 5px 10px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3e%3cpath d='M1 1l4 4 4-4' stroke='%238feaff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-position: right 9px center;
  background-size: 10px 6px;
  background-repeat: no-repeat;
  transition: border-color 0.15s;
}
.glowed .browsebar select:hover { border-color: rgba(143, 234, 255, 0.55); }
.glowed .browsebar select:disabled { opacity: 0.4; cursor: not-allowed; }
.glowed .browsebar select option { background: #051020; color: #fff; }
.glowed .browsebar .step .link a {
  color: #8feaff;
  text-decoration: none;
  transition: color 0.15s;
}
.glowed .browsebar .step .link a:hover { color: #fff; }
.glowed .browsebar .step .gap { color: rgba(143, 234, 255, 0.25); }
.glowed .browsebar .step i { color: rgba(143, 234, 255, 0.45); font-size: 0.75rem; }
@media (max-width: 720px) {
  .glowed .browsebar .col.step { justify-content: flex-start; }
}

.glowed .td-side { display: flex; flex-direction: column; gap: 14px; }
.glowed .td-card {
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.03);
  padding: 16px;
}
.glowed .td-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.8125rem; color: #fff;
  margin: 0 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.glowed .td-card h4 .pulse { width: 6px; height: 6px; border-radius: 50%; background: #8feaff; box-shadow: 0 0 8px #8feaff; animation: holo-pulse 1.6s infinite; }
.glowed .participant {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 0.75rem; color: rgba(216, 240, 255, 0.75);
}
.glowed .participant .pa {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #8feaff, #2a4f7f);
  flex-shrink: 0;
}
.glowed .participant .pc {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; color: rgba(216, 240, 255, 0.5);
}

/* ============================================================ */
/* CTA REFERENCE CARD                                            */
/* ============================================================ */
.glowed .cta-ref {
  padding: 32px 40px;
}
.glowed .cta-ref h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.375rem; color: #fff;
  margin-bottom: 4px;
}
.glowed .cta-ref .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
  margin-bottom: 24px;
}
.glowed .cta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.glowed .cta-card {
  padding: 24px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 18px;
  background: rgba(143, 234, 255, 0.03);
}
.glowed .cta-card .lvl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  color: #8feaff; margin-bottom: 6px;
  text-transform: uppercase;
}
.glowed .cta-card .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.125rem; color: #fff;
  margin-bottom: 8px;
}
.glowed .cta-card .use {
  font-size: 0.8125rem; line-height: 1.5;
  color: rgba(216, 240, 255, 0.7);
  margin-bottom: 22px;
}
.glowed .cta-card .demo {
  padding: 24px;
  background: rgba(5, 8, 16, 0.5);
  border-radius: 12px;
  border: 1px dashed rgba(143, 234, 255, 0.15);
  display: flex; justify-content: center; align-items: center;
}

/* ============================================================ */
/* TMS site overrides (image-based hero, gvis images, etc.)     */
/* ============================================================ */

/* Replace SVG orb with raster image on home + game pages */
.glowed .hero-graphic {
  width: 100%; max-width: 540px;
  filter: drop-shadow(0 0 40px rgba(143, 234, 255, 0.3));
}
.glowed .hero-graphic img { width: 100%; height: auto; }
.glowed .hero-right { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }

.glowed .gh-graphic {
  width: 100%; max-width: 520px;
  filter: drop-shadow(0 0 40px rgba(255, 200, 100, 0.25));
}
.glowed .gh-graphic img { width: 100%; height: auto; }

/* Game card image fills the .gvis well */
.glowed .gvis img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* Game cards are <a> on our site — strip default link style */
.glowed .gcard { color: inherit; text-decoration: none; display: flex; flex-direction: column; }

/* Threads list rows are <a> on our site */
.glowed .thread { color: inherit; text-decoration: none; }
.glowed .thread .ttitle { color: #fff; }

/* Notes list rows are <a> on our site */
.glowed .note { color: inherit; text-decoration: none; }

/* Top-bar Too Much Stupid wordmark */
.glowed .nav-logo { display: flex; align-items: center; }
.glowed .nav-logo .logo-img {
  height: 40px; width: auto;
  filter: drop-shadow(0 0 10px rgba(143, 234, 255, 0.35));
}
@media (max-width: 480px) {
  .glowed .nav-logo .logo-img { height: 32px; }
}

/* Ensure footer links don't underline by default */
.glowed .footer-links a { color: inherit; }
.glowed .footer-links a:hover { color: #fff; }
.glowed .nav-pills a:hover { color: #fff; }

/* Main spacing */
.glowed main { padding-bottom: 40px; }

/* ============================================================ */
/* Compose form (used by forums + notes)                         */
/* ============================================================ */

.glowed .compose-panel {
  margin: 8px 40px 32px;
  padding: 24px;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.04);
}
.glowed .compose-form fieldset {
  border: none; padding: 0; margin: 0;
}
.glowed .compose-form .cell {
  margin-bottom: 16px;
}
.glowed .compose-form .cell:last-of-type {
  margin-bottom: 0;
}
.glowed .compose-form .cell label,
.glowed .compose-form label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  margin-bottom: 8px;
}
.glowed .compose-form input[type="text"],
.glowed .compose-form input[type="email"],
.glowed .compose-form input[type="password"],
.glowed .compose-form textarea {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  background: rgba(5, 8, 16, 0.5);
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 12px;
  color: rgba(216, 240, 255, 0.95);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem; line-height: 1.5;
}
.glowed .compose-form textarea { min-height: 140px; resize: vertical; }
.glowed .compose-form input::placeholder,
.glowed .compose-form textarea::placeholder {
  color: rgba(216, 240, 255, 0.35);
}
.glowed .compose-form input:focus,
.glowed .compose-form textarea:focus {
  outline: none;
  border-color: rgba(143, 234, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(143, 234, 255, 0.15);
}
.glowed .compose-form .cell.error input,
.glowed .compose-form .cell.error textarea {
  border-color: #ff4f5e;
}
.glowed .compose-actions {
  display: flex; justify-content: flex-end; gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(143, 234, 255, 0.12);
}
.glowed .compose-quote {
  margin-bottom: 16px; padding: 12px 16px;
  background: rgba(5, 8, 16, 0.4);
  border-left: 2px solid #8feaff;
  border-radius: 0 8px 8px 0;
}
.glowed .compose-quote .quote-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8feaff;
  margin-bottom: 4px;
}
.glowed .compose-quote .quote-preview {
  font-size: 0.8125rem; color: rgba(216, 240, 255, 0.7); line-height: 1.5;
}

/* Form-level error banner */
.glowed .errors-page,
.glowed .form-errors {
  margin-bottom: 16px; padding: 12px 16px;
  background: rgba(255, 79, 94, 0.12);
  border: 1px solid rgba(255, 79, 94, 0.35);
  border-radius: 12px;
  color: #ff8c7a;
  font-size: 0.8125rem;
}

/* Forum-section main padding */
.glowed .compose-panel,
.glowed .threads,
.glowed .thread-detail,
.glowed .forum-toolbar,
.glowed .forum-title-row,
.glowed .forum-head { box-sizing: border-box; }

/* Reply box adjustments */
.glowed .reply-box {
  margin-top: 14px; padding: 16px;
  border: 1px solid rgba(143, 234, 255, 0.25);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.04);
  display: flex; flex-direction: column; gap: 12px;
}
.glowed .reply-box .rb-foot {
  display: flex; justify-content: flex-end; align-items: center;
}

/* ============================================================ */
/* Layout — page width constraint + responsive grid utilities    */
/* ============================================================ */

/* Constrain main content to 1280px so sections don't stretch on wide displays.
   Chrome (topframe/nav/footer) stays full-bleed so their borders/backgrounds
   reach the viewport edges. */
.glowed main {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%; box-sizing: border-box;
}

/* .rblock / .col — legacy responsive grid system, ported for inline use in views.
   Mobile: stacked block. >=768px: 12-column grid. */
.glowed .rblock {
  display: block; position: relative;
  margin: 1.125rem 0 0;
}
.glowed .rblock:first-child { margin-top: 0; }
.glowed .rblock.hug { margin-top: 0.125rem; }
.glowed .rblock.snug { margin-top: 0.5rem; }
.glowed .rblock.center { align-items: center; }
.glowed .rblock .col {
  display: block; position: relative;
  min-height: 1px; margin-top: 1rem;
}
.glowed .rblock .col:first-child { margin-top: 0; }
@media (min-width: 768px) {
  .glowed .rblock {
    display: grid;
    grid-template: auto / repeat(12, 1fr);
    column-gap: 1rem;
  }
  .glowed .rblock.nogut { column-gap: 0; }
  .glowed .rblock.biggut { column-gap: 2rem; }
  .glowed .rblock .col {
    grid-column-start: auto; grid-column-end: span 12;
    margin-top: 0;
  }
  .glowed .rblock .col.f1  { grid-column-end: span 1; }
  .glowed .rblock .col.f2  { grid-column-end: span 2; }
  .glowed .rblock .col.f3  { grid-column-end: span 3; }
  .glowed .rblock .col.f4  { grid-column-end: span 4; }
  .glowed .rblock .col.f5  { grid-column-end: span 5; }
  .glowed .rblock .col.f6  { grid-column-end: span 6; }
  .glowed .rblock .col.f7  { grid-column-end: span 7; }
  .glowed .rblock .col.f8  { grid-column-end: span 8; }
  .glowed .rblock .col.f9  { grid-column-end: span 9; }
  .glowed .rblock .col.f10 { grid-column-end: span 10; }
  .glowed .rblock .col.f11 { grid-column-end: span 11; }
  .glowed .rblock .col.f12 { grid-column-end: span 12; }
}

/* ============================================================ */
/* Manual page — figures, controls grid, lists                    */
/* ============================================================ */

.glowed .gp-body.manual { gap: 24px; }
.glowed .manual .gp-section h2 { font-size: 1.25rem; }

.glowed .manual-row {
  display: grid; grid-template-columns: 1fr minmax(180px, 280px);
  gap: 28px; align-items: start;
}
.glowed .manual-row .manual-text > p { margin-bottom: 12px; }
.glowed .manual-row .manual-text > p:last-child { margin-bottom: 0; }

.glowed .manual-fig {
  margin: 12px 0; padding: 0;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
  filter: drop-shadow(0 0 18px rgba(143, 234, 255, 0.15));
}
.glowed .manual-fig img {
  display: block; width: 100%; height: auto;
}
.glowed .manual-fig.wide {
  margin-left: auto; margin-right: auto;
  max-width: 720px;
}
.glowed .manual-row .manual-fig { margin: 0; }

.glowed .manual-aside {
  margin-top: 14px; padding: 12px 16px;
  border: 1px solid rgba(143, 234, 255, 0.22);
  border-radius: 12px;
  background: rgba(143, 234, 255, 0.05);
  font-size: 0.875rem; line-height: 1.5;
  color: rgba(216, 240, 255, 0.78);
  display: flex; align-items: flex-start; gap: 10px;
}
.glowed .manual-aside i { color: #8feaff; font-size: 0.9375rem; margin-top: 2px; }
.glowed .manual-aside a { color: #8feaff; text-decoration: none; border-bottom: 1px solid rgba(143, 234, 255, 0.4); }
.glowed .manual-aside a:hover { color: #fff; border-bottom-color: #fff; }

.glowed .manual-list {
  list-style: none; padding: 0; margin: 8px 0 14px;
}
.glowed .manual-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem; line-height: 1.6;
  color: rgba(216, 240, 255, 0.78);
}
.glowed .manual-list li + li { margin-top: 8px; }
.glowed .manual-list li::before {
  content: '\203A';
  position: absolute; left: 2px; top: 0;
  color: #8feaff;
  font-weight: 600;
}
.glowed .manual-list li strong { color: #fff; font-weight: 600; }

.glowed .manual a {
  color: #8feaff; text-decoration: none;
  border-bottom: 1px solid rgba(143, 234, 255, 0.35);
}
.glowed .manual a:hover { color: #fff; border-bottom-color: #fff; }

.glowed .ctrl-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin: 8px 0 18px;
}
.glowed .ctrl {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 14px; align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.03);
}
.glowed .ctrl-ico {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(143, 234, 255, 0.08);
  border: 1px solid rgba(143, 234, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 8px rgba(143, 234, 255, 0.25));
}
.glowed .ctrl-ico.submit {
  background: rgba(255, 100, 110, 0.18);
  border-color: rgba(255, 100, 110, 0.4);
  filter: drop-shadow(0 0 10px rgba(255, 100, 110, 0.3));
}
.glowed .ctrl-ico img {
  width: 36px; height: 36px;
  display: block;
  filter: brightness(1.4);
}
.glowed .ctrl-meta { min-width: 0; }
.glowed .ctrl-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.9375rem; color: #fff;
  margin-bottom: 4px;
}
.glowed .ctrl-desc {
  font-size: 0.8125rem; line-height: 1.5;
  color: rgba(216, 240, 255, 0.7);
}

/* ============================================================ */
/* Tokens page — balance card + product cards                    */
/* ============================================================ */

.glowed .balance-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(143, 234, 255, 0.22);
  border-radius: 18px;
  background: rgba(143, 234, 255, 0.04);
}
.glowed .balance-ico {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.1);
  border: 1px solid rgba(143, 234, 255, 0.35);
  color: #8feaff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  filter: drop-shadow(0 0 12px rgba(143, 234, 255, 0.5));
}
.glowed .balance-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.glowed .balance-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
}
.glowed .balance-value {
  display: flex; align-items: baseline; gap: 10px;
}
.glowed .balance-value .num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 2.25rem; color: #fff;
  text-shadow: 0 0 14px rgba(143, 234, 255, 0.4);
}
.glowed .balance-value .unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(143, 234, 255, 0.7);
}
.glowed .balance-uses { display: flex; gap: 10px; }
.glowed .balance-uses .bu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 14px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 12px;
  background: rgba(143, 234, 255, 0.03);
  text-decoration: none; color: inherit;
  min-width: 130px;
  transition: all 0.2s;
}
.glowed .balance-uses .bu:hover {
  border-color: rgba(143, 234, 255, 0.4);
  background: rgba(143, 234, 255, 0.07);
}
.glowed .balance-uses .bu i {
  color: #8feaff; font-size: 0.875rem;
  margin-bottom: 2px;
}
.glowed .balance-uses .bu .bu-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.8125rem; color: #fff;
}
.glowed .balance-uses .bu .bu-use {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}

.glowed .token-products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 8px;
}
.glowed .tp-card {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 24px 18px 18px;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.04);
  transition: all 0.2s;
}
.glowed .tp-card:hover {
  border-color: rgba(143, 234, 255, 0.45);
  background: rgba(143, 234, 255, 0.06);
  transform: translateY(-1px);
}
.glowed .tp-card.tp-deal {
  border-color: rgba(255, 200, 100, 0.3);
  background: rgba(255, 200, 100, 0.03);
}
.glowed .tp-card.tp-deal:hover {
  border-color: rgba(255, 200, 100, 0.55);
  background: rgba(255, 200, 100, 0.07);
}
.glowed .tp-save {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 200, 100, 0.18);
  border: 1px solid rgba(255, 200, 100, 0.5);
  color: #ffc864;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 200, 100, 0.5);
  white-space: nowrap;
}
.glowed .tp-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.125rem; color: #fff;
  margin-bottom: 8px;
}
.glowed .tp-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 2rem; color: #8feaff;
  text-shadow: 0 0 14px rgba(143, 234, 255, 0.4);
  margin-bottom: 16px;
}
.glowed .tp-card .tool-btn { width: 100%; justify-content: center; }
.glowed .tp-foot {
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; letter-spacing: 0.05em;
  color: rgba(216, 240, 255, 0.5);
  display: flex; align-items: center; gap: 8px;
}
.glowed .tp-foot i { color: #8feaff; font-size: 0.875rem; }
.glowed .tp-foot a { color: #8feaff; text-decoration: none; }
.glowed .tp-foot a:hover { color: #fff; }

/* ============================================================ */
/* Notifications page — list rows                                */
/* ============================================================ */

.glowed .notifs { display: flex; flex-direction: column; gap: 8px; }
.glowed .notif {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(143, 234, 255, 0.15);
  border-radius: 14px;
  background: rgba(143, 234, 255, 0.03);
  text-decoration: none; color: inherit;
  transition: all 0.2s;
}
.glowed .notif:hover {
  border-color: rgba(143, 234, 255, 0.4);
  background: rgba(143, 234, 255, 0.06);
}
.glowed .notif.unread {
  border-color: rgba(143, 234, 255, 0.32);
  background: rgba(143, 234, 255, 0.05);
}
.glowed .notif-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(143, 234, 255, 0.1);
  border: 1px solid rgba(143, 234, 255, 0.3);
  color: #8feaff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9375rem;
  filter: drop-shadow(0 0 6px rgba(143, 234, 255, 0.4));
}
.glowed .notif.unread .notif-ico {
  color: #fff;
  background: rgba(143, 234, 255, 0.18);
}
.glowed .notif-body { min-width: 0; }
.glowed .notif-msg {
  font-size: 0.875rem; line-height: 1.5;
  color: rgba(216, 240, 255, 0.85);
  margin-bottom: 4px;
}
.glowed .notif-msg strong { color: #fff; font-weight: 600; }
.glowed .notif-msg .ctx { color: #8feaff; }
.glowed .notif-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(216, 240, 255, 0.45);
}
.glowed .notif-arr {
  color: rgba(143, 234, 255, 0.5);
  font-size: 0.75rem;
}
.glowed .notif:hover .notif-arr { color: #8feaff; }

/* ============================================================ */
/* Responsive — collapse design's grids on narrower viewports    */
/* ============================================================ */

/* Smaller side gutters at narrow widths (design uses 40px desktop) */
@media (max-width: 720px) {
  .glowed .nav { padding: 16px 20px; }
  .glowed .hero { padding: 24px 16px 40px; }
  .glowed .game-hero { padding: 24px 16px; }
  .glowed .clusters { padding: 0 16px 32px; }
  .glowed .briefing { margin: 8px 16px 24px; }
  .glowed .worlds-bar { margin: 8px 16px 24px; padding: 16px; }
  .glowed .gp-body { padding: 8px 16px 32px; }
  .glowed .compose-panel { margin: 8px 16px 24px; padding: 16px; }
  .glowed .threads { padding: 0 16px 24px; }
  .glowed .forum-head { padding: 16px 16px 12px; }
  .glowed .forum-title-row { padding: 0 16px 16px; }
  .glowed .forum-toolbar { padding: 12px 16px; }
  .glowed .thread-detail { padding: 16px 16px 32px; }
  .glowed .util-header { padding: 16px 16px 12px; }
  .glowed .util-tabs { padding: 0 16px; }
  .glowed .footer { padding: 16px 20px; flex-direction: column; gap: 8px; align-items: flex-start; }
  .glowed .topframe { flex-wrap: wrap; }
}

/* Top-frame on narrow screens: hide status cell + spacer, only show frame when there's a notification */
@media (max-width: 767px) {
  .glowed .topframe > .tf-cell:not(.tf-link),
  .glowed .topframe > .tf-spacer { display: none; }
  .glowed .topframe:not(:has(.tf-link)) { display: none; }
}

/* Nav: stack pills under the brand on narrow screens */
@media (max-width: 820px) {
  .glowed .nav { flex-wrap: wrap; gap: 12px; }
  .glowed .nav-logo { order: 1; }
  .glowed .nav-user { order: 2; margin-left: auto; }
  .glowed .nav-pills { order: 3; flex-basis: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .glowed .nav-user .small { display: none; }
  .glowed .nav-user .nu-name { font-size: 0.75rem; }
  .glowed .nav-pills a { padding: 6px 12px; font-size: 0.625rem; }
}

/* Hero — stack the right-side graphic under the text */
@media (max-width: 1024px) {
  .glowed .hero,
  .glowed .game-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .glowed .hero-right,
  .glowed .gh-orb { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .glowed .hero { padding: 24px 0 40px; }
  .glowed .game-hero { padding: 24px 0; }
  .glowed h1 { font-size: 3.5rem; }
  .glowed .game-hero-left h1 { font-size: 2.75rem; }
  .glowed .game-hero-left h1 .strike { font-size: 1.375rem; }
  .glowed .lede { padding-left: 12px; max-width: none; }
  .glowed .gauges { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 480px) {
  .glowed h1 { font-size: 2.5rem; }
  .glowed .game-hero-left h1 { font-size: 2.125rem; }
  .glowed .cta-row { flex-direction: column; align-items: stretch; }
  .glowed .cta-row .btn-play,
  .glowed .cta-row .btn-primary,
  .glowed .cta-row .btn-secondary { justify-content: center; width: 100%; }
}

/* Game-card grid — stack < 768, three across at >= 768 (per user direction) */
@media (max-width: 767px) {
  .glowed .games { grid-template-columns: 1fr; }
}

/* Briefing strip — 4 cells across desktop, 2x2 on tablet, 1 stack on phone */
@media (max-width: 900px) {
  .glowed .briefing {
    grid-template-columns: repeat(2, 1fr);
  }
  .glowed .briefing .brief-cell:nth-child(2n) { border-right: none; }
  .glowed .briefing .brief-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(143, 234, 255, 0.15); }
}
@media (max-width: 520px) {
  .glowed .briefing { grid-template-columns: 1fr; }
  .glowed .briefing .brief-cell { border-right: none; border-bottom: 1px solid rgba(143, 234, 255, 0.15); }
  .glowed .briefing .brief-cell:last-child { border-bottom: none; }
}

/* Feature grid — 4 / 2 / 1 */
@media (max-width: 1024px) {
  .glowed .feature-grid,
  .glowed .gp-body .feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 560px) {
  .glowed .feature-grid,
  .glowed .gp-body .feature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* gp-body — game page two-col body collapses */
@media (max-width: 1024px) {
  .glowed .gp-body { grid-template-columns: 1fr !important; }
}

/* Forum threads list — collapse the two metric columns on narrow */
@media (max-width: 720px) {
  .glowed .threads .thread {
    grid-template-columns: 20px 1fr 80px;
    gap: 12px; padding: 12px 14px;
  }
  .glowed .threads .thread .tmetric:nth-of-type(2) { display: none; }
  .glowed .threads .thread .activity .bar { height: 32px; }
}

/* Forum stats — wrap on narrow */
@media (max-width: 720px) {
  .glowed .forum-title-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .glowed .forum-stats { gap: 16px; }
  .glowed .forum-stats .v { font-size: 1rem; }
}

/* Forum toolbar — stack pills + button */
@media (max-width: 720px) {
  .glowed .forum-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .glowed .forum-cats { flex-wrap: wrap; }
}

/* Thread detail — drop sidebar (already not rendered), tighten posts */
@media (max-width: 720px) {
  .glowed .thread-detail { grid-template-columns: 1fr; padding: 16px 0 32px; }
  .glowed .post {
    grid-template-columns: 40px 1fr;
    gap: 12px; padding: 14px;
  }
  .glowed .post-avatar { width: 48px; height: 48px; }
  .glowed .post { grid-template-columns: 48px 1fr; }
  .glowed .post-head { flex-wrap: wrap; gap: 8px; }
  .glowed .post-time { margin-left: 0; }
  .glowed .post-actions { flex-wrap: wrap; }
}

/* Notes — header/tools stack on narrow */
@media (max-width: 720px) {
  .glowed .util-header { flex-direction: column; align-items: stretch; gap: 16px; }
  .glowed .util-tools { flex-wrap: wrap; }
  .glowed .util-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .glowed .util-tab { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .glowed .notes-toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .glowed .notes-bulk { justify-content: flex-end; }
  .glowed .blocked-item {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
  }
  .glowed .blocked-item .btn-secondary { grid-column: 1 / -1; }
}

/* Manual — stack image+text rows, ctrl grid 1-col */
@media (max-width: 720px) {
  .glowed .manual-row { grid-template-columns: 1fr; gap: 16px; }
  .glowed .manual-row .manual-fig { max-width: 360px; margin: 0 auto; }
  .glowed .ctrl-grid { grid-template-columns: 1fr; }
}

/* Tokens — balance card stacks, products go 1-col */
@media (max-width: 900px) {
  .glowed .balance-card {
    grid-template-columns: auto 1fr;
    grid-template-areas: "ico meta" "uses uses";
    row-gap: 18px;
  }
  .glowed .balance-ico { grid-area: ico; }
  .glowed .balance-meta { grid-area: meta; }
  .glowed .balance-uses { grid-area: uses; }
}
@media (max-width: 720px) {
  .glowed .token-products { grid-template-columns: 1fr; gap: 14px; }
  .glowed .balance-uses { flex-wrap: wrap; }
  .glowed .balance-uses .bu { flex: 1 1 130px; min-width: 0; }
}

/* ============================================================ */
/* Login flow — fresh / verify / info / gamertag / blocked       */
/* ============================================================ */

.glowed .login-shell {
  margin: 8px auto 32px; padding: 0 40px;
  max-width: 520px;
  display: flex; flex-direction: column; gap: 20px;
}
.glowed .login-steps {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.5);
}
.glowed .login-steps .step {
  padding: 6px 12px;
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 999px;
  background: rgba(143, 234, 255, 0.03);
}
.glowed .login-steps .step.active {
  border-color: rgba(143, 234, 255, 0.55);
  background: rgba(143, 234, 255, 0.12);
  color: #fff;
  box-shadow: 0 0 14px rgba(143, 234, 255, 0.3);
}
.glowed .login-steps .step.done {
  border-color: rgba(143, 234, 255, 0.32);
  color: rgba(216, 240, 255, 0.75);
}
.glowed .login-steps .sep {
  flex: 0 0 auto;
  width: 14px; height: 1px;
  background: rgba(143, 234, 255, 0.25);
}

.glowed .login-panel {
  padding: 24px;
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 16px;
  background: rgba(143, 234, 255, 0.04);
}
.glowed .login-panel + .login-panel { margin-top: 0; }
.glowed .login-panel .lp-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 1.125rem; color: #fff;
  margin: 0 0 6px;
}
.glowed .login-panel .lp-sub {
  font-size: 0.875rem; line-height: 1.5;
  color: rgba(216, 240, 255, 0.7);
  margin: 0 0 18px;
}
.glowed .login-panel .lp-sub:last-child { margin-bottom: 0; }
.glowed .login-panel hr {
  border: none;
  border-top: 1px solid rgba(143, 234, 255, 0.15);
  margin: 18px 0;
}
.glowed .login-panel fieldset {
  border: none; padding: 0; margin: 18px 0 0;
}
.glowed .login-panel .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  margin: 0 0 10px;
}
.glowed .login-panel .cell { margin-bottom: 14px; }
.glowed .login-panel .cell:last-of-type { margin-bottom: 0; }
.glowed .login-panel .cell label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(216, 240, 255, 0.55);
  margin-bottom: 6px;
}
.glowed .login-panel .cell input[type="text"],
.glowed .login-panel .cell input[type="email"],
.glowed .login-panel .cell input[type="password"],
.glowed .login-panel .cell input[type="tel"] {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  background: rgba(5, 8, 16, 0.5);
  border: 1px solid rgba(143, 234, 255, 0.2);
  border-radius: 12px;
  color: rgba(216, 240, 255, 0.95);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem; line-height: 1.4;
}
.glowed .login-panel .cell input::placeholder {
  color: rgba(216, 240, 255, 0.32);
}
.glowed .login-panel .cell input:focus {
  outline: none;
  border-color: rgba(143, 234, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(143, 234, 255, 0.15);
}
.glowed .login-panel .cell.error input {
  border-color: #ff4f5e;
}

/* Phone-row: +1 prefix + 10-digit input */
.glowed .login-panel .rblock.phone {
  display: flex; align-items: stretch; gap: 10px;
  margin-top: 0;
}
.glowed .login-panel .rblock.phone .col.prefix {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 0 14px;
  background: rgba(5, 8, 16, 0.5);
  border: 1px solid rgba(143, 234, 255, 0.18);
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem; color: rgba(216, 240, 255, 0.7);
}
.glowed .login-panel .rblock.phone .col.input { flex: 1 1 auto; min-width: 0; }
.glowed .login-panel .rblock.phone .col.input .cell { margin-bottom: 0; }

.glowed .login-panel .submits {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 18px;
}
.glowed .login-panel .submits.full {
  justify-content: stretch;
}
.glowed .login-panel .submits.full > button {
  flex: 1 1 auto; justify-content: center;
}

/* Form-level error block (eblock) — local to login */
.glowed .login-panel .eblock {
  margin-bottom: 16px; padding: 12px 14px;
  background: rgba(255, 79, 94, 0.12);
  border: 1px solid rgba(255, 79, 94, 0.35);
  border-radius: 12px;
  color: #ff8c7a;
  font-size: 0.8125rem;
}
.glowed .login-panel .eblock ul {
  list-style: none; margin: 0; padding: 0;
}
.glowed .login-panel .eblock li + li { margin-top: 4px; }

/* PIN input — large centered numeric */
.glowed .login-panel .pin_input {
  display: flex; justify-content: center;
}
.glowed .login-panel .pin_input input {
  width: 11rem; box-sizing: border-box;
  padding: 16px 14px;
  background: rgba(5, 8, 16, 0.55);
  border: 1px solid rgba(143, 234, 255, 0.32);
  border-radius: 14px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem; line-height: 1;
  text-align: center; letter-spacing: 0.6rem;
  text-indent: 0.6rem;
  caret-color: #8feaff;
}
.glowed .login-panel .pin_input input:focus {
  outline: none;
  border-color: rgba(143, 234, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(143, 234, 255, 0.18);
}

@media (max-width: 720px) {
  .glowed .login-shell { padding: 0 16px; margin: 8px auto 24px; }
  .glowed .login-panel { padding: 18px; }
  .glowed .login-steps { gap: 6px; flex-wrap: wrap; }
  .glowed .login-panel .submits { flex-direction: column; }
  .glowed .login-panel .submits > button { width: 100%; justify-content: center; }
}
