/* ==========================================================================
   Phwinapp interface sheet (hash build cdfd7d)
   Class prefix ....... shelldfd7d-
   Canvas ............. 320-430px mobile-first, wide screens keep the canvas
   Palette ............ #141414 / #00FA9A / #87CEFA / #FAFAD2 / #FFB347
   Voice .............. seaside display headings over narrow body text,
                        pill buttons, square-ish cards, amber-outlined tiles
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --shelldfd7d-ink-bg: #141414;
  --shelldfd7d-ink-bg-2: #1b1b1e;
  --shelldfd7d-ink-bg-3: #212125;
  --shelldfd7d-mint: #00fa9a;
  --shelldfd7d-sky: #87cefa;
  --shelldfd7d-cream: #fafad2;
  --shelldfd7d-amber: #ffb347;
  --shelldfd7d-cream-70: rgba(250, 250, 210, 0.7);
  --shelldfd7d-cream-55: rgba(250, 250, 210, 0.55);
  --shelldfd7d-hairline: rgba(250, 250, 210, 0.14);
  --shelldfd7d-amber-line: rgba(255, 179, 71, 0.52);
  --shelldfd7d-mint-glow: rgba(0, 250, 154, 0.32);
  --shelldfd7d-font-display: "Poetsen One", "Trebuchet MS", "Segoe UI", sans-serif;
  --shelldfd7d-font-text: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --shelldfd7d-canvas: 430px;
  --shelldfd7d-radius-card: 10px;
  --shelldfd7d-radius-pill: 999px;
  --shelldfd7d-topbar-h: 106px;
  --shelldfd7d-bnav-h: 62px;
}

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

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--shelldfd7d-ink-bg);
  color: var(--shelldfd7d-cream);
  font-family: var(--shelldfd7d-font-text);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

body.shelldfd7d-noscroll {
  overflow: hidden;
}

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

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

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

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

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

::selection {
  background: var(--shelldfd7d-mint);
  color: #0c2419;
}

/* ==========================================================================
   Topbar: two stacked rows (brand row over action row)
   ========================================================================== */
.shelldfd7d-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelldfd7d-canvas);
  z-index: 80;
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shelldfd7d-hairline);
}

.shelldfd7d-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 6px;
}

.shelldfd7d-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.shelldfd7d-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--shelldfd7d-amber-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.shelldfd7d-sitename {
  font-family: var(--shelldfd7d-font-display);
  font-size: 21px;
  line-height: 1.1;
  color: var(--shelldfd7d-cream);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.shelldfd7d-sitename em {
  font-style: normal;
  color: var(--shelldfd7d-mint);
}

.shelldfd7d-menubtn {
  margin-left: auto;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: 12px;
}

.shelldfd7d-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shelldfd7d-cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shelldfd7d-menubtn.shelldfd7d-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shelldfd7d-menubtn.shelldfd7d-open span:nth-child(2) {
  opacity: 0;
}

.shelldfd7d-menubtn.shelldfd7d-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.shelldfd7d-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 9px;
}

/* ---------- shared pill buttons (round) ---------- */
.shelldfd7d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--shelldfd7d-radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--shelldfd7d-font-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.shelldfd7d-btn:active {
  transform: scale(0.96);
}

.shelldfd7d-btn--solid {
  background: var(--shelldfd7d-mint);
  border-color: var(--shelldfd7d-mint);
  color: #0b2419;
  box-shadow: 0 0 16px var(--shelldfd7d-mint-glow);
}

.shelldfd7d-btn--solid:hover {
  box-shadow: 0 0 24px rgba(0, 250, 154, 0.5);
  text-decoration: none;
}

.shelldfd7d-btn--ghost {
  background: transparent;
  border-color: var(--shelldfd7d-sky);
  color: var(--shelldfd7d-sky);
}

.shelldfd7d-btn--ghost:hover {
  background: rgba(135, 206, 250, 0.12);
  text-decoration: none;
}

.shelldfd7d-btn--amber {
  background: transparent;
  border-color: var(--shelldfd7d-amber);
  color: var(--shelldfd7d-amber);
}

.shelldfd7d-btn--amber:hover {
  background: rgba(255, 179, 71, 0.12);
  text-decoration: none;
}

.shelldfd7d-btn--block {
  width: 100%;
}

.shelldfd7d-actionrow .shelldfd7d-btn {
  flex: 1 1 0;
}

/* ==========================================================================
   Drawer: stacked overlay menu
   ========================================================================== */
.shelldfd7d-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(17, 17, 18, 0.985);
  display: flex;
  flex-direction: column;
  padding: 10px 14px calc(20px + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  overflow-y: auto;
}

.shelldfd7d-drawer.shelldfd7d-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.shelldfd7d-drawer__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 14px;
  border-bottom: 1px solid var(--shelldfd7d-hairline);
}

.shelldfd7d-drawer__head img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--shelldfd7d-amber-line);
  object-fit: cover;
}

.shelldfd7d-drawer__title {
  font-family: var(--shelldfd7d-font-display);
  font-size: 18px;
  color: var(--shelldfd7d-cream);
}

.shelldfd7d-drawer-close {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--shelldfd7d-hairline);
  background: transparent;
  color: var(--shelldfd7d-cream);
  font-size: 20px;
  line-height: 1;
}

.shelldfd7d-drawer__links {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.shelldfd7d-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--shelldfd7d-hairline);
  color: var(--shelldfd7d-cream);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.shelldfd7d-drawer__link small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--shelldfd7d-cream-55);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.shelldfd7d-drawer__link::after {
  content: "\203A";
  color: var(--shelldfd7d-amber);
  font-size: 20px;
  font-weight: 700;
}

.shelldfd7d-drawer__link:hover {
  color: var(--shelldfd7d-mint);
  text-decoration: none;
}

.shelldfd7d-drawer__link.shelldfd7d-here {
  color: var(--shelldfd7d-mint);
}

.shelldfd7d-drawer__promo {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 10px;
}

/* ==========================================================================
   Main canvas
   ========================================================================== */
.shelldfd7d-main {
  max-width: var(--shelldfd7d-canvas);
  margin: 0 auto;
  padding: calc(var(--shelldfd7d-topbar-h) + 12px) 14px
    calc(var(--shelldfd7d-bnav-h) + 26px + env(safe-area-inset-bottom));
}

.shelldfd7d-sec {
  margin-top: 28px;
  scroll-margin-top: calc(var(--shelldfd7d-topbar-h) + 10px);
}

.shelldfd7d-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shelldfd7d-amber);
}

.shelldfd7d-sec__title {
  font-family: var(--shelldfd7d-font-display);
  font-size: 21px;
  line-height: 1.22;
  font-weight: 400;
  color: var(--shelldfd7d-cream);
  padding-left: 10px;
  border-left: 3px solid var(--shelldfd7d-amber);
  overflow-wrap: break-word;
}

.shelldfd7d-sec__title b {
  color: var(--shelldfd7d-mint);
  font-weight: 400;
}

.shelldfd7d-lede {
  margin: 10px 0 0;
  color: var(--shelldfd7d-cream-70);
  font-size: 14.5px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.shelldfd7d-hero {
  margin-top: 2px;
  padding: 18px 15px 16px;
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(0, 250, 154, 0.14), transparent 55%),
    radial-gradient(110% 90% at 92% 8%, rgba(135, 206, 250, 0.12), transparent 58%),
    var(--shelldfd7d-ink-bg-2);
}

.shelldfd7d-hero__title {
  font-family: var(--shelldfd7d-font-display);
  font-size: 27px;
  line-height: 1.16;
  font-weight: 400;
  color: var(--shelldfd7d-cream);
  overflow-wrap: break-word;
}

.shelldfd7d-hero__title span {
  color: var(--shelldfd7d-mint);
}

.shelldfd7d-hero__sub {
  margin-top: 10px;
  color: var(--shelldfd7d-cream-70);
  font-size: 14.5px;
}

.shelldfd7d-hero__cta {
  margin-top: 14px;
  display: flex;
  gap: 9px;
}

.shelldfd7d-hero__cta .shelldfd7d-btn {
  flex: 1 1 0;
  padding: 0 10px;
  font-size: 14px;
}

/* ==========================================================================
   Carousel (local promo banners)
   ========================================================================== */
.shelldfd7d-slide-wrap {
  position: relative;
  margin-top: 16px;
  border: 1px solid var(--shelldfd7d-amber-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--shelldfd7d-ink-bg-3);
}

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

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

.shelldfd7d-slide button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.shelldfd7d-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shelldfd7d-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.shelldfd7d-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: var(--shelldfd7d-radius-pill);
  border: 0;
  background: rgba(250, 250, 210, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.shelldfd7d-dot.shelldfd7d-on {
  width: 22px;
  background: var(--shelldfd7d-mint);
}

/* ==========================================================================
   Quick fact strip
   ========================================================================== */
.shelldfd7d-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shelldfd7d-strip__item {
  padding: 10px 10px 9px;
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: var(--shelldfd7d-radius-card);
  background: var(--shelldfd7d-ink-bg-2);
}

.shelldfd7d-strip__num {
  display: block;
  font-family: var(--shelldfd7d-font-display);
  font-size: 19px;
  color: var(--shelldfd7d-mint);
  line-height: 1.1;
}

.shelldfd7d-strip__label {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--shelldfd7d-cream-55);
}

/* ==========================================================================
   Game grid: amber-outlined tiles, 4 cols (5 at 430px)
   ========================================================================== */
.shelldfd7d-grid {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shelldfd7d-gcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 4px 8px;
  background: var(--shelldfd7d-ink-bg-2);
  border: 1px solid var(--shelldfd7d-amber-line);
  border-radius: var(--shelldfd7d-radius-card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shelldfd7d-gcard:hover {
  border-color: var(--shelldfd7d-amber);
  text-decoration: none;
}

.shelldfd7d-gcard:active {
  transform: scale(0.95);
}

.shelldfd7d-gcard__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--shelldfd7d-ink-bg-3);
}

.shelldfd7d-gcard__name {
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: 0.15px;
  color: rgba(250, 250, 210, 0.92);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

/* ==========================================================================
   Content modules (each one presents differently on purpose)
   ========================================================================== */

/* What-is: mint-edged reading card */
.shelldfd7d-note {
  margin-top: 13px;
  padding: 15px 14px;
  border: 1px solid var(--shelldfd7d-hairline);
  border-left: 3px solid var(--shelldfd7d-mint);
  border-radius: var(--shelldfd7d-radius-card);
  background: var(--shelldfd7d-ink-bg-2);
}

.shelldfd7d-note p {
  margin-bottom: 11px;
  color: var(--shelldfd7d-cream-70);
  font-size: 14.5px;
}

.shelldfd7d-note p:last-child {
  margin-bottom: 0;
}

.shelldfd7d-note strong {
  color: var(--shelldfd7d-cream);
  font-weight: 700;
}

.shelldfd7d-h3 {
  margin: 16px 0 8px;
  font-family: var(--shelldfd7d-font-display);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.25;
  color: var(--shelldfd7d-sky);
  overflow-wrap: break-word;
}

/* Payment: rows with chips */
.shelldfd7d-pay {
  margin-top: 13px;
  display: grid;
  gap: 9px;
}

.shelldfd7d-pay__row {
  display: flex;
  gap: 11px;
  padding: 12px 12px;
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: var(--shelldfd7d-radius-card);
  background: var(--shelldfd7d-ink-bg-2);
}

.shelldfd7d-pay__dot {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: var(--shelldfd7d-radius-pill);
  border: 1.5px solid var(--shelldfd7d-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shelldfd7d-font-display);
  font-size: 15px;
  color: var(--shelldfd7d-amber);
}

.shelldfd7d-pay__body {
  min-width: 0;
}

.shelldfd7d-pay__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--shelldfd7d-cream);
}

.shelldfd7d-pay__desc {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-chips {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shelldfd7d-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--shelldfd7d-radius-pill);
  border: 1px solid rgba(135, 206, 250, 0.45);
  background: rgba(135, 206, 250, 0.1);
  color: var(--shelldfd7d-sky);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* App module: preview figure + numbered steps */
.shelldfd7d-app {
  margin-top: 13px;
  display: grid;
  gap: 12px;
}

.shelldfd7d-app__fig {
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: var(--shelldfd7d-radius-card);
  overflow: hidden;
  background: var(--shelldfd7d-ink-bg-3);
}

.shelldfd7d-app__fig img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.shelldfd7d-app__fig figcaption {
  padding: 7px 11px;
  font-size: 11.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--shelldfd7d-cream-55);
  border-top: 1px solid var(--shelldfd7d-hairline);
}

.shelldfd7d-steps {
  counter-reset: shelldfd7d-step;
  display: grid;
  gap: 9px;
}

.shelldfd7d-steps li {
  counter-increment: shelldfd7d-step;
  position: relative;
  padding: 11px 12px 11px 48px;
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: var(--shelldfd7d-radius-card);
  background: var(--shelldfd7d-ink-bg-2);
  font-size: 14px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-steps li::before {
  content: counter(shelldfd7d-step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: var(--shelldfd7d-radius-pill);
  background: rgba(0, 250, 154, 0.14);
  border: 1.5px solid var(--shelldfd7d-mint);
  color: var(--shelldfd7d-mint);
  font-family: var(--shelldfd7d-font-display);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Winners: ledger rows */
.shelldfd7d-wins {
  margin-top: 13px;
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: var(--shelldfd7d-radius-card);
  background: var(--shelldfd7d-ink-bg-2);
  padding: 4px 12px;
}

.shelldfd7d-wins__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--shelldfd7d-hairline);
  font-size: 13.5px;
}

.shelldfd7d-wins__row:last-child {
  border-bottom: 0;
}

.shelldfd7d-wins__who {
  color: var(--shelldfd7d-cream);
  font-weight: 600;
  white-space: nowrap;
}

.shelldfd7d-wins__game {
  color: var(--shelldfd7d-sky);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shelldfd7d-wins__amt {
  margin-left: auto;
  font-family: var(--shelldfd7d-font-display);
  color: var(--shelldfd7d-amber);
  white-space: nowrap;
}

.shelldfd7d-wins__time {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--shelldfd7d-cream-55);
}

/* Pros / limitations: paired ledgers */
.shelldfd7d-pl {
  margin-top: 13px;
  display: grid;
  gap: 10px;
}

.shelldfd7d-pl__card {
  padding: 13px 13px;
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: var(--shelldfd7d-radius-card);
  background: var(--shelldfd7d-ink-bg-2);
}

.shelldfd7d-pl__card--good {
  border-left: 3px solid var(--shelldfd7d-mint);
}

.shelldfd7d-pl__card--meh {
  border-left: 3px solid var(--shelldfd7d-amber);
}

.shelldfd7d-pl__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.shelldfd7d-pl__card--good .shelldfd7d-pl__tag {
  color: var(--shelldfd7d-mint);
}

.shelldfd7d-pl__card--meh .shelldfd7d-pl__tag {
  color: var(--shelldfd7d-amber);
}

.shelldfd7d-pl__card li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
  border-bottom: 1px dashed var(--shelldfd7d-hairline);
}

.shelldfd7d-pl__card li:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.shelldfd7d-pl__card--good li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  color: var(--shelldfd7d-mint);
  font-weight: 700;
}

.shelldfd7d-pl__card--meh li::before {
  content: "!";
  position: absolute;
  left: 7px;
  color: var(--shelldfd7d-amber);
  font-weight: 800;
}

/* ==========================================================================
   Extended footer (promotions > brand > directory > disclaimer)
   ========================================================================== */
.shelldfd7d-ext {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--shelldfd7d-hairline);
  display: grid;
  gap: 20px;
}

.shelldfd7d-ext__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shelldfd7d-amber);
  margin-bottom: 9px;
}

.shelldfd7d-ext__promo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.shelldfd7d-ext__promo .shelldfd7d-btn {
  width: 100%;
  min-height: 48px;
  padding: 0 8px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.shelldfd7d-ext__brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.shelldfd7d-ext__brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--shelldfd7d-amber-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.shelldfd7d-ext__brand p {
  font-size: 13px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 14px;
}

.shelldfd7d-dir a {
  font-size: 13px;
  color: var(--shelldfd7d-sky);
  text-decoration: underline;
  text-decoration-color: rgba(135, 206, 250, 0.35);
  text-underline-offset: 3px;
  line-height: 1.45;
}

.shelldfd7d-dir a:hover {
  text-decoration-color: var(--shelldfd7d-mint);
  color: var(--shelldfd7d-mint);
}

.shelldfd7d-ext__note {
  padding-top: 14px;
  border-top: 1px dashed var(--shelldfd7d-hairline);
  font-size: 12px;
  line-height: 1.6;
  color: var(--shelldfd7d-cream-55);
}

/* ==========================================================================
   Common footer + fixed bottom nav (5 roles)
   ========================================================================== */
.shelldfd7d-footer {
  max-width: var(--shelldfd7d-canvas);
  margin: 0 auto;
  padding: 0 14px 12px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--shelldfd7d-cream-55);
}

.shelldfd7d-footer b {
  color: var(--shelldfd7d-cream-70);
  font-weight: 600;
}

.shelldfd7d-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelldfd7d-canvas);
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(23, 23, 25, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--shelldfd7d-hairline);
  padding-bottom: env(safe-area-inset-bottom);
}

.shelldfd7d-bnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shelldfd7d-bnav-h);
  padding: 8px 2px 7px;
  background: transparent;
  border: 0;
  color: var(--shelldfd7d-cream-55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.18s ease, color 0.18s ease;
}

.shelldfd7d-bnav__item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.shelldfd7d-bnav__item:hover {
  color: var(--shelldfd7d-cream);
  text-decoration: none;
}

.shelldfd7d-bnav__item:active {
  transform: scale(0.94);
}

.shelldfd7d-bnav__item.shelldfd7d-active {
  color: var(--shelldfd7d-mint);
  transform: translateY(-2px);
}

.shelldfd7d-bnav__item--promo {
  color: var(--shelldfd7d-amber);
}

.shelldfd7d-bnav__item--promo.shelldfd7d-active {
  color: var(--shelldfd7d-amber);
}

/* ==========================================================================
   Wide screens keep the phone canvas centred
   ========================================================================== */
@media (min-width: 431px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(0, 250, 154, 0.06), transparent 70%),
      radial-gradient(50% 34% at 50% 100%, rgba(135, 206, 250, 0.05), transparent 70%),
      #0e0e0f;
  }
}

@media (min-width: 430px) {
  .shelldfd7d-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .shelldfd7d-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .shelldfd7d-hero__title {
    font-size: 30px;
  }

  .shelldfd7d-sec__title {
    font-size: 22px;
  }

  .shelldfd7d-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .shelldfd7d-dir {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .shelldfd7d-main,
  .shelldfd7d-footer,
  .shelldfd7d-topbar,
  .shelldfd7d-bnav {
    box-shadow: 0 0 0 1px var(--shelldfd7d-hairline);
  }
}

/* ==========================================================================
   Help pages: distinct from the lobby and from each other
   ========================================================================== */
.shelldfd7d-prose p {
  margin-top: 10px;
  color: var(--shelldfd7d-cream-70);
  font-size: 14.5px;
}

.shelldfd7d-helpcta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shelldfd7d-helpcta .shelldfd7d-btn {
  flex: 1 1 140px;
}

.shelldfd7d-defs {
  margin-top: 12px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--shelldfd7d-hairline);
}

.shelldfd7d-defs div {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--shelldfd7d-hairline);
}

.shelldfd7d-defs dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--shelldfd7d-amber);
}

.shelldfd7d-defs dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-checks {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shelldfd7d-checks li {
  position: relative;
  min-height: 44px;
  padding: 10px 10px 10px 36px;
  border: 1px solid var(--shelldfd7d-hairline);
  border-radius: 0;
  background: var(--shelldfd7d-ink-bg-2);
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-checks li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--shelldfd7d-mint);
  border-radius: 2px;
}

.shelldfd7d-pair {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.shelldfd7d-pair article {
  padding: 12px;
  border: 1px solid var(--shelldfd7d-amber-line);
  border-radius: 0;
  background: var(--shelldfd7d-ink-bg-2);
}

.shelldfd7d-pair h3 {
  margin-top: 0;
}

.shelldfd7d-pair p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-scene {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--shelldfd7d-amber);
  border-radius: 0;
  background: rgba(255, 179, 71, 0.06);
}

.shelldfd7d-scene p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-faq {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.shelldfd7d-faq article {
  padding: 12px;
  border-left: 3px solid var(--shelldfd7d-sky);
  background: var(--shelldfd7d-ink-bg-2);
}

.shelldfd7d-faq h3 {
  margin: 0;
  font-size: 15px;
}

.shelldfd7d-faq p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-sheet {
  margin-top: 12px;
  display: grid;
}

.shelldfd7d-sheet__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--shelldfd7d-hairline);
  font-size: 13.5px;
}

.shelldfd7d-sheet__row b {
  color: var(--shelldfd7d-amber);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.shelldfd7d-sheet__row span {
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-devices {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shelldfd7d-devices article {
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(135, 206, 250, 0.16), transparent 42%),
    var(--shelldfd7d-ink-bg-2);
  border-bottom: 2px solid var(--shelldfd7d-sky);
}

.shelldfd7d-devices h3 {
  margin: 0;
}

.shelldfd7d-devices p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-split {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shelldfd7d-split article {
  padding: 12px 12px 4px;
  background: var(--shelldfd7d-ink-bg-3);
}

.shelldfd7d-split h3 {
  margin: 0 0 4px;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.shelldfd7d-split li {
  padding: 7px 0;
  border-top: 1px solid var(--shelldfd7d-hairline);
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-bounds {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shelldfd7d-bounds li {
  padding: 10px 12px;
  border-top: 3px solid var(--shelldfd7d-mint);
  background: var(--shelldfd7d-ink-bg-2);
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-timeline {
  margin-top: 12px;
  display: grid;
  gap: 0;
}

.shelldfd7d-timeline li {
  padding: 0 0 12px 14px;
  border-left: 2px solid var(--shelldfd7d-mint);
  font-size: 14px;
  color: var(--shelldfd7d-cream-70);
}

.shelldfd7d-timeline li:last-child {
  padding-bottom: 0;
}

.shelldfd7d-timeline strong {
  display: block;
  color: var(--shelldfd7d-cream);
  font-size: 13px;
  letter-spacing: 0.4px;
}

.shelldfd7d-field {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.shelldfd7d-field li {
  padding: 8px 10px;
  border: 1px solid var(--shelldfd7d-hairline);
  background: var(--shelldfd7d-ink-bg-2);
  font-size: 13.5px;
  color: var(--shelldfd7d-cream-70);
}

/* ---------- motion prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
