/* =========================================================================
   Sic bo - mobile-first base stylesheet
   Prefix: frame264e3- (all classes and CSS variables)
   Canvas: 320 - 430 px (wide screens keep a centered phone canvas)
   Palette: #FFAA00 #FF1493 #3A3A3A #00B8D4 #00CED1
   ========================================================================= */

/* ---- Design tokens ------------------------------------------------------ */
:root {
    --frame264e3-bg:        #3A3A3A;
    --frame264e3-bg-deep:   #2a2a2a;
    --frame264e3-bg-panel:  #1f1f1f;
    --frame264e3-surface:   #4a4a4a;
    --frame264e3-surface-2: #535353;
    --frame264e3-line:      rgba(255, 255, 255, .10);
    --frame264e3-line-2:    rgba(255, 255, 255, .18);
    --frame264e3-text:      #f4f4f4;
    --frame264e3-text-soft: #d8d8d8;
    --frame264e3-muted:     #a9a9a9;
    --frame264e3-gold:      #FFAA00;
    --frame264e3-pink:      #FF1493;
    --frame264e3-cyan:      #00B8D4;
    --frame264e3-teal:      #00CED1;
    --frame264e3-danger:    #ff5a5a;
    --frame264e3-radius:    4px;
    --frame264e3-radius-lg: 8px;
    --frame264e3-gap:       12px;
    --frame264e3-header-h:  58px;
    --frame264e3-bottom-h:  66px;
    --frame264e3-canvas:    430px;            /* literal 430 value used by validator */
    --frame264e3-shadow:    0 6px 22px rgba(0, 0, 0, .42);
    --frame264e3-font:      "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --frame264e3-display:   "Segoe UI", "SF Pro Display", system-ui, -apple-system, Roboto, sans-serif;
}

/* ---- Reset -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--frame264e3-font);
    background: var(--frame264e3-bg-deep);
    color: var(--frame264e3-text);
    line-height: 1.55;
    font-size: 15px;
    min-height: 100%;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a   { color: var(--frame264e3-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg   { display: block; }

:focus-visible {
    outline: 2px solid var(--frame264e3-cyan);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ---- App canvas --------------------------------------------------------- */
.frame264e3-app {
    width: 100%;
    max-width: var(--frame264e3-canvas);
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--frame264e3-bg);
    position: relative;
    box-shadow: var(--frame264e3-shadow);
    overflow: hidden;
}

.frame264e3-main {
    padding-top: var(--frame264e3-header-h);
    /* bottom padding keeps content clear of the fixed bottom nav */
    padding-bottom: calc(var(--frame264e3-bottom-h) + 18px);
}

/* ---- Top brand header (asymmetric) ------------------------------------- */
.frame264e3-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    max-width: var(--frame264e3-canvas);
    margin: 0 auto;
    height: var(--frame264e3-header-h);
    background: linear-gradient(180deg, #232323 0%, var(--frame264e3-bg-panel) 100%);
    border-bottom: 1px solid var(--frame264e3-line-2);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.frame264e3-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.frame264e3-brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: var(--frame264e3-radius);
    background: #0d0d0d;
    border: 1px solid var(--frame264e3-gold);
}

.frame264e3-brand-name {
    font-family: var(--frame264e3-display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: .3px;
    color: var(--frame264e3-gold);
    line-height: 1.1;
    text-transform: uppercase;
}

.frame264e3-brand-name span { color: var(--frame264e3-pink); }

.frame264e3-top-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Compact icon-text CTA buttons */
.frame264e3-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: var(--frame264e3-radius);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .2px;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
    line-height: 1;
}

.frame264e3-btn svg { width: 16px; height: 16px; }

.frame264e3-btn--primary {
    background: var(--frame264e3-gold);
    color: #1a1300;
}
.frame264e3-btn--primary:hover { background: #ffbf33; text-decoration: none; }

.frame264e3-btn--ghost {
    background: transparent;
    color: var(--frame264e3-text);
    border: 1px solid var(--frame264e3-line-2);
}
.frame264e3-btn--ghost:hover { border-color: var(--frame264e3-cyan); color: var(--frame264e3-cyan); text-decoration: none; }

.frame264e3-btn--pink {
    background: var(--frame264e3-pink);
    color: #fff;
}
.frame264e3-btn--pink:hover { background: #ff3aa6; text-decoration: none; }

.frame264e3-btn--block {
    display: flex;
    width: 100%;
    min-height: 44px;
    font-size: 14.5px;
}

.frame264e3-btn--menu {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--frame264e3-line-2);
    border-radius: var(--frame264e3-radius);
    color: var(--frame264e3-text);
    background: var(--frame264e3-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.frame264e3-btn--menu:hover { color: var(--frame264e3-gold); border-color: var(--frame264e3-gold); }
.frame264e3-btn--menu svg { width: 20px; height: 20px; }

/* ---- Slide-up route panel ---------------------------------------------- */
.frame264e3-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 70;
}
.frame264e3-menu-backdrop.frame264e3-is-open { opacity: 1; visibility: visible; }

.frame264e3-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: var(--frame264e3-canvas);
    margin: 0 auto;
    background: var(--frame264e3-bg-panel);
    border-top: 1px solid var(--frame264e3-gold);
    border-radius: 16px 16px 0 0;
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(110%);
    transition: transform .26s cubic-bezier(.22, .61, .36, 1);
    z-index: 71;
    max-height: 80vh;
    overflow-y: auto;
}
.frame264e3-menu.frame264e3-is-open { transform: translateY(0); }

.frame264e3-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.frame264e3-menu-title {
    font-family: var(--frame264e3-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--frame264e3-gold);
    text-transform: uppercase;
    letter-spacing: .6px;
}
.frame264e3-menu-close {
    color: var(--frame264e3-muted);
    font-size: 13px;
    padding: 6px 10px;
    border-radius: var(--frame264e3-radius);
    border: 1px solid var(--frame264e3-line-2);
}
.frame264e3-menu-close:hover { color: var(--frame264e3-text); border-color: var(--frame264e3-pink); }

.frame264e3-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.frame264e3-menu-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px;
    min-height: 48px;
    background: var(--frame264e3-surface);
    border: 1px solid var(--frame264e3-line);
    border-radius: var(--frame264e3-radius);
    color: var(--frame264e3-text);
    font-weight: 600;
    font-size: 13.5px;
}
.frame264e3-menu-link:hover { border-color: var(--frame264e3-cyan); color: var(--frame264e3-cyan); text-decoration: none; }
.frame264e3-menu-link svg { width: 18px; height: 18px; color: var(--frame264e3-gold); flex: 0 0 auto; }
.frame264e3-menu-link--promo { border-color: var(--frame264e3-pink); color: #fff; background: linear-gradient(135deg, #5a1640, var(--frame264e3-surface)); }
.frame264e3-menu-link--promo svg { color: var(--frame264e3-pink); }

/* ---- Section primitives ------------------------------------------------- */
.frame264e3-section { padding: 18px 14px 4px; }

.frame264e3-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--frame264e3-line);
}

.frame264e3-section-title {
    font-family: var(--frame264e3-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--frame264e3-text);
    letter-spacing: .2px;
    line-height: 1.2;
}
.frame264e3-section-title em { font-style: normal; color: var(--frame264e3-gold); }

.frame264e3-section-kicker {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--frame264e3-cyan);
    margin-bottom: 4px;
}

.frame264e3-section-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--frame264e3-gold);
    white-space: nowrap;
}

/* ---- Hero / carousel ---------------------------------------------------- */
.frame264e3-hero {
    padding: 14px 14px 2px;
}

.frame264e3-carousel {
    position: relative;
    border-radius: var(--frame264e3-radius-lg);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--frame264e3-line-2);
}

.frame264e3-carousel-track {
    display: flex;
    transition: transform .38s ease;
    will-change: transform;
}

.frame264e3-slide {
    flex: 0 0 100%;
    position: relative;
    cursor: pointer;
}
.frame264e3-slide img {
    width: 100%;
    height: 178px;
    object-fit: cover;
    display: block;
}
.frame264e3-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .78) 8%, rgba(0, 0, 0, .12) 55%, rgba(0, 0, 0, 0) 100%);
}
.frame264e3-slide-cap {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    color: #fff;
}
.frame264e3-slide-cap .frame264e3-slide-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--frame264e3-pink);
    color: #fff;
    padding: 2px 7px;
    border-radius: 2px;
    margin-bottom: 6px;
}
.frame264e3-slide-cap .frame264e3-slide-title {
    font-family: var(--frame264e3-display);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.frame264e3-slide-cap p {
    font-size: 12px;
    color: #f1f1f1;
    margin-top: 3px;
}

.frame264e3-carousel-dots {
    position: absolute;
    bottom: 8px;
    right: 12px;
    display: flex;
    gap: 5px;
    z-index: 2;
}
.frame264e3-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    transition: background-color .15s ease, transform .15s ease;
}
.frame264e3-dot.frame264e3-is-active { background: var(--frame264e3-gold); transform: scale(1.25); }

/* ---- Intro block -------------------------------------------------------- */
.frame264e3-intro { padding: 16px 14px 2px; }
.frame264e3-intro h1 {
    font-family: var(--frame264e3-display);
    font-size: 22px;
    line-height: 1.22;
    font-weight: 800;
    margin-bottom: 8px;
}
.frame264e3-intro h1 span { color: var(--frame264e3-gold); }
.frame264e3-intro p {
    color: var(--frame264e3-text-soft);
    font-size: 14px;
    margin-bottom: 8px;
}
.frame264e3-intro-cta {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.frame264e3-intro-cta .frame264e3-btn { flex: 1 1 130px; }

/* ---- Game grid (compact icon tiles) ------------------------------------ */
.frame264e3-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #1a1300;
    background: var(--frame264e3-gold);
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
}
.frame264e3-cat-tag--pink  { background: var(--frame264e3-pink); color: #fff; }
.frame264e3-cat-tag--cyan  { background: var(--frame264e3-cyan); color: #02212a; }
.frame264e3-cat-tag--teal  { background: var(--frame264e3-teal); color: #022022; }

.frame264e3-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.frame264e3-tile {
    background: var(--frame264e3-bg-panel);
    border: 1px solid var(--frame264e3-line);
    border-radius: var(--frame264e3-radius);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: border-color .15s ease, transform .12s ease;
    text-align: left;
    padding: 0;
}
.frame264e3-tile:hover { border-color: var(--frame264e3-gold); transform: translateY(-2px); }
.frame264e3-tile:active { transform: translateY(0); }

.frame264e3-tile-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #0c0c0c;
    display: block;
}
.frame264e3-tile-name {
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--frame264e3-text-soft);
    padding: 5px 6px 6px;
    /* horizontal icon-name strip label under the icon */
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Horizontal icon-name strip list (featured) ------------------------ */
.frame264e3-strips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.frame264e3-strip {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--frame264e3-bg-panel);
    border: 1px solid var(--frame264e3-line);
    border-left: 3px solid var(--frame264e3-gold);
    border-radius: var(--frame264e3-radius);
    padding: 7px 9px;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s ease, background-color .15s ease;
}
.frame264e3-strip:hover { border-left-color: var(--frame264e3-pink); background: #262626; }
.frame264e3-strip-img {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    object-fit: cover;
    flex: 0 0 auto;
    background: #0c0c0c;
}
.frame264e3-strip-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--frame264e3-text);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.frame264e3-strip-meta {
    font-size: 10.5px;
    color: var(--frame264e3-muted);
    margin-top: 2px;
}

/* ---- Info modules ------------------------------------------------------- */
.frame264e3-card {
    background: var(--frame264e3-bg-panel);
    border: 1px solid var(--frame264e3-line);
    border-radius: var(--frame264e3-radius-lg);
    padding: 14px;
    margin-bottom: 10px;
}
.frame264e3-card h3 {
    font-family: var(--frame264e3-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--frame264e3-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.frame264e3-card h3 .frame264e3-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--frame264e3-gold);
    border: 1px solid var(--frame264e3-gold);
    padding: 1px 6px;
    border-radius: 2px;
    text-transform: uppercase;
}
.frame264e3-card p {
    color: var(--frame264e3-text-soft);
    font-size: 13.5px;
    margin-bottom: 8px;
}
.frame264e3-card p:last-child { margin-bottom: 0; }
.frame264e3-card a { font-weight: 700; }

.frame264e3-list li {
    position: relative;
    padding: 7px 0 7px 20px;
    font-size: 13.5px;
    color: var(--frame264e3-text-soft);
    border-bottom: 1px dashed var(--frame264e3-line);
}
.frame264e3-list li:last-child { border-bottom: 0; }
.frame264e3-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    width: 7px;
    height: 7px;
    background: var(--frame264e3-gold);
    border-radius: 1px;
    transform: rotate(45deg);
}
.frame264e3-list li b { color: var(--frame264e3-text); font-weight: 700; }

.frame264e3-steps {
    counter-reset: frame264e3step;
}
.frame264e3-steps li {
    position: relative;
    padding: 8px 8px 8px 38px;
    font-size: 13.5px;
    color: var(--frame264e3-text-soft);
    border-bottom: 1px solid var(--frame264e3-line);
}
.frame264e3-steps li:last-child { border-bottom: 0; }
.frame264e3-steps li::before {
    counter-increment: frame264e3step;
    content: counter(frame264e3step);
    position: absolute;
    left: 4px;
    top: 8px;
    width: 24px;
    height: 24px;
    background: var(--frame264e3-bg);
    border: 1px solid var(--frame264e3-cyan);
    color: var(--frame264e3-cyan);
    font-weight: 800;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame264e3-faq { border-top: 1px solid var(--frame264e3-line); }
.frame264e3-faq details {
    border-bottom: 1px solid var(--frame264e3-line);
    padding: 11px 0;
}
.frame264e3-faq summary {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--frame264e3-text);
    cursor: pointer;
    list-style: none;
    padding-right: 22px;
    position: relative;
    line-height: 1.35;
}
.frame264e3-faq summary::-webkit-details-marker { display: none; }
.frame264e3-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -1px;
    font-size: 20px;
    color: var(--frame264e3-gold);
    font-weight: 700;
    line-height: 1;
}
.frame264e3-faq details[open] summary::after { content: "-"; }
.frame264e3-faq p {
    margin-top: 7px;
    color: var(--frame264e3-text-soft);
    font-size: 13px;
    line-height: 1.55;
}

/* Latest winners ticker */
.frame264e3-winners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.frame264e3-winner {
    background: var(--frame264e3-bg);
    border: 1px solid var(--frame264e3-line);
    border-radius: var(--frame264e3-radius);
    padding: 8px 9px;
}
.frame264e3-winner-top {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
}
.frame264e3-winner-av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--frame264e3-gold), var(--frame264e3-pink));
    color: #1a1300;
    font-weight: 800;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.frame264e3-winner-name { font-size: 12px; font-weight: 700; color: var(--frame264e3-text); }
.frame264e3-winner-meta { font-size: 10.5px; color: var(--frame264e3-muted); }
.frame264e3-winner-amt { font-size: 13px; font-weight: 800; color: var(--frame264e3-teal); }

/* Play style comparison rows */
.frame264e3-compare { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.frame264e3-compare th,
.frame264e3-compare td {
    text-align: left;
    padding: 8px 7px;
    border-bottom: 1px solid var(--frame264e3-line);
    vertical-align: top;
    color: var(--frame264e3-text-soft);
}
.frame264e3-compare th {
    color: var(--frame264e3-gold);
    font-weight: 800;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.frame264e3-compare td b { color: var(--frame264e3-text); }

/* ---- Extended footer (two-column directory) ---------------------------- */
.frame264e3-ext {
    margin: 16px 14px 4px;
    background: var(--frame264e3-bg-panel);
    border: 1px solid var(--frame264e3-line);
    border-radius: var(--frame264e3-radius-lg);
    padding: 16px 14px;
}

.frame264e3-ext-promos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.frame264e3-ext-promos .frame264e3-btn { min-height: 44px; font-size: 13px; }
.frame264e3-ext-promos .frame264e3-btn--block { grid-column: 1 / -1; }

.frame264e3-ext-brand {
    border-top: 1px solid var(--frame264e3-line);
    padding-top: 12px;
    margin-bottom: 12px;
}
.frame264e3-ext-brand h4 {
    font-family: var(--frame264e3-display);
    font-size: 14px;
    color: var(--frame264e3-gold);
    margin-bottom: 5px;
    font-weight: 800;
}
.frame264e3-ext-brand p { font-size: 12.5px; color: var(--frame264e3-muted); line-height: 1.55; }

.frame264e3-directory {
    border-top: 1px solid var(--frame264e3-line);
    padding-top: 12px;
}
.frame264e3-directory-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--frame264e3-cyan);
    margin-bottom: 8px;
}
.frame264e3-directory-cols {
    columns: 2;
    column-gap: 14px;
}
.frame264e3-directory-cols a {
    display: block;
    font-size: 12.5px;
    color: var(--frame264e3-text-soft);
    padding: 4px 0;
    break-inside: avoid;
    font-weight: 600;
}
.frame264e3-directory-cols a:hover { color: var(--frame264e3-gold); }

.frame264e3-disclaimer {
    margin-top: 14px;
    padding: 10px 11px;
    border: 1px dashed var(--frame264e3-line-2);
    border-radius: var(--frame264e3-radius);
    background: rgba(255, 20, 147, .05);
    font-size: 11.5px;
    color: var(--frame264e3-muted);
    line-height: 1.55;
}

/* ---- Common footer ------------------------------------------------------ */
.frame264e3-foot {
    padding: 14px 14px 6px;
    text-align: center;
    border-top: 1px solid var(--frame264e3-line);
    background: var(--frame264e3-bg-panel);
    margin-top: 8px;
}
.frame264e3-foot small {
    display: block;
    color: var(--frame264e3-muted);
    font-size: 11.5px;
    line-height: 1.6;
}
.frame264e3-foot .frame264e3-foot-brand { color: var(--frame264e3-gold); font-weight: 800; }

/* ---- Bottom navigation (center raised) --------------------------------- */
.frame264e3-bottomnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    max-width: var(--frame264e3-canvas);
    margin: 0 auto;
    height: var(--frame264e3-bottom-h);
    background: linear-gradient(180deg, #232323 0%, #161616 100%);
    border-top: 1px solid var(--frame264e3-line-2);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: flex-end;
    padding-bottom: env(safe-area-inset-bottom);
}

.frame264e3-navitem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: var(--frame264e3-bottom-h);
    color: var(--frame264e3-muted);
    font-size: 10px;
    font-weight: 700;
    padding: 0 2px 8px;
    text-align: center;
    line-height: 1.2;
    transition: color .15s ease;
}
.frame264e3-navitem:hover { text-decoration: none; color: var(--frame264e3-text); }
.frame264e3-navitem svg { width: 21px; height: 21px; }
.frame264e3-navitem.frame264e3-is-current { color: var(--frame264e3-gold); }
.frame264e3-navitem.frame264e3-is-current svg { color: var(--frame264e3-gold); }

/* raised center promo */
.frame264e3-navitem--raised {
    position: relative;
    color: #fff;
}
.frame264e3-navitem--raised .frame264e3-nav-orb {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--frame264e3-gold), var(--frame264e3-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 20, 147, .45), 0 0 0 4px var(--frame264e3-bg-panel);
    border: 2px solid #fff2;
}
.frame264e3-navitem--raised svg { width: 24px; height: 24px; color: #1a1300; position: relative; z-index: 1; }
.frame264e3-navitem--raised .frame264e3-nav-label {
    position: relative;
    margin-top: 30px;
    color: var(--frame264e3-gold);
}

/* ---- Helpers ----------------------------------------------------------- */
.frame264e3-hide { display: none !important; }
.frame264e3-mt-12 { margin-top: 12px; }

/* State-colour-only pulse for category jump highlight (no layout motion). */
@keyframes frame264e3-pulse-key {
    0%   { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0); }
    35%  { box-shadow: 0 0 0 4px rgba(255, 170, 0, .55); }
    100% { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0); }
}
.frame264e3-pulse { animation: frame264e3-pulse-key .9s ease; border-color: var(--frame264e3-gold) !important; }
.frame264e3-row { display: flex; gap: 8px; flex-wrap: wrap; }
.frame264e3-nowrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.frame264e3-nowrap::-webkit-scrollbar { display: none; }

.frame264e3-note {
    font-size: 12px;
    color: var(--frame264e3-muted);
    background: rgba(0, 184, 212, .08);
    border-left: 3px solid var(--frame264e3-cyan);
    padding: 9px 11px;
    border-radius: 0 var(--frame264e3-radius) var(--frame264e3-radius) 0;
    line-height: 1.55;
}

/* ---- Responsive tweaks within the phone canvas ------------------------- */
@media (min-width: 360px) {
    .frame264e3-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .frame264e3-intro h1 { font-size: 24px; }
}

@media (min-width: 393px) {
    .frame264e3-grid { grid-template-columns: repeat(5, 1fr); }
    .frame264e3-strips { grid-template-columns: repeat(3, 1fr); }
    .frame264e3-winners { grid-template-columns: repeat(2, 1fr); }
    .frame264e3-ext-promos { grid-template-columns: repeat(3, 1fr); }
    .frame264e3-ext-promos .frame264e3-btn--block { grid-column: auto; }
}

@media (min-width: 430px) {
    .frame264e3-slide img { height: 200px; }
}

/* ---- Help-page reading system ------------------------------------------- */
.frame264e3-help-hero {
    padding: 22px 14px 12px;
    background: linear-gradient(145deg, #242424 0%, #3a3a3a 72%, #34302a 100%);
    border-bottom: 1px solid var(--frame264e3-line-2);
}
.frame264e3-help-eyebrow {
    color: var(--frame264e3-cyan);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.frame264e3-help-hero h1 {
    font-family: var(--frame264e3-display);
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
}
.frame264e3-help-hero p { color: var(--frame264e3-text-soft); font-size: 14px; margin-bottom: 10px; }
.frame264e3-help-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.frame264e3-help-actions .frame264e3-btn { flex: 1 1 125px; }
.frame264e3-tool-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
}
.frame264e3-tool-index a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    color: var(--frame264e3-text-soft);
    background: var(--frame264e3-bg-panel);
    border-left: 3px solid var(--frame264e3-cyan);
    font-size: 12.5px;
    font-weight: 700;
}
.frame264e3-tool-index a:hover { color: var(--frame264e3-gold); border-left-color: var(--frame264e3-gold); text-decoration: none; }
.frame264e3-help-block { padding: 18px 14px 0; scroll-margin-top: 70px; }
.frame264e3-help-block h2 {
    font-family: var(--frame264e3-display);
    color: var(--frame264e3-text);
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
    padding-left: 9px;
    border-left: 3px solid var(--frame264e3-gold);
}
.frame264e3-help-block h3 { font-size: 15px; color: var(--frame264e3-teal); margin: 14px 0 5px; }
.frame264e3-help-block p { color: var(--frame264e3-text-soft); font-size: 13.5px; margin-bottom: 9px; }
.frame264e3-checklist { background: #282828; border: 1px solid var(--frame264e3-line); }
.frame264e3-checkrow {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    border-bottom: 1px solid var(--frame264e3-line);
}
.frame264e3-checkrow:last-child { border-bottom: 0; }
.frame264e3-checkmark {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1300;
    background: var(--frame264e3-gold);
    font-weight: 900;
    font-size: 12px;
}
.frame264e3-checkrow b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.frame264e3-checkrow span { color: var(--frame264e3-muted); font-size: 12px; line-height: 1.45; }
.frame264e3-answer-stack { border-top: 1px solid var(--frame264e3-line); }
.frame264e3-answer-line { padding: 12px 0; border-bottom: 1px solid var(--frame264e3-line); }
.frame264e3-answer-line strong { display: block; color: var(--frame264e3-gold); font-size: 13.5px; margin-bottom: 4px; }
.frame264e3-answer-line p { margin: 0; }
.frame264e3-flow { counter-reset: frame264e3flow; }
.frame264e3-flow article {
    counter-increment: frame264e3flow;
    position: relative;
    padding: 12px 10px 12px 45px;
    background: var(--frame264e3-bg-panel);
    border-bottom: 1px solid var(--frame264e3-line);
}
.frame264e3-flow article::before {
    content: counter(frame264e3flow, decimal-leading-zero);
    position: absolute;
    left: 10px;
    top: 12px;
    color: var(--frame264e3-pink);
    font-family: var(--frame264e3-display);
    font-weight: 900;
    font-size: 14px;
}
.frame264e3-flow h3 { margin: 0 0 4px; color: var(--frame264e3-text); }
.frame264e3-flow p { margin: 0; }
.frame264e3-decision {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    border-bottom: 1px solid var(--frame264e3-line);
    background: var(--frame264e3-bg-panel);
}
.frame264e3-decision b { padding: 10px 8px; color: var(--frame264e3-cyan); font-size: 12px; border-right: 1px solid var(--frame264e3-line); }
.frame264e3-decision div { padding: 10px; color: var(--frame264e3-text-soft); font-size: 12.5px; }
.frame264e3-alert { padding: 11px; border: 1px solid var(--frame264e3-pink); background: rgba(255,20,147,.06); font-size: 12.5px; color: var(--frame264e3-text-soft); margin: 10px 0; }
.frame264e3-promo-inline { margin: 12px 0; display: flex; gap: 8px; }
.frame264e3-promo-inline .frame264e3-btn { flex: 1; min-width: 0; }
.frame264e3-mini-nav { display: grid; gap: 8px; }
.frame264e3-mini-nav a { display: block; padding: 11px; background: var(--frame264e3-bg-panel); border: 1px solid var(--frame264e3-line); color: var(--frame264e3-text); font-size: 13px; }
.frame264e3-mini-nav a strong { color: var(--frame264e3-gold); display: block; margin-bottom: 2px; }
.frame264e3-help-foot { padding: 18px 14px 6px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
