/* ==========================================================================
   k666.homes — base shell stylesheet
   Class prefix : shelld8a9a-
   Canvas       : 320-430px mobile-first, centered as a phone canvas on wide
                  screens (max-width: 430px)
   Palette      : #212F3D base / #CD853F brass / #FFBF00 gold / #FF7F50 coral
                  / #FFFACD cream
   Feel         : poster-weight headings over narrow body text, near-square
                  corners, tool-like density, restrained fade feedback
   ========================================================================== */

:root {
  --shelld8a9a-bg: #212f3d;
  --shelld8a9a-bg-out: #141c26;
  --shelld8a9a-panel: #1a2531;
  --shelld8a9a-panel-2: #22303f;
  --shelld8a9a-line: #31445a;
  --shelld8a9a-line-soft: #2a3a4c;
  --shelld8a9a-brass: #cd853f;
  --shelld8a9a-gold: #ffbf00;
  --shelld8a9a-coral: #ff7f50;
  --shelld8a9a-cream: #fffacd;
  --shelld8a9a-text: #f2ecd8;
  --shelld8a9a-muted: #b3bfcc;
  --shelld8a9a-ink: #161d26;
  --shelld8a9a-radius: 3px;
  --shelld8a9a-head-h: 58px;
  --shelld8a9a-bnav-h: 60px;
  --shelld8a9a-font-head: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  --shelld8a9a-font-body: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- base ------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--shelld8a9a-bg-out);
  color: var(--shelld8a9a-text);
  font-family: var(--shelld8a9a-font-body);
  font-size: 13.5px;
  line-height: 1.75;
  min-height: 100vh;
}

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

a {
  color: var(--shelld8a9a-gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--shelld8a9a-font-head);
  color: var(--shelld8a9a-cream);
  margin: 0;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shelld8a9a-gold);
  outline-offset: 2px;
  border-radius: var(--shelld8a9a-radius);
}

/* Shared phone-canvas width for every top-level strip. */
.shelld8a9a-topbar,
.shelld8a9a-main,
.shelld8a9a-footer,
.shelld8a9a-bottomnav {
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- fixed top bar ---------------------------------------------- */

.shelld8a9a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 430;
  background: linear-gradient(180deg, #24334a 0%, var(--shelld8a9a-bg) 100%);
  border-bottom: 1px solid var(--shelld8a9a-line);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.38);
}

.shelld8a9a-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--shelld8a9a-head-h);
  padding: 0 10px;
}

/* Asymmetric brand block: clipped corner + brass spine. */
.shelld8a9a-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 12px 4px 8px;
  background: var(--shelld8a9a-panel);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-left: 3px solid var(--shelld8a9a-brass);
  border-radius: var(--shelld8a9a-radius);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 12px, 100% 100%, 0 100%);
}

.shelld8a9a-brand:hover {
  text-decoration: none;
  border-left-color: var(--shelld8a9a-gold);
}

.shelld8a9a-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 2px;
  background: var(--shelld8a9a-bg-out);
}

.shelld8a9a-brandname {
  font-family: var(--shelld8a9a-font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--shelld8a9a-cream);
}

.shelld8a9a-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shelld8a9a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 58px;
  padding: 0 12px;
  border-radius: var(--shelld8a9a-radius);
  font-family: var(--shelld8a9a-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  transition: filter 0.18s ease, transform 0.18s ease;
}

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

.shelld8a9a-register {
  background: linear-gradient(180deg, var(--shelld8a9a-gold) 0%, var(--shelld8a9a-brass) 100%);
  color: var(--shelld8a9a-ink);
  border: 1px solid #b57330;
}

.shelld8a9a-register:hover {
  filter: brightness(1.08);
}

.shelld8a9a-login {
  background: rgba(255, 250, 205, 0.06);
  color: var(--shelld8a9a-cream);
  border: 1px solid var(--shelld8a9a-line);
}

.shelld8a9a-login:hover {
  border-color: var(--shelld8a9a-brass);
}

/* Hamburger trigger. */
.shelld8a9a-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border-radius: var(--shelld8a9a-radius);
  border: 1px solid var(--shelld8a9a-line);
  background: rgba(255, 250, 205, 0.06);
  color: var(--shelld8a9a-cream);
}

.shelld8a9a-menubtn:hover {
  border-color: var(--shelld8a9a-brass);
}

/* ---------- compact route panel (dropdown sheet) ----------------------- */

.shelld8a9a-routes {
  display: none;
  border-top: 1px dashed var(--shelld8a9a-line);
  background: var(--shelld8a9a-panel);
  padding: 8px 10px 12px;
}

.shelld8a9a-routes.shelld8a9a-open {
  display: block;
  animation: shelld8a9aPanelIn 0.22s ease both;
}

.shelld8a9a-routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shelld8a9a-route {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px 8px;
  background: var(--shelld8a9a-panel-2);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
  color: var(--shelld8a9a-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.shelld8a9a-route::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--shelld8a9a-brass);
}

.shelld8a9a-route:hover {
  border-color: var(--shelld8a9a-brass);
  color: var(--shelld8a9a-gold);
  text-decoration: none;
}

/* ---------- main canvas ------------------------------------------------- */

.shelld8a9a-main {
  background: var(--shelld8a9a-bg);
  padding-top: calc(var(--shelld8a9a-head-h) + 10px);
  /* keep clear of the fixed bottom navigation rail */
  padding-bottom: calc(var(--shelld8a9a-bnav-h) + 22px + env(safe-area-inset-bottom, 0px));
  min-height: 100vh;
}

/* ---------- hero carousel ----------------------------------------------- */

.shelld8a9a-hero {
  position: relative;
  margin: 0 10px;
  aspect-ratio: 16 / 9;
  max-height: 242px;
  border: 1px solid var(--shelld8a9a-line);
  border-radius: var(--shelld8a9a-radius);
  overflow: hidden;
  background: var(--shelld8a9a-panel);
}

.shelld8a9a-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.shelld8a9a-slide.shelld8a9a-active {
  opacity: 1;
  visibility: visible;
}

.shelld8a9a-slide:hover {
  text-decoration: none;
}

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

.shelld8a9a-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 22px 12px 10px;
  background: linear-gradient(180deg, rgba(20, 28, 38, 0) 0%, rgba(20, 28, 38, 0.88) 78%);
}

.shelld8a9a-slide-cap strong {
  font-family: var(--shelld8a9a-font-head);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--shelld8a9a-gold);
}

.shelld8a9a-slide-cap em {
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--shelld8a9a-cream);
}

.shelld8a9a-dots {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.shelld8a9a-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border-radius: 2px;
  background: rgba(255, 250, 205, 0.32);
  transition: background 0.25s ease;
}

.shelld8a9a-dot.shelld8a9a-dot-active,
.shelld8a9a-dot:hover {
  background: var(--shelld8a9a-gold);
}

/* ---------- page head ---------------------------------------------------- */

.shelld8a9a-pagehead {
  padding: 18px 14px 4px;
}

.shelld8a9a-pagehead h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.32;
  border-left: 4px solid var(--shelld8a9a-gold);
  padding-left: 10px;
}

.shelld8a9a-lede {
  margin: 12px 0 0;
  color: var(--shelld8a9a-text);
}

/* ---------- scene branch strip ------------------------------------------ */

.shelld8a9a-branch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 10px 4px;
}

.shelld8a9a-branchcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 74px;
  padding: 9px 8px;
  background: var(--shelld8a9a-panel);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-top: 3px solid var(--shelld8a9a-brass);
  border-radius: var(--shelld8a9a-radius);
  color: var(--shelld8a9a-text);
}

.shelld8a9a-branchcard:hover {
  border-top-color: var(--shelld8a9a-gold);
  text-decoration: none;
}

.shelld8a9a-branchcard strong {
  font-family: var(--shelld8a9a-font-head);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--shelld8a9a-cream);
}

.shelld8a9a-branchcard span {
  font-size: 11px;
  line-height: 1.5;
  color: var(--shelld8a9a-muted);
}

.shelld8a9a-branchcard.shelld8a9a-branchpromo strong {
  color: var(--shelld8a9a-coral);
}

/* ---------- generic content block ---------------------------------------- */

.shelld8a9a-block {
  margin: 20px 10px 0;
  padding: 14px 12px 16px;
  background: var(--shelld8a9a-panel);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
}

.shelld8a9a-block-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.shelld8a9a-block-no {
  font-family: var(--shelld8a9a-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--shelld8a9a-ink);
  background: var(--shelld8a9a-brass);
  padding: 1px 6px;
  border-radius: 2px;
}

.shelld8a9a-block-title {
  flex: 1 1 auto;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.32;
}

.shelld8a9a-count {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shelld8a9a-gold);
  border: 1px solid var(--shelld8a9a-line);
  border-radius: 2px;
  padding: 1px 6px;
  white-space: nowrap;
}

.shelld8a9a-block-desc {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--shelld8a9a-muted);
}

/* Related real sub-page hooks under each category head. */
.shelld8a9a-related {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.shelld8a9a-related a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--shelld8a9a-cream);
  background: rgba(205, 133, 63, 0.14);
  border: 1px solid rgba(205, 133, 63, 0.45);
  border-radius: 2px;
}

.shelld8a9a-related a:hover {
  color: var(--shelld8a9a-gold);
  border-color: var(--shelld8a9a-gold);
  text-decoration: none;
}

/* ---------- game grid ----------------------------------------------------- */

.shelld8a9a-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 12px;
}

@media (min-width: 375px) {
  .shelld8a9a-gamegrid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
}

/* Card = square art with a bottom name bar. */
.shelld8a9a-gcard {
  display: block;
  background: var(--shelld8a9a-bg-out);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
  -webkit-tap-highlight-color: rgba(255, 191, 0, 0.18);
}

.shelld8a9a-gcard:hover,
.shelld8a9a-gcard:active {
  border-color: var(--shelld8a9a-gold);
  text-decoration: none;
  transform: translateY(-1px);
}

.shelld8a9a-gcard-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--shelld8a9a-panel-2);
}

.shelld8a9a-gcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  padding: 3px 4px 4px;
  border-top: 2px solid var(--shelld8a9a-brass);
  background: rgba(10, 15, 21, 0.86);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--shelld8a9a-cream);
  text-align: center;
}

/* ---------- promo module: horizontal offer rail --------------------------- */

.shelld8a9a-offerrail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 148px;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shelld8a9a-offer {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 9px;
  background: var(--shelld8a9a-panel-2);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
}

.shelld8a9a-offer-tag {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--shelld8a9a-ink);
  background: var(--shelld8a9a-gold);
  padding: 1px 6px;
  border-radius: 2px;
}

.shelld8a9a-offer strong {
  font-family: var(--shelld8a9a-font-head);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--shelld8a9a-cream);
}

.shelld8a9a-offer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--shelld8a9a-muted);
}

.shelld8a9a-offer-claim {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 8px;
  border-radius: var(--shelld8a9a-radius);
  background: rgba(255, 127, 80, 0.16);
  border: 1px solid var(--shelld8a9a-coral);
  color: var(--shelld8a9a-coral);
  font-size: 11.5px;
  font-weight: 700;
}

.shelld8a9a-offer-claim:hover {
  background: var(--shelld8a9a-coral);
  color: var(--shelld8a9a-ink);
  text-decoration: none;
}

/* ---------- full-width CTA ------------------------------------------------ */

.shelld8a9a-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--shelld8a9a-radius);
  background: linear-gradient(180deg, var(--shelld8a9a-gold) 0%, var(--shelld8a9a-brass) 100%);
  border: 1px solid #b57330;
  color: var(--shelld8a9a-ink);
  font-family: var(--shelld8a9a-font-head);
  font-size: 14.5px;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.shelld8a9a-cta:hover {
  filter: brightness(1.07);
  text-decoration: none;
}

.shelld8a9a-cta:active {
  transform: translateY(1px);
}

.shelld8a9a-cta.shelld8a9a-cta-coral {
  background: linear-gradient(180deg, #ff9a76 0%, var(--shelld8a9a-coral) 100%);
  border-color: #d95f36;
  color: #2a130b;
}

/* ---------- steps / list styles ------------------------------------------- */

.shelld8a9a-steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: shelld8a9astep;
}

.shelld8a9a-steps li {
  position: relative;
  counter-increment: shelld8a9astep;
  padding: 7px 8px 7px 38px;
  margin-top: 6px;
  background: var(--shelld8a9a-panel-2);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
  font-size: 12.5px;
  line-height: 1.65;
}

.shelld8a9a-steps li::before {
  content: counter(shelld8a9astep, decimal-leading-zero);
  position: absolute;
  left: 8px;
  top: 9px;
  font-family: var(--shelld8a9a-font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--shelld8a9a-gold);
  border: 1px solid var(--shelld8a9a-line);
  border-radius: 2px;
  padding: 0 4px;
}

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

.shelld8a9a-winboard {
  margin-top: 12px;
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
  overflow: hidden;
}

.shelld8a9a-winrow {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--shelld8a9a-panel-2);
  border-top: 1px solid var(--shelld8a9a-line-soft);
  font-size: 11.5px;
}

.shelld8a9a-winrow:first-child {
  border-top: 0;
  background: rgba(205, 133, 63, 0.16);
  font-weight: 700;
  color: var(--shelld8a9a-cream);
}

.shelld8a9a-winuser {
  font-variant-numeric: tabular-nums;
  color: var(--shelld8a9a-cream);
  font-weight: 600;
}

.shelld8a9a-wingame {
  color: var(--shelld8a9a-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shelld8a9a-winamount {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--shelld8a9a-gold);
  white-space: nowrap;
}

/* ---------- versus rows (play styles) -------------------------------------- */

.shelld8a9a-versus {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.shelld8a9a-vrow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 8px 9px;
  background: var(--shelld8a9a-panel-2);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-left: 3px solid var(--shelld8a9a-coral);
  border-radius: var(--shelld8a9a-radius);
}

.shelld8a9a-vrow:nth-child(even) {
  border-left-color: var(--shelld8a9a-brass);
}

.shelld8a9a-vname {
  font-family: var(--shelld8a9a-font-head);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--shelld8a9a-cream);
}

.shelld8a9a-vnote {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shelld8a9a-muted);
}

/* ---------- dimension rows -------------------------------------------------- */

.shelld8a9a-dims {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.shelld8a9a-dim {
  padding: 9px 10px;
  background: var(--shelld8a9a-panel-2);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
}

.shelld8a9a-dim h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--shelld8a9a-gold);
}

.shelld8a9a-dim p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.68;
  color: var(--shelld8a9a-muted);
}

/* ---------- plain copy + inline body links --------------------------------- */

.shelld8a9a-copy {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.78;
}

.shelld8a9a-copy a {
  border-bottom: 1px dashed rgba(255, 191, 0, 0.55);
  font-weight: 600;
}

.shelld8a9a-note {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-left: 3px solid var(--shelld8a9a-line);
  background: rgba(20, 28, 38, 0.55);
  font-size: 11px;
  line-height: 1.65;
  color: var(--shelld8a9a-muted);
  border-radius: 0 var(--shelld8a9a-radius) var(--shelld8a9a-radius) 0;
}

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

.shelld8a9a-extended {
  width: 100%;
  max-width: 430px;
  margin: 24px auto 0;
  padding: 16px 12px 14px;
  background: var(--shelld8a9a-panel);
  border-top: 2px solid var(--shelld8a9a-brass);
}

.shelld8a9a-extlabel {
  display: block;
  margin: 0 0 8px;
  font-family: var(--shelld8a9a-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--shelld8a9a-brass);
}

.shelld8a9a-brandblurb {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--shelld8a9a-muted);
}

/* 4 horizontal promo shortcuts, icon + text label. */
.shelld8a9a-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.shelld8a9a-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 66px;
  padding: 8px 4px;
  background: var(--shelld8a9a-panel-2);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
  color: var(--shelld8a9a-cream);
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.shelld8a9a-shortcut svg {
  color: var(--shelld8a9a-gold);
}

.shelld8a9a-shortcut:hover {
  border-color: var(--shelld8a9a-gold);
  text-decoration: none;
}

.shelld8a9a-extdiv {
  margin: 14px 0 0;
  border-top: 1px dashed var(--shelld8a9a-line);
}

.shelld8a9a-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

.shelld8a9a-directory a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 5px 8px;
  background: var(--shelld8a9a-panel-2);
  border: 1px solid var(--shelld8a9a-line-soft);
  border-radius: var(--shelld8a9a-radius);
  color: var(--shelld8a9a-text);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

.shelld8a9a-directory a::before {
  content: "\203A";
  flex: none;
  color: var(--shelld8a9a-gold);
  font-weight: 800;
}

.shelld8a9a-directory a:hover {
  color: var(--shelld8a9a-gold);
  border-color: var(--shelld8a9a-brass);
  text-decoration: none;
}

.shelld8a9a-disclaimer {
  margin: 12px 0 0;
  font-size: 10.5px;
  line-height: 1.65;
  color: #8d99a8;
}

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

.shelld8a9a-footer {
  padding: 12px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--shelld8a9a-bg-out);
  border-top: 1px solid var(--shelld8a9a-line-soft);
  text-align: center;
}

.shelld8a9a-footer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--shelld8a9a-muted);
}

/* ---------- mobile bottom navigation rail -------------------------------------- */

.shelld8a9a-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 430;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shelld8a9a-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 2px env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, #1c2937 0%, #101822 100%);
  border-top: 1px solid var(--shelld8a9a-line);
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.4);
}

.shelld8a9a-bnitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 4px;
  color: var(--shelld8a9a-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  -webkit-tap-highlight-color: rgba(255, 191, 0, 0.14);
}

.shelld8a9a-bnitem svg {
  color: #7f8fa1;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Sliding top indicator line = active state. */
.shelld8a9a-bnitem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--shelld8a9a-gold);
  border-radius: 0 0 2px 2px;
  transition: width 0.24s ease;
}

.shelld8a9a-bnitem:hover {
  color: var(--shelld8a9a-cream);
  text-decoration: none;
}

.shelld8a9a-bnitem:hover svg {
  color: var(--shelld8a9a-cream);
}

.shelld8a9a-bnitem.shelld8a9a-active {
  color: var(--shelld8a9a-gold);
  font-weight: 800;
}

.shelld8a9a-bnitem.shelld8a9a-active svg {
  color: var(--shelld8a9a-gold);
  transform: translateY(-1px);
}

.shelld8a9a-bnitem.shelld8a9a-active::before {
  width: 72%;
}

/* Promo roles carry a coral accent instead of the gold route accent. */
.shelld8a9a-bnitem.shelld8a9a-bnpromo svg {
  color: var(--shelld8a9a-coral);
}

.shelld8a9a-bnitem.shelld8a9a-bnpromo:hover svg,
.shelld8a9a-bnitem.shelld8a9a-bnpromo:hover {
  color: var(--shelld8a9a-coral);
}

.shelld8a9a-bnitem.shelld8a9a-bnpromo::before {
  background: var(--shelld8a9a-coral);
}

/* ---------- restrained reveal (JS-gated, content stays visible w/o JS) --------- */

.shelld8a9a-js .shelld8a9a-reveal {
  opacity: 0;
  transform: translateY(8px);
}

.shelld8a9a-js .shelld8a9a-reveal.shelld8a9a-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

/* ---------- motion & contrast safety --------------------------------------------- */

@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;
  }
  .shelld8a9a-js .shelld8a9a-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Compatible accessibility and article refinements. */
.shelld8a9a-btn, .shelld8a9a-menubtn { min-width: 44px; min-height: 44px; }
.shelld8a9a-menubtn { width: 44px; height: 44px; }
.shelld8a9a-route, .shelld8a9a-related a, .shelld8a9a-directory a, .shelld8a9a-offer-claim { min-height: 44px; }
.shelld8a9a-main { padding-bottom: 24px; }
.shelld8a9a-footer { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
.shelld8a9a-routes { max-height: calc(100dvh - 130px); overflow-y: auto; }
.shelld8a9a-route.shelld8a9a-active { border-top: 3px solid var(--shelld8a9a-gold); color: var(--shelld8a9a-gold); }
.shelld8a9a-gamegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shelld8a9a-gcard { min-width: 0; min-height: 44px; padding: 0; text-align: center; }
.shelld8a9a-gcard-name { display: block; -webkit-line-clamp: unset; overflow: visible; overflow-wrap: anywhere; min-height: 36px; }
.shelld8a9a-pagehead, .shelld8a9a-block { overflow-wrap: break-word; }
.shelld8a9a-hero { padding-bottom: 44px; aspect-ratio: auto; height: 230px; touch-action: pan-y; }
.shelld8a9a-slide { bottom: 44px; padding: 0; }
.shelld8a9a-slide img { object-fit: contain; height: calc(100% - 54px); }
.shelld8a9a-slide-cap { min-height: 54px; background: var(--shelld8a9a-panel); }
.shelld8a9a-slide-cap { padding: 22px 10px 8px; text-align: left; }
.shelld8a9a-pause { bottom: 0 !important; min-height: 44px !important; min-width: 60px !important; }
.shelld8a9a-dots { bottom: 0; right: 4px; gap: 2px; }
.shelld8a9a-dot { width: 44px; height: 44px; border-radius: 0; background: transparent; position: relative; }
.shelld8a9a-dot::after { content: ''; position: absolute; width: 24px; height: 4px; left: 10px; top: 20px; background: var(--shelld8a9a-muted); transition: background .2s, transform .2s; }
.shelld8a9a-dot.shelld8a9a-dot-active, .shelld8a9a-dot:hover { background: transparent; }
.shelld8a9a-dot.shelld8a9a-dot-active::after { background: var(--shelld8a9a-gold); transform: translateY(-1px); }
.shelld8a9a-main a[href$='.html']:not(.shelld8a9a-directory a):not(.shelld8a9a-branchcard) { display: inline-flex; align-items: center; min-height: 44px; }
.shelld8a9a-block p { margin-bottom: 0; }
.shelld8a9a-reading { margin: 20px 14px 0; padding: 0 0 14px; border-bottom: 1px solid var(--shelld8a9a-line); }
.shelld8a9a-reading h2 { font-size: 18px; line-height: 1.45; padding-left: 10px; border-left: 3px solid var(--shelld8a9a-coral); }
.shelld8a9a-reading h3 { margin-top: 16px; font-size: 14px; color: var(--shelld8a9a-gold); }
.shelld8a9a-reading p, .shelld8a9a-reading dd { margin: 10px 0 0; }
.shelld8a9a-reading dt { font-weight: 800; color: var(--shelld8a9a-cream); margin-top: 18px; }
.shelld8a9a-table { table-layout: fixed; }
.shelld8a9a-table td, .shelld8a9a-table th { overflow-wrap: anywhere; }
:target { scroll-margin-top: 72px; }
@media (min-width: 375px) { .shelld8a9a-gamegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .shelld8a9a-hero { height: 250px; } }
@media (max-width: 340px) { .shelld8a9a-brand { gap: 5px; padding-left: 4px; padding-right: 10px; } .shelld8a9a-topbar-in { padding: 0 6px; gap: 4px; } .shelld8a9a-btn { padding: 0 8px; } .shelld8a9a-topacts { gap: 4px; } }
/* Wide screens: keep the phone canvas centered with a quiet backdrop. */
.shelld8a9a-pause {
  position: absolute;
  left: 8px;
  bottom: 7px;
  z-index: 3;
  min-width: 54px;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 250, 205, 0.55);
  border-radius: var(--shelld8a9a-radius);
  background: rgba(20, 28, 38, 0.78);
  color: var(--shelld8a9a-cream);
  font-size: 11px;
  font-weight: 700;
}

.shelld8a9a-pause:hover {
  border-color: var(--shelld8a9a-gold);
  color: var(--shelld8a9a-gold);
}

.shelld8a9a-article h2 {
  margin-top: 18px;
  padding-left: 9px;
  border-left: 3px solid var(--shelld8a9a-brass);
  font-size: 17px;
  line-height: 1.4;
}

.shelld8a9a-article h3 {
  margin-top: 14px;
  color: var(--shelld8a9a-gold);
  font-size: 14px;
  line-height: 1.45;
}

.shelld8a9a-article p,
.shelld8a9a-article li {
  font-size: 13px;
  line-height: 1.78;
}

.shelld8a9a-article ul,
.shelld8a9a-article ol {
  margin: 8px 0 0;
  padding-left: 22px;
}

.shelld8a9a-checklist {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.shelld8a9a-checkitem {
  padding: 9px 10px;
  border-left: 3px solid var(--shelld8a9a-gold);
  background: var(--shelld8a9a-panel-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.shelld8a9a-tablewrap {
  overflow-x: auto;
  margin-top: 10px;
}

.shelld8a9a-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.shelld8a9a-table th,
.shelld8a9a-table td {
  padding: 7px 6px;
  border: 1px solid var(--shelld8a9a-line-soft);
  text-align: left;
  vertical-align: top;
}

.shelld8a9a-table th {
  color: var(--shelld8a9a-gold);
  background: var(--shelld8a9a-panel-2);
}

.shelld8a9a-badge {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--shelld8a9a-line);
  color: var(--shelld8a9a-muted);
  font-size: 10px;
}

@media (min-width: 431px) {
  body {
    background:
      radial-gradient(620px 340px at 50% -80px, rgba(205, 133, 63, 0.14), transparent 70%),
      var(--shelld8a9a-bg-out);
  }
  .shelld8a9a-topbar,
  .shelld8a9a-main,
  .shelld8a9a-extended,
  .shelld8a9a-footer,
  .shelld8a9a-bottomnav {
    box-shadow: 0 0 0 1px rgba(49, 68, 90, 0.6);
  }
}
