/* =====================================================================
   mwgaming.click — "layers compact" site stylesheet
   Class prefix ... shell362ac-
   Canvas ......... 320px - 430px phone frame, centered on wide screens
   Palette ........ #0D1117 ink / #F5DEB3 wheat / #FF5722 ember / #FFAA00 amber
   Direction ...... layered low-radius zones, compact square game catalog,
                    lede-first sections, motion reserved for key CTAs
   ===================================================================== */

:root {
  --shell362ac-ink: #0D1117;
  --shell362ac-ink-deep: #080C11;
  --shell362ac-zone: #121924;
  --shell362ac-zone-2: #182130;
  --shell362ac-zone-3: #1E2A3B;
  --shell362ac-wheat: #F5DEB3;
  --shell362ac-wheat-72: rgba(245, 222, 179, 0.72);
  --shell362ac-wheat-52: rgba(245, 222, 179, 0.52);
  --shell362ac-wheat-32: rgba(245, 222, 179, 0.32);
  --shell362ac-ember: #FF5722;
  --shell362ac-ember-deep: #D84315;
  --shell362ac-amber: #FFAA00;
  --shell362ac-amber-dim: rgba(255, 170, 0, 0.18);
  --shell362ac-rule: rgba(245, 222, 179, 0.12);
  --shell362ac-rule-2: rgba(245, 222, 179, 0.26);
  --shell362ac-r: 3px;
  --shell362ac-r-lg: 5px;
  --shell362ac-head-font: Georgia, "Times New Roman", "Noto Serif", serif;
  --shell362ac-body-font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --shell362ac-topbar-h: 56px;
  --shell362ac-dock-h: 64px;
}

/* ---------- reset & base ---------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--shell362ac-ink-deep);
  color: var(--shell362ac-wheat);
  font: 400 14px/1.6 var(--shell362ac-body-font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

a {
  color: var(--shell362ac-amber);
  text-decoration: none;
}

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

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

.shell362ac-noscroll {
  overflow: hidden;
}

/* the phone canvas: identical frame from 320px up to 430px, centered beyond */
.shell362ac-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell362ac-ink);
  box-shadow: 0 0 0 1px var(--shell362ac-rule), 0 0 48px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

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

.shell362ac-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  background: var(--shell362ac-amber);
  color: #1A1206;
  font-weight: 700;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: var(--shell362ac-r);
  transition: top 0.15s ease;
}

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

/* ---------- top bar: compact brand strip + action cluster ---------- */

.shell362ac-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  height: var(--shell362ac-topbar-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98), rgba(13, 17, 23, 0.92));
  border-bottom: 1px solid var(--shell362ac-rule-2);
}

.shell362ac-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

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

.shell362ac-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--shell362ac-r);
  border: 1px solid var(--shell362ac-rule-2);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--shell362ac-zone-2);
}

.shell362ac-brandname {
  font: 700 19px/1.1 var(--shell362ac-head-font);
  color: var(--shell362ac-wheat);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.shell362ac-topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- buttons: solid primary / outlined secondary ---------- */

.shell362ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--shell362ac-r);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.08s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.shell362ac-btn:active {
  transform: scale(0.97);
}

.shell362ac-btn--solid {
  background: linear-gradient(135deg, var(--shell362ac-ember), var(--shell362ac-ember-deep));
  color: #FFF6E8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2px 10px rgba(255, 87, 34, 0.28);
}

.shell362ac-btn--solid:hover {
  text-decoration: none;
  filter: brightness(1.07);
}

.shell362ac-btn--ghost {
  background: transparent;
  color: var(--shell362ac-amber);
  box-shadow: inset 0 0 0 1px var(--shell362ac-amber);
}

.shell362ac-btn--ghost:hover {
  text-decoration: none;
  background: var(--shell362ac-amber-dim);
}

.shell362ac-btn--sm {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 12.5px;
}

/* menu trigger */
.shell362ac-menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--shell362ac-r);
  border: 1px solid var(--shell362ac-rule-2);
  background: var(--shell362ac-zone);
  flex: 0 0 auto;
}

.shell362ac-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shell362ac-wheat);
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.shell362ac-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shell362ac-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.shell362ac-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- full-height menu layer ---------- */

.shell362ac-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.shell362ac-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.66);
}

.shell362ac-menu-frame {
  position: relative;
  width: min(100%, 430px);
  height: 100%;
  margin: 0 auto;
}

.shell362ac-menu-panel {
  width: min(84%, 330px);
  height: 100%;
  background: var(--shell362ac-zone);
  border-right: 1px solid var(--shell362ac-rule-2);
  overflow-y: auto;
  padding: 14px 14px 28px;
  transform: translateX(-104%);
  transition: transform 0.22s ease;
}

.shell362ac-menu.shell362ac-open {
  display: block;
}

.shell362ac-menu.shell362ac-open .shell362ac-menu-panel {
  transform: none;
}

.shell362ac-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.shell362ac-menu-title {
  font: 700 16px/1.2 var(--shell362ac-head-font);
  color: var(--shell362ac-wheat);
}

.shell362ac-menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--shell362ac-rule-2);
  border-radius: var(--shell362ac-r);
  color: var(--shell362ac-wheat-72);
  font-size: 18px;
  line-height: 1;
}

.shell362ac-menu-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.shell362ac-menu-cap {
  margin: 14px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell362ac-amber);
}

.shell362ac-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--shell362ac-rule);
  border-radius: var(--shell362ac-r);
  background: var(--shell362ac-ink);
}

.shell362ac-menu-list li + li {
  border-top: 1px solid var(--shell362ac-rule);
}

.shell362ac-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--shell362ac-wheat-72);
  font-size: 13.5px;
}

.shell362ac-menu-link:visited {
  color: var(--shell362ac-wheat-72);
}

.shell362ac-menu-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--shell362ac-wheat-32);
  border-right: 1.5px solid var(--shell362ac-wheat-32);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ---------- main flow ---------- */

.shell362ac-main {
  padding-top: calc(var(--shell362ac-topbar-h) + 8px);
  padding-bottom: calc(var(--shell362ac-dock-h) + 24px);
}

/* hero */
.shell362ac-hero {
  padding: 18px 14px 14px;
  border-bottom: 1px solid var(--shell362ac-rule);
  background:
    linear-gradient(180deg, var(--shell362ac-zone) 0%, var(--shell362ac-ink) 88%);
}

.shell362ac-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell362ac-amber);
  border: 1px solid var(--shell362ac-rule-2);
  border-radius: var(--shell362ac-r);
  padding: 4px 8px;
  margin-bottom: 10px;
  background: var(--shell362ac-ink);
}

.shell362ac-h1 {
  font: 700 26px/1.22 var(--shell362ac-head-font);
  margin: 0 0 10px;
  color: var(--shell362ac-wheat);
}

.shell362ac-h1 em {
  font-style: normal;
  color: var(--shell362ac-amber);
}

.shell362ac-lede {
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--shell362ac-wheat-72);
  margin: 0 0 14px;
}

.shell362ac-lede + .shell362ac-lede {
  margin-top: -8px;
}

.shell362ac-cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 360px) {
  .shell362ac-cta-row {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* quick-fact strip */
.shell362ac-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

@media (min-width: 380px) {
  .shell362ac-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.shell362ac-fact {
  border: 1px solid var(--shell362ac-rule);
  border-radius: var(--shell362ac-r);
  background: var(--shell362ac-ink);
  padding: 8px 6px;
  text-align: center;
}

.shell362ac-fact b {
  display: block;
  font: 700 15px/1.2 var(--shell362ac-head-font);
  color: var(--shell362ac-amber);
}

.shell362ac-fact span {
  display: block;
  font-size: 10.5px;
  color: var(--shell362ac-wheat-52);
  margin-top: 2px;
}

/* ---------- banner carousel ---------- */

.shell362ac-carousel {
  position: relative;
  margin: 14px 14px 0;
  border: 1px solid var(--shell362ac-rule-2);
  border-radius: var(--shell362ac-r-lg);
  overflow: hidden;
  background: var(--shell362ac-zone-2);
}

.shell362ac-track {
  display: flex;
  transition: transform 0.45s ease;
}

.shell362ac-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  cursor: pointer;
}

.shell362ac-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.shell362ac-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.shell362ac-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell362ac-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 222, 179, 0.4);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.shell362ac-dot.shell362ac-on::before {
  width: 18px;
  border-radius: 3px;
  background: var(--shell362ac-amber);
}

/* ---------- section zones (lede-first rhythm) ---------- */

.shell362ac-sec {
  padding: 20px 14px 10px;
  border-top: 1px solid var(--shell362ac-rule);
}

.shell362ac-sec:first-of-type {
  border-top: 0;
}

.shell362ac-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.shell362ac-sec-head::before {
  content: "";
  align-self: center;
  width: 3px;
  height: 18px;
  flex: 0 0 auto;
  background: var(--shell362ac-ember);
  border-radius: 1px;
}

.shell362ac-sec--amber .shell362ac-sec-head::before {
  background: var(--shell362ac-amber);
}

.shell362ac-h2 {
  font: 700 19px/1.28 var(--shell362ac-head-font);
  color: var(--shell362ac-wheat);
  margin: 0;
}

.shell362ac-count {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shell362ac-amber);
  border: 1px solid var(--shell362ac-rule-2);
  border-radius: var(--shell362ac-r);
  padding: 2px 6px;
  background: var(--shell362ac-ink);
  white-space: nowrap;
}

.shell362ac-sec-lede {
  font-size: 13px;
  line-height: 1.64;
  color: var(--shell362ac-wheat-72);
  margin: 0 0 12px;
}

.shell362ac-sec-lede a {
  color: var(--shell362ac-amber);
  border-bottom: 1px dashed rgba(255, 170, 0, 0.55);
}

/* ---------- compact square game catalog ---------- */

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

/* wider phones give the long shelves a fifth track */
@media (min-width: 412px) {
  .shell362ac-sec--wide .shell362ac-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.shell362ac-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 6px 4px 5px;
  background: var(--shell362ac-zone);
  border: 1px solid var(--shell362ac-rule);
  border-radius: var(--shell362ac-r);
  text-align: center;
  transition: border-color 0.15s ease;
}

.shell362ac-game:hover {
  border-color: var(--shell362ac-amber);
}

.shell362ac-game:active {
  transform: scale(0.96);
}

.shell362ac-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--shell362ac-ink-deep);
}

.shell362ac-game-name {
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--shell362ac-wheat-72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* shortcut links under a shelf */
.shell362ac-rowlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shell362ac-rowlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  font-size: 12px;
  color: var(--shell362ac-wheat-72);
  border: 1px solid var(--shell362ac-rule-2);
  border-radius: var(--shell362ac-r);
  background: var(--shell362ac-ink);
}

.shell362ac-rowlinks a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--shell362ac-amber);
  margin-right: 7px;
}

/* ---------- prose helpers ---------- */

.shell362ac-prose {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--shell362ac-wheat-72);
}

.shell362ac-prose p {
  margin: 0 0 12px;
}

.shell362ac-prose p:last-child {
  margin-bottom: 0;
}

.shell362ac-inline-cta {
  display: inline;
  color: var(--shell362ac-amber);
  border-bottom: 1px dashed rgba(255, 170, 0, 0.6);
  padding: 1px 2px;
  font: inherit;
}

.shell362ac-inline-cta:hover {
  background: var(--shell362ac-amber-dim);
}

.shell362ac-h3 {
  font: 700 14.5px/1.3 var(--shell362ac-head-font);
  color: var(--shell362ac-wheat);
  margin: 0 0 6px;
}

/* testimonials: stacked quote slabs */
.shell362ac-quotes {
  display: grid;
  gap: 10px;
}

.shell362ac-quote {
  border: 1px solid var(--shell362ac-rule);
  border-left: 3px solid var(--shell362ac-amber);
  border-radius: var(--shell362ac-r);
  background: var(--shell362ac-zone);
  padding: 12px;
}

.shell362ac-quote p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--shell362ac-wheat-72);
  font-style: italic;
}

.shell362ac-quote-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--shell362ac-wheat-52);
}

.shell362ac-quote-meta b {
  color: var(--shell362ac-wheat);
  font-weight: 700;
}

.shell362ac-quote-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell362ac-amber);
  border: 1px solid var(--shell362ac-rule-2);
  border-radius: var(--shell362ac-r);
  padding: 2px 6px;
  white-space: nowrap;
}

/* mobile access summary: three entry cards */
.shell362ac-mapcards {
  display: grid;
  gap: 10px;
}

.shell362ac-mapcard {
  border: 1px solid var(--shell362ac-rule);
  border-radius: var(--shell362ac-r);
  background: var(--shell362ac-ink);
  padding: 12px;
}

.shell362ac-mapcard-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.shell362ac-mapcard-no {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--shell362ac-amber);
  color: #1A1206;
  font-size: 11.5px;
  font-weight: 800;
}

.shell362ac-mapcard p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--shell362ac-wheat-72);
}

/* how-to: numbered step rail */
.shell362ac-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: shell362ac-step;
}

.shell362ac-steps li {
  counter-increment: shell362ac-step;
  position: relative;
  border: 1px solid var(--shell362ac-rule);
  border-radius: var(--shell362ac-r);
  background: var(--shell362ac-zone);
  padding: 12px 12px 12px 46px;
}

.shell362ac-steps li::before {
  content: counter(shell362ac-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--shell362ac-ember);
  color: #FFF6E8;
  font-size: 12px;
  font-weight: 800;
}

.shell362ac-steps b {
  display: block;
  font-size: 13px;
  color: var(--shell362ac-wheat);
  margin-bottom: 3px;
}

.shell362ac-steps p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell362ac-wheat-72);
}

/* category highlights: wing blocks */
.shell362ac-wings {
  display: grid;
  gap: 10px;
}

.shell362ac-wing {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--shell362ac-rule);
  border-radius: var(--shell362ac-r);
  background: var(--shell362ac-ink);
  padding: 10px;
  align-items: start;
}

.shell362ac-wing-mesh {
  border-radius: 2px;
  border: 1px solid var(--shell362ac-rule-2);
  background:
    linear-gradient(135deg, var(--shell362ac-zone-3), var(--shell362ac-zone));
  height: 64px;
  position: relative;
  overflow: hidden;
}

.shell362ac-wing-mesh::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--shell362ac-rule-2);
  border-radius: 2px;
}

.shell362ac-wing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.shell362ac-wing h3 {
  margin: 0 0 4px;
}

.shell362ac-wing p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell362ac-wheat-72);
}

/* criteria checklist */
.shell362ac-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shell362ac-checklist li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--shell362ac-rule);
  border-radius: var(--shell362ac-r);
  background: var(--shell362ac-zone);
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--shell362ac-wheat-72);
}

.shell362ac-checklist li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 14px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--shell362ac-amber);
  border-bottom: 2px solid var(--shell362ac-amber);
  transform: rotate(-45deg);
}

.shell362ac-checklist b {
  color: var(--shell362ac-wheat);
}

/* takeaways */
.shell362ac-takes {
  display: grid;
  gap: 8px;
}

.shell362ac-take {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  border-top: 1px dashed var(--shell362ac-rule-2);
  padding-top: 8px;
}

.shell362ac-take:first-child {
  border-top: 0;
  padding-top: 0;
}

.shell362ac-take b {
  font-size: 12.5px;
  color: var(--shell362ac-wheat);
}

.shell362ac-take span {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--shell362ac-wheat-72);
}

/* ---------- extended footer: brand > directory > promos > note ---------- */

.shell362ac-ext {
  margin-top: 18px;
  border-top: 1px solid var(--shell362ac-rule-2);
  background: var(--shell362ac-zone);
  padding: 18px 14px 16px;
}

.shell362ac-ext-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.shell362ac-ext-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--shell362ac-r);
  border: 1px solid var(--shell362ac-rule-2);
  flex: 0 0 auto;
  object-fit: cover;
}

.shell362ac-ext-brand p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell362ac-wheat-72);
}

.shell362ac-ext h2 {
  font: 700 16px/1.3 var(--shell362ac-head-font);
  color: var(--shell362ac-wheat);
  margin: 0 0 10px;
}

.shell362ac-ext-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.shell362ac-ext-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  font-size: 12px;
  color: var(--shell362ac-wheat-72);
  background: var(--shell362ac-ink);
  border: 1px solid var(--shell362ac-rule-2);
  border-radius: var(--shell362ac-r);
}

.shell362ac-ext-chips a:hover {
  color: var(--shell362ac-amber);
  border-color: var(--shell362ac-amber);
  text-decoration: none;
}

.shell362ac-ext-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell362ac-ext-promos .shell362ac-btn {
  padding: 9px 8px;
  font-size: 12px;
  line-height: 1.3;
  min-height: 48px;
}

.shell362ac-ext-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--shell362ac-rule);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell362ac-wheat-52);
}

/* ---------- common footer + dock ---------- */

.shell362ac-footer {
  padding: 14px 14px 10px;
  text-align: center;
  font-size: 11.5px;
  color: var(--shell362ac-wheat-52);
  border-top: 1px solid var(--shell362ac-rule);
}

.shell362ac-footer p {
  margin: 0 0 4px;
}

/* layered bottom dock, pinned to the phone canvas */
.shell362ac-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  height: calc(var(--shell362ac-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: linear-gradient(180deg, rgba(18, 25, 36, 0.97), rgba(8, 12, 17, 0.99));
  border-top: 1px solid var(--shell362ac-rule-2);
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.35);
}

.shell362ac-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell362ac-dock-h);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--shell362ac-wheat-52);
  text-decoration: none;
}

.shell362ac-dock-item:hover {
  text-decoration: none;
}

.shell362ac-dock-item:active .shell362ac-dock-ico {
  transform: scale(0.86);
}

.shell362ac-dock-ico {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
}

.shell362ac-dock-ico svg {
  width: 22px;
  height: 22px;
}

/* active role: top indicator line + raised icon */
.shell362ac-dock-item--on {
  color: var(--shell362ac-wheat);
}

.shell362ac-dock-item--on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26%;
  right: 26%;
  height: 2px;
  background: var(--shell362ac-amber);
  border-radius: 0 0 2px 2px;
}

.shell362ac-dock-item--on .shell362ac-dock-ico {
  transform: translateY(-1px);
}

.shell362ac-dock-item--on .shell362ac-dock-ico svg .shell362ac-ico-a {
  stroke: var(--shell362ac-amber);
}

.shell362ac-dock-item--on .shell362ac-dock-ico svg .shell362ac-ico-b {
  fill: var(--shell362ac-ember);
}

/* dual-tone icon strokes */
.shell362ac-ico-a {
  stroke: var(--shell362ac-wheat-72);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell362ac-ico-b {
  fill: var(--shell362ac-amber);
}

/* ---------- motion budget: only key controls respond ---------- */

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