/* ============================================================
   Gilas vs Iran - mobile-first base stylesheet
   Canvas: 320-430px phone layout, centered shell on wide screens
   Palette: #FF9500 / #A9A9A9 / #FFF8DC / #BAFFC9 / #2C2C2C / #FF6347
   ============================================================ */

:root {
  --c1b1bd-ink: #2c2c2c;            /* base background */
  --c1b1bd-ink-deep: #202020;       /* raised panels */
  --c1b1bd-ink-low: #1b1b1b;        /* footer / dock bed */
  --c1b1bd-ink-tile: #212121;       /* game tile bed */
  --c1b1bd-line: #383838;           /* hairlines */
  --c1b1bd-line-soft: #303030;      /* softer hairlines */
  --c1b1bd-orange: #ff9500;         /* primary action */
  --c1b1bd-tomato: #ff6347;         /* hot / alert accent */
  --c1b1bd-mint: #baffc9;           /* money / positive accent */
  --c1b1bd-cornsilk: #fff8dc;       /* primary text */
  --c1b1bd-gray: #a9a9a9;           /* secondary text */
  --c1b1bd-r-lg: 16px;
  --c1b1bd-r-md: 12px;
  --c1b1bd-r-sm: 9px;
  --c1b1bd-gutter: 13px;
  --c1b1bd-top-h: 54px;
  --c1b1bd-dock-h: 58px;
}

/* ---------- reset + canvas ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #131313;
  color: var(--c1b1bd-cornsilk);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: var(--c1b1bd-orange);
}

:focus-visible {
  outline: 2px solid var(--c1b1bd-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Centered phone shell kept on wide viewports */
.c1b1bd-shell {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c1b1bd-ink);
  overflow-x: clip;
}

/* ---------- compact brand bar ---------- */

.c1b1bd-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--c1b1bd-top-h);
  padding: 0 10px 0 12px;
  background: rgba(30, 30, 30, 0.96);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--c1b1bd-line);
}

.c1b1bd-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
  text-decoration: none;
  color: var(--c1b1bd-cornsilk);
}

.c1b1bd-brand-logo {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  border: 1px solid rgba(255, 149, 0, 0.45);
  flex: 0 0 auto;
}

.c1b1bd-brand-name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* compact dual CTA group (register / login) */
.c1b1bd-acts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.c1b1bd-btn {
  min-height: 38px;
  padding: 0 13px;
  border-radius: var(--c1b1bd-r-sm);
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.c1b1bd-btn:active {
  transform: translateY(1px);
}

.c1b1bd-btn--solid {
  background: var(--c1b1bd-orange);
  color: #241a05;
}

.c1b1bd-btn--ghost {
  background: transparent;
  border-color: rgba(169, 169, 169, 0.5);
  color: var(--c1b1bd-cornsilk);
}

.c1b1bd-menu-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(169, 169, 169, 0.5);
  border-radius: var(--c1b1bd-r-sm);
  color: var(--c1b1bd-cornsilk);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.c1b1bd-menu-btn:active {
  transform: translateY(1px);
}

/* ---------- slide-up route sheet ---------- */

.c1b1bd-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10, 10, 10, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.c1b1bd-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 60;
  width: 100%;
  max-width: 480px;
  max-height: 72vh;
  overflow-y: auto;
  padding: 10px 14px calc(var(--c1b1bd-dock-h) + 16px);
  background: var(--c1b1bd-ink-low);
  border: 1px solid var(--c1b1bd-line-soft);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  transform: translate(-50%, 104%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.c1b1bd-sheet-grip {
  width: 42px;
  height: 4px;
  margin: 2px auto 10px;
  border-radius: 999px;
  background: #454545;
}

.c1b1bd-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.c1b1bd-sheet-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.c1b1bd-sheet-x {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c1b1bd-line);
  border-radius: var(--c1b1bd-r-sm);
  background: transparent;
  color: var(--c1b1bd-gray);
}

.c1b1bd-sheet-label {
  margin: 14px 2px 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c1b1bd-gray);
}

.c1b1bd-sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.c1b1bd-sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  background: #242424;
  border: 1px solid #333333;
  border-radius: var(--c1b1bd-r-md);
  color: var(--c1b1bd-cornsilk);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.c1b1bd-sheet-link:active {
  transform: translateY(1px);
}

.c1b1bd-sheet-link svg {
  flex: 0 0 auto;
  color: #6f6f6f;
}

.c1b1bd-sheet-link[aria-current="page"] {
  border-color: rgba(255, 149, 0, 0.6);
  color: var(--c1b1bd-orange);
}

body.c1b1bd-sheet-open .c1b1bd-sheet {
  transform: translate(-50%, 0);
}

body.c1b1bd-sheet-open .c1b1bd-scrim {
  opacity: 1;
  pointer-events: auto;
}

body.c1b1bd-sheet-open {
  overflow: hidden;
}

/* ---------- page body ---------- */

.c1b1bd-main {
  padding: 14px var(--c1b1bd-gutter)
    calc(var(--c1b1bd-dock-h) + 30px + env(safe-area-inset-bottom));
}

/* hero headline */
.c1b1bd-hero-head {
  margin: 4px 0 10px;
}

.c1b1bd-h1 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.c1b1bd-h1 .c1b1bd-h1-sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--c1b1bd-gray);
  letter-spacing: 0.4px;
}

.c1b1bd-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.72;
  color: rgba(255, 248, 220, 0.82);
}

.c1b1bd-lead strong {
  color: var(--c1b1bd-cornsilk);
}

/* ---------- promo carousel ---------- */

.c1b1bd-carousel {
  position: relative;
  margin: 4px 0 10px;
  border-radius: var(--c1b1bd-r-lg);
  overflow: hidden;
  border: 1px solid var(--c1b1bd-line-soft);
  background: #191919;
  aspect-ratio: 16 / 8.6;
}

.c1b1bd-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 26%, rgba(18, 18, 18, 0.9) 100%);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  text-decoration: none;
}

.c1b1bd-slide.is-on {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.c1b1bd-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.c1b1bd-slide-kick {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--c1b1bd-orange);
}

.c1b1bd-slide-title {
  margin: 4px 0 2px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--c1b1bd-cornsilk);
}

.c1b1bd-slide-sub {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 248, 220, 0.85);
  max-width: 34ch;
}

.c1b1bd-slide-cta {
  align-self: flex-start;
  margin: 9px 0 0;
  min-height: 34px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--c1b1bd-orange);
  color: #241a05;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.c1b1bd-dots {
  position: absolute;
  right: 11px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.c1b1bd-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 220, 0.38);
  transition: width 0.22s ease, background 0.22s ease;
}

.c1b1bd-dot.is-on {
  width: 17px;
  background: var(--c1b1bd-orange);
}

/* ---------- quick start strip ---------- */

.c1b1bd-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  padding: 10px 12px;
  background: var(--c1b1bd-ink-deep);
  border: 1px solid var(--c1b1bd-line-soft);
  border-radius: var(--c1b1bd-r-md);
}

.c1b1bd-strip-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 149, 0, 0.15);
  color: var(--c1b1bd-orange);
}

.c1b1bd-strip p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 248, 220, 0.78);
}

.c1b1bd-strip a {
  font-weight: 800;
  color: var(--c1b1bd-mint);
}

/* ---------- section scaffolding ---------- */

.c1b1bd-sec {
  margin-top: 24px;
}

.c1b1bd-kickrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.c1b1bd-kick {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--c1b1bd-gray);
}

.c1b1bd-kick b {
  color: var(--c1b1bd-orange);
}

.c1b1bd-kickrule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--c1b1bd-line), rgba(56, 56, 56, 0));
}

.c1b1bd-h2 {
  margin: 0 0 7px;
  font-size: 17.5px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.15px;
}

.c1b1bd-intro {
  margin: 0 0 12px;
  font-size: 12.8px;
  line-height: 1.72;
  color: rgba(255, 248, 220, 0.8);
}

.c1b1bd-intro a {
  font-weight: 700;
}

/* category meta row */
.c1b1bd-catmeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.c1b1bd-count {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--c1b1bd-mint);
  border: 1px solid rgba(186, 255, 201, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.c1b1bd-shelf-link {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--c1b1bd-orange);
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- game grid: mixed wide + small tiles ---------- */

.c1b1bd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.c1b1bd-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 5px 5px 6px;
  background: var(--c1b1bd-ink-tile);
  border: 1px solid #323232;
  border-radius: var(--c1b1bd-r-md);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.c1b1bd-tile:active {
  transform: translateY(2px) scale(0.97);
  border-color: rgba(255, 149, 0, 0.55);
}

.c1b1bd-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #161616;
}

.c1b1bd-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  min-height: 27px;
  text-align: center;
  font-size: 10.8px;
  line-height: 1.28;
  font-weight: 600;
  color: rgba(255, 248, 220, 0.92);
}

.c1b1bd-tile--wide {
  grid-column: span 2;
  border-color: rgba(255, 149, 0, 0.4);
  background: #26211a;
}

.c1b1bd-tile--wide .c1b1bd-tile-name {
  font-size: 12px;
}

.c1b1bd-tile-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 149, 0, 0.55);
  color: var(--c1b1bd-orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- winners board ---------- */

.c1b1bd-board {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.c1b1bd-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--c1b1bd-ink-tile);
  border: 1px solid #303030;
  border-radius: 11px;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.c1b1bd-row.is-fresh {
  border-color: rgba(186, 255, 201, 0.55);
  background: #203026;
}

.c1b1bd-row-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c1b1bd-tomato);
}

.c1b1bd-row-who {
  min-width: 0;
}

.c1b1bd-row-name {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
}

.c1b1bd-row-game {
  font-size: 11px;
  color: var(--c1b1bd-gray);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c1b1bd-row-sum {
  margin-left: auto;
  text-align: right;
  flex: 0 0 auto;
}

.c1b1bd-row-amt {
  font-size: 13px;
  font-weight: 800;
  color: var(--c1b1bd-mint);
  line-height: 1.3;
}

.c1b1bd-row-time {
  font-size: 10px;
  color: #7c7c7c;
  line-height: 1.35;
}

.c1b1bd-board-note {
  margin: 9px 1px 0;
  font-size: 10.8px;
  line-height: 1.55;
  color: #8d8d8d;
}

/* ---------- category highlight lanes ---------- */

.c1b1bd-lane {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px;
  margin-bottom: 8px;
  background: var(--c1b1bd-ink-tile);
  border: 1px solid #303030;
  border-radius: var(--c1b1bd-r-md);
}

.c1b1bd-lane-glyph {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.c1b1bd-lane-glyph--hot {
  background: rgba(255, 99, 71, 0.16);
  color: var(--c1b1bd-tomato);
}

.c1b1bd-lane-glyph--slot {
  background: rgba(255, 149, 0, 0.16);
  color: var(--c1b1bd-orange);
}

.c1b1bd-lane-glyph--cards {
  background: rgba(186, 255, 201, 0.14);
  color: var(--c1b1bd-mint);
}

.c1b1bd-lane-glyph--live {
  background: rgba(255, 248, 220, 0.12);
  color: var(--c1b1bd-cornsilk);
}

.c1b1bd-lane-glyph--fish {
  background: rgba(169, 169, 169, 0.18);
  color: var(--c1b1bd-gray);
}

.c1b1bd-lane h3 {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.c1b1bd-lane-tag {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  border: 1px solid rgba(169, 169, 169, 0.45);
  color: var(--c1b1bd-gray);
}

.c1b1bd-lane p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 248, 220, 0.72);
}

/* ---------- payment module ---------- */

.c1b1bd-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 13px;
}

.c1b1bd-channel {
  padding: 11px 12px;
  background: var(--c1b1bd-ink-tile);
  border: 1px solid #303030;
  border-radius: var(--c1b1bd-r-md);
}

.c1b1bd-channel h3 {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--c1b1bd-cornsilk);
}

.c1b1bd-channel h3 span {
  color: var(--c1b1bd-orange);
}

.c1b1bd-channel p {
  margin: 0;
  font-size: 11.3px;
  line-height: 1.55;
  color: rgba(255, 248, 220, 0.68);
}

.c1b1bd-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c1b1bd-checklist li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 1px;
  border-bottom: 1px dashed #3a3a3a;
  font-size: 12.3px;
  line-height: 1.58;
  color: rgba(255, 248, 220, 0.8);
}

.c1b1bd-checklist li:last-child {
  border-bottom: 0;
}

.c1b1bd-checklist svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--c1b1bd-mint);
}

/* ---------- scenario block ---------- */

.c1b1bd-scene {
  padding: 14px 14px 16px;
  background: #242019;
  border: 1px solid rgba(255, 149, 0, 0.3);
  border-radius: 14px;
}

.c1b1bd-scene-q {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--c1b1bd-tomato);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.5;
}

.c1b1bd-scene-a {
  margin: 0 0 12px;
  font-size: 12.8px;
  line-height: 1.7;
  color: rgba(255, 248, 220, 0.85);
}

.c1b1bd-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c1b1bd-step;
}

.c1b1bd-steps li {
  position: relative;
  counter-increment: c1b1bd-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 12.3px;
  line-height: 1.6;
  color: rgba(255, 248, 220, 0.8);
}

.c1b1bd-steps li::before {
  content: counter(c1b1bd-step);
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c1b1bd-orange);
  color: #241a05;
  font-size: 11px;
  font-weight: 800;
}

.c1b1bd-scene-tail {
  margin: 10px 0 0;
  font-size: 11.8px;
  line-height: 1.6;
  color: #9a9382;
}

/* ---------- extended footer (home only) ---------- */

.c1b1bd-xfoot {
  margin: 28px calc(-1 * var(--c1b1bd-gutter)) 0;
  padding: 18px var(--c1b1bd-gutter) 16px;
  background: var(--c1b1bd-ink-low);
  border-top: 1px solid var(--c1b1bd-line-soft);
}

.c1b1bd-xfoot-brand {
  margin: 0 0 14px;
  font-size: 12.3px;
  line-height: 1.7;
  color: rgba(255, 248, 220, 0.72);
}

.c1b1bd-xfoot-brand strong {
  color: var(--c1b1bd-cornsilk);
}

.c1b1bd-xlabel {
  margin: 0 2px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c1b1bd-gray);
}

.c1b1bd-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 16px;
}

.c1b1bd-dir a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 40px;
  padding: 8px 10px;
  background: #232323;
  border: 1px solid #323232;
  border-radius: 10px;
  color: var(--c1b1bd-cornsilk);
  font-size: 11.8px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.16s ease;
}

.c1b1bd-dir a svg {
  flex: 0 0 auto;
  color: #6d6d6d;
}

.c1b1bd-xpromos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.c1b1bd-xpromo {
  min-height: 42px;
  padding: 9px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  border: 1px solid rgba(255, 149, 0, 0.5);
  background: rgba(255, 149, 0, 0.1);
  color: var(--c1b1bd-orange);
  font-size: 11.8px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 0.16s ease, background 0.16s ease;
}

.c1b1bd-xpromo:active {
  transform: translateY(1px);
  background: rgba(255, 149, 0, 0.2);
}

.c1b1bd-xpromo--main {
  grid-column: span 2;
  background: var(--c1b1bd-orange);
  color: #241a05;
  min-height: 46px;
  font-size: 13px;
}

.c1b1bd-xpromo-note {
  margin: -6px 1px 14px;
  font-size: 10.8px;
  line-height: 1.55;
  color: #8d8d8d;
}

.c1b1bd-xfoot-legal {
  margin: 0;
  padding-top: 11px;
  border-top: 1px dashed #3a3a3a;
  font-size: 10.8px;
  line-height: 1.6;
  color: #8b8b8b;
}

/* ---------- common copyright footer ---------- */

.c1b1bd-foot {
  margin: 0 calc(-1 * var(--c1b1bd-gutter));
  padding: 12px var(--c1b1bd-gutter) 6px;
  text-align: center;
  background: var(--c1b1bd-ink-low);
  border-top: 1px solid #2a2a2a;
  font-size: 11.3px;
  color: rgba(169, 169, 169, 0.85);
}

/* ---------- fixed dock (5 roles) ---------- */

.c1b1bd-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 45;
  width: 100%;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--c1b1bd-dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(23, 23, 23, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid #343434;
}

.c1b1bd-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  background: none;
  border: 0;
  text-decoration: none;
  color: #8f8f8f;
  transition: transform 0.2s ease, color 0.2s ease;
}

.c1b1bd-dock-item span {
  font-size: 9.8px;
  font-weight: 800;
  letter-spacing: 0.35px;
}

.c1b1bd-dock-item svg {
  width: 21px;
  height: 21px;
}

.c1b1bd-dock-item:active {
  transform: scale(0.94);
}

.c1b1bd-dock-item.is-active {
  color: var(--c1b1bd-orange);
  transform: translateY(-3px);
}

.c1b1bd-dock-item.is-active::after {
  content: "";
  position: absolute;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c1b1bd-orange);
}

.c1b1bd-dock-item--promo {
  color: var(--c1b1bd-tomato);
}

/* ---------- reveal micro-motion (JS gated) ---------- */

.c1b1bd-js .c1b1bd-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.c1b1bd-js .c1b1bd-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- width tuning ---------- */

@media (min-width: 375px) {
  :root {
    --c1b1bd-gutter: 15px;
  }

  .c1b1bd-h1 {
    font-size: 23px;
  }

  .c1b1bd-grid {
    gap: 9px;
  }

  .c1b1bd-tile-name {
    font-size: 11.4px;
    min-height: 29px;
  }

  .c1b1bd-carousel {
    aspect-ratio: 16 / 8;
  }
}

@media (min-width: 430px) {
  .c1b1bd-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .c1b1bd-tile-name {
    font-size: 11.8px;
  }

  .c1b1bd-carousel {
    aspect-ratio: 16 / 7.4;
  }

  .c1b1bd-slide-title {
    font-size: 20px;
  }

  .c1b1bd-dir {
    gap: 8px;
  }
}

@media (min-width: 520px) {
  .c1b1bd-shell {
    box-shadow: 0 0 0 1px #2e2e2e, 0 0 60px rgba(0, 0, 0, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .c1b1bd-js .c1b1bd-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- help page structures ---------- */
.c1b1bd-help-hero {
  padding: 15px 14px 16px;
  margin: 2px 0 17px;
  background: linear-gradient(135deg, #302818 0%, #202020 62%, #1b2821 100%);
  border: 1px solid rgba(255, 149, 0, 0.42);
  border-radius: 16px;
}

.c1b1bd-help-hero .c1b1bd-h1 {
  font-size: 22px;
}

.c1b1bd-help-hero .c1b1bd-lead {
  margin-top: 8px;
  margin-bottom: 0;
}

.c1b1bd-rail {
  display: grid;
  gap: 9px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.c1b1bd-rail li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px 11px;
  background: #242424;
  border-left: 3px solid var(--c1b1bd-orange);
  border-radius: 0 11px 11px 0;
}

.c1b1bd-rail-num {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: rgba(255, 149, 0, 0.16);
  color: var(--c1b1bd-orange);
  font-size: 11px;
  font-weight: 900;
}

.c1b1bd-rail strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12.5px;
  color: var(--c1b1bd-cornsilk);
}

.c1b1bd-rail span:last-child {
  display: block;
  font-size: 11.8px;
  line-height: 1.58;
  color: rgba(255, 248, 220, 0.7);
}

.c1b1bd-safety-band {
  display: grid;
  gap: 8px;
  padding: 13px;
  background: #30211d;
  border: 1px solid rgba(255, 99, 71, 0.48);
  border-radius: 13px;
}

.c1b1bd-safety-band h3 {
  margin: 0;
  color: #ff9b86;
  font-size: 14px;
}

.c1b1bd-safety-band p {
  margin: 0;
  color: rgba(255, 248, 220, 0.78);
  font-size: 12px;
  line-height: 1.65;
}

.c1b1bd-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c1b1bd-fact {
  min-width: 0;
  padding: 11px;
  background: #222222;
  border: 1px solid #343434;
  border-radius: 11px;
}

.c1b1bd-fact:nth-child(3) {
  border-color: rgba(186, 255, 201, 0.34);
}

.c1b1bd-fact h3 {
  margin: 0 0 4px;
  font-size: 12.5px;
  line-height: 1.35;
}

.c1b1bd-fact p {
  margin: 0;
  color: rgba(255, 248, 220, 0.68);
  font-size: 11.5px;
  line-height: 1.55;
}

.c1b1bd-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.c1b1bd-action-row .c1b1bd-btn {
  flex: 1 1 132px;
  min-height: 44px;
}

.c1b1bd-link-stack {
  display: grid;
  gap: 7px;
  margin: 0;
}

.c1b1bd-link-stack a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 11px;
  color: var(--c1b1bd-cornsilk);
  background: #232323;
  border: 1px solid #343434;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.c1b1bd-link-stack a::after {
  content: "->";
  color: var(--c1b1bd-orange);
  font-weight: 900;
}

.c1b1bd-summary-line {
  margin: 0;
  padding: 12px 13px;
  color: rgba(255, 248, 220, 0.8);
  background: #1f2c24;
  border: 1px solid rgba(186, 255, 201, 0.34);
  border-radius: 11px;
  font-size: 12.2px;
  line-height: 1.68;
}

.c1b1bd-use-table {
  display: grid;
  gap: 7px;
}

.c1b1bd-use-row {
  display: grid;
  grid-template-columns: minmax(76px, 0.72fr) minmax(0, 1.4fr);
  gap: 9px;
  padding: 10px 11px;
  background: #222222;
  border-bottom: 1px solid #373737;
}

.c1b1bd-use-row strong {
  font-size: 12px;
  color: var(--c1b1bd-orange);
}

.c1b1bd-use-row span {
  font-size: 11.6px;
  line-height: 1.58;
  color: rgba(255, 248, 220, 0.72);
}

/* Guide uses a sequential route rather than the about page's fact grid. */
.c1b1bd-route {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
}

.c1b1bd-route::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: linear-gradient(var(--c1b1bd-orange), rgba(255, 99, 71, 0.2));
}

.c1b1bd-route-card {
  position: relative;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 11px 12px 8px;
  background: #242424;
  border: 1px solid #373737;
  border-radius: 12px;
}

.c1b1bd-route-pin {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  margin: 1px 0 0 4px;
  border: 2px solid var(--c1b1bd-orange);
  border-radius: 50%;
  background: var(--c1b1bd-ink);
  color: var(--c1b1bd-orange);
  font-size: 11px;
  font-weight: 900;
}

.c1b1bd-route-card h3 {
  margin: 0 0 3px;
  font-size: 13px;
  line-height: 1.35;
}

.c1b1bd-route-card p {
  margin: 0;
  color: rgba(255, 248, 220, 0.72);
  font-size: 11.8px;
  line-height: 1.63;
}

.c1b1bd-route-card em {
  display: inline-block;
  margin-top: 6px;
  color: var(--c1b1bd-mint);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
}

.c1b1bd-symptoms {
  display: grid;
  gap: 7px;
}

.c1b1bd-symptom {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  background: #211f1c;
  border: 1px solid #3a332a;
}

.c1b1bd-symptom strong {
  color: #ffb36a;
  font-size: 11.5px;
}

.c1b1bd-symptom span {
  color: rgba(255, 248, 220, 0.72);
  font-size: 11.5px;
  line-height: 1.55;
}

.c1b1bd-criteria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.c1b1bd-criteria article {
  padding: 10px 8px;
  background: #202b25;
  border-top: 2px solid var(--c1b1bd-mint);
  border-radius: 9px;
}

.c1b1bd-criteria h3 {
  margin: 0 0 4px;
  font-size: 11.5px;
}

.c1b1bd-criteria p {
  margin: 0;
  color: rgba(255, 248, 220, 0.68);
  font-size: 10.8px;
  line-height: 1.48;
}

.c1b1bd-qa-list {
  display: grid;
  gap: 8px;
}

.c1b1bd-qa {
  padding: 11px 12px 12px;
  background: #242424;
  border-radius: 11px;
  border-left: 3px solid var(--c1b1bd-tomato);
}

.c1b1bd-qa h3 {
  margin: 0 0 5px;
  font-size: 12.5px;
  line-height: 1.45;
}

.c1b1bd-qa p {
  margin: 0;
  color: rgba(255, 248, 220, 0.74);
  font-size: 11.7px;
  line-height: 1.62;
}

@media (max-width: 350px) {
  .c1b1bd-fact-grid,
  .c1b1bd-criteria {
    grid-template-columns: 1fr;
  }

  .c1b1bd-use-row,
  .c1b1bd-symptom {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
