/* ============================================================
   phdream22 login app apk - shared style layers
   Mobile-first phone canvas: 320px up to 430px, centered
   on wide screens. All classes and variables use shell115a1-.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --shell115a1-ink: #2e4057;          /* deep slate canvas */
  --shell115a1-ink-deep: #25344a;     /* raised panel */
  --shell115a1-ink-night: #1a2637;    /* page backdrop + bars */
  --shell115a1-rose: #e91e63;         /* primary action */
  --shell115a1-rose-hard: #c71585;    /* pressed / deep accent */
  --shell115a1-blush: #ff91a4;        /* soft highlight + strokes */
  --shell115a1-coral: #e9967a;        /* warm secondary */
  --shell115a1-mist: #999999;         /* quiet meta text */
  --shell115a1-paper: #f6f1f2;        /* main text on dark */
  --shell115a1-paper-dim: #cfc7ce;    /* secondary text */
  --shell115a1-line: rgba(255, 145, 164, 0.30);
  --shell115a1-line-soft: rgba(255, 145, 164, 0.15);
  --shell115a1-glass: rgba(26, 38, 55, 0.94);
  --shell115a1-shadow: 0 10px 26px rgba(12, 20, 32, 0.45);
  --shell115a1-font-head: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --shell115a1-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell115a1-rad: 10px;
  --shell115a1-rad-s: 7px;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell115a1-ink-night);
  color: var(--shell115a1-paper);
  font-family: var(--shell115a1-font-body);
  font-size: 14px;
  line-height: 1.58;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--shell115a1-font-head);
  color: var(--shell115a1-paper);
  margin: 0 0 8px;
  line-height: 1.28;
  overflow-wrap: break-word;
}

h1 { font-size: 21px; letter-spacing: 0.2px; }
h2 { font-size: 17.5px; padding-bottom: 6px; border-bottom: 1px solid var(--shell115a1-line); }
h3 { font-size: 14.5px; color: var(--shell115a1-blush); }

p { margin: 0 0 10px; }
ul, ol { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 7px; }

a { color: var(--shell115a1-blush); text-decoration: none; }
a:hover { color: var(--shell115a1-coral); }

:focus-visible {
  outline: 2px solid var(--shell115a1-blush);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. Phone canvas ---------- */
.shell115a1-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;   /* hard phone-canvas ceiling */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell115a1-ink);
  box-shadow: 0 0 46px rgba(8, 14, 24, 0.55);
}

@media (min-width: 431px) {
  .shell115a1-canvas {
    border-left: 1px solid var(--shell115a1-line-soft);
    border-right: 1px solid var(--shell115a1-line-soft);
  }
}

@media (max-width: 360px) {
  .shell115a1-toprow { gap: 3px; padding-left: 6px; padding-right: 6px; }
  .shell115a1-brand { gap: 5px; }
  .shell115a1-brand img { width: 32px; height: 32px; }
  .shell115a1-brandtxt { font-size: 11.5px; }
  .shell115a1-brandtxt small { font-size: 8px; letter-spacing: 0.2px; }
  .shell115a1-acts { gap: 3px; }
  .shell115a1-reg { font-size: 10px; min-height: 36px; }
  .shell115a1-reg span { padding: 0 6px; }
  .shell115a1-reg i { display: none; }
  .shell115a1-log { min-height: 36px; padding: 0 7px; font-size: 10px; }
  .shell115a1-burger { width: 36px; height: 36px; padding-left: 8px; padding-right: 8px; }
}

.shell115a1-main {
  padding: 14px 12px calc(92px + env(safe-area-inset-bottom));
}

/* ---------- 4. Top action bar ---------- */
.shell115a1-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--shell115a1-glass);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--shell115a1-line-soft);
}

.shell115a1-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
}

.shell115a1-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
}

.shell115a1-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--shell115a1-line);
  flex: none;
}

.shell115a1-brandtxt {
  font-family: var(--shell115a1-font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  color: var(--shell115a1-paper);
  letter-spacing: 0.2px;
  overflow-wrap: anywhere;
}

.shell115a1-brandtxt small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--shell115a1-blush);
  letter-spacing: 0.6px;
}

.shell115a1-acts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* segmented Register button: solid head + outlined tail */
.shell115a1-reg {
  display: flex;
  align-items: stretch;
  min-height: 38px;
  border: 1px solid var(--shell115a1-blush);
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  font-family: var(--shell115a1-font-head);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  padding: 0;
}

.shell115a1-reg span {
  display: flex;
  align-items: center;
  padding: 0 11px;
  background: linear-gradient(135deg, var(--shell115a1-rose), var(--shell115a1-rose-hard));
  transition: filter 0.25s ease;
}

.shell115a1-reg i {
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-style: normal;
  background: rgba(255, 145, 164, 0.16);
  color: var(--shell115a1-blush);
  transition: background 0.25s ease;
}

.shell115a1-reg:hover span { filter: brightness(1.12); }
.shell115a1-reg:hover i { background: rgba(255, 145, 164, 0.30); }
.shell115a1-reg:active span { filter: brightness(0.92); }

.shell115a1-log {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--shell115a1-line);
  border-radius: 9px;
  background: transparent;
  color: var(--shell115a1-paper);
  font-family: var(--shell115a1-font-head);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.shell115a1-log:hover {
  border-color: var(--shell115a1-blush);
  color: var(--shell115a1-blush);
  background: rgba(255, 145, 164, 0.10);
}

/* burger trigger */
.shell115a1-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--shell115a1-line);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

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

.shell115a1-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell115a1-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.shell115a1-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Expandable drawer menu ---------- */
.shell115a1-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  border-top: 0 solid transparent;
}

.shell115a1-drawer-open {
  max-height: 560px;
  border-top: 1px solid var(--shell115a1-line-soft);
}

.shell115a1-drawergroups {
  padding: 10px 10px 14px;
}

.shell115a1-dgroup {
  margin-bottom: 10px;
}

.shell115a1-dgroup:last-child { margin-bottom: 0; }

.shell115a1-dcap {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell115a1-mist);
  margin: 6px 2px 6px;
}

.shell115a1-dlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shell115a1-dlink {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 13px;
  border: 1px solid var(--shell115a1-line-soft);
  border-radius: 9px;
  background: var(--shell115a1-ink-deep);
  color: var(--shell115a1-paper-dim);
  font-size: 12.5px;
  font-weight: 600;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.shell115a1-dlink:hover {
  color: var(--shell115a1-blush);
  border-color: var(--shell115a1-blush);
}

.shell115a1-dlink-on {
  background: var(--shell115a1-rose);
  border-color: var(--shell115a1-rose);
  color: #fff;
}

/* ---------- 6. Hero ---------- */
.shell115a1-hero {
  padding: 16px 2px 6px;
  animation: shell115a1-rise 0.5s ease both;
}

.shell115a1-herokicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell115a1-coral);
  border: 1px solid rgba(233, 150, 122, 0.45);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 10px;
}

.shell115a1-herotext {
  color: var(--shell115a1-paper-dim);
  font-size: 13.5px;
}

.shell115a1-ctarow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
}

.shell115a1-micro {
  font-size: 11.5px;
  color: var(--shell115a1-mist);
}

/* generic segmented CTA (hero + carousel + promos) */
.shell115a1-seg {
  display: inline-flex;
  align-items: stretch;
  min-height: 44px;
  border: 1px solid var(--shell115a1-blush);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  font-family: var(--shell115a1-font-head);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  padding: 0;
}

.shell115a1-seg span {
  display: flex;
  align-items: center;
  padding: 0 15px;
  background: linear-gradient(135deg, var(--shell115a1-rose), var(--shell115a1-rose-hard));
  transition: filter 0.25s ease;
}

.shell115a1-seg i {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-style: normal;
  background: rgba(255, 145, 164, 0.16);
  color: var(--shell115a1-blush);
  transition: background 0.25s ease;
}

.shell115a1-seg:hover span { filter: brightness(1.12); }
.shell115a1-seg:hover i { background: rgba(255, 145, 164, 0.30); }
.shell115a1-seg:active span { filter: brightness(0.92); }

/* ---------- 7. Promo carousel ---------- */
.shell115a1-caro {
  margin: 14px 0 4px;
}

.shell115a1-carotrack {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--shell115a1-rad);
}

.shell115a1-carotrack::-webkit-scrollbar { display: none; }

.shell115a1-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border: 1px solid var(--shell115a1-line-soft);
  border-radius: var(--shell115a1-rad);
  overflow: hidden;
  background: var(--shell115a1-ink-deep);
}

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

.shell115a1-slidebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 10px;
  border-top: 1px solid var(--shell115a1-line-soft);
}

.shell115a1-slidebar p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shell115a1-paper);
  flex: 1 1 150px;
}

.shell115a1-miniseg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--shell115a1-blush);
  border-radius: 8px;
  background: rgba(233, 30, 99, 0.22);
  color: #fff;
  font-family: var(--shell115a1-font-head);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.shell115a1-miniseg:hover { background: rgba(233, 30, 99, 0.42); }

.shell115a1-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
}

.shell115a1-dot {
  width: 22px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--shell115a1-line);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease, border-color 0.3s ease;
}

.shell115a1-dot-on {
  width: 34px;
  background: var(--shell115a1-rose);
  border-color: var(--shell115a1-rose);
}

/* ---------- 8. Category quick strip ---------- */
.shell115a1-quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 12px;
  scrollbar-width: none;
}

.shell115a1-quick::-webkit-scrollbar { display: none; }

.shell115a1-qchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--shell115a1-line);
  border-radius: 999px;
  background: var(--shell115a1-ink-deep);
  color: var(--shell115a1-paper-dim);
  font-size: 12.5px;
  font-weight: 700;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.shell115a1-qchip b {
  color: var(--shell115a1-coral);
  font-weight: 700;
}

.shell115a1-qchip:hover { color: var(--shell115a1-blush); border-color: var(--shell115a1-blush); }

/* ---------- 9. Game hall ---------- */
.shell115a1-cat {
  margin: 18px 0 6px;
  scroll-margin-top: 70px;
}

.shell115a1-catlead {
  color: var(--shell115a1-paper-dim);
  font-size: 12.8px;
  margin: 6px 0 10px;
}

.shell115a1-catcount {
  display: inline-block;
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shell115a1-coral);
  border: 1px solid rgba(233, 150, 122, 0.4);
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: 2px;
}

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

@media (min-width: 414px) {
  .shell115a1-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* floating-layer game card */
.shell115a1-gcard {
  display: block;
  min-height: 44px;
  color: var(--shell115a1-paper-dim);
  transition: transform 0.22s ease;
}

.shell115a1-gcard:active { transform: translateY(1px) scale(0.98); }

.shell115a1-gthumb {
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--shell115a1-line-soft);
  border-radius: 9px;
  overflow: hidden;
  background: var(--shell115a1-ink-deep);
  box-shadow: 0 6px 14px rgba(10, 17, 28, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.shell115a1-gcard:hover .shell115a1-gthumb {
  border-color: var(--shell115a1-blush);
  box-shadow: 0 9px 20px rgba(199, 21, 133, 0.30);
}

.shell115a1-gthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell115a1-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

/* ---------- 10. Content modules (varied rhythms) ---------- */
.shell115a1-mod {
  margin-top: 26px;
  padding-top: 4px;
}

.shell115a1-modlead {
  color: var(--shell115a1-paper);
  font-size: 13.5px;
  margin-bottom: 12px;
}

/* M1: entry doors */
.shell115a1-door {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--shell115a1-line-soft);
}

.shell115a1-door:last-of-type { border-bottom: 0; }

.shell115a1-doorkey {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell115a1-line);
  border-radius: 9px;
  color: var(--shell115a1-blush);
  background: rgba(255, 145, 164, 0.08);
}

.shell115a1-doorbody b {
  display: block;
  font-family: var(--shell115a1-font-head);
  font-size: 13.5px;
  color: var(--shell115a1-blush);
  margin-bottom: 2px;
}

.shell115a1-doorbody p { margin: 0; font-size: 12.8px; color: var(--shell115a1-paper-dim); }

/* M1: steps rail */
.shell115a1-steps {
  list-style: none;
  padding: 0;
  margin: 10px 0 4px;
  counter-reset: shell115a1-step;
}

.shell115a1-steps li {
  counter-increment: shell115a1-step;
  position: relative;
  padding: 0 0 12px 40px;
  font-size: 12.9px;
  color: var(--shell115a1-paper-dim);
}

.shell115a1-steps li::before {
  content: counter(shell115a1-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell115a1-rose);
  border-radius: 50%;
  color: var(--shell115a1-blush);
  font-family: var(--shell115a1-font-head);
  font-size: 12.5px;
  font-weight: 700;
}

/* M1: usage ticks */
.shell115a1-ticks {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.shell115a1-ticks li {
  position: relative;
  padding-left: 24px;
  font-size: 12.8px;
  color: var(--shell115a1-paper-dim);
}

.shell115a1-ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--shell115a1-coral);
  border-radius: 2px;
}

/* M2: scenario branches */
.shell115a1-branch {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--shell115a1-line-soft);
}

.shell115a1-branch:last-of-type { border-bottom: 0; }

.shell115a1-branchtag {
  flex: none;
  align-self: flex-start;
  max-width: 96px;
  padding: 5px 9px;
  border: 1px solid rgba(233, 150, 122, 0.5);
  border-radius: var(--shell115a1-rad-s);
  color: var(--shell115a1-coral);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: center;
}

.shell115a1-branchbody { flex: 1; min-width: 0; }
.shell115a1-branchbody h3 { margin-bottom: 4px; }
.shell115a1-branchbody p { margin: 0; font-size: 12.8px; color: var(--shell115a1-paper-dim); }

/* M3: plain numbered advice list */
.shell115a1-plainlist {
  margin: 8px 0 0;
  padding-left: 22px;
}

.shell115a1-plainlist li { font-size: 12.9px; color: var(--shell115a1-paper-dim); }
.shell115a1-plainlist li::marker { color: var(--shell115a1-rose); font-weight: 700; }

/* M4: feature check rows */
.shell115a1-checks {
  margin: 10px 0 0;
}

.shell115a1-checkrow {
  padding: 10px 0;
  border-bottom: 1px dashed var(--shell115a1-line-soft);
}

.shell115a1-checkrow:last-child { border-bottom: 0; }

.shell115a1-checkrow b {
  display: block;
  font-family: var(--shell115a1-font-head);
  font-size: 13px;
  color: var(--shell115a1-blush);
  margin-bottom: 3px;
}

.shell115a1-checkrow p { margin: 0; font-size: 12.8px; color: var(--shell115a1-paper-dim); }

/* M5: payment tiles */
.shell115a1-paygrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0;
}

.shell115a1-paytile {
  border: 1px solid var(--shell115a1-line-soft);
  border-radius: var(--shell115a1-rad);
  background: var(--shell115a1-ink-deep);
  padding: 11px 11px 9px;
}

.shell115a1-paytile b {
  display: block;
  font-family: var(--shell115a1-font-head);
  font-size: 13px;
  color: var(--shell115a1-coral);
  margin-bottom: 4px;
}

.shell115a1-paytile p { margin: 0; font-size: 12.3px; color: var(--shell115a1-paper-dim); }

/* M6: relation rows */
.shell115a1-rel {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--shell115a1-line-soft);
}

.shell115a1-rel:last-of-type { border-bottom: 0; }

.shell115a1-relchip {
  flex: none;
  font-family: var(--shell115a1-font-head);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--shell115a1-rose-hard);
  border-radius: var(--shell115a1-rad-s);
  padding: 4px 9px;
  margin-top: 2px;
}

.shell115a1-relbody p { margin: 0; font-size: 12.8px; color: var(--shell115a1-paper-dim); }

/* module promo strip */
.shell115a1-modcta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--shell115a1-line);
  border-radius: var(--shell115a1-rad);
  background: linear-gradient(120deg, rgba(233, 30, 99, 0.16), rgba(199, 21, 133, 0.06));
}

.shell115a1-modcta p {
  margin: 0;
  flex: 1 1 160px;
  font-size: 12.6px;
  color: var(--shell115a1-paper);
  font-weight: 600;
}

/* ---------- 11. Extended footer ---------- */
.shell115a1-xfoot {
  margin-top: 30px;
  border: 1px solid var(--shell115a1-line-soft);
  border-radius: var(--shell115a1-rad);
  background: var(--shell115a1-ink-night);
  padding: 14px 12px;
}

.shell115a1-xfbrand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shell115a1-xfbrand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--shell115a1-line);
  flex: none;
}

.shell115a1-xfbrand p {
  margin: 0;
  font-size: 12.3px;
  color: var(--shell115a1-paper-dim);
}

.shell115a1-xfsplit {
  height: 1px;
  background: var(--shell115a1-line-soft);
  margin: 13px 0;
}

.shell115a1-xfcap {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell115a1-mist);
  margin: 0 0 8px;
}

.shell115a1-xfdir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
}

.shell115a1-xfdir a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 10px;
  border: 1px solid var(--shell115a1-line-soft);
  border-radius: var(--shell115a1-rad-s);
  background: var(--shell115a1-ink-deep);
  color: var(--shell115a1-paper-dim);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.shell115a1-xfdir a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shell115a1-coral);
  margin-right: 8px;
}

.shell115a1-xfdir a:hover { color: var(--shell115a1-blush); border-color: var(--shell115a1-blush); }

.shell115a1-xfpromo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shell115a1-xfpromo a,
.shell115a1-xfpromo button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 13px;
  border: 1px solid var(--shell115a1-rose);
  border-radius: 999px;
  background: rgba(233, 30, 99, 0.14);
  color: var(--shell115a1-paper);
  font-family: var(--shell115a1-font-head);
  font-size: 12.3px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.shell115a1-xfpromo a:hover,
.shell115a1-xfpromo button:hover {
  background: var(--shell115a1-rose);
  color: #fff;
}

.shell115a1-xfdisc {
  margin: 0;
  font-size: 11.3px;
  line-height: 1.55;
  color: var(--shell115a1-mist);
}

/* ---------- 12. Common footer ---------- */
.shell115a1-foot {
  padding: 14px 12px 8px;
  text-align: center;
  border-top: 1px solid var(--shell115a1-line-soft);
}

.shell115a1-foot p {
  margin: 0;
  font-size: 11.5px;
  color: var(--shell115a1-mist);
}

/* ---------- 13. Bottom dock nav ---------- */
.shell115a1-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;   /* dock never leaves the phone canvas */
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: var(--shell115a1-glass);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-top: 1px solid var(--shell115a1-line);
}

.shell115a1-dockbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  border: 0;
  border-radius: var(--shell115a1-rad-s);
  background: transparent;
  color: var(--shell115a1-paper-dim);
  font-family: var(--shell115a1-font-body);
  font-size: 10.3px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.shell115a1-dockicon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell115a1-line);
  border-radius: 9px;
  color: var(--shell115a1-blush);
  background: rgba(255, 145, 164, 0.07);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.shell115a1-dockicon svg { width: 16px; height: 16px; }

.shell115a1-dockbtn:hover { color: var(--shell115a1-blush); }

/* active page: contrast inversion */
.shell115a1-dockbtn-on { color: #fff; }

.shell115a1-dockbtn-on .shell115a1-dockicon {
  background: var(--shell115a1-rose);
  border-color: var(--shell115a1-rose);
  color: #fff;
}

.shell115a1-dockbtn-cta .shell115a1-dockicon {
  border-color: var(--shell115a1-rose-hard);
  color: var(--shell115a1-coral);
}

.shell115a1-dockbtn-cta:hover .shell115a1-dockicon {
  background: var(--shell115a1-rose-hard);
  border-color: var(--shell115a1-rose-hard);
  color: #fff;
}

/* ---------- 14. Motion ---------- */
@keyframes shell115a1-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* utility */
.shell115a1-sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
