/* ============================================================
   hann online casino apk - frame adaptive stylesheet
   Palette: #2E4057 base / #4A4A4A / #6C757D / #808080 chrome,
   #AFEEEE interactive accent, #F8F8FF text
   Direction: humanist headings, near-square corners, mixed
   large + small game cards, scenario-branch rhythm, motion on
   key CTAs only, full-width primary buttons.
   Mobile canvas: 320-430px, centered on wide screens.
   ============================================================ */

:root {
  --frame621b8-bg: #2E4057;
  --frame621b8-bg-deep: #26354A;
  --frame621b8-bg-ink: #1F2C3E;
  --frame621b8-panel: #3A4F68;
  --frame621b8-panel-2: #34465E;
  --frame621b8-line: #6C757D;
  --frame621b8-mute: #808080;
  --frame621b8-mute-2: #4A4A4A;
  --frame621b8-text: #F8F8FF;
  --frame621b8-text-2: #C6D2E2;
  --frame621b8-text-3: #9FB0C6;
  --frame621b8-accent: #AFEEEE;
  --frame621b8-accent-2: #8ED8D8;
  --frame621b8-accent-ink: #1D2B3A;
  --frame621b8-head-font: "Avenir Next", Avenir, "Seravek", "Trebuchet MS", "Segoe UI", sans-serif;
  --frame621b8-body-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame621b8-r: 2px;
  --frame621b8-r-lg: 3px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #16212F;
  color: var(--frame621b8-text);
  font-family: var(--frame621b8-body-font);
  font-size: 15px;
  line-height: 1.55;
}

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

button { font-family: inherit; }

a { color: var(--frame621b8-accent); }

:focus-visible {
  outline: 2px solid var(--frame621b8-accent);
  outline-offset: 2px;
}

/* ---------- phone canvas, centered up to 430px on wide screens ---------- */

.frame621b8-canvas {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(174, 238, 238, 0.06), transparent 62%),
    var(--frame621b8-bg);
  overflow-x: clip;
}

.frame621b8-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  padding: 8px 12px;
  background: var(--frame621b8-accent);
  color: var(--frame621b8-accent-ink);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--frame621b8-r);
  transition: top 0.2s ease;
}

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

/* ---------- fixed top action bar: brand row + full-width CTA row ---------- */

.frame621b8-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(31, 44, 62, 0.97);
  border-bottom: 1px solid rgba(174, 238, 238, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.frame621b8-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  padding: 6px 12px;
}

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

.frame621b8-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: var(--frame621b8-r);
  flex: none;
}

.frame621b8-brand-name {
  font-family: var(--frame621b8-head-font);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.25px;
  color: var(--frame621b8-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame621b8-brand-name em {
  font-style: normal;
  color: var(--frame621b8-accent);
}

.frame621b8-menu-btn {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(174, 238, 238, 0.08);
  border: 1px solid rgba(174, 238, 238, 0.28);
  border-radius: var(--frame621b8-r);
  cursor: pointer;
}

.frame621b8-menu-btn .frame621b8-burger {
  position: relative;
  width: 20px;
  height: 14px;
}

.frame621b8-menu-btn .frame621b8-burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--frame621b8-accent);
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}

.frame621b8-menu-btn .frame621b8-burger i:nth-child(1) { top: 0; }
.frame621b8-menu-btn .frame621b8-burger i:nth-child(2) { top: 6px; width: 70%; }
.frame621b8-menu-btn .frame621b8-burger i:nth-child(3) { top: 12px; }

.frame621b8-menu-btn.is-open .frame621b8-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.frame621b8-menu-btn.is-open .frame621b8-burger i:nth-child(2) { opacity: 0; }
.frame621b8-menu-btn.is-open .frame621b8-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.frame621b8-actions {
  display: flex;
  gap: 8px;
  padding: 6px 12px 10px;
}

.frame621b8-btn {
  flex: 1 1 50%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--frame621b8-r);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.frame621b8-btn:active { transform: translateY(1px) scale(0.985); }

.frame621b8-btn--primary {
  background: var(--frame621b8-accent);
  border: 1px solid var(--frame621b8-accent);
  color: var(--frame621b8-accent-ink);
}

.frame621b8-btn--ghost {
  background: rgba(174, 238, 238, 0.05);
  border: 1px solid rgba(174, 238, 238, 0.5);
  color: var(--frame621b8-accent);
}

/* ---------- partitioned menu sheet ---------- */

.frame621b8-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(15, 23, 34, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.frame621b8-menu-backdrop.is-shown { opacity: 1; visibility: visible; }

.frame621b8-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateX(-104%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: var(--frame621b8-bg-ink);
  border-right: 1px solid rgba(174, 238, 238, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
}

.frame621b8-menu.is-open { transform: translateX(-50%) translateX(0); visibility: visible; }

.frame621b8-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(108, 117, 125, 0.35);
  position: sticky;
  top: 0;
  background: var(--frame621b8-bg-ink);
}

.frame621b8-menu-title {
  font-family: var(--frame621b8-head-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--frame621b8-text);
  margin: 0;
}

.frame621b8-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(108, 117, 125, 0.5);
  border-radius: var(--frame621b8-r);
  color: var(--frame621b8-text-2);
  font-size: 17px;
  cursor: pointer;
}

.frame621b8-menu-group { padding: 14px 14px 4px; }

.frame621b8-menu-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--frame621b8-mute);
  margin: 0 0 8px;
}

.frame621b8-menu-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 8px 10px;
  margin: 0 0 6px;
  border: 1px solid rgba(108, 117, 125, 0.28);
  border-left: 3px solid rgba(108, 117, 125, 0.6);
  border-radius: var(--frame621b8-r);
  background: rgba(58, 79, 104, 0.35);
  color: var(--frame621b8-text-2);
  text-decoration: none;
  font-size: 13.5px;
}

.frame621b8-menu-item svg { flex: none; color: var(--frame621b8-accent); }

.frame621b8-menu-item span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.frame621b8-menu-item .frame621b8-menu-arrow { color: var(--frame621b8-mute); flex: none; }

.frame621b8-menu-item.is-current {
  background: rgba(174, 238, 238, 0.1);
  border-left-color: var(--frame621b8-accent);
  color: var(--frame621b8-text);
  font-weight: 600;
}

.frame621b8-menu-cta {
  margin: 10px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  padding-top: 12px;
  border-top: 1px dashed rgba(108, 117, 125, 0.4);
  display: grid;
  gap: 8px;
}

.frame621b8-menu-note {
  font-size: 11px;
  color: var(--frame621b8-text-3);
  text-align: center;
  margin: 0;
}

.frame621b8-no-scroll { overflow: hidden; }

/* ---------- main column ---------- */

.frame621b8-main {
  padding: calc(118px + env(safe-area-inset-top, 0px)) 0 0;
}

.frame621b8-section { padding: 4px 14px 8px; }

.frame621b8-section + .frame621b8-section { margin-top: 20px; }

/* ---------- hero: H1 + banner carousel ---------- */

.frame621b8-hero { padding: 2px 14px 6px; }

.frame621b8-hero h1 {
  font-family: var(--frame621b8-head-font);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 6px 0 8px;
  color: var(--frame621b8-text);
}

.frame621b8-hero-sub {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--frame621b8-text-2);
}

.frame621b8-hero-sub strong { color: var(--frame621b8-accent); font-weight: 600; }

.frame621b8-hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border: 1px solid rgba(108, 117, 125, 0.4);
  border-radius: var(--frame621b8-r-lg);
  background: var(--frame621b8-bg-deep);
  scrollbar-width: none;
}

.frame621b8-hero-track::-webkit-scrollbar { display: none; }

.frame621b8-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
}

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

.frame621b8-slide-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(31, 44, 62, 0) 0%, rgba(24, 35, 50, 0.88) 46%, rgba(24, 35, 50, 0.96) 100%);
  display: grid;
  gap: 6px;
}

.frame621b8-slide-tag {
  justify-self: start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--frame621b8-accent-ink);
  background: var(--frame621b8-accent);
  padding: 3px 7px;
  border-radius: var(--frame621b8-r);
}

.frame621b8-slide-title {
  margin: 0;
  font-family: var(--frame621b8-head-font);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--frame621b8-text);
  line-height: 1.3;
}

.frame621b8-slide-desc {
  margin: 0;
  font-size: 12px;
  color: var(--frame621b8-text-2);
}

.frame621b8-slide-cta {
  margin-top: 2px;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: var(--frame621b8-r);
  background: var(--frame621b8-accent);
  color: var(--frame621b8-accent-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.frame621b8-slide-cta:active { transform: scale(0.985); background: var(--frame621b8-accent-2); }

.frame621b8-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 2px;
}

.frame621b8-dot {
  width: 30px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(108, 117, 125, 0.55);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.frame621b8-dot.is-active { background: var(--frame621b8-accent); transform: scaleY(1.3); }

/* ---------- game area ---------- */

.frame621b8-blockhead { margin: 0 0 10px; }

.frame621b8-h2 {
  font-family: var(--frame621b8-head-font);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--frame621b8-text);
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--frame621b8-accent);
}

.frame621b8-leadtext {
  margin: 0 0 4px;
  font-size: 13.5px;
  color: var(--frame621b8-text-2);
}

.frame621b8-leadtext a { color: var(--frame621b8-accent); text-underline-offset: 3px; }

.frame621b8-cat {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(108, 117, 125, 0.3);
}

.frame621b8-cat:first-of-type { margin-top: 10px; }

.frame621b8-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.frame621b8-cat-no {
  flex: none;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(174, 238, 238, 0.12);
  border: 1px solid rgba(174, 238, 238, 0.35);
  color: var(--frame621b8-accent);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--frame621b8-r);
}

.frame621b8-cat-title {
  font-family: var(--frame621b8-head-font);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--frame621b8-text);
  margin: 0;
  flex: 1 1 auto;
  min-width: 120px;
}

.frame621b8-cat-count {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--frame621b8-text-3);
  border: 1px solid rgba(108, 117, 125, 0.55);
  padding: 3px 7px;
  border-radius: var(--frame621b8-r);
  white-space: nowrap;
}

.frame621b8-cat-intro {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--frame621b8-text-2);
}

.frame621b8-cat-intro a { color: var(--frame621b8-accent); text-underline-offset: 3px; }

.frame621b8-cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px;
}

.frame621b8-cat-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--frame621b8-text-2);
  text-decoration: none;
  background: rgba(58, 79, 104, 0.55);
  border: 1px solid rgba(108, 117, 125, 0.5);
  border-radius: var(--frame621b8-r);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.frame621b8-cat-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--frame621b8-accent);
  flex: none;
}

.frame621b8-cat-links a:active { color: var(--frame621b8-text); border-color: var(--frame621b8-accent); }

/* large feature card, mixed with the small grid tiles */

.frame621b8-lead {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px;
  margin: 0 0 11px;
  text-align: left;
  background: linear-gradient(135deg, var(--frame621b8-panel) 0%, var(--frame621b8-panel-2) 100%);
  border: 1px solid rgba(174, 238, 238, 0.18);
  border-radius: var(--frame621b8-r-lg);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.frame621b8-lead:active { transform: scale(0.99); border-color: var(--frame621b8-accent); }

.frame621b8-lead-icon {
  width: 76px;
  height: 76px;
  flex: none;
  object-fit: cover;
  border-radius: var(--frame621b8-r-lg);
  border: 1px solid rgba(248, 248, 255, 0.14);
}

.frame621b8-lead-body { flex: 1; min-width: 0; display: grid; gap: 3px; }

.frame621b8-lead-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame621b8-accent);
}

.frame621b8-lead-name {
  font-family: var(--frame621b8-head-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame621b8-text);
  line-height: 1.25;
}

.frame621b8-lead-note {
  font-size: 11.5px;
  color: var(--frame621b8-text-3);
  line-height: 1.4;
}

.frame621b8-lead-arrow { flex: none; color: var(--frame621b8-accent); }

/* small tiles: 4 columns across the whole 320-430px canvas */

.frame621b8-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 6px;
}

.frame621b8-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  min-height: 44px;
}

.frame621b8-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--frame621b8-r-lg);
  border: 1px solid rgba(248, 248, 255, 0.1);
  background: var(--frame621b8-bg-deep);
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.frame621b8-tile:active .frame621b8-tile-img { transform: scale(0.95); border-color: var(--frame621b8-accent); }

.frame621b8-tile-name {
  font-size: 10.5px;
  line-height: 1.25;
  text-align: center;
  color: var(--frame621b8-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- editorial modules ---------- */

.frame621b8-module { margin-top: 24px; }

.frame621b8-module .frame621b8-leadtext { margin-bottom: 10px; }

.frame621b8-h3 {
  font-family: var(--frame621b8-head-font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--frame621b8-accent);
  margin: 16px 0 6px;
}

.frame621b8-module p { margin: 0 0 10px; font-size: 13.5px; color: var(--frame621b8-text-2); }

.frame621b8-check-list { display: grid; gap: 0; border-top: 1px solid rgba(108, 117, 125, 0.3); }

.frame621b8-check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 2px;
  border-bottom: 1px dashed rgba(108, 117, 125, 0.35);
}

.frame621b8-check-ico {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(174, 238, 238, 0.45);
  background: rgba(174, 238, 238, 0.08);
  border-radius: var(--frame621b8-r);
  color: var(--frame621b8-accent);
}

.frame621b8-check-body { display: grid; gap: 2px; min-width: 0; }

.frame621b8-check-title { font-size: 13.5px; font-weight: 700; color: var(--frame621b8-text); }

.frame621b8-check-note { font-size: 12.5px; color: var(--frame621b8-text-3); line-height: 1.5; }

/* player scenario voices */

.frame621b8-voices { display: grid; gap: 10px; }

.frame621b8-voice {
  background: rgba(58, 79, 104, 0.45);
  border-left: 3px solid rgba(174, 238, 238, 0.55);
  border-radius: var(--frame621b8-r);
  padding: 11px 12px;
}

.frame621b8-voice-chip {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame621b8-accent);
  border: 1px solid rgba(174, 238, 238, 0.4);
  padding: 2px 6px;
  border-radius: var(--frame621b8-r);
  margin-bottom: 6px;
}

.frame621b8-voice-quote {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--frame621b8-text);
}

.frame621b8-voice-note {
  margin: 0;
  font-size: 11.5px;
  color: var(--frame621b8-text-3);
}

.frame621b8-voice-note b { color: var(--frame621b8-text-2); font-weight: 600; }

/* payment conditions */

.frame621b8-pay {
  border: 1px solid rgba(108, 117, 125, 0.35);
  border-radius: var(--frame621b8-r-lg);
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(38, 53, 74, 0.5);
}

.frame621b8-pay-name {
  font-family: var(--frame621b8-head-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame621b8-text);
  margin: 0 0 4px;
}

.frame621b8-pay-sub { margin: 0 0 8px; font-size: 12.5px; color: var(--frame621b8-text-3); }

.frame621b8-conds { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }

.frame621b8-conds li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--frame621b8-text-2);
  line-height: 1.5;
}

.frame621b8-conds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: rgba(174, 238, 238, 0.75);
  border-radius: 1px;
}

/* selection criteria */

.frame621b8-criteria { display: grid; gap: 8px; }

.frame621b8-crit-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  background: rgba(52, 70, 94, 0.5);
  border: 1px solid rgba(108, 117, 125, 0.3);
  border-radius: var(--frame621b8-r);
  font-size: 13px;
  color: var(--frame621b8-text-2);
  line-height: 1.5;
}

.frame621b8-crit-item svg { flex: none; margin-top: 2px; color: var(--frame621b8-accent); }

.frame621b8-crit-item b { color: var(--frame621b8-text); font-weight: 600; }

/* ---------- extended footer (site directory > brand > promotions > disclaimer) ---------- */

.frame621b8-xfoot {
  margin-top: 26px;
  border-top: 1px solid rgba(174, 238, 238, 0.16);
  background: var(--frame621b8-bg-deep);
  padding: 18px 14px 8px;
}

.frame621b8-xf-group { margin-bottom: 18px; }

.frame621b8-xf-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame621b8-mute);
  margin: 0 0 9px;
}

.frame621b8-xf-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.frame621b8-xf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 9px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--frame621b8-text-2);
  text-decoration: none;
  background: rgba(58, 79, 104, 0.4);
  border: 1px solid rgba(108, 117, 125, 0.35);
  border-radius: var(--frame621b8-r);
}

.frame621b8-xf-link svg { flex: none; color: var(--frame621b8-accent); }

.frame621b8-xf-link:active { border-color: var(--frame621b8-accent); color: var(--frame621b8-text); }

.frame621b8-xf-brand {
  font-size: 12.5px;
  color: var(--frame621b8-text-2);
  line-height: 1.6;
  margin: 0;
}

.frame621b8-xf-brand a { color: var(--frame621b8-accent); }

.frame621b8-xf-promos { display: grid; gap: 8px; }

.frame621b8-xf-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  background: rgba(174, 238, 238, 0.07);
  border: 1px solid rgba(174, 238, 238, 0.32);
  border-radius: var(--frame621b8-r);
  color: var(--frame621b8-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.frame621b8-xf-promo:active { transform: translateY(1px); background: rgba(174, 238, 238, 0.14); }

.frame621b8-xf-promo svg { flex: none; }

.frame621b8-xf-promo small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--frame621b8-text-3);
}

.frame621b8-xf-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--frame621b8-text-3);
  border-top: 1px dashed rgba(108, 117, 125, 0.4);
  padding-top: 12px;
  margin: 4px 0 0;
}

/* ---------- copyright footer ---------- */

.frame621b8-footer {
  background: var(--frame621b8-bg-ink);
  border-top: 1px solid rgba(108, 117, 125, 0.3);
  text-align: center;
  padding: 14px 14px calc(102px + env(safe-area-inset-bottom, 0px));
}

.frame621b8-footer p {
  margin: 0;
  font-size: 11.5px;
  color: var(--frame621b8-mute);
  line-height: 1.6;
}

.frame621b8-footer b { color: var(--frame621b8-text-3); font-weight: 600; }

/* ---------- floating dock bottom navigation (5 roles) ---------- */

.frame621b8-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 410px;
  height: 62px;
  z-index: 62;
  display: flex;
  background: rgba(31, 44, 62, 0.98);
  border: 1px solid rgba(174, 238, 238, 0.22);
  border-radius: var(--frame621b8-r-lg);
  box-shadow: 0 10px 26px rgba(10, 16, 25, 0.5);
  overflow: hidden;
}

.frame621b8-dock-ind {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 20%;
  background: var(--frame621b8-accent);
  box-shadow: 0 0 8px rgba(174, 238, 238, 0.8);
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1), width 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: none;
}

.frame621b8-dock-item {
  position: relative;
  flex: 1 1 20%;
  min-width: 0;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  background: transparent;
  border: 0;
  color: #9DB0C6;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.frame621b8-dock-item svg { flex: none; }

.frame621b8-dock-item:active { color: var(--frame621b8-text); }

.frame621b8-dock-item.is-active {
  color: var(--frame621b8-accent);
  background: rgba(174, 238, 238, 0.1);
}

.frame621b8-dock-item.is-active .frame621b8-dock-label { color: var(--frame621b8-accent); }

.frame621b8-dock-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #9DB0C6;
}

/* ---------- small canvas tuning ---------- */

@media (min-width: 360px) {
  .frame621b8-hero h1 { font-size: 22px; }
  .frame621b8-grid { gap: 13px 8px; }
  .frame621b8-tile-name { font-size: 11px; }
}

@media (min-width: 375px) {
  .frame621b8-brand-name { font-size: 15px; }
  .frame621b8-grid { gap: 14px 9px; }
  .frame621b8-xf-links { gap: 8px; }
}

/* wide screens keep the same 430px phone canvas centered */

@media (min-width: 431px) {
  body { background: #101A26; }
  .frame621b8-canvas {
    box-shadow: 0 0 0 1px rgba(108, 117, 125, 0.25), 0 18px 60px rgba(5, 10, 18, 0.55);
  }
  .frame621b8-dock { box-shadow: 0 10px 26px rgba(10, 16, 25, 0.6); }
}

@media (min-width: 780px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(50% 30% at 20% 0%, rgba(174, 238, 238, 0.05), transparent 70%),
      radial-gradient(45% 28% at 82% 100%, rgba(174, 238, 238, 0.04), transparent 70%);
    pointer-events: none;
  }
}

/* reduced motion: keep layout, drop non-essential animation */

@media (prefers-reduced-motion: reduce) {
  .frame621b8-hero-track { scroll-behavior: auto; }
  .frame621b8-dock-ind { transition: none; }
  .frame621b8-menu { transition: none; }
  .frame621b8-menu-backdrop { transition: none; }
  .frame621b8-btn,
  .frame621b8-slide-cta,
  .frame621b8-lead,
  .frame621b8-tile-img,
  .frame621b8-xf-promo { transition: none; }
}

/* ---------- help pages: editorial step rail and compact answers ---------- */
.frame621b8-help-shell { padding-bottom: 24px; }
.frame621b8-help-intro {
  padding: 2px 14px 18px;
  border-bottom: 1px solid rgba(174, 238, 238, 0.16);
}
.frame621b8-help-intro h1 {
  font-family: var(--frame621b8-head-font);
  font-size: 22px;
  line-height: 1.25;
  margin: 6px 0 9px;
}
.frame621b8-help-intro p { margin: 0; color: var(--frame621b8-text-2); font-size: 13.5px; }
.frame621b8-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--frame621b8-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.frame621b8-steps { display: grid; gap: 9px; margin: 12px 0 0; }
.frame621b8-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 10px;
  background: rgba(58, 79, 104, 0.42);
  border: 1px solid rgba(108, 117, 125, 0.38);
  border-radius: var(--frame621b8-r);
}
.frame621b8-step-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frame621b8-accent);
  color: var(--frame621b8-accent-ink);
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--frame621b8-r);
}
.frame621b8-step h3 { margin: 0 0 3px; font-size: 14px; color: var(--frame621b8-text); }
.frame621b8-step p { margin: 0; color: var(--frame621b8-text-2); font-size: 12.5px; line-height: 1.55; }
.frame621b8-callout {
  margin: 12px 0;
  padding: 12px;
  border-left: 3px solid var(--frame621b8-accent);
  background: rgba(174, 238, 238, 0.08);
  color: var(--frame621b8-text-2);
  font-size: 13px;
}
.frame621b8-callout strong { color: var(--frame621b8-text); }
.frame621b8-mini-grid { display: grid; gap: 8px; }
.frame621b8-mini-card {
  padding: 11px;
  background: rgba(38, 53, 74, 0.55);
  border: 1px solid rgba(108, 117, 125, 0.35);
  border-radius: var(--frame621b8-r);
}
.frame621b8-mini-card h3 { margin: 0 0 4px; font-size: 14px; color: var(--frame621b8-accent); }
.frame621b8-mini-card p { margin: 0; color: var(--frame621b8-text-2); font-size: 12.5px; }
.frame621b8-help-link { text-underline-offset: 3px; }
.frame621b8-faqs { display: grid; gap: 8px; }
.frame621b8-faq {
  margin: 0;
  padding: 0 11px;
  border: 1px solid rgba(108, 117, 125, 0.4);
  background: rgba(58, 79, 104, 0.38);
  border-radius: var(--frame621b8-r);
}
.frame621b8-faq summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 9px 20px 9px 0;
  color: var(--frame621b8-text);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.frame621b8-faq summary::after { content: "+"; position: absolute; right: 0; color: var(--frame621b8-accent); font-size: 20px; font-weight: 400; }
.frame621b8-faq[open] summary::after { content: "-"; }
.frame621b8-faq p { margin: 0 0 12px; color: var(--frame621b8-text-2); font-size: 12.5px; line-height: 1.6; }
.frame621b8-faq a { color: var(--frame621b8-accent); }
.frame621b8-faq-index { color: var(--frame621b8-mute); font-size: 10px; letter-spacing: 0.8px; margin-right: 7px; }
.frame621b8-source-strip { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.frame621b8-source-strip a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(174, 238, 238, 0.35);
  color: var(--frame621b8-accent);
  text-decoration: none;
  font-size: 11.5px;
  border-radius: var(--frame621b8-r);
}

@media (min-width: 360px) {
  .frame621b8-help-intro h1 { font-size: 23px; }
  .frame621b8-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
