/* ==========================================================================
   777 Casino Login — viewport responsive base stylesheet
   File   : css/viewport-responsive-617c77.css
   Prefix : c7c771-  (classes)  /  --c7c771-  (custom properties)
   Palette: #1A1A1A ink  |  #8B008B magenta  |  #C0C0C0 silver  |  #FFB3FF blush
   Canvas : 320-430px mobile first, centered phone shell on wide screens
   Voice  : humanist serif headings + clear sans body, stroke-led corners,
            pure-image game cards, scenario-branch rhythm, icon micro-moves,
            light-rounded text CTA groups.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --c7c771-ink: #1A1A1A;            /* page background */
  --c7c771-ink-raise: #202020;      /* raised panels   */
  --c7c771-ink-sink: #161616;       /* recessed strips */
  --c7c771-ink-deep: #141414;       /* footer chrome   */
  --c7c771-magenta: #8B008B;        /* brand accent    */
  --c7c771-magenta-soft: rgba(139, 0, 139, 0.18);
  --c7c771-silver: #C0C0C0;         /* primary text    */
  --c7c771-silver-dim: #A6A6A6;     /* secondary text  */
  --c7c771-silver-faint: #8E8E8E;   /* muted text      */
  --c7c771-blush: #FFB3FF;          /* highlight       */
  --c7c771-blush-soft: rgba(255, 179, 255, 0.4);
  --c7c771-line: rgba(192, 192, 192, 0.22);
  --c7c771-line-faint: rgba(192, 192, 192, 0.14);
  --c7c771-line-accent: rgba(255, 179, 255, 0.3);
  --c7c771-heading-font: Georgia, "Palatino Linotype", "Times New Roman", serif;
  --c7c771-body-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --c7c771-radius-lg: 12px;
  --c7c771-radius: 9px;
  --c7c771-radius-sm: 6px;
  --c7c771-topbar-h: 58px;
  --c7c771-bnav-h: 64px;
  --c7c771-tap: 44px;
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: #0d0d0d;
  color: var(--c7c771-silver);
  font-family: var(--c7c771-body-font);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

ul, ol { list-style: none; }

a { color: var(--c7c771-blush); text-decoration: none; }

a:hover { text-decoration: underline; }

button {
  font-family: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--c7c771-magenta); color: #ffffff; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--c7c771-blush);
  outline-offset: 2px;
  border-radius: var(--c7c771-radius-sm);
}

/* Phone shell stays centered when the viewport grows past 430px. */
.c7c771-shell {
  max-width: 480px;
  margin: 0 auto;
  background: var(--c7c771-ink);
  min-height: 100vh;
  min-height: 100dvh;
  box-shadow: 0 0 0 1px rgba(192, 192, 192, 0.07), 0 0 46px rgba(0, 0, 0, 0.65);
  position: relative;
}

/* Body lock while the full-height menu layer is open. */
.c7c771-noscroll { overflow: hidden; }

/* Skip link for keyboard users. */
.c7c771-skip {
  position: fixed;
  top: -70px;
  left: 12px;
  z-index: 120;
  background: var(--c7c771-blush);
  color: var(--c7c771-ink);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--c7c771-radius);
  transition: top 0.2s ease;
}

.c7c771-skip:focus { top: 10px; }

/* --------------------------------------------------------------------------
   3. Top identity bar (centered brand + side action zones)
   -------------------------------------------------------------------------- */
.c7c771-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 480px;
  height: var(--c7c771-topbar-h);
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: rgba(24, 24, 24, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c7c771-line-accent);
  z-index: 90;
}

.c7c771-burger {
  width: var(--c7c771-tap);
  height: var(--c7c771-tap);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: var(--c7c771-radius-sm);
}

.c7c771-burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--c7c771-silver);
  transition: transform 0.2s ease, width 0.2s ease, background 0.2s ease;
}

.c7c771-burger:hover span { background: var(--c7c771-blush); }

.c7c771-burger span:nth-child(2) { width: 14px; }

.c7c771-burger:hover span:nth-child(2) { width: 19px; }

.c7c771-burger:active span { background: var(--c7c771-blush); }

.c7c771-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.c7c771-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--c7c771-radius-sm);
  border: 1px solid var(--c7c771-blush-soft);
  flex: none;
}

.c7c771-brand-name {
  font-family: var(--c7c771-heading-font);
  font-size: 15.5px;
  letter-spacing: 0.02em;
  color: #F0F0F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c7c771-brand-name b { color: var(--c7c771-blush); font-weight: 700; }

.c7c771-actions { display: flex; align-items: center; gap: 7px; }

.c7c771-action {
  min-height: 40px;
  padding: 0 13px;
  border-radius: var(--c7c771-radius);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.c7c771-action--ghost {
  border: 1px solid rgba(192, 192, 192, 0.42);
  color: var(--c7c771-silver);
  background: transparent;
}

.c7c771-action--ghost:hover {
  border-color: var(--c7c771-blush-soft);
  color: var(--c7c771-blush);
}

.c7c771-action--solid {
  background: var(--c7c771-magenta);
  border: 1px solid var(--c7c771-blush-soft);
  color: var(--c7c771-blush);
}

.c7c771-action--solid:hover { background: #9c0d9c; }

.c7c771-action:active { transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   4. Full-height menu layer
   -------------------------------------------------------------------------- */
.c7c771-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 480px;
  background: rgba(17, 17, 17, 0.985);
  border-right: 1px solid var(--c7c771-line);
  z-index: 110;
  overflow-y: auto;
  padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 28px);
  transform: translateX(-104%);
  transition: transform 0.3s ease;
  visibility: hidden;
}

.c7c771-menu.c7c771-open {
  transform: translateX(0);
  visibility: visible;
}

.c7c771-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c7c771-line);
}

.c7c771-menu-title {
  font-family: var(--c7c771-heading-font);
  font-size: 17px;
  color: #F0F0F0;
}

.c7c771-menu-close {
  width: var(--c7c771-tap);
  height: var(--c7c771-tap);
  border-radius: var(--c7c771-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c7c771-silver);
  border: 1px solid var(--c7c771-line);
}

.c7c771-menu-close:hover { color: var(--c7c771-blush); border-color: var(--c7c771-blush-soft); }

.c7c771-menu-close svg { width: 16px; height: 16px; }

.c7c771-mgroup { padding: 14px 0 4px; border-bottom: 1px solid var(--c7c771-line-faint); }

.c7c771-mlabel {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c7c771-blush);
  padding: 0 10px 8px;
}

.c7c771-mlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 10px;
  border-left: 2px solid transparent;
  border-radius: var(--c7c771-radius-sm);
  color: var(--c7c771-silver);
  font-size: 13.5px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.c7c771-mlink::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c7c771-magenta);
  flex: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.c7c771-mlink:hover,
.c7c771-mlink:active {
  background: var(--c7c771-magenta-soft);
  border-left-color: var(--c7c771-blush);
  color: var(--c7c771-blush);
  text-decoration: none;
}

.c7c771-mlink:hover::before { transform: translateY(-1px); background: var(--c7c771-blush); }

/* Active page: contrast inversion. */
.c7c771-mlink.c7c771-current {
  background: var(--c7c771-blush);
  color: var(--c7c771-ink);
  font-weight: 700;
}

.c7c771-mlink.c7c771-current::before { background: var(--c7c771-ink); }

.c7c771-menu-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--c7c771-silver-faint);
  padding: 0 10px;
}

/* --------------------------------------------------------------------------
   5. Main column + shared section rhythm
   -------------------------------------------------------------------------- */
.c7c771-main {
  padding: calc(var(--c7c771-topbar-h) + 14px) 14px 8px;
  max-width: 480px;
}

.c7c771-module { margin-top: 30px; border-top: 1px solid var(--c7c771-line); padding-top: 18px; }

.c7c771-h2 {
  font-family: var(--c7c771-heading-font);
  font-size: 20px;
  line-height: 1.3;
  color: #F2F2F2;
  padding-left: 10px;
  border-left: 3px solid var(--c7c771-magenta);
}

.c7c771-module p { font-size: 13.4px; line-height: 1.66; color: #C7C7C7; margin-top: 11px; }

.c7c771-module p strong { color: #E9E9E9; }

.c7c771-textlink {
  color: var(--c7c771-blush);
  border-bottom: 1px solid var(--c7c771-blush-soft);
  font-weight: 600;
}

.c7c771-textlink:hover { text-decoration: none; border-bottom-color: var(--c7c771-blush); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.c7c771-hero { text-align: center; padding-top: 4px; }

.c7c771-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c7c771-blush);
  border: 1px solid var(--c7c771-blush-soft);
  border-radius: var(--c7c771-radius-sm);
  padding: 4px 10px;
  margin-bottom: 12px;
}

.c7c771-h1 {
  font-family: var(--c7c771-heading-font);
  font-size: clamp(23px, 6.6vw, 28px);
  line-height: 1.24;
  color: #F5F5F5;
  text-wrap: balance;
}

.c7c771-hero-lead {
  font-size: 13.6px;
  line-height: 1.66;
  color: var(--c7c771-silver-dim);
  margin: 12px auto 0;
  max-width: 38ch;
}

.c7c771-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.c7c771-cta {
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--c7c771-radius);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease;
}

.c7c771-cta--primary {
  background: var(--c7c771-magenta);
  color: var(--c7c771-blush);
  border: 1px solid var(--c7c771-blush-soft);
}

.c7c771-cta--primary:hover { background: #9c0d9c; }

.c7c771-cta--plain {
  background: transparent;
  color: var(--c7c771-silver);
  border: 1px solid rgba(192, 192, 192, 0.42);
}

.c7c771-cta--plain:hover { color: var(--c7c771-blush); border-color: var(--c7c771-blush-soft); }

.c7c771-cta:active { transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   7. Promo carousel
   -------------------------------------------------------------------------- */
.c7c771-carousel { margin-top: 20px; }

.c7c771-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--c7c771-line);
  border-radius: var(--c7c771-radius-lg);
  overflow: hidden;
  background: var(--c7c771-ink-raise);
}

.c7c771-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.c7c771-slide.c7c771-slide--on { opacity: 1; z-index: 1; }

.c7c771-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c7c771-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 12px 11px;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.55) 38%, rgba(26, 26, 26, 0.92) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.c7c771-slide-caption strong {
  font-family: var(--c7c771-heading-font);
  font-size: 15px;
  color: var(--c7c771-blush);
}

.c7c771-slide-caption p {
  font-size: 11.8px;
  line-height: 1.5;
  color: var(--c7c771-silver);
  max-width: 34ch;
}

.c7c771-slide-chip {
  margin-top: 7px;
  padding: 7px 12px;
  border: 1px solid var(--c7c771-blush-soft);
  border-radius: var(--c7c771-radius-sm);
  background: rgba(26, 26, 26, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--c7c771-blush);
  font-size: 11.3px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, transform 0.15s ease;
}

.c7c771-slide:hover .c7c771-slide-chip { background: var(--c7c771-magenta); }

.c7c771-slide:active .c7c771-slide-chip { transform: translateY(-2px); }

.c7c771-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 9px 0 2px;
}

.c7c771-dot {
  width: 30px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--c7c771-radius-sm);
}

.c7c771-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--c7c771-silver-dim);
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.c7c771-dot:hover::after { border-color: var(--c7c771-blush); }

.c7c771-dot.c7c771-dot--on::after {
  background: var(--c7c771-blush);
  border-color: var(--c7c771-blush);
  transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   8. Game lobby
   -------------------------------------------------------------------------- */
.c7c771-lobby { margin-top: 30px; }

.c7c771-lobby-intro {
  font-size: 13.4px;
  line-height: 1.66;
  color: #C7C7C7;
  margin-top: 11px;
}

.c7c771-cat { margin-top: 26px; }

.c7c771-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--c7c771-line);
  padding-bottom: 7px;
}

.c7c771-h3 {
  font-family: var(--c7c771-heading-font);
  font-size: 16.5px;
  color: var(--c7c771-blush);
  line-height: 1.3;
}

.c7c771-cat-count {
  flex: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c7c771-silver-faint);
  border: 1px solid var(--c7c771-line);
  border-radius: var(--c7c771-radius-sm);
  padding: 2px 8px;
}

.c7c771-cat-note {
  font-size: 12.6px;
  line-height: 1.6;
  color: var(--c7c771-silver-dim);
  margin-top: 9px;
}

/* Pure-image game cards, short name under the artwork. */
.c7c771-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  margin-top: 12px;
}

.c7c771-game {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 5px 3px 6px;
  border: 1px solid transparent;
  border-radius: var(--c7c771-radius);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.c7c771-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(192, 192, 192, 0.16);
  background: var(--c7c771-ink-raise);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.c7c771-game-name {
  font-size: 10.8px;
  line-height: 1.28;
  text-align: center;
  color: #B9B9B9;
  min-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.16s ease;
}

.c7c771-game:hover,
.c7c771-game:focus-visible {
  border-color: var(--c7c771-blush-soft);
  text-decoration: none;
}

.c7c771-game:hover .c7c771-game-name,
.c7c771-game:focus-visible .c7c771-game-name { color: var(--c7c771-blush); }

.c7c771-game:hover img { border-color: rgba(255, 179, 255, 0.45); }

.c7c771-game:active { transform: translateY(-2px); }

.c7c771-game:active img { transform: translateY(-1px); border-color: var(--c7c771-blush); }

/* --------------------------------------------------------------------------
   9. Features grid (scannable 2-col tiles)
   -------------------------------------------------------------------------- */
.c7c771-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.c7c771-feat {
  border: 1px solid var(--c7c771-line);
  border-radius: 10px;
  padding: 11px 10px 12px;
  background: linear-gradient(180deg, var(--c7c771-magenta-soft) 0%, rgba(26, 26, 26, 0) 78%);
}

.c7c771-feat strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.6px;
  color: var(--c7c771-blush);
  line-height: 1.3;
}

.c7c771-feat strong::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--c7c771-magenta);
  border: 1px solid var(--c7c771-blush-soft);
  transform: rotate(45deg);
}

.c7c771-feat p {
  font-size: 11.9px !important;
  line-height: 1.55 !important;
  color: #BDBDBD;
  margin-top: 7px !important;
}

/* --------------------------------------------------------------------------
   10. Scenario branches (game tricks)
   -------------------------------------------------------------------------- */
.c7c771-branch {
  border: 1px solid var(--c7c771-line);
  border-left: 3px solid var(--c7c771-magenta);
  border-radius: 10px;
  background: var(--c7c771-ink-raise);
  padding: 12px 12px 13px;
  margin-top: 12px;
}

.c7c771-branch-tag {
  display: inline-block;
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c7c771-blush);
  border: 1px solid var(--c7c771-blush-soft);
  border-radius: var(--c7c771-radius-sm);
  padding: 4px 9px;
  margin-bottom: 9px;
}

.c7c771-branch p { font-size: 12.8px; line-height: 1.62; color: #C3C3C3; margin-top: 0; }

/* --------------------------------------------------------------------------
   11. Decision checklist
   -------------------------------------------------------------------------- */
.c7c771-checklist { margin-top: 14px; }

.c7c771-checkitem {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 10px 2px 11px;
  border-bottom: 1px dashed var(--c7c771-line-faint);
}

.c7c771-checkitem:last-child { border-bottom: 0; }

.c7c771-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid rgba(192, 192, 192, 0.62);
  border-radius: 5px;
  position: relative;
  flex: none;
}

.c7c771-checkbox::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--c7c771-blush);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.c7c771-checkitem strong { display: block; font-size: 12.9px; color: #DEDEDE; line-height: 1.35; }

.c7c771-checkitem span { display: block; font-size: 12.2px; line-height: 1.55; color: var(--c7c771-silver-dim); margin-top: 2px; }

/* --------------------------------------------------------------------------
   12. FAQ (details/summary)
   -------------------------------------------------------------------------- */
.c7c771-faq { border: 1px solid var(--c7c771-line); border-radius: 10px; background: var(--c7c771-ink-raise); margin-top: 10px; overflow: hidden; }

.c7c771-faq summary {
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  font-size: 13.1px;
  font-weight: 600;
  color: #D6D6D6;
  cursor: pointer;
}

.c7c771-faq summary::-webkit-details-marker { display: none; }

.c7c771-faq summary::after {
  content: "+";
  flex: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--c7c771-blush);
  transition: transform 0.2s ease;
}

.c7c771-faq[open] summary { color: var(--c7c771-blush); border-bottom: 1px solid var(--c7c771-line-faint); }

.c7c771-faq[open] summary::after { transform: rotate(45deg); }

.c7c771-faq-a {
  padding: 10px 12px 13px;
  font-size: 12.7px;
  line-height: 1.62;
  color: #BDBDBD;
}

/* --------------------------------------------------------------------------
   13. Extended footer zone (brand > directory > promotions > disclaimer)
   -------------------------------------------------------------------------- */
.c7c771-xf {
  margin-top: 36px;
  border-top: 1px solid var(--c7c771-line-accent);
  background: var(--c7c771-ink-sink);
  padding: 20px 14px 4px;
}

.c7c771-xf-h2 {
  font-family: var(--c7c771-heading-font);
  font-size: 18px;
  line-height: 1.32;
  color: #F0F0F0;
  padding-left: 10px;
  border-left: 3px solid var(--c7c771-magenta);
}

.c7c771-xf-brand { font-size: 12.8px; line-height: 1.64; color: #BDBDBD; margin-top: 11px; }

.c7c771-xf-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c7c771-blush);
  margin-top: 22px;
  padding-bottom: 8px;
}

.c7c771-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 14px;
  border-top: 1px solid var(--c7c771-line-faint);
}

.c7c771-dir a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  font-size: 12.1px;
  color: var(--c7c771-silver);
  border-bottom: 1px dashed var(--c7c771-line-faint);
  padding: 0 2px;
}

.c7c771-dir a::before {
  content: "\203A";
  color: var(--c7c771-blush);
  font-weight: 700;
  transition: transform 0.15s ease;
}

.c7c771-dir a:hover { color: var(--c7c771-blush); text-decoration: none; }

.c7c771-dir a:hover::before { transform: translateY(-1px); }

.c7c771-xf-cta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  border-top: 1px solid var(--c7c771-line-faint);
  padding-top: 4px;
}

.c7c771-shortcut {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--c7c771-blush-soft);
  border-radius: 10px;
  background: var(--c7c771-magenta-soft);
  color: var(--c7c771-blush);
  font-size: 12.1px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.c7c771-shortcut svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.16s ease;
}

.c7c771-shortcut:hover { background: var(--c7c771-magenta); text-decoration: none; }

.c7c771-shortcut:active { transform: translateY(-2px); }

.c7c771-shortcut:active svg { transform: translateY(-1px); }

.c7c771-xf-note {
  font-size: 11.4px;
  line-height: 1.6;
  color: var(--c7c771-silver-faint);
  border-top: 1px dashed var(--c7c771-line-faint);
  margin-top: 20px;
  padding: 13px 2px 16px;
}

/* --------------------------------------------------------------------------
   14. Common footer (copyright only)
   -------------------------------------------------------------------------- */
.c7c771-footer {
  background: var(--c7c771-ink-deep);
  border-top: 1px solid var(--c7c771-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--c7c771-silver-faint);
  padding: 18px 16px calc(var(--c7c771-bnav-h) + env(safe-area-inset-bottom, 0px) + 24px);
}

/* --------------------------------------------------------------------------
   15. Bottom navigation (segmented action bar)
   -------------------------------------------------------------------------- */
.c7c771-bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: 480px;
  height: calc(var(--c7c771-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(15, 15, 15, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c7c771-line-accent);
  z-index: 80;
}

.c7c771-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-left: 1px solid rgba(192, 192, 192, 0.1);
  color: #A9A9A9;
  font-size: 9.8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding-top: 2px;
}

.c7c771-bnav-item:first-child { border-left: 0; }

.c7c771-bnav-item svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.c7c771-bnav-item:active svg { transform: translateY(-2px); }

.c7c771-bnav-item:hover { color: var(--c7c771-silver); text-decoration: none; }

/* Active role: contrast inversion + lifted icon. */
.c7c771-bnav-item.c7c771-bnav-on {
  background: var(--c7c771-blush);
  color: var(--c7c771-ink);
  border-radius: 10px 10px 0 0;
  margin-top: -6px;
  padding-top: 8px;
  box-shadow: 0 -8px 16px rgba(255, 179, 255, 0.18);
}

.c7c771-bnav-item.c7c771-bnav-on svg { transform: translateY(-2px); stroke-width: 2; }

/* --------------------------------------------------------------------------
   16. Breakpoints (320 base -> 375 -> 430 -> desktop shell)
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .c7c771-brand-name { font-size: 13.5px; }
  .c7c771-action { padding: 0 10px; font-size: 11.8px; }
  .c7c771-cta { padding: 0 16px; }
}

@media (min-width: 375px) {
  .c7c771-grid { gap: 14px 10px; }
  .c7c771-game-name { font-size: 11.2px; }
  .c7c771-hero-lead { max-width: 42ch; }
  .c7c771-slide-caption p { max-width: 40ch; }
}

@media (min-width: 430px) {
  .c7c771-grid { grid-template-columns: repeat(5, 1fr); }
  .c7c771-main { padding-left: 18px; padding-right: 18px; }
  .c7c771-xf { padding-left: 18px; padding-right: 18px; }
  .c7c771-module p { font-size: 13.6px; }
}

@media (min-width: 481px) {
  .c7c771-topbar { border-left: 1px solid var(--c7c771-line); border-right: 1px solid var(--c7c771-line); }
  .c7c771-bnav { border-left: 1px solid var(--c7c771-line); border-right: 1px solid var(--c7c771-line); }
}

/* Help-page layouts keep instructions readable without changing the lobby grid. */
.c7c771-help-lead { margin: 13px 0 0; color: var(--c7c771-silver-dim); font-size: 13.6px; line-height: 1.68; }
.c7c771-step-list { counter-reset: c7c771-step; margin-top: 14px; }
.c7c771-step-list li { counter-increment: c7c771-step; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--c7c771-line-faint); }
.c7c771-step-list li::before { content: counter(c7c771-step, decimal-leading-zero); color: var(--c7c771-blush); font-family: var(--c7c771-heading-font); font-size: 17px; }
.c7c771-step-list strong { display: block; color: #E9E9E9; font-size: 13px; }
.c7c771-step-list span { display: block; margin-top: 3px; color: var(--c7c771-silver-dim); font-size: 12.5px; line-height: 1.58; }
.c7c771-callout { margin-top: 14px; padding: 13px; border: 1px solid var(--c7c771-line-accent); border-left: 3px solid var(--c7c771-magenta); border-radius: var(--c7c771-radius); background: linear-gradient(135deg, var(--c7c771-magenta-soft), transparent 70%); }
.c7c771-callout strong { color: var(--c7c771-blush); font-family: var(--c7c771-heading-font); }
.c7c771-callout p { margin-top: 6px; }
.c7c771-help-grid { display: grid; grid-template-columns: 1fr; gap: 11px; margin-top: 13px; }
.c7c771-help-panel { padding: 12px; border-top: 2px solid var(--c7c771-magenta); background: var(--c7c771-ink-raise); }
.c7c771-help-panel h3 { font-family: var(--c7c771-heading-font); color: var(--c7c771-blush); font-size: 16px; }
.c7c771-help-panel p, .c7c771-help-panel li { color: var(--c7c771-silver-dim); font-size: 12.7px; line-height: 1.62; }
.c7c771-help-panel ul { list-style: disc; padding-left: 19px; margin-top: 8px; }
.c7c771-help-panel li + li { margin-top: 5px; }
.c7c771-answer-list { margin-top: 12px; border-top: 1px solid var(--c7c771-line); }
.c7c771-answer { padding: 13px 0; border-bottom: 1px dashed var(--c7c771-line-faint); }
.c7c771-answer h3 { color: #E5E5E5; font-size: 13.4px; line-height: 1.4; }
.c7c771-answer p { margin-top: 6px; color: var(--c7c771-silver-dim); font-size: 12.8px; line-height: 1.64; }
.c7c771-answer p a, .c7c771-help-panel a { color: var(--c7c771-blush); border-bottom: 1px solid var(--c7c771-blush-soft); }
.c7c771-help-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.c7c771-help-actions .c7c771-cta { flex: 1 1 145px; text-align: center; }
@media (max-width: 359px) { .c7c771-help-actions .c7c771-cta { padding-left: 10px; padding-right: 10px; } }

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