/* ==========================================================================
   x8811.click - mobile interface stylesheet
   Class prefix .... shell3ea73-
   Palette ....... #FFB6C1 / #FFF176 / #2D2D2D / #FF7F50 / #E9967A
   Direction ..... stroke-led corners, image+name-bar game tiles,
                   slide-up route sheet, layered bottom dock, dual CTAs
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --shell3ea73-ink: #FFB6C1;      /* light pink, heading accent */
  --shell3ea73-gold: #FFF176;     /* yellow, primary accent + active fill */
  --shell3ea73-coral: #FF7F50;    /* coral, primary CTA fill */
  --shell3ea73-salmon: #E9967A;   /* salmon, secondary accent */
  --shell3ea73-bg: #2D2D2D;       /* base canvas */
  --shell3ea73-bgdeep: #232323;   /* deeper panels */
  --shell3ea73-bgcard: #333333;   /* card surface */
  --shell3ea73-bgstrip: #202020;  /* tile name bars */
  --shell3ea73-line: #4a403c;     /* stroke color */
  --shell3ea73-text: #f6ece8;     /* body text */
  --shell3ea73-muted: #cbb9b4;    /* secondary text */
  --shell3ea73-radius: 8px;       /* restrained corner radius */
  --shell3ea73-radius-lg: 12px;
  --shell3ea73-dockh: 68px;       /* bottom dock height */
  --shell3ea73-display: "Segoe UI Black", "Arial Black", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --shell3ea73-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #171512;
  color: var(--shell3ea73-text);
  font-family: var(--shell3ea73-body);
  font-size: 15px;
  line-height: 1.62;
}

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

a { color: var(--shell3ea73-salmon); }

ul, ol { margin: 0; padding: 0; }

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

::selection {
  background: var(--shell3ea73-coral);
  color: #241312;
}

/* the phone canvas: centered column on any wide screen */
.shell3ea73-frame {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell3ea73-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

body.shell3ea73-sheeton { overflow: hidden; }

/* ==========================================================================
   top bar - centered identity strip above a compact action row
   ========================================================================== */
.shell3ea73-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #2e2a28 0%, #262321 100%);
  border-bottom: 1px solid var(--shell3ea73-line);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.shell3ea73-identityrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px 7px;
}

.shell3ea73-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.shell3ea73-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--shell3ea73-salmon);
  background: #1c1917;
}

.shell3ea73-brandname {
  font-family: var(--shell3ea73-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.07em;
  color: var(--shell3ea73-gold);
  line-height: 1;
}

/* action row: route menu button + register / login pair */
.shell3ea73-actionrow {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  gap: 8px;
  padding: 0 12px 10px;
}

.shell3ea73-menubtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  color: var(--shell3ea73-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.shell3ea73-menubtn:active {
  border-color: var(--shell3ea73-gold);
  box-shadow: 0 0 10px rgba(255, 241, 118, 0.25); /* restrained glow feedback */
}

.shell3ea73-menulines {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--shell3ea73-gold);
  box-shadow: 0 -5px 0 var(--shell3ea73-gold), 0 5px 0 var(--shell3ea73-gold);
}

/* compact dual-button CTA group */
.shell3ea73-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--shell3ea73-radius);
  font-family: var(--shell3ea73-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

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

.shell3ea73-btn-ghost {
  border: 1px solid var(--shell3ea73-ink);
  color: var(--shell3ea73-ink);
  background: rgba(255, 182, 193, 0.06);
}

.shell3ea73-btn-solid {
  border: 1px solid #ffab8f;
  color: #2b1512;
  background: linear-gradient(180deg, #ff9166 0%, var(--shell3ea73-coral) 100%);
}

.shell3ea73-btn-solid:active,
.shell3ea73-btn-ghost:active {
  box-shadow: 0 0 12px rgba(255, 241, 118, 0.35);
}

/* ==========================================================================
   slide-up route sheet (mobile menu)
   ========================================================================== */
.shell3ea73-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(14, 10, 9, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.shell3ea73-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shell3ea73-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  margin: 0 auto;
  max-width: 480px;
  background: var(--shell3ea73-bgdeep);
  border: 1px solid var(--shell3ea73-line);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
  transform: translateY(103%);
  transition: transform 0.32s cubic-bezier(0.22, 0.9, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.shell3ea73-sheet.is-open { transform: translateY(0); }

.shell3ea73-sheetgrab {
  width: 44px;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto 10px;
  background: #554a45;
}

.shell3ea73-sheethead {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shell3ea73-sheetlogo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--shell3ea73-salmon);
}

.shell3ea73-sheettitle {
  flex: 1;
  font-family: var(--shell3ea73-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--shell3ea73-ink);
  letter-spacing: 0.02em;
}

.shell3ea73-sheetclose {
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  color: var(--shell3ea73-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.shell3ea73-sheetclose:active {
  border-color: var(--shell3ea73-gold);
  box-shadow: 0 0 10px rgba(255, 241, 118, 0.25);
}

.shell3ea73-sheetlist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shell3ea73-sheetlist a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  background: var(--shell3ea73-bgcard);
  color: var(--shell3ea73-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s ease;
}

.shell3ea73-sheetlist a:active {
  border-color: var(--shell3ea73-gold);
  box-shadow: 0 0 10px rgba(255, 241, 118, 0.22);
}

.shell3ea73-sheetlist a.is-here {
  background: var(--shell3ea73-gold);
  border-color: var(--shell3ea73-gold);
  color: #2b2410;
}

/* ==========================================================================
   main canvas
   ========================================================================== */
.shell3ea73-main {
  padding: 16px 12px calc(var(--shell3ea73-dockh) + 28px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */
.shell3ea73-hero {
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius-lg);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255, 127, 80, 0.22), transparent 55%),
    radial-gradient(90% 80% at 0% 110%, rgba(255, 241, 118, 0.10), transparent 60%),
    var(--shell3ea73-bgcard);
  padding: 15px 13px 14px;
}

.shell3ea73-h1 {
  margin: 0 0 9px;
  font-family: var(--shell3ea73-display);
  font-size: 21px;
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--shell3ea73-ink);
}

.shell3ea73-herolead {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--shell3ea73-text);
}

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

.shell3ea73-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.shell3ea73-facts li {
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  background: rgba(255, 182, 193, 0.05);
  color: var(--shell3ea73-muted);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  padding: 7px 4px;
}

/* ---------- banner carousel ---------- */
.shell3ea73-carousel {
  position: relative;
  margin-top: 14px;
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius-lg);
  overflow: hidden;
  background: var(--shell3ea73-bgdeep);
}

.shell3ea73-ctrack {
  display: flex;
  transition: transform 0.45s ease;
}

.shell3ea73-slide {
  flex: 0 0 100%;
  display: block;
}

.shell3ea73-slide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.shell3ea73-cdots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 4px;
}

.shell3ea73-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell3ea73-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--shell3ea73-gold);
  background: transparent;
  transition: background 0.2s ease;
}

.shell3ea73-dot.is-on::before {
  background: var(--shell3ea73-gold);
  box-shadow: 0 0 8px rgba(255, 241, 118, 0.55);
}

/* ==========================================================================
   game arenas - image tile with bottom name bar
   ========================================================================== */
.shell3ea73-arena {
  margin-top: 26px;
}

.shell3ea73-arenahead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-left: 3px solid var(--shell3ea73-coral);
  padding-left: 10px;
  margin-bottom: 8px;
}

.shell3ea73-h2 {
  margin: 0;
  font-family: var(--shell3ea73-display);
  font-size: 17.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--shell3ea73-ink);
}

.shell3ea73-chip {
  flex: none;
  border: 1px solid var(--shell3ea73-salmon);
  border-radius: 999px;
  color: var(--shell3ea73-salmon);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  white-space: nowrap;
}

.shell3ea73-arenanote {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--shell3ea73-muted);
}

.shell3ea73-arenanote a {
  color: var(--shell3ea73-salmon);
  text-decoration: underline;
}

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

.shell3ea73-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  overflow: hidden;
  background: var(--shell3ea73-bgcard);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.shell3ea73-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1d1b1a;
}

.shell3ea73-tilename {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: var(--shell3ea73-bgstrip);
  border-top: 1px solid #3c3531;
  color: var(--shell3ea73-text);
  font-size: 10.5px;
  line-height: 1.32;
  text-align: center;
  padding: 5px 4px;
  min-height: 36px;
}

.shell3ea73-tile:active {
  transform: translateY(-2px);           /* light card lift */
  border-color: var(--shell3ea73-salmon);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

@media (hover: hover) {
  .shell3ea73-tile:hover {
    transform: translateY(-2px);
    border-color: var(--shell3ea73-salmon);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  }
}

/* ==========================================================================
   content modules (article blocks)
   ========================================================================== */
.shell3ea73-block {
  margin-top: 18px;
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius-lg);
  background: var(--shell3ea73-bgcard);
  padding: 15px 13px 16px;
}

.shell3ea73-block h2 {
  margin: 0 0 8px;
  font-family: var(--shell3ea73-display);
  font-size: 17.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--shell3ea73-ink);
}

.shell3ea73-lead {
  /* conclusion-first line: the answer before the details */
  margin: 0 0 10px;
  padding: 9px 11px;
  border-left: 3px solid var(--shell3ea73-gold);
  border-radius: 0 var(--shell3ea73-radius) var(--shell3ea73-radius) 0;
  background: rgba(255, 241, 118, 0.07);
  color: var(--shell3ea73-gold);
  font-size: 14px;
  font-weight: 700;
}

.shell3ea73-block p {
  margin: 8px 0;
  font-size: 14.5px;
}

.shell3ea73-block a {
  color: var(--shell3ea73-salmon);
  text-decoration: underline;
}

.shell3ea73-steps {
  list-style: none;
  counter-reset: shell3ea73-step;
  margin: 10px 0 4px;
}

.shell3ea73-steps li {
  counter-increment: shell3ea73-step;
  position: relative;
  margin-bottom: 8px;
  padding: 9px 9px 9px 42px;
  border: 1px dashed var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  font-size: 13.5px;
  color: var(--shell3ea73-text);
}

.shell3ea73-steps li::before {
  content: counter(shell3ea73-step);
  position: absolute;
  left: 9px;
  top: 9px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--shell3ea73-coral);
  color: #2b1512;
  font-weight: 800;
  font-size: 13px;
}

.shell3ea73-check {
  list-style: none;
  margin: 10px 0 2px;
}

.shell3ea73-check li {
  position: relative;
  margin-bottom: 7px;
  padding: 8px 9px 8px 36px;
  border: 1px solid #3d3632;
  border-radius: var(--shell3ea73-radius);
  font-size: 13.5px;
  color: var(--shell3ea73-text);
}

.shell3ea73-check li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--shell3ea73-gold);
  border-bottom: 2px solid var(--shell3ea73-gold);
  transform: rotate(-45deg);
}

.shell3ea73-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 4px;
  font-size: 13px;
}

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

.shell3ea73-compare th {
  background: rgba(255, 127, 80, 0.14);
  color: var(--shell3ea73-ink);
  font-weight: 700;
}

.shell3ea73-compare td { color: var(--shell3ea73-text); }

/* ==========================================================================
   homepage extended footer (directory - brand - promotions - disclaimer)
   ========================================================================== */
.shell3ea73-xfoot {
  margin-top: 26px;
  border-top: 2px solid var(--shell3ea73-coral);
  padding-top: 15px;
}

.shell3ea73-xfoot h2 {
  margin: 0 0 6px;
  font-family: var(--shell3ea73-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--shell3ea73-ink);
}

.shell3ea73-dir {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0 0;
}

.shell3ea73-dir a {
  display: block;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  background: var(--shell3ea73-bgcard);
  color: var(--shell3ea73-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.shell3ea73-dir a:active {
  border-color: var(--shell3ea73-gold);
  box-shadow: 0 0 9px rgba(255, 241, 118, 0.22);
}

.shell3ea73-xbrand {
  margin-top: 16px;
  padding: 11px 12px;
  border: 1px dashed var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  font-size: 13px;
  color: var(--shell3ea73-muted);
}

.shell3ea73-xbrand strong { color: var(--shell3ea73-ink); }

.shell3ea73-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shell3ea73-promoentry {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 9px;
  border: 1px solid var(--shell3ea73-salmon);
  border-radius: var(--shell3ea73-radius);
  background: rgba(255, 127, 80, 0.09);
  color: var(--shell3ea73-gold);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.shell3ea73-promoentry:active {
  box-shadow: 0 0 12px rgba(255, 241, 118, 0.3);
  transform: translateY(1px);
}

.shell3ea73-note {
  margin-top: 14px;
  padding: 10px 11px;
  border: 1px dashed var(--shell3ea73-line);
  border-radius: var(--shell3ea73-radius);
  font-size: 12px;
  line-height: 1.55;
  color: var(--shell3ea73-muted);
}

/* ==========================================================================
   common footer
   ========================================================================== */
.shell3ea73-foot {
  padding: 14px 12px 10px;
  border-top: 1px solid var(--shell3ea73-line);
  text-align: center;
  color: var(--shell3ea73-muted);
  font-size: 12.5px;
}

.shell3ea73-copy { margin: 0; }

/* ==========================================================================
   layered bottom dock - five roles, active state inverts contrast
   ========================================================================== */
.shell3ea73-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #26221f 0%, #1c1917 100%);
  border-top: 2px solid var(--shell3ea73-salmon);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.45);
}

/* thin second hairline: the layered look of the dock */
.shell3ea73-dock::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 8px;
  right: 8px;
  height: 1px;
  background: rgba(255, 241, 118, 0.22);
}

.shell3ea73-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 5px 2px;
  border-radius: 10px;
  color: var(--shell3ea73-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  transition: box-shadow 0.18s ease;
}

.shell3ea73-dockitem:active {
  box-shadow: 0 0 10px rgba(255, 241, 118, 0.28); /* restrained glow */
}

.shell3ea73-dockicon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.shell3ea73-dockicon svg {
  width: 22px;
  height: 22px;
}

/* active role: contrast inversion (dark item turns gold) */
.shell3ea73-dockitem.is-here {
  background: var(--shell3ea73-gold);
  color: #2b2410;
  box-shadow: 0 0 12px rgba(255, 241, 118, 0.4);
}

/* ==========================================================================
   responsive tuning - 320px first, wider phones gain breathing room
   ========================================================================== */
@media (min-width: 375px) {
  .shell3ea73-grid { gap: 10px; }
  .shell3ea73-h1 { font-size: 22.5px; }
  .shell3ea73-block { padding: 16px 14px 17px; }
}

@media (min-width: 430px) {
  .shell3ea73-grid { grid-template-columns: repeat(5, 1fr); } /* 4 -> 5 columns */
  .shell3ea73-main { padding-left: 16px; padding-right: 16px; }
  .shell3ea73-h1 { font-size: 24px; }
  .shell3ea73-herolead { font-size: 15px; }
  .shell3ea73-promogrid { gap: 10px; }
}

/* accessibility: honor reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shell3ea73-ctrack,
  .shell3ea73-sheet,
  .shell3ea73-scrim,
  .shell3ea73-tile,
  .shell3ea73-btn,
  .shell3ea73-dockitem { transition: none; }
}
