/* ==========================================================================
   MP Casino - display-mobile-c7761d.css
   Mobile-first stylesheet for mpcasino.click (en-PH).
   Canvas: 320-430px phone layout, centered phone frame on wider screens.
   All classes and custom properties use the shell61d0a- prefix.

   Design language:
   - technical-feel headings over open body text
   - low-radius, border-separated section blocks
   - horizontal icon + name game bars (wide tracks, controlled wrapping)
   - step-advancing information rhythm
   - short-distance section transitions
   - staggered primary / secondary CTA sizes
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom properties
   -------------------------------------------------------------------------- */
:root {
  --shell61d0a-bg: #0c0c0c;
  --shell61d0a-bg-deep: #060606;
  --shell61d0a-panel: #141414;
  --shell61d0a-panel-2: #1a1a1a;
  --shell61d0a-line: #2b2b2b;
  --shell61d0a-line-soft: #222222;
  --shell61d0a-ink: #ffef94;
  --shell61d0a-ink-dim: rgba(255, 239, 148, 0.74);
  --shell61d0a-ink-faint: rgba(255, 239, 148, 0.55);
  --shell61d0a-amber: #ffb347;
  --shell61d0a-amber-deep: #e69a2e;
  --shell61d0a-sky: #87ceeb;
  --shell61d0a-royal: #6495ed;
  --shell61d0a-royal-deep: #4a6fd4;
  --shell61d0a-font-head: "Bahnschrift", "DIN Alternate", "Franklin Gothic Medium", "Arial Narrow", system-ui, sans-serif;
  --shell61d0a-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell61d0a-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --shell61d0a-radius: 6px;
  --shell61d0a-radius-sm: 4px;
  --shell61d0a-top-h: 56px;
  --shell61d0a-rail-h: 64px;
  --shell61d0a-gap: 8px;
  --shell61d0a-pad: 16px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--shell61d0a-font-body);
  font-size: 15px;
  line-height: 1.62;
  color: var(--shell61d0a-ink);
  background-color: var(--shell61d0a-bg-deep);
  background-image:
    radial-gradient(420px 260px at 12% -60px, rgba(100, 149, 237, 0.16), transparent 70%),
    radial-gradient(420px 280px at 88% 120px, rgba(255, 179, 71, 0.1), transparent 70%);
  background-repeat: no-repeat;
}

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

h1,
h2,
h3 {
  font-family: var(--shell61d0a-font-head);
  color: var(--shell61d0a-ink);
  margin: 0 0 10px;
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h2 {
  font-size: 19px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h3 {
  font-size: 15px;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 12px;
}

a {
  color: var(--shell61d0a-sky);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

::selection {
  background: var(--shell61d0a-amber);
  color: #1a1206;
}

/* --------------------------------------------------------------------------
   3. Phone canvas
   -------------------------------------------------------------------------- */
.shell61d0a-canvas {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--shell61d0a-bg);
  box-shadow: 0 0 0 1px rgba(255, 239, 148, 0.06), 0 18px 60px rgba(0, 0, 0, 0.6);
  overflow-x: clip;
}

.shell61d0a-skip {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--shell61d0a-amber);
  color: #1a1206;
  font-family: var(--shell61d0a-font-mono);
  font-size: 12px;
  border-radius: var(--shell61d0a-radius-sm);
  transition: top 0.18s ease;
}

.shell61d0a-skip:focus {
  top: 8px;
}

/* --------------------------------------------------------------------------
   4. Top bar: minimal title + action band
   -------------------------------------------------------------------------- */
.shell61d0a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 90;
  background: rgba(12, 12, 12, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell61d0a-line);
}

.shell61d0a-topbar__in {
  display: flex;
  align-items: center;
  gap: var(--shell61d0a-gap);
  min-height: var(--shell61d0a-top-h);
  padding: 8px 12px;
}

.shell61d0a-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
  color: var(--shell61d0a-ink);
}

.shell61d0a-brand:hover {
  text-decoration: none;
}

.shell61d0a-brand__logo {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--shell61d0a-radius-sm);
  border: 1px solid var(--shell61d0a-line);
  object-fit: cover;
}

.shell61d0a-brand__name {
  font-family: var(--shell61d0a-font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.shell61d0a-brand__name b {
  color: var(--shell61d0a-amber);
  font-weight: 700;
}

.shell61d0a-topbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* Staggered CTA sizes: primary wide, ghost compact */
.shell61d0a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--shell61d0a-font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--shell61d0a-radius-sm);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

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

.shell61d0a-btn--primary {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 13px;
  background: var(--shell61d0a-amber);
  color: #1a1206;
}

.shell61d0a-btn--primary:hover {
  background: var(--shell61d0a-amber-deep);
  text-decoration: none;
}

.shell61d0a-btn--ghost {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--shell61d0a-ink);
  border: 1px solid var(--shell61d0a-line);
  background: var(--shell61d0a-panel);
}

.shell61d0a-btn--ghost:hover {
  border-color: var(--shell61d0a-sky);
  color: var(--shell61d0a-sky);
  text-decoration: none;
}

.shell61d0a-topbar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--shell61d0a-line);
  border-radius: var(--shell61d0a-radius-sm);
  background: var(--shell61d0a-panel);
  color: var(--shell61d0a-ink);
}

.shell61d0a-topbar__toggle svg {
  width: 20px;
  height: 20px;
}

.shell61d0a-topbar__toggle--open {
  border-color: var(--shell61d0a-amber);
  color: var(--shell61d0a-amber);
}

/* --------------------------------------------------------------------------
   5. Expandable navigation panel
   -------------------------------------------------------------------------- */
.shell61d0a-menu {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  background: var(--shell61d0a-panel);
  border-top: 1px solid transparent;
  transition: max-height 0.26s ease, visibility 0.26s;
}

.shell61d0a-menu--open {
  max-height: 620px;
  visibility: visible;
  border-top-color: var(--shell61d0a-line);
}

.shell61d0a-menu__group {
  padding: 10px 12px 4px;
}

.shell61d0a-menu__group + .shell61d0a-menu__group {
  border-top: 1px solid var(--shell61d0a-line-soft);
}

.shell61d0a-menu__label {
  margin: 0 0 4px;
  font-family: var(--shell61d0a-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell61d0a-royal);
}

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

.shell61d0a-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: var(--shell61d0a-radius-sm);
  color: var(--shell61d0a-ink);
  font-size: 13px;
  background: transparent;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.shell61d0a-menu__link::after {
  content: ">";
  font-family: var(--shell61d0a-font-mono);
  color: var(--shell61d0a-ink-faint);
  font-size: 12px;
}

.shell61d0a-menu__link:hover,
.shell61d0a-menu__link:focus-visible {
  background: var(--shell61d0a-panel-2);
  color: var(--shell61d0a-amber);
  text-decoration: none;
}

.shell61d0a-menu__link--home {
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   6. Main column and shared section rhythm
   -------------------------------------------------------------------------- */
.shell61d0a-main {
  padding-top: calc(var(--shell61d0a-top-h) + 10px);
  /* keep clear of the fixed bottom rail */
  padding-bottom: calc(var(--shell61d0a-rail-h) + 20px + env(safe-area-inset-bottom, 0px));
}

.shell61d0a-block {
  border-top: 1px solid var(--shell61d0a-line);
  padding: 24px var(--shell61d0a-pad) 26px;
  scroll-margin-top: calc(var(--shell61d0a-top-h) + 12px);
  animation: shell61d0a-rise 0.32s ease both;
}

.shell61d0a-eyebrow {
  display: block;
  margin: 0 0 6px;
  font-family: var(--shell61d0a-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shell61d0a-amber);
}

.shell61d0a-eyebrow--sky {
  color: var(--shell61d0a-sky);
}

.shell61d0a-eyebrow--royal {
  color: var(--shell61d0a-royal);
}

.shell61d0a-lede {
  color: var(--shell61d0a-ink-dim);
  font-size: 14px;
}

.shell61d0a-note {
  font-size: 12.5px;
  color: var(--shell61d0a-ink-faint);
}

@keyframes shell61d0a-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   7. Hero and promo carousel
   -------------------------------------------------------------------------- */
.shell61d0a-hero {
  padding: 2px var(--shell61d0a-pad) 0;
}

.shell61d0a-hero__head {
  padding: 6px 0 14px;
}

.shell61d0a-hero__head p {
  color: var(--shell61d0a-ink-dim);
  font-size: 13.5px;
  margin: 0;
}

.shell61d0a-carousel {
  border: 1px solid var(--shell61d0a-line);
  border-radius: var(--shell61d0a-radius);
  overflow: hidden;
  background: var(--shell61d0a-panel);
}

.shell61d0a-carousel__viewport {
  overflow: hidden;
}

.shell61d0a-carousel__track {
  display: flex;
  transition: transform 0.42s ease;
}

.shell61d0a-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.shell61d0a-slide__tap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.shell61d0a-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell61d0a-slide__veil {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0) 0%, rgba(6, 6, 6, 0.88) 78%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.shell61d0a-slide__text {
  min-width: 0;
  text-align: left;
}

.shell61d0a-slide__title {
  display: block;
  font-family: var(--shell61d0a-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shell61d0a-ink);
}

.shell61d0a-slide__sub {
  display: block;
  font-size: 11.5px;
  color: var(--shell61d0a-ink-dim);
  line-height: 1.4;
}

.shell61d0a-slide__chip {
  flex: none;
  font-family: var(--shell61d0a-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1206;
  background: var(--shell61d0a-amber);
  border-radius: var(--shell61d0a-radius-sm);
  padding: 7px 10px;
}

.shell61d0a-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 0 10px;
  border-top: 1px solid var(--shell61d0a-line-soft);
}

.shell61d0a-carousel__dot {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: var(--shell61d0a-line);
  transition: background-color 0.2s ease;
}

.shell61d0a-carousel__dot--on {
  background: var(--shell61d0a-amber);
}

/* --------------------------------------------------------------------------
   8. Step band (step-advancing rhythm)
   -------------------------------------------------------------------------- */
.shell61d0a-steps__list {
  counter-reset: shell61d0a-step;
  margin-top: 14px;
}

.shell61d0a-steps__item {
  counter-increment: shell61d0a-step;
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
}

.shell61d0a-steps__item + .shell61d0a-steps__item {
  border-top: 1px dashed var(--shell61d0a-line);
}

.shell61d0a-steps__num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--shell61d0a-line);
  border-radius: var(--shell61d0a-radius-sm);
  background: var(--shell61d0a-panel);
  font-family: var(--shell61d0a-font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--shell61d0a-amber);
}

.shell61d0a-steps__item:nth-child(2) .shell61d0a-steps__num {
  color: var(--shell61d0a-sky);
}

.shell61d0a-steps__item:nth-child(3) .shell61d0a-steps__num {
  color: var(--shell61d0a-royal);
}

.shell61d0a-steps__title {
  display: block;
  font-family: var(--shell61d0a-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--shell61d0a-ink);
  margin: 2px 0 3px;
}

.shell61d0a-steps__item p {
  font-size: 13px;
  color: var(--shell61d0a-ink-dim);
  margin: 0 0 8px;
}

.shell61d0a-steps__item .shell61d0a-btn {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   9. Category jump rail
   -------------------------------------------------------------------------- */
.shell61d0a-catrail {
  display: flex;
  gap: var(--shell61d0a-gap);
  padding: 10px var(--shell61d0a-pad) 6px;
  border-top: 1px solid var(--shell61d0a-line);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shell61d0a-catrail::-webkit-scrollbar {
  display: none;
}

.shell61d0a-catrail__chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--shell61d0a-line);
  border-radius: var(--shell61d0a-radius-sm);
  background: var(--shell61d0a-panel);
  font-family: var(--shell61d0a-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell61d0a-ink-dim);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.shell61d0a-catrail__chip:hover,
.shell61d0a-catrail__chip:focus-visible {
  border-color: var(--shell61d0a-amber);
  color: var(--shell61d0a-amber);
  text-decoration: none;
}

.shell61d0a-catrail__chip i {
  font-style: normal;
  color: var(--shell61d0a-amber);
}

/* --------------------------------------------------------------------------
   10. Game grid: horizontal icon + name bars
   --------------------------------------------------------------------------
   Wide tracks are intentional: the site card form is a horizontal
   icon-name strip, so fewer, wider columns replace the usual 4-up icon
   mosaic. Names wrap up to two controlled lines.
   -------------------------------------------------------------------------- */
.shell61d0a-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--shell61d0a-gap);
  margin-top: 14px;
}

.shell61d0a-gamebar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  padding: 8px;
  text-align: left;
  background: var(--shell61d0a-panel);
  border: 1px solid var(--shell61d0a-line-soft);
  border-radius: var(--shell61d0a-radius);
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.shell61d0a-gamebar:hover {
  border-color: var(--shell61d0a-amber);
  background: var(--shell61d0a-panel-2);
}

.shell61d0a-gamebar:active {
  transform: translateY(1px);
}

.shell61d0a-gamebar__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--shell61d0a-radius-sm);
  object-fit: cover;
  background: #222;
  border: 1px solid var(--shell61d0a-line-soft);
}

.shell61d0a-gamebar__name {
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shell61d0a-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.shell61d0a-sectionfoot {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--shell61d0a-ink-faint);
}

/* --------------------------------------------------------------------------
   11. Content modules
   -------------------------------------------------------------------------- */
/* Security checklist */
.shell61d0a-checklist {
  margin-top: 12px;
}

.shell61d0a-checklist li {
  position: relative;
  padding: 9px 8px 9px 34px;
  font-size: 13.5px;
  color: var(--shell61d0a-ink-dim);
  border-bottom: 1px solid var(--shell61d0a-line-soft);
}

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

.shell61d0a-checklist li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 15px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--shell61d0a-sky);
  border-bottom: 2px solid var(--shell61d0a-sky);
  transform: rotate(-45deg);
}

.shell61d0a-checklist b {
  color: var(--shell61d0a-ink);
}

/* Session milestone track */
.shell61d0a-track {
  margin-top: 12px;
  padding-left: 6px;
}

.shell61d0a-track li {
  position: relative;
  padding: 0 0 16px 26px;
  border-left: 2px solid var(--shell61d0a-line);
}

.shell61d0a-track li:last-child {
  padding-bottom: 2px;
}

.shell61d0a-track li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--shell61d0a-bg);
  border: 2px solid var(--shell61d0a-royal);
}

.shell61d0a-track li:nth-child(2)::before {
  border-color: var(--shell61d0a-sky);
}

.shell61d0a-track li:nth-child(3)::before {
  border-color: var(--shell61d0a-amber);
}

.shell61d0a-track li:nth-child(4)::before {
  background: var(--shell61d0a-amber);
  border-color: var(--shell61d0a-amber);
}

.shell61d0a-track__tag {
  display: block;
  font-family: var(--shell61d0a-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell61d0a-ink-faint);
  margin-bottom: 2px;
}

.shell61d0a-track__title {
  display: block;
  font-family: var(--shell61d0a-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.shell61d0a-track li p {
  font-size: 13px;
  color: var(--shell61d0a-ink-dim);
  margin: 3px 0 0;
}

/* Takeaway summary cards */
.shell61d0a-takeaways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--shell61d0a-gap);
  margin-top: 12px;
}

.shell61d0a-takeaways li {
  padding: 12px 11px;
  background: var(--shell61d0a-panel);
  border: 1px solid var(--shell61d0a-line-soft);
  border-left: 2px solid var(--shell61d0a-amber);
  border-radius: var(--shell61d0a-radius-sm);
}

.shell61d0a-takeaways li:nth-child(2) {
  border-left-color: var(--shell61d0a-sky);
}

.shell61d0a-takeaways li:nth-child(3) {
  border-left-color: var(--shell61d0a-royal);
}

.shell61d0a-takeaways li:nth-child(4) {
  border-left-color: var(--shell61d0a-amber);
}

.shell61d0a-takeaways b {
  display: block;
  font-family: var(--shell61d0a-font-head);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.shell61d0a-takeaways span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--shell61d0a-ink-dim);
}

/* Direct answer block */
.shell61d0a-answer {
  background: var(--shell61d0a-panel);
}

.shell61d0a-answer__card {
  padding: 14px var(--shell61d0a-pad) 6px;
  border-left: 3px solid var(--shell61d0a-sky);
  background: var(--shell61d0a-panel-2);
  border-radius: 0 var(--shell61d0a-radius) var(--shell61d0a-radius) 0;
  margin-bottom: 14px;
}

.shell61d0a-answer__card p:first-child {
  color: var(--shell61d0a-ink);
  font-weight: 600;
}

.shell61d0a-answer__card p {
  font-size: 13.5px;
  color: var(--shell61d0a-ink-dim);
}

/* Inline promo link inside body copy */
.shell61d0a-promolink {
  font-family: var(--shell61d0a-font-head);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--shell61d0a-amber);
  border-bottom: 1px dashed var(--shell61d0a-amber);
}

.shell61d0a-promolink:hover {
  color: var(--shell61d0a-ink);
  border-bottom-color: var(--shell61d0a-ink);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   12. Extended footer (home only)
   -------------------------------------------------------------------------- */
.shell61d0a-ext {
  border-top: 2px solid var(--shell61d0a-amber);
  background: var(--shell61d0a-panel);
  padding: 22px var(--shell61d0a-pad) 24px;
}

.shell61d0a-ext__brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.shell61d0a-ext__brand img {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--shell61d0a-radius-sm);
  border: 1px solid var(--shell61d0a-line);
}

.shell61d0a-ext__brand h2 {
  font-size: 14px;
  margin: 0 0 3px;
}

.shell61d0a-ext__brand p {
  font-size: 12px;
  color: var(--shell61d0a-ink-dim);
  margin: 0;
}

.shell61d0a-ext__promoLabel {
  display: block;
  margin: 0 0 8px;
  font-family: var(--shell61d0a-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shell61d0a-ink-faint);
}

.shell61d0a-ext__promos {
  display: flex;
  gap: var(--shell61d0a-gap);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shell61d0a-ext__promos::-webkit-scrollbar {
  display: none;
}

.shell61d0a-ext__promos .shell61d0a-btn {
  flex: none;
  min-height: 44px;
}

.shell61d0a-ext__promos .shell61d0a-btn--primary {
  padding: 10px 20px;
  font-size: 13.5px;
}

.shell61d0a-ext__promos .shell61d0a-btn--ghost {
  padding: 10px 14px;
  font-size: 12px;
}

.shell61d0a-ext__directory {
  margin-top: 18px;
  border-top: 1px solid var(--shell61d0a-line-soft);
  padding-top: 14px;
}

.shell61d0a-ext__dirGroup {
  margin-bottom: 12px;
}

.shell61d0a-ext__dirLabel {
  display: block;
  font-family: var(--shell61d0a-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell61d0a-royal);
  margin-bottom: 6px;
}

.shell61d0a-ext__dirList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}

.shell61d0a-ext__dirList a {
  display: block;
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 12.5px;
  color: var(--shell61d0a-ink-dim);
}

.shell61d0a-ext__dirList a:hover {
  color: var(--shell61d0a-amber);
}

.shell61d0a-ext__disclaimer {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px dashed var(--shell61d0a-line);
  border-radius: var(--shell61d0a-radius-sm);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shell61d0a-ink-faint);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.shell61d0a-footer {
  border-top: 1px solid var(--shell61d0a-line);
  padding: 18px var(--shell61d0a-pad) 20px;
  text-align: center;
}

.shell61d0a-footer p {
  margin: 0;
  font-family: var(--shell61d0a-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--shell61d0a-ink-faint);
}

/* --------------------------------------------------------------------------
   14. Bottom navigation rail
   -------------------------------------------------------------------------- */
.shell61d0a-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 95;
  display: flex;
  align-items: stretch;
  min-height: calc(var(--shell61d0a-rail-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell61d0a-line);
}

.shell61d0a-rail__item {
  position: relative;
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: var(--shell61d0a-rail-h);
  color: var(--shell61d0a-ink-faint);
  padding: 6px 2px;
}

/* Active state: background support block behind the item */
.shell61d0a-rail__item::before {
  content: "";
  position: absolute;
  inset: 7px 6px;
  border-radius: var(--shell61d0a-radius);
  background: transparent;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.shell61d0a-rail__item:hover::before,
.shell61d0a-rail__item:focus-visible::before {
  background: rgba(255, 239, 148, 0.06);
}

.shell61d0a-rail__item--on {
  color: var(--shell61d0a-amber);
}

.shell61d0a-rail__item--on::before {
  background: rgba(255, 179, 71, 0.14);
  border-color: rgba(255, 179, 71, 0.4);
}

.shell61d0a-rail__item--on .shell61d0a-rail__label {
  color: var(--shell61d0a-ink);
  opacity: 1;
}

.shell61d0a-rail__icon {
  position: relative;
  width: 22px;
  height: 22px;
}

.shell61d0a-rail__icon svg {
  width: 100%;
  height: 100%;
}

/* Label reveal micro-interaction */
.shell61d0a-rail__label {
  position: relative;
  font-family: var(--shell61d0a-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}

.shell61d0a-rail__item:hover .shell61d0a-rail__label {
  opacity: 1;
}

.shell61d0a-rail__item--on .shell61d0a-rail__label {
  letter-spacing: 0.14em;
}

/* --------------------------------------------------------------------------
   15. Larger phone canvas tiers
   -------------------------------------------------------------------------- */
/* 375px and up: denser game grid, roomier type */
@media (min-width: 375px) {
  .shell61d0a-games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shell61d0a-gamebar {
    min-height: 60px;
  }

  .shell61d0a-gamebar__icon {
    width: 42px;
    height: 42px;
  }

  .shell61d0a-gamebar__name {
    font-size: 12px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .shell61d0a-takeaways span {
    font-size: 12.5px;
  }
}

/* 430px and up: still the same phone canvas, wider bars and airier hero */
@media (min-width: 430px) {
  .shell61d0a-canvas {
    max-width: 480px;
  }

  :root {
    --shell61d0a-pad: 20px;
  }

  .shell61d0a-games {
    gap: 10px;
  }

  .shell61d0a-gamebar {
    min-height: 64px;
    gap: 10px;
  }

  .shell61d0a-gamebar__icon {
    width: 46px;
    height: 46px;
  }

  .shell61d0a-gamebar__name {
    font-size: 12.5px;
  }

  .shell61d0a-slide__title {
    font-size: 16.5px;
  }

  .shell61d0a-slide__sub {
    font-size: 12.5px;
  }

  .shell61d0a-ext__dirList {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shell61d0a-takeaways span {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   16. Motion and contrast preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .shell61d0a-carousel__track {
    transition: none;
  }
}

@media (prefers-contrast: more) {
  .shell61d0a-ink-dim,
  .shell61d0a-ink-faint {
    color: var(--shell61d0a-ink);
  }

  .shell61d0a-gamebar,
  .shell61d0a-takeaways li {
    border-color: var(--shell61d0a-ink-faint);
  }
}

/* --------------------------------------------------------------------------
   17. Help page components (FAQ question rows, route cards)
   -------------------------------------------------------------------------- */
/* Question / answer rows */
.shell61d0a-qa {
  margin-top: 12px;
  border-top: 1px solid var(--shell61d0a-line);
}

.shell61d0a-qa__item {
  padding: 13px 0;
  border-bottom: 1px solid var(--shell61d0a-line-soft);
}

.shell61d0a-qa__item:last-child {
  border-bottom: 0;
}

.shell61d0a-qa__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--shell61d0a-font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--shell61d0a-ink);
}

.shell61d0a-qa__q i {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-style: normal;
  font-family: var(--shell61d0a-font-mono);
  font-size: 11px;
  color: var(--shell61d0a-amber);
  background: var(--shell61d0a-panel);
  border: 1px solid var(--shell61d0a-line);
  border-radius: var(--shell61d0a-radius-sm);
}

.shell61d0a-qa__a {
  position: relative;
  margin: 8px 0 0;
  padding: 0 0 0 32px;
  font-size: 13px;
  color: var(--shell61d0a-ink-dim);
}

.shell61d0a-qa__a i {
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-style: normal;
  font-family: var(--shell61d0a-font-mono);
  font-size: 11px;
  color: var(--shell61d0a-sky);
  border: 1px dashed var(--shell61d0a-line);
  border-radius: var(--shell61d0a-radius-sm);
}

.shell61d0a-qa__a a,
.shell61d0a-qa__a .shell61d0a-promolink {
  white-space: nowrap;
}

/* Route cards for the download guide */
.shell61d0a-routes {
  display: grid;
  gap: var(--shell61d0a-gap);
  margin-top: 12px;
}

.shell61d0a-route {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 12px;
  background: var(--shell61d0a-panel);
  border: 1px solid var(--shell61d0a-line-soft);
  border-left: 3px solid var(--shell61d0a-royal);
  border-radius: var(--shell61d0a-radius-sm);
}

.shell61d0a-route:nth-child(2) {
  border-left-color: var(--shell61d0a-sky);
}

.shell61d0a-route:nth-child(3) {
  border-left-color: var(--shell61d0a-amber);
}

.shell61d0a-route svg {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--shell61d0a-royal);
}

.shell61d0a-route:nth-child(2) svg {
  color: var(--shell61d0a-sky);
}

.shell61d0a-route:nth-child(3) svg {
  color: var(--shell61d0a-amber);
}

.shell61d0a-route__title {
  display: block;
  margin-bottom: 2px;
  font-family: var(--shell61d0a-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--shell61d0a-ink);
}

.shell61d0a-route p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell61d0a-ink-dim);
}

@media (min-width: 430px) {
  .shell61d0a-routes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shell61d0a-qa__q {
    font-size: 14px;
  }

  .shell61d0a-qa__a {
    font-size: 13.5px;
  }
}
