/* ==========================================================================
   winbet casino — responsive interface stylesheet (winbetcasino.homes)
   Mobile-first shell tuned for a stable 320-430px phone canvas.
   All classes and custom properties use the frame32e63- prefix.
   Palette: #87CEEB sky | #2C2C2C ink | #FFB347 amber | #FF9500 flame | #FF5722 ember
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --frame32e63-ink: #2c2c2c;
  --frame32e63-deep: #1f1f1f;
  --frame32e63-page: #232323;
  --frame32e63-panel: #2c2c2c;
  --frame32e63-panel-2: #333333;
  --frame32e63-line: #3f3f3f;
  --frame32e63-line-soft: #383838;
  --frame32e63-text: #f4f5f6;
  --frame32e63-muted: #aeb6bd;
  --frame32e63-faint: #8d959c;
  --frame32e63-sky: #87ceeb;
  --frame32e63-sky-soft: rgba(135, 206, 235, 0.16);
  --frame32e63-amber: #ffb347;
  --frame32e63-flame: #ff9500;
  --frame32e63-ember: #ff5722;
  --frame32e63-ok: #7fd8a0;
  --frame32e63-r: 6px;
  --frame32e63-r-lg: 10px;
  --frame32e63-gap: 8px;
  --frame32e63-tap: 44px;
  --frame32e63-dock-h: 58px;
  --frame32e63-header-h: 100px;
  --frame32e63-font: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans Bengali",
    "Hind Siliguri", "Kalpurush", sans-serif;
}

/* ---------- reset / base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--frame32e63-font);
  background: var(--frame32e63-deep);
  color: var(--frame32e63-text);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: var(--frame32e63-sky);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--frame32e63-sky);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- phone canvas shell ---------- */
.frame32e63-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frame32e63-page);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

/* ---------- top identity bar + action strip ---------- */
.frame32e63-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(31, 31, 31, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame32e63-line);
}

.frame32e63-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--frame32e63-gap);
  min-height: 50px;
  padding: 6px 10px;
}

.frame32e63-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--frame32e63-text);
  min-height: var(--frame32e63-tap);
}

.frame32e63-brand:hover,
.frame32e63-brand:focus-visible {
  text-decoration: none;
}

.frame32e63-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--frame32e63-r);
  border: 1px solid var(--frame32e63-line);
  object-fit: cover;
  flex: none;
}

.frame32e63-brandname {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.frame32e63-brandname em {
  font-style: normal;
  color: var(--frame32e63-amber);
}

.frame32e63-menutoggle {
  flex: none;
  width: var(--frame32e63-tap);
  height: var(--frame32e63-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame32e63-line);
  border-radius: var(--frame32e63-r);
  color: var(--frame32e63-muted);
  background: var(--frame32e63-panel);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.frame32e63-menutoggle:hover {
  color: var(--frame32e63-sky);
  border-color: var(--frame32e63-sky);
}

.frame32e63-menutoggle svg {
  width: 20px;
  height: 20px;
}

.frame32e63-livechip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--frame32e63-muted);
  border: 1px solid var(--frame32e63-line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--frame32e63-panel);
  white-space: nowrap;
}

.frame32e63-livedot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--frame32e63-ember);
  box-shadow: 0 0 6px rgba(255, 87, 34, 0.8);
  animation: frame32e63-pulse 1.8s ease-in-out infinite;
}

@keyframes frame32e63-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.frame32e63-actionrow {
  display: flex;
  gap: var(--frame32e63-gap);
  padding: 0 10px 10px;
}

/* ---------- buttons: staggered primary / secondary ---------- */
.frame32e63-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  border-radius: var(--frame32e63-r);
  transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease,
    background 0.16s ease;
}

.frame32e63-btn:active {
  transform: translateY(1px) scale(0.99);
}

.frame32e63-btn-register {
  flex: 1.5;
  min-height: var(--frame32e63-tap);
  font-size: 15px;
  letter-spacing: 0.2px;
  color: #241303;
  background: linear-gradient(135deg, var(--frame32e63-amber), var(--frame32e63-flame) 55%, var(--frame32e63-ember));
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.32);
}

.frame32e63-btn-login {
  flex: 1;
  min-height: var(--frame32e63-tap);
  font-size: 14px;
  color: var(--frame32e63-sky);
  border: 1.5px solid var(--frame32e63-sky);
  background: var(--frame32e63-sky-soft);
}

.frame32e63-btn-login:hover {
  background: rgba(135, 206, 235, 0.26);
}

/* ---------- main column ---------- */
.frame32e63-main {
  padding: 14px 12px 8px;
  /* reserve room so the fixed dock never covers body copy */
  padding-bottom: calc(var(--frame32e63-dock-h) + 30px + env(safe-area-inset-bottom));
}

.frame32e63-section {
  margin: 0 0 18px;
}

/* ---------- hero / lede ---------- */
.frame32e63-lede {
  padding: 6px 2px 2px;
}

.frame32e63-h1 {
  font-size: 21px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.frame32e63-h1 .frame32e63-h1mark {
  color: var(--frame32e63-amber);
}

.frame32e63-lead {
  margin-top: 8px;
  color: var(--frame32e63-muted);
  font-size: 13.5px;
}

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

.frame32e63-stat {
  background: var(--frame32e63-panel);
  border: 1px solid var(--frame32e63-line-soft);
  border-radius: var(--frame32e63-r);
  padding: 8px 4px;
  text-align: center;
}

.frame32e63-stat-num {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--frame32e63-sky);
  line-height: 1.3;
}

.frame32e63-stat-label {
  display: block;
  font-size: 10.5px;
  color: var(--frame32e63-faint);
  line-height: 1.5;
}

/* ---------- section headings ---------- */
.frame32e63-h2 {
  display: block;
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 800;
  padding-left: 10px;
  border-left: 3px solid var(--frame32e63-flame);
  margin-bottom: 8px;
}

.frame32e63-h2 span {
  color: var(--frame32e63-amber);
}

/* ---------- promo carousel ---------- */
.frame32e63-carousel {
  position: relative;
  margin-top: 4px;
}

.frame32e63-viewport {
  overflow: hidden;
  border-radius: var(--frame32e63-r-lg);
  border: 1px solid var(--frame32e63-line);
  background: var(--frame32e63-panel);
}

.frame32e63-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.33, 0.9, 0.3, 1);
  will-change: transform;
}

.frame32e63-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
}

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

.frame32e63-slide-cap {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: 78%;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
  color: #fff;
  background: rgba(20, 20, 20, 0.72);
  border-left: 3px solid var(--frame32e63-amber);
  border-radius: 4px;
  padding: 4px 8px;
}

.frame32e63-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--frame32e63-text);
  background: rgba(20, 20, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.frame32e63-arrow svg {
  width: 16px;
  height: 16px;
}

.frame32e63-arrow-prev {
  left: 6px;
}

.frame32e63-arrow-next {
  right: 6px;
}

.frame32e63-dots {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  height: 12px;
}

.frame32e63-dot {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.frame32e63-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--frame32e63-line);
  transition: background 0.2s ease;
}

/* sliding focus indicator: one amber pill travels between dots */
.frame32e63-dot-thumb {
  position: absolute;
  top: 6px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--frame32e63-amber), var(--frame32e63-ember));
  transition: transform 0.32s cubic-bezier(0.33, 0.9, 0.3, 1), width 0.2s ease;
  will-change: transform;
}

.frame32e63-carnote {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--frame32e63-faint);
}

/* ---------- category quick-jump rail ---------- */
.frame32e63-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.frame32e63-rail::-webkit-scrollbar {
  display: none;
}

.frame32e63-rail-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--frame32e63-muted);
  background: var(--frame32e63-panel);
  border: 1px solid var(--frame32e63-line-soft);
  border-radius: 999px;
  white-space: nowrap;
}

.frame32e63-rail-link b {
  color: var(--frame32e63-amber);
  font-weight: 800;
}

.frame32e63-rail-link:hover {
  color: var(--frame32e63-text);
  border-color: var(--frame32e63-sky);
  text-decoration: none;
}

/* ---------- game catalogue ---------- */
.frame32e63-cat {
  margin-top: 14px;
  scroll-margin-top: calc(var(--frame32e63-header-h) + 8px);
}

.frame32e63-cathead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(255, 149, 0, 0.14), rgba(135, 206, 235, 0.06) 60%, transparent);
  border-left: 3px solid var(--frame32e63-sky);
  border-radius: var(--frame32e63-r);
}

.frame32e63-cat-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--frame32e63-text);
}

.frame32e63-cat-note {
  font-size: 11px;
  color: var(--frame32e63-faint);
  white-space: nowrap;
}

/* dense icon grid: 4 columns at 320px, 5 columns on wider phone canvases */
.frame32e63-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

.frame32e63-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: var(--frame32e63-r);
  background: transparent;
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.frame32e63-tile:hover,
.frame32e63-tile:focus-visible {
  border-color: var(--frame32e63-flame);
  background: var(--frame32e63-panel-2);
}

.frame32e63-tile:active {
  transform: translateY(2px);
}

.frame32e63-tile-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--frame32e63-r);
  overflow: hidden;
  border: 1px solid var(--frame32e63-line-soft);
  background: var(--frame32e63-panel);
}

.frame32e63-tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame32e63-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--frame32e63-muted);
  word-break: break-word;
}

.frame32e63-seo-name {
  display: block;
  font-size: 9px;
  line-height: 1.25;
  color: var(--frame32e63-faint);
  overflow-wrap: anywhere;
}

/* ---------- prose panels ---------- */
.frame32e63-panel {
  background: var(--frame32e63-panel);
  border: 1px solid var(--frame32e63-line-soft);
  border-radius: var(--frame32e63-r-lg);
  padding: 14px 12px;
}

.frame32e63-panel p {
  color: var(--frame32e63-muted);
  font-size: 13.5px;
  margin-bottom: 10px;
}

.frame32e63-panel p:last-child {
  margin-bottom: 0;
}

.frame32e63-panel strong {
  color: var(--frame32e63-text);
}

.frame32e63-list {
  margin: 4px 0 10px;
}

.frame32e63-list li {
  position: relative;
  padding: 5px 4px 5px 24px;
  color: var(--frame32e63-muted);
  font-size: 13px;
  border-bottom: 1px dashed var(--frame32e63-line-soft);
}

.frame32e63-list li:last-child {
  border-bottom: 0;
}

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

/* step-by-step rhythm blocks */
.frame32e63-steps {
  counter-reset: frame32e63-step;
  margin-top: 4px;
}

.frame32e63-step {
  position: relative;
  counter-increment: frame32e63-step;
  padding: 10px 10px 10px 46px;
  border: 1px solid var(--frame32e63-line-soft);
  border-radius: var(--frame32e63-r);
  background: var(--frame32e63-page);
  margin-bottom: 8px;
}

.frame32e63-step:last-child {
  margin-bottom: 0;
}

.frame32e63-step::before {
  content: counter(frame32e63-step);
  position: absolute;
  left: 10px;
  top: 12px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #241303;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--frame32e63-amber), var(--frame32e63-ember));
}

.frame32e63-step h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--frame32e63-text);
  margin-bottom: 2px;
}

.frame32e63-step p {
  font-size: 12.5px;
  color: var(--frame32e63-muted);
  margin: 0;
}

/* checklist */
.frame32e63-checklist {
  margin: 6px 0 2px;
}

.frame32e63-checklist li {
  position: relative;
  padding: 6px 4px 6px 30px;
  font-size: 13px;
  color: var(--frame32e63-muted);
  border-bottom: 1px dashed var(--frame32e63-line-soft);
}

.frame32e63-checklist li:last-child {
  border-bottom: 0;
}

.frame32e63-checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid var(--frame32e63-sky);
  background: var(--frame32e63-sky-soft);
}

.frame32e63-checklist li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 13px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--frame32e63-sky);
  border-bottom: 2px solid var(--frame32e63-sky);
  transform: rotate(-45deg);
}

/* comparison table */
.frame32e63-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--frame32e63-line-soft);
  border-radius: var(--frame32e63-r);
  margin: 6px 0 10px;
  -webkit-overflow-scrolling: touch;
}

.frame32e63-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 12px;
}

.frame32e63-table caption {
  caption-side: top;
  text-align: left;
  font-size: 11px;
  color: var(--frame32e63-faint);
  padding: 6px 8px;
}

.frame32e63-table th,
.frame32e63-table td {
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--frame32e63-line-soft);
  color: var(--frame32e63-muted);
}

.frame32e63-table th {
  color: var(--frame32e63-amber);
  font-weight: 800;
  white-space: nowrap;
  background: var(--frame32e63-panel-2);
}

.frame32e63-table tr:last-child td {
  border-bottom: 0;
}

/* mini Q&A */
.frame32e63-qa {
  border-top: 1px dashed var(--frame32e63-line);
  padding-top: 10px;
  margin-top: 10px;
}

.frame32e63-qa h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--frame32e63-text);
  margin-bottom: 4px;
}

.frame32e63-qa p {
  font-size: 12.5px;
  margin: 0;
}

/* ---------- CTA band ---------- */
.frame32e63-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--frame32e63-r-lg);
  border: 1px solid rgba(255, 149, 0, 0.4);
  background: linear-gradient(140deg, #3a2a18 0%, #2c2c2c 55%, #1e3038 100%);
  padding: 16px 14px;
}

.frame32e63-cta::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.22), transparent 70%);
  pointer-events: none;
}

.frame32e63-cta p {
  color: var(--frame32e63-muted);
  font-size: 13px;
  margin: 6px 0 12px;
}

.frame32e63-cta-actions {
  display: flex;
  gap: var(--frame32e63-gap);
}

.frame32e63-btn-xl {
  flex: 1.4;
  min-height: 48px;
  font-size: 15.5px;
}

.frame32e63-cta-actions .frame32e63-btn-login {
  flex: 1;
  min-height: 48px;
}

.frame32e63-cta-fine {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--frame32e63-faint);
}

/* ---------- extended footer (home only) ---------- */
.frame32e63-xfoot {
  margin-top: 4px;
  padding: 4px 12px 8px;
  border-top: 1px solid var(--frame32e63-line);
  background: var(--frame32e63-deep);
}

.frame32e63-xfoot-block {
  padding: 12px 0;
  border-bottom: 1px dashed var(--frame32e63-line-soft);
}

.frame32e63-xfoot-block:last-child {
  border-bottom: 0;
}

.frame32e63-xfoot p {
  color: var(--frame32e63-muted);
  font-size: 12.5px;
}

.frame32e63-dirgroup {
  margin-bottom: 10px;
}

.frame32e63-dirgroup:last-child {
  margin-bottom: 0;
}

.frame32e63-dirgroup-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--frame32e63-faint);
  margin: 8px 0 4px;
}

.frame32e63-dirlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.frame32e63-dirlink {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.6;
  color: var(--frame32e63-sky);
  padding: 4px 0 4px 12px;
  position: relative;
}

.frame32e63-dirlink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--frame32e63-flame);
}

.frame32e63-promolist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.frame32e63-promo-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: var(--frame32e63-tap);
  padding: 8px 10px;
  border: 1px solid rgba(255, 149, 0, 0.45);
  border-radius: var(--frame32e63-r);
  background: linear-gradient(150deg, rgba(255, 149, 0, 0.14), rgba(255, 87, 34, 0.05));
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.frame32e63-promo-item:hover {
  border-color: var(--frame32e63-amber);
  transform: translateY(-2px);
}

.frame32e63-promo-item:active {
  transform: translateY(1px);
}

.frame32e63-promo-item b {
  font-size: 12.5px;
  color: var(--frame32e63-text);
}

.frame32e63-promo-item span {
  font-size: 10.5px;
  color: var(--frame32e63-faint);
}

.frame32e63-disclaimer {
  font-size: 11.5px;
  color: var(--frame32e63-faint);
  line-height: 1.8;
}

/* ---------- copyright strip ---------- */
.frame32e63-copy {
  text-align: center;
  font-size: 11px;
  color: var(--frame32e63-faint);
  padding: 10px 12px calc(var(--frame32e63-dock-h) + 18px + env(safe-area-inset-bottom));
  background: var(--frame32e63-deep);
  border-top: 1px solid var(--frame32e63-line);
}

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

.frame32e63-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--frame32e63-tap);
  padding: 6px 2px 7px;
  color: var(--frame32e63-muted);
  border-radius: var(--frame32e63-r);
  transition: color 0.18s ease, transform 0.18s ease;
}

.frame32e63-dock-item > span[aria-hidden="true"] {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  line-height: 1;
}

.frame32e63-dock-item:hover {
  color: var(--frame32e63-text);
  text-decoration: none;
  transform: translateY(-2px);
}

.frame32e63-dock-item svg {
  width: 22px;
  height: 22px;
}

.frame32e63-dock-ic .frame32e63-ic-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.frame32e63-dock-ic .frame32e63-ic-fill {
  fill: transparent;
  stroke: none;
  transition: fill 0.2s ease;
}

/* active role: icon fill flips on + short vertical lift */
.frame32e63-dock-item.frame32e63-is-active {
  color: var(--frame32e63-sky);
  transform: translateY(-2px);
}

.frame32e63-dock-item.frame32e63-is-active .frame32e63-ic-fill {
  fill: currentColor;
}

.frame32e63-dock-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.frame32e63-dock-item.frame32e63-is-active .frame32e63-dock-label {
  color: var(--frame32e63-sky);
}

/* ---------- side drawer ---------- */
.frame32e63-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 10, 10, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.frame32e63-scrim.frame32e63-show {
  opacity: 1;
  visibility: visible;
}

.frame32e63-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 90;
  width: 82%;
  max-width: 340px;
  transform: translate(calc(-50% + 110%), 0);
  transition: transform 0.3s cubic-bezier(0.32, 0.9, 0.28, 1);
  background: var(--frame32e63-page);
  border-left: 1px solid var(--frame32e63-line);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.frame32e63-drawer.frame32e63-open {
  transform: translate(-50%, 0);
}

.frame32e63-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--frame32e63-line);
  position: sticky;
  top: 0;
  background: var(--frame32e63-page);
}

.frame32e63-drawer-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.frame32e63-drawer-title img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid var(--frame32e63-line);
}

.frame32e63-drawerclose {
  width: var(--frame32e63-tap);
  height: var(--frame32e63-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame32e63-line);
  border-radius: var(--frame32e63-r);
  color: var(--frame32e63-muted);
}

.frame32e63-drawerclose svg {
  width: 18px;
  height: 18px;
}

.frame32e63-drawer nav {
  padding: 6px 10px 14px;
}

.frame32e63-drawer-group-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--frame32e63-faint);
  padding: 10px 6px 4px;
}

.frame32e63-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--frame32e63-tap);
  padding: 8px 10px;
  font-size: 13px;
  color: var(--frame32e63-text);
  border-radius: var(--frame32e63-r);
  border: 1px solid transparent;
}

.frame32e63-drawer-link small {
  color: var(--frame32e63-faint);
  font-size: 10.5px;
}

.frame32e63-drawer-link:hover,
.frame32e63-drawer-link:focus-visible {
  background: var(--frame32e63-panel-2);
  border-color: var(--frame32e63-line-soft);
  text-decoration: none;
}

.frame32e63-drawer-link.frame32e63-is-here {
  background: var(--frame32e63-sky-soft);
  border-color: rgba(135, 206, 235, 0.4);
  color: var(--frame32e63-sky);
  font-weight: 700;
}

.frame32e63-drawer-cta {
  display: flex;
  gap: 8px;
  padding: 12px 14px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--frame32e63-line);
  margin-top: auto;
  position: sticky;
  bottom: 0;
  background: var(--frame32e63-page);
}

body.frame32e63-no-scroll {
  overflow: hidden;
}

/* ---------- canvas tuning across the 320-430px range ---------- */
@media (min-width: 375px) {
  .frame32e63-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .frame32e63-h1 {
    font-size: 22px;
  }

  .frame32e63-tile-name {
    font-size: 11px;
  }
}

/* five icon columns once the canvas is wide enough */
@media (min-width: 396px) {
  .frame32e63-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* wider viewports keep the same phone canvas and dock centered */
@media (min-width: 430px) {
  .frame32e63-shell {
    border-left: 1px solid var(--frame32e63-line);
    border-right: 1px solid var(--frame32e63-line);
  }

  .frame32e63-dock {
    border-left: 1px solid var(--frame32e63-line);
    border-right: 1px solid var(--frame32e63-line);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  }

  .frame32e63-drawer {
    border-radius: 0;
  }
}

/* ---------- motion & accessibility ---------- */
.frame32e63-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--frame32e63-amber);
  color: #241303;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 0 0 var(--frame32e63-r) 0;
  z-index: 200;
}

.frame32e63-skip:focus {
  left: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
