/* =====================================================================
   Dead Center Apps - Games Division theme  ("Games That Bite Back")
   Every text colour below is checked against the surface it sits on:
   body text >= 7:1, secondary text >= 4.5:1, large display text >= 3:1.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600;700&family=Metal+Mania&family=Nosifer&display=swap');

:root {
  --void: #09060a;          /* page */
  --crypt: #150d11;         /* cards */
  --crypt-2: #1f1318;       /* raised */
  --line: #3a2229;
  --bone: #f1ebe2;          /* body text   15.9:1 on void */
  --ash: #c4b8ad;           /* secondary   10.1:1 on void, 8.9:1 on crypt */
  --dim: #9c8f86;           /* tertiary     6.4:1 on void */
  --blood: #c1121f;         /* fills only (white text on it is 5.9:1) */
  --blood-hot: #ff3348;     /* accent text  5.6:1 on void */
  --ember: #ff8a2a;         /* accent text  8.4:1 on void */
  --gold: #ffcc4d;
  --toxic: #8cff6a;
  --steel: #aeb6c0;
  --display: 'Metal Mania', 'Pirata One', Georgia, serif;
  --scream: 'Nosifer', 'Metal Mania', Impact, sans-serif;
  --ui: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--void); color: var(--bone);
  font: 400 1.05rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #ffb070; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: 1.05; margin: 0 0 .5em; color: var(--bone); }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1rem; }
.kicker { font: 700 .95rem/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--ember); margin-bottom: .8rem; display: block; }
.lead { font-size: 1.2rem; color: var(--ash); max-width: 60ch; }
.muted { color: var(--ash); }
.blood { color: var(--blood-hot); }
.scream { font-family: var(--scream); font-weight: 400; color: var(--blood-hot); text-shadow: 0 4px 0 #3b0008, 0 0 28px rgba(255, 30, 50, .45); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--crypt-2); --fg: var(--bone); --bd: #5a3540;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 800 1.05rem/1 var(--ui); letter-spacing: .08em; text-transform: uppercase;
  padding: .95rem 1.5rem; border-radius: 10px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.btn:active { transform: translateY(1px); }
.btn-blood { --bg: linear-gradient(180deg, #e0142a, #8e0a16); --bd: #ff4b5e; --fg: #fff; box-shadow: 0 0 0 1px #3b0008, 0 8px 30px rgba(225, 20, 42, .35); }
.btn-blood:hover { box-shadow: 0 0 0 1px #3b0008, 0 12px 40px rgba(255, 40, 60, .55); }
.btn-ember { --bg: linear-gradient(180deg, #ff9a3c, #c2560c); --bd: #ffb46e; --fg: #1a0a02; }
.btn-ghost { --bg: transparent; --bd: #6b4450; }
.btn-sm { font-size: .9rem; padding: .6rem .95rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .ico { width: 1.15em; height: 1.15em; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 6, 10, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(193, 18, 31, .45);
}
.head-in { display: flex; align-items: center; gap: 1.2rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--bone); }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 0 8px rgba(255, 40, 60, .45)); }
.brand span { font: 400 1.35rem/1 var(--display); letter-spacing: .04em; }
.brand:hover { color: var(--bone); }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a { font: 700 1rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ash); text-decoration: none; padding: .7rem .8rem; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); background: var(--crypt-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blood-hot); }
.acct { display: flex; align-items: center; gap: .6rem; }
.menu-toggle { display: none; background: none; border: 2px solid var(--line); color: var(--bone); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; font-size: 1.3rem; }
.bell { position: relative; width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--line); background: var(--crypt); color: var(--bone); cursor: pointer; display: grid; place-items: center; }
.bell svg { width: 22px; height: 22px; }
.bell b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--blood); color: #fff; font: 800 .75rem/20px var(--ui); text-align: center; }
.avatar-btn { display: flex; align-items: center; gap: .5rem; background: var(--crypt); border: 2px solid var(--line); border-radius: 999px; padding: 3px 12px 3px 3px; color: var(--bone); cursor: pointer; font: 700 1rem/1 var(--ui); letter-spacing: .05em; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--crypt-2); border: 2px solid var(--blood); flex: none; display: grid; place-items: center; font: 800 1rem/1 var(--ui); color: var(--bone); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pop {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(360px, 92vw);
  background: var(--crypt); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem;
}
.pop a:not(.btn), .pop button.item { display: block; width: 100%; text-align: left; padding: .7rem .8rem; border-radius: 8px; color: var(--bone); text-decoration: none; font: 600 1rem/1.2 var(--body); background: none; border: 0; cursor: pointer; }
.pop a:not(.btn):hover, .pop button.item:hover { background: var(--crypt-2); color: var(--bone); }
.pop h4 { font: 700 .85rem/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ember); margin: .4rem .6rem .6rem; }
.relative { position: relative; }

/* ---------- notifications ---------- */
.note { display: flex; gap: .7rem; padding: .65rem; border-radius: 10px; align-items: flex-start; }
.note + .note { border-top: 1px solid var(--line); border-radius: 0; }
.note.unread { background: rgba(193, 18, 31, .12); }
.note .avatar { width: 38px; height: 38px; }
.note p { margin: 0 0 .35rem; color: var(--bone); font-size: .98rem; line-height: 1.35; }
.note small { color: var(--dim); font-size: .85rem; }
.note .actions { display: flex; gap: .4rem; margin-top: .3rem; }
.empty { color: var(--ash); padding: .8rem; text-align: center; }

.toast-stack { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: grid; gap: .6rem; width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--crypt); border: 1px solid var(--blood); border-left: 5px solid var(--blood-hot); border-radius: 12px; padding: .85rem 1rem; box-shadow: var(--shadow); color: var(--bone); animation: toastIn .3s ease-out; }
.toast strong { display: block; font: 800 1.05rem/1.2 var(--ui); letter-spacing: .04em; }
.toast .row { display: flex; gap: .5rem; margin-top: .6rem; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(88vh, 860px); display: grid; align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: #050304 center/cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 55% at 50% 42%, rgba(9, 6, 10, .15), rgba(9, 6, 10, .82) 70%),
  linear-gradient(180deg, rgba(9, 6, 10, .55), rgba(9, 6, 10, .1) 30%, rgba(9, 6, 10, .95) 92%); }
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-in { text-align: center; padding: 6rem 0 4rem; }
.hero-shield { width: clamp(120px, 18vw, 190px); margin: 0 auto 1rem; filter: drop-shadow(0 0 30px rgba(255, 30, 50, .55)) drop-shadow(0 12px 20px rgba(0, 0, 0, .8)); animation: throb 3.2s ease-in-out infinite; }
@keyframes throb { 50% { transform: scale(1.04); filter: drop-shadow(0 0 45px rgba(255, 30, 50, .8)) drop-shadow(0 12px 20px rgba(0, 0, 0, .8)); } }
.hero .title { font-family: var(--display); font-size: clamp(2.8rem, 8vw, 6rem); line-height: .95; margin: 0 0 .3rem; text-shadow: 0 4px 0 #000, 0 0 30px rgba(0, 0, 0, .9); }
.hero .slogan { font-size: clamp(1.5rem, 4.6vw, 3.1rem); line-height: 1.2; margin: .4rem 0 1.4rem; }
.hero .lead { margin: 0 auto 2rem; color: var(--bone); text-shadow: 0 2px 10px #000; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.hero-note { margin-top: 1.3rem; color: var(--ash); font-size: .95rem; }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section.alt { background: linear-gradient(180deg, #0e080b, #120a0e); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.drip-line { height: 18px; background:
  radial-gradient(circle at 10px 0, var(--blood) 9px, transparent 10px) 0 0/40px 18px repeat-x;
  opacity: .9; }

/* ---------- game cards ---------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.game-card {
  position: relative; display: flex; flex-direction: column; background: var(--crypt); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-6px); border-color: #7a2230; box-shadow: 0 26px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(193, 18, 31, .25); }
.game-card .art { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #000; }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game-card:hover .art img { transform: scale(1.06); }
.game-card .art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, var(--crypt)); }
.badge { position: absolute; z-index: 2; top: 14px; left: 14px; font: 800 .8rem/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; padding: .5rem .7rem; border-radius: 6px; }
.badge-new { background: var(--blood); color: #fff; box-shadow: 0 0 20px rgba(255, 40, 60, .6); }
.badge-live { background: #1d3a12; color: var(--toxic); border: 1px solid #3f7a25; }
.badge-soon { background: #3a2a05; color: var(--gold); border: 1px solid #7a5a12; }
.game-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.game-card h3 { margin: 0; }
.game-card p { color: var(--ash); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 .3rem; }
.tags span { font: 700 .8rem/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--bone); background: var(--crypt-2); border: 1px solid var(--line); padding: .45rem .55rem; border-radius: 6px; }
.game-card .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .6rem; }

/* feature spotlight (cow culling) */
.spotlight { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.spotlight .frame { border-radius: 18px; overflow: hidden; border: 1px solid #5a1a24; box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(193, 18, 31, .2); }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--bone); }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff6a78, var(--blood) 60%); box-shadow: 0 0 10px rgba(255, 40, 60, .6); }
.checks b { color: var(--ember); font-weight: 700; }

/* stat strip */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 2rem; }
.stat { background: var(--crypt); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.stat b { display: block; font: 400 2rem/1 var(--display); color: var(--ember); }
.stat span { color: var(--ash); font-size: .95rem; }

/* ---------- panels, forms, tables ---------- */
.panel { background: var(--crypt); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
label.field { display: grid; gap: .45rem; font: 700 .95rem/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ash); margin-bottom: 1rem; }
input, textarea, select {
  font: 500 1.05rem/1.4 var(--body); color: var(--bone); background: #0d080a; border: 2px solid var(--line);
  border-radius: 10px; padding: .8rem .9rem; width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, textarea:focus, select:focus { border-color: var(--blood-hot); outline: none; box-shadow: 0 0 0 3px rgba(255, 51, 72, .25); }
.form-msg { min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: var(--toxic); }
.form-msg.bad { color: #ff8a96; }

.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.tabs button { font: 800 .95rem/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; padding: .8rem 1.1rem; border-radius: 10px; border: 2px solid var(--line); background: var(--crypt); color: var(--ash); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--blood); border-color: #ff4b5e; color: #fff; }

.board { width: 100%; border-collapse: collapse; }
.board th { font: 800 .82rem/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ember); text-align: left; padding: .8rem .7rem; border-bottom: 2px solid var(--line); }
.board td { padding: .7rem; border-bottom: 1px solid #26171c; color: var(--bone); vertical-align: middle; }
.board td.num, .board th.num { text-align: right; font-variant-numeric: tabular-nums; }
.board tr.me td { background: rgba(193, 18, 31, .18); }
.board .who { display: flex; align-items: center; gap: .65rem; font-weight: 600; }
.rank { font: 400 1.4rem/1 var(--display); color: var(--ash); width: 3ch; }
.rank.r1 { color: var(--gold); } .rank.r2 { color: #dfe6ee; } .rank.r3 { color: #e3a06a; }
.table-wrap { overflow-x: auto; }

.friend-row { display: flex; align-items: center; gap: .8rem; padding: .8rem; border-radius: 12px; background: var(--crypt-2); border: 1px solid var(--line); }
.friend-row + .friend-row { margin-top: .6rem; }
.friend-row .info { flex: 1; min-width: 0; }
.friend-row .info b { display: block; font-weight: 700; }
.friend-row .info small { color: var(--ash); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #5c4a50; margin-right: .35rem; vertical-align: middle; }
.dot.on { background: var(--toxic); box-shadow: 0 0 8px var(--toxic); }
.code-box { font: 400 2.2rem/1 var(--display); letter-spacing: .12em; color: var(--gold); }

/* ---------- mission ---------- */
.oath { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.oath img { width: clamp(140px, 22vw, 240px); filter: drop-shadow(0 0 40px rgba(193, 18, 31, .5)); }
.oath blockquote { margin: 0; font: 400 clamp(1.5rem, 3.4vw, 2.3rem)/1.25 var(--display); color: var(--bone); }
.oath blockquote em { color: var(--blood-hot); font-style: normal; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.pillar { background: var(--crypt); border: 1px solid var(--line); border-top: 3px solid var(--blood); border-radius: 12px; padding: 1.3rem; }
.pillar h3 { font-size: 1.5rem; }
.pillar p { color: var(--ash); margin: 0; }

/* ---------- modal ---------- */
dialog.modal { border: 1px solid var(--line); border-radius: 18px; background: var(--crypt); color: var(--bone); padding: 0; width: min(900px, 94vw); box-shadow: var(--shadow); }
dialog.modal::backdrop { background: rgba(0, 0, 0, .8); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 1.6rem; }
.modal-body { padding: 1.2rem; }
.modal video { width: 100%; border-radius: 10px; background: #000; }
.icon-btn { width: 42px; height: 42px; border-radius: 10px; border: 2px solid var(--line); background: var(--crypt-2); color: var(--bone); cursor: pointer; font-size: 1.1rem; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: #070406; padding: 3rem 0 2rem; color: var(--ash); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot h4 { font: 800 .9rem/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--bone); margin: 0 0 1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-foot a { color: var(--ash); text-decoration: none; }
.site-foot a:hover { color: var(--bone); text-decoration: underline; }
.foot-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.foot-brand img { width: 52px; }
.foot-brand b { font: 400 1.5rem/1 var(--display); color: var(--bone); }
.copy { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .oath { grid-template-columns: 1fr; text-align: center; }
  .oath img { margin: 0 auto; }
}
@media (max-width: 820px) {
  .menu-toggle { display: grid; place-items: center; order: 3; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; background: var(--void); border-bottom: 1px solid var(--line); padding: .6rem 1rem 1rem; }
  .nav.open { display: flex; }
  .acct { margin-left: auto; }
  .brand span { display: none; }
}
@media (max-width: 520px) {
  .avatar-btn > span:not(.avatar) { display: none; }
  .avatar-btn { padding: 3px; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn { padding: .9rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* emblem hero: the demonic winged crest is shown whole, copy rises out of the smoke beneath it */
.hero-emblem { display: block; min-height: 0; background: #070406; }
.emblem-art { position: relative; }
.emblem-art img { width: 100%; height: min(56.25vw, 80vh); object-fit: cover; object-position: center 42%;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); }
.hero-emblem .hero-in { position: relative; margin-top: -7vw; padding: 0 0 3.5rem; }
.hero-emblem .embers { z-index: 1; }
.hero-emblem .hero-in { z-index: 2; }
@media (max-width: 700px) {
  .emblem-art img { height: 78vw; object-position: center 45%; }
  .hero-emblem .hero-in { margin-top: -10vw; }
}

/* Admin tab: only shown to admins (site.js) */
.nav a.nav-admin[hidden] { display: none !important; }
.nav a.nav-admin { color: var(--gold, #ffcc4d); }

/* "Download DCA Game Hub" banner (hub-install.js) */
.hub-cta { margin: 0 0 1.8rem; border-radius: 18px; background: linear-gradient(135deg, #3a0610, #140a0d 60%); border: 2px solid var(--blood-hot, #ff3348); box-shadow: 0 0 28px rgba(255, 40, 60, .25); padding: 1.1rem 1.3rem; }
.hub-cta[hidden] { display: none !important; }
.hub-cta-in { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hub-cta-in img { border-radius: 18px; flex: none; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.hub-cta-txt { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: .25rem; }
.hub-cta-txt b { font: 800 1.35rem/1.15 var(--ui); letter-spacing: .04em; color: var(--bone, #f1ebe2); }
.hub-cta-txt span { color: var(--ash, #c4b8ad); }
.hub-cta-btn { font-size: 1.1rem !important; padding: 1rem 1.6rem !important; white-space: nowrap; }
.hub-cta-help { margin: .9rem 0 0; color: var(--bone, #f1ebe2); background: rgba(0,0,0,.35); border-radius: 10px; padding: .7rem .9rem; }
@media (max-width: 560px) { .hub-cta-btn { width: 100%; white-space: normal; justify-content: center; font-size: 1rem !important; padding: .9rem 1rem !important; letter-spacing: .06em; } .hub-cta-in img { width: 56px; height: 56px; } }

/* Share the Game Hub (share-hub.js) */
.share-btn { display: inline-flex; align-items: center; gap: .4rem; background: linear-gradient(90deg, #b91c1c, #e11d48); color: #fff; border: 0; border-radius: 999px; padding: .5rem .95rem; font: 700 .95rem/1 var(--ui); cursor: pointer; box-shadow: 0 0 14px rgba(255, 40, 60, .35); margin-left: .6rem; }
.share-btn:hover { filter: brightness(1.12); }
@media (max-width: 820px) { .share-btn { margin-left: auto; padding: .5rem .7rem; } .share-btn + .acct { margin-left: .5rem; } }
@media (max-width: 420px) { .share-btn span { display: none; } }

/* /get/ landing page */
.get-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; }
.get-art img { width: 100%; height: auto; border-radius: 18px; border: 2px solid var(--blood-hot, #ff3348); box-shadow: 0 0 40px rgba(255, 40, 60, .3); }
.get-steps { margin: 1.4rem 0 0; padding-left: 1.2rem; color: var(--ash, #c4b8ad); display: grid; gap: .4rem; }
.get-copy .hub-cta { margin: 0 0 1rem; }
@media (max-width: 900px) { .get-grid { grid-template-columns: 1fr; } }

/* owner-only admin portal panel on the profile */
.owner-admin { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; border-color: var(--gold, #ffcc4d) !important; }
.owner-admin[hidden] { display: none !important; }
/* keep the header on one line once the Share button is in it */
@media (max-width: 1180px) { .brand span { display: none; } .share-btn { padding: .5rem .6rem; } .share-btn span { display: none; } }
@media (max-width: 1000px) and (min-width: 821px) { .avatar-btn > span:not(.avatar) { display: none; } .avatar-btn { padding: 3px; } .nav a { padding-left: .55rem; padding-right: .55rem; } }
.brand img { flex: none; }
/* the Books link made the nav one item longer: hide the wordmark a little sooner and tighten the links */
@media (max-width: 1340px) { .brand span { display: none; } .share-btn { padding: .5rem .6rem; } .share-btn span { display: none; } }
@media (min-width: 821px) and (max-width: 1000px) { .nav a { padding: .7rem .5rem; letter-spacing: .06em; font-size: .92rem; } }
