/* Ran Online xClassic — Shishikyuu Network Unified Theme (Cyber-Campus Cyan & Crimson Variant) */
:root {
  --accent: #06b6d4;
  --accent-bright: #67e8f9;
  --accent-dim: rgba(6, 182, 212, 0.16);
  --accent-2: #f43f5e;
  --accent-2-dim: rgba(244, 63, 94, 0.16);
  --gold: #f5b942;
  --gold-bright: #fde047;
  --crimson: #f43f5e;
  --emerald: #10b981;
  --violet: #8b5cf6;
  --hero-font: var(--font-display);
  --glow-1: rgba(6, 182, 212, 0.15);
  --glow-2: rgba(244, 63, 94, 0.13);
  --glow-3: rgba(139, 92, 246, 0.10);
  --panel: rgba(12, 18, 34, 0.88);
  --panel-solid: #0c1222;
  --panel-soft: rgba(17, 24, 46, 0.72);
  --line: rgba(148, 163, 184, 0.16);
  --line-hi: rgba(6, 182, 212, 0.38);
  --line-gold: rgba(245, 185, 66, 0.36);
}

/* Sticky Sub-Navigation (Mirrors /ro/ & /skyblade/ Shell) */
.x-subnav {
  position: sticky;
  top: 44px;
  z-index: 40;
  background: rgba(7, 10, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.x-subnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.x-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--accent-bright);
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
}
.x-brand:hover { text-decoration: none; color: #fff; }
.x-brand small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fda4af;
  background: var(--accent-2-dim);
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
}
.x-navlinks {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.x-navlinks a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 11px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.16s ease;
}
.x-navlinks a:hover,
.x-navlinks a.active {
  color: var(--accent-bright);
  background: rgba(6, 182, 212, 0.14);
  text-decoration: none;
}

/* Live Telemetry Bar (Exact Shishikyuu Sibling Strip) */
.telemetry-bar {
  background: linear-gradient(90deg, rgba(12, 18, 36, 0.96), rgba(18, 26, 48, 0.96), rgba(12, 18, 36, 0.96));
  border-bottom: 1px solid var(--line-hi);
  font-size: 0.8rem;
}
.telemetry-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.tele-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tele-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-weight: 600; }
.tele-pill strong { color: var(--text); font-weight: 700; }
.mono { font-family: var(--font-tech), monospace; letter-spacing: 0.4px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
  background: #64748b; box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.25);
}
.dot.up { background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.75); }
.dot.down { background: var(--crimson); box-shadow: 0 0 10px rgba(244, 63, 94, 0.75); }
.tz-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--accent-bright);
  border-radius: 7px;
  padding: 2px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.tz-btn:hover { border-color: var(--accent); }

/* Hero Section */
.x-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.x-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/ran/img/bg/hero-bg.jpg') center center / cover no-repeat;
  filter: saturate(1.08) brightness(0.42);
  transform: scale(1.02);
}
.x-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 18, 0.95) 0%, rgba(6, 9, 18, 0.76) 55%, rgba(6, 9, 18, 0.48) 100%),
    linear-gradient(180deg, rgba(6, 9, 18, 0.22) 0%, rgba(6, 9, 18, 0.96) 100%);
}
.x-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 54px 20px 44px;
  display: grid;
  grid-template-columns: 1.32fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.x-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.7);
}
.x-hero h1 span {
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 48%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.x-hero-lead { color: #cbd5e1; font-size: 1.02rem; max-width: 600px; margin: 0 0 22px; }
.x-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.x-pill {
  padding: 6px 12px; border-radius: 10px;
  background: rgba(15, 23, 42, 0.82); border: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 600; color: #e2e8f0;
}
.x-pill b { color: var(--accent-bright); }
.x-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.x-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 0.88rem;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.x-btn:hover { transform: translateY(-1px); text-decoration: none; }
.x-btn-cyan {
  background: linear-gradient(135deg, #22d3ee, #0284c7);
  color: #06101d;
  box-shadow: 0 10px 26px rgba(6, 182, 212, 0.28);
}
.x-btn-cyan:hover { box-shadow: 0 14px 32px rgba(6, 182, 212, 0.44); }
.x-btn-crimson {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.28);
}
.x-btn-gold {
  background: linear-gradient(135deg, #f5b942, #d97706);
  color: #090d16;
  box-shadow: 0 10px 26px rgba(245, 185, 66, 0.28);
}
.x-btn-ghost {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.3);
  color: #f8fafc;
}
.x-btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.x-btn-sm { padding: 7px 13px; font-size: 0.8rem; border-radius: 9px; }

/* Hero Right Panel */
.hero-card {
  background: rgba(10, 16, 32, 0.88);
  border: 1px solid var(--line-hi);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
}
.hero-card-art {
  width: 100%; height: 290px; object-fit: cover; object-position: center center;
  border-radius: 12px; border: 1px solid var(--line); margin-bottom: 14px;
  display: block; background: #070b15;
}
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi-box {
  background: rgba(15, 23, 42, 0.85); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 13px;
}
.kpi-label { font-size: 0.71rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.6px; }
.kpi-val { font-family: var(--font-tech); font-size: 1.32rem; font-weight: 700; color: var(--accent-bright); margin-top: 2px; }
.kpi-sub { font-size: 0.72rem; color: var(--text-muted); }

/* Campus Balance Bar (Ran Signature Widget) */
.campus-strip { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(148,163,184,0.12); }
.dom-bar { height: 10px; border-radius: 999px; overflow: hidden; display: flex; background: rgba(255,255,255,0.06); margin: 8px 0; }
.dom-sg { background: linear-gradient(90deg, #059669, #10b981); transition: width 0.5s; }
.dom-mp { background: linear-gradient(90deg, #7c3aed, #a78bfa); transition: width 0.5s; }
.dom-phx { background: linear-gradient(90deg, #e11d48, #fb7185); transition: width 0.5s; }
.campus-legend { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; font-size: 0.73rem; color: #cbd5e1; }
.school-badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; }
.sch-0 { background: rgba(16,185,129,0.16); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.35); }
.sch-1 { background: rgba(139,92,246,0.18); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.35); }
.sch-2 { background: rgba(244,63,94,0.18); color: #fda4af; border: 1px solid rgba(244,63,94,0.35); }

/* Container, Sections & Headings */
.x-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.x-section { padding: 48px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.09); }
.x-subpage-sec { padding: 36px 0 60px; min-height: 68vh; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-title {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800; font-variant: small-caps; letter-spacing: 0.7px; color: #fff; line-height: 1.18;
}
.sec-desc { color: var(--text-dim); font-size: 0.92rem; max-width: 680px; margin: 4px 0 0; }

/* Glass Cards & Grids */
.x-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.x-card-hi { border-color: var(--line-hi); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* Exact Shishikyuu Gold-Glow Tab Bar */
.tab-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.tab-btn {
  padding: 8px 15px; border-radius: 10px;
  background: rgba(15, 23, 42, 0.72); border: 1px solid var(--line);
  color: var(--text-dim); font-size: 0.84rem; font-weight: 700; cursor: pointer;
  font-family: var(--font-body); transition: all 0.15s ease;
}
.tab-btn:hover { color: var(--text); border-color: rgba(245, 185, 66, 0.45); }
.tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.22), rgba(6, 182, 212, 0.16));
  border-color: var(--gold); color: var(--gold-bright);
  box-shadow: 0 0 18px rgba(245, 185, 66, 0.26);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Chips, Badges & Rows */
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  background: var(--accent-dim); border: 1px solid rgba(6,182,212,0.35); color: var(--accent-bright);
}
.chip-crimson { background: var(--accent-2-dim); border-color: rgba(244,63,94,0.38); color: #fda4af; }
.chip-gold { background: rgba(245,185,66,0.16); border-color: rgba(245,185,66,0.38); color: #fde047; }
.chip-emerald { background: rgba(16,185,129,0.16); border-color: rgba(16,185,129,0.38); color: #6ee7b7; }
.node-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06); margin-bottom: 8px; font-size: 0.84rem;
}

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); }
th { background: rgba(255,255,255,0.04); font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dim); font-weight: 700; }
tr:hover td { background: rgba(6,182,212,0.05); }
.rank-num { font-family: var(--font-tech); font-weight: 700; font-size: 1rem; color: var(--text-muted); }
.rank-1 { color: #fbbf24; }
.rank-2 { color: #e2e8f0; }
.rank-3 { color: #fb923c; }
.char-link { color: #fff; font-weight: 700; cursor: pointer; }
.char-link:hover { color: var(--accent-bright); text-decoration: underline; }
.dot-on { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 6px; }
.dot-off { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #475569; margin-right: 6px; }

/* Inputs & Forms */
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--text-dim); margin-bottom: 5px; }
input[type="text"], input[type="password"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(6, 9, 20, 0.9); color: #fff; font-family: var(--font-body); font-size: 0.87rem;
  outline: none; transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
.msg { padding: 10px 13px; border-radius: 10px; font-size: 0.84rem; font-weight: 600; margin-top: 10px; display: none; }
.msg.show { display: block; }
.msg.ok { background: rgba(16,185,129,0.16); border: 1px solid rgba(16,185,129,0.4); color: #6ee7b7; }
.msg.err { background: rgba(244,63,94,0.16); border: 1px solid rgba(244,63,94,0.4); color: #fda4af; }

/* Class Showcase & Progress Bars */
.class-selector { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.class-pill {
  padding: 13px 10px; border-radius: 12px; text-align: center; cursor: pointer;
  background: rgba(15, 23, 42, 0.72); border: 1px solid var(--line); color: #cbd5e1; transition: all 0.16s;
}
.class-pill:hover { border-color: rgba(6,182,212,0.5); color: #fff; }
.class-pill.active {
  background: linear-gradient(135deg, rgba(6,182,212,0.22), rgba(244,63,94,0.15));
  border-color: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(6,182,212,0.18);
}
.class-pill strong { display: block; font-family: var(--font-tech); font-size: 1.05rem; }
.class-pill span { font-size: 0.7rem; color: var(--text-muted); }
.bar-row { margin-bottom: 10px; }
.bar-label { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 4px; color: #cbd5e1; }
.bar-track { height: 9px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--crimson)); transition: width 0.4s ease; }

/* Database Filter Row & Boss Timer Cards */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filter-row input { flex: 1; min-width: 200px; }
.filter-row select { width: auto; min-width: 145px; }
.boss-card {
  background: rgba(15, 23, 42, 0.78); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.boss-card.ready { border-color: rgba(34, 197, 94, 0.5); }
.boss-card.soon { border-color: rgba(245, 185, 66, 0.6); }
.boss-timer { font-family: var(--font-tech); font-size: 1.45rem; font-weight: 700; color: var(--accent-bright); }

/* 16x11 Ran Club Emblem Maker */
.emblem-wrap { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
#emblem-canvas {
  image-rendering: pixelated; border: 2px solid var(--line-hi); border-radius: 10px;
  cursor: crosshair; background: repeating-conic-gradient(#1e293b 0% 25%, #0f172a 0% 50%) 50% / 16px 16px;
}
.swatch-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.swatch {
  width: 26px; height: 26px; border-radius: 7px; border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer; transition: transform 0.12s;
}
.swatch:hover, .swatch.active { transform: scale(1.12); border-color: #fff; }
.ingame-preview {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px;
  background: rgba(0, 0, 0, 0.72); border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem; font-weight: 700; color: #fde047;
}
#emblem-preview-1x { image-rendering: pixelated; width: 16px; height: 11px; border: 1px solid rgba(255,255,255,0.18); }

/* FAQ Accordion */
details.faq {
  background: rgba(15, 23, 42, 0.65); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px;
}
details.faq summary { cursor: pointer; font-weight: 700; color: #fff; font-size: 0.9rem; }
details.faq p { margin: 10px 0 0; color: #cbd5e1; font-size: 0.86rem; }

/* Modal, Toast & Minimal Shishikyuu Footer */
.x-modal-backdrop {
  position: fixed; inset: 0; z-index: 120; background: rgba(3, 6, 14, 0.82);
  backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.x-modal-backdrop.open { display: flex; }
.x-modal {
  width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto;
  background: #0c1222; border: 1px solid var(--line-hi); border-radius: 16px;
  padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,0.72);
}
.x-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.x-close { background: none; border: none; color: var(--text-dim); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.x-close:hover { color: #fff; }
.x-toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 140;
  padding: 11px 16px; border-radius: 11px; background: rgba(12, 18, 34, 0.96);
  border: 1px solid var(--line-hi); color: #fff; font-size: 0.84rem; font-weight: 600;
  box-shadow: 0 14px 36px rgba(0,0,0,0.5); opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: all 0.2s ease;
}
.x-toast.show { opacity: 1; transform: translateY(0); }
.x-footer {
  text-align: center; padding: 28px 20px 36px; border-top: 1px solid rgba(148,163,184,0.1);
  background: rgba(5, 8, 16, 0.72);
}

/* Stat Calc Readout & Paired Metrics (Matches /ro/tools/) */
.calc-readout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.calc-metric {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 10px;
  text-align: center;
}
.calc-metric span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.calc-metric strong {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  color: var(--accent-bright);
  margin-top: 2px;
  display: block;
}

/* Interactive 6-Class Showcase Carousel (Matches /ro/guides/ Stage) */
.job-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.gender-toggle {
  display: inline-flex;
  background: rgba(6, 10, 22, 0.85);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.gender-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s ease;
}
.gender-btn.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.28), rgba(244, 63, 94, 0.18));
  color: var(--accent-bright);
  box-shadow: inset 0 0 0 1px var(--line-hi);
}
.job-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 16px;
  padding: 20px 10px;
  min-height: 430px;
  border-radius: 14px;
  background-color: #060a16;
  border: 1px solid var(--line-hi);
  margin-bottom: 14px;
}
.job-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.68) saturate(1.08);
  transform: scale(1.03);
  transition: opacity 0.2s ease;
  z-index: 0;
  pointer-events: none;
}
.job-stage-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 56% 72% at 50% 50%, rgba(0, 0, 0, 0.06) 24%, rgba(5, 8, 18, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 8, 18, 0.18) 0%, transparent 45%, rgba(5, 8, 18, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}
.job-stage > .job-arrow,
.job-stage > .job-figure {
  position: relative;
  z-index: 2;
}
.job-home-tag {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(6, 10, 22, 0.8);
  border: 1px solid var(--line-hi);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.job-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-hi);
  background: rgba(12, 19, 36, 0.9);
  color: var(--accent-bright);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s ease, background 0.14s ease;
  justify-self: center;
}
.job-arrow:hover {
  background: rgba(6, 182, 212, 0.24);
  transform: scale(1.07);
}
.job-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 370px;
}
.job-figure img {
  max-height: 365px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.75));
  transition: transform 0.18s ease;
}
.job-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.job-dot {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.76);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s ease;
}
.job-dot:hover {
  color: #fff;
  border-color: rgba(6, 182, 212, 0.5);
}
.job-dot.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(244, 63, 94, 0.18));
  border-color: var(--accent);
  color: var(--accent-bright);
}

@media (max-width: 980px) {
  .x-hero-inner, .grid-2, .grid-3, .grid-4, .emblem-wrap { grid-template-columns: 1fr; }
  .class-selector { grid-template-columns: repeat(3, 1fr); }
  .job-stage { grid-template-columns: 42px 1fr 42px; min-height: 360px; }
  .job-arrow { width: 38px; height: 38px; font-size: 1.35rem; }
}

@media (max-width: 640px) {
  .x-subnav-inner { gap: 8px; padding: 10px 12px; }
  .x-navlinks { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 6px; padding-bottom: 4px; width: 100%; }
  .x-navlinks a { white-space: nowrap; flex-shrink: 0; padding: 7px 12px; font-size: 0.8rem; }
  .telemetry-inner { gap: 6px; padding: 6px 12px; font-size: 0.74rem; }
  .x-container { padding: 0 12px; }
  .x-card { padding: 16px; }
  .x-btn { min-height: 42px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .x-modal { width: 94vw; max-height: 88vh; overflow-y: auto; }
}
