/* ==========================================================================
   Tongits Star Download - base stylesheet
   File   : css/tongits-star-downl-frame-5b5d7c.css
   Prefix : frameb5d7c- (all classes and CSS variables)
   Palette: #0C0C0C base / #FF4500 accent / #C0C0C0 silver / #808080 muted
            / #DCDCDC body text
   Voice  : humanist headings + clear body, low-radius zoned panels,
            compact square game catalog, question-driven rhythm,
            restrained fade feedback, solid primary / outlined secondary CTA.
   Canvas : mobile-first 320-430px, centered phone frame on wide screens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --frameb5d7c-bg:          #0c0c0c;
  --frameb5d7c-surface:     #141414;
  --frameb5d7c-surface-2:   #1b1b1b;
  --frameb5d7c-surface-3:   #202020;
  --frameb5d7c-edge:        #2a2a2a;
  --frameb5d7c-edge-soft:   #1f1f1f;
  --frameb5d7c-text:        #dcdcdc;
  --frameb5d7c-silver:      #c0c0c0;
  --frameb5d7c-muted:       #808080;
  --frameb5d7c-accent:      #ff4500;
  --frameb5d7c-accent-deep: #c93a00;
  --frameb5d7c-ink:         #0c0c0c;
  --frameb5d7c-radius:      5px;
  --frameb5d7c-radius-sm:   3px;
  --frameb5d7c-font-head: "Trebuchet MS", "Segoe UI", Verdana, Arial, sans-serif;
  --frameb5d7c-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frameb5d7c-head-h: 58px;
  --frameb5d7c-bnav-h: 60px;
  --frameb5d7c-gutter: 14px;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: #050505;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  max-width: 480px;              /* phone canvas stays centered on wide screens */
  min-height: 100vh;
  background: var(--frameb5d7c-bg);
  color: var(--frameb5d7c-text);
  font-family: var(--frameb5d7c-font-body);
  font-size: 15px;
  line-height: 1.58;
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.65);
  padding-top: calc(var(--frameb5d7c-head-h) + 6px);
  padding-bottom: calc(var(--frameb5d7c-bnav-h) + 18px + env(safe-area-inset-bottom));
}

body.frameb5d7c-no-scroll { overflow: hidden; }

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-family: var(--frameb5d7c-font-head);
  color: #f2f2f2;
  margin: 0 0 0.45em;
  line-height: 1.28;
  font-weight: 700;
}

h1 { font-size: 1.5rem; letter-spacing: -0.01em; }
h2 { font-size: 1.13rem; }
h3 { font-size: 0.98rem; color: var(--frameb5d7c-silver); }

p { margin: 0 0 0.85em; }

ul, ol { margin: 0 0 0.9em; padding-left: 1.15em; }
li { margin-bottom: 0.42em; }

a {
  color: var(--frameb5d7c-silver);
  transition: color 0.25s ease;
}
a:hover { color: var(--frameb5d7c-accent); }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--frameb5d7c-accent);
  outline-offset: 2px;
  border-radius: var(--frameb5d7c-radius-sm);
}

/* --------------------------------------------------------------------------
   3. Skip link
   -------------------------------------------------------------------------- */
.frameb5d7c-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--frameb5d7c-accent);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 0 0 var(--frameb5d7c-radius) 0;
  font-weight: 700;
  text-decoration: none;
}
.frameb5d7c-skip:focus {
  left: 0;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. Fixed header - asymmetric brand block + separate action cluster
   -------------------------------------------------------------------------- */
.frameb5d7c-head {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--frameb5d7c-head-h);
  z-index: 90;
  background: linear-gradient(180deg, #131313 0%, #0d0d0d 100%);
  border-bottom: 1px solid var(--frameb5d7c-edge);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.frameb5d7c-head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 100%;
  padding: 0 10px 0 0;
}

/* Brand block: darker plate with an accent edge, logo image only + site name */
.frameb5d7c-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: stretch;
  padding: 0 12px 0 10px;
  margin-left: 0;
  background: var(--frameb5d7c-surface-2);
  border-right: 1px solid var(--frameb5d7c-edge);
  border-left: 3px solid var(--frameb5d7c-accent);
  border-radius: 0 0 var(--frameb5d7c-radius) 0;
  text-decoration: none;
  min-width: 0;
}

.frameb5d7c-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--frameb5d7c-radius-sm);
  border: 1px solid var(--frameb5d7c-edge);
  background: var(--frameb5d7c-surface-3);
  object-fit: cover;
  flex: 0 0 auto;
}

.frameb5d7c-brand-name {
  font-family: var(--frameb5d7c-font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #f4f4f4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frameb5d7c-head-acts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.frameb5d7c-head-sep {
  color: #3a3a3a;
  font-size: 0.85rem;
  line-height: 1;
  user-select: none;
}

/* --------------------------------------------------------------------------
   5. Buttons - solid primary / outlined secondary
   -------------------------------------------------------------------------- */
.frameb5d7c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--frameb5d7c-radius);
  font-family: var(--frameb5d7c-font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.2s ease;
}

.frameb5d7c-btn--solid {
  background: var(--frameb5d7c-accent);
  color: #ffffff;
  box-shadow: 0 3px 0 var(--frameb5d7c-accent-deep);
}
.frameb5d7c-btn--solid:hover,
.frameb5d7c-btn--solid:focus-visible {
  background: #ff5c16;
  color: #ffffff;
}
.frameb5d7c-btn--solid:active { transform: translateY(1px); }

.frameb5d7c-btn--line {
  background: transparent;
  color: var(--frameb5d7c-silver);
  border-color: #4a4a4a;
}
.frameb5d7c-btn--line:hover,
.frameb5d7c-btn--line:focus-visible {
  border-color: var(--frameb5d7c-accent);
  color: var(--frameb5d7c-accent);
  background: rgba(255, 69, 0, 0.06);
}

/* compact header variants still keep a 44px touch box */
.frameb5d7c-btn--head {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   6. Burger button
   -------------------------------------------------------------------------- */
.frameb5d7c-burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid #3a3a3a;
  border-radius: var(--frameb5d7c-radius);
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.frameb5d7c-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--frameb5d7c-silver);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.25s ease;
}
.frameb5d7c-burger:hover { border-color: var(--frameb5d7c-accent); }
.frameb5d7c-burger:hover span { background: var(--frameb5d7c-accent); }
.frameb5d7c-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.frameb5d7c-burger.is-open span:nth-child(2) { opacity: 0; }
.frameb5d7c-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Stacked overlay menu
   -------------------------------------------------------------------------- */
.frameb5d7c-menu {
  position: fixed;
  top: var(--frameb5d7c-head-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  bottom: 0;
  z-index: 80;
  background: rgba(8, 8, 8, 0.97);
  border-top: 1px solid var(--frameb5d7c-edge);
  padding: 14px var(--frameb5d7c-gutter) calc(var(--frameb5d7c-bnav-h) + 14px);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.frameb5d7c-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.frameb5d7c-menu-title {
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frameb5d7c-accent);
  margin: 4px 0 10px;
}

.frameb5d7c-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.frameb5d7c-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 12px 12px;
  border-bottom: 1px solid var(--frameb5d7c-edge-soft);
  color: var(--frameb5d7c-silver);
  text-decoration: none;
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.95rem;
  transition: color 0.22s ease, background-color 0.22s ease, padding-left 0.22s ease;
}
.frameb5d7c-menu-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #4d4d4d;
  border-right: 2px solid #4d4d4d;
  transform: rotate(45deg);
  flex: 0 0 auto;
  transition: border-color 0.22s ease;
}
.frameb5d7c-menu-link:hover,
.frameb5d7c-menu-link:focus-visible {
  color: var(--frameb5d7c-accent);
  background: rgba(255, 69, 0, 0.05);
  padding-left: 16px;
}
.frameb5d7c-menu-link:hover::after,
.frameb5d7c-menu-link:focus-visible::after {
  border-color: var(--frameb5d7c-accent);
}
.frameb5d7c-menu-link.is-current {
  color: var(--frameb5d7c-accent);
  border-left: 3px solid var(--frameb5d7c-accent);
  padding-left: 12px;
  background: rgba(255, 69, 0, 0.07);
}

.frameb5d7c-menu-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--frameb5d7c-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.frameb5d7c-hero {
  padding: 16px var(--frameb5d7c-gutter) 14px;
}

.frameb5d7c-eyebrow {
  display: inline-block;
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frameb5d7c-accent);
  border: 1px solid rgba(255, 69, 0, 0.45);
  border-radius: var(--frameb5d7c-radius-sm);
  padding: 3px 8px;
  margin-bottom: 10px;
}

.frameb5d7c-lead {
  color: #bfbfbf;
  margin-bottom: 14px;
}

.frameb5d7c-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.frameb5d7c-cta-row .frameb5d7c-btn { flex: 1 1 150px; }

/* --------------------------------------------------------------------------
   9. Promo reel (3 banner slides, scroll-snap + JS auto-advance)
   -------------------------------------------------------------------------- */
.frameb5d7c-reel {
  margin: 4px 0 18px;
}

.frameb5d7c-reel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.frameb5d7c-reel-track::-webkit-scrollbar { display: none; }

.frameb5d7c-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
}

.frameb5d7c-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--frameb5d7c-surface-2);
}

.frameb5d7c-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0) 0%, rgba(12, 12, 12, 0.88) 78%);
}
.frameb5d7c-slide-cap strong {
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.3;
}
.frameb5d7c-slide-cap em {
  font-style: normal;
  font-size: 0.76rem;
  color: var(--frameb5d7c-silver);
}
.frameb5d7c-slide:hover .frameb5d7c-slide-cap strong { color: var(--frameb5d7c-accent); }

.frameb5d7c-reel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 9px 0 0;
}

.frameb5d7c-reel-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: #3a3a3a;
  cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease;
}
.frameb5d7c-reel-dot.is-on {
  width: 30px;
  background: var(--frameb5d7c-accent);
}

/* --------------------------------------------------------------------------
   10. Section scaffolding
   -------------------------------------------------------------------------- */
.frameb5d7c-main { display: block; }

.frameb5d7c-strip {
  padding: 4px var(--frameb5d7c-gutter) 20px;
}

.frameb5d7c-kicker {
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--frameb5d7c-accent);
  margin: 0 0 6px;
}

.frameb5d7c-sec-head { margin-bottom: 12px; }

.frameb5d7c-sec-intro {
  color: #b3b3b3;
  font-size: 0.88rem;
  margin: 0;
}

.frameb5d7c-count {
  display: inline-block;
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--frameb5d7c-muted);
  border: 1px solid var(--frameb5d7c-edge);
  border-radius: var(--frameb5d7c-radius-sm);
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: 2px;
}

/* --------------------------------------------------------------------------
   11. Game grid - compact square catalog tiles
   -------------------------------------------------------------------------- */
.frameb5d7c-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}

.frameb5d7c-tile {
  display: block;
  text-decoration: none;
  border-radius: var(--frameb5d7c-radius-sm);
}

.frameb5d7c-tile-fig {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--frameb5d7c-surface-2);
  border: 1px solid var(--frameb5d7c-edge);
  border-radius: var(--frameb5d7c-radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease,
              transform 0.2s ease;
}
.frameb5d7c-tile-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frameb5d7c-tile:hover .frameb5d7c-tile-fig,
.frameb5d7c-tile:focus-visible .frameb5d7c-tile-fig {
  border-color: var(--frameb5d7c-accent);
  background: var(--frameb5d7c-surface-3);
  transform: translateY(-2px);
}

.frameb5d7c-tile-name {
  display: -webkit-box;
  display: -o-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--frameb5d7c-silver);
  margin-top: 5px;
  min-height: 2.6em;
  transition: color 0.25s ease;
}
.frameb5d7c-tile:hover .frameb5d7c-tile-name,
.frameb5d7c-tile:focus-visible .frameb5d7c-tile-name {
  color: var(--frameb5d7c-accent);
}

/* --------------------------------------------------------------------------
   12. Content panels (question-driven modules)
   -------------------------------------------------------------------------- */
.frameb5d7c-panels {
  padding: 6px var(--frameb5d7c-gutter) 8px;
}

.frameb5d7c-panel {
  background: var(--frameb5d7c-surface);
  border: 1px solid var(--frameb5d7c-edge-soft);
  border-left: 3px solid var(--frameb5d7c-accent);
  border-radius: var(--frameb5d7c-radius);
  padding: 15px 14px 9px;
  margin-bottom: 14px;
}

.frameb5d7c-panel > h2 { margin-bottom: 0.5em; }

.frameb5d7c-panel-lead {
  color: #c7c7c7;
  margin-bottom: 12px;
}

.frameb5d7c-q {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.95rem;
  color: #ebebeb;
  margin: 14px 0 6px;
}
.frameb5d7c-q::before {
  content: "?";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 69, 0, 0.55);
  border-radius: 50%;
  color: var(--frameb5d7c-accent);
  font-size: 0.72rem;
  font-weight: 700;
  transform: translateY(1px);
}

.frameb5d7c-a,
.frameb5d7c-panel p {
  font-size: 0.88rem;
  color: #b9b9b9;
}

.frameb5d7c-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.frameb5d7c-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.87rem;
  color: #b9b9b9;
  margin-bottom: 7px;
}
.frameb5d7c-list--pro li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--frameb5d7c-accent);
  font-weight: 700;
}
.frameb5d7c-list--con li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--frameb5d7c-muted);
  font-weight: 700;
}

.frameb5d7c-steps {
  list-style: none;
  counter-reset: frameb5d7cstep;
  padding: 0;
  margin: 0 0 6px;
}
.frameb5d7c-steps li {
  counter-increment: frameb5d7cstep;
  position: relative;
  padding: 0 0 10px 34px;
  font-size: 0.87rem;
  color: #b9b9b9;
}
.frameb5d7c-steps li::before {
  content: counter(frameb5d7cstep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--frameb5d7c-surface-3);
  border: 1px solid rgba(255, 69, 0, 0.5);
  border-radius: 50%;
  color: var(--frameb5d7c-accent);
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.72rem;
  font-weight: 700;
}
.frameb5d7c-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10.5px;
  top: 26px;
  bottom: 0;
  width: 1px;
  background: var(--frameb5d7c-edge);
}

/* one-line takeaway before the footer */
.frameb5d7c-verdict {
  margin: 4px var(--frameb5d7c-gutter) 18px;
  padding: 13px 14px;
  background: linear-gradient(90deg, rgba(255, 69, 0, 0.14), rgba(255, 69, 0, 0.03));
  border: 1px solid rgba(255, 69, 0, 0.35);
  border-radius: var(--frameb5d7c-radius);
  font-size: 0.9rem;
  color: #d9d9d9;
}
.frameb5d7c-verdict strong { color: var(--frameb5d7c-accent); }

/* inline text promo link inside prose */
.frameb5d7c-inline-promo {
  color: var(--frameb5d7c-accent);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.frameb5d7c-inline-promo:hover { color: #ff5c16; }

/* --------------------------------------------------------------------------
   13. Extended footer (home only): brand > directory > promos > disclaimer
   -------------------------------------------------------------------------- */
.frameb5d7c-xfoot {
  background: #101010;
  border-top: 1px solid var(--frameb5d7c-edge-soft);
  padding: 18px var(--frameb5d7c-gutter) 12px;
}

.frameb5d7c-xfoot-title {
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--frameb5d7c-accent);
  margin: 0 0 8px;
}

.frameb5d7c-xfoot-brand {
  margin-bottom: 18px;
}
.frameb5d7c-xfoot-brand p {
  font-size: 0.83rem;
  color: #a9a9a9;
  margin: 0;
}

.frameb5d7c-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.frameb5d7c-dir a {
  display: block;
  padding: 8px 9px;
  background: var(--frameb5d7c-surface-2);
  border: 1px solid var(--frameb5d7c-edge-soft);
  border-radius: var(--frameb5d7c-radius-sm);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--frameb5d7c-silver);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.frameb5d7c-dir a:hover,
.frameb5d7c-dir a:focus-visible {
  border-color: var(--frameb5d7c-accent);
  color: var(--frameb5d7c-accent);
}

/* horizontal promo shortcuts */
.frameb5d7c-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.frameb5d7c-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 11px;
  background: transparent;
  border: 1px solid #3d3d3d;
  border-radius: var(--frameb5d7c-radius);
  color: var(--frameb5d7c-text);
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease,
              color 0.25s ease;
}
.frameb5d7c-shortcut::after {
  content: "\2192";
  color: var(--frameb5d7c-accent);
  font-weight: 700;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.frameb5d7c-shortcut:hover,
.frameb5d7c-shortcut:focus-visible {
  border-color: var(--frameb5d7c-accent);
  background: rgba(255, 69, 0, 0.07);
}
.frameb5d7c-shortcut:hover::after { transform: translateX(3px); }

.frameb5d7c-xfoot-note {
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--frameb5d7c-muted);
  border-top: 1px solid var(--frameb5d7c-edge-soft);
  padding-top: 12px;
}
.frameb5d7c-xfoot-note strong { color: #9d9d9d; }

/* --------------------------------------------------------------------------
   14. Copyright bar (shared)
   -------------------------------------------------------------------------- */
.frameb5d7c-foot {
  padding: 14px var(--frameb5d7c-gutter) 16px;
  text-align: center;
}
.frameb5d7c-foot p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #6f6f6f;
}

/* --------------------------------------------------------------------------
   15. Layered fixed bottom navigation (5 roles)
   -------------------------------------------------------------------------- */
.frameb5d7c-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 85;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #191919 0%, #0e0e0e 100%);
  border-top: 1px solid var(--frameb5d7c-edge);
  box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.6);
  padding: 5px 2px calc(4px + env(safe-area-inset-bottom));
}
/* thin accent seam = the layered upper edge of the bar */
.frameb5d7c-bnav::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 69, 0, 0), var(--frameb5d7c-accent), rgba(255, 69, 0, 0));
}

.frameb5d7c-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  background: none;
  border: none;
  border-radius: var(--frameb5d7c-radius-sm);
  color: var(--frameb5d7c-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.frameb5d7c-bnav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}
.frameb5d7c-bnav-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.25s ease, color 0.25s ease;
}

.frameb5d7c-bnav-label {
  font-family: var(--frameb5d7c-font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
}

.frameb5d7c-bnav-item:hover { color: var(--frameb5d7c-silver); }

/* promo roles carry a warm tint at all times */
.frameb5d7c-bnav-item--promo { color: #c96a3f; }
.frameb5d7c-bnav-item--promo:hover { color: var(--frameb5d7c-accent); }

/* active role: color switch + filled icon plate */
.frameb5d7c-bnav-item.is-active { color: var(--frameb5d7c-accent); }
.frameb5d7c-bnav-item.is-active .frameb5d7c-bnav-icon svg {
  fill: currentColor;
  fill-opacity: 0.18;
}

/* --------------------------------------------------------------------------
   16. Restrained reveal animation (only when JS is active)
   -------------------------------------------------------------------------- */
.frameb5d7c-js .frameb5d7c-reveal {
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.frameb5d7c-js .frameb5d7c-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   17. Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  body { font-size: 15.5px; }
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.2rem; }
  .frameb5d7c-grid { gap: 13px 10px; }
  .frameb5d7c-tile-name { font-size: 0.7rem; }
  .frameb5d7c-cta-row .frameb5d7c-btn { flex: 1 1 170px; }
}

/* wider phones: catalog shifts to 5 stable tracks */
@media (min-width: 430px) {
  :root { --frameb5d7c-gutter: 18px; }
  .frameb5d7c-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .frameb5d7c-shortcuts { grid-template-columns: repeat(3, 1fr); }
  .frameb5d7c-dir { gap: 8px 12px; }
  .frameb5d7c-slide-cap strong { font-size: 1.05rem; }
}

/* --------------------------------------------------------------------------
   18. Motion preferences
   -------------------------------------------------------------------------- */
/* Help pages: fact table, scenario cards, visible trail */
.frameb5d7c-trail {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: var(--frameb5d7c-muted);
}
.frameb5d7c-trail a { color: var(--frameb5d7c-silver); text-decoration: none; }
.frameb5d7c-trail a:hover { color: var(--frameb5d7c-accent); }

.frameb5d7c-facts {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 12px;
  font-size: 0.84rem;
}
.frameb5d7c-facts th,
.frameb5d7c-facts td {
  border: 1px solid var(--frameb5d7c-edge);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}
.frameb5d7c-facts th {
  width: 38%;
  color: var(--frameb5d7c-accent);
  font-family: var(--frameb5d7c-font-head);
  font-weight: 700;
  background: var(--frameb5d7c-surface-2);
}
.frameb5d7c-facts td { color: #b9b9b9; }

.frameb5d7c-scenario {
  margin: 0 0 12px;
  padding: 12px 12px 4px;
  background: var(--frameb5d7c-surface-2);
  border-top: 2px solid var(--frameb5d7c-silver);
  border-radius: var(--frameb5d7c-radius);
}
.frameb5d7c-scenario h3 { margin-bottom: 6px; }

.frameb5d7c-band {
  margin: 8px var(--frameb5d7c-gutter) 16px;
  padding: 14px;
  background: var(--frameb5d7c-surface-3);
  border-radius: var(--frameb5d7c-radius);
  border: 1px solid var(--frameb5d7c-edge);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .frameb5d7c-js .frameb5d7c-reveal {
    opacity: 1;
    transform: none;
  }
}
