/* ==========================================================================
   ph365 win - layers-responsive-3271f1.css
   Mobile-first phone canvas (320-430px), centered frame on wide screens.
   Every class and variable is namespaced with the view1f139- prefix.
   Palette: #F8F8FF / #0C0C0C / #A9A9A9 / #2F2F2F / #FFFFFF / #87CEFA
   Visual direction: poster headings + narrow body copy, small radii,
   image tiles with bottom name bars, segmented action buttons.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --view1f139-night: #0C0C0C;
  --view1f139-coal: #2F2F2F;
  --view1f139-ghost: #F8F8FF;
  --view1f139-snow: #FFFFFF;
  --view1f139-mist: #A9A9A9;
  --view1f139-sky: #87CEFA;
  --view1f139-sky-deep: #5FB8E8;
  --view1f139-ink-2: #121212;
  --view1f139-ink-3: #1B1B1B;
  --view1f139-line: #262626;
  --view1f139-poster: "Arial Black", "Archivo Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif;
  --view1f139-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --view1f139-radius: 6px;
  --view1f139-radius-sm: 4px;
  --view1f139-tap: 44px;
  --view1f139-ease: 180ms cubic-bezier(0.32, 0.72, 0.35, 1);
}

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

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

body {
  margin: 0;
  background: #050505;
  color: var(--view1f139-ghost);
  font-family: var(--view1f139-body);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* Centered phone canvas: stays 430px wide max, wider viewports get a frame */
.view1f139-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--view1f139-night);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.6);
  overflow-x: clip;
}

.view1f139-shell a { color: var(--view1f139-sky); text-decoration: none; }
.view1f139-shell a:hover { text-decoration: underline; }

.view1f139-shell :is(a, button, summary):focus-visible {
  outline: 2px solid var(--view1f139-sky);
  outline-offset: 2px;
  border-radius: var(--view1f139-radius-sm);
}

::selection { background: var(--view1f139-sky); color: var(--view1f139-night); }

/* --------------------------------------------------------------------------
   3. Top header: centered identity bar + separate action strip
   -------------------------------------------------------------------------- */
.view1f139-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 12, 12, 0.97);
  border-bottom: 1px solid var(--view1f139-line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Identity tier: logo + site name only, horizontally centered */
.view1f139-idbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 9px 12px 6px;
}

.view1f139-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--view1f139-coal);
  display: block;
  flex: 0 0 auto;
}

.view1f139-brand {
  font-family: var(--view1f139-poster);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--view1f139-ghost);
  white-space: nowrap;
}

.view1f139-brand-accent { color: var(--view1f139-sky); }

/* Action tier: menu trigger + segmented Register/Login, outside the brand zone */
.view1f139-actbar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 12px 10px;
}

.view1f139-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--view1f139-tap);
  padding: 0 12px;
  background: var(--view1f139-ink-3);
  color: var(--view1f139-ghost);
  border: 1px solid var(--view1f139-coal);
  border-radius: var(--view1f139-radius);
  font-family: var(--view1f139-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--view1f139-ease), border-color var(--view1f139-ease), transform var(--view1f139-ease);
}

.view1f139-menubtn:hover { border-color: var(--view1f139-sky); text-decoration: none; }
.view1f139-menubtn:active { transform: scale(0.95); }

.view1f139-menubtn-bars { display: inline-flex; flex-direction: column; gap: 3px; }
.view1f139-menubtn-bars i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--view1f139-sky);
  transition: transform var(--view1f139-ease), opacity var(--view1f139-ease);
}

.view1f139-menubtn[aria-expanded="true"] .view1f139-menubtn-bars i:first-child { transform: translateY(5px) rotate(45deg); }
.view1f139-menubtn[aria-expanded="true"] .view1f139-menubtn-bars i:nth-child(2) { opacity: 0; }
.view1f139-menubtn[aria-expanded="true"] .view1f139-menubtn-bars i:last-child { transform: translateY(-5px) rotate(-45deg); }

/* Segmented CTA: one joined control, two actions */
.view1f139-seg {
  display: flex;
  flex: 1 1 auto;
  min-height: var(--view1f139-tap);
  border: 1px solid var(--view1f139-sky);
  border-radius: var(--view1f139-radius);
  overflow: hidden;
}

.view1f139-seg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--view1f139-tap);
  font-family: var(--view1f139-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--view1f139-ease), color var(--view1f139-ease), transform var(--view1f139-ease);
}

.view1f139-seg-cta:hover { text-decoration: none; }
.view1f139-seg-cta:active { transform: scale(0.96); }

.view1f139-seg-register {
  flex: 1.25;
  background: var(--view1f139-sky);
  color: var(--view1f139-night);
}

.view1f139-seg-register:hover { background: var(--view1f139-snow); }

.view1f139-seg-login {
  flex: 1;
  background: var(--view1f139-ink-2);
  color: var(--view1f139-sky);
  border-left: 1px solid var(--view1f139-sky);
}

.view1f139-seg-login:hover { background: var(--view1f139-ink-3); color: var(--view1f139-snow); }

/* --------------------------------------------------------------------------
   4. Layered dropdown menu (stacked route groups)
   -------------------------------------------------------------------------- */
.view1f139-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 55;
  display: none;
  background: var(--view1f139-ink-2);
  border-bottom: 1px solid var(--view1f139-coal);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
}

.view1f139-menu[data-open="true"] { display: block; animation: view1f139menudrop 220ms ease both; }

@keyframes view1f139menudrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.view1f139-menu-layer { padding: 10px 12px 12px; border-bottom: 1px dashed var(--view1f139-line); }
.view1f139-menu-layer:last-child { border-bottom: 0; }

.view1f139-menu-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--view1f139-night);
  background: var(--view1f139-sky);
  border-radius: 3px;
}

.view1f139-menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.view1f139-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: var(--view1f139-tap);
  padding: 8px 10px;
  background: var(--view1f139-ink-3);
  border: 1px solid var(--view1f139-line);
  border-radius: var(--view1f139-radius-sm);
  color: var(--view1f139-ghost);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color var(--view1f139-ease), background var(--view1f139-ease), transform var(--view1f139-ease);
}

.view1f139-menu-links a:hover {
  border-color: var(--view1f139-sky);
  background: #222222;
  text-decoration: none;
}

.view1f139-menu-links a:active { transform: scale(0.97); }

.view1f139-menu-links a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--view1f139-sky);
  border-right: 2px solid var(--view1f139-sky);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   5. Main canvas
   -------------------------------------------------------------------------- */
.view1f139-main {
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------------------- */
.view1f139-hero {
  position: relative;
  background: var(--view1f139-ink-2);
  border-bottom: 1px solid var(--view1f139-line);
}

.view1f139-track {
  display: flex;
  transition: transform 340ms ease;
  will-change: transform;
}

.view1f139-slide { flex: 0 0 100%; position: relative; }

.view1f139-slide a { display: block; }

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

.view1f139-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 30px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0) 0%, rgba(12, 12, 12, 0.88) 78%);
  color: var(--view1f139-snow);
  font-family: var(--view1f139-poster);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.view1f139-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 6px;
}

.view1f139-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid var(--view1f139-sky);
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.45);
  cursor: pointer;
  transition: width var(--view1f139-ease), background var(--view1f139-ease);
}

.view1f139-dot.view1f139-on { width: 20px; border-radius: 4px; background: var(--view1f139-sky); }

/* --------------------------------------------------------------------------
   7. Category shortcut chips
   -------------------------------------------------------------------------- */
.view1f139-chips {
  display: flex;
  gap: 7px;
  padding: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--view1f139-line);
  background: var(--view1f139-night);
}

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

.view1f139-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 13px;
  background: var(--view1f139-ink-3);
  border: 1px solid var(--view1f139-line);
  border-radius: 999px;
  color: var(--view1f139-ghost);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color var(--view1f139-ease), color var(--view1f139-ease), transform var(--view1f139-ease);
}

.view1f139-chip i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--view1f139-sky);
  transform: rotate(45deg);
}

.view1f139-chip:hover { border-color: var(--view1f139-sky); color: var(--view1f139-snow); text-decoration: none; }
.view1f139-chip:active { transform: scale(0.94); }

/* --------------------------------------------------------------------------
   8. Sections, poster headings
   -------------------------------------------------------------------------- */
.view1f139-sec { padding: 22px 12px 4px; }

.view1f139-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--view1f139-sky);
}

.view1f139-kicker::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--view1f139-sky), rgba(135, 207, 250, 0));
}

.view1f139-h1 {
  margin: 0 0 10px;
  font-family: var(--view1f139-poster);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--view1f139-snow);
}

.view1f139-h1 em {
  font-style: normal;
  color: var(--view1f139-sky);
}

.view1f139-h2 {
  margin: 0 0 10px;
  font-family: var(--view1f139-poster);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--view1f139-snow);
}

.view1f139-h3 {
  margin: 0 0 6px;
  font-family: var(--view1f139-body);
  font-size: 15px;
  font-weight: 800;
  color: var(--view1f139-snow);
}

.view1f139-lead {
  margin: 0 0 10px;
  color: var(--view1f139-ghost);
  font-size: 13.5px;
}

.view1f139-note { color: var(--view1f139-mist); font-size: 12.5px; }

.view1f139-p { margin: 0 0 10px; font-size: 13.5px; color: var(--view1f139-ghost); }

/* Short-list rhythm */
.view1f139-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.view1f139-list li {
  position: relative;
  margin: 0 0 7px;
  padding: 0 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--view1f139-ghost);
}

.view1f139-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--view1f139-sky);
  transform: rotate(45deg);
}

/* Ordered steps */
.view1f139-steps {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  counter-reset: view1f139step;
}

.view1f139-steps li {
  counter-increment: view1f139step;
  position: relative;
  margin: 0 0 8px;
  padding: 10px 10px 10px 44px;
  background: var(--view1f139-ink-2);
  border: 1px solid var(--view1f139-line);
  border-left: 3px solid var(--view1f139-sky);
  border-radius: var(--view1f139-radius-sm);
  font-size: 13px;
  line-height: 1.5;
}

.view1f139-steps li::before {
  content: counter(view1f139step, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--view1f139-poster);
  font-size: 15px;
  color: var(--view1f139-sky);
}

/* --------------------------------------------------------------------------
   9. Game floor
   -------------------------------------------------------------------------- */
.view1f139-cat { margin: 0 0 18px; scroll-margin-top: 132px; }

.view1f139-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--view1f139-line);
}

.view1f139-cat-head h3 {
  margin: 0;
  font-family: var(--view1f139-poster);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--view1f139-ghost);
}

.view1f139-cat-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--view1f139-sky);
}

.view1f139-cat-note {
  margin: 0 0 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--view1f139-mist);
}

/* Compact grid: 4 columns at 320px, 5 columns on wider phones */
.view1f139-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

/* Tile: square artwork with a bottom name bar */
.view1f139-tile {
  position: relative;
  display: block;
  background: var(--view1f139-coal);
  border: 1px solid var(--view1f139-line);
  border-radius: var(--view1f139-radius);
  overflow: hidden;
  transition: transform var(--view1f139-ease), border-color var(--view1f139-ease);
}

.view1f139-tile:hover { border-color: var(--view1f139-sky); text-decoration: none; }
.view1f139-tile:active { transform: scale(0.93); }

.view1f139-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--view1f139-ink-3);
}

.view1f139-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 33px;
  padding: 4px 5px 5px;
  background: var(--view1f139-night);
  border-top: 1px solid var(--view1f139-line);
  color: var(--view1f139-ghost);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

/* Inline promo link inside paragraphs */
.view1f139-plink {
  color: var(--view1f139-sky);
  font-weight: 700;
  border-bottom: 1px dashed rgba(135, 207, 250, 0.6);
}

.view1f139-plink:hover { color: var(--view1f139-snow); text-decoration: none; border-bottom-color: var(--view1f139-snow); }
.view1f139-plink:active { transform: scale(0.97); display: inline-block; }

/* --------------------------------------------------------------------------
   10. Cashier rows (payment methods)
   -------------------------------------------------------------------------- */
.view1f139-pay {
  margin: 0 0 12px;
  border: 1px solid var(--view1f139-line);
  border-radius: var(--view1f139-radius);
  overflow: hidden;
}

.view1f139-pay-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  background: var(--view1f139-ink-2);
  border-bottom: 1px solid var(--view1f139-line);
}

.view1f139-pay-row:last-child { border-bottom: 0; }

.view1f139-pay-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--view1f139-radius-sm);
  background: var(--view1f139-ink-3);
  border: 1px solid var(--view1f139-coal);
  font-family: var(--view1f139-poster);
  font-size: 11px;
  color: var(--view1f139-sky);
  letter-spacing: 0.02em;
}

.view1f139-pay-row strong {
  display: block;
  margin: 0 0 2px;
  font-size: 13px;
  color: var(--view1f139-snow);
}

.view1f139-pay-row span { font-size: 12px; line-height: 1.5; color: var(--view1f139-mist); }

/* --------------------------------------------------------------------------
   11. Glossary (term explanation)
   -------------------------------------------------------------------------- */
.view1f139-gloss { margin: 0 0 10px; }

.view1f139-gloss dt {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 800;
  color: var(--view1f139-sky);
}

.view1f139-gloss dd {
  margin: 0 0 11px;
  padding: 8px 10px;
  background: var(--view1f139-ink-2);
  border: 1px solid var(--view1f139-line);
  border-radius: var(--view1f139-radius-sm);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--view1f139-ghost);
}

/* --------------------------------------------------------------------------
   12. Scenario callout
   -------------------------------------------------------------------------- */
.view1f139-case {
  margin: 0 0 12px;
  padding: 12px;
  background: linear-gradient(160deg, #161616 0%, var(--view1f139-ink-2) 70%);
  border: 1px solid var(--view1f139-coal);
  border-left: 4px solid var(--view1f139-sky);
  border-radius: var(--view1f139-radius);
}

.view1f139-case-q {
  margin: 0 0 8px;
  font-family: var(--view1f139-poster);
  font-size: 14px;
  line-height: 1.35;
  color: var(--view1f139-snow);
}

.view1f139-case-a { margin: 0 0 8px; font-size: 13px; color: var(--view1f139-ghost); }

.view1f139-checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.view1f139-checks li {
  position: relative;
  margin: 0 0 5px;
  padding: 0 0 0 22px;
  font-size: 12.5px;
  color: var(--view1f139-mist);
}

.view1f139-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--view1f139-sky);
  border-bottom: 2px solid var(--view1f139-sky);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   13. FAQ blocks
   -------------------------------------------------------------------------- */
.view1f139-faq { margin: 0 0 8px; }

.view1f139-faq-item {
  margin: 0 0 9px;
  padding: 11px 12px;
  background: var(--view1f139-ink-2);
  border: 1px solid var(--view1f139-line);
  border-radius: var(--view1f139-radius);
}

.view1f139-faq-q {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--view1f139-snow);
}

.view1f139-faq-q::before {
  content: "Q";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 4px;
  background: var(--view1f139-sky);
  color: var(--view1f139-night);
  font-family: var(--view1f139-poster);
  font-size: 11px;
}

.view1f139-faq-a { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--view1f139-mist); }
.view1f139-faq-a strong, .view1f139-case-a strong, .view1f139-pay-row strong { color: var(--view1f139-snow); }

/* --------------------------------------------------------------------------
   14. Extended homepage footer
   -------------------------------------------------------------------------- */
.view1f139-xfoot {
  margin-top: 24px;
  padding: 18px 12px 6px;
  background: var(--view1f139-ink-2);
  border-top: 1px solid var(--view1f139-coal);
}

.view1f139-xf-tag {
  margin: 0 0 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--view1f139-sky);
}

/* Promotion actions: compact 2-column group */
.view1f139-xf-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.view1f139-xf-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--view1f139-tap);
  padding: 8px 10px;
  background: var(--view1f139-ink-3);
  border: 1px solid var(--view1f139-coal);
  border-radius: var(--view1f139-radius);
  color: var(--view1f139-ghost);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  transition: border-color var(--view1f139-ease), background var(--view1f139-ease), transform var(--view1f139-ease);
}

.view1f139-xf-promo:hover { border-color: var(--view1f139-sky); background: #212121; text-decoration: none; }
.view1f139-xf-promo:active { transform: scale(0.96); }

.view1f139-xf-promo svg { flex: 0 0 auto; }

.view1f139-xf-promo--wide { grid-column: 1 / -1; justify-content: center; }

/* Brand blurb */
.view1f139-xf-brand { margin: 0 0 16px; font-size: 12.5px; line-height: 1.6; color: var(--view1f139-mist); }
.view1f139-xf-brand strong { color: var(--view1f139-ghost); }

/* Page directory */
.view1f139-xf-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 16px;
}

.view1f139-xf-dir a {
  display: block;
  padding: 8px 10px;
  background: var(--view1f139-night);
  border: 1px solid var(--view1f139-line);
  border-radius: var(--view1f139-radius-sm);
  color: var(--view1f139-ghost);
  font-size: 12px;
  font-weight: 600;
  transition: border-color var(--view1f139-ease), color var(--view1f139-ease);
}

.view1f139-xf-dir a:hover { border-color: var(--view1f139-sky); color: var(--view1f139-snow); text-decoration: none; }

.view1f139-xf-dir span { display: block; margin-top: 1px; font-size: 10.5px; font-weight: 400; color: var(--view1f139-mist); }

/* Short factual disclaimer */
.view1f139-xf-legal {
  margin: 0;
  padding: 10px 12px;
  background: var(--view1f139-night);
  border: 1px dashed var(--view1f139-coal);
  border-radius: var(--view1f139-radius-sm);
  font-size: 11px;
  line-height: 1.55;
  color: var(--view1f139-mist);
}

/* --------------------------------------------------------------------------
   15. Common copyright strip
   -------------------------------------------------------------------------- */
.view1f139-copy {
  margin: 0;
  padding: 14px 12px 16px;
  background: var(--view1f139-ink-2);
  border-top: 1px solid var(--view1f139-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--view1f139-mist);
}

.view1f139-copy strong { color: var(--view1f139-ghost); font-weight: 700; }

/* --------------------------------------------------------------------------
   16. Fixed bottom navigation with raised center button
   -------------------------------------------------------------------------- */
.view1f139-bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  max-width: 430px;
  margin: 0 auto;
  min-height: 60px;
  padding: 4px 2px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 12, 12, 0.98);
  border-top: 1px solid var(--view1f139-coal);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.5);
}

.view1f139-bn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  padding: 5px 2px 2px;
  border-radius: var(--view1f139-radius-sm);
  color: var(--view1f139-mist);
  transition: color var(--view1f139-ease), transform var(--view1f139-ease);
}

.view1f139-bn:hover { color: var(--view1f139-ghost); text-decoration: none; }
.view1f139-bn:active { transform: translateY(2px) scale(0.94); }

.view1f139-bn-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Active state: label emphasis plus underline tick */
.view1f139-bn.view1f139-bn-on { color: var(--view1f139-ghost); }
.view1f139-bn.view1f139-bn-on .view1f139-bn-label { color: var(--view1f139-sky); }
.view1f139-bn.view1f139-bn-on .view1f139-bn-label::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto 0;
  border-radius: 1px;
  background: var(--view1f139-sky);
}

/* Two-tone inline icons */
.view1f139-ic-b { fill: var(--view1f139-mist); transition: fill var(--view1f139-ease); }
.view1f139-ic-a { fill: var(--view1f139-sky); }
.view1f139-bn:hover .view1f139-ic-b,
.view1f139-bn.view1f139-bn-on .view1f139-ic-b { fill: var(--view1f139-snow); }

/* Raised center promo button */
.view1f139-bn-cta {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  margin: -30px 4px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--view1f139-snow) 0%, var(--view1f139-sky) 45%, var(--view1f139-sky-deep) 100%);
  border: 3px solid var(--view1f139-night);
  box-shadow: 0 0 0 2px var(--view1f139-sky), 0 10px 18px rgba(0, 0, 0, 0.55);
  transition: transform var(--view1f139-ease), box-shadow var(--view1f139-ease);
}

.view1f139-bn-cta:active { transform: scale(0.92); box-shadow: 0 0 0 2px var(--view1f139-sky), 0 4px 10px rgba(0, 0, 0, 0.55); }

.view1f139-bn-cta-ink { fill: var(--view1f139-night); }

.view1f139-bn-cta:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   17. Responsive fine-tuning inside the phone canvas
   -------------------------------------------------------------------------- */
/* Wider phones inside the canvas get a fifth game column and larger type */
@media (min-width: 400px) and (max-width: 430px) {
  .view1f139-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .view1f139-tile-name { font-size: 10px; }
  .view1f139-h1 { font-size: 26px; }
  .view1f139-h2 { font-size: 21px; }
}

/* Very narrow devices: tighten the grid without dropping a column */
@media (max-width: 339px) {
  .view1f139-grid { gap: 6px; }
  .view1f139-brand { font-size: 19px; }
  .view1f139-seg-cta { font-size: 12px; }
  .view1f139-h1 { font-size: 22px; }
  .view1f139-menu-links { grid-template-columns: 1fr; }
}

/* Desktop: keep the centered phone canvas, dim the outside frame */
@media (min-width: 431px) {
  body { background: #030303; }
  .view1f139-shell { border-left: 1px solid var(--view1f139-line); border-right: 1px solid var(--view1f139-line); }
}

/* Respect users who prefer fewer animations */
@media (prefers-reduced-motion: reduce) {
  .view1f139-track { transition: none; }
  .view1f139-menu[data-open="true"] { animation: none; }
  .view1f139-shell a,
  .view1f139-shell button,
  .view1f139-tile,
  .view1f139-chip,
  .view1f139-bn,
  .view1f139-bn-cta,
  .view1f139-xf-promo { transition: none; }
}

/* --------------------------------------------------------------------------
   18. Utility: visually hidden but announced text
   -------------------------------------------------------------------------- */
.view1f139-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
