[hidden] { display: none !important; }
.stage[data-gf-state="loading"] [data-gf-cover],
.stage[data-gf-state="playing"] [data-gf-cover] { display: none !important; }

:root {
  --sky-top: #a8d4e6;
  --sky-bot: #dcedf5;
  --sea-top: #154066;
  --sea-mid: #0a1f36;
  --sea-deep: #040914;
  --panel: rgba(8, 19, 36, 0.9);
  --panel-solid: #09162a;
  --border-subtle: rgba(148, 163, 184, 0.24);
  --text: #e8f1ff;
  --muted: #8aa4c4;
  --cyan: #38bdf8;
  --coral: #fb7185;
  --font-px: "Silkscreen", "VT323", ui-monospace, monospace;
  --font-vt: "VT323", ui-monospace, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  background-color: var(--sea-deep);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' shape-rendering='crispEdges'%3E%3Cg fill='%23ffffff' opacity='0.88'%3E%3Crect x='70' y='36' width='72' height='16'/%3E%3Crect x='90' y='22' width='36' height='14'/%3E%3Crect x='54' y='52' width='104' height='14'/%3E%3Crect x='590' y='24' width='180' height='22'/%3E%3Crect x='628' y='8' width='104' height='16'/%3E%3Crect x='550' y='46' width='256' height='18'/%3E%3Crect x='1190' y='54' width='140' height='18'/%3E%3Crect x='1225' y='40' width='76' height='14'/%3E%3Crect x='1160' y='72' width='190' height='14'/%3E%3C/g%3E%3Cg transform='translate(285,152)'%3E%3Crect x='54' y='0' width='6' height='46' fill='%230d1d30'/%3E%3Crect x='28' y='4' width='26' height='16' fill='%23fb7185'/%3E%3Crect x='34' y='28' width='26' height='18' fill='%230d1d30'/%3E%3Crect x='40' y='32' width='12' height='10' fill='%2393c5fd'/%3E%3Crect x='0' y='46' width='96' height='14' fill='%230d1d30'/%3E%3Crect x='8' y='60' width='76' height='8' fill='%230d1d30'/%3E%3C/g%3E%3Cg transform='translate(1060,266)' fill='%23ef4444'%3E%3Crect x='0' y='4' width='10' height='6'/%3E%3Crect x='10' y='0' width='8' height='6'/%3E%3Crect x='-4' y='10' width='6' height='4'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg,
      var(--sky-top) 0px,
      var(--sky-bot) 216px,
      #7ec4cf 218px,
      var(--sea-top) 220px,
      var(--sea-mid) 440px,
      var(--sea-deep) 820px
    );
  background-repeat: no-repeat, no-repeat;
  background-position: top center, top left;
  background-size: 1440px 320px, 100% 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
}
body > * { position: relative; z-index: 1; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: transparent;
  position: relative;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d2b45;
  font-family: var(--font-px);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; color: #061829; }
.brand-mark {
  width: 18px;
  height: 18px;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.site-nav {
  display: flex;
  gap: 20px;
  font-family: var(--font-px);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-nav a { color: #164063; transition: color 0.15s; }
.site-nav a:hover { color: #051626; text-decoration: none; }

/* Centered Krillion Sky Title Block */
.hero-stage { padding: 10px 0 36px; }
.hero-top {
  text-align: center;
  min-height: 162px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 18px;
}
.hero-top h1 {
  margin: 0 0 8px;
  font-family: var(--font-px);
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    -3px 2px 0 #fb7185,
    3px -2px 0 #38bdf8,
    0 2px 10px rgba(13, 43, 69, 0.25);
}
.hero-sub {
  margin: 0;
  font-family: var(--font-vt);
  color: #164e78;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Player Wrapper in Deep Water */
.player-stage-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.stage-arrow {
  flex: 0 0 38px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 18, 36, 0.8);
  color: var(--muted);
  font-family: var(--font-px);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.stage-arrow:hover {
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

/* Player Card & Stage */
.player-card {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--panel-solid);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.14), 0 24px 56px rgba(0, 0, 0, 0.65);
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 450px;
  background: #030710;
}
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #030710;
}
.cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 20, 0.5);
  z-index: 1;
}
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Bright high-contrast Play button over semi-transparent dark mask */
.play-btn {
  position: relative;
  z-index: 2;
  border: 2px solid #e0f2fe;
  padding: 14px 46px;
  font-family: var(--font-px);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  background: var(--cyan);
  color: #040914;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.6), 4px 4px 0 rgba(4, 9, 20, 0.9);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.play-btn:hover {
  background: #7dd3fc;
  box-shadow: 0 0 38px rgba(125, 211, 252, 0.8), 6px 6px 0 rgba(4, 9, 20, 0.9);
  transform: translate(-1px, -1px);
}
.play-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.5), 2px 2px 0 rgba(4, 9, 20, 0.9);
}

.loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(3, 7, 16, 0.94);
  color: var(--cyan);
  font-family: var(--font-px);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stage[data-gf-state="loading"] .loader,
.loader.is-visible { display: flex; }
.sonar-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(56, 189, 248, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Action Bar */
.action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(4, 10, 20, 0.92);
  border-top: 1px solid var(--border-subtle);
}
.action-left, .action-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.act-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-vt);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.act-btn:hover { border-color: var(--cyan); color: #fff; text-decoration: none; }
.act-btn-primary {
  border-color: rgba(56, 189, 248, 0.55);
  color: var(--cyan);
}
[data-gf-like][data-gf-liked], [data-gf-like][aria-pressed="true"] {
  border-color: var(--coral);
  color: var(--coral);
  background: rgba(251, 113, 133, 0.1);
}
.share-msg { font-family: var(--font-vt); font-size: 1rem; color: var(--cyan); }

/* Switcher Grid Below Player */
.switcher-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.switcher-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 19, 36, 0.8);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.switcher-btn:hover {
  border-color: rgba(56, 189, 248, 0.6);
  background: rgba(14, 29, 54, 0.9);
}
.switcher-btn.is-active {
  border: 1.5px solid var(--cyan);
  background: rgba(13, 30, 56, 0.96);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.22);
}
.sw-title {
  font-family: var(--font-px);
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
}
.switcher-btn.is-active .sw-title { color: var(--cyan); }
.sw-meta {
  font-family: var(--font-vt);
  font-size: 1rem;
  color: var(--muted);
}

/* Editorial Prose */
.editorial-section { padding: 8px 0 36px; }
.prose {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  padding: 36px 40px;
}
.prose h2 {
  margin-top: 2em;
  margin-bottom: 0.65em;
  font-family: var(--font-px);
  font-size: 1.15rem;
  color: #f8fafc;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-left: 3px solid var(--coral);
  padding-left: 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.45em;
  font-family: var(--font-px);
  font-size: 0.96rem;
  color: var(--cyan);
}
.prose p, .prose li { color: #cbd5e1; font-size: 0.98rem; }
.prose img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 18px auto;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}
.prose th, .prose td {
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  text-align: left;
}
.prose th {
  background: rgba(5, 13, 25, 0.92);
  color: var(--coral);
  font-family: var(--font-px);
  font-size: 0.78rem;
  text-transform: uppercase;
}

/* Comments */
.comments-section { padding: 0 0 48px; }
.comments-box {
  background: var(--panel);
  border: 1px solid var(--border-subtle);
  padding: 28px 36px;
}
.comments-head h2 {
  margin: 0 0 4px;
  font-family: var(--font-px);
  font-size: 1.08rem;
  text-transform: uppercase;
  color: #f8fafc;
}
.comments-hint { margin: 0 0 18px; color: var(--muted); font-size: 0.9rem; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.form-row { display: flex; gap: 10px; }
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(3, 7, 16, 0.85);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.submit-btn {
  padding: 10px 20px;
  border: 1px solid var(--cyan);
  background: rgba(56, 189, 248, 0.14);
  color: var(--cyan);
  font-family: var(--font-px);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.submit-btn:hover { background: rgba(56, 189, 248, 0.25); color: #fff; }
.comment-msg { margin: 0; font-size: 0.85rem; color: var(--cyan); }
.empty-comments { display: none; color: var(--muted); font-size: 0.92rem; }
[data-gf-comments][data-gf-empty] .empty-comments { display: block; }
.comment-item, .reply-item {
  border-top: 1px solid var(--border-subtle);
  padding: 14px 0;
}
.comment-replies { margin-left: 22px; padding-left: 14px; border-left: 1px solid var(--border-subtle); }
.comment-meta { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.comment-meta strong { color: #f8fafc; }
.owner-badge {
  display: none;
  border: 1px solid var(--coral);
  color: var(--coral);
  font-family: var(--font-px);
  font-size: 0.68rem;
  padding: 0 5px;
  text-transform: uppercase;
}
[data-gf-owner] .owner-badge { display: inline-block; }
.comment-text { margin: 6px 0 8px; color: #dbeafe; }
.reply-btn, .reply-cancel {
  background: transparent;
  border: 0;
  color: var(--cyan);
  font-family: var(--font-vt);
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}
.reply-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--cyan);
  font-size: 0.85rem;
}

/* Legal & Footer */
.legal-section { padding: 32px 0 56px; }
.legal-card h1 {
  margin-top: 0;
  font-family: var(--font-px);
  font-size: 1.45rem;
  color: #f8fafc;
}
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 7, 16, 0.92);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand strong { font-family: var(--font-px); font-size: 0.88rem; color: #f8fafc; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--font-vt); font-size: 1.05rem; }
.footer-links a { color: var(--muted); }

@media (max-width: 960px) {
  .switcher-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { padding: 0 12px; }
  .site-nav { gap: 12px; font-size: 0.7rem; }
  .hero-top { min-height: 145px; padding-bottom: 12px; }
  .stage-arrow { display: none; }
  .switcher-bar { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .switcher-btn { flex: 0 0 190px; }
  .stage { aspect-ratio: 4 / 5; min-height: 440px; }
  .prose, .comments-box { padding: 20px 16px; }
  .form-row { flex-direction: column; }
}