/* ==========================================================================
   phpjili.click - mobile token sheet
   File   : css/mobile-6e662d-tokens.css
   Prefix : ui6e662-  (all classes and custom properties)
   Canvas : 320-430px phone frame, centered on wide screens
   Palette: #FFB6C1 blush | #80CBC4 teal | #2C3E50 slate | #E0FFFF ice
   Voice  : poster headings over narrow body, pill buttons, square tiles,
            question-driven rhythm, restrained fade feedback
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --ui6e662-c-blush: #FFB6C1;
  --ui6e662-c-blush-deep: #F29BA9;
  --ui6e662-c-teal: #80CBC4;
  --ui6e662-c-teal-deep: #5FB4AB;
  --ui6e662-c-slate: #2C3E50;
  --ui6e662-c-abyss: #16202B;
  --ui6e662-c-panel: #243447;
  --ui6e662-c-panel-2: #1F2D3A;
  --ui6e662-c-ice: #E0FFFF;

  --ui6e662-ink: var(--ui6e662-c-ice);
  --ui6e662-ink-dim: rgba(224, 255, 255, 0.68);
  --ui6e662-ink-faint: rgba(224, 255, 255, 0.46);
  --ui6e662-line: rgba(224, 255, 255, 0.14);
  --ui6e662-line-soft: rgba(224, 255, 255, 0.09);

  --ui6e662-font-poster: "Bebas Neue", "Archivo Black", "Arial Narrow", Impact, sans-serif;
  --ui6e662-font-body: "Barlow Semi Condensed", "Roboto Condensed", "Avenir Next Condensed", "Segoe UI", Arial, sans-serif;

  --ui6e662-r-pill: 999px;
  --ui6e662-r-card: 10px;
  --ui6e662-r-tile: 6px;

  --ui6e662-shadow-1: 0 10px 26px rgba(9, 14, 20, 0.42);
  --ui6e662-shadow-2: 0 18px 44px rgba(9, 14, 20, 0.55);

  --ui6e662-topbar-h: 58px;
  --ui6e662-bnav-h: 64px;
  --ui6e662-pad-x: 14px;
  --ui6e662-ease: cubic-bezier(0.22, 0.75, 0.35, 1);
}

/* Compatible accessibility and reading additions. */
:root {
  --ui6e662-ink-dim: #D1E7EA;
  --ui6e662-ink-faint: #BCD3D8;
  --ui6e662-r-card: 2px;
  --ui6e662-r-tile: 2px;
}

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

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

body {
  margin: 0;
  font-family: var(--ui6e662-font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ui6e662-ink);
  background:
    radial-gradient(520px 320px at 18% -6%, rgba(255, 182, 193, 0.07), transparent 70%),
    radial-gradient(560px 380px at 88% 12%, rgba(128, 203, 196, 0.06), transparent 72%),
    var(--ui6e662-c-abyss);
  overflow-x: clip;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4, p, dl, dd, dt, figure { margin: 0; }

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

::selection { background: var(--ui6e662-c-blush); color: #2C3E50; }

:focus-visible {
  outline: 2px solid var(--ui6e662-c-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* phone canvas: everything lives inside a capped column */
.ui6e662-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--ui6e662-c-slate);
  border-inline: 1px solid var(--ui6e662-line-soft);
  overflow-x: clip;
}

.ui6e662-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 90;
  padding: 8px 14px;
  background: var(--ui6e662-c-blush);
  color: #2C3E50;
  font-weight: 700;
  border-radius: var(--ui6e662-r-pill);
  transition: top 0.2s var(--ui6e662-ease);
}

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

.ui6e662-page {
  padding: 0 var(--ui6e662-pad-x) calc(var(--ui6e662-bnav-h) + 26px + env(safe-area-inset-bottom, 0px));
}

/* ------------------------------------------------------------- top action
   strip: logo + name on the left, compact register/login + menu on the
   right. Sticky so it never covers content, only follows the scroll.      */
.ui6e662-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--ui6e662-topbar-h);
  padding: 8px 10px;
  background: rgba(31, 45, 58, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ui6e662-line);
}

.ui6e662-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.ui6e662-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--ui6e662-line);
  background: var(--ui6e662-c-panel-2);
  object-fit: cover;
  flex: none;
}

.ui6e662-brand-name {
  font-family: var(--ui6e662-font-poster);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 1.5px;
  color: var(--ui6e662-ink);
  white-space: nowrap;
}

.ui6e662-brand-name em {
  font-style: normal;
  color: var(--ui6e662-c-blush);
}

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

/* pill CTA family: compact icon + text buttons */
.ui6e662-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: var(--ui6e662-r-pill);
  font-family: var(--ui6e662-font-poster);
  font-size: 14.5px;
  letter-spacing: 1.1px;
  line-height: 1;
  transition: transform 0.16s var(--ui6e662-ease), box-shadow 0.16s var(--ui6e662-ease), background 0.16s var(--ui6e662-ease);
}

.ui6e662-btn svg { width: 13px; height: 13px; flex: none; }

.ui6e662-btn:active { transform: scale(0.94); }

.ui6e662-btn--join {
  background: linear-gradient(135deg, var(--ui6e662-c-blush), var(--ui6e662-c-blush-deep));
  color: #2C3E50;
  box-shadow: 0 6px 16px rgba(255, 182, 193, 0.28);
}

.ui6e662-btn--ghost {
  border: 1px solid var(--ui6e662-c-teal);
  color: var(--ui6e662-c-teal);
  background: rgba(128, 203, 196, 0.08);
}

.ui6e662-btn--menu {
  width: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid var(--ui6e662-line);
  border-radius: var(--ui6e662-r-pill);
  color: var(--ui6e662-ink-dim);
  background: var(--ui6e662-c-panel-2);
}

.ui6e662-btn--menu svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------- drawer */
.ui6e662-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10, 16, 22, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ui6e662-ease);
}

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

.ui6e662-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  /* keep the panel inside the phone canvas even on wide screens */
  right: max(0px, calc(50% - 215px));
  z-index: 60;
  width: min(84vw, 302px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(175deg, #26374B 0%, #1F2D3A 100%);
  border-left: 1px solid var(--ui6e662-line);
  box-shadow: var(--ui6e662-shadow-2);
  transform: translateX(106%);
  transition: transform 0.3s var(--ui6e662-ease);
  overflow-y: auto;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  visibility: hidden;
}

.ui6e662-drawer.ui6e662-is-open { transform: translateX(0); visibility: visible; }

.ui6e662-drawer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 14px 13px;
  border-bottom: 1px solid var(--ui6e662-line-soft);
}

.ui6e662-drawer-head img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--ui6e662-line);
}

.ui6e662-drawer-title {
  font-family: var(--ui6e662-font-poster);
  font-size: 19px;
  letter-spacing: 1.2px;
  margin-right: auto;
}

.ui6e662-drawer-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ui6e662-line);
  border-radius: var(--ui6e662-r-pill);
  color: var(--ui6e662-ink-dim);
}

.ui6e662-drawer-close svg { width: 15px; height: 15px; }

.ui6e662-drawer-group { padding: 12px 14px 4px; }

.ui6e662-drawer-label {
  font-size: 10.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--ui6e662-c-teal);
  padding: 0 0 6px 2px;
}

.ui6e662-drawer-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 11px;
  margin: 0 0 4px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--ui6e662-ink-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.16s var(--ui6e662-ease), color 0.16s var(--ui6e662-ease);
}

.ui6e662-drawer-link span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ui6e662-line);
  flex: none;
  transition: background 0.16s var(--ui6e662-ease), transform 0.16s var(--ui6e662-ease);
}

.ui6e662-drawer-link:hover,
.ui6e662-drawer-link:focus-visible {
  background: rgba(128, 203, 196, 0.08);
  color: var(--ui6e662-ink);
}

.ui6e662-drawer-link.ui6e662-is-here {
  background: rgba(255, 182, 193, 0.1);
  border-color: rgba(255, 182, 193, 0.35);
  color: var(--ui6e662-c-blush);
  font-weight: 600;
}

.ui6e662-drawer-link.ui6e662-is-here span { background: var(--ui6e662-c-blush); transform: scale(1.3); }

.ui6e662-drawer-cta {
  margin: 14px 14px 0;
  min-height: 44px;
  width: calc(100% - 28px);
}

/* ------------------------------------------------------------------ hero */
.ui6e662-hero {
  position: relative;
  padding: 22px 0 4px;
}

.ui6e662-hero::before {
  content: "";
  position: absolute;
  inset: -10px -8px auto -8px;
  height: 190px;
  background:
    radial-gradient(300px 130px at 16% 0%, rgba(255, 182, 193, 0.13), transparent 72%),
    radial-gradient(280px 150px at 92% 18%, rgba(128, 203, 196, 0.12), transparent 74%);
  pointer-events: none;
}

.ui6e662-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ui6e662-c-teal);
}

.ui6e662-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ui6e662-c-teal);
  border-radius: 2px;
}

.ui6e662-hero-title {
  font-family: var(--ui6e662-font-poster);
  font-size: clamp(31px, 9vw, 40px);
  line-height: 0.98;
  letter-spacing: 0.8px;
  margin: 9px 0 11px;
  color: var(--ui6e662-ink);
  text-wrap: balance;
}

.ui6e662-hero-title b {
  font-weight: normal;
  color: var(--ui6e662-c-blush);
}

.ui6e662-lede {
  color: var(--ui6e662-ink-dim);
  font-size: 14.5px;
  max-width: 40ch;
}

.ui6e662-lede strong { color: var(--ui6e662-ink); font-weight: 600; }

/* anchor chips strip */
.ui6e662-chips {
  display: flex;
  gap: 8px;
  margin: 15px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 4px;
}

.ui6e662-chips::-webkit-scrollbar { display: none; }

.ui6e662-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--ui6e662-line);
  border-radius: var(--ui6e662-r-pill);
  background: var(--ui6e662-c-panel);
  color: var(--ui6e662-ink-dim);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: border-color 0.16s var(--ui6e662-ease), color 0.16s var(--ui6e662-ease);
}

.ui6e662-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ui6e662-c-teal);
}

.ui6e662-chip--blush i { background: var(--ui6e662-c-blush); }
.ui6e662-chip--ice i { background: var(--ui6e662-c-ice); }

.ui6e662-chip:hover,
.ui6e662-chip:focus-visible {
  border-color: var(--ui6e662-c-teal);
  color: var(--ui6e662-ink);
}

/* -------------------------------------------------------------- carousel */
.ui6e662-carousel {
  position: relative;
  margin: 14px 0 0;
  border: 1px solid var(--ui6e662-line);
  border-radius: var(--ui6e662-r-card);
  overflow: hidden;
  background: var(--ui6e662-c-panel-2);
  box-shadow: var(--ui6e662-shadow-1);
}

.ui6e662-c-track {
  display: flex;
  transition: transform 0.45s var(--ui6e662-ease);
}

.ui6e662-c-slide {
  flex: 0 0 100%;
  display: block;
  position: relative;
}

.ui6e662-c-slide img {
  width: 100%;
  height: 164px;
  object-fit: cover;
  background: var(--ui6e662-c-panel-2);
}

.ui6e662-c-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 13px 9px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 32, 0.88));
  font-family: var(--ui6e662-font-poster);
  font-size: 17px;
  letter-spacing: 1.4px;
  color: var(--ui6e662-ink);
  line-height: 1.05;
}

.ui6e662-c-cap small {
  display: block;
  font-family: var(--ui6e662-font-body);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ui6e662-c-blush);
  margin-bottom: 2px;
}

.ui6e662-c-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding: 9px 0 2px;
}

.ui6e662-c-dot {
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: var(--ui6e662-line);
  transition: background 0.2s var(--ui6e662-ease), width 0.2s var(--ui6e662-ease);
}

.ui6e662-c-dot.ui6e662-is-on {
  background: var(--ui6e662-c-blush);
  width: 30px;
}

/* --------------------------------------------------------------- aisles */
.ui6e662-sec {
  margin-top: 26px;
  scroll-margin-top: calc(var(--ui6e662-topbar-h) + 10px);
}

.ui6e662-sec-head {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ui6e662-line);
  margin-bottom: 11px;
}

.ui6e662-sec-headtxt { min-width: 0; }

.ui6e662-sec-title {
  font-family: var(--ui6e662-font-poster);
  font-size: clamp(21px, 6vw, 25px);
  line-height: 1.04;
  letter-spacing: 0.7px;
  color: var(--ui6e662-ink);
  margin-top: 5px;
  text-wrap: balance;
}

.ui6e662-sec-count {
  margin-left: auto;
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ui6e662-c-blush);
  border: 1px solid rgba(255, 182, 193, 0.4);
  border-radius: var(--ui6e662-r-pill);
  padding: 5px 10px;
  white-space: nowrap;
}

.ui6e662-sec-intro {
  color: var(--ui6e662-ink-dim);
  font-size: 13.8px;
  margin-bottom: 13px;
}

.ui6e662-sec-intro strong { color: var(--ui6e662-ink); font-weight: 600; }

/* game grid: 4 lanes at 320px, 5 lanes from 400px up */
.ui6e662-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

/* outlined tile card: square corners, hairline frame, icon over name */
.ui6e662-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 7px 5px 8px;
  background: linear-gradient(165deg, #2A3B4E 0%, #243447 100%);
  border: 1px solid var(--ui6e662-line-soft);
  border-radius: var(--ui6e662-r-tile);
  text-align: center;
  transition: border-color 0.16s var(--ui6e662-ease), transform 0.16s var(--ui6e662-ease), box-shadow 0.16s var(--ui6e662-ease);
}

.ui6e662-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 4px;
  background: var(--ui6e662-c-panel-2);
  object-fit: cover;
}

.ui6e662-tile-name {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ui6e662-ink-dim);
  letter-spacing: 0.2px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  min-height: 24px;
}

.ui6e662-tile:hover,
.ui6e662-tile:focus-visible {
  border-color: var(--ui6e662-c-teal);
  box-shadow: 0 6px 16px rgba(9, 14, 20, 0.36);
}

.ui6e662-tile:hover .ui6e662-tile-name,
.ui6e662-tile:focus-visible .ui6e662-tile-name { color: var(--ui6e662-ink); }

.ui6e662-tile:active { transform: scale(0.95); }

/* hot aisle gets a blush-tinted frame */
.ui6e662-sec--hot .ui6e662-tile { border-color: rgba(255, 182, 193, 0.22); }

.ui6e662-sec--hot .ui6e662-tile:hover,
.ui6e662-sec--hot .ui6e662-tile:focus-visible { border-color: var(--ui6e662-c-blush); }

/* --------------------------------------------------------------- modules */
.ui6e662-module {
  margin-top: 26px;
  padding: 15px 14px 17px;
  border: 1px solid var(--ui6e662-line-soft);
  border-radius: var(--ui6e662-r-card);
  background:
    linear-gradient(180deg, rgba(36, 52, 71, 0.9), rgba(31, 45, 58, 0.92)),
    var(--ui6e662-c-panel-2);
}

.ui6e662-module .ui6e662-sec-title { margin-top: 5px; }

.ui6e662-answer {
  margin: 12px 0 14px;
  padding: 11px 13px;
  border-left: 3px solid var(--ui6e662-c-blush);
  border-radius: 6px;
  background: rgba(255, 182, 193, 0.08);
  color: var(--ui6e662-ink);
  font-size: 14px;
}

.ui6e662-mod-h3 {
  font-family: var(--ui6e662-font-poster);
  font-size: 16.5px;
  letter-spacing: 1px;
  color: var(--ui6e662-c-teal);
  margin: 15px 0 6px;
}

.ui6e662-module p,
.ui6e662-mod-p {
  color: var(--ui6e662-ink-dim);
  font-size: 13.8px;
}

.ui6e662-mod-p + .ui6e662-mod-p { margin-top: 8px; }

.ui6e662-inline {
  color: var(--ui6e662-c-blush);
  font-weight: 600;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.ui6e662-inline:hover { color: var(--ui6e662-ink); }

/* steps list */
.ui6e662-steps { counter-reset: ui6e662-step; margin-top: 10px; }

.ui6e662-steps li {
  counter-increment: ui6e662-step;
  position: relative;
  padding: 0 0 10px 34px;
  color: var(--ui6e662-ink-dim);
  font-size: 13.6px;
}

.ui6e662-steps li::before {
  content: counter(ui6e662-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ui6e662-c-teal);
  border-radius: 50%;
  color: var(--ui6e662-c-teal);
  font-family: var(--ui6e662-font-poster);
  font-size: 13px;
}

.ui6e662-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 27px;
  bottom: 2px;
  width: 1px;
  background: var(--ui6e662-line-soft);
}

/* Q&A pairs */
.ui6e662-qa { margin-top: 9px; }

.ui6e662-qa + .ui6e662-qa { margin-top: 13px; }

.ui6e662-qa-q {
  display: flex;
  gap: 8px;
  font-weight: 600;
  color: var(--ui6e662-ink);
  font-size: 13.8px;
}

.ui6e662-qa-q::before {
  content: "Q";
  flex: none;
  font-family: var(--ui6e662-font-poster);
  color: var(--ui6e662-c-teal);
  font-size: 15px;
  line-height: 1.2;
}

.ui6e662-qa-a {
  margin: 4px 0 0 23px;
  color: var(--ui6e662-ink-dim);
  font-size: 13.4px;
}

/* fact sheet */
.ui6e662-facts { margin-top: 11px; }

.ui6e662-fact {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--ui6e662-line-soft);
  align-items: baseline;
}

.ui6e662-fact:last-child { border-bottom: 0; }

.ui6e662-fact dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ui6e662-c-blush);
}

.ui6e662-fact dd {
  color: var(--ui6e662-ink-dim);
  font-size: 13.2px;
}

/* --------------------------------------------------------- extended foot */
.ui6e662-ext {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--ui6e662-line);
}

.ui6e662-ext-title {
  font-family: var(--ui6e662-font-poster);
  font-size: 19px;
  letter-spacing: 1.2px;
  color: var(--ui6e662-ink);
}

.ui6e662-dir { margin-top: 12px; }

.ui6e662-dir-group { margin-bottom: 13px; }

.ui6e662-dir-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ui6e662-c-teal);
  margin-bottom: 5px;
}

.ui6e662-dir-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 2px;
  border-bottom: 1px dashed var(--ui6e662-line-soft);
}

.ui6e662-dir-link b {
  font-weight: 600;
  font-size: 13.8px;
  color: var(--ui6e662-ink);
  white-space: nowrap;
}

.ui6e662-dir-link span {
  margin-left: auto;
  font-size: 11.4px;
  color: var(--ui6e662-ink-faint);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui6e662-dir-link:hover b { color: var(--ui6e662-c-blush); }

.ui6e662-about {
  margin-top: 6px;
  padding: 13px 13px 15px;
  border: 1px solid var(--ui6e662-line-soft);
  border-radius: var(--ui6e662-r-card);
  background: var(--ui6e662-c-panel-2);
}

.ui6e662-about p {
  margin-top: 7px;
  color: var(--ui6e662-ink-dim);
  font-size: 13.2px;
}

/* horizontal promo shortcuts */
.ui6e662-promorow {
  display: flex;
  gap: 9px;
  margin-top: 13px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 3px 0 6px;
  scroll-snap-type: x proximity;
}

.ui6e662-promorow::-webkit-scrollbar { display: none; }

.ui6e662-promo-chip {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 15px;
  border-radius: var(--ui6e662-r-pill);
  background: linear-gradient(135deg, var(--ui6e662-c-blush), var(--ui6e662-c-blush-deep));
  color: #2C3E50;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 16px rgba(255, 182, 193, 0.24);
  transition: transform 0.16s var(--ui6e662-ease);
}

.ui6e662-promo-chip svg { width: 13px; height: 13px; flex: none; }

.ui6e662-promo-chip:active { transform: scale(0.95); }

.ui6e662-promo-chip:nth-child(even) {
  background: linear-gradient(135deg, var(--ui6e662-c-teal), var(--ui6e662-c-teal-deep));
  color: #1F2D3A;
  box-shadow: 0 6px 16px rgba(128, 203, 196, 0.22);
}

.ui6e662-note {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px dashed var(--ui6e662-line);
  border-radius: 8px;
  color: var(--ui6e662-ink-faint);
  font-size: 12.2px;
  line-height: 1.5;
}

/* plain copyright strip */
.ui6e662-foot {
  padding: 16px 0 6px;
  text-align: center;
  color: var(--ui6e662-ink-faint);
  font-size: 11.4px;
  letter-spacing: 0.4px;
}

/* ------------------------------------------------------ bottom action bar */
.ui6e662-bnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 45;
  width: min(100vw, 430px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--ui6e662-bnav-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(26, 38, 50, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--ui6e662-line);
}

.ui6e662-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--ui6e662-bnav-h);
  color: var(--ui6e662-ink-faint);
  outline-offset: -3px;
}

.ui6e662-bnav-item + .ui6e662-bnav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--ui6e662-line-soft);
}

.ui6e662-bnav-ico { width: 21px; height: 21px; flex: none; }

.ui6e662-bnav-label {
  font-size: 9.6px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.8;
  transition: opacity 0.18s var(--ui6e662-ease);
}

.ui6e662-bnav-dot {
  position: absolute;
  top: 7px;
  right: calc(50% - 16px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.18s var(--ui6e662-ease);
}

.ui6e662-bnav-item:active { transform: scale(0.94); }

.ui6e662-bnav-item--promo .ui6e662-bnav-ico { color: var(--ui6e662-c-teal); }

.ui6e662-bnav-item.ui6e662-is-here { color: var(--ui6e662-c-blush); }

.ui6e662-bnav-item.ui6e662-is-here .ui6e662-bnav-label { opacity: 1; }

.ui6e662-bnav-item.ui6e662-is-here .ui6e662-bnav-dot { background: var(--ui6e662-c-blush); }

/* ------------------------------------------------------ reveal on scroll */
.ui6e662-reveal {
  opacity: 1;
  transform: none;
}
.ui6e662-reveal.ui6e662-is-in { animation: ui6e662-arrive 0.35s ease both; }
@keyframes ui6e662-arrive { from { opacity: 0.8; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.ui6e662-reveal.ui6e662-is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ui6e662-ease), transform 0.5s var(--ui6e662-ease);
}

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

  .ui6e662-reveal { opacity: 1; transform: none; }

  .ui6e662-c-track,
  .ui6e662-drawer,
  .ui6e662-scrim { transition: none; }
}

/* ------------------------------------------------------------- breakpoints */
@media (min-width: 360px) {
  .ui6e662-tile-name { font-size: 10.5px; }
  .ui6e662-sec-intro,
  .ui6e662-module p,
  .ui6e662-mod-p { font-size: 14px; }
}

@media (min-width: 375px) {
  .ui6e662-c-slide img { height: 178px; }
  .ui6e662-promo-chip { font-size: 13.2px; }
}

/* five lanes once the canvas is wide enough to keep tiles readable */
@media (min-width: 400px) {
  .ui6e662-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ui6e662-tile-name { font-size: 10px; }
}

/* Reading surfaces extend the existing visual language. */
.ui6e662-topbar { min-height: 66px; gap: 4px; padding: 6px; }
.ui6e662-brand { min-height: 44px; gap: 5px; }
.ui6e662-brand-name { font-size: 21px; letter-spacing: 0.4px; }
.ui6e662-topacts { gap: 4px; }
.ui6e662-btn { min-height: 44px; min-width: 44px; padding: 8px; font-size: 13px; letter-spacing: 0.1px; }
.ui6e662-btn--menu, .ui6e662-drawer-close { width: 44px; height: 44px; min-height: 44px; flex: none; }
.ui6e662-chip, .ui6e662-skip { min-height: 44px; }
.ui6e662-hero-title { line-height: 1.08; }
.ui6e662-page p { overflow-wrap: break-word; }
.ui6e662-lede { max-width: 100%; }
.ui6e662-page h2, .ui6e662-page h3 { overflow-wrap: break-word; }
.ui6e662-c-slide { width: 100%; text-align: left; }
.ui6e662-c-slide img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.ui6e662-c-cap { position: static; display: block; background: var(--ui6e662-c-panel-2); padding: 12px; font-family: var(--ui6e662-font-body); font-size: 13px; letter-spacing: 0; line-height: 1.5; }
.ui6e662-c-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px; padding: 6px 2px; }
.ui6e662-c-dots { padding: 0; gap: 0; }
.ui6e662-c-dot, .ui6e662-c-dot.ui6e662-is-on { position: relative; width: 44px; height: 44px; border-radius: 50%; background: transparent; }
.ui6e662-c-dot::after { content: ''; position: absolute; width: 12px; height: 5px; border-radius: 3px; background: var(--ui6e662-c-teal); top: 20px; left: 16px; }
.ui6e662-c-dot.ui6e662-is-on::after { background: var(--ui6e662-c-blush); width: 20px; left: 12px; }
.ui6e662-carousel .ui6e662-btn { font-family: var(--ui6e662-font-body); font-size: 12px; }
.ui6e662-tile { width: 100%; min-width: 0; border-radius: 2px; }
.ui6e662-tile-name { display: block; overflow: visible; min-height: 3.6em; line-height: 1.3; color: var(--ui6e662-ink); }
.ui6e662-module p + p, .ui6e662-reading p + p { margin-top: 12px; }
.ui6e662-module, .ui6e662-reading { scroll-margin-top: 80px; }
.ui6e662-inline { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
.ui6e662-reading { margin-top: 27px; padding-top: 15px; border-top: 2px solid var(--ui6e662-c-teal); }
.ui6e662-reading p { margin-top: 12px; }
.ui6e662-reading h3 { margin-top: 18px; font-size: 17px; color: var(--ui6e662-c-blush); }
.ui6e662-reading ol { list-style: decimal; padding-left: 23px; margin-top: 14px; }
.ui6e662-reading li { margin: 0 0 16px; padding-left: 4px; }
.ui6e662-reading li p { margin-top: 5px; }
.ui6e662-help-action { display: flex; margin-top: 12px; width: fit-content; max-width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--ui6e662-c-teal); border-radius: 999px; color: var(--ui6e662-c-teal); text-align: left; line-height: 1.4; }
.ui6e662-compare { margin-top: 16px; }
.ui6e662-compare > div { padding: 14px 0; border-bottom: 1px dashed var(--ui6e662-line); }
.ui6e662-compare dt { color: var(--ui6e662-c-blush); font-weight: 700; margin-bottom: 6px; }
.ui6e662-compare dd + dd { margin-top: 7px; }
.ui6e662-glossary { margin-top: 12px; }
.ui6e662-glossary dt { font-weight: 700; color: var(--ui6e662-c-teal); margin-top: 16px; }
.ui6e662-glossary dd { margin-top: 7px; }
.ui6e662-app-question { margin-top: 17px; padding: 14px 12px; border-left: 2px solid var(--ui6e662-c-blush); background: var(--ui6e662-c-panel-2); }
.ui6e662-app-question h3 { font-size: 16px; margin: 0 0 7px; }
.ui6e662-app-question p { margin-top: 0; }
.ui6e662-device { margin-top: 18px; padding: 13px; border: 1px solid var(--ui6e662-line); background: var(--ui6e662-c-panel); }
.ui6e662-device h3 { margin-top: 0; }
.ui6e662-dir-link { flex-wrap: wrap; gap: 2px 8px; }
.ui6e662-dir-link span { white-space: normal; text-align: left; margin-left: 0; width: 100%; color: var(--ui6e662-ink-dim); }
.ui6e662-foot { margin-top: 22px; }
.ui6e662-bnav-item { color: var(--ui6e662-ink-dim); }
.ui6e662-bnav-label { opacity: 1; font-size: 10px; }
.ui6e662-sec, [id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { .ui6e662-reveal.ui6e662-is-in { animation: none; } }

/* wide screens keep the phone canvas; give the frame a little air */
@media (min-width: 430px) {
  .ui6e662-shell { box-shadow: var(--ui6e662-shadow-2); }
  .ui6e662-c-slide img { height: 196px; }
  .ui6e662-hero { padding-top: 30px; }
  .ui6e662-page { padding-bottom: calc(var(--ui6e662-bnav-h) + 34px + env(safe-area-inset-bottom, 0px)); }
}
