/* Timeless · shared styles */
:root {
  --bg: #010207;
  --panel: #070c1a;
  --panel-2: #03050c;
  --line: #1a2547;
  --line-2: #1d2c52;
  --text: #e3e9f5;
  --muted: #b4c0d6;
  --dim: #8e9dbb;
  --gold: #e8bd57;
  --gold-2: #c9a34e;
  --gold-hi: #f2cc72;
  --blue: #8fc8ff;
  --blue-2: #3f7fe0;
  --green: #2bbd74;
  --green-hi: #7bdc9f;
  --r: 22px;
  --r-sm: 18px;
  --r-xs: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
a { color: #a9d4ff; }
a:hover { color: #fff; }
img { max-width: 100%; }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; font-weight: 700; color: #fff; margin: 0; line-height: 1.2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- sky ---------- */
#sky {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  background-image: url(/assets/stars-tile.svg);
  background-size: max(100%, 1280px) auto;
  background-repeat: repeat-y;
  background-position: center top;
}
#sky svg.tile { display: block; width: max(100%, 1280px); height: auto; flex: none; overflow: visible; }
@keyframes tf-tw { 0%, 100% { opacity: .15 } 50% { opacity: 1 } }
@keyframes tf-sp { 0%, 100% { transform: scale(.35); opacity: .2 } 50% { transform: scale(1); opacity: 1 } }
@keyframes tf-comet {
  0% { transform: translate(0, 0); opacity: 0 }
  3% { opacity: 1 }
  28% { opacity: 1 }
  32% { transform: translate(-1150px, 490px); opacity: 0 }
  100% { transform: translate(-1150px, 490px); opacity: 0 }
}
@keyframes tf-glow { 0%, 100% { opacity: .25 } 50% { opacity: .5 } }
.tw { animation: tf-tw 4.6s ease-in-out infinite; }
.sp { transform-box: fill-box; transform-origin: center; animation: tf-sp 5s ease-in-out infinite; }
.comet { animation: tf-comet 30s linear infinite; will-change: transform, opacity; }

/* ---------- layout ---------- */
.site-header, main, .site-footer { position: relative; z-index: 1; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sec { padding-top: 96px; }
.sec-first { padding-top: 56px; }
.pb { padding-bottom: 96px; }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 28px; }
.row-head a { font-weight: 600; }
.h-page { font-size: 48px; }
.h-sec { font-size: 40px; }
.h-card { font-size: 22px; }
.sub { margin: 10px 0 0; color: var(--dim); font-size: 16px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-2); }
.live { display: inline-flex; align-items: center; gap: 8px; color: #4fd18f; }
.live small { color: var(--dim); font-weight: 500; letter-spacing: 1px; text-transform: none; margin-left: 4px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; }
.grid { display: grid; gap: 16px; }
.g-auto-280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g-auto-260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.g-fill-230 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.g-fill-150 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.split { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.split > .main { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split > .side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.empty { color: var(--dim); font-size: 15px; padding: 8px 0; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid #c9a34e22; background: linear-gradient(180deg, #010207f2, #010207a0); }
.hdr { max-width: 1320px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand span { font-family: Cinzel, Georgia, serif; font-weight: 800; font-size: 21px; letter-spacing: 0.1em; line-height: 1; padding: 2px 0 2px 2px; margin-right: -0.1em; background: linear-gradient(180deg, #fff8e4 0%, #f8da92 28%, #e3b04e 47%, #a66c18 52%, #f2c96e 74%, #b98329 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom: 1px solid var(--gold); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 0; border-radius: var(--r-xs); white-space: nowrap; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), #c9962e); color: #140d02 !important; }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { background: #070d1f; color: #cfe2ff !important; box-shadow: inset 0 0 0 1px #2f5fb8; }
.btn-ghost:hover { background: #0b1530; }
.btn-green { background: var(--green); color: #04150d !important; min-height: 42px; padding: 0 16px; font-size: 14px; }
.nav .btn { min-height: 40px; padding: 0 20px; color: #140d02; border: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 16px; cursor: pointer; background: var(--panel); color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; }
.pill[aria-pressed="true"] { background: linear-gradient(180deg, var(--gold-hi), #c9962e); color: #140d02; border-color: transparent; }

/* ---------- framed panels ---------- */
.frame { position: relative; padding: 1px; background: linear-gradient(135deg, #c9a34e 0%, #1d2c52 30%, #0f1730 50%, #1d2c52 70%, #c9a34e 100%); border-radius: var(--r); }
.frame > .in { position: relative; height: 100%; background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border-radius: calc(var(--r) - 1px); padding: 28px; overflow: hidden; }
.frame.green { background: linear-gradient(135deg, #3fbf82, #15402f 40%, #0c1d2c 60%, #3fbf82); }
.frame.green > .in { background: radial-gradient(ellipse at 50% 0%, #0b2a23 0%, #030a0b 75%); }
a.frame { display: block; text-decoration: none; color: inherit; }
a.frame:hover { filter: brightness(1.12); }
.tile-box { border: 1px solid var(--line); background: #060a17; padding: 14px 16px; border-radius: var(--r-sm); }

/* ---------- home ---------- */
/* ---------- hero: TIME (crest) LESS ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; min-height: min(100svh, 980px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 16px 96px; }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; z-index: 4; pointer-events: none; }
.hero::before { top: 0; height: 90px; background: linear-gradient(180deg, #010207, #01020700); }
.hero::after { bottom: 0; height: 200px; background: linear-gradient(0deg, #010207 8%, #01020700); }
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-art .nebula { position: absolute; left: 50%; top: 4%; width: max(100%, 1400px); height: auto; transform: translate(calc(-50% + var(--px, 0) * -6px), calc(var(--py, 0) * -4px + var(--sy, 0) * 0.06px)); opacity: .9; }
.hero-copy { position: relative; z-index: 5; width: 100%; display: flex; flex-direction: column; align-items: center; }

.lockup { --fs: clamp(40px, 8.6vw, 132px); margin: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: calc(var(--fs) * 0.02); font-family: Cinzel, Georgia, serif; font-weight: 800; font-size: var(--fs); line-height: 1; letter-spacing: 0.08em; filter: drop-shadow(0 3px 0 #2a1802) drop-shadow(0 10px 28px rgba(1, 2, 7, 0.8)); }
/* Equal side columns keep the crest on the exact center line, above the star. */
.lockup .w { display: inline-flex; white-space: nowrap; }
.lockup .w:first-child { justify-self: end; margin-right: -0.08em; }
.lockup .w:last-child { justify-self: start; margin-right: -0.08em; }
.lockup i { display: inline-block; font-style: normal; color: #e9c46a;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 252, 240, 0.9) 50%, transparent 60%) no-repeat, linear-gradient(180deg, #fff8e4 0%, #f8da92 28%, #e3b04e 47%, #a66c18 52%, #f2c96e 74%, #b98329 100%);
  background-size: 300% 100%, 100% 100%; background-position: 150% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: wm-glint 11s ease-in-out calc(4s + var(--i) * 0.08s) infinite; }
.lockup:hover i { animation: wm-glint-hover 1.3s ease-out calc(var(--i) * 0.05s) 1; }
.crest { width: calc(var(--fs) * 1.62); height: auto; margin: 0 calc(var(--fs) * -0.02); justify-self: center; filter: brightness(.9) drop-shadow(0 0 calc(var(--fs) * 0.22) rgba(74, 143, 255, 0.45)); transform: translateX(0.29%); }
.star-rule { display: flex; align-items: center; gap: 12px; width: min(560px, 86vw); margin-top: clamp(4px, 0.8vw, 10px); }
.star-rule i { flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, #c9a34e 70%, #f2cc72); }
.star-rule i:last-child { background: linear-gradient(90deg, #f2cc72, #c9a34e 30%, transparent); }
.star-rule svg { flex: none; filter: drop-shadow(0 0 6px rgba(242, 204, 114, 0.6)); }
.forever { margin-top: clamp(10px, 1.2vw, 16px); font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: clamp(16px, 2vw, 28px); line-height: 1; letter-spacing: 0.75em; margin-right: -0.75em; background: linear-gradient(180deg, #ffffff 0%, #e3f0ff 38%, #7fa8e4 54%, #eef6ff 70%, #94bdf1 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #071633) drop-shadow(0 0 12px rgba(110, 170, 255, 0.4)); }
.tagline { margin: 22px 0 0; font-size: 13px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: #8e9dbb; }
.intro { margin: 30px 0 0; font-size: 18px; color: #c9d3e6; max-width: 640px; }

@keyframes wm-glint { 0% { background-position: 150% 0, 0 0; } 10% { background-position: -50% 0, 0 0; } 100% { background-position: -50% 0, 0 0; } }
@keyframes wm-glint-hover { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
@keyframes crest-glow { 0%, 100% { filter: brightness(.9) drop-shadow(0 0 calc(var(--fs) * 0.22) rgba(74, 143, 255, 0.4)); } 50% { filter: brightness(.95) drop-shadow(0 0 calc(var(--fs) * 0.3) rgba(74, 143, 255, 0.6)); } }
.hero.revealed .crest { animation: crest-glow 8s ease-in-out infinite; }

/* reveal on first load */
.js .hero .nebula, .js .hero .crest, .js .hero .lockup i, .js .hero .star-rule, .js .hero .forever, .js .hero .tagline, .js .hero .intro, .js .hero .countdown, .js .hero .cta { transition: opacity 1.4s ease, transform 1.8s cubic-bezier(.16, 1, .3, 1), filter 1.6s ease; }
.js .hero:not(.in) .nebula { opacity: 0; }
.js .hero:not(.in) .crest { opacity: 0; transform: translateX(0.29%) scale(.82); filter: brightness(1.6) drop-shadow(0 0 60px rgba(74, 143, 255, 0.9)); }
.js .hero:not(.in) .lockup i { opacity: 0; transform: translateY(.16em); filter: blur(6px); }
.js .hero:not(.in) .star-rule { opacity: 0; transform: scaleX(.3); }
.js .hero:not(.in) .forever, .js .hero:not(.in) .tagline, .js .hero:not(.in) .intro, .js .hero:not(.in) .countdown, .js .hero:not(.in) .cta { opacity: 0; transform: translateY(14px); }
.js .hero.in .crest { transition-delay: .15s; }
.js .hero.in .lockup i:nth-child(n) { transition-delay: calc(.55s + var(--i) * .07s); }
.js .hero.in .star-rule { transition-delay: 1.2s; }
.js .hero.in .forever { transition-delay: 1.4s; }
.js .hero.in .tagline { transition-delay: 1.6s; }
.js .hero.in .intro, .js .hero.in .countdown, .js .hero.in .cta { transition-delay: 1.8s; }

.countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.countdown .frame { width: 108px; }
.countdown .in { padding: 16px 8px 14px; }
.countdown b { display: block; font-family: Cinzel, Georgia, serif; font-size: 36px; font-weight: 700; color: #fff; line-height: 1; }
.countdown small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-2); margin-top: 8px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.about-card .in { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; }
.about-card p { margin: 0; color: var(--muted); }
.dial .in { display: flex; align-items: center; gap: 20px; padding: 24px; }
.dial svg { flex: none; }
.dial .v { font-size: 17px; font-weight: 600; margin-top: 4px; }
.seat .in { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; }
.seat .lab { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--green-hi); }
.seat .spec { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.25; }
.seat .btn { align-self: flex-start; margin-top: 6px; }
.feature .in { padding: 0; }
.shot { position: relative; height: clamp(240px, 38vw, 440px); background: radial-gradient(ellipse at 65% 35%, #0f2452, #03050c 70%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.shot img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot img.ph { width: 34%; max-width: 220px; opacity: .1; }
.shot .badge { position: absolute; right: 20px; top: 18px; }
.shot-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 32px 28px; background: linear-gradient(0deg, #010207f2, #01020700); }
.badge { background: var(--gold); color: #140d02; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.milestones { position: relative; margin-top: 48px; }
.milestones::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2) 15%, #2f5fb8 50%, var(--gold-2) 85%, transparent); }
.milestones .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 24px; position: relative; }
.ms { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.ms .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 1px solid #c9a34e99; display: flex; align-items: center; justify-content: center; }
.ms .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-hi); }
.ms .d { font-size: 13px; font-weight: 600; color: var(--blue); }
.ms .t { font-weight: 600; }
.news-card .in { display: flex; flex-direction: column; gap: 10px; min-height: 180px; padding: 28px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.news-card .t { font-size: 20px; font-weight: 600; color: #fff; line-height: 1.35; }
.news-card .d { margin-top: auto; color: var(--dim); font-size: 14px; }
.join { position: relative; text-align: center; padding: 120px 24px 110px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.join img { width: 110px; height: 110px; filter: brightness(.85); }
.join p { margin: 0; color: #9fb0cc; font-size: 17px; }

/* ---------- open bench spots ---------- */
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 40px 0 16px; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.chip { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-xs); background: #050d0c; border: 1px solid #1f5a42; }
.chip b { font-size: 14px; font-weight: 700; }
.chip-wide { grid-column: 1 / -1; }
.chip-wide > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.chip a { color: var(--green-hi); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ---------- roster ---------- */
.comp .in { padding: 16px 18px; }
.comp .top { display: flex; justify-content: space-between; align-items: baseline; }
.comp b { color: #fff; font-size: 20px; }
.bar { height: 4px; background: #111a33; margin-top: 10px; border-radius: 4px; overflow: hidden; }
.bar > i { display: block; height: 4px; background: var(--gold); border-radius: 4px; }
.bar.blue > i { background: var(--blue-2); }
.slot { padding: 16px 18px; display: flex; flex-direction: column; gap: 7px; border-radius: var(--r-sm); background: #060a17; border: 1px solid var(--line); }
.slot.open { background: linear-gradient(180deg, #0b2a23, #030a0b); border-color: var(--green); }
.slot .hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.slot .spec { font-weight: 700; font-size: 16px; line-height: 1.25; }
.slot .st { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #2a3658; margin-top: 6px; }
.slot.open .st { background: #3ee08f; }
.slot .who { color: #fff; font-weight: 600; font-size: 15px; }
.slot .prof { color: var(--gold-2); font-size: 12px; }
.slot .ap { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.slot .ap a { color: var(--green-hi); font-weight: 700; font-size: 14px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; margin-top: 18px; }
.person { border: 1px solid var(--line-2); padding: 14px; border-radius: var(--r-xs); }
.person b { display: block; }
.person span { display: block; font-size: 12px; color: var(--dim); margin-top: 4px; }
.person.open { border: 1px dashed var(--green); text-decoration: none; }
.person.open b { color: var(--green-hi); }
.prof-row { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.prof-row span:first-child { width: 120px; font-size: 14px; color: var(--muted); }
.prof-row .bar { flex: 1; margin: 0; }
.prof-row b { width: 18px; text-align: right; font-size: 14px; }

/* ---------- progress ---------- */
.kill-cap { padding: 22px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; }
.kill-btn { display: block; width: 100%; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; background: #060a17; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.kill-btn[aria-pressed="true"] { border-color: var(--gold); }
.kill-btn .th { position: relative; display: block; height: 130px; background: radial-gradient(ellipse at 60% 40%, #0f2452, #03050c 75%); overflow: hidden; }
.kill-btn .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kill-btn .th .badge { position: absolute; right: 10px; top: 10px; font-size: 10px; padding: 3px 7px; }
.kill-btn .tx { display: block; padding: 14px 16px; }
.kill-btn .tx b { display: block; font-family: Cinzel, Georgia, serif; font-size: 17px; color: #fff; }
.kill-btn .tx span { display: block; font-size: 13px; color: var(--dim); margin-top: 4px; }
.timeline { border-left: 1px solid var(--line-2); margin-left: 6px; }
.tl { display: flex; gap: 18px; align-items: baseline; padding: 0 0 22px; margin-left: -6px; }
.tl::before { content: ""; width: 11px; height: 11px; flex: none; transform: rotate(45deg); background: var(--gold); }
.tl div { display: flex; flex-wrap: wrap; gap: 2px 18px; align-items: baseline; }
.tl .d { min-width: 70px; color: var(--blue); font-size: 13px; font-weight: 600; }
.tl .t { font-weight: 600; }

/* ---------- news ---------- */
.post .in { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; }
.post .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.post h2 { font-size: 22px; line-height: 1.3; }
.post p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; white-space: pre-line; }
.post img { margin-top: 8px; width: 100%; max-height: 420px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-sm); }
.officer { font-size: 13px; color: var(--dim); }

/* ---------- members ---------- */
.list-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: #060a17; border: 1px solid var(--line); border-radius: var(--r-xs); text-decoration: none; color: inherit; }
a.list-row:hover { border-color: #2c3e6e; }
.list-row .l { display: flex; gap: 12px; align-items: center; min-width: 0; }
.list-row .l::before { content: ""; width: 9px; height: 9px; flex: none; transform: rotate(45deg); border: 1.5px solid var(--gold); }
.list-row .go { color: #cfe2ff; font-size: 13px; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cal { width: 52px; text-align: center; border: 1px solid #2c3e6e; border-radius: 8px; padding: 5px 0; flex: none; }
.cal small { display: block; font-size: 11px; color: var(--dim); font-weight: 600; }
.cal b { display: block; font-family: Cinzel, Georgia, serif; font-size: 18px; }
.ev { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-xs); }
.ev .l { display: flex; gap: 14px; align-items: center; }
.links a { display: block; padding: 11px 0; border-bottom: 1px solid #111a33; text-decoration: none; color: var(--text); }
.links a:last-child { border-bottom: 0; }
.links a:hover { color: var(--gold-hi); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid #0f1730; padding: 28px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; color: #7d8bab; font-size: 13px; }
.site-footer a { color: #7d8bab; }

/* ---------- loot ---------- */
.wait { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; border-radius: var(--r-sm); background: #060a17; border: 1px solid var(--line); }
.wait .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wait .since { font-size: 13px; font-weight: 600; color: var(--gold-2); white-space: nowrap; }
.wait .since.never { color: #4fd18f; }
.wait .dim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loot-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
#loot-search { flex: 1 1 260px; min-height: 44px; padding: 0 16px; font: inherit; font-size: 15px; color: #e6ebf5; background: #060a17; border: 1px solid var(--line-2); border-radius: 999px; outline: none; }
#loot-search:focus { border-color: var(--gold-2); }
.loot-list { display: flex; flex-direction: column; gap: 8px; }
.loot-row { display: grid; grid-template-columns: 70px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px; background: #060a17; border: 1px solid var(--line); border-radius: var(--r-xs); font-size: 14px; }
.loot-row .d { color: var(--dim); font-size: 13px; }
.loot-row .it { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loot-row .pl, .loot-row .bs { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loot-row .rs i { font-style: normal; color: var(--dim); font-size: 12px; margin-left: 4px; }
.loot-row .bs { color: var(--dim); font-size: 13px; text-align: right; }
@media (max-width: 760px) {
  .loot-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .loot-row .d { order: 2; text-align: right; }
  .loot-row .it { order: 1; }
  .loot-row .pl { order: 3; }
  .loot-row .rs { order: 4; text-align: right; }
  .loot-row .bs { display: none; }
}

/* ---------- apply ---------- */
.apply-page { max-width: 880px; }
.apply-head { margin-bottom: 26px; }
.apply-form { display: flex; flex-direction: column; gap: 16px; }
.apply-form .frame > .in, .done > .in { padding: 26px 28px; }
.apply-form .h-card { margin-bottom: 6px; }
.q { margin-top: 18px; }
.ql { display: block; font-size: 15px; font-weight: 600; color: #e6ebf5; margin-bottom: 10px; }
.ql .dim { font-weight: 500; }
.hint { margin: 8px 0 0; font-size: 13px; color: var(--dim); }
.field { width: 100%; min-height: 48px; padding: 0 16px; font: inherit; font-size: 15px; color: #e6ebf5; background: #060a17; border: 1px solid var(--line-2); border-radius: var(--r-xs); outline: none; transition: border-color .2s; }
select.field { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #c9a34e 50%), linear-gradient(135deg, #c9a34e 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
select.field option { background: #060a17; color: #e6ebf5; }
textarea.field { padding: 14px 16px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field:focus { border-color: var(--gold-2); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.count { margin-top: 6px; font-size: 12px; color: var(--dim); text-align: right; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .types label { position: relative; cursor: pointer; }
.seg input, .types input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font-size: 14px; font-weight: 600; color: var(--muted); background: #060a17; border: 1px solid var(--line-2); border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
.seg label:hover span { border-color: #3a4d80; color: #fff; }
.seg input:checked + span { background: linear-gradient(180deg, var(--gold-hi), #c9962e); color: #140d02; border-color: transparent; }
.seg input:focus-visible + span, .types input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.types span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; background: #060a17; border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color .15s, background .15s; }
.types b { font-size: 15px; color: #e6ebf5; }
.types small { font-size: 13px; color: var(--dim); }
.types label:hover span { border-color: #3a4d80; }
.types input:checked + span { border-color: var(--gold-2); background: linear-gradient(180deg, #17130a, #0b0a08); box-shadow: inset 0 0 0 1px var(--gold-2); }
.types input:checked + span b { color: var(--gold-hi); }
.q.bad .field, .q.bad .seg span, .q.bad .types span { border-color: #c4554d; }
.submit-row { display: flex; justify-content: center; margin-top: 10px; }
.agree { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.5; color: #cfd6e6; }
.agree input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: #e2b552; cursor: pointer; }
.q.bad .agree span { color: #ffb3ad; }
.submit-row .btn { min-width: 220px; }
.btn:disabled { opacity: .6; cursor: default; }
.notice-box { margin-bottom: 18px; padding: 14px 18px; border-radius: var(--r-xs); font-size: 15px; }
.notice-box.error { background: #2a0f12; border: 1px solid #7a2b2f; color: #ffd6d4; }
.notice-box.info { background: #0b1733; border: 1px solid #2f5fb8; color: #cfe2ff; }
.notice-box a { color: var(--gold-hi); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.loading { padding: 40px 0; color: var(--dim); }
.done-icon img { display: block; margin-bottom: 14px; }
.done .sub { margin-bottom: 22px; }
.edit-link { margin-bottom: 26px; }
.copy-row { display: flex; gap: 10px; }
.copy-row .field { flex: 1; min-width: 0; color: #bcd2f2; }
.copy-row .btn { min-height: 48px; }
@media (max-width: 760px) {
  .apply-form .frame > .in, .done > .in { padding: 22px 18px; }
  .types { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .seg span { padding: 0 16px; }
  .submit-row .btn { width: 100%; }
  .copy-row { flex-direction: column; }
}

/* ---------- raider standings ---------- */
.policy { margin: -6px 0 16px; font-size: 14px; color: var(--dim); max-width: 860px; }
.sorts { margin-bottom: 14px; }
.sorts .pill { min-height: 38px; font-size: 13px; }
.standings { display: flex; flex-direction: column; gap: 8px; }
.st-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.4fr) 70px; gap: 18px; align-items: center; padding: 14px 18px; background: #060a17; border: 1px solid var(--line); border-radius: var(--r-xs); }
.st-head { background: none; border: 0; padding: 0 18px 2px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); }
.st-name b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-name small, .st-count small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.st-last { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; }
.st-last span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-last .since { font-size: 13px; color: var(--gold-2); }
.st-last .since.never { color: #4fd18f; }
.st-count b { font-size: 18px; color: #e6ebf5; }
.att { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.att-top { display: flex; align-items: baseline; gap: 10px; }
.att .pct { font-size: 18px; font-weight: 700; color: #e6ebf5; font-variant-numeric: tabular-nums; }
.att .tag-s { font-size: 12px; font-weight: 600; }
.att .bar { position: relative; height: 6px; border-radius: 99px; background: #111a33; overflow: visible; }
.att .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: #4fd18f; }
.att .bar b { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: #f2cc72; opacity: .8; border-radius: 1px; }
.att.good .tag-s { color: #4fd18f; }
.att.low .pct, .att.low .tag-s { color: #ff8b80; }
.att.low .bar i { background: #e0605a; }
.att.new .tag-s { color: #8fc8ff; }
.att.new .bar i { background: #4a8fff; }
.att.none .pct { color: var(--dim); }
@media (max-width: 760px) {
  .st-head { display: none; }
  .st-row { grid-template-columns: 1fr auto; gap: 10px 14px; padding: 14px 16px; }
  .st-row .att { grid-column: 1 / -1; order: 3; }
  .st-row .st-last { grid-column: 1 / -1; order: 4; flex-direction: row; gap: 10px; }
  .st-count { text-align: right; }
}

/* ---------- raids ---------- */
.raid-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; margin-top: 28px; }
.next-raid .in { display: flex; flex-direction: column; justify-content: center; }
.nr-title { margin: 8px 0 4px; font-family: Cinzel, Georgia, serif; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.countdown.sm { justify-content: flex-start; margin-top: 18px; }
.countdown.sm .frame { width: 92px; }
.countdown.sm b { font-size: 28px; }
.prep { margin: 12px 0 20px; padding-left: 20px; color: #cfd6e6; font-size: 15px; line-height: 1.6; }
.prep li { margin: 4px 0; }
.prep li::marker { color: var(--gold-2); }
.prep ul { margin: 4px 0 6px; padding-left: 18px; font-size: 14px; color: #aab3c6; list-style: circle; }
.prep ul li { margin: 2px 0; }
.raid-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.raid-tab { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-align: left; font: inherit; color: inherit; cursor: pointer; background: #060a17; border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color .15s, background .15s; }
.raid-tab b { font-family: Cinzel, Georgia, serif; font-size: 17px; color: #e6ebf5; }
.raid-tab span { font-size: 13px; color: var(--dim); }
.raid-tab small { font-size: 12px; font-weight: 600; color: var(--gold-2); }
.raid-tab:hover { border-color: #3a4d80; }
.raid-tab[aria-selected="true"] { border-color: var(--gold-2); background: linear-gradient(180deg, #17130a, #0b0a08); box-shadow: inset 0 0 0 1px var(--gold-2); }
.raid-tab[aria-selected="true"] b { color: var(--gold-hi); }
.raid-note { margin: 14px 0 18px; font-size: 14px; color: var(--dim); }
.guide-wrap { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 16px; align-items: start; }
.boss-list { display: flex; flex-direction: column; gap: 6px; }
.boss-btn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font: inherit; text-align: left; color: #cfd6e6; cursor: pointer; background: #060a17; border: 1px solid var(--line); border-radius: var(--r-xs); }
.boss-btn .n { flex: none; width: 24px; height: 24px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--dim); border: 1px solid var(--line-2); border-radius: 50%; }
.boss-btn .nm { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boss-btn .st { flex: none; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); }
.boss-btn .st.ok { color: #4fd18f; }
.boss-btn:hover { border-color: #3a4d80; }
.boss-btn[aria-selected="true"] { border-color: var(--gold-2); color: #fff; }
.boss-btn[aria-selected="true"] .n { border-color: var(--gold-2); color: var(--gold-hi); }
.g-title { margin: 6px 0 10px; font-family: Cinzel, Georgia, serif; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.g-sum { margin: 0 0 16px; color: #cfd6e6; line-height: 1.6; }
.g-prep { margin-bottom: 18px; padding: 14px 18px; background: #070d1f; border: 1px solid var(--line-2); border-radius: var(--r-xs); }
.g-prep ul { margin: 6px 0 0; padding-left: 20px; color: #cfd6e6; font-size: 14px; line-height: 1.6; }
.phase-pills { margin-bottom: 14px; }
.phase-pills .pill { min-height: 40px; font-size: 13px; }
.phase-pills .pill .dim { font-weight: 500; margin-left: 4px; }
.phase-pills .pill[aria-pressed="true"] .dim { color: #3b2a07; }
.g-phase { display: grid; grid-template-columns: 1fr; gap: 20px; }
.g-phase .map-wrap { max-width: 860px; }
.map-wrap { background: #040815; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px; }
.map { display: block; width: 100%; height: auto; font-family: Inter, system-ui, sans-serif; }
.map .room { fill: #0b1430; stroke: #2a3d70; stroke-width: .5; }
.map .cave { fill: #0b1430; stroke: #2a3d70; stroke-width: .5; }
.map .map-note { font-size: 2.4px; fill: #6f7fa3; text-anchor: middle; letter-spacing: .1px; }
.map .zone.danger { fill: rgba(224, 96, 90, .22); stroke: rgba(255, 120, 110, .7); stroke-width: .35; stroke-dasharray: 1 .8; }
.map .zone.safe { fill: rgba(79, 209, 143, .18); stroke: rgba(79, 209, 143, .7); stroke-width: .35; stroke-dasharray: 1 .8; }
.map .zone-label { font-size: 2.6px; font-weight: 700; fill: #ffb3ad; text-anchor: middle; }
.map .arrow { stroke: #f2cc72; stroke-width: .5; stroke-dasharray: 1.2 .8; }
.map .u circle { stroke: #02040b; stroke-width: .4; }
.map .u text { font-size: 2.8px; font-weight: 800; fill: #02040b; text-anchor: middle; }
.map .u.boss circle { fill: #e2b552; stroke: #fff4d2; stroke-width: .5; }
.map .u.boss .core { fill: #3b2307; }
.map .u.tank circle { fill: #5aa2ff; }
.map .u.melee circle { fill: #ff8b80; }
.map .u.ranged circle { fill: #b9a3ff; }
.map .u.healer circle { fill: #4fd18f; }
.map .u.add circle { fill: #ff9f40; stroke: #02040b; stroke-width: .3; }
.map .u-label { font-size: 2.6px; font-weight: 600; fill: #e6ebf5; text-anchor: middle; paint-order: stroke; stroke: #040815; stroke-width: .8px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--dim); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
.lg.boss { background: #e2b552; } .lg.tank { background: #5aa2ff; } .lg.melee { background: #ff8b80; }
.lg.ranged { background: #b9a3ff; } .lg.healer { background: #4fd18f; } .lg.add { background: #ff9f40; }
.lg.danger { border-radius: 3px; background: rgba(224, 96, 90, .35); border: 1px dashed #ff786e; }
.steps { margin: 0; padding-left: 22px; color: #cfd6e6; font-size: 15px; line-height: 1.6; }
.steps li { margin: 0 0 10px; }
.steps li::marker { color: var(--gold-2); font-weight: 700; }
.assign { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.as-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; align-items: center; padding: 11px 14px; background: #060a17; border: 1px solid var(--line); border-radius: var(--r-xs); font-size: 14px; }
.as-task { font-weight: 600; color: #e6ebf5; }
.as-who { font-weight: 700; color: var(--gold-hi); }
.as-who.tbd { font-weight: 500; color: var(--dim); font-style: italic; }
.as-note { color: var(--dim); font-size: 13px; }
.guide-empty .dim { max-width: 560px; line-height: 1.6; }
@media (max-width: 900px) {
  .raid-top { grid-template-columns: 1fr; }
  .guide-wrap { grid-template-columns: 1fr; }
  .boss-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .boss-btn { flex: none; }
  .boss-btn .nm { white-space: nowrap; overflow: visible; }
}
@media (max-width: 760px) {
  .raid-tabs { grid-template-columns: 1fr; }
  .as-row { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .as-note { grid-column: 1 / -1; }
  .countdown.sm .frame { width: 76px; }
  .map-wrap { padding: 4px; margin: 0 -6px; }
}

/* ---------- small screens ---------- */
@media (max-width: 380px) {
  .nav { font-size: 13.5px; gap: 6px; }
  .nav .btn { padding: 0 12px; font-size: 13.5px; }
}
@media (max-width: 760px) {
  .hdr { padding: 10px 16px; }
  .hdr { justify-content: center; }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 8px; font-size: 14px; padding: 2px 0 4px; overflow-x: auto; scrollbar-width: none; }
  .nav .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
  .nav::-webkit-scrollbar { display: none; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec-first { padding-top: 40px; }
  .sec { padding-top: 64px; }
  .h-page { font-size: 34px; }
  .h-sec { font-size: 28px; }
  .frame > .in { padding: 22px 20px; }
  .hero { min-height: 0; padding: 56px 12px 80px; }
  .lockup { --fs: clamp(34px, 11.4vw, 60px); letter-spacing: 0.04em; }
  .forever { letter-spacing: 0.6em; margin-right: -0.6em; }
  .tagline { letter-spacing: 0.24em; font-size: 12px; }
  .countdown .frame { width: 76px; }
  .countdown b { font-size: 26px; }
  .countdown small { font-size: 10px; letter-spacing: 1px; }
  .shot-cap { padding: 22px 20px 18px; }
  .kill-cap { padding: 18px 20px; }
  .join { padding: 88px 16px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .tw, .sp, .comet { animation: none !important; }
  .hero *, .hero *::before { animation: none !important; transition: none !important; }
  .comet { display: none; }
}
