/* Ghost Circuit area: ghost-circuit.html (hub) and ghost-circuit-terminal.html (HELIX Terminal game).
   Neon-teal look from the channel thumbnails; Orbitron (SIL OFL, self-hosted) for titles. The terminal is always dark. */
@font-face { font-family: "Orbitron"; src: url("gc-orbitron.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
body.gc { --gc-teal: #2dd4bf; --gc-cyan: #6ed7ff; --gc-red: #ff5a6e; --gc-ink: #070b12; }
.gc-title { font-family: "Orbitron", var(--mono); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--heading); margin: 0; }
.gc-title-sm { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 6px 0 8px; text-shadow: 0 0 18px color-mix(in srgb, var(--gc-teal) 45%, transparent); }
.gc-h2 { font-family: "Orbitron", var(--mono); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 1.15rem; color: var(--gc-teal); margin: 34px 0 12px; }

.gc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }   /* the hero art already shows the title */
/* hero */
.gc-hero { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--gc-ink); }
.gc-hero img { display: block; width: 100%; height: auto; }
.gc-hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px 22px; background: linear-gradient(transparent, rgba(4, 8, 16, .88) 45%); }
.gc-hero .gc-title { font-size: clamp(2rem, 6vw, 4rem); color: #f2fbff; -webkit-text-stroke: 1px rgba(255, 255, 255, .25); text-shadow: 0 0 22px rgba(110, 215, 255, .55); }
.gc-kicker { margin: 0 0 4px; font: 700 .78rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gc-red); }
.gc-tag { margin: 6px 0 0; color: #d7e6f2; max-width: 46rem; }
@media (max-width: 640px) {
    .gc-hero-text { position: static; background: var(--gc-ink); padding: 16px 16px 18px; }
}

/* intro + cast */
.gc-intro { margin-top: 22px; }
.gc-cast { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.gc-who { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.gc-who img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--gc-teal); }
.gc-yao img { border-color: var(--gc-red); }
.gc-mo img { border-color: var(--gc-cyan); }
.gc-who span { font-size: .92rem; color: var(--text-muted); }
.gc-who b { color: var(--heading); }
@media (max-width: 640px) { .gc-cast { grid-template-columns: 1fr; } }

/* teaser Short: vertical 9:16 card */
.video.gc-short { max-width: 320px; }
.gc-short .video-link, .gc-short .video-frame { aspect-ratio: 9 / 16; }

/* episodes */
.gc-eps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gc-ep { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-left: 4px solid var(--gc-teal); border-radius: 14px; background: var(--surface); }
.gc-ep-no { font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gc-red); }
.gc-ep-name { font-family: "Orbitron", var(--mono); font-weight: 800; font-size: 1.1rem; color: var(--heading); }
.gc-ep-desc { color: var(--text-muted); font-size: .95rem; }
.gc-ep-learn { font-size: .9rem; }
.gc-soon { border-left-color: var(--border); opacity: .85; }

/* play card */
.gc-play { display: grid; gap: 8px; padding: 22px 24px; border-radius: 16px; text-decoration: none; color: #d7e6f2;
    background: radial-gradient(circle at 85% 20%, rgba(45, 212, 191, .22), transparent 55%), linear-gradient(135deg, #07121c, #0b1d2a);
    border: 1px solid rgba(45, 212, 191, .45); box-shadow: 0 0 0 0 rgba(45, 212, 191, .0); transition: box-shadow .2s, transform .2s; }
.gc-play:hover, .gc-play:focus-visible { box-shadow: 0 0 28px rgba(45, 212, 191, .28); transform: translateY(-2px); }
.gc-play-term { font: .95rem var(--mono); color: #5eead4; }
.gc-play-title { font-family: "Orbitron", var(--mono); font-weight: 900; font-size: 1.6rem; letter-spacing: .05em; color: #f2fbff; text-transform: uppercase; }
.gc-play-desc { max-width: 44rem; }
.gc-play-btn { justify-self: start; margin-top: 4px; padding: 9px 16px; border-radius: 999px; background: #2dd4bf; color: #04161a; font-weight: 800; }
.gc-caret { display: inline-block; width: .6em; height: 1em; vertical-align: text-bottom; background: #5eead4; animation: gc-blink 1s steps(1) infinite; }
@keyframes gc-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gc-caret { animation: none; } .gc-play:hover { transform: none; } }
.gc-note { margin-top: 26px; font-size: .9rem; color: var(--text-muted); border-left: 3px solid var(--gc-teal); padding-left: 12px; }
.gc-sub { color: var(--text-muted); }
.gc-sub kbd { font: 600 .85rem var(--mono); padding: 1px 6px; border: 1px solid var(--border); border-radius: 5px; }

/* terminal game (always dark: it is a terminal) */
.gc-game { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; margin-top: 14px; }
.gc-term { display: flex; flex-direction: column; height: min(68vh, 620px); min-height: 380px; border-radius: 14px; overflow: hidden;
    background: #060a10; border: 1px solid rgba(45, 212, 191, .35); box-shadow: 0 0 30px rgba(45, 212, 191, .10); cursor: text; }
.gc-term-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #0d1520; border-bottom: 1px solid #1c2a3a; font: .78rem var(--mono); color: #7d8ea6; }
.gc-term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.gc-term-bar i:nth-child(2) { background: #febc2e; }
.gc-term-bar i:nth-child(3) { background: #28c840; }
.gc-term-bar span { margin-left: 8px; }
.gc-out { flex: 1; overflow-y: auto; padding: 12px 14px 4px; font: .9rem/1.55 var(--mono); color: #cfe3f2; white-space: pre-wrap; overflow-wrap: anywhere; }
.gc-out .l { margin: 0 0 2px; }
.gc-out .l-cmd { color: #5eead4; margin-top: 8px; }
.gc-out .l-err { color: #ff8a8a; }
.gc-out .l-warn { color: #fbbf24; }
.gc-out .l-ok { color: #86efac; }
.gc-out .l-sys { color: #7d8ea6; }
.gc-out .l-helix { color: #ffb86b; }
.gc-out .l-ach { color: #f9e27d; font-weight: 700; }
.gc-out .l-title { margin: 10px 0; font-family: "Orbitron", var(--mono); font-weight: 900; letter-spacing: .06em; color: #f2fbff; text-shadow: 0 0 14px rgba(110, 215, 255, .7); }
.gc-out .who { display: inline-block; margin-right: 8px; padding: 0 7px; border-radius: 5px; font-weight: 700; font-size: .75rem; color: #071018; }
.gc-out .l-mo .who { background: #6ed7ff; }
.gc-out .l-yao .who { background: #ff5a6e; }
.gc-out .l-wen .who { background: #f9e27d; }
.gc-out .l-mo { color: #bfe9ff; }
.gc-out .l-yao { color: #ffd0d5; }
.gc-out .l-wen { color: #fff3c4; font-style: italic; }
.gc-in { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid #1c2a3a; background: #08111a; }
.gc-ps1 { font: .9rem var(--mono); color: #5eead4; white-space: nowrap; }
.gc-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #f2fbff; font: 1rem var(--mono); caret-color: #5eead4; }
.gc-side { padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); align-self: start; }
.gc-side h2 { margin: 0 0 8px; font: 800 .8rem "Orbitron", var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gc-teal); }
.gc-side h2 + * { margin-bottom: 16px; }
.gc-ach { list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--text-muted); }
.gc-ach li { padding: 4px 0; border-bottom: 1px solid var(--border); opacity: .55; }
.gc-ach li.got { opacity: 1; }
.gc-ach li.got b { color: #e0b100; }
.gc-keys { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-keys button { font: 600 .85rem var(--mono); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; }
.gc-keys button:hover { border-color: var(--gc-teal); }
.gc-side-note { font-size: .82rem; color: var(--text-muted); margin: 8px 0 0; }
@media (max-width: 860px) {
    .gc-game { grid-template-columns: 1fr; }
    .gc-term { height: 62vh; }
    .gc-out { font-size: .82rem; }
    .gc-ps1 { font-size: .8rem; }
}
