/* Operator sites. Harbourline: deep teal + brass. Copy site (body.mirror): loud purple + yellow. */
body.casino {
  --c-bg: #f3f5f4; --c-surface: #ffffff; --c-line: #d9e1de; --c-text: #10201d; --c-muted: #5a6d69;
  --c-head: #0d3b36; --c-head-ink: #f4efe2; --c-brand: #c9a24a; --c-banner: linear-gradient(120deg, #0d3b36 0%, #145a52 55%, #1f7a6e 100%);
  background: var(--c-bg); color: var(--c-text);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.casino { --c-bg: #08110f; --c-surface: #0f1d1a; --c-line: #1f332f; --c-text: #e8efe9; --c-muted: #8fa8a1; --c-head: #071a17; }
  :root:not([data-theme="light"]) body.mirror { --c-bg: #130a1f; --c-surface: #1e1030; --c-line: #3a2257; --c-text: #f6eefe; --c-muted: #b9a3d4; --c-head: #2a0e4a; }
}
:root[data-theme="dark"] body.casino { --c-bg: #08110f; --c-surface: #0f1d1a; --c-line: #1f332f; --c-text: #e8efe9; --c-muted: #8fa8a1; --c-head: #071a17; }
:root[data-theme="dark"] body.mirror { --c-bg: #130a1f; --c-surface: #1e1030; --c-line: #3a2257; --c-text: #f6eefe; --c-muted: #b9a3d4; --c-head: #2a0e4a; }
body.mirror {
  --c-bg: #f7f0ff; --c-surface: #ffffff; --c-line: #e3d3f7; --c-text: #23103a; --c-muted: #6e5a88;
  --c-head: #4c1d95; --c-head-ink: #fff7d6; --c-brand: #facc15; --c-banner: linear-gradient(120deg, #6d28d9 0%, #c026d3 60%, #f59e0b 100%);
}

.site { background: var(--c-head); color: var(--c-head-ink); }
.site-in { max-width: 1180px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 6px; color: inherit; text-decoration: none; }
.brand .mark { width: 22px; height: 22px; border-radius: 50%; background: var(--c-brand); align-self: center; box-shadow: inset 0 0 0 5px var(--c-head), 0 0 0 2px var(--c-brand); }
.brand .name { font: 700 22px/1 Georgia, "Times New Roman", serif; letter-spacing: .01em; }
.brand .sub { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--c-brand); }
body.mirror .brand .name { font: 900 24px/1 Impact, "Arial Black", sans-serif; letter-spacing: .02em; }
body.mirror .brand .sub { background: var(--c-brand); color: #3b0764; padding: 1px 6px; border-radius: 4px; letter-spacing: .1em; font-weight: 800; }
.tabs { display: flex; gap: 4px; }
.tabs a, .tabs span { color: inherit; text-decoration: none; padding: 6px 12px; border-radius: 8px; opacity: .65; font-size: 14px; }
.tabs a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, .1); }
.me { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.me .bal { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.me .player { font-weight: 600; font-family: ui-monospace, Menlo, monospace; }
.btn.ghost { background: transparent; color: inherit; border-color: rgba(255, 255, 255, .3); }
@media (max-width: 720px) { .tabs { display: none; } .me .bal { display: none; } .site-in { gap: 10px; } }

.site-main { max-width: 1180px; margin: 0 auto; padding: 20px 16px 48px; }
.banner { background: var(--c-banner); color: #fff; border-radius: 16px; padding: 32px 28px; margin-bottom: 26px; }
.banner .kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.banner h1 { font-size: clamp(24px, 3.4vw, 36px); margin: 6px 0; }
.banner p { margin: 0; opacity: .9; }
.row-title { font-size: 17px; margin: 6px 0 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-bottom: 26px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; border-radius: 14px; padding: 12px; color: #fff; text-decoration: none; overflow: hidden; transition: transform .15s ease; }
a.tile:hover { transform: translateY(-2px); }
.tile .art { position: absolute; top: 10px; right: 12px; font-size: 42px; }
.tile b { font-size: 16px; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.tile small { color: rgba(255, 255, 255, .8); }
.t-lanterns { background: linear-gradient(150deg, #7f1d1d, #dc2626 60%, #f59e0b); }
.t-tides { background: linear-gradient(150deg, #0c4a6e, #0891b2 60%, #fbbf24); }
.t-a { background: linear-gradient(150deg, #831843, #db2777); } .t-b { background: linear-gradient(150deg, #14532d, #16a34a); }
.t-c { background: linear-gradient(150deg, #312e81, #6366f1); } .t-d { background: linear-gradient(150deg, #134e4a, #0d9488); }
.muted-tiles .tile { opacity: .45; }
.fine { color: var(--c-muted); font-size: 12.5px; }

.playbar { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.playbar .back { color: var(--c-text); text-decoration: none; font-weight: 600; }
.playbar small { color: var(--c-muted); }
.frame { background: #000; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; max-height: calc(100vh - 210px); width: 100%; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 720px) { .frame { aspect-ratio: auto; height: 72vh; max-height: none; } }
.presenter { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--c-muted); border: 1px dashed var(--c-line); border-radius: 10px; padding: 8px 12px; background: var(--c-surface); }
.presenter .lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #0c266f; padding: 2px 7px; border-radius: 5px; }
.presenter a { margin-left: auto; }
