:root {
  --bg: #070707;
  --card: #141414;
  --line: rgba(232, 197, 71, 0.28);
  --ink: #F7F3EA;
  --muted: #B7A98A;
  --gold: #E8C547;
  --gold-2: #C9A227;
  --tg: #2AABEE;
  --tg-2: #1B8FCD;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html {
  scroll-behavior: smooth;
  background: #000;
}
body.app {
  position: relative;
  font-family: "Segoe UI", system-ui, sans-serif;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: #000;
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 84px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2 { line-height: 1.15; margin: 0 0 .55rem; }
p { margin: 0 0 .8rem; }

.wrap { width: min(430px, calc(100% - 24px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 8px 14px;
  background: rgba(7, 7, 7, 0.92);
  border-bottom: 1px solid rgba(232, 197, 71, 0.18);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.crown { width: 26px; height: 20px; flex: 0 0 auto; }
.brand-copy { display: grid; gap: 1px; min-width: 0; }
.wordmark {
  width: min(188px, 58vw);
  height: auto;
}
.brand-copy small {
  color: var(--gold);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}
.menu-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: center;
  padding: 10px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.drawer {
  position: sticky;
  top: 64px;
  z-index: 29;
  background: #111;
  border-bottom: 1px solid var(--line);
  display: grid;
  padding: 8px 14px 12px;
}
.drawer[hidden] { display: none; }
.drawer a {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-weight: 700;
  color: var(--gold);
}

.hero {
  position: relative;
  width: 100%;
  overflow: visible;
  background: #000;
}
.hero-bg {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82) 70%);
  pointer-events: none;
  z-index: 1;
}
.hero-hits {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  z-index: 2;
  padding: 0 0 4px;
}
.app.is-home .top {
  position: absolute;
  left: 0;
  right: 0;
  width: auto;
  background: linear-gradient(180deg, rgba(0,0,0,.72), transparent);
  border-bottom: 0;
}
.app.is-home .drawer {
  position: absolute;
  left: 0;
  right: 0;
  width: auto;
  top: 64px;
}

.page-head { padding: 18px 0 8px; }
.page-head h1 { font-size: 1.55rem; }
.eyebrow {
  color: var(--gold);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 800;
  margin-bottom: .45rem;
}
.lead { color: var(--muted); }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; margin-bottom: 10px; }
.crumbs a { color: var(--gold); font-weight: 700; }

.hits-wrap { padding: 14px 0 8px; }
.cta-pair { display: grid; gap: 10px; }
.hit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.hit-txt { flex: 1; }
.hit-arr { font-size: 1.6rem; line-height: 1; opacity: .9; }
.hit-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  flex: 0 0 auto;
}
.hit-txt { display: grid; gap: 2px; }
.hit-txt b { font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.hit-txt small { font-weight: 600; font-size: .72rem; opacity: .9; }
.hit-tg { background: linear-gradient(180deg, #3BB6F5, var(--tg-2)); color: #fff; }
.hit-go { background: linear-gradient(180deg, #E8C547, var(--gold-2)); color: #1A1408; }
.hit.muted { opacity: .5; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 48px 0 14px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 88px;
  padding: 12px 10px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  font-size: .78rem;
}
.tile-ico { font-size: 1.15rem; }

.strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(90deg, #1a1408, #3a2a10 40%, #1a1408);
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .82rem;
  margin-bottom: 18px;
}
.strip b { color: var(--gold); }
.strip-crown { width: 22px; height: 16px; }

.seo-wrap { padding: 4px 0 28px; }
.seo-article {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 18px 16px 12px;
}
.seo-article h1 { font-size: 1.4rem; }
.seo-article h2 { font-size: 1.05rem; margin: 16px 0 8px; color: var(--gold); }
.seo-article p, .seo-article li { color: var(--muted); }
.seo-article a { color: var(--gold); font-weight: 700; }
.seo-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.seo-toc a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .22rem .7rem;
  font-size: .78rem;
  color: var(--ink);
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 10px; margin-bottom: 10px; }
.steps span {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-2);
  color: #140C08;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 800;
}
details { border-top: 1px solid rgba(255,255,255,.08); padding: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
.related { margin-top: 18px; }
.related h2 { font-size: 1.05rem; color: var(--gold); }
.seo-dir { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.seo-dir a, .seo-dir span {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .8rem;
  font-weight: 700;
}
.seo-dir span { color: var(--muted); font-weight: 600; }
.seo-tags h2 { font-size: 1.05rem; margin: 16px 0 8px; color: var(--gold); }
.foot-dir { justify-content: center; margin: 12px 0 0; }

.foot {
  text-align: center;
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: .82rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.foot-mark { width: 160px; height: auto; margin: 0 auto 10px; }

.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(430px, 100%);
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #0d0d0d;
  border-top: 1px solid rgba(232, 197, 71, 0.2);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #8d8268;
  font-size: .62rem;
  font-weight: 700;
  padding: 6px 2px;
}
.tabbar a.is-on { color: var(--gold); }

.empty-page { text-align: center; padding: 48px 0; }
.empty-page .hit { justify-content: center; }

@media (min-width: 480px) {
  .top, .drawer { width: 100%; }
}
