/* ==========================================================================
   558h7.click — chrome-native-e3a59d.css
   Mobile-first stylesheet for the 558h7 game portal (bn-BD).
   Class prefix ......... frame59dc6-
   Canvas ............... 320–430px phone canvas, centered on wide screens
   Palette .............. #8470FF / #BA55D3 / #273746 / #EE82EE / #FF4500
   Visual direction ..... stroke-led restrained radii, outlined tile cards,
                          conclusion-first rhythm, restrained fade feedback,
                          compact dual-button CTAs.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (all variables carry the frame59dc6- prefix)
   -------------------------------------------------------------------------- */
:root {
  --frame59dc6-canvas: #273746;            /* deep slate app background */
  --frame59dc6-ink: #0f151d;               /* page behind the phone canvas */
  --frame59dc6-panel: #2e4054;             /* raised surface */
  --frame59dc6-panel-2: #354a61;           /* hover / active surface */
  --frame59dc6-line: rgba(132, 112, 255, .32);
  --frame59dc6-line-soft: rgba(132, 112, 255, .18);
  --frame59dc6-line-hot: rgba(238, 130, 238, .58);
  --frame59dc6-violet: #8470FF;
  --frame59dc6-orchid: #BA55D3;
  --frame59dc6-petal: #EE82EE;
  --frame59dc6-ember: #FF4500;
  --frame59dc6-ember-deep: #d93a00;
  --frame59dc6-text: #edf1fb;
  --frame59dc6-soft: #d7def1;
  --frame59dc6-muted: #a9b6d4;
  --frame59dc6-faint: #7787a8;
  --frame59dc6-radius-s: 8px;
  --frame59dc6-radius-m: 12px;
  --frame59dc6-radius-l: 16px;
  --frame59dc6-topbar-h: 56px;
  --frame59dc6-dock-h: 62px;
  --frame59dc6-gap: 10px;
  --frame59dc6-font: 'Noto Sans Bengali', 'Hind Siliguri', 'SolaimanLipi',
                     'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset and base typography
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--frame59dc6-ink);
  color: var(--frame59dc6-text);
  font-family: var(--frame59dc6-font);
  font-size: 15px;
  line-height: 1.72;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

a {
  color: var(--frame59dc6-petal);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

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

::selection {
  background: var(--frame59dc6-violet);
  color: #fff;
}

/* Thin branded scrollbar inside horizontal rails */
.frame59dc6-rail::-webkit-scrollbar { height: 4px; }
.frame59dc6-rail::-webkit-scrollbar-track { background: transparent; }
.frame59dc6-rail::-webkit-scrollbar-thumb {
  background: var(--frame59dc6-line);
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Phone canvas shell — the literal 430px canvas, centered when wide
   -------------------------------------------------------------------------- */
.frame59dc6-shell {
  width: 100%;
  max-width: 430px;                         /* literal phone canvas width */
  min-height: 100vh;
  background: var(--frame59dc6-canvas);
  border-left: 1px solid var(--frame59dc6-line-soft);
  border-right: 1px solid var(--frame59dc6-line-soft);
  position: relative;
  overflow-x: hidden;
}

.frame59dc6-main {
  padding: calc(var(--frame59dc6-topbar-h) + 12px) 12px
           calc(var(--frame59dc6-dock-h) + 30px);
  display: block;
}

/* --------------------------------------------------------------------------
   4. Top bar — edge-aligned functional header
   -------------------------------------------------------------------------- */
.frame59dc6-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;                          /* stays inside the canvas */
  z-index: 60;
  background: rgba(31, 44, 58, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame59dc6-line);
}

.frame59dc6-topbar-row {
  height: var(--frame59dc6-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
}

/* Brand zone: logo image + site name, nothing else */
.frame59dc6-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  flex-shrink: 0;
}

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

.frame59dc6-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--frame59dc6-text);
}

.frame59dc6-brand:hover { text-decoration: none; }
.frame59dc6-brand:hover .frame59dc6-brand-name { color: var(--frame59dc6-petal); }

/* Action zone: compact dual-button group + menu toggle */
.frame59dc6-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.frame59dc6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--frame59dc6-radius-s);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid var(--frame59dc6-line);
  color: var(--frame59dc6-text);
  background: var(--frame59dc6-panel);
  transition: background-color .18s ease, border-color .18s ease,
              transform .18s ease, color .18s ease;
}

.frame59dc6-btn:hover { text-decoration: none; }

.frame59dc6-btn:active { transform: translateY(1px); }

.frame59dc6-btn-solid {
  background: linear-gradient(135deg, var(--frame59dc6-ember), var(--frame59dc6-ember-deep));
  border-color: rgba(255, 105, 40, .65);
  color: #fff;
  box-shadow: 0 3px 12px rgba(255, 69, 0, .28);
}

.frame59dc6-btn-solid:hover,
.frame59dc6-btn-solid:focus-visible {
  background: linear-gradient(135deg, #ff5c14, var(--frame59dc6-ember));
  color: #fff;
}

.frame59dc6-btn-ghost {
  background: transparent;
  border-color: var(--frame59dc6-line-hot);
  color: var(--frame59dc6-petal);
}

.frame59dc6-btn-ghost:hover,
.frame59dc6-btn-ghost:focus-visible {
  background: rgba(186, 85, 211, .16);
  color: #f4c2f4;
}

.frame59dc6-menu-btn {
  width: 38px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frame59dc6-radius-s);
  border: 1px solid var(--frame59dc6-line);
  background: var(--frame59dc6-panel);
  color: var(--frame59dc6-muted);
  transition: color .18s ease, border-color .18s ease;
}

.frame59dc6-menu-btn[aria-expanded="true"] {
  color: var(--frame59dc6-petal);
  border-color: var(--frame59dc6-line-hot);
}

/* Route panel — compact collapsible panel under the bar */
.frame59dc6-routes {
  border-top: 1px dashed var(--frame59dc6-line);
  background: rgba(24, 35, 47, .98);
  padding: 8px 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  animation: frame59dc6-panel-in .18s ease both;
}

@keyframes frame59dc6-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.frame59dc6-route-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--frame59dc6-line-soft);
  border-radius: var(--frame59dc6-radius-s);
  background: var(--frame59dc6-panel);
  color: var(--frame59dc6-text);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .18s ease, background-color .18s ease;
}

.frame59dc6-route-link::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--frame59dc6-faint);
  border-right: 1.5px solid var(--frame59dc6-faint);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.frame59dc6-route-link:hover,
.frame59dc6-route-link:focus-visible {
  border-color: var(--frame59dc6-line-hot);
  background: var(--frame59dc6-panel-2);
  text-decoration: none;
}

.frame59dc6-route-link[aria-current="page"] {
  border-color: var(--frame59dc6-orchid);
  color: var(--frame59dc6-petal);
}

/* --------------------------------------------------------------------------
   5. Hero carousel
   -------------------------------------------------------------------------- */
.frame59dc6-hero { margin-bottom: 14px; }

.frame59dc6-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--frame59dc6-line);
  border-radius: var(--frame59dc6-radius-m);
  background: var(--frame59dc6-panel);
  touch-action: pan-y;
}

.frame59dc6-track {
  display: flex;
  transition: transform .45s cubic-bezier(.33, .8, .4, 1);
  will-change: transform;
}

.frame59dc6-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  position: relative;
  text-align: left;
}

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

.frame59dc6-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 30px;
  background: linear-gradient(180deg, rgba(16, 22, 29, 0) 0%,
              rgba(16, 22, 29, .55) 45%, rgba(16, 22, 29, .92) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.frame59dc6-slide-caption small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  color: #d9c8f6;
}

.frame59dc6-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(16, 22, 29, .45);
  border-radius: var(--frame59dc6-radius-s);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.frame59dc6-arrow-prev { left: 4px; }

.frame59dc6-arrow-next { right: 4px; }

.frame59dc6-carousel-arrow:hover { background: rgba(16, 22, 29, .72); }

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

.frame59dc6-dot {
  width: 18px;
  height: 6px;
  min-height: 6px;
  padding: 0;
  border-radius: 999px;
  background: rgba(237, 241, 251, .34);
  transition: background-color .2s ease, width .2s ease;
}

.frame59dc6-dot.frame59dc6-dot-live {
  width: 26px;
  background: var(--frame59dc6-ember);
}

/* Dual CTA pair under the hero */
.frame59dc6-cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.frame59dc6-cta-pair .frame59dc6-btn { min-height: 44px; }

/* --------------------------------------------------------------------------
   6. Lead block — conclusion-first panel
   -------------------------------------------------------------------------- */
.frame59dc6-lead {
  border: 1px solid var(--frame59dc6-line);
  border-left: 3px solid var(--frame59dc6-orchid);
  border-radius: var(--frame59dc6-radius-m);
  background: linear-gradient(160deg, rgba(132, 112, 255, .12), rgba(186, 85, 211, .05) 60%, transparent);
  padding: 14px 13px;
  margin-bottom: 16px;
}

.frame59dc6-lead p + p { margin-top: 8px; }

.frame59dc6-lead strong { color: var(--frame59dc6-petal); font-weight: 700; }

/* Category chip rail */
.frame59dc6-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin-bottom: 6px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

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

.frame59dc6-chip {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--frame59dc6-line);
  background: var(--frame59dc6-panel);
  color: var(--frame59dc6-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.frame59dc6-chip:hover { text-decoration: none; color: var(--frame59dc6-text); }

.frame59dc6-chip.frame59dc6-chip-live {
  border-color: var(--frame59dc6-line-hot);
  background: rgba(186, 85, 211, .16);
  color: var(--frame59dc6-petal);
}

.frame59dc6-chip .frame59dc6-chip-count {
  font-size: 11px;
  color: var(--frame59dc6-faint);
  border-left: 1px solid var(--frame59dc6-line-soft);
  padding-left: 6px;
}

/* --------------------------------------------------------------------------
   7. Section shells and headings
   -------------------------------------------------------------------------- */
.frame59dc6-section {
  margin-bottom: 22px;
  scroll-margin-top: calc(var(--frame59dc6-topbar-h) + 10px);
}

.frame59dc6-h2 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .01em;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--frame59dc6-line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame59dc6-h2::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--frame59dc6-violet), var(--frame59dc6-orchid));
  flex-shrink: 0;
}

.frame59dc6-h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--frame59dc6-text);
  margin: 16px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.frame59dc6-h3 .frame59dc6-h3-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--frame59dc6-petal);
  border: 1px solid var(--frame59dc6-line-hot);
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
}

.frame59dc6-section-intro {
  color: var(--frame59dc6-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.frame59dc6-section-intro a { font-weight: 600; }

/* --------------------------------------------------------------------------
   8. Game grid — outlined tile cards
   -------------------------------------------------------------------------- */
.frame59dc6-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.frame59dc6-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px 5px 7px;
  border: 1px solid var(--frame59dc6-line-soft);
  border-radius: var(--frame59dc6-radius-s);
  background: var(--frame59dc6-panel);
  transition: border-color .18s ease, background-color .18s ease,
              transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.frame59dc6-tile:hover,
.frame59dc6-tile:focus-visible {
  border-color: var(--frame59dc6-line-hot);
  background: var(--frame59dc6-panel-2);
}

.frame59dc6-tile:active { transform: scale(.97); }

.frame59dc6-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #1c2937;
}

.frame59dc6-tile-name {
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--frame59dc6-soft);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.frame59dc6-grid-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--frame59dc6-faint);
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. Feature rows — scannable, comparable two-column facts
   -------------------------------------------------------------------------- */
.frame59dc6-facts {
  border: 1px solid var(--frame59dc6-line);
  border-radius: var(--frame59dc6-radius-m);
  overflow: hidden;
}

.frame59dc6-fact {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px dashed var(--frame59dc6-line-soft);
  background: var(--frame59dc6-panel);
}

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

.frame59dc6-fact-key {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--frame59dc6-petal);
  text-transform: uppercase;
  padding-top: 2px;
}

.frame59dc6-fact-val { font-size: 13.5px; color: var(--frame59dc6-soft); }

/* --------------------------------------------------------------------------
   10. Testimonials
   -------------------------------------------------------------------------- */
.frame59dc6-quotes {
  display: grid;
  gap: 10px;
}

.frame59dc6-quote {
  border: 1px solid var(--frame59dc6-line);
  border-radius: var(--frame59dc6-radius-m);
  background: var(--frame59dc6-panel);
  padding: 12px 13px;
}

.frame59dc6-quote-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.frame59dc6-quote-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--frame59dc6-violet), var(--frame59dc6-orchid));
  flex-shrink: 0;
}

.frame59dc6-quote-who { font-size: 13px; font-weight: 700; }
.frame59dc6-quote-role { font-size: 11.5px; color: var(--frame59dc6-faint); }

.frame59dc6-quote-text {
  font-size: 13.5px;
  color: var(--frame59dc6-soft);
  border-left: 2px solid var(--frame59dc6-violet);
  padding-left: 10px;
}

/* --------------------------------------------------------------------------
   11. Security checklist
   -------------------------------------------------------------------------- */
.frame59dc6-checklist { counter-reset: frame59dc6-step; }

.frame59dc6-check {
  counter-increment: frame59dc6-step;
  position: relative;
  padding: 9px 10px 9px 40px;
  border: 1px solid var(--frame59dc6-line-soft);
  border-radius: var(--frame59dc6-radius-s);
  background: var(--frame59dc6-panel);
  margin-bottom: 7px;
  font-size: 13.5px;
  color: var(--frame59dc6-soft);
}

.frame59dc6-check::before {
  content: counter(frame59dc6-step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--frame59dc6-ember);
  border: 1px solid rgba(255, 69, 0, .5);
  border-radius: 50%;
}

.frame59dc6-check strong { color: var(--frame59dc6-text); }

/* --------------------------------------------------------------------------
   12. Pros vs limitations — verdict line + two panels
   -------------------------------------------------------------------------- */
.frame59dc6-verdict {
  border: 1px dashed var(--frame59dc6-line-hot);
  border-radius: var(--frame59dc6-radius-s);
  background: rgba(186, 85, 211, .10);
  padding: 10px 12px;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: var(--frame59dc6-soft);
}

.frame59dc6-verdict strong { color: var(--frame59dc6-petal); }

.frame59dc6-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.frame59dc6-duo-col {
  border: 1px solid var(--frame59dc6-line);
  border-radius: var(--frame59dc6-radius-m);
  background: var(--frame59dc6-panel);
  padding: 12px 13px;
}

.frame59dc6-duo-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.frame59dc6-duo-title-good { color: #9fd6a8; }
.frame59dc6-duo-title-warn { color: #f2b48c; }

.frame59dc6-duo-col li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--frame59dc6-soft);
  margin-bottom: 6px;
}

.frame59dc6-duo-col li:last-child { margin-bottom: 0; }

.frame59dc6-duo-col li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
}

.frame59dc6-duo-good li::before { background: #6fbf7c; }
.frame59dc6-duo-warn li::before { background: var(--frame59dc6-ember); }

/* --------------------------------------------------------------------------
   13. Scenario Q&A (details / summary)
   -------------------------------------------------------------------------- */
.frame59dc6-qa {
  border: 1px solid var(--frame59dc6-line);
  border-radius: var(--frame59dc6-radius-m);
  overflow: hidden;
}

.frame59dc6-qa details { border-bottom: 1px solid var(--frame59dc6-line-soft); }
.frame59dc6-qa details:last-child { border-bottom: 0; }

.frame59dc6-qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 11px 13px;
  font-size: 13.5px;
  font-weight: 700;
  background: var(--frame59dc6-panel);
  color: var(--frame59dc6-text);
  transition: background-color .18s ease;
}

.frame59dc6-qa summary::-webkit-details-marker { display: none; }

.frame59dc6-qa summary::after {
  content: '+';
  font-size: 17px;
  font-weight: 600;
  color: var(--frame59dc6-petal);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.frame59dc6-qa details[open] summary::after { transform: rotate(45deg); }
.frame59dc6-qa details[open] summary {
  background: var(--frame59dc6-panel-2);
  border-bottom: 1px dashed var(--frame59dc6-line-soft);
}

.frame59dc6-qa-answer {
  padding: 10px 13px 13px;
  font-size: 13.5px;
  color: var(--frame59dc6-soft);
  background: rgba(24, 35, 47, .45);
}

/* --------------------------------------------------------------------------
   14. Extended footer: promotions > brand > directory > disclaimer
   -------------------------------------------------------------------------- */
.frame59dc6-ext {
  margin-top: 26px;
  border-top: 1px solid var(--frame59dc6-line);
  padding-top: 16px;
}

.frame59dc6-ext-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--frame59dc6-faint);
  margin-bottom: 8px;
}

.frame59dc6-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 18px;
}

.frame59dc6-shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--frame59dc6-line-soft);
  border-radius: var(--frame59dc6-radius-s);
  background: var(--frame59dc6-panel);
  color: var(--frame59dc6-soft);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.frame59dc6-shortcut:hover,
.frame59dc6-shortcut:focus-visible {
  border-color: var(--frame59dc6-line-hot);
  color: var(--frame59dc6-text);
  text-decoration: none;
}

.frame59dc6-shortcut svg { color: var(--frame59dc6-petal); flex-shrink: 0; }

.frame59dc6-ext-brand {
  font-size: 12.5px;
  color: var(--frame59dc6-muted);
  margin-bottom: 18px;
}

.frame59dc6-ext-brand p + p { margin-top: 6px; }

.frame59dc6-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 18px;
}

.frame59dc6-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
  padding: 7px 9px;
  border-radius: var(--frame59dc6-radius-s);
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--frame59dc6-muted);
  transition: border-color .18s ease, color .18s ease;
}

.frame59dc6-directory a small { color: var(--frame59dc6-faint); font-size: 10.5px; }

.frame59dc6-directory a:hover,
.frame59dc6-directory a:focus-visible {
  border-color: var(--frame59dc6-line);
  color: var(--frame59dc6-petal);
  text-decoration: none;
}

.frame59dc6-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--frame59dc6-faint);
  border: 1px dashed var(--frame59dc6-line-soft);
  border-radius: var(--frame59dc6-radius-s);
  padding: 9px 11px;
}

/* Common footer — copyright only */
.frame59dc6-footer {
  margin-top: 16px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--frame59dc6-line-soft);
  text-align: center;
  font-size: 12px;
  color: var(--frame59dc6-faint);
}

/* --------------------------------------------------------------------------
   15. Mobile bottom dock — compact icon rack, 5 roles
   -------------------------------------------------------------------------- */
.frame59dc6-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;                          /* aligned to the canvas */
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--frame59dc6-dock-h);
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
  background: rgba(23, 33, 45, .97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--frame59dc6-line);
}

.frame59dc6-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  border-radius: var(--frame59dc6-radius-s);
  color: var(--frame59dc6-faint);
  transition: color .18s ease, transform .18s ease, background-color .18s ease;
}

.frame59dc6-dock-item span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: .78;
  transition: opacity .18s ease;
}

.frame59dc6-dock-item:hover,
.frame59dc6-dock-item:focus-visible {
  color: var(--frame59dc6-petal);
  text-decoration: none;
}

.frame59dc6-dock-item:hover span,
.frame59dc6-dock-item:focus-visible span { opacity: 1; }

.frame59dc6-dock-item:active { transform: translateY(1px); }

/* Active role: slight lift + bright fill + top hairline */
.frame59dc6-dock-active {
  color: var(--frame59dc6-petal);
  transform: translateY(-3px);
  position: relative;
}

.frame59dc6-dock-active span { opacity: 1; }

.frame59dc6-dock-active::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--frame59dc6-ember), var(--frame59dc6-petal));
}

/* --------------------------------------------------------------------------
   16. Restrained reveal feedback
   -------------------------------------------------------------------------- */
.frame59dc6-reveal {
  opacity: 0;
  transform: translateY(10px);
}

.frame59dc6-reveal.frame59dc6-reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.25, .7, .35, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame59dc6-reveal { opacity: 1; transform: none; transition: none; }
  .frame59dc6-track { transition: none; }
  .frame59dc6-routes { animation: none; }
}

/* --------------------------------------------------------------------------
   17. Breakpoints — wider phone canvas keeps the same experience
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .frame59dc6-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .frame59dc6-shortcuts { grid-template-columns: repeat(3, 1fr); }
  .frame59dc6-main { padding-left: 14px; padding-right: 14px; }
  .frame59dc6-duo { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 431px) {
  /* Wide screens: canvas floats centered on the dark ink backdrop */
  .frame59dc6-shell {
    box-shadow: 0 0 60px rgba(132, 112, 255, .12);
  }
}

/* Landscape-short phones: trim hero height a little */
@media (max-height: 620px) and (min-width: 640px) {
  .frame59dc6-slide img { aspect-ratio: 21 / 8; }
}

/* Print: keep content readable, drop chrome */
@media print {
  .frame59dc6-topbar,
  .frame59dc6-dock { display: none; }
  .frame59dc6-main { padding: 0; }
  body { background: #fff; }
  .frame59dc6-shell { max-width: none; border: 0; }
}
