/* ==========================================================================
   phmacaocasino.click - adaptive interface stylesheet
   file: css/adaptive-b632d5-interface.css
   canvas: 320-430px mobile frame, centered on wide screens
   palette: navy #000080 / slate #34495E / cornflower #6495ED /
            silver #BBBBBB / powder #B0E0E6 / rose #B03060
   all classes and variables carry the shell632d5- prefix
   ========================================================================== */

:root {
  --shell632d5-navy: #000080;
  --shell632d5-navy-deep: #060a3d;
  --shell632d5-slate: #34495e;
  --shell632d5-corn: #6495ed;
  --shell632d5-silver: #bbbbbb;
  --shell632d5-powder: #b0e0e6;
  --shell632d5-rose: #b03060;
  --shell632d5-ink: #eaf3ff;
  --shell632d5-line: rgba(176, 224, 230, 0.16);
  --shell632d5-line-strong: rgba(100, 149, 237, 0.4);
  --shell632d5-glass: rgba(52, 73, 94, 0.42);
  --shell632d5-font-head: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shell632d5-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shell632d5-r-tight: 5px;
  --shell632d5-r-card: 10px;
  --shell632d5-r-wide: 14px;
  --shell632d5-r-pill: 999px;
  --shell632d5-bar-h: 58px;
  --shell632d5-dock-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(100, 149, 237, 0.22), transparent 60%),
    #04062e;
  color: var(--shell632d5-ink);
  font-family: var(--shell632d5-font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

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

a { color: var(--shell632d5-powder); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--shell632d5-powder);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--shell632d5-corn); color: #04062e; }

/* --------------------------------------------------------------------------
   page frame: one centered phone canvas up to 430px
   -------------------------------------------------------------------------- */

.shell632d5-page {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(0, 0, 128, 0.95) 0%, rgba(52, 73, 94, 0.92) 34%, #060a3d 100%);
  box-shadow: 0 0 0 1px rgba(100, 149, 237, 0.16), 0 18px 60px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

.shell632d5-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(176, 224, 230, 0.028) 0 1px,
    transparent 1px 96px
  );
}

.shell632d5-main {
  padding: 0 14px 26px;
}

/* --------------------------------------------------------------------------
   fixed tab-style top bar
   -------------------------------------------------------------------------- */

.shell632d5-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(4, 6, 46, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell632d5-line-strong);
}

.shell632d5-tabrow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell632d5-bar-h);
  padding: 8px 10px;
}

.shell632d5-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  min-width: 0;
}

.shell632d5-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--shell632d5-r-tight);
  border: 1px solid var(--shell632d5-line-strong);
  flex: 0 0 auto;
}

.shell632d5-brandname {
  font-family: var(--shell632d5-font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shell632d5-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell632d5-brandname::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 1px;
  background: linear-gradient(90deg, var(--shell632d5-corn), transparent);
}

.shell632d5-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.shell632d5-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: var(--shell632d5-r-pill);
  font-family: var(--shell632d5-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.shell632d5-cta--register {
  background: linear-gradient(135deg, #c94a7c, var(--shell632d5-rose) 60%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(176, 48, 96, 0.4);
}

.shell632d5-cta--login {
  background: rgba(100, 149, 237, 0.12);
  border-color: var(--shell632d5-line-strong);
  color: var(--shell632d5-powder);
}

.shell632d5-cta:active {
  filter: brightness(1.18);
  box-shadow: 0 0 12px rgba(176, 224, 230, 0.55);
}

.shell632d5-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: rgba(100, 149, 237, 0.1);
  border: 1px solid var(--shell632d5-line-strong);
  border-radius: var(--shell632d5-r-card);
  cursor: pointer;
}

.shell632d5-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--shell632d5-powder);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shell632d5-burger span:nth-child(2) { width: 75%; }

/* --------------------------------------------------------------------------
   side drawer menu + scrim
   -------------------------------------------------------------------------- */

.shell632d5-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(3, 5, 30, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.shell632d5-scrim[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.shell632d5-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: min(84%, 316px);
  background: linear-gradient(180deg, #05073a 0%, #101a4a 100%);
  border-right: 1px solid var(--shell632d5-line-strong);
  transform: translateX(-102%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 18px;
}

.shell632d5-drawer[data-open="true"] {
  transform: none;
  box-shadow: 14px 0 40px rgba(0, 0, 0, 0.55);
}

.shell632d5-drawerhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--shell632d5-line);
}

.shell632d5-drawerhead img {
  width: 30px;
  height: 30px;
  border-radius: var(--shell632d5-r-tight);
  border: 1px solid var(--shell632d5-line-strong);
}

.shell632d5-drawerhead strong {
  font-family: var(--shell632d5-font-head);
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-right: auto;
}

.shell632d5-drawerclose {
  width: 40px;
  height: 40px;
  border-radius: var(--shell632d5-r-tight);
  border: 1px solid var(--shell632d5-line-strong);
  background: rgba(100, 149, 237, 0.12);
  color: var(--shell632d5-powder);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.shell632d5-drawergroup {
  margin: 14px 12px 0;
  padding: 4px 10px 10px;
  border: 1px solid var(--shell632d5-line);
  border-radius: var(--shell632d5-r-wide);
  background: rgba(52, 73, 94, 0.28);
}

.shell632d5-drawergroup h3 {
  margin: 8px 4px 6px;
  font-family: var(--shell632d5-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell632d5-corn);
}

.shell632d5-drawerlinks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shell632d5-drawerlinks a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: var(--shell632d5-r-card);
  font-size: 14px;
  color: var(--shell632d5-ink);
}

.shell632d5-drawerlinks a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--shell632d5-corn);
  flex: 0 0 auto;
}

.shell632d5-drawerlinks a:hover,
.shell632d5-drawerlinks a:focus-visible {
  background: rgba(100, 149, 237, 0.16);
  text-decoration: none;
}

.shell632d5-drawercta {
  margin: 14px 12px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell632d5-drawercta .shell632d5-cta { width: 100%; }

/* --------------------------------------------------------------------------
   hero band + single H1
   -------------------------------------------------------------------------- */

.shell632d5-hero {
  padding: calc(var(--shell632d5-bar-h) + 18px) 0 6px;
}

.shell632d5-herotag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 5px 11px;
  border: 1px solid var(--shell632d5-line-strong);
  border-radius: var(--shell632d5-r-pill);
  background: rgba(100, 149, 237, 0.12);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell632d5-powder);
}

.shell632d5-herotag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shell632d5-rose);
  box-shadow: 0 0 8px rgba(176, 48, 96, 0.9);
}

.shell632d5-h1 {
  margin: 0 0 10px;
  font-family: var(--shell632d5-font-head);
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: #fff;
}

.shell632d5-h1 mark {
  background: linear-gradient(transparent 68%, rgba(100, 149, 237, 0.55) 68%);
  color: inherit;
  padding: 0 2px;
}

.shell632d5-herosub {
  margin: 0;
  color: var(--shell632d5-silver);
  font-size: 13.5px;
}

.shell632d5-heropair {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
}

.shell632d5-heropair .shell632d5-cta { flex: 1 1 0; min-height: 46px; }

.shell632d5-statstrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 14px 0 4px;
  list-style: none;
  padding: 0;
}

.shell632d5-statstrip li {
  padding: 9px 6px;
  border: 1px solid var(--shell632d5-line);
  border-radius: var(--shell632d5-r-card);
  background: var(--shell632d5-glass);
  text-align: center;
}

.shell632d5-statstrip b {
  display: block;
  font-family: var(--shell632d5-font-head);
  font-size: 17px;
  color: var(--shell632d5-powder);
  font-variant-numeric: tabular-nums;
}

.shell632d5-statstrip small {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell632d5-silver);
}

/* --------------------------------------------------------------------------
   banner reel (3 local promo slides, snap scroll + js controls)
   -------------------------------------------------------------------------- */

.shell632d5-reelwrap {
  position: relative;
  margin: 16px 0 6px;
}

.shell632d5-reel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--shell632d5-r-wide);
  border: 1px solid var(--shell632d5-line-strong);
  background: var(--shell632d5-navy-deep);
}

.shell632d5-reel::-webkit-scrollbar { display: none; }

.shell632d5-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  cursor: pointer;
}

.shell632d5-slide img {
  width: 100%;
  aspect-ratio: 430 / 200;
  object-fit: cover;
}

.shell632d5-slidecaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 46, 0.94));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.shell632d5-slidecaption b {
  font-family: var(--shell632d5-font-head);
  font-size: 14.5px;
  color: #fff;
  display: block;
}

.shell632d5-slidecaption small {
  display: block;
  font-size: 11px;
  color: var(--shell632d5-powder);
  letter-spacing: 0.05em;
}

.shell632d5-slidego {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--shell632d5-rose);
  border-radius: var(--shell632d5-r-pill);
  padding: 6px 12px;
}

.shell632d5-reelnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--shell632d5-line-strong);
  background: rgba(4, 6, 46, 0.72);
  color: var(--shell632d5-powder);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shell632d5-reelnav--prev { left: 6px; }
.shell632d5-reelnav--next { right: 6px; }

.shell632d5-reelnav:active { box-shadow: 0 0 10px rgba(176, 224, 230, 0.6); }

.shell632d5-reeldots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.shell632d5-reeldots button {
  pointer-events: auto;
  width: 22px;
  height: 10px;
  border-radius: var(--shell632d5-r-pill);
  border: none;
  padding: 0;
  background: rgba(176, 224, 230, 0.32);
  cursor: pointer;
}

.shell632d5-reeldots button[aria-current="true"] {
  background: var(--shell632d5-powder);
  box-shadow: 0 0 8px rgba(176, 224, 230, 0.8);
}

/* --------------------------------------------------------------------------
   category quick rail
   -------------------------------------------------------------------------- */

.shell632d5-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 2px 4px;
  scrollbar-width: none;
  scroll-padding-left: 14px;
}

.shell632d5-rail::-webkit-scrollbar { display: none; }

.shell632d5-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  white-space: nowrap;
  border: 1px solid var(--shell632d5-line-strong);
  border-radius: var(--shell632d5-r-pill);
  background: rgba(100, 149, 237, 0.1);
  font-family: var(--shell632d5-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell632d5-powder);
}

.shell632d5-chip em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--shell632d5-silver);
  font-variant-numeric: tabular-nums;
}

.shell632d5-chip:active { background: rgba(176, 224, 230, 0.22); }

/* --------------------------------------------------------------------------
   game zones (live-casino / fishing / cards / hot / slot)
   -------------------------------------------------------------------------- */

.shell632d5-zone {
  margin-top: 22px;
  scroll-margin-top: calc(var(--shell632d5-bar-h) + 14px);
}

.shell632d5-zonehead {
  border-left: 3px solid var(--shell632d5-corn);
  padding: 2px 0 2px 10px;
  margin-bottom: 10px;
}

.shell632d5-zone--live .shell632d5-zonehead { border-left-color: var(--shell632d5-rose); }
.shell632d5-zone--fishing .shell632d5-zonehead { border-left-color: var(--shell632d5-powder); }
.shell632d5-zone--cards .shell632d5-zonehead { border-left-color: var(--shell632d5-corn); }
.shell632d5-zone--hot .shell632d5-zonehead { border-left-color: #ffb84d; }
.shell632d5-zone--slot .shell632d5-zonehead { border-left-color: #9fd67a; }

.shell632d5-eyebrow {
  margin: 0 0 4px;
  font-family: var(--shell632d5-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell632d5-corn);
}

.shell632d5-ztitle {
  margin: 0 0 6px;
  font-family: var(--shell632d5-font-head);
  font-size: 18.5px;
  line-height: 1.28;
  color: #fff;
}

.shell632d5-zmeta {
  margin: 0;
  font-size: 12px;
  color: var(--shell632d5-silver);
  line-height: 1.7;
}

.shell632d5-zmeta a { color: var(--shell632d5-powder); text-decoration: underline; text-underline-offset: 3px; }

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

.shell632d5-gcard {
  display: block;
  text-align: center;
  border-radius: var(--shell632d5-r-card);
  cursor: pointer;
}

.shell632d5-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell632d5-r-card);
  border: 1px solid var(--shell632d5-line);
  background: var(--shell632d5-navy-deep);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.shell632d5-gcard:hover img,
.shell632d5-gcard:focus-visible img {
  border-color: var(--shell632d5-corn);
  box-shadow: 0 0 12px rgba(100, 149, 237, 0.45);
}

.shell632d5-gcard:active img {
  transform: scale(0.96);
  box-shadow: 0 0 14px rgba(176, 224, 230, 0.55);
}

.shell632d5-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--shell632d5-powder);
  overflow-wrap: anywhere;
}

.shell632d5-gcard:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   editorial modules (guide / what-is / comparison / glossary)
   -------------------------------------------------------------------------- */

.shell632d5-modulerow {
  margin-top: 24px;
  padding: 16px 14px;
  border: 1px solid var(--shell632d5-line);
  border-radius: var(--shell632d5-r-wide);
  background: var(--shell632d5-glass);
}

.shell632d5-modulerow > h2 {
  margin: 0 0 8px;
  font-family: var(--shell632d5-font-head);
  font-size: 18px;
  line-height: 1.3;
  color: #fff;
}

.shell632d5-modulerow > p {
  margin: 0 0 10px;
  color: var(--shell632d5-ink);
  font-size: 13.5px;
}

.shell632d5-modulerow > p:last-child { margin-bottom: 0; }

.shell632d5-lead { color: #fff; }

.shell632d5-goallist {
  list-style: none;
  margin: 4px 0 10px;
  padding: 0;
}

.shell632d5-goallist li {
  position: relative;
  padding: 9px 10px 9px 34px;
  margin-bottom: 7px;
  border: 1px solid var(--shell632d5-line);
  border-radius: var(--shell632d5-r-card);
  background: rgba(4, 6, 46, 0.4);
  font-size: 13px;
}

.shell632d5-goallist li::before {
  content: attr(data-mark);
  position: absolute;
  left: 9px;
  top: 9px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shell632d5-r-tight);
  background: rgba(100, 149, 237, 0.25);
  color: var(--shell632d5-powder);
  font-family: var(--shell632d5-font-head);
  font-size: 10px;
  font-weight: 700;
}

.shell632d5-cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin: 6px 0 10px;
}

.shell632d5-cmp caption {
  caption-side: bottom;
  padding-top: 8px;
  font-size: 11px;
  color: var(--shell632d5-silver);
  text-align: left;
}

.shell632d5-cmp th,
.shell632d5-cmp td {
  padding: 8px 8px;
  text-align: left;
  border-bottom: 1px solid var(--shell632d5-line);
  vertical-align: top;
}

.shell632d5-cmp thead th {
  font-family: var(--shell632d5-font-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell632d5-corn);
  border-bottom-color: var(--shell632d5-line-strong);
}

.shell632d5-cmp tbody th {
  font-weight: 700;
  color: var(--shell632d5-powder);
  white-space: nowrap;
}

.shell632d5-gloss {
  margin: 6px 0 0;
  padding: 0;
}

.shell632d5-gloss dt {
  font-family: var(--shell632d5-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell632d5-powder);
  padding-top: 10px;
}

.shell632d5-gloss dt::before {
  content: "//";
  color: var(--shell632d5-corn);
  margin-right: 7px;
  font-size: 11px;
}

.shell632d5-gloss dd {
  margin: 3px 0 0;
  padding: 0 0 4px 22px;
  font-size: 13px;
  color: var(--shell632d5-ink);
}

/* --------------------------------------------------------------------------
   extended footer: brand > 5 promo actions > directory > disclaimer
   -------------------------------------------------------------------------- */

.shell632d5-xfooter {
  margin: 26px 14px 0;
  padding: 16px 14px 14px;
  border: 1px solid var(--shell632d5-line-strong);
  border-radius: var(--shell632d5-r-wide) var(--shell632d5-r-wide) 6px 6px;
  background: linear-gradient(180deg, rgba(0, 0, 128, 0.5), rgba(6, 10, 61, 0.9));
}

.shell632d5-xfooter h2 {
  margin: 0 0 8px;
  font-family: var(--shell632d5-font-head);
  font-size: 17px;
  color: #fff;
}

.shell632d5-xbrand {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--shell632d5-ink);
}

.shell632d5-xpromos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.shell632d5-xpromo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: var(--shell632d5-r-card);
  border: 1px solid rgba(176, 48, 96, 0.55);
  background: rgba(176, 48, 96, 0.16);
  color: #ffd9e6;
  font-family: var(--shell632d5-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: left;
}

.shell632d5-xpromo::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--shell632d5-rose);
  box-shadow: 0 0 8px rgba(176, 48, 96, 0.8);
}

.shell632d5-xpromo:nth-child(even)::before { background: var(--shell632d5-corn); box-shadow: 0 0 8px rgba(100, 149, 237, 0.8); }

.shell632d5-xpromo:active { box-shadow: 0 0 12px rgba(176, 224, 230, 0.5); }

.shell632d5-xdirhead {
  margin: 14px 0 8px;
  font-family: var(--shell632d5-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell632d5-corn);
}

.shell632d5-xdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shell632d5-xdir a {
  display: block;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--shell632d5-line);
  border-radius: var(--shell632d5-r-card);
  background: rgba(4, 6, 46, 0.5);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--shell632d5-ink);
}

.shell632d5-xdir a b {
  display: block;
  font-family: var(--shell632d5-font-head);
  font-size: 12.5px;
  color: var(--shell632d5-powder);
}

.shell632d5-xdir a:hover { border-color: var(--shell632d5-corn); text-decoration: none; }

.shell632d5-xnote {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-left: 3px solid #ffb84d;
  border-radius: 0 var(--shell632d5-r-tight) var(--shell632d5-r-tight) 0;
  background: rgba(255, 184, 77, 0.08);
  font-size: 11.5px;
  color: var(--shell632d5-silver);
}

/* --------------------------------------------------------------------------
   common copyright strip + fixed bottom dock (5 roles)
   -------------------------------------------------------------------------- */

.shell632d5-copyright {
  margin-top: 20px;
  padding: 14px 16px calc(var(--shell632d5-dock-h) + 26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--shell632d5-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--shell632d5-silver);
  letter-spacing: 0.04em;
}

.shell632d5-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(4, 6, 46, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell632d5-line-strong);
}

.shell632d5-dockbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border: none;
  border-radius: var(--shell632d5-r-card);
  background: transparent;
  color: var(--shell632d5-silver);
  font-family: var(--shell632d5-font-body);
  font-size: 10px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.shell632d5-dockbtn svg {
  width: 22px;
  height: 22px;
  color: currentColor;
}

.shell632d5-dockbtn span { white-space: nowrap; }

.shell632d5-dockbtn:active {
  color: #fff;
  box-shadow: 0 0 10px rgba(176, 224, 230, 0.45);
}

.shell632d5-docknow {
  background: rgba(100, 149, 237, 0.24);
  color: #fff;
}

.shell632d5-docknow svg { color: var(--shell632d5-powder); }

.shell632d5-dockpromo {
  color: #ffc7d9;
}

.shell632d5-dockpromo svg { color: var(--shell632d5-rose); }

/* --------------------------------------------------------------------------
   shared helpers
   -------------------------------------------------------------------------- */

.shell632d5-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--shell632d5-navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 var(--shell632d5-r-tight) 0;
  z-index: 100;
}

.shell632d5-skip:focus { left: 0; }

.shell632d5-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* wider phones: 5 game tiles per row once the canvas reaches 400px */
@media (min-width: 400px) {
  .shell632d5-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 9px; }
  .shell632d5-gname { font-size: 11.5px; }
}

/* at the 430px design edge: relax hero type and give the reel more height */
@media (min-width: 430px) {
  .shell632d5-h1 { font-size: 27px; }
  .shell632d5-herosub { font-size: 14px; }
  .shell632d5-slide img { aspect-ratio: 430 / 208; }
  .shell632d5-ztitle { font-size: 19.5px; }
}

/* compact phones down to 320px */
@media (max-width: 339px) {
  .shell632d5-brandname { font-size: 14px; }
  .shell632d5-cta { padding: 0 10px; font-size: 11.5px; }
  .shell632d5-h1 { font-size: 22px; }
  .shell632d5-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; }
  .shell632d5-xpromos { grid-template-columns: 1fr; }
  .shell632d5-xdir { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   help pages: feature ledger and faq case file use different shells
   -------------------------------------------------------------------------- */

.shell632d5-offset {
  padding-top: calc(var(--shell632d5-bar-h) + 16px);
}

.shell632d5-crumb {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--shell632d5-silver);
}

.shell632d5-crumb a {
  color: var(--shell632d5-powder);
}

.shell632d5-ledger {
  margin-top: 16px;
  padding: 14px 12px 12px;
  border: 1px solid var(--shell632d5-line-strong);
  border-radius: 6px 16px 6px 16px;
  background: rgba(6, 10, 61, 0.55);
  overflow-wrap: anywhere;
}

.shell632d5-ledger h2,
.shell632d5-casefile h2,
.shell632d5-remember h2 {
  margin: 0 0 8px;
  font-family: var(--shell632d5-font-head);
  font-size: 18px;
  line-height: 1.3;
  color: #fff;
}

.shell632d5-ledger p,
.shell632d5-casefile > p,
.shell632d5-remember p {
  margin: 0 0 10px;
  font-size: 13.5px;
}

.shell632d5-rulelist,
.shell632d5-notes,
.shell632d5-ticks {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.shell632d5-rulelist { counter-reset: shell632d5rule; }

.shell632d5-rulelist li {
  position: relative;
  margin: 0 0 8px;
  padding: 10px 10px 10px 46px;
  min-height: 44px;
  border-radius: 10px 4px 10px 4px;
  background: rgba(100, 149, 237, 0.1);
  border: 1px solid var(--shell632d5-line);
  font-size: 13px;
}

.shell632d5-rulelist li::before {
  counter-increment: shell632d5rule;
  content: counter(shell632d5rule, decimal-leading-zero);
  position: absolute;
  left: 8px;
  top: 12px;
  font-family: var(--shell632d5-font-head);
  font-size: 12px;
  color: var(--shell632d5-corn);
}

.shell632d5-split,
.shell632d5-branch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.shell632d5-split article {
  padding: 10px 12px;
  border-radius: 4px 12px 4px 12px;
  background: rgba(4, 6, 46, 0.55);
  border-top: 2px solid var(--shell632d5-rose);
}

.shell632d5-split article:nth-child(2n) { border-top-color: var(--shell632d5-powder); }

.shell632d5-split h3,
.shell632d5-branch h3,
.shell632d5-answer h3 {
  margin: 0 0 6px;
  font-family: var(--shell632d5-font-head);
  font-size: 14px;
  color: var(--shell632d5-powder);
}

.shell632d5-split p,
.shell632d5-branch p,
.shell632d5-answer p { margin: 0; font-size: 13.5px; }

.shell632d5-qledger { margin: 8px 0 0; }

.shell632d5-qledger dt {
  margin-top: 12px;
  font-family: var(--shell632d5-font-head);
  font-size: 14px;
  color: #fff;
}

.shell632d5-qledger dd {
  margin: 4px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(176, 224, 230, 0.08);
  font-size: 13.5px;
}

.shell632d5-payline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell632d5-payline li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
}

.shell632d5-payline b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50% 6px 50% 6px;
  background: rgba(176, 48, 96, 0.28);
  color: #fff;
  font-family: var(--shell632d5-font-head);
}

.shell632d5-casefile {
  margin-top: 18px;
  overflow-wrap: anywhere;
}

.shell632d5-casefile h2 {
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--shell632d5-line-strong);
  font-size: 17.5px;
}

.shell632d5-answer {
  margin: 0 0 10px;
  padding: 12px;
  border-radius: 16px 4px 16px 4px;
  background: linear-gradient(180deg, rgba(176, 48, 96, 0.18), rgba(4, 6, 46, 0.25));
  border: 1px solid rgba(176, 48, 96, 0.4);
}

.shell632d5-answer h3 { color: #ffd0e0; }

.shell632d5-branch div {
  padding: 10px 12px;
  border-left: 4px solid var(--shell632d5-corn);
  background: rgba(52, 73, 94, 0.35);
  border-radius: 0 12px 12px 0;
}

.shell632d5-branch div:nth-child(2) { border-left-color: var(--shell632d5-rose); }
.shell632d5-branch div:nth-child(3) { border-left-color: var(--shell632d5-powder); }

.shell632d5-symptom {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 13px;
}

.shell632d5-symptom tr {
  display: block;
  margin-bottom: 8px;
  border: 1px solid var(--shell632d5-line);
  border-radius: 8px;
  overflow: hidden;
}

.shell632d5-symptom th,
.shell632d5-symptom td {
  display: block;
  text-align: left;
  padding: 7px 10px;
}

.shell632d5-symptom th {
  background: rgba(100, 149, 237, 0.16);
  color: var(--shell632d5-powder);
  font-family: var(--shell632d5-font-head);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.shell632d5-ticks li {
  position: relative;
  margin: 0 0 6px;
  padding: 8px 8px 8px 32px;
  min-height: 44px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--shell632d5-line);
}

.shell632d5-ticks li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--shell632d5-powder);
  border-bottom: 2px solid var(--shell632d5-powder);
  transform: rotate(-45deg);
}

.shell632d5-remember {
  margin-top: 18px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(176, 224, 230, 0.1);
  border: 1px solid var(--shell632d5-line-strong);
}

.shell632d5-remember ol {
  margin: 8px 0 0;
  padding-left: 18px;
}

.shell632d5-remember li { margin-bottom: 8px; font-size: 13.5px; }

.shell632d5-notes li {
  margin: 0 0 7px;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid var(--shell632d5-line);
  background: rgba(4, 6, 46, 0.4);
  font-size: 13px;
}

.shell632d5-solo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.shell632d5-solo .shell632d5-cta { min-height: 44px; }
