@font-face {
  font-family: Cinzel;
  src: url("/_a/cinzel.a5a54f6f7c.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
}
@font-face {
  font-family: Manrope;
  src: url("/_a/manrope.8e2368bdce.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 700;
}
@font-face {
  font-family: BodyFallback;
  src: local("Arial");
  size-adjust: 103%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: HeadingFallback;
  src: local("Georgia");
  size-adjust: 98%;
  ascent-override: 98%;
  descent-override: 25%;
  line-gap-override: 0%;
}
:root {
  color-scheme: dark;
  --accent: #e8c26a;
  --pale: #f6efd9;
  --secondary: #7cc4ff;
  --accent-rgb: 232, 194, 106;
  --glow: rgba(232, 194, 106, 0.18);
  --text: #f1eee7;
  --muted: #b7baca;
  --panel: rgba(13, 18, 29, 0.9);
  --cyan: #87eff5;
  --ember: #ffab7c;
  --cycle: 0;
  --faction-primary: #e8c26a;
  --faction-secondary: #7cc4ff;
  --faction-ember: #f6efd9;
}
:root[data-theme="asmodian"] {
  --accent: #ff91ba;
  --pale: #fae8f2;
  --secondary: #ad8aff;
  --accent-rgb: 192, 38, 94;
  --glow: rgba(192, 38, 94, 0.24);
  --faction-primary: #c0265e;
  --faction-secondary: #6d28d9;
  --faction-ember: #ff7a45;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background: #080c15;
}
body {
  margin: 0;
  font:
    14px/1.7 Manrope,
    BodyFallback,
    Arial,
    sans-serif;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  color: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover,
button:hover {
  color: var(--accent);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 5px;
}
p {
  margin: 0 0 16px;
}
h1,
h2 {
  font-family: Cinzel, HeadingFallback, Georgia, serif;
  line-height: 1.3;
  font-weight: 600;
}
h1,
h2,
h3 {
  margin: 0;
}
h2 {
  font-size: clamp(23px, 2.2vw, 30px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
}
svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
.wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  opacity: 0;
  pointer-events: none;
  padding: 10px 16px;
  background: #131b2c;
}
.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.site-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand strong {
  font-size: 24px;
  letter-spacing: 0.1em;
  font-weight: 750;
  line-height: 1.1;
}
.brand small {
  display: block;
  letter-spacing: 0.28em;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.brand-number {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  color: var(--muted);
}
.nav-active {
  color: var(--accent);
}
.faction-switch {
  display: flex;
  gap: 4px;
  border-radius: 8px;
  padding: 4px;
  background: #111726;
}
.faction-switch button {
  min-height: 38px;
  padding: 7px 13px;
  font-size: 12px;
  color: #c3c8d6;
  border-radius: 5px;
  transition:
    background 0.4s,
    color 0.4s;
}
.faction-switch [aria-pressed="true"] {
  color: var(--pale);
  background: var(--glow);
  box-shadow: inset 0 0 15px var(--glow);
}
.faction-switch span {
  color: var(--accent);
  margin-right: 5px;
}
.page-meta {
  display: flex;
  justify-content: space-between;
  padding: 3px 2px 13px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.tiny-diamond {
  display: inline-block;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--accent);
  margin-right: 8px;
}
#connection-status:not(:empty) {
  margin-left: 10px;
  color: var(--ember);
}
#page-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
#page-atmosphere::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: var(--abyss-image, none) center/cover no-repeat;
  opacity: 0.6;
  transform: translateY(var(--parallax, 0px));
}
#page-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#080c15 2%, #080c1533 30%, #080c15b3);
}
.screen-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  box-shadow: inset 0 0 100px rgba(var(--accent-rgb), 0);
  transition: box-shadow 0.4s;
}
:root[data-urgency="urgent"] .screen-glow {
  box-shadow: inset 0 0 65px rgba(var(--accent-rgb), 0.19);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 768px;
  border-radius: 12px;
  background: #101421;
  box-shadow:
    0 15px 70px #0006,
    inset 0 0 70px #000b;
}
.hero::after,
.panel::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  z-index: 4;
}
.faction-landscape {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  transition: opacity 0.4s;
  contain: paint;
}
.faction-landscape::before,
.faction-landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.landscape-elyos {
  opacity: 0.94;
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, #0000 74%);
}
.landscape-asmodian {
  opacity: 0.62;
  mask-image: linear-gradient(90deg, #0000 25%, #000 67%, #000);
}
.landscape-elyos::before {
  background-image: var(--elyos-blur);
}
.landscape-asmodian::before {
  background-image: var(--asmodian-blur);
}
.landscape-elyos::after {
  background-image: var(--elyos-image);
}
.landscape-asmodian::after {
  background-image: var(--asmodian-image);
}
.faction-landscape::after {
  opacity: 0;
  transition: opacity 0.65s;
}
.art-ready .faction-landscape::after {
  opacity: 1;
}
:root[data-theme="asmodian"] .landscape-elyos {
  opacity: 0.48;
}
:root[data-theme="asmodian"] .landscape-asmodian {
  opacity: 1;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      ellipse at 50% 48%,
      #060a1359 10%,
      #060a13ba 29%,
      transparent 70%
    ),
    linear-gradient(0deg, #080c15ed 0%, #080c1510 60%, #080c159c 100%);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 28px 24px 24px;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent);
  min-height: 18px;
  margin-bottom: 8px;
}
.eyebrow-separator {
  color: var(--muted);
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(30px, 3.1vw, 42px);
  color: var(--pale);
  max-width: 940px;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-subtitle {
  max-width: 720px;
  color: #d8d9e2;
  line-height: 1.7;
  font-size: 13px;
  margin: 10px 0 16px;
}
.server-selector {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  background: #060a13d4;
  border-radius: 8px;
  box-shadow: 0 0 22px #0005;
}
.server-selector button {
  min-width: 106px;
  min-height: 46px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 12px;
  padding: 5px 15px;
  color: #c3c8d6;
}
.server-selector small {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.server-selector [aria-pressed="true"] {
  background: var(--glow);
  color: var(--pale);
  box-shadow: inset 0 0 15px var(--glow);
}
.clock-note {
  font-size: 10px;
  color: #c2c6d3;
  margin: 8px 0 0;
}
.rift-ring {
  position: relative;
  width: 414px;
  aspect-ratio: 1;
  flex: none;
  margin: 4px auto -1px;
  --ring-color: var(--accent);
  color: var(--ring-color);
  isolation: isolate;
}
.gate-shell,
.rift-vortex,
.gate-light,
.gate-cracks,
.cycle-progress {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.gate-shell {
  animation: gate-breathe 10s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.26));
}
.gate-half {
  position: absolute;
  inset: 0;
}
.gate-half::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gate-frame) center/contain no-repeat;
}
.gate-left {
  clip-path: inset(0 50% 0 0);
}
.gate-right {
  clip-path: inset(0 0 0 50%);
}
.rift-vortex {
  inset: 12%;
  opacity: 0.48;
  filter: sepia(0.55) saturate(0.8);
  transition:
    filter 0.4s,
    opacity 0.4s,
    scale 0.6s;
  animation: portal-spin 36s linear infinite;
}
.rift-vortex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gate-vortex) center/contain no-repeat;
}
.primary-timer {
  position: absolute;
  inset: 28% 13% 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  text-shadow: 0 2px 14px #040810;
  background: radial-gradient(
    ellipse,
    #080c15e8,
    #080c15bb 40%,
    transparent 72%
  );
  border-radius: 50%;
  contain: layout;
}
.timer-label {
  font-size: 10px;
  line-height: 1.6;
  color: #e1e3ed;
  margin: 0 0 9px;
  font-weight: 550;
}
.timer-digits {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  font-size: 51px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--pale);
  height: 85px;
}
.digit-unit > span {
  display: flex;
  justify-content: center;
  width: 2ch;
  overflow: hidden;
}
.digit {
  display: inline-block;
  width: 1ch;
  text-align: center;
  transform-origin: 50% 50%;
}
.digit-unit small {
  display: block;
  font-size: 7px;
  line-height: 2.5;
  letter-spacing: 0.2em;
  color: #c7c8d7;
  font-weight: 500;
}
.timer-colon {
  color: var(--accent);
  font-size: 0.68em;
  padding-top: 5px;
  width: 0.45ch;
}
.ring-state {
  font-size: 7px;
  letter-spacing: 0.17em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cycle-progress {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--ring-color);
  stroke-width: 0.3;
  filter: drop-shadow(0 0 4px currentColor);
}
.cycle-track {
  stroke: #e5e2cf1f;
}
#cycle-progress {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--cycle));
  transition: stroke-dashoffset 1s linear;
  stroke-linecap: round;
}
.gate-cracks {
  color: var(--accent);
  filter: drop-shadow(0 0 3px currentColor);
  opacity: 0.85;
}
.gate-cracks svg {
  width: 100%;
  height: 100%;
}
.gate-cracks path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s linear;
}
.timer-context {
  font-size: 11px;
  line-height: 1.6;
  max-width: 540px;
  color: #d8d9e2;
  min-height: 69px;
}
.opening-time {
  margin-bottom: 3px;
}
.next-rift-secondary {
  margin-bottom: 6px;
  color: #bdc4d4;
  font-size: 10px;
}
.cycle-caption {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.cycle-caption i {
  font-style: normal;
  padding: 0 9px;
  color: var(--muted);
}
.timer-verification {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #b6bfd0;
  margin-top: 10px;
}
.timer-verification a {
  display: flex;
  gap: 5px;
  align-items: center;
}
.timer-verification svg {
  width: 11px;
  height: 11px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.6;
  white-space: nowrap;
}
.badge.confirmed {
  color: #afe3d1;
  background: #17342c;
}
.badge.unconfirmed {
  color: #ffd4a7;
  background: #38271c;
}
.metal-corners {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  z-index: 6;
}
.metal-corners i {
  position: absolute;
  width: 53px;
  height: 53px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='none' stroke='%239b8556' stroke-width='1.6' d='M1 58V10L10 1h48M8 43V13l5-5h30M1 22l13-8 8-13M8 29l9-12 12-9'/%3E%3Cpath fill='%239b8556' d='m9 9 5-2-2 5-5 2z'/%3E%3C/svg%3E")
    no-repeat;
}
.metal-corners i:nth-child(1) {
  top: 0;
  left: 0;
}
.metal-corners i:nth-child(2) {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}
.metal-corners i:nth-child(3) {
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
}
.metal-corners i:nth-child(4) {
  bottom: 0;
  left: 0;
  transform: rotate(270deg);
}
#abyss-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.rift-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.rift-burst.burst {
  animation: burst-flash 1.5s ease-out;
}
.gate-light {
  inset: 20% 48%;
  opacity: 0;
  background: #b4faff;
  box-shadow:
    0 0 40px #8eefff,
    0 0 70px #8eefff;
  z-index: 3;
}
.tearing .gate-left {
  animation: gate-tear-left 1.5s ease-out;
}
.tearing .gate-right {
  animation: gate-tear-right 1.5s ease-out;
}
.tearing .gate-light {
  animation: gate-light 1.5s ease-out;
}
:root[data-urgency="urgent"] .gate-shell {
  animation: gate-pulse 1.8s ease-in-out infinite;
}
:root[data-urgency="urgent"] #count-seconds {
  animation: seconds-shiver 2s ease-in-out infinite;
}
:root[data-phase="portal"] .rift-ring {
  --ring-color: var(--cyan);
}
:root[data-phase="portal"] .rift-vortex {
  filter: none;
  opacity: 0.82;
  animation-duration: 12s;
}
:root[data-phase="portal"] .timer-digits,
:root[data-phase="portal"] .ring-state,
:root[data-phase="portal"] .gate-cracks {
  color: var(--cyan);
}
:root[data-phase="running"] .rift-ring {
  --ring-color: var(--ember);
}
:root[data-phase="running"] .rift-vortex {
  scale: 0.78;
  opacity: 0.3;
  filter: sepia(1) saturate(2) hue-rotate(335deg);
  animation-duration: 55s;
}
:root[data-phase="running"] .timer-digits,
:root[data-phase="running"] .ring-state {
  color: var(--ember);
}
:root:not([data-phase="waiting"]) .digit-unit:first-child,
:root:not([data-phase="waiting"]) .timer-colon:nth-child(2) {
  display: none;
}
:root:not([data-phase="waiting"]) .timer-digits {
  font-size: 67px;
  height: 99px;
}
.timer-explainer {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 15px auto;
}
.tool-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #111727d6;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 11px;
}
.time-switch {
  display: flex;
  align-items: center;
  gap: 5px;
}
.time-switch > span {
  color: var(--muted);
  padding-right: 6px;
}
.time-switch svg {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}
.time-switch button {
  padding: 8px 10px;
  border-radius: 4px;
  min-height: 36px;
}
.time-switch [aria-pressed="true"] {
  background: var(--glow);
  color: var(--pale);
}
.timezone-label {
  color: var(--muted);
  margin-right: auto;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 10px 16px;
  border-radius: 5px;
  background: var(--glow);
  color: var(--pale);
  font-size: 12px;
  font-weight: 550;
}
.button:hover {
  background: rgba(var(--accent-rgb), 0.27);
}
.button svg {
  width: 15px;
  height: 15px;
}
.button.subtle {
  background: #1c2436;
}
.section,
.schedule-section {
  margin-top: 60px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-caption,
.section-note,
.helper-text {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.section-note {
  margin-top: 18px;
}
.panel {
  position: relative;
  background: var(--panel);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 18px #0007,
    0 8px 30px #0002;
}
.schedule-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 22px;
}
.schedule-panel {
  padding: 23px 26px;
}
.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
}
.panel-heading > span:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
.rift-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.rift-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  padding: 12px 8px;
  background: #1b2232;
}
.rift-table th span {
  display: block;
  font-size: 9px;
}
.rift-table td {
  padding: 14px 8px;
}
.rift-table tr:nth-child(even) {
  background: #ffffff03;
}
.rift-table th:last-child,
.rift-table td:last-child {
  text-align: right;
}
.rift-table tbody tr {
  height: 51px;
}
.rift-table .past {
  color: #a4abba;
}
.rift-table .next {
  background: var(--glow);
  color: var(--pale);
}
.rift-table .live {
  background: #162f37;
  color: var(--cyan);
}
.slot-state {
  font-size: 10px;
  white-space: nowrap;
}
.slot-marker {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #8b92a3;
  margin-right: 13px;
  transform: rotate(45deg);
}
.next .slot-marker {
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent);
}
.live .slot-marker {
  background: var(--cyan);
}
.schedule-footnote {
  font-size: 10px;
  color: var(--muted);
  margin: 17px 0 0;
  line-height: 1.9;
}
.legend-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 5px 0 10px;
  background: var(--accent);
  border-radius: 50%;
}
.legend-dot.cyan {
  background: var(--cyan);
}
.reset-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.reset-card {
  padding: 23px;
}
.reset-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reset-card-top > svg {
  color: var(--accent);
}
.reset-card-top h3 {
  font-size: 13px;
}
.reset-card-top h3 small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}
.reset-card-top .badge {
  margin-left: auto;
}
.reset-value {
  font-size: 33px;
  font-weight: 650;
  letter-spacing: -0.035em;
  margin: 12px 0 2px;
  color: var(--pale);
}
.reset-card [data-reset-next],
.reset-static {
  font-size: 11px;
  color: var(--muted);
}
.reset-static {
  font-size: 9px;
  padding-top: 8px;
}
.schedule-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 12px;
  color: var(--muted);
  font-size: 11px;
}
.schedule-tip svg {
  color: var(--accent);
  margin-top: 3px;
}
.schedule-tip p {
  margin: 0;
}
.schedule-tip strong {
  color: var(--text);
}
.timeline-panel {
  padding: 22px 24px;
  margin-bottom: 22px;
}
.timeline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 18px;
}
.timeline-heading > span:first-child {
  color: var(--accent);
  font-weight: 600;
}
.timeline-heading > span:last-child {
  color: var(--muted);
  font-size: 10px;
}
.timeline-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 2px 10px;
}
.timeline {
  min-width: 700px;
}
.timeline-hours,
.timeline-row {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 16px;
}
.timeline-hours > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  padding-bottom: 12px;
}
.timeline-row {
  align-items: center;
  margin-bottom: 9px;
}
.timeline-label {
  font-size: 10px;
  color: #d1d6e1;
}
.timeline-track {
  position: relative;
  height: 30px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0%,
      transparent calc(12.5% - 1px),
      #b3bccc10 calc(12.5% - 1px),
      #b3bccc10 12.5%
    ),
    #1a2232;
  isolation: isolate;
}
.timeline-now {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: #fff9;
  z-index: 5;
  left: var(--now, 0%);
  box-shadow: 0 0 6px #fff5;
}
.timeline-block {
  position: absolute;
  height: 16px;
  top: 7px;
  border-radius: 2px;
  background: var(--event-accent, var(--accent));
  opacity: 0.8;
  min-width: 2px;
  padding: 0;
}
.timeline-block[data-part="activity"] {
  background: #5a8999;
}
.timeline-block[data-part="entry"] {
  background: var(--accent);
  z-index: 2;
}
.timeline-block:hover,
.timeline-block:focus-visible {
  opacity: 1;
  filter: brightness(1.3);
  z-index: 6;
}
.timeline-tooltip {
  position: absolute;
  bottom: 31px;
  left: 50%;
  translate: -50% 0;
  min-width: 190px;
  max-width: 250px;
  pointer-events: none;
  padding: 10px;
  background: #202a3e;
  border-radius: 5px;
  box-shadow: 0 5px 15px #0009;
  font-size: 10px;
  text-align: left;
  display: none;
  color: #eff1f7;
}
.timeline-block:hover .timeline-tooltip,
.timeline-block:focus-visible .timeline-tooltip {
  display: block;
}
.timeline-legend {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 9px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.timeline-legend > span:last-child {
  margin-left: auto;
}
.timeline-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 1px;
}
.entry-key {
  background: var(--accent);
}
.activity-key {
  background: #5a8999;
}
.group-picker {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.group-picker select {
  padding: 8px;
  background: #1d2537;
  border: 0;
  border-radius: 4px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.event-card {
  --event-accent: #e8c26a;
  position: relative;
  min-width: 0;
  padding: 23px 21px 20px;
  background: linear-gradient(
    140deg,
    color-mix(in srgb, var(--event-accent) 7%, #141b2b),
    #0e1422eb
  );
  border-radius: 7px;
  box-shadow: inset 0 1px 25px #0005;
}
.event-card[data-event="halfHourEvent"],
.timeline-block[data-event="halfHourEvent"] {
  --event-accent: #ffab70;
}
.event-card[data-event="watcherKaira"],
.timeline-block[data-event="watcherKaira"] {
  --event-accent: #c0a1ff;
}
.event-card[data-event="artifactSiege"],
.event-card[data-event="siegeBosses"],
.timeline-block[data-event="artifactSiege"],
.timeline-block[data-event="siegeBosses"] {
  --event-accent: #ff8e98;
}
.event-card[data-event="nahma"],
.timeline-block[data-event="nahma"] {
  --event-accent: #89d0dc;
}
.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.event-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--event-accent, var(--accent));
  background: color-mix(
    in srgb,
    var(--event-accent, var(--accent)) 10%,
    transparent
  );
  border-radius: 5px;
  box-shadow: inset 0 0 15px
    color-mix(in srgb, var(--event-accent, var(--accent)) 9%, transparent);
}
.event-icon svg {
  width: 23px;
  height: 23px;
}
.event-card h3 {
  font-size: 15px;
  color: var(--event-accent);
}
.event-rule {
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0 15px;
  min-height: 56px;
  line-height: 1.9;
}
.event-rule > span {
  display: block;
  font-size: 9px;
}
.event-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.event-time > span {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: #ebeef6;
}
.event-time small {
  font-size: 9px;
  color: #c2c8d6;
  min-height: 15px;
}
.event-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  overflow: hidden;
  border-radius: 7px 7px 0 0;
  background: #ffffff08;
}
.event-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--event-accent);
  transform-origin: left;
  transform: scaleX(var(--event-progress, 0));
  box-shadow: 0 0 10px var(--event-accent);
  transition: transform 1s linear;
}
.source-popover {
  position: relative;
  font-size: 12px;
}
.source-popover summary {
  list-style: none;
  padding: 8px;
  line-height: 1.1;
  color: #c3cada;
  min-width: 32px;
  min-height: 32px;
  text-align: center;
}
.source-popover summary::-webkit-details-marker {
  display: none;
}
.source-content {
  position: absolute;
  top: 36px;
  right: 0;
  width: 260px;
  background: #202a3e;
  padding: 18px;
  border-radius: 6px;
  box-shadow: 0 10px 35px #000a;
  z-index: 10;
  font-size: 11px;
  line-height: 1.7;
}
.source-content p {
  margin-bottom: 12px;
  color: #e0e4ee;
}
.event-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  color: #bcccdf;
}
.event-sources a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.event-sources svg {
  width: 10px;
  height: 10px;
}
.source-content .event-sources {
  flex-direction: column;
}
.unavailable {
  opacity: 0.8;
}
.unavailable > p,
.uncertain {
  color: #ffd1a1;
  font-size: 11px;
}
.more-events {
  margin-top: 20px;
}
.more-events > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  padding: 12px 0;
}
.more-events[open] > summary svg {
  rotate: 180deg;
}
.extra-events {
  margin-top: 10px;
}
.reminders {
  margin-top: 56px;
  padding: 30px 34px;
}
.reminder-heading {
  display: flex;
  align-items: center;
  gap: 17px;
}
.reminder-heading h2 {
  font-size: 25px;
}
.reminder-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
}
.reminder-options {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 25px 0 16px;
  font-size: 11px;
}
.reminder-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
}
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}
.helper-text {
  margin: 0;
}
.app-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 55px;
  align-items: start;
}
.app-section p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.install-instructions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.install-instructions article {
  background: #151d2ada;
  padding: 22px;
  border-radius: 7px;
}
.platform-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 12px;
}
.install-instructions h3 {
  font-size: 13px;
}
.install-instructions ol {
  font-size: 11px;
  color: var(--muted);
  padding-left: 18px;
  line-height: 2;
  margin-bottom: 0;
}
.guide-section {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  gap: 60px;
  padding: 38px 0;
  background: linear-gradient(90deg, #141b2922, #141b2960, #141b2922);
}
.guide-heading h2 {
  max-width: 390px;
}
.window-diagram {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 26px 0 16px;
}
.window-diagram strong {
  display: block;
  color: var(--accent);
  font-size: 33px;
  font-weight: 600;
  line-height: 1.3;
}
.window-diagram small {
  font-size: 11px;
  font-weight: 400;
}
.window-diagram div > span {
  font-size: 10px;
  color: var(--muted);
}
.diagram-line {
  width: 45px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.guide-aside {
  font-size: 11px;
  color: var(--muted);
}
.guide-copy p {
  font-size: 12px;
  line-height: 1.95;
  color: #c2c8d6;
}
.guide-points {
  padding-left: 18px;
  columns: 2;
  font-size: 11px;
  line-height: 1.8;
  color: #d7dce7;
  column-gap: 25px;
}
.guide-points li {
  break-inside: avoid;
  padding-bottom: 10px;
}
.guide-points li::marker {
  color: var(--accent);
}
.regional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.regional-card {
  padding: 26px;
}
.regional-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  margin-bottom: 20px;
}
.regional-card h3 {
  font-size: 17px;
}
.regional-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
}
.regional-card .uncertain {
  color: #ffd1a1;
}
.regional-card .regional-next {
  color: #d7c3fa;
}
.regional-rule {
  color: var(--text) !important;
}
.faq-list {
  background: #101826b8;
  border-radius: 8px;
  padding: 0 26px;
}
.faq-item {
  box-shadow: 0 1px 0 #c0c8d111;
}
.faq-item:last-child {
  box-shadow: none;
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  min-height: 76px;
  padding: 16px 0;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-number {
  font-size: 10px;
  color: var(--accent);
}
.faq-item h3 {
  font-size: 13px;
  font-weight: 550;
}
.faq-plus {
  margin-left: auto;
  color: var(--accent);
  font-size: 21px;
}
.faq-item[open] .faq-plus {
  rotate: 45deg;
}
.faq-item > p {
  font-size: 12px;
  color: #bfc7d6;
  padding: 0 35px 19px;
  line-height: 1.95;
  max-width: 950px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--accent);
  min-height: 35px;
}
.text-button svg {
  width: 13px;
  height: 13px;
}
.troubleshooting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 26px 30px;
  margin-top: 45px;
  gap: 15px;
}
.troubleshooting h2 {
  font-size: 21px;
}
.troubleshooting p {
  font-size: 11px;
  color: var(--muted);
  margin: 9px 0 0;
}
.troubleshooting #copy-status:not(:empty) {
  flex-basis: 100%;
}
.data-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
}
.data-section h2 {
  margin-bottom: 18px;
}
.data-section p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.sources-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 18px;
}
.sources-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 13px 14px;
  background: #182030;
  border-radius: 4px;
}
.sources-list svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 38px 0;
  margin-top: 55px;
  box-shadow: 0 -1px 0 #ffffff0d;
}
.footer-brand strong {
  font-size: 17px;
}
.footer-brand small {
  font-size: 7px;
}
.site-footer p {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  max-width: 680px;
}
.site-footer > a:last-child {
  font-size: 10px;
  color: var(--accent);
  white-space: nowrap;
}
.site-footer > a:last-child svg {
  width: 12px;
  height: 12px;
}
.notice {
  padding: 20px;
  background: #2a2136;
  font-size: 12px;
  border-radius: 7px;
}
@keyframes portal-spin {
  to {
    rotate: 360deg;
  }
}
@keyframes gate-breathe {
  50% {
    filter: drop-shadow(0 0 17px rgba(var(--accent-rgb), 0.5));
  }
}
@keyframes gate-pulse {
  50% {
    scale: 1.03;
    filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.65));
  }
}
@keyframes seconds-shiver {
  0%,
  88%,
  100% {
    translate: 0;
  }
  90% {
    translate: 1px 0.5px;
  }
  92% {
    translate: -1px 0;
  }
  94% {
    translate: 0.5px -0.5px;
  }
}
@keyframes gate-tear-left {
  15%,
  55% {
    translate: -10% 0;
  }
  100% {
    translate: 0;
  }
}
@keyframes gate-tear-right {
  15%,
  55% {
    translate: 10% 0;
  }
  100% {
    translate: 0;
  }
}
@keyframes gate-light {
  0%,
  100% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  55% {
    opacity: 0.7;
  }
}
@keyframes burst-flash {
  0% {
    background: #a4f5ff38;
  }
  100% {
    background: #a4f5ff00;
  }
}
.motion-paused *,
.effects-out-of-view * {
  animation-play-state: paused !important;
}
.low-effects .gate-shell,
.low-effects .rift-vortex,
.low-effects #count-seconds,
.low-effects .gate-half,
.low-effects .gate-light,
.low-effects .rift-burst {
  animation: none !important;
}
.low-effects #page-atmosphere::before {
  transform: none;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 40px);
  }
  nav {
    gap: 18px;
  }
  .schedule-grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
  }
  .reset-card {
    padding: 18px;
  }
  .reset-card-top {
    flex-wrap: wrap;
  }
  .reset-card-top .badge {
    margin-left: 0;
  }
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-rule {
    min-height: 38px;
  }
  .app-section {
    gap: 25px;
  }
  .install-instructions {
    grid-template-columns: 1fr;
  }
  .guide-section,
  .data-section {
    gap: 30px;
  }
  .tool-bar {
    flex-wrap: wrap;
  }
  .timezone-label {
    margin-right: 0;
  }
  .tool-bar > .button {
    margin-left: auto;
  }
  .site-footer {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .site-header {
    height: 64px;
    gap: 8px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 0.24em;
    margin-top: 2px;
  }
  nav {
    display: none;
  }
  .faction-switch {
    padding: 3px;
    gap: 0;
  }
  .faction-switch button {
    padding: 7px 8px;
    min-height: 35px;
    font-size: 10px;
  }
  .faction-switch span {
    margin-right: 3px;
  }
  .page-meta {
    font-size: 8px;
    letter-spacing: 0.05em;
    padding: 0 3px 9px;
  }
  .hero {
    min-height: 0;
    border-radius: 7px;
  }
  .hero-content {
    padding: 19px 10px 18px;
  }
  .hero-eyebrow {
    font-size: 7px;
    letter-spacing: 0.17em;
    gap: 6px;
    margin-bottom: 7px;
  }
  .hero h1 {
    font-size: 27px;
    line-height: 1.18;
    max-width: 460px;
    text-wrap: balance;
  }
  .hero-subtitle {
    font-size: 10px;
    line-height: 1.65;
    max-width: 360px;
    margin: 9px 6px 12px;
  }
  .server-selector {
    padding: 4px;
    gap: 4px;
  }
  .server-selector button {
    min-width: 85px;
    min-height: 41px;
    padding: 4px 9px;
    font-size: 11px;
  }
  .server-selector small {
    font-size: 7px;
  }
  .clock-note {
    font-size: 8px;
    margin-top: 7px;
  }
  .rift-ring {
    width: 82vw;
    max-width: 450px;
    margin: 6px auto 0;
  }
  .timer-digits {
    font-size: clamp(32px, 10.3vw, 51px);
    gap: 3px;
    height: 68px;
  }
  .timer-label {
    font-size: clamp(7px, 2.1vw, 10px);
    margin-bottom: 6px;
    white-space: nowrap;
  }
  .digit-unit small {
    font-size: 6px;
    letter-spacing: 0.12em;
  }
  .ring-state {
    font-size: 6px;
    letter-spacing: 0.11em;
  }
  .timer-colon {
    padding-top: 4px;
  }
  .primary-timer {
    inset: 29% 12% 24%;
  }
  :root:not([data-phase="waiting"]) .timer-digits {
    font-size: clamp(48px, 14vw, 68px);
    height: 82px;
  }
  .timer-context {
    font-size: 9px;
    min-height: 57px;
  }
  .next-rift-secondary {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .cycle-caption {
    font-size: 7px;
  }
  .cycle-caption i {
    padding: 0 6px;
  }
  .timer-verification {
    font-size: 8px;
    gap: 7px;
    margin-top: 6px;
  }
  .timer-verification .badge {
    font-size: 7px;
    padding: 2px 5px;
  }
  .metal-corners {
    inset: 8px;
  }
  .metal-corners i {
    width: 33px;
    height: 33px;
  }
  .hero-shade {
    background:
      radial-gradient(
        ellipse at 50% 54%,
        #060a1326 5%,
        #060a138c 40%,
        transparent 76%
      ),
      linear-gradient(#080c15ac, #080c1545 37%, #080c15e8);
  }
  .landscape-elyos {
    mask-image: linear-gradient(90deg, #000, #000 20%, #0000 79%);
  }
  .landscape-asmodian {
    mask-image: linear-gradient(90deg, #0000 20%, #000 85%);
  }
  .timer-explainer {
    font-size: 9px;
    line-height: 1.7;
    margin: 13px 6px;
  }
  .tool-bar {
    gap: 7px;
    padding: 9px 10px;
    font-size: 9px;
  }
  .time-switch {
    gap: 3px;
  }
  .time-switch > span {
    padding-right: 2px;
  }
  .time-switch svg {
    width: 12px;
    height: 12px;
  }
  .time-switch button {
    padding: 7px;
    min-height: 32px;
  }
  .timezone-label {
    font-size: 8px;
    margin-left: auto;
  }
  .tool-bar > .button {
    font-size: 9px;
    min-height: 33px;
    padding: 7px 10px;
    margin-left: 0;
  }
  .section,
  .schedule-section {
    margin-top: 39px;
  }
  .section-heading {
    margin-bottom: 17px;
    align-items: flex-start;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-caption {
    font-size: 9px;
    max-width: 100px;
    text-align: right;
    flex-shrink: 0;
    margin-top: 5px;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .schedule-panel {
    padding: 15px 13px;
  }
  .panel-heading {
    font-size: 11px;
    padding-bottom: 11px;
    gap: 8px;
  }
  .panel-heading .badge {
    font-size: 8px;
  }
  .rift-table {
    font-size: 12px;
  }
  .rift-table th {
    font-size: 9px;
    padding: 9px 5px;
  }
  .rift-table td {
    padding: 12px 5px;
  }
  .slot-marker {
    margin-right: 6px;
    width: 4px;
    height: 4px;
  }
  .slot-state {
    font-size: 8px;
  }
  .schedule-footnote {
    font-size: 9px;
  }
  .reset-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .reset-card {
    padding: 16px 13px;
  }
  .reset-card-top {
    gap: 7px;
  }
  .reset-card-top h3 {
    font-size: 12px;
  }
  .reset-card-top svg {
    width: 15px;
    height: 15px;
  }
  .reset-card-top .badge {
    font-size: 7px;
  }
  .reset-value {
    font-size: 24px;
    white-space: nowrap;
  }
  .reset-card [data-reset-next],
  .reset-static {
    font-size: 8px;
  }
  .schedule-tip {
    grid-column: 1/-1;
    font-size: 10px;
    padding: 6px;
  }
  .timeline-panel {
    padding: 17px 14px;
    margin-bottom: 16px;
  }
  .timeline-heading {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .timeline-heading > span:last-child {
    font-size: 8px;
  }
  .timeline {
    min-width: 710px;
  }
  .timeline-label {
    font-size: 9px;
  }
  .timeline-hours,
  .timeline-row {
    grid-template-columns: 88px 1fr;
    gap: 12px;
  }
  .timeline-legend {
    gap: 10px;
    font-size: 8px;
  }
  .timeline-legend > span:last-child {
    margin-left: 0;
    width: 100%;
  }
  .event-grid {
    gap: 11px;
  }
  .event-card {
    padding: 17px 14px;
  }
  .event-card h3 {
    font-size: 13px;
    min-height: 38px;
  }
  .event-icon {
    width: 31px;
    height: 31px;
  }
  .event-icon svg {
    width: 20px;
    height: 20px;
  }
  .event-card-top {
    margin-bottom: 12px;
  }
  .event-rule {
    font-size: 9px;
    min-height: 52px;
    margin: 7px 0 11px;
  }
  .event-time > span {
    font-size: 21px;
  }
  .event-time small {
    font-size: 8px;
    min-height: 28px;
  }
  .event-card .badge {
    font-size: 7px;
    padding: 3px 6px;
  }
  .source-content {
    width: 220px;
    right: -8px;
  }
  .event-card:nth-child(odd) .source-content {
    right: auto;
    left: -60px;
  }
  .group-picker {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 8px;
  }
  .group-picker select {
    padding: 6px;
    font-size: 10px;
  }
  .section-note {
    font-size: 9px;
  }
  .reminders {
    padding: 23px 20px;
    margin-top: 35px;
  }
  .reminder-heading {
    align-items: flex-start;
    gap: 13px;
  }
  .reminder-heading h2 {
    font-size: 23px;
  }
  .reminder-heading p {
    font-size: 10px;
  }
  .reminder-options {
    flex-direction: column;
    gap: 7px;
    margin: 19px 0 12px;
    font-size: 10px;
  }
  .helper-text {
    font-size: 10px;
  }
  .app-section {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .app-section h2 {
    font-size: 23px;
  }
  .app-section p {
    font-size: 11px;
  }
  .install-instructions {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }
  .install-instructions article {
    padding: 17px 14px;
  }
  .install-instructions h3 {
    font-size: 12px;
  }
  .install-instructions ol {
    font-size: 10px;
    line-height: 1.9;
  }
  .platform-label {
    font-size: 8px;
  }
  .guide-section {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 18px 3px;
  }
  .guide-heading h2 {
    font-size: 24px;
    max-width: 380px;
  }
  .window-diagram {
    margin: 20px 0 10px;
  }
  .guide-aside {
    font-size: 10px;
  }
  .guide-copy p {
    font-size: 11px;
  }
  .guide-points {
    columns: 1;
    font-size: 10px;
  }
  .regional-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .regional-card {
    padding: 22px;
  }
  .regional-card-head {
    margin-bottom: 13px;
  }
  .regional-card h3 {
    font-size: 15px;
  }
  .regional-card p {
    font-size: 10px;
  }
  .faq-list {
    padding: 0 16px;
  }
  .faq-item summary {
    gap: 11px;
    min-height: 76px;
  }
  .faq-item h3 {
    font-size: 11px;
  }
  .faq-number {
    font-size: 8px;
  }
  .faq-item > p {
    font-size: 10px;
    padding: 0 21px 16px;
  }
  .faq-plus {
    font-size: 20px;
  }
  .text-button {
    font-size: 9px;
    white-space: nowrap;
  }
  .troubleshooting {
    padding: 22px 20px;
    margin-top: 30px;
  }
  .troubleshooting h2 {
    font-size: 20px;
  }
  .troubleshooting p {
    font-size: 10px;
  }
  .data-section {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .data-section h2 {
    font-size: 23px;
  }
  .data-section p {
    font-size: 10px;
  }
  .sources-list {
    gap: 8px;
  }
  .sources-list a {
    font-size: 10px;
    padding: 11px;
  }
  .site-footer {
    flex-wrap: wrap;
    margin-top: 32px;
    padding: 26px 0;
    gap: 18px;
  }
  .site-footer p {
    order: 3;
    font-size: 8px;
    width: 100%;
  }
  .site-footer > a:last-child {
    font-size: 9px;
    margin-left: auto;
  }
  .footer-brand strong {
    font-size: 17px;
  }
}
@media (max-width: 350px) {
  .brand strong {
    font-size: 18px;
  }
  .brand img {
    width: 24px;
    height: 24px;
  }
  .faction-switch button {
    font-size: 9px;
    padding: 6px;
  }
  .faction-switch span {
    display: none;
  }
  .hero-content {
    padding: 17px 7px 15px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero-subtitle {
    font-size: 9px;
  }
  .server-selector button {
    min-width: 78px;
  }
  .timer-digits {
    font-size: 32px;
    height: 62px;
  }
  .ring-state {
    font-size: 5px;
  }
  .timer-verification {
    gap: 5px;
    font-size: 7px;
  }
  .timer-context {
    font-size: 8px;
  }
  .timer-label {
    font-size: 7px;
  }
  .tool-bar .timezone-label {
    width: 100%;
    margin-left: 0;
  }
  .reset-value {
    font-size: 21px;
  }
  .event-time > span {
    font-size: 18px;
  }
  .event-card {
    padding: 15px 11px;
  }
  .event-card .badge {
    font-size: 6px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-caption {
    font-size: 8px;
    max-width: 75px;
  }
  .source-content {
    width: 205px;
  }
  .timeline-heading > span:last-child {
    max-width: 125px;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  #page-atmosphere::before {
    transform: none !important;
  }
  .screen-glow {
    box-shadow: none !important;
  }
  #abyss-particles {
    display: none !important;
  }
}

.faction-landscape {
  width: 100%;
  height: 100%;
}
.faction-landscape::before,
.faction-landscape::after,
.gate-half::before,
.rift-vortex::before {
  content: none;
  background: none;
}
.gate-half canvas,
.rift-vortex canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.primary-timer {
  flex-shrink: 0;
}
.timer-digits {
  flex-shrink: 0;
}
.timer-label,
.ring-state {
  flex-shrink: 0;
}

:root[data-phase="running"] .gate-cracks {
  color: var(--ember);
  opacity: 0.25;
}
.panel .metal-corners {
  z-index: 1;
  opacity: 0.4;
  inset: 7px;
}
.panel .metal-corners i {
  width: 22px;
  height: 22px;
}
@media (max-width: 700px) {
  .guide-copy p,
  .regional-card p,
  .data-section p,
  .app-section p,
  .faq-item > p {
    font-size: 12px;
  }
  .faq-item h3 {
    font-size: 12px;
  }
  .reminder-options,
  .reminder-heading p,
  .helper-text {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rift-vortex {
    scale: 1 !important;
  }
  .gate-cracks {
    display: none;
  }
}
.low-effects .rift-vortex {
  scale: 1 !important;
}

/* v3.1: faction staging and shared timer pages. */
main > .section,
main > .schedule-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
.faction-landscape {
  transition:
    width 0.6s,
    opacity 0.6s,
    filter 0.6s;
  mask-image: none;
}
.landscape-elyos {
  width: 65%;
  right: auto;
  opacity: 1;
  filter: brightness(1.18);
  mask-image: linear-gradient(90deg, #000 78%, transparent);
}
.landscape-asmodian {
  width: 35%;
  left: auto;
  opacity: 1;
  filter: brightness(0.35) blur(1.5px);
  mask-image: linear-gradient(90deg, transparent, #000 22%);
}
:root[data-theme="asmodian"] .landscape-elyos {
  width: 35%;
  opacity: 1;
  filter: brightness(0.35) blur(1.5px);
}
:root[data-theme="asmodian"] .landscape-asmodian {
  width: 65%;
  opacity: 1;
  filter: brightness(1.18);
}
.hero-shade {
  background:
    radial-gradient(
      ellipse at 50% 52%,
      #050913e8 0%,
      #050913bb 24%,
      #05091350 48%,
      transparent 80%
    ),
    linear-gradient(#080c1570, transparent 40%, #080c15db);
}
.digit-unit small,
.timer-label,
.ring-state,
.clock-note {
  font-size: 11px;
}
.digit-unit small {
  letter-spacing: 0.08em;
  line-height: 2;
  color: #d4d8e3;
}
.ring-state {
  letter-spacing: 0.05em;
  color: var(--pale);
}
.clock-note {
  color: #d4d8e3;
}
.timer-label {
  max-width: 100%;
  text-align: center;
}
.next-rift-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
  margin: 8px 0;
  font-size: 11px;
  color: #d4d8e3;
}
#next-three-rifts {
  display: flex;
  gap: 6px;
}
#next-three-rifts time,
.reward-tags span {
  padding: 5px 9px;
  background: #141c2dde;
  border-radius: 5px;
  color: var(--pale);
  font-variant-numeric: tabular-nums;
}
.full-schedule {
  display: block;
  margin-top: 17px;
  font-size: 12px;
  color: var(--pale);
}
.timeline-now::before {
  content: attr(data-time);
  position: absolute;
  top: -17px;
  left: -15px;
  color: var(--pale);
  font-size: 11px;
  letter-spacing: 0;
}
[data-timeline="events"] .timeline-block {
  opacity: 0.35;
  height: 3px !important;
}
[data-timeline="events"] .timeline-block:hover,
[data-timeline="events"] .timeline-block:focus,
.timeline-block.show-details {
  opacity: 1;
}
.timeline-block.show-details .timeline-tooltip {
  display: block;
  opacity: 1;
  visibility: visible;
}
.rift-burst.burst {
  animation: burst-flash 1.2s ease-out;
}
.rift-burst.burst::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 180px;
  height: 180px;
  border: 2px solid #a5f5ff;
  border-radius: 50%;
  box-shadow: 0 0 36px #8eefff;
  animation: opening-wave 1.2s ease-out both;
}
@keyframes opening-wave {
  from {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.8;
  }
  to {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}
.tearing .gate-left {
  animation-duration: 1.2s;
}
.tearing .gate-right {
  animation-duration: 1.2s;
}
.tearing .gate-light {
  animation-duration: 1.2s;
}
.site-header nav,
.site-footer nav,
.related-pages nav,
.data-section nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer nav {
  margin-bottom: 12px;
  gap: 14px;
  font-size: 12px;
}
.subpage-hero .rift-ring {
  width: 330px;
  margin-top: 0;
}
.subpage-hero h1 {
  font-size: clamp(26px, 3vw, 39px);
  max-width: 950px;
}
.subpage-intro {
  max-width: 700px;
}
.subpage-intro a {
  color: var(--pale);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.festival-opening {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  width: min(100%, 760px);
  margin: 6px 0;
  text-align: left;
  font-size: 12px;
  line-height: 1.5;
  color: var(--pale);
}
.festival-opening p {
  margin: 0;
}
.festival-opening p:first-child,
.festival-opening .helper-text,
.festival-opening small {
  grid-column: 1 / -1;
}
.festival-opening strong {
  color: var(--accent);
  margin-right: 12px;
}
.festival-opening time {
  font-variant-numeric: tabular-nums;
}
.festival-end-note {
  max-width: 760px;
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
:root[data-page="shugo-festival"] #page-clock-note,
:root[data-page="shugo-festival"] #next-activity {
  display: none;
}
@media (max-width: 680px) {
  .festival-opening {
    grid-template-columns: 1fr;
    gap: 3px;
    line-height: 1.45;
  }
  .festival-opening .helper-text {
    font-size: 11px;
    line-height: 1.45;
  }
  :root[data-page="shugo-festival"] .subpage-hero .rift-ring {
    width: min(74vw, 300px);
  }
}
@media (max-width: 680px) and (max-height: 760px) {
  :root[data-page="shugo-festival"] .subpage-intro {
    margin: 6px;
  }
  :root[data-page="shugo-festival"] .festival-opening {
    gap: 2px;
    line-height: 1.35;
  }
  :root[data-page="shugo-festival"] .festival-end-note {
    margin: 2px 0 6px;
  }
  :root[data-page="shugo-festival"] .subpage-hero .rift-ring {
    width: 220px;
  }
  :root[data-page="shugo-festival"] .timer-digits {
    font-size: 30px;
  }
}
.reset-opening {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  width: min(100%, 900px);
  text-align: left;
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--pale);
}
.reset-opening p {
  margin: 0;
}
.reset-opening p > span {
  display: block;
}
.reset-opening strong {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--accent);
}
.reset-opening [data-opening-countdown] {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.reset-opening small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 680px) {
  .reset-opening {
    grid-template-columns: 1fr;
    font-size: 12px;
    line-height: 1.45;
    gap: 10px;
    margin: 10px 0;
  }
  .reset-opening small {
    font-size: 10px;
  }
  :root[data-page="reset-timer"] #page-clock-note,
  :root[data-page="reset-timer"] #next-activity {
    display: none;
  }
}
@media (max-width: 680px) and (max-height: 760px) {
  :root[data-page="reset-timer"] .reset-static-answer {
    margin: 2px 6px;
    line-height: 1.5;
  }
  :root[data-page="reset-timer"] .reset-opening {
    margin: 6px 0;
    gap: 4px;
    line-height: 1.35;
  }
  :root[data-page="reset-timer"] .reset-opening-primary {
    display: none;
  }
  :root[data-page="reset-timer"] .subpage-hero .rift-ring {
    width: 220px;
  }
  :root[data-page="reset-timer"] .timer-digits {
    font-size: 30px;
  }
}
.next-activity {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  margin: 14px 0 0;
}
.subpage-hero .timer-context {
  margin-bottom: 0;
  min-height: 50px;
}
.subpage .hero-content {
  padding-bottom: 18px;
}
.subpage-schedule {
  padding: 28px;
}
.table-scroll {
  overflow: auto;
}
.subpage-schedule .rift-table {
  min-width: 640px;
}
.subpage-schedule .rift-table caption {
  text-align: left;
  padding: 15px 0;
  font-size: 12px;
  color: #d4d8e3;
}
.subpage-schedule .rift-table .event-sources {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 5px;
  font-size: 11px;
}
.subpage-schedule .event-sources a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.boss-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.boss-card,
.reset-page-counts .panel,
.checklist-grid .panel {
  padding: 28px;
}
.boss-card h2 {
  font-size: 23px;
}
.boss-top strong,
.large-countdown {
  display: block;
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  color: var(--pale);
  margin-top: 20px;
}
.boss-card p {
  color: #d4d8e3;
  font-size: 13px;
}
.reset-page-counts,
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #ffffff0c;
  cursor: pointer;
}
.checklist-item input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}
.checklist-item small {
  display: block;
  margin-top: 5px;
  color: #d4d8e3;
  font-size: 12px;
}
.checklist-item:has(input:checked) strong {
  text-decoration: line-through;
  opacity: 0.65;
}
.next-festivals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}
.next-festivals li {
  padding: 19px 12px;
  border-radius: 8px;
  background: #121b2bea;
  color: var(--pale);
  font-variant-numeric: tabular-nums;
}
.minigame-list {
  margin-top: 25px;
}
.minigame-list article {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #ffffff12;
}
.minigame-list article > div {
  flex: 1;
}
.minigame-list h3 {
  font-size: 17px;
  margin: 0;
}
.minigame-list p {
  font-size: 13px;
  margin: 7px 0;
  color: #d4d8e3;
}
.minigame-index {
  color: var(--accent);
  font-size: 23px;
}
.minigame-list a {
  font-size: 11px;
}
.reward-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.global-region-picker {
  font-size: 12px;
  margin-top: 10px;
  color: var(--pale);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.global-region-picker select {
  min-height: 44px;
  min-width: 135px;
  padding: 8px 12px;
  color: var(--pale);
  background: #141b2b;
  border: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--glow);
}
.global-region-picker select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .site-header nav {
    gap: 14px;
  }
  .site-header nav a {
    font-size: 11px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .hero-shade {
    background:
      radial-gradient(
        ellipse at 50% 56%,
        #050913df,
        #05091390 42%,
        transparent 80%
      ),
      linear-gradient(#080c1580, transparent 45%, #080c15df);
  }
  .timer-digits {
    height: 74px;
  }
  .digit-unit small,
  .timer-label,
  .ring-state,
  .clock-note {
    font-size: 11px;
  }
  .timer-label {
    white-space: normal;
    line-height: 1.4;
    margin-bottom: 5px;
  }
  .ring-state {
    letter-spacing: 0;
    gap: 4px;
    white-space: nowrap;
  }
  .primary-timer {
    inset: 27% 10% 23%;
  }
  .timer-context,
  .opening-time {
    font-size: 11px;
  }
  .next-rift-secondary {
    font-size: 11px;
    min-height: 18px;
  }
  .next-rift-chips {
    gap: 7px;
    margin-top: 6px;
  }
  .subpage-hero .rift-ring {
    width: 78vw;
    max-width: 330px;
  }
  .subpage-hero h1 {
    font-size: 26px;
  }
  .subpage-hero .next-activity {
    font-size: 14px;
  }
  .subpage-intro {
    font-size: 12px;
  }
  .subpage .hero-content {
    padding-top: 16px;
  }
  .boss-sections,
  .reset-page-counts,
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .boss-card,
  .reset-page-counts .panel,
  .checklist-grid .panel,
  .subpage-schedule {
    padding: 20px;
  }
  .next-festivals {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .next-festivals li {
    font-size: 12px;
    padding: 13px;
  }
  .minigame-list article {
    gap: 12px;
  }
  .minigame-list h3 {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }
  .subpage-intro {
    display: block;
    max-height: none;
  }
  .server-selector {
    padding: 3px;
  }
  .server-selector button {
    min-height: 33px;
    padding: 3px 9px;
  }
  .server-selector small {
    font-size: 8px;
  }
  .clock-note {
    margin-top: 6px;
    line-height: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faction-landscape {
    transition: none;
  }
  .rift-burst.burst::after {
    display: none;
  }
  .rift-burst.burst {
    animation: none;
  }
}

.schedule-reference summary {
  min-height: 44px;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.schedule-reference dt {
  font-weight: 700;
  margin-top: 20px;
}
.schedule-reference dd {
  margin: 0 0 16px;
}
.schedule-reference dd p {
  margin: 6px 0;
}
.schedule-reference details {
  margin: 8px 0;
}
.page-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
@media (max-width: 700px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    height: auto;
    padding-block: 12px 4px;
    row-gap: 4px;
  }
  .site-header .faction-switch {
    grid-column: 2;
    grid-row: 1;
  }
  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

.subtitle-mobile {
  display: none;
}
.invasion-schedule > .panel {
  margin-top: 16px;
  padding: 20px;
}
.invasion-schedule .rift-table {
  margin-top: 16px;
}
@media (max-width: 700px) {
  .subpage .page-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .subpage .page-meta .breadcrumb {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .subpage .page-meta .updated {
    display: block;
  }
  .subtitle-desktop {
    display: none;
  }
  .subtitle-mobile {
    display: inline;
  }
  .hero-subtitle {
    overflow: visible;
    max-height: none;
    -webkit-line-clamp: unset;
  }
  .subpage .page-meta .updated {
    font-size: 11px;
    letter-spacing: 0;
  }
}
