@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #090d12;
  --panel: rgba(16, 22, 30, 0.84);
  --panel-strong: #111821;
  --line: rgba(255, 255, 255, 0.1);
  --muted: #8c98a6;
  --text: #f2f5f7;
  --accent: #83e7ff;
  --accent-rgb: 131, 231, 255;
  --entry: #ffca63;
  --active: #d29aff;
  --verified: #8df1bf;
  --radius: 22px;
}

/* AION world skin --------------------------------------------------------- */
.world-backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: 940px;
  background:
    linear-gradient(180deg, rgba(3, 9, 20, 0.08) 0%, rgba(4, 10, 20, 0.28) 42%, #090d12 92%),
    linear-gradient(90deg, rgba(3, 8, 17, 0.72) 0%, rgba(3, 8, 17, 0.38) 44%, rgba(3, 8, 17, 0.05) 76%),
    url("/assets/atreia-rift-hero.webp") center top / cover no-repeat;
  z-index: -3;
}

.world-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 24%, rgba(167, 232, 255, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 16%, rgba(255, 231, 176, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 37%, rgba(188, 160, 255, 0.5) 0 1px, transparent 2px);
  background-size: 170px 170px, 230px 230px, 290px 290px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.aether-dust {
  position: absolute;
  top: 110px;
  right: 10%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(190, 227, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 24px rgba(177, 220, 255, 0.035),
    0 0 0 72px rgba(177, 220, 255, 0.018);
  opacity: 0.7;
  pointer-events: none;
  z-index: -2;
}

body {
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #090d12;
  background-size: 72px 72px;
}

body::before {
  background:
    radial-gradient(circle at 75% 8%, rgba(121, 190, 255, .12), transparent 27%),
    radial-gradient(circle at 25% 28%, rgba(40, 82, 129, .12), transparent 36%);
}

.site-header {
  border-bottom-color: rgba(213, 229, 240, 0.22);
  text-shadow: 0 2px 18px rgba(0,0,0,.85);
}

.brand {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: .12em;
}

.brand > span:last-child { position: relative; }
.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(218, 230, 239, .52);
  font-family: "DM Mono", monospace;
  font-size: 7px;
  letter-spacing: .26em;
}

.brand strong { color: #dceeff; font-weight: 500; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-color: rgba(196, 226, 255, .62);
  background: radial-gradient(circle, rgba(160, 216, 255, .22), transparent 66%);
  box-shadow: inset 0 0 18px rgba(168, 218, 255, .16), 0 0 25px rgba(95, 176, 244, .14);
}
.brand-mark::before,
.brand-mark::after,
.brand-mark span { width: 17px; background: #d8efff; }

nav a { color: rgba(231, 238, 244, .72); }

.hero {
  min-height: 510px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 62px;
}

.hero-copy { align-self: center; }
.hero .kicker { color: #d8efff; text-shadow: 0 0 14px rgba(104, 195, 255, .75); }

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-family: "Cinzel", serif;
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 600;
  line-height: .93;
  letter-spacing: -.045em;
  text-shadow: 0 4px 34px rgba(0,0,0,.72);
}
h1 em {
  color: #d9ecff;
  font-style: normal;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 30px rgba(113, 187, 255, .4), 0 4px 34px rgba(0,0,0,.75);
}

.hero-intro {
  max-width: 600px;
  color: rgba(238, 244, 249, .84);
  font-size: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.88);
}

.faction-route {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(430px, 100%);
  margin-top: 34px;
  color: rgba(232, 240, 246, .7);
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: .22em;
}
.faction-route i {
  position: relative;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #d9f0ff, rgba(174, 137, 255, .7));
  box-shadow: 0 0 12px rgba(146, 202, 255, .58);
}
.faction-route i::before,
.faction-route i::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}
.faction-route i::before { left: 0; color: #d8eeff; }
.faction-route i::after { right: 0; color: #c09bff; }
.elyos-route { color: #dff4ff; }
.asmo-route { color: #d3b7ff; }

.region-control {
  padding: 24px;
  border: 1px solid rgba(213, 230, 242, .24);
  border-radius: 4px 22px 4px 22px;
  background: linear-gradient(145deg, rgba(9, 18, 31, .76), rgba(13, 15, 27, .52));
  box-shadow: inset 0 0 50px rgba(106, 166, 220, .055), 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
}

.region-control label { color: #c7ddea; }
select {
  border-radius: 3px;
  border-color: rgba(206, 228, 244, .23);
  background: rgba(6, 13, 24, .82);
  font-family: "Cinzel", serif;
}
.region-tab { border-radius: 3px 10px 3px 10px; }
.region-tab:hover,
.region-tab.is-selected {
  border-color: rgba(192, 224, 248, .62);
  background: linear-gradient(135deg, rgba(166, 221, 255, .14), rgba(142, 107, 224, .1));
  color: #e5f5ff;
}
.region-note { color: rgba(218, 229, 237, .67); }

.timer-grid { position: relative; margin-top: -34px; }
.phase-card,
.clock-panel,
.table-wrap,
.evidence-card,
.faq-list {
  border-color: rgba(173, 204, 225, .16);
  background:
    linear-gradient(145deg, rgba(16, 27, 42, .94), rgba(8, 13, 23, .96));
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 28px 90px rgba(0,0,0,.38);
}

.phase-card { border-radius: 4px 26px 4px 26px; }
.phase-card::after {
  content: "✦";
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(190, 225, 249, .16);
  font-size: 50px;
}
.phase-card h2,
.section-heading h2,
.mechanics-grid h3,
.evidence-card-head span,
summary { font-family: "Cinzel", serif; }
.phase-card h2 { font-weight: 500; letter-spacing: -.025em; }
.phase-eyebrow { color: #a9dcff; }
#countdown { color: #eef8ff; text-shadow: 0 0 34px rgba(101, 193, 255, .32); }
.opening-times strong { color: #dbeaf4; }

.clock-panel { border-radius: 22px 4px 22px 4px; }
.clock-panel-title { color: #b5d6ea; }
.clock-panel dd { color: #edf7ff; }

.rule-strip {
  border-radius: 3px 14px 3px 14px;
  border-color: rgba(173, 204, 225, .18);
  background: linear-gradient(90deg, rgba(18,30,47,.72), rgba(19,15,31,.7));
}
.rule-strip strong { color: #d5ecfa; }

.content-section { position: relative; }
.content-section::before {
  content: "";
  position: absolute;
  top: 64px;
  left: 0;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, #9bdcff, transparent);
}
.section-heading h2 { font-weight: 500; letter-spacing: -.035em; }
.section-heading .kicker { color: #9edbff; }
.table-wrap,
.evidence-card,
.faq-list { border-radius: 4px 22px 4px 22px; }
.next-row { background: linear-gradient(90deg, rgba(112, 194, 255, .1), rgba(139, 100, 216, .035)); }

.mechanics-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(173, 204, 225, .13);
  border-radius: 3px 18px 3px 18px;
  background: linear-gradient(155deg, rgba(22, 34, 49, .76), rgba(10, 15, 24, .55));
}
.mechanics-grid article::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(170, 214, 244, .08);
  border-radius: 50%;
}

footer { border-top-color: rgba(173, 204, 225, .17); }

@media (max-width: 900px) {
  .world-backdrop { height: 1080px; background-position: 58% top; }
  .hero { min-height: auto; }
  .timer-grid { margin-top: 0; }
}

@media (max-width: 680px) {
  .world-backdrop {
    height: 1120px;
    background-position: 66% top;
    background-image:
      linear-gradient(180deg, rgba(3,9,20,.13), rgba(4,10,20,.45) 44%, #090d12 94%),
      linear-gradient(90deg, rgba(3,8,17,.66), rgba(3,8,17,.12)),
      url("/assets/atreia-rift-hero.webp");
  }
  .aether-dust { right: -140px; top: 120px; }
  .hero { padding-top: 52px; }
  h1 { font-size: 49px; line-height: .98; }
  .region-control { padding: 18px; }
  .phase-card { border-radius: 3px 20px 3px 20px; }
  .phase-card::after { font-size: 34px; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -20%, rgba(var(--accent-rgb), 0.09), transparent 45%);
  z-index: -2;
}

a { color: inherit; }

button, select { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.ambient-one { background: var(--accent); top: 5%; right: -180px; }
.ambient-two { background: #7f63ff; bottom: 5%; left: -220px; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.brand strong { color: var(--accent); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--accent-rgb), 0.6);
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(var(--accent-rgb), 0.15);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.brand-mark::before { transform: rotate(60deg); }
.brand-mark::after { transform: rotate(-60deg); }
.brand-mark { position: relative; }

nav { display: flex; gap: 28px; }
nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}
nav a:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 80px;
  padding: 94px 0 54px;
}

.kicker,
.phase-eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(242, 245, 247, 0.72);
}

.hero-intro {
  max-width: 670px;
  margin-bottom: 0;
  color: #a9b3be;
  font-size: 18px;
}

.region-control label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

select {
  width: 100%;
  min-height: 52px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111821;
  color: var(--text);
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.region-tab {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
}

.region-tab:hover,
.region-tab.is-selected {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
}

.region-note {
  min-height: 38px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.timer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 18px;
}

.phase-card,
.clock-panel,
.table-wrap,
.evidence-card,
.faq-list {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.phase-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  padding: 34px;
  border-radius: var(--radius);
}

.phase-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  box-shadow: 0 0 28px var(--accent);
}

.phase-card[data-phase="entry"]::before { background: var(--entry); box-shadow: 0 0 28px var(--entry); }
.phase-card[data-phase="active"]::before { background: var(--active); box-shadow: 0 0 28px var(--active); }

.phase-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.phase-card h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.verification-badge {
  flex: none;
  padding: 7px 10px;
  border: 1px solid rgba(141, 241, 191, 0.25);
  border-radius: 999px;
  background: rgba(141, 241, 191, 0.08);
  color: var(--verified);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verification-badge.status-community {
  border-color: rgba(255, 202, 99, 0.25);
  background: rgba(255, 202, 99, 0.08);
  color: var(--entry);
}

.verification-badge.status-published {
  border-color: rgba(131, 231, 255, 0.25);
  background: rgba(131, 231, 255, 0.08);
  color: var(--accent);
}

.countdown-wrap { margin: 54px 0 18px; }
.countdown-wrap span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

#countdown {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: clamp(56px, 9vw, 106px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-shadow: 0 0 46px rgba(var(--accent-rgb), 0.18);
}

[data-phase="entry"] #countdown { color: var(--entry); }
[data-phase="active"] #countdown { color: var(--active); }

.phase-helper { color: var(--muted); font-size: 13px; }

.opening-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.opening-times span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.opening-times strong { font-size: 13px; }

.clock-panel {
  padding: 28px;
  border-radius: var(--radius);
}

.clock-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
}

.clock-panel-title i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--verified);
  box-shadow: 0 0 12px var(--verified);
}

.clock-panel dl { margin: 22px 0 0; }
.clock-panel dl div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.clock-panel dt { color: var(--muted); font-size: 12px; }
.clock-panel dd {
  margin: 4px 0 0;
  font-family: "DM Mono", monospace;
  font-size: 28px;
}
.clock-panel small { color: #64717f; font-size: 11px; }

.rule-strip {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 11px;
}
.rule-strip strong {
  color: var(--text);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}

.content-section { padding: 108px 0 0; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 32px;
}
.section-heading .kicker { grid-column: 1 / -1; margin-bottom: -12px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.section-heading > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
caption { position: absolute; width: 1px; height: 1px; overflow: hidden; }
th, td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); }
th {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
td { color: #aab4bf; font-size: 13px; }
td strong { color: var(--text); }
tbody tr:last-child td { border-bottom: 0; }
.next-row { background: rgba(var(--accent-rgb), 0.045); }
.next-row td:nth-child(2) strong { color: var(--accent); }
.row-index { color: #56616c; font-family: "DM Mono", monospace; }

.mechanics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mechanics-grid article {
  min-height: 240px;
  padding: 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}
.step-number { color: #53606d; font-family: "DM Mono", monospace; font-size: 12px; }
.step-line { width: 56px; height: 2px; margin: 42px 0 22px; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.entry-line { background: var(--entry); box-shadow: 0 0 16px var(--entry); }
.active-line { background: var(--active); box-shadow: 0 0 16px var(--active); }
.mechanics-grid h3 { margin-bottom: 10px; font-size: 20px; }
.mechanics-grid p { color: var(--muted); font-size: 13px; }

.evidence-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
.evidence-card { padding: 28px; border-radius: var(--radius); }
.evidence-card-head { display: flex; justify-content: space-between; gap: 20px; }
.evidence-card-head span { font-size: 20px; font-weight: 700; }
.evidence-card-head strong { color: var(--verified); font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: 0.08em; }
.community-card .evidence-card-head strong { color: var(--entry); }
.evidence-card p { margin: 28px 0; color: var(--muted); }
.evidence-card small { color: #65717e; }
.source-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.source-links a { color: var(--accent); font-size: 12px; text-underline-offset: 4px; }

.faq-list { border-radius: var(--radius); }
details { padding: 0 26px; }
details + details { border-top: 1px solid var(--line); }
summary { padding: 24px 0; cursor: pointer; font-weight: 600; }
details p { max-width: 790px; padding-bottom: 24px; color: var(--muted); }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 30px;
  align-items: center;
  margin-top: 110px;
  padding: 34px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.footer-brand { grid-row: span 2; }
footer p { margin: 0; text-align: right; }

noscript {
  position: fixed;
  inset: auto 20px 20px;
  padding: 12px;
  background: #2b1820;
  color: #ffd5df;
  text-align: center;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 72px; }
  .timer-grid { grid-template-columns: 1fr; }
  .clock-panel dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .clock-panel dd { font-size: 22px; }
  .rule-strip { grid-template-columns: 1fr; text-align: left; }
  .rule-strip strong { text-align: left; }
  .mechanics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 70px; }
  nav { display: none; }
  .hero { padding-top: 56px; }
  h1 { font-size: 52px; }
  .hero-intro { font-size: 16px; }
  .phase-card { min-height: 0; padding: 24px 20px; }
  .phase-card-head { display: block; }
  .verification-badge { display: inline-block; margin-top: 16px; }
  .countdown-wrap { margin-top: 42px; }
  #countdown { font-size: 52px; }
  .opening-times { grid-template-columns: 1fr; }
  .opening-times div { display: flex; justify-content: space-between; gap: 20px; }
  .clock-panel { padding: 22px; }
  .clock-panel dl { display: block; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .kicker { margin-bottom: -8px; }
  .content-section { padding-top: 82px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card-head { display: block; }
  .evidence-card-head strong { display: block; margin-top: 8px; }
  footer { grid-template-columns: 1fr; }
  .footer-brand { grid-row: auto; margin-bottom: 12px; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Final cascade for the world skin. Kept last so the thematic layer wins. */
body {
  background:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px),
    #090d12;
  background-size: 72px 72px;
}
body::before {
  background:
    radial-gradient(circle at 75% 8%, rgba(121,190,255,.12), transparent 27%),
    radial-gradient(circle at 25% 28%, rgba(40,82,129,.12), transparent 36%);
}
.site-header { border-bottom-color: rgba(213,229,240,.22); text-shadow: 0 2px 18px rgba(0,0,0,.85); }
.brand { font-family: "Cinzel", serif; font-size: 13px; letter-spacing: .12em; }
.brand strong { color: #dceeff; font-weight: 500; }
.brand-mark { width: 38px; height: 38px; border-color: rgba(196,226,255,.62); background: radial-gradient(circle, rgba(160,216,255,.22), transparent 66%); }
nav a { color: rgba(231,238,244,.76); }
.hero { min-height: 510px; align-items: center; padding: 76px 0 62px; }
.hero-copy { align-self: center; }
.hero .kicker { color: #d8efff; text-shadow: 0 0 14px rgba(104,195,255,.75); }
h1 { max-width: 650px; margin-bottom: 22px; font-family: "Cinzel", serif; font-size: clamp(52px,7vw,86px); font-weight: 600; line-height: .93; letter-spacing: -.045em; text-shadow: 0 4px 34px rgba(0,0,0,.72); }
h1 em { color: #d9ecff; font-style: normal; -webkit-text-stroke: 0; text-shadow: 0 0 30px rgba(113,187,255,.4), 0 4px 34px rgba(0,0,0,.75); }
.hero-intro { max-width: 600px; color: rgba(238,244,249,.84); font-size: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.88); }
.region-control { padding: 24px; border: 1px solid rgba(213,230,242,.24); border-radius: 4px 22px 4px 22px; background: linear-gradient(145deg, rgba(9,18,31,.76), rgba(13,15,27,.52)); box-shadow: inset 0 0 50px rgba(106,166,220,.055), 0 18px 50px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
.region-control label { color: #c7ddea; }
select { border-radius: 3px; border-color: rgba(206,228,244,.23); background: rgba(6,13,24,.82); font-family: "Cinzel", serif; }
.region-tab { border-radius: 3px 10px 3px 10px; }
.region-tab:hover, .region-tab.is-selected { border-color: rgba(192,224,248,.62); background: linear-gradient(135deg, rgba(166,221,255,.14), rgba(142,107,224,.1)); color: #e5f5ff; }
.region-note { color: rgba(218,229,237,.67); }
.timer-grid { position: relative; margin-top: -34px; }
.phase-card, .clock-panel, .table-wrap, .evidence-card, .faq-list { border-color: rgba(173,204,225,.16); background: linear-gradient(145deg, rgba(16,27,42,.94), rgba(8,13,23,.96)); box-shadow: inset 0 1px rgba(255,255,255,.035), 0 28px 90px rgba(0,0,0,.38); }
.phase-card { border-radius: 4px 26px 4px 26px; }
.phase-card h2, .section-heading h2, .mechanics-grid h3, .evidence-card-head span, summary { font-family: "Cinzel", serif; }
.phase-card h2 { font-weight: 500; letter-spacing: -.025em; }
.phase-eyebrow { color: #a9dcff; }
#countdown { color: #eef8ff; text-shadow: 0 0 34px rgba(101,193,255,.32); }
.opening-times strong { color: #dbeaf4; }
.clock-panel { border-radius: 22px 4px 22px 4px; }
.clock-panel-title { color: #b5d6ea; }
.clock-panel dd { color: #edf7ff; }
.rule-strip { border-radius: 3px 14px 3px 14px; border-color: rgba(173,204,225,.18); background: linear-gradient(90deg, rgba(18,30,47,.72), rgba(19,15,31,.7)); }
.rule-strip strong { color: #d5ecfa; }
.content-section::before { content: ""; position: absolute; top: 64px; left: 0; width: 74px; height: 1px; background: linear-gradient(90deg,#9bdcff,transparent); }
.section-heading h2 { font-weight: 500; letter-spacing: -.035em; }
.section-heading .kicker { color: #9edbff; }
.table-wrap, .evidence-card, .faq-list { border-radius: 4px 22px 4px 22px; }
.next-row { background: linear-gradient(90deg, rgba(112,194,255,.1), rgba(139,100,216,.035)); }
.mechanics-grid article { border: 1px solid rgba(173,204,225,.13); border-radius: 3px 18px 3px 18px; background: linear-gradient(155deg,rgba(22,34,49,.76),rgba(10,15,24,.55)); }
footer { border-top-color: rgba(173,204,225,.17); }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-top: 72px; }
  .timer-grid { margin-top: 0; }
}
@media (max-width: 680px) {
  .world-backdrop { height: 1120px; background-position: 66% top; }
  .hero { padding-top: 52px; }
  h1 { font-size: 49px; line-height: .98; }
  .region-control { padding: 18px; }
  .phase-card { border-radius: 3px 20px 3px 20px; }
}

/* Wide-screen density and a quieter second environment layer. */
.site-header,
main,
footer {
  width: min(1480px, calc(100% - clamp(40px, 6vw, 96px)));
}

.timer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(315px, 360px);
}

.lower-world-backdrop {
  position: absolute;
  top: 930px;
  right: 0;
  left: 0;
  height: 1900px;
  background:
    linear-gradient(180deg, #090d12 0%, rgba(9,13,18,.16) 12%, rgba(9,13,18,.34) 64%, #090d12 100%),
    linear-gradient(90deg, rgba(9,13,18,.2), rgba(9,13,18,.06) 28%, rgba(9,13,18,.08) 70%, rgba(9,13,18,.22)),
    url("/assets/abyss-ruins-lower.webp") center top / 100% auto no-repeat;
  opacity: .82;
  pointer-events: none;
  z-index: -2;
}

@media (max-width: 900px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }
  .timer-grid { grid-template-columns: 1fr; }
  .lower-world-backdrop { top: 1230px; height: 2200px; opacity: .64; background-size: auto, auto, auto 1000px; background-position: center top; }
}

@media (max-width: 680px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }
  .lower-world-backdrop { top: 1390px; height: 2500px; opacity: .54; background-size: auto, auto, auto 1000px; }
}

/* Rift-first landing experience ------------------------------------------ */
:root { --phase-color: #83e7ff; }
html[data-phase="entry"] { --phase-color: #ffca63; }
html[data-phase="active"] { --phase-color: #d29aff; }

.world-backdrop { height: 1180px; }
.live-hero {
  display: block;
  min-height: 970px;
  padding: 34px 0 56px;
}
.hero-copy-compact {
  max-width: 980px;
  margin: 0 auto 22px;
  text-align: center;
}
.hero-copy-compact .kicker { margin-bottom: 10px; }
.hero-copy-compact h1 {
  max-width: none;
  margin: 0 0 10px;
  font-size: clamp(37px, 4.2vw, 62px);
  line-height: .98;
}
.hero-copy-compact h1 br { display: none; }
.hero-copy-compact .hero-intro {
  max-width: 760px;
  margin-inline: auto;
  font-size: 14px;
}

.rift-console {
  display: grid;
  grid-template-columns: minmax(310px, 370px) 520px;
  grid-template-areas:
    "realm core"
    "quick core"
    "clocks core";
  gap: 12px 38px;
  justify-content: center;
  align-items: center;
}
.realm-bar { grid-area: realm; align-self: end; }
.service-tabs {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
  padding: 5px;
  border: 1px solid rgba(190,220,242,.15);
  border-radius: 4px 14px 4px 14px;
  background: rgba(6,12,22,.72);
  box-shadow: 0 16px 45px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}
.service-tab {
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 3px 10px 3px 10px;
  background: transparent;
  color: #8796a6;
  cursor: pointer;
}
.service-tab strong,
.service-tab small { display: block; }
.service-tab strong { color: inherit; font-family: "Cinzel", serif; font-size: 12px; font-weight: 500; }
.service-tab small { margin-top: 2px; font-size: 7px; letter-spacing: .06em; }
.service-tab:hover,
.service-tab.is-selected {
  border-color: rgba(190,225,249,.28);
  background: linear-gradient(135deg, rgba(128,210,255,.14), rgba(138,102,225,.1));
  color: #edf8ff;
}
.rift-console .region-control {
  min-height: 0;
  padding: 14px 16px;
  border-radius: 3px 14px 3px 14px;
}
.rift-console .region-control[hidden] { display: none; }
.rift-console .region-control label { margin-bottom: 6px; font-size: 9px; }
.rift-console select { min-height: 43px; font-size: 12px; }
.rift-console .region-tabs { gap: 5px; margin-top: 8px; }
.rift-console .region-tab { padding: 5px 8px; font-size: 9px; }
.rift-console .region-note { min-height: 0; margin: 8px 0 0; font-size: 9px; line-height: 1.45; }

.rift-core {
  --rift-progress: 0deg;
  grid-area: core;
  position: relative;
  display: grid;
  place-items: center;
  width: 520px;
  height: 520px;
  padding: 64px;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
}
.rift-core::before {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 4deg, rgba(218,239,255,.48) 0 1deg, transparent 1deg 15deg),
    conic-gradient(from -90deg, var(--phase-color) var(--rift-progress), rgba(124,156,184,.16) 0);
  box-shadow:
    0 0 0 1px rgba(204,232,250,.26),
    0 0 0 11px rgba(127,179,218,.035),
    0 0 44px color-mix(in srgb, var(--phase-color) 28%, transparent),
    inset 0 0 38px rgba(154,210,246,.12);
  z-index: -2;
}
.rift-core::after {
  content: "";
  position: absolute;
  inset: 31px;
  border: 1px solid rgba(203,230,247,.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(103,191,239,.18), transparent 24%),
    radial-gradient(circle at 40% 38%, rgba(217,238,255,.1), transparent 19%),
    radial-gradient(circle, rgba(10,22,37,.9) 0 45%, rgba(7,13,24,.96) 75%);
  box-shadow: inset 0 0 70px rgba(78,142,191,.2), inset 0 0 0 11px rgba(189,222,244,.035), 0 22px 70px rgba(0,0,0,.38);
  z-index: -1;
}
.rift-runes {
  position: absolute;
  inset: 0;
  color: color-mix(in srgb, var(--phase-color) 62%, white);
  font-size: 16px;
  opacity: .78;
  pointer-events: none;
}
.rift-runes span { position: absolute; text-shadow: 0 0 16px var(--phase-color); }
.rift-runes span:nth-child(1) { top: 1px; left: 50%; transform: translateX(-50%); }
.rift-runes span:nth-child(2) { top: 50%; right: 2px; transform: translateY(-50%); }
.rift-runes span:nth-child(3) { bottom: 1px; left: 50%; transform: translateX(-50%); }
.rift-runes span:nth-child(4) { top: 50%; left: 2px; transform: translateY(-50%); }
.rift-core-content { width: 100%; text-align: center; }
.core-status-line { display: flex; justify-content: center; align-items: center; gap: 10px; }
.core-status-line .phase-eyebrow { margin: 0; color: var(--phase-color); font-size: 8px; }
.rift-core .verification-badge { padding: 5px 8px; font-size: 7px; }
.rift-core h2 {
  margin: 17px 0 22px;
  font-size: clamp(20px, 2vw, 28px);
  text-shadow: 0 3px 22px rgba(0,0,0,.8);
}
.countdown-label {
  display: block;
  margin-bottom: 6px;
  color: #93a6b8;
  font-size: 11px;
}
.countdown-parts {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  width: 100%;
  font-family: "DM Mono", monospace;
  font-weight: 400;
}
#countdown.countdown-parts {
  display: grid;
  font-size: inherit;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.countdown-parts > span { display: grid; justify-items: center; }
.countdown-parts b {
  color: #eff9ff;
  font-size: clamp(46px, 4.1vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.08em;
  text-shadow: 0 0 26px color-mix(in srgb, var(--phase-color) 30%, transparent);
}
.countdown-parts i { padding-top: 1px; color: var(--phase-color); font-size: 46px; font-style: normal; line-height: 1; }
.countdown-parts small { margin-top: 8px; color: #7d8b99; font-size: 7px; letter-spacing: .14em; }
.rift-core .phase-helper { max-width: 330px; margin: 22px auto 0; color: #a9b6c2; font-size: 10px; }

.quick-times {
  grid-area: quick;
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(173,204,225,.15);
  border-radius: 3px 14px 3px 14px;
  background: linear-gradient(145deg,rgba(12,24,39,.83),rgba(8,13,23,.79));
  backdrop-filter: blur(14px);
}
.quick-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.quick-heading > span { color: #9fc9e3; font-family: "DM Mono", monospace; font-size: 8px; letter-spacing: .14em; }
.time-mode { display: flex; gap: 2px; padding: 2px; border: 1px solid rgba(190,220,242,.14); border-radius: 999px; }
.time-mode button { padding: 4px 7px; border: 0; border-radius: 999px; background: transparent; color: #758495; cursor: pointer; font-size: 8px; }
.time-mode button.is-selected { background: rgba(140,211,255,.12); color: #dff4ff; }
.next-openings { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.next-openings > span { padding: 7px; border: 1px solid rgba(191,219,238,.1); background: rgba(4,10,18,.36); text-align: center; }
.next-openings small,
.next-openings strong { display: block; }
.next-openings small { color: #6e8193; font-family: "DM Mono", monospace; font-size: 7px; }
.next-openings strong { margin-top: 2px; color: #dfedf6; font-size: 10px; }
.opening-times { margin-top: 0; padding-top: 8px; }
.opening-times div { padding-right: 8px; }
.opening-times span { font-size: 7px; }
.opening-times strong { margin-top: 2px; font-size: 8px; }

.compact-clocks {
  grid-area: clocks;
  align-self: start;
  padding: 12px 16px;
  border-radius: 12px 3px 12px 3px;
}
.compact-clocks .clock-panel-title { margin-bottom: 8px; font-size: 8px; }
.compact-clocks dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.compact-clocks dl > div { padding: 0 8px 0 0; border: 0; }
.compact-clocks dt { font-size: 7px; }
.compact-clocks dd { margin-top: 2px; font-size: 13px; }
.compact-clocks small { font-size: 6px; }

.live-hero > .faction-route { width: min(890px,100%); margin: 16px auto 0; }
.rule-strip { margin-top: 10px; }
.lower-world-backdrop { top: 1230px; }

@media (max-width: 1000px) {
  .live-hero { min-height: auto; }
  .rift-console {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "realm" "core" "quick" "clocks";
    max-width: 650px;
    margin-inline: auto;
  }
  .rift-core { justify-self: center; }
  .world-backdrop { height: 1560px; }
  .lower-world-backdrop { top: 1580px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 58px; }
  .brand-mark { width: 32px; height: 32px; }
  .live-hero { padding-top: 18px; }
  .hero-copy-compact { margin-bottom: 10px; }
  .hero-copy-compact .kicker { margin-bottom: 5px; font-size: 8px; }
  .hero-copy-compact h1 { margin-bottom: 0; font-size: 28px; line-height: 1.02; }
  .hero-copy-compact .hero-intro { display: none; }
  .rift-console { gap: 6px; }
  .service-tabs { grid-template-columns: 1.2fr 1fr 1fr; }
  .service-tab { min-height: 48px; padding-inline: 5px; }
  .service-tab small { font-size: 6px; }
  .rift-console .region-control { padding: 9px 12px; }
  .rift-console .region-control label { margin-bottom: 4px; }
  .rift-console select { min-height: 38px; }
  .rift-console .region-tabs,
  .rift-console .region-note { display: none; }
  .rift-core { width: min(100%, 354px); height: auto; aspect-ratio: 1; padding: 40px; }
  .rift-core::before { inset: 10px; }
  .rift-core::after { inset: 23px; }
  .rift-core h2 { margin: 13px 0 17px; font-size: 18px; }
  .countdown-parts b { font-size: clamp(37px, 12vw, 52px); }
  .countdown-parts i { font-size: 34px; }
  .rift-core .phase-helper { margin-top: 14px; font-size: 8px; }
  .core-status-line { display: block; }
  .core-status-line .verification-badge { display: inline-block; margin-top: 7px; }
  .opening-times { grid-template-columns: 1fr; }
  .opening-times div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
  .opening-times strong { text-align: right; }
  .compact-clocks dl { gap: 3px; }
  .compact-clocks dd { font-size: 11px; }
  .live-hero > .faction-route { margin-top: 22px; }
  .world-backdrop { height: 1650px; }
  .lower-world-backdrop { top: 1660px; }
}

/* Single-axis hero: one task, one focal point ----------------------------- */
.world-backdrop,
.aether-dust { display: none; }

.site-header {
  width: calc(100% - 28px);
  min-height: 68px;
}

main {
  width: calc(100% - 12px);
  max-width: none;
}

.live-hero {
  position: relative;
  min-height: calc(100svh - 78px);
  padding: 28px 20px 44px;
  overflow: hidden;
  border: 1px solid rgba(205,225,239,.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(5,11,20,.1), rgba(5,10,19,.22) 48%, rgba(5,10,18,.83) 100%),
    linear-gradient(90deg, rgba(7,14,24,.06) 0%, rgba(7,13,24,.44) 50%, rgba(17,7,26,.44) 100%),
    url("/assets/atreia-rift-hero.webp") center top / cover no-repeat;
  isolation: isolate;
}
.live-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 53%, rgba(85,172,231,.11), transparent 24%),
    linear-gradient(90deg, transparent 48%, rgba(9,13,25,.14) 52%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy-compact {
  max-width: 1200px;
  margin: 0 auto 16px;
}
.hero-copy-compact .kicker {
  margin-bottom: 12px;
  color: #e2bd66;
  font-size: 10px;
}
.hero-copy-compact h1 {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: clamp(36px, 3.7vw, 54px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.hero-copy-compact h1 em {
  color: #f1ead5;
  font-size: .82em;
  text-shadow: 0 4px 34px rgba(0,0,0,.74);
}
.hero-copy-compact .hero-intro {
  max-width: 920px;
  margin: 11px auto 0;
  color: rgba(242,244,247,.78);
  font-size: 14px;
}

.rift-console {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: min(100%, 760px);
  margin-inline: auto;
}
.realm-bar {
  width: min(100%, 620px);
  align-self: center;
}
.service-tabs {
  grid-template-columns: 1.25fr 1fr 1fr;
  width: 100%;
  margin: 0 auto 7px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(5,10,19,.78);
}
.service-tab {
  min-height: 56px;
  border-radius: 9px;
}
.service-tab strong { font-size: 14px; }
.service-tab small { font-size: 8px; }
.service-tab.is-selected {
  border-color: rgba(231,195,113,.3);
  background: linear-gradient(135deg, rgba(169,134,69,.36), rgba(104,88,59,.22));
  color: #fff7dd;
}

.rift-console .region-control {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 10px 16px;
  width: min(100%, 500px);
  min-height: 0;
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.rift-console .region-control[hidden] { display: none; }
.rift-console .region-control label {
  margin: 0;
  color: #e3e7eb;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
.rift-console select {
  min-height: 48px;
  border-color: rgba(222,190,115,.26);
  border-radius: 8px;
  background: rgba(10,18,31,.82);
  font-size: 13px;
}
.rift-console .region-tabs { display: none; }
.rift-console .region-note {
  grid-column: 1 / -1;
  display: none;
}

.rift-core {
  order: 2;
  width: 450px;
  height: 450px;
  margin-top: 0;
  padding: 55px;
}
.rift-core::before {
  inset: 8px;
  background:
    repeating-conic-gradient(from 4deg, rgba(230,204,139,.4) 0 1deg, transparent 1deg 15deg),
    conic-gradient(from -90deg, #e7bd63 var(--rift-progress), rgba(156,132,83,.2) 0);
  box-shadow:
    0 0 0 1px rgba(236,204,129,.48),
    0 0 0 12px rgba(150,116,57,.05),
    0 0 54px rgba(218,177,89,.15),
    inset 0 0 48px rgba(206,174,103,.12);
}
.rift-core::after {
  inset: 27px;
  border-color: rgba(230,203,137,.3);
  background:
    radial-gradient(circle at 50% 46%, rgba(145,188,217,.16), transparent 23%),
    radial-gradient(circle at 42% 35%, rgba(223,234,241,.11), transparent 19%),
    radial-gradient(circle, rgba(11,21,34,.82), rgba(5,10,19,.96) 75%);
  box-shadow:
    inset 0 0 80px rgba(91,145,184,.25),
    inset 0 0 0 10px rgba(226,200,138,.025),
    0 28px 80px rgba(0,0,0,.42);
}
.rift-runes { color: #e5bd64; }
.rift-core h2 { margin: 13px 0 18px; font-size: 22px; }
.countdown-parts b { color: #fff4d6; }
.countdown-parts i { color: #e8bd62; }

.quick-times {
  order: 3;
  width: min(100%, 560px);
  margin-top: -5px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.quick-times .opening-times {
  order: -1;
  display: block;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  text-align: center;
}
.quick-times .opening-times div { display: none; }
.quick-times .opening-times div:nth-child(2) { display: block; }
.quick-times .opening-times div:nth-child(2) span { display: none; }
.quick-times .opening-times div:nth-child(2) strong {
  color: #edf3f7;
  font-size: 12px;
  font-weight: 500;
}
.quick-times .opening-times div:nth-child(2) strong::before { content: "Opens "; color: #9ba8b4; font-weight: 400; }
.quick-times[data-phase="entry"] .opening-times div:nth-child(2) strong::before,
.quick-times[data-phase="active"] .opening-times div:nth-child(2) strong::before { content: "Opened "; }
.quick-times .opening-times div:nth-child(2) strong::after { content: " · your local time"; color: #9ba8b4; font-weight: 400; }
.quick-heading {
  justify-content: center;
  margin-bottom: 7px;
}
.quick-heading > span { color: #c1cbd3; font-size: 8px; }
.time-mode { display: none; }
.next-openings {
  grid-template-columns: repeat(3, minmax(0, 118px));
  justify-content: center;
}
.next-openings > span {
  padding: 7px 9px;
  border-color: rgba(207,223,234,.08);
  border-radius: 4px;
  background: rgba(15,25,40,.68);
}
.next-openings small { display: none; }
.next-openings strong { margin: 0; font-size: 10px; }
.compact-clocks { display: none !important; }
.live-hero > .faction-route { display: none; }

.troubleshooting-card {
  order: 4;
  width: min(100%, 620px);
  border: 1px solid rgba(231,189,99,.18);
  border-radius: 5px 15px 5px 15px;
  background: rgba(7,13,23,.76);
  box-shadow: 0 16px 46px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}
.troubleshooting-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 15px;
  color: #e8edf1;
  cursor: pointer;
  list-style: none;
}
.troubleshooting-card summary::-webkit-details-marker { display: none; }
.troubleshooting-card summary span,
.troubleshooting-card summary strong,
.troubleshooting-card summary small { display: block; }
.troubleshooting-card summary strong { font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.troubleshooting-card summary small { margin-top: 3px; color: #8794a0; font-family: "Manrope", sans-serif; font-size: 8px; }
.troubleshooting-card summary i {
  color: #e7bd63;
  font-family: "DM Mono", monospace;
  font-size: 17px;
  font-style: normal;
  transition: transform .2s ease;
}
.troubleshooting-card[open] summary i { transform: rotate(45deg); }
.troubleshooting-body {
  padding: 0 18px 16px;
  border-top: 1px solid rgba(190,214,230,.1);
  color: #aeb9c2;
  font-size: 10px;
  line-height: 1.65;
}
.troubleshooting-body ol { margin: 14px 0 10px; padding-left: 18px; }
.troubleshooting-body li + li { margin-top: 6px; }
.troubleshooting-body strong { color: #e6edf2; }
.troubleshooting-body .evidence-pill { margin-left: 5px; vertical-align: middle; }
.troubleshooting-body p { margin: 10px 0 0; }
.troubleshooting-body a { color: #f1cf7d; text-underline-offset: 3px; }
.troubleshooting-sources { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.troubleshooting-sources a { color: #9bdcff; font-size: 9px; }

.rule-strip { display: none; }
.content-section,
footer {
  width: min(1280px, calc(100% - 36px));
  margin-inline: auto;
}
.schedule-section { padding-top: 92px; }
.lower-world-backdrop { top: 1060px; }

@media (max-width: 700px) {
  .site-header { width: calc(100% - 22px); }
  main { width: calc(100% - 8px); }
  .live-hero {
    min-height: calc(100svh - 64px);
    padding: 25px 10px 42px;
    border-radius: 12px;
    background-position: 58% top;
  }
  .hero-copy-compact { margin-bottom: 16px; }
  .hero-copy-compact .kicker { font-size: 7px; }
  .hero-copy-compact h1 { gap: 2px; font-size: 29px; }
  .hero-copy-compact h1 em { font-size: .72em; }
  .hero-copy-compact .hero-intro { display: block; margin-top: 9px; font-size: 10px; line-height: 1.45; }
  .rift-console { gap: 9px; }
  .troubleshooting-card { width: min(100%, 560px); }
  .troubleshooting-card summary { padding: 11px 13px; }
  .troubleshooting-body { padding-inline: 14px; }
  .service-tabs { margin-bottom: 7px; padding: 4px; }
  .service-tab { min-height: 50px; }
  .service-tab strong { font-size: 11px; }
  .rift-console .region-control { grid-template-columns: 1fr; gap: 5px; width: min(100%, 360px); }
  .rift-console .region-control label { text-align: center; font-size: 10px; }
  .rift-console select { min-height: 40px; }
  .rift-console .region-note { display: none; }
  .rift-core { width: min(94vw, 390px); height: auto; aspect-ratio: 1; margin-top: 0; padding: 46px; }
  .rift-core h2 { margin: 10px 0 16px; font-size: 18px; }
  .rift-core .phase-helper { margin-top: 13px; }
  .quick-times { width: min(100%, 400px); margin-top: -8px; }
  .quick-times .opening-times div:nth-child(2) strong { font-size: 10px; }
  .next-openings { grid-template-columns: repeat(3, 1fr); }
  .next-openings strong { font-size: 9px; }
  .content-section,
  footer { width: min(100% - 24px, 1180px); }
  .lower-world-backdrop { top: 1080px; }
}

/* 24-hour evidence-aware activity timeline ------------------------------- */
.timeline-section {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 0;
}
.timeline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}
.timeline-heading .kicker { margin-bottom: 9px; color: #e0ba62; }
.timeline-heading h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
}
.timeline-day { text-align: right; }
.timeline-day strong,
.timeline-day span { display: block; }
.timeline-day strong { color: #dfe9f0; font-size: 13px; }
.timeline-day span { margin-top: 4px; color: var(--muted); font-size: 10px; }

.timeline-scroll {
  overflow-x: auto;
  border: 1px solid rgba(177,205,224,.14);
  border-radius: 5px 20px 5px 20px;
  background: linear-gradient(145deg,rgba(15,25,39,.92),rgba(8,13,23,.96));
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 26px 80px rgba(0,0,0,.28);
  scrollbar-color: rgba(166,206,231,.3) transparent;
}
.timeline-board {
  --label-width: 190px;
  position: relative;
  width: 100%;
  min-width: 960px;
  padding: 56px 30px 30px;
}
.timeline-axis {
  position: relative;
  height: 30px;
  margin-left: var(--label-width);
  color: #83909c;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}
.timeline-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.timeline-axis span:first-child { transform: none; }
.timeline-axis span:last-child { transform: translateX(-100%); }
.timeline-row {
  display: grid;
  grid-template-columns: var(--label-width) minmax(0,1fr);
  align-items: center;
  min-height: 66px;
}
.timeline-label {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 5px;
  padding-right: 24px;
}
.timeline-label strong { color: #dce8ef; font-size: 12px; }
.evidence-pill {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 3px 7px;
  border: 1px solid;
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 6px;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.evidence-player { border-color: rgba(120,235,181,.3); background: rgba(120,235,181,.08); color: #8df1bf; }
.evidence-client { border-color: rgba(125,202,248,.3); background: rgba(125,202,248,.08); color: #9bdcff; }
.evidence-mixed { border-color: rgba(246,193,88,.3); background: rgba(246,193,88,.08); color: #f1c666; }

.timeline-track {
  position: relative;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(185,211,229,.07);
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(179,208,228,.07) calc(12.5% - 1px) 12.5%),
    rgba(33,47,67,.58);
}
.timeline-bar {
  position: absolute;
  top: 10px;
  height: 20px;
  min-width: 2px;
  border-radius: 3px;
}
.bar-entry { z-index: 2; background: #e7bd63; box-shadow: 0 0 12px rgba(231,189,99,.24); }
.bar-rift { background: #6c9dac; }
.bar-event { top: 16px; height: 8px; background: #ba8b68; }
.bar-shugo { background: #c2a55f; }
.bar-boss { top: 15px; height: 10px; background: #ab88df; }
.bar-siege { background: #e37f8f; }
.bar-unconfirmed {
  background: repeating-linear-gradient(90deg,#e6bb5b 0 4px,rgba(230,187,91,.2) 4px 7px);
  outline: 1px solid rgba(230,187,91,.2);
}
.timeline-now {
  position: absolute;
  top: 64px;
  bottom: 23px;
  left: calc(var(--label-width) + 30px);
  width: 1px;
  background: rgba(241,246,249,.78);
  box-shadow: 0 0 11px rgba(221,238,249,.38);
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 4;
}
.timeline-now span {
  position: absolute;
  top: -17px;
  left: 50%;
  padding: 1px 4px;
  background: #101824;
  color: #f0f5f7;
  font-family: "DM Mono", monospace;
  font-size: 8px;
  transform: translateX(-50%);
}
.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 14px 8px 0;
  color: #8996a3;
  font-size: 9px;
}
.timeline-legend span { display: inline-flex; align-items: center; gap: 6px; }
.timeline-legend i { width: 10px; height: 7px; border-radius: 2px; }
.timeline-source-summary {
  max-width: 980px;
  margin: 14px 8px 0;
  color: #8996a3;
  font-size: 11px;
  line-height: 1.65;
}
.legend-entry { background: #e7bd63; }
.legend-rift { background: #6c9dac; }
.legend-event { background: #ba8b68; }
.legend-boss { background: #ab88df; }
.legend-unconfirmed { background: repeating-linear-gradient(90deg,#e6bb5b 0 3px,rgba(230,187,91,.18) 3px 5px); }

.evidence-details {
  margin-top: 18px;
  padding: 0 20px;
  border: 1px solid rgba(174,203,224,.12);
  border-radius: 4px 15px 4px 15px;
  background: rgba(9,16,27,.58);
}
.evidence-details summary { padding: 17px 0; font-size: 12px; }
.evidence-levels {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  padding-bottom: 18px;
}
.evidence-levels article { padding: 15px; border-top: 1px solid rgba(180,208,226,.12); }
.evidence-levels p { margin: 11px 0 0; color: #8996a3; font-size: 10px; line-height: 1.55; }
.evidence-levels a { display: inline-block; margin-top: 9px; color: #a9dfff; font-size: 9px; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .timeline-section { width: calc(100% - 24px); padding-top: 72px; }
  .timeline-heading { display: block; margin-bottom: 18px; }
  .timeline-heading h2 { font-size: 34px; }
  .timeline-day { margin-top: 12px; text-align: left; }
  .timeline-scroll::after { content: "Swipe to explore →"; }
  .timeline-board { --label-width: 148px; min-width: 920px; padding-inline: 20px; }
  .timeline-now { left: calc(var(--label-width) + 20px); }
  .evidence-levels { grid-template-columns: 1fr; }
}
