:root {
  color-scheme: dark;
  --page: #0b111c;
  --panel: #121c2c;
  --panel-soft: #172338;
  --panel-hover: #1d2b42;
  --line: rgba(195, 211, 234, .11);
  --text: #edf2fb;
  --muted: #9aa8bd;
  --gold: #e8bd75;
  --gold-bright: #f5d69c;
  --blue: #8caee9;
  --green: #70d1ae;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 68% 0, rgba(66, 88, 125, .13), transparent 35rem),
    var(--page);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }

.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;
}

.topbar {
  height: 72px;
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 max(26px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(11, 17, 28, .92);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 215px; }
.brand-mark { width: 34px; height: 38px; color: var(--gold); }
.brand-mark svg { width: 100%; height: 100%; }
.brand strong, .brand small { display: block; letter-spacing: .12em; }
.brand strong { font: 700 16px "Space Grotesk", sans-serif; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; }

.search-box {
  width: min(460px, 42vw);
  height: 39px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #101927;
  color: var(--muted);
}

.search-box > span { font-size: 23px; line-height: 1; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.search-box input::placeholder { color: #78889f; }
.top-link { margin-left: auto; color: var(--gold-bright); font-size: 13px; font-weight: 700; }

.page-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 24px 26px 70px;
}

.left-rail {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 3px;
}

.rail-label, .eyebrow, .card-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
}

.rail-label { padding: 4px 12px 7px; color: #76869d; }
.rail-link { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 8px; color: #b7c2d2; font-size: 13px; transition: .18s ease; }
.rail-link > span { width: 19px; color: #92a4bc; font-size: 17px; text-align: center; }
.rail-link:hover, .rail-link.active { background: var(--panel); color: var(--text); }
.rail-link.active { box-shadow: inset 2px 0 var(--gold); }
.rail-link.active > span { color: var(--gold); }

.rail-note { display: flex; gap: 10px; margin: 20px 8px 11px; padding: 12px 10px; border-top: 1px solid var(--line); color: var(--muted); }
.rail-note p { margin: 0; font-size: 11px; line-height: 1.55; }
.note-icon { flex: 0 0 17px; width: 17px; height: 17px; border: 1px solid #6c7d95; border-radius: 50%; color: #9aa8bd; font: 600 11px/16px "Space Grotesk", sans-serif; text-align: center; }
.rail-external { padding: 7px 12px; color: #9daec4; font-size: 11px; }
.rail-external:hover { color: var(--gold-bright); }

main { min-width: 0; }
.hero {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border: 1px solid rgba(208, 185, 140, .22);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 73% 50%, rgba(196, 146, 81, .25), transparent 35%),
    linear-gradient(115deg, #1a2636 0%, #111a29 53%, #172338 100%);
  box-shadow: 0 18px 70px rgba(0, 0, 0, .18);
}

.hero::before, .hero::after { position: absolute; content: ""; pointer-events: none; }
.hero::before { inset: 0; background: linear-gradient(90deg, rgba(12, 19, 30, .65), transparent 75%); }
.hero::after { width: 50%; height: 1px; right: 0; bottom: 43px; background: linear-gradient(90deg, transparent, rgba(232, 189, 117, .55), transparent); }
.hero-content { position: relative; z-index: 2; align-self: center; padding: 42px 10px 42px 42px; }
.hero h1 { margin: 13px 0 11px; font: 600 clamp(34px, 4vw, 52px)/1.02 "Space Grotesk", sans-serif; letter-spacing: -.05em; }
.hero h1 em { color: var(--gold-bright); font-style: normal; }
.hero-copy { max-width: 410px; margin: 0; color: #b0bdcf; font-size: 13px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 700; transition: .18s ease; cursor: pointer; }
.button-gold { color: #1b1b1a; background: linear-gradient(120deg, #f1d29a, #d6a858); box-shadow: 0 6px 20px rgba(191, 142, 69, .16); }
.button-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button-ghost { border-color: rgba(228, 236, 248, .2); color: var(--text); background: rgba(17, 27, 42, .42); }
.button-ghost:hover { border-color: rgba(232, 189, 117, .6); }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; }

.hero-art { position: relative; min-height: 330px; overflow: hidden; color: #e6bf7b; }
.hero-art::before { position: absolute; content: ""; inset: 20px 0 14px; opacity: .32; background: repeating-linear-gradient(130deg, transparent 0 28px, rgba(223, 190, 133, .12) 29px, transparent 30px 64px); mask-image: radial-gradient(ellipse at center, #000 0, transparent 69%); }
.hero-orbit { position: absolute; display: block; border: 1px solid rgba(229, 188, 118, .22); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 310px; height: 145px; top: 89px; left: 21%; }
.orbit-two { width: 360px; height: 185px; top: 70px; left: 12%; transform: rotate(38deg); }
.hero-sigil { position: absolute; top: 52%; left: 54%; width: 150px; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 30px rgba(233, 190, 117, .2)); }
.hero-sigil svg { width: 100%; overflow: visible; }
.art-caption { position: absolute; right: 20px; bottom: 20px; color: #c4cbd5; font-size: 8px; letter-spacing: .12em; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.story-strip { min-height: 92px; display: flex; align-items: center; gap: 17px; margin-top: 17px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(100deg, #131e2d, #111a28); }
.story-add { display: flex; flex: 0 0 205px; align-items: center; gap: 11px; color: var(--text); font-size: 11px; font-weight: 600; line-height: 1.4; }
.story-plus { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(232, 189, 117, .55); border-radius: 50%; color: var(--gold-bright); font-size: 27px; font-weight: 400; background: radial-gradient(circle, rgba(232, 189, 117, .13), rgba(232, 189, 117, .02)); }
.story-intro { display: flex; flex-direction: column; gap: 4px; }
.story-intro strong { font: 600 14px "Space Grotesk", sans-serif; }
.story-intro > span:last-child { color: var(--muted); font-size: 11px; }
.story-cta { margin-left: auto; color: var(--gold-bright); font-size: 11px; font-weight: 600; white-space: nowrap; }
.story-cta span { padding-left: 5px; }

.video-gallery { margin-top: 27px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(120deg, #121d2c, #101927); }
.channel-link { color: var(--gold-bright); font-size: 10px; font-weight: 600; white-space: nowrap; }
.channel-link span { padding-left: 4px; }
.video-filters { display: flex; gap: 5px; margin: 0 0 13px; }
.video-filter { padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; color: #a5b2c4; background: #101927; font-size: 9px; cursor: pointer; }
.video-filter:hover, .video-filter.selected { border-color: rgba(232, 189, 117, .4); color: var(--gold-bright); background: rgba(232, 189, 117, .08); }
.video-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.video-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #0c1421; transition: .18s ease; }
.video-card:hover { border-color: rgba(232, 189, 117, .42); transform: translateY(-2px); }
.video-thumb-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1d2b42, #101927); }
.video-thumb { display: block; width: 100%; height: 100%; object-fit: contain; }
.video-thumb-fallback { display: grid; position: absolute; inset: 0; place-items: center; color: #c9aa74; font: 600 12px "Space Grotesk", sans-serif; letter-spacing: .12em; }
.video-play { display: grid; position: absolute; right: 9px; bottom: 8px; width: 29px; height: 22px; place-items: center; border-radius: 5px; color: #17191d; background: rgba(245, 214, 156, .94); font-size: 11px; }
.video-info { padding: 10px; }
.video-category { display: inline-block; margin-bottom: 6px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.video-title { display: -webkit-box; min-height: 34px; overflow: hidden; color: #e4eaf3; font: 600 10px/1.5 "Space Grotesk", sans-serif; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.video-meta { display: flex; justify-content: space-between; gap: 5px; margin-top: 7px; color: #8898ae; font-size: 8px; }
.gallery-status { margin: 11px 0 0; color: #8190a5; font-size: 9px; }
.gallery-status[data-state="error"] { color: #ff9a9a; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; margin-top: 27px; }
.main-column, .right-column { min-width: 0; }
.section-block { margin-bottom: 29px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.section-heading h2, .publish-heading h2 { margin: 5px 0 0; font: 600 21px "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.section-count { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: #97a6bb; font-size: 8px; letter-spacing: .13em; }

.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.guide-card { min-height: 205px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); transition: .18s ease; }
.guide-card:hover { border-color: rgba(232, 189, 117, .35); background: #152135; transform: translateY(-2px); }
.guide-feature { background: linear-gradient(145deg, rgba(47, 57, 69, .9), rgba(18, 28, 44, .98)); }
.guide-symbol { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 14px; border: 1px solid rgba(232, 189, 117, .26); border-radius: 9px; color: var(--gold-bright); background: rgba(232, 189, 117, .08); font: 600 10px "Space Grotesk", sans-serif; }
.symbol-pvp { color: var(--blue); border-color: rgba(140, 174, 233, .26); background: rgba(140, 174, 233, .08); }
.symbol-build { color: var(--green); border-color: rgba(112, 209, 174, .26); background: rgba(112, 209, 174, .08); font-size: 18px; }
.symbol-start { color: #bdadf5; border-color: rgba(189, 173, 245, .26); background: rgba(189, 173, 245, .08); }
.card-kicker { color: #8798ae; font-size: 8px; }
.guide-card h3 { margin: 5px 0 7px; font: 600 15px "Space Grotesk", sans-serif; }
.guide-card > p:not(.card-kicker) { min-height: 49px; margin: 0; color: #aab6c6; font-size: 11px; line-height: 1.55; }
.guide-card > a { display: inline-flex; gap: 6px; margin-top: 12px; color: var(--gold-bright); font-size: 10px; font-weight: 600; }

.feed-section { padding-top: 3px; }
.feed-tabs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #101927; }
.filter-button { padding: 6px 9px; border: 0; border-radius: 5px; color: #9aa8bd; background: transparent; font-size: 10px; cursor: pointer; }
.filter-button:hover, .filter-button.selected { color: var(--gold-bright); background: #263248; }
.feed-list { display: grid; gap: 12px; }
.empty-feed { padding: 30px 20px; border: 1px dashed rgba(177, 196, 219, .2); border-radius: 10px; background: rgba(18, 28, 44, .55); text-align: center; }
.empty-mark { display: grid; width: 40px; height: 40px; place-items: center; margin: 0 auto 10px; border: 1px solid rgba(232, 189, 117, .28); border-radius: 50%; color: var(--gold); }
.empty-feed h3 { margin: 0 0 7px; font: 600 15px "Space Grotesk", sans-serif; }
.empty-feed p { max-width: 410px; margin: 0 auto 16px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.post-head { display: flex; align-items: center; gap: 10px; padding: 13px 15px 9px; }
.post-avatar { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(232, 189, 117, .35); border-radius: 50%; color: var(--gold-bright); background: #263348; font: 600 12px "Space Grotesk", sans-serif; }
.post-meta { min-width: 0; }
.post-meta strong, .post-meta time { display: block; }
.post-meta strong { overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.post-meta time { margin-top: 3px; color: #8999af; font-size: 9px; }
.post-category { margin-left: auto; padding: 4px 7px; border-radius: 4px; color: var(--gold-bright); background: rgba(232, 189, 117, .1); font-size: 8px; letter-spacing: .1em; }
.post-caption { margin: 0; padding: 4px 15px 12px; color: #d3dae5; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.post-image { display: block; width: 100%; max-height: 550px; object-fit: contain; background: #09101b; }
.post-video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #080d15; }
.post-video.is-short { width: min(360px, 100%); aspect-ratio: 9 / 16; margin: 0 auto; }
.post-actions { display: flex; justify-content: space-between; padding: 10px 15px; border-top: 1px solid var(--line); color: #91a0b4; font-size: 9px; }
.post-actions a { color: var(--gold-bright); }
.no-results { padding: 18px; color: var(--muted); font-size: 12px; text-align: center; }

.right-column { display: flex; flex-direction: column; gap: 12px; }
.side-card { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(150deg, #152135, #111a28); }
.side-card h2 { margin: 7px 0 14px; font: 600 17px/1.2 "Space Grotesk", sans-serif; }
.quick-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.quick-link > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.quick-link strong { font-size: 11px; }
.quick-link small { color: var(--muted); font-size: 9px; }
.quick-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-gold { background: var(--gold); box-shadow: 0 0 9px rgba(232, 189, 117, .5); }
.dot-blue { background: var(--blue); box-shadow: 0 0 9px rgba(140, 174, 233, .45); }
.side-action { display: flex; justify-content: space-between; margin-top: 9px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--gold-bright); font-size: 10px; font-weight: 600; }
.media-card > p:not(.eyebrow), .update-card > p:not(.eyebrow) { margin: -5px 0 12px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.media-link { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid var(--line); }
.media-icon { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; border-radius: 7px; color: #ff9999; background: rgba(255, 104, 104, .11); font-size: 12px; }
.image-icon { color: var(--blue); background: rgba(140, 174, 233, .11); }
.media-link > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.media-link strong { font-size: 10px; }
.media-link small { color: var(--muted); font-size: 9px; }
.external-mark { margin-left: auto; color: #93a2b7; font-size: 11px; }
.rights-note { margin: 8px 0 0 !important; color: #8291a7 !important; font-size: 9px !important; }
.site-footer { display: flex; flex-direction: column; gap: 6px; padding: 11px 5px; color: #7f8da2; font-size: 9px; line-height: 1.4; }
.site-footer a { color: #aebbd0; }

.publish-panel { margin-top: 7px; padding: 20px; border: 1px solid rgba(232, 189, 117, .22); border-radius: 11px; background: linear-gradient(145deg, rgba(29, 39, 55, .88), rgba(16, 25, 39, .96)); }
.publish-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.public-badge { padding: 5px 8px; border: 1px solid rgba(232, 189, 117, .3); border-radius: 4px; color: var(--gold-bright); font-size: 8px; letter-spacing: .13em; }
.publish-warning { margin: 12px 0 18px; padding: 9px 11px; border-left: 2px solid #d5a85f; color: #c5bda9; background: rgba(213, 168, 95, .07); font-size: 10px; line-height: 1.5; }
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; }
.field-label { color: #dce3ed; font-size: 10px; font-weight: 600; }
.field-label span { color: #8e9db2; font-weight: 400; }
.form-row input, .form-row textarea { width: 100%; border: 1px solid rgba(195, 211, 234, .15); border-radius: 7px; outline: 0; color: var(--text); background: #0e1725; font-size: 11px; }
.form-row input { min-height: 37px; padding: 0 11px; }
.form-row textarea { min-height: 78px; padding: 10px 11px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: rgba(232, 189, 117, .65); }
.form-row select, .admin-card select { min-height: 36px; padding: 0 10px; border: 1px solid rgba(195, 211, 234, .15); border-radius: 7px; color: var(--text); background: #0e1725; font-size: 10px; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #6f8097; }
.upload-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; align-items: stretch; margin-bottom: 11px; }
.upload-option { display: flex; min-height: 102px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px; border: 1px dashed rgba(195, 211, 234, .24); border-radius: 8px; color: #dbe2ec; background: rgba(11, 17, 28, .35); text-align: center; cursor: pointer; }
.upload-option:hover { border-color: rgba(232, 189, 117, .55); }
.upload-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.upload-icon { color: var(--gold); font-size: 20px; }
.upload-option strong { font-size: 10px; }
.upload-option > span:last-of-type { color: var(--muted); font-size: 8px; }
.video-field { justify-content: center; margin: 0; }
.field-help { color: #8d9bb0; font-size: 9px; line-height: 1.4; }
.image-preview { margin: 0 0 12px; }
.image-preview img { display: block; max-width: 100%; max-height: 220px; border-radius: 7px; object-fit: contain; }
.image-preview span { display: block; margin-top: 5px; color: #a7b3c5; font-size: 9px; }
.consent-row { display: flex; align-items: flex-start; gap: 8px; color: #aeb9ca; font-size: 9px; line-height: 1.5; }
.consent-row input { flex: 0 0 auto; margin: 1px 0 0; accent-color: #dbb26e; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-status { margin: 0; color: #94a3b8; font-size: 9px; line-height: 1.5; }
.form-status[data-state="error"] { color: #ff9a9a; }
.form-status[data-state="success"] { color: var(--green); }

.admin-card summary { color: #e5ebf5; font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.admin-card summary::-webkit-details-marker { display: none; }
.admin-card summary::after { float: right; color: var(--gold); content: "+"; font-size: 15px; line-height: 12px; }
.admin-card[open] summary::after { content: "-"; }
.admin-content { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.admin-hint { margin: 0 0 12px; color: #96a4b8; font-size: 9px; line-height: 1.5; }
.admin-login-button { width: 100%; min-height: 34px; font-size: 10px; }
.admin-session { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--green); font-size: 10px; }
.text-button { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: #b6c1d1; background: transparent; font-size: 9px; cursor: pointer; }
.admin-content h3 { margin: 16px 0 8px; color: #dce4ef; font: 600 11px "Space Grotesk", sans-serif; }
.admin-content input, .admin-content textarea { width: 100%; min-height: 34px; margin: 0 0 8px; padding: 8px; border: 1px solid rgba(195, 211, 234, .15); border-radius: 6px; color: var(--text); background: #0e1725; font: inherit; font-size: 10px; }
.admin-content textarea { min-height: 58px; resize: vertical; }
.admin-content .field-label { display: block; margin: 8px 0 5px; }
.admin-content form { display: flex; flex-direction: column; }
.featured-video-tools { display: flex; flex-direction: column; gap: 9px; }
.admin-video-row { padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: rgba(9, 15, 24, .45); }
.admin-video-row strong { display: block; margin-bottom: 5px; color: #dce4ef; font-size: 9px; line-height: 1.4; }
.admin-video-row .admin-video-actions { display: flex; gap: 5px; }
.admin-video-row .text-button { flex: 1; }
.admin-post-controls { display: grid; gap: 7px; padding: 11px 15px; border-top: 1px solid rgba(232, 189, 117, .18); background: rgba(232, 189, 117, .04); }
.admin-post-controls .admin-video-edit { display: flex; gap: 6px; }
.admin-post-controls input { min-width: 0; flex: 1; padding: 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: #0e1725; font-size: 9px; }
.admin-post-controls button { padding: 6px 8px; border: 1px solid var(--line); border-radius: 5px; color: #d9e1ec; background: #1b2940; font-size: 9px; cursor: pointer; }
.admin-post-controls button:hover { border-color: rgba(232, 189, 117, .5); color: var(--gold-bright); }
.post-card.is-hidden { opacity: .76; border-color: rgba(255, 154, 154, .35); }
.post-card.is-hidden .post-category { color: #ffaaaa; background: rgba(255, 154, 154, .1); }
.video-admin-controls { display: grid; gap: 6px; padding: 8px; border-top: 1px solid var(--line); }
.video-admin-controls input, .video-admin-controls select { width: 100%; min-width: 0; padding: 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: #0e1725; font-size: 9px; }
.video-admin-controls button { padding: 6px; border: 1px solid var(--line); border-radius: 5px; color: #d9e1ec; background: #1b2940; font-size: 9px; cursor: pointer; }

@media (max-width: 1100px) {
  .page-shell { grid-template-columns: 175px minmax(0, 1fr); gap: 18px; padding-right: 18px; padding-left: 18px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 225px; gap: 14px; }
  .hero-content { padding-left: 29px; }
}

@media (max-width: 850px) {
  .page-shell { display: block; padding: 16px 16px 50px; }
  .left-rail { position: static; flex-direction: row; overflow-x: auto; gap: 5px; padding: 0 0 13px; }
  .rail-label, .rail-note, .rail-external { display: none; }
  .rail-link { flex: 0 0 auto; min-height: 36px; padding: 0 10px; font-size: 11px; }
  .rail-link > span { width: auto; font-size: 14px; }
  .hero { min-height: 290px; }
  .hero-art { min-height: 290px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 235px; }
  .video-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .topbar { height: 62px; gap: 12px; padding: 0 14px; }
  .brand { min-width: auto; }
  .brand-mark { width: 29px; height: 32px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 7px; }
  .search-box { width: auto; flex: 1; height: 35px; }
  .search-box input { min-width: 0; font-size: 10px; }
  .search-box input::placeholder { color: transparent; }
  .top-link { display: none; }
  .page-shell { padding: 12px 12px 40px; }
  .hero { min-height: 325px; grid-template-columns: 1fr; }
  .hero-content { align-self: start; padding: 30px 22px 10px; }
  .hero h1 { font-size: 39px; }
  .hero-copy { max-width: 320px; }
  .hero-art { position: absolute; right: 0; bottom: 0; width: 60%; min-height: 175px; opacity: .72; }
  .hero-sigil { top: 45%; left: 58%; width: 105px; }
  .orbit-one { width: 210px; height: 100px; top: 33px; left: 6%; }
  .orbit-two { width: 230px; height: 122px; top: 18px; left: 0; }
  .art-caption { right: 12px; bottom: 10px; font-size: 7px; }
  .story-strip { gap: 10px; padding: 11px; }
  .story-add { flex-basis: 110px; gap: 7px; font-size: 9px; }
  .story-plus { width: 38px; height: 38px; font-size: 22px; }
  .story-intro > span:last-child { max-width: 150px; font-size: 9px; }
  .story-intro strong { font-size: 11px; }
  .story-cta { display: none; }
  .content-grid { display: flex; flex-direction: column; }
  .video-gallery { padding: 13px; }
  .video-gallery-grid { gap: 7px; }
  .video-info { padding: 8px; }
  .video-title { font-size: 9px; }
  .right-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .guide-grid { grid-template-columns: 1fr; }
  .video-gallery-grid { grid-template-columns: 1fr; }
  .video-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); align-items: stretch; }
  .video-thumb-wrap { height: 100%; min-height: 100px; aspect-ratio: auto; }
  .video-info { display: flex; flex-direction: column; justify-content: center; }
  .video-title { min-height: 0; }
  .guide-card { min-height: 0; }
  .guide-card > p:not(.card-kicker) { min-height: 0; }
  .right-column { display: flex; }
  .upload-grid { grid-template-columns: 1fr; }
  .upload-option { min-height: 86px; }
  .submit-row { align-items: flex-start; flex-direction: column; }
  .submit-row .button { width: 100%; }
  .section-heading h2, .publish-heading h2 { font-size: 18px; }
  .section-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
