/* ============================================================================
   THEME OCEAN — โชคดี168 (Chokdee168)
   Light Ocean & Royal Navy Lottery Platform — ขาว/ฟ้า (#f2f7ff) + Navy (#0a1d52) + ทอง (#ffd24c)
   ============================================================================ */
:root {
    --ocn-bg: #f2f7ff;
    --ocn-card: #ffffff;
    --ocn-soft: #e3eeff;
    --ocn-soft-2: #eef5ff;
    --ocn-blue: #1a5cf0;
    --ocn-blue-2: #0d3fb2;
    --ocn-blue-bright: #2f7bff;
    --ocn-navy: #0a1d52;
    --ocn-navy-2: #081538;
    --ocn-ink: #13246b;
    --ocn-muted: #5a6b95;
    --ocn-line: rgba(26, 92, 240, 0.22);
    --ocn-border: #dbe7ff;
    --ocn-gold: #ffd24c;
    --ocn-gold-2: #e29d00;
    --ocn-container-max: 1280px;
    --ocn-container-gutter: 20px;

    /* Compatibility aliases mapped to Ocean palette */
    --lp-red: var(--ocn-blue);
    --lp-red-bright: var(--ocn-blue-bright);
    --lp-red-dark: var(--ocn-navy);
    --lp-red-soft: var(--ocn-soft);
    --lp-gold: var(--ocn-gold);
    --lp-gold-dark: var(--ocn-gold-2);
    --lp-bg: var(--ocn-bg);
    --lp-surface: var(--ocn-card);
    --lp-text: var(--ocn-ink);
    --lp-muted: var(--ocn-muted);
    --lp-border: var(--ocn-border);
    --lp-success: #15803d;
    --lp-warning: #b45309;
    --lp-danger: #b91c1c;
    --lp-radius: 16px;
    --lp-shadow: 0 6px 18px rgba(13, 63, 178, 0.08);
    --lp-shadow-red: 0 10px 24px rgba(26, 92, 240, 0.24);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    margin: 0;
    font-family: 'Kanit', 'Prompt', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    font-weight: 400;
    background: var(--ocn-bg);
    color: var(--ocn-ink);
    line-height: 1.65;
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Preserve Font Awesome / Bootstrap icon font families */
i, svg, .fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .bi {
    font-style: normal;
}

/* Hide browser scrollbars cleanly while preserving native scrolling */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar,
.dialog-body::-webkit-scrollbar,
.member-tabs::-webkit-scrollbar,
.filter-pills::-webkit-scrollbar,
.search-tabs::-webkit-scrollbar,
.bank-picker-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.table-wrap,
.dialog-body,
.member-tabs,
.filter-pills,
.search-tabs,
.bank-picker-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media (prefers-reduced-motion: no-preference) {
    main, .auth-shell {
        animation: 0.24s cubic-bezier(0.22, 1, 0.36, 1) ocn-fade-enter;
    }
}
@keyframes ocn-fade-enter {
    from { opacity: 0.01; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* GPU top navigation progress bar */
.nav-progress {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #ffd24c, #6ee7ff, #1a5cf0);
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.nav-progress.active { opacity: 1; transform: scaleX(0.78); }
.nav-progress.done { opacity: 0; transform: scaleX(1); }

@media (min-width: 1024px) {
    body { padding-bottom: 0; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

.container,
.page-wrapper {
    width: 100%;
    max-width: var(--ocn-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ocn-container-gutter);
    padding-right: var(--ocn-container-gutter);
}

/* ---- Announcement Bar ---- */
.announce-bar {
    background: var(--ocn-navy-2);
    color: #dbe6ff;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(126, 164, 255, 0.2);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
.announce-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
}
.announce-pill {
    flex-shrink: 0;
    background: var(--ocn-gold);
    color: var(--ocn-navy-2);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 999px;
}
.announce-text {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================================
   OCEAN NAVBAR & OFFCANVAS MENU (Matching jakkaval789.live + Mobile Safe)
   ============================================================================ */
.ufa-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background: #0a1d52;
    border-bottom: 1px solid rgba(126, 164, 255, 0.35);
    box-shadow: 0 6px 20px rgba(8, 21, 56, 0.24);
    color: #fff;
}
.ufa-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 66px;
    min-width: 0;
}
.ufa-nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
}
.ufa-hamburger {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(159, 192, 255, 0.3);
    color: #9fc0ff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ufa-hamburger:hover {
    background: rgba(26, 92, 240, 0.35);
    border-color: rgba(159, 192, 255, 0.7);
    color: #fff;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}
.brand-lockup img,
.brand-logo-img,
.guest-brand-logo-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 210, 76, 0.8);
    box-shadow: 0 2px 12px rgba(255, 210, 76, 0.3);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.brand-lockup:hover img {
    transform: scale(1.05);
}
.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
}
.brand-th {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.2px;
    background: linear-gradient(180deg, #fff4c2 0%, #ffd24c 52%, #e09100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
    white-space: nowrap;
}
.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #9fc0ff;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 2px;
    margin-left: 4px;
    min-width: 0;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .main-nav { display: flex; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
    .main-nav a { padding: 5px 8px; font-size: 12.5px; }
    .brand-th { font-size: 1.12rem; }
    .brand-logo-img { width: 38px; height: 38px; }
    .wallet-chip { padding: 5px 10px; font-size: 12px; }
}
.main-nav a {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #dbe6ff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a i { color: #9fc0ff; font-size: 12px; }
.main-nav a:hover,
.main-nav a.active {
    background: rgba(26, 92, 240, 0.38);
    color: #fff;
}
.main-nav a.active i { color: var(--ocn-gold); }

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
}
@media (max-width: 1023.98px) {
    .ufa-navbar-inner { gap: 8px; }
    .ufa-nav-left,
    .header-actions { flex: 0 0 auto; }
    .brand-lockup { margin: 0 auto; }
    .header-desktop-only { display: none !important; }
}
@media (max-width: 767.98px) {
    .ufa-navbar-inner { min-height: 58px; gap: 6px; }
    .ufa-hamburger { width: 40px; height: 40px; font-size: 17px; }
    .brand-lockup .brand-wordmark { display: none; }
    .brand-lockup img,
    .brand-logo-img { width: 40px; height: 40px; }
    .header-actions { gap: 6px; }
    .header-actions .btn-sm { padding: 7px 12px; font-size: 12.5px; min-height: 36px; }
}
.header-desktop-only { display: inline-flex; }

.wallet-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(159, 192, 255, 0.4);
    color: #fff;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.wallet-chip i { color: var(--ocn-gold); }

/* Offcanvas Slide-in Menu */
.ocn-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 21, 56, 0.72);
    z-index: 1045;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.ocn-offcanvas-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}
.ocn-offcanvas {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(310px, 86vw);
    background: var(--ocn-navy);
    color: #dbe6ff;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(126, 164, 255, 0.3);
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(-104%);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.ocn-offcanvas.show {
    transform: translateX(0);
}
.ocn-offcanvas-head {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(159, 192, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ocn-offcanvas-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ocn-offcanvas-brand img {
    width: 36px; height: 36px;
    border-radius: 50%; object-fit: cover;
    border: 1.5px solid var(--ocn-gold);
}
.ocn-offcanvas-brand span {
    font-weight: 700;
    font-size: 16px;
    color: #9fc0ff;
}
.ocn-offcanvas-close {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(159, 192, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.ocn-offcanvas-body {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}
.ocn-drawer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ocn-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #e2ebff;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}
.ocn-drawer-nav a i {
    width: 20px;
    text-align: center;
    color: #6ee7ff;
}
.ocn-drawer-nav a:hover,
.ocn-drawer-nav a.active {
    background: rgba(26, 92, 240, 0.35);
    color: #fff;
}
.ocn-drawer-ctas {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}
.ocn-offcanvas-foot {
    padding-top: 14px;
    border-top: 1px solid rgba(159, 192, 255, 0.2);
    font-size: 12px;
    color: rgba(219, 230, 255, 0.6);
}

/* ============================================================================
   BUTTONS (Ocean Pill & Rounded Styles)
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.14s ease, filter 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-ufa,
.btn-red {
    background: linear-gradient(180deg, var(--ocn-blue-bright) 0%, var(--ocn-blue) 40%, var(--ocn-blue-2) 100%);
    color: #fff;
    border-color: var(--ocn-blue-2);
    box-shadow: 0 6px 16px rgba(26, 92, 240, 0.28);
}
.btn-ufa:hover,
.btn-red:hover {
    color: #fff;
    filter: brightness(1.08);
    box-shadow: 0 8px 20px rgba(26, 92, 240, 0.36);
}

.btn-outline-ufa {
    background: transparent;
    border: 1px solid rgba(159, 192, 255, 0.85);
    color: #dbe6ff;
    font-weight: 500;
}
.btn-outline-ufa:hover {
    background: var(--ocn-blue);
    border-color: var(--ocn-blue);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(180deg, #ffe27a 0%, #ffd24c 55%, #e29d00 100%);
    color: var(--ocn-navy-2);
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(226, 157, 0, 0.26);
}
.btn-gold:hover { filter: brightness(1.05); }

.btn-white {
    background: #fff;
    color: var(--ocn-blue-2);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(8, 21, 56, 0.16);
}
.btn-white:hover { background: var(--ocn-soft); color: var(--ocn-navy); }

.btn-outline-white {
    background: transparent;
    color: #dbe6ff;
    border-color: rgba(159, 192, 255, 0.75);
}
.btn-outline-white:hover {
    background: var(--ocn-blue);
    border-color: var(--ocn-blue);
    color: #fff;
}

.btn-outline-red {
    background: #fff;
    color: var(--ocn-blue);
    border-color: var(--ocn-blue);
}
.btn-outline-red:hover {
    background: var(--ocn-soft);
    color: var(--ocn-blue-2);
}

.btn-outline {
    background: #fff;
    color: var(--ocn-ink);
    border-color: var(--ocn-border);
}
.btn-outline:hover { background: var(--ocn-soft-2); border-color: var(--ocn-blue); }

.btn-ghost {
    background: var(--ocn-soft);
    color: var(--ocn-ink);
    border-color: rgba(26, 92, 240, 0.14);
}
.btn-ghost:hover { background: #d5e5ff; }

.btn-danger-soft {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.btn-sm { padding: 6px 13px; font-size: 13px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============================================================================
   OCEAN SECTION HEADINGS, CONTENT CARDS & DARK PANELS
   ============================================================================ */
.section-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--ocn-ink);
    margin: 0 0 1.25rem;
    position: relative;
    padding-bottom: 0.65rem;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 96px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--ocn-blue), transparent);
}

.v-content {
    background: var(--ocn-card);
    border: 1px solid var(--ocn-line);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 6px 18px rgba(13, 63, 178, 0.08);
    color: var(--ocn-ink);
}

.lp-wrap {
    background: #0f2058;
    border: 1px solid rgba(26, 92, 240, 0.35);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(13, 63, 178, 0.18);
    color: #fff;
    padding: 20px;
}
.lp-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(159, 192, 255, 0.25);
    border-radius: 14px;
    padding: 16px;
}
.lp-num {
    display: inline-block;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--ocn-gold);
    background: rgba(10, 29, 82, 0.78);
    border: 1px solid rgba(255, 210, 76, 0.38);
    border-radius: 10px;
    padding: 4px 12px;
}

/* ============================================================================
   GUEST LANDING PAGE (Ocean Multi-Category Portal matching jakkaval789.live)
   ============================================================================ */
.guest-body {
    background: var(--ocn-bg);
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) {
    .guest-body { padding-bottom: 0; }
}

.guest-main {
    padding: 18px 0 36px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
.guest-stack {
    width: 100%;
    max-width: var(--ocn-container-max);
    margin: 0 auto;
    padding: 0 var(--ocn-container-gutter);
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.guest-stack > * { min-width: 0; max-width: 100%; }

/* Ocean Hero Showcase Carousel */
.ocn-hero-carousel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(126, 164, 255, 0.45);
    box-shadow: 0 16px 36px rgba(10, 29, 82, 0.24);
    background: var(--ocn-navy);
}
.ocn-carousel-viewport {
    overflow: hidden;
    width: 100%;
}
.ocn-carousel-track {
    display: flex;
    transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.ocn-hero-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    padding: 28px 58px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 24px;
}
.ocn-hero-slide.slide-portal {
    background: radial-gradient(circle at 80% 25%, rgba(47, 123, 255, 0.55) 0%, transparent 52%),
                radial-gradient(circle at 15% 85%, rgba(255, 210, 76, 0.16) 0%, transparent 45%),
                linear-gradient(135deg, #07143b 0%, #0d3299 54%, #1a5cf0 100%);
}
.ocn-hero-slide.slide-sports {
    background: radial-gradient(circle at 82% 30%, rgba(14, 165, 233, 0.45) 0%, transparent 52%),
                linear-gradient(135deg, #061844 0%, #0b3c9e 58%, #0284c7 100%);
}
.ocn-hero-slide.slide-casino {
    background: radial-gradient(circle at 80% 28%, rgba(255, 210, 76, 0.22) 0%, transparent 50%),
                linear-gradient(135deg, #081538 0%, #172f85 55%, #1d4ed8 100%);
}
.ocn-hero-slide.slide-lotto {
    background: radial-gradient(circle at 85% 20%, rgba(255, 210, 76, 0.25) 0%, transparent 48%),
                linear-gradient(135deg, #0a1d52 0%, #10328c 55%, #2f7bff 100%);
}
.ocn-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.28;
    pointer-events: none;
}
.ocean-hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.ocean-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 210, 76, 0.16);
    color: var(--ocn-gold);
    border: 1px solid rgba(255, 210, 76, 0.48);
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 10px;
    max-width: 100%;
}
.ocean-hero-title {
    margin: 0 0 8px;
    font-size: clamp(23px, 3.6vw, 36px);
    font-weight: 800;
    line-height: 1.18;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}
.ocean-hero-title span { color: var(--ocn-gold); }
.ocean-hero-sub {
    margin: 0 0 14px;
    font-size: 14.5px;
    color: rgba(226, 236, 255, 0.92);
    max-width: 600px;
}
.ocn-slide-perks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}
.ocn-perk-box {
    background: rgba(8, 21, 56, 0.74);
    border: 1px solid rgba(159, 192, 255, 0.28);
    border-radius: 12px;
    padding: 9px 8px;
    text-align: center;
}
.ocn-perk-box i {
    color: var(--ocn-gold);
    font-size: 15px;
    margin-bottom: 3px;
    display: block;
}
.ocn-perk-box strong {
    display: block;
    font-size: 12px;
    color: #fff;
    line-height: 1.25;
}
.ocn-perk-box small {
    display: block;
    font-size: 10.5px;
    color: #9fc0ff;
    line-height: 1.2;
}
.ocean-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ocean-hero-visual {
    position: relative;
    z-index: 1;
    background: rgba(8, 21, 56, 0.58);
    border: 1px solid rgba(159, 192, 255, 0.32);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.ocean-hero-emblem-row {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
}
.ocean-hero-emblem-row img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--ocn-gold);
    box-shadow: 0 4px 18px rgba(255, 210, 76, 0.35);
    flex-shrink: 0;
}
.ocean-hero-emblem-row strong {
    display: block;
    font-size: 15.5px;
    color: var(--ocn-gold);
}
.ocean-hero-emblem-row small {
    display: block;
    font-size: 12px;
    color: #c7daff;
}
.ocn-visual-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}
.ocn-vchip {
    background: rgba(26, 92, 240, 0.25);
    border: 1px solid rgba(159, 192, 255, 0.3);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ocn-vchip i { color: var(--ocn-gold); }

.ocn-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(8, 21, 56, 0.78);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.16s ease, transform 0.16s ease;
}
.ocn-carousel-arrow:hover {
    background: var(--ocn-blue);
    transform: translateY(-50%) scale(1.06);
}
.ocn-carousel-arrow.prev { left: 10px; }
.ocn-carousel-arrow.next { right: 10px; }
.ocn-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 6px;
}
.ocn-carousel-dot {
    width: 24px;
    height: 4px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    padding: 0;
    transition: width 0.2s ease, background 0.2s ease;
}
.ocn-carousel-dot.active {
    width: 34px;
    background: var(--ocn-gold);
}

/* ============================================================================
   8 GLOSSY CATEGORY QUICK BUTTONS (Matching jakkaval789.live .cat-grid 4x2 / 2x4)
   ============================================================================ */
.ocn-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}
@media (min-width: 768px) {
    .ocn-cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}
.cat-pill-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 64px;
    padding: 7px 14px 7px 7px;
    border-radius: 999px;
    border: 2px solid #96d1ff;
    background: linear-gradient(180deg, #4db3ff 0%, #1d64f2 46%, #0b349e 100%);
    color: #fff;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    box-shadow:
        0 8px 18px rgba(13, 63, 178, 0.26),
        inset 0 2px 3px rgba(255, 255, 255, 0.7),
        inset 0 -3px 6px rgba(6, 21, 68, 0.45);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.cat-pill-card::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 3px;
    height: 40%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04));
    pointer-events: none;
}
.cat-pill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(26, 92, 240, 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.8);
    filter: brightness(1.06);
}
.cat-pill-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 21px;
    background: radial-gradient(circle at 32% 28%, #ffffff 0%, #dbeafe 65%, #93c5fd 100%);
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 10px rgba(8, 21, 56, 0.35);
}
.cat-pill-icon.ic-sports { color: #0f172a; }
.cat-pill-icon.ic-casino { color: #dc2626; }
.cat-pill-icon.ic-slots { color: #d97706; background: radial-gradient(circle at 32% 28%, #fffbeb 0%, #fde68a 65%, #f59e0b 100%); }
.cat-pill-icon.ic-lotto { color: #0a1d52; }
.cat-pill-icon.ic-article { color: #1a5cf0; }
.cat-pill-icon.ic-line {
    background: radial-gradient(circle at 32% 28%, #4ade80 0%, #16a34a 70%, #15803d 100%);
    color: #fff;
}
.cat-pill-icon.ic-privacy { color: #1e293b; }
.cat-pill-icon.ic-sitemap { color: #1d4ed8; }
.cat-pill-label {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(8, 21, 56, 0.6);
    min-width: 0;
}
.cat-pill-label.is-compact { font-size: 13.5px; }

/* Multi-Category Pillars Showcase */
.ocn-pillars-section {
    background: var(--ocn-card);
    border: 1px solid var(--ocn-line);
    border-radius: 18px;
    padding: 22px 18px;
    box-shadow: 0 8px 22px rgba(13, 63, 178, 0.07);
}
.ocn-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 991.98px) {
    .ocn-pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .ocn-pillars-grid { grid-template-columns: 1fr; }
}
.ocn-pillar-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid var(--ocn-border);
    border-radius: 15px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.ocn-pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--ocn-blue);
    box-shadow: 0 10px 22px rgba(26, 92, 240, 0.14);
}
.ocn-pillar-head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ocn-pillar-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ocn-blue-bright), var(--ocn-navy));
    color: var(--ocn-gold);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(13, 63, 178, 0.2);
}
.ocn-pillar-head h3 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ocn-ink);
    line-height: 1.25;
}
.ocn-pillar-card p {
    margin: 0;
    font-size: 13px;
    color: var(--ocn-muted);
    line-height: 1.55;
    flex: 1;
}
.ocn-pillar-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ocn-blue);
    padding-top: 6px;
    border-top: 1px dashed var(--ocn-border);
}

/* Articles, Info Blocks & FAQ Cards (matching jakkaval789.live .v-content & .bg-faq) */
.ocn-article-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ocn-article-card {
    background: var(--ocn-card);
    border: 1px solid var(--ocn-line);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 6px 18px rgba(13, 63, 178, 0.08);
}
.ocn-article-card h2 {
    margin: 0 0 12px;
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--ocn-blue);
    text-align: center;
}
.ocn-article-card p {
    margin: 0 0 10px;
    font-size: 14.5px;
    color: var(--ocn-ink);
    line-height: 1.85;
}
.ocn-article-card p:last-child { margin-bottom: 0; }
.ocn-article-card a { color: var(--ocn-blue); font-weight: 600; text-decoration: underline; }

.ocn-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bg-faq {
    background: var(--ocn-card);
    border: 1px solid var(--ocn-line);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(13, 63, 178, 0.07);
    overflow: hidden;
}
.ocn-faq-btn {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--ocn-blue);
}
.ocn-faq-btn i {
    color: var(--ocn-blue);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.bg-faq.is-open .ocn-faq-btn {
    background: var(--ocn-soft-2);
}
.bg-faq.is-open .ocn-faq-btn i {
    transform: rotate(180deg);
}
.ocn-faq-panel {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--ocn-ink);
    line-height: 1.75;
    border-top: 1px solid var(--ocn-border);
}
.bg-faq.is-open .ocn-faq-panel { display: block; padding-top: 12px; }

/* Dual Feature Quick Cards (ทำนายฝัน | ฝากตรวจหวยใบ) */
.guest-promo-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.guest-promo-card {
    border: 1px solid rgba(26, 92, 240, 0.28);
    border-radius: 16px;
    padding: 16px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 8px 20px rgba(13, 63, 178, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.guest-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(13, 63, 178, 0.28);
    filter: brightness(1.06);
}
.promo-navy {
    background: linear-gradient(135deg, #081538 0%, #0d3fb2 100%);
}
.promo-red,
.promo-ocean {
    background: linear-gradient(135deg, #0d52e8 0%, #061f66 100%);
}
.promo-text strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.25; }
.promo-text small { font-size: 12.5px; color: rgba(219, 230, 255, 0.88); }
.promo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 210, 76, 0.7);
    color: var(--ocn-gold);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* 2-Column Results Showcase */
.guest-results-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 900px) {
    .guest-results-pair {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

/* Government Lottery Dark Navy Ocean Panel (.lp-wrap style) */
.guest-gov-card {
    background: linear-gradient(155deg, #0f2058 0%, #0a1d52 60%, #0d3fb2 100%);
    border: 1px solid rgba(26, 92, 240, 0.4);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 26px rgba(13, 63, 178, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.guest-gov-title {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 700;
    color: var(--ocn-gold);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.guest-gov-date-pill {
    display: inline-block;
    background: rgba(255, 210, 76, 0.18);
    border: 1px solid rgba(255, 210, 76, 0.5);
    color: var(--ocn-gold);
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.guest-gov-board {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(159, 192, 255, 0.22);
    border-radius: 14px;
    padding: 12px;
    color: #fff;
}
.gov-strip-head {
    background: rgba(26, 92, 240, 0.42);
    color: #dbe6ff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 8px;
}
.gov-prize-full {
    background: rgba(10, 29, 82, 0.72);
    border: 1px solid rgba(255, 210, 76, 0.35);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}
.gov-big-gold {
    font-size: 34px;
    font-weight: 800;
    color: var(--ocn-gold);
    letter-spacing: 0.1em;
    padding: 8px 0;
}
.gov-prize-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.gov-left-col { display: flex; flex-direction: column; gap: 10px; }
.gov-box {
    background: rgba(10, 29, 82, 0.72);
    border: 1px solid rgba(159, 192, 255, 0.25);
    border-radius: 12px;
    overflow: hidden;
}
.gov-box-tall {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.gov-two-nums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px 0;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
}
.gov-two-nums span:first-child { border-right: 1px solid rgba(159, 192, 255, 0.2); }
.gov-big-gold-2 {
    flex: 1;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 800;
    color: var(--ocn-gold);
    padding: 12px 0;
}

/* Lao Lottery Crisp Ocean White Card (.v-content style) */
.guest-lao-card {
    background: var(--ocn-card);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(13, 63, 178, 0.08);
    border: 1px solid var(--ocn-line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.guest-lao-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}
.guest-lao-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--ocn-ink);
}
.guest-lao-head h2 span { color: var(--ocn-blue); }
.lao-seal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ocn-blue), var(--ocn-navy));
    color: var(--ocn-gold);
    display: grid;
    place-items: center;
    font-size: 18px;
    border: 2px solid var(--ocn-gold);
}
.lao-top-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    margin-bottom: 10px;
}
.lao-box, .lao-dev-box {
    border: 1px solid var(--ocn-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    background: #f8fbff;
}
.lao-box-label {
    background: var(--ocn-soft);
    color: var(--ocn-ink);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 8px;
}
.lao-num-4 {
    font-size: 34px;
    font-weight: 800;
    color: var(--ocn-blue);
    padding: 12px 6px;
    letter-spacing: 0.06em;
}
.lao-sub-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 6px;
}
.lao-sub-split > div:first-child { border-right: 1px solid var(--ocn-border); }
.lao-sub-split small { display: block; font-size: 12px; color: var(--ocn-muted); font-weight: 500; }
.lao-sub-split strong { font-size: 24px; font-weight: 800; color: var(--ocn-ink); }
.lao-dev-nums {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 12px 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--ocn-ink);
}
.lao-btn-row {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 10px;
    margin-top: 14px;
}
.btn-lao-refresh {
    background: linear-gradient(180deg, #ffe27a 0%, #ffd24c 55%, #e29d00 100%);
    color: var(--ocn-navy-2);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 4px 12px rgba(226, 157, 0, 0.25);
}
.btn-lao-refresh:hover { filter: brightness(1.05); }
.btn-lao-more {
    background: linear-gradient(180deg, var(--ocn-blue-bright) 0%, var(--ocn-blue) 45%, var(--ocn-blue-2) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 6px 16px rgba(26, 92, 240, 0.26);
}
.btn-lao-more:hover { filter: brightness(1.08); color: #fff; }

/* Services Quick Grid */
.guest-services-wrap {
    background: var(--ocn-card);
    border: 1px solid var(--ocn-line);
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 6px 18px rgba(13, 63, 178, 0.06);
}
.guest-services-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ocn-ink);
    text-align: center;
}
.guest-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 900px) {
    .guest-services-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    .guest-services-grid.is-logged-in {
        grid-template-columns: repeat(7, 1fr);
    }
}
.svc-item {
    background: #f8fbff;
    border: 1px solid var(--ocn-border);
    border-radius: 14px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ocn-ink);
    cursor: pointer;
    text-align: center;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.svc-item:hover {
    transform: translateY(-3px);
    border-color: var(--ocn-blue);
    box-shadow: 0 8px 18px rgba(26, 92, 240, 0.14);
}
.svc-tile {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 19px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 5px 12px rgba(13, 63, 178, 0.22);
}
.tile-red { background: linear-gradient(135deg, #2f7bff, #0d3fb2); }
.tile-crimson { background: linear-gradient(135deg, #1a5cf0, #0a1d52); }
.tile-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.tile-gold { background: linear-gradient(135deg, #ffd24c, #d97706); color: var(--ocn-navy-2); }
.tile-navy { background: linear-gradient(135deg, #3b82f6, #13246b); }
.tile-orange { background: linear-gradient(135deg, #0ea5e9, #1d4ed8); }
.tile-dark { background: linear-gradient(135deg, #334155, #0f172a); }

/* Supported Banks Showcase Section (before Ocean Footer) */
.ocean-banks-section {
    padding: 28px 0 32px;
    text-align: center;
}
.ocean-banks-inner {
    max-width: var(--ocn-container-max);
    margin: 0 auto;
    color: var(--ocn-muted);
    font-weight: 300;
}
.ocean-banks-inner p {
    margin: 0 0 18px;
    font-size: 14.5px;
}
.ocean-banks-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ocean-bank-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ocn-card);
    border: 1px solid var(--ocn-border);
    border-radius: 12px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ocn-ink);
    box-shadow: 0 4px 12px rgba(13, 63, 178, 0.06);
}

/* ============================================================================
   OCEAN FOOTER & FLOATING LINE & MOBILE ACTION BAR (Matching uxui_v1)
   ============================================================================ */
.ufa-footer,
.site-footer {
    background: var(--ocn-navy);
    border-top: 3px solid var(--ocn-blue);
    color: #b8c7ea;
    margin-top: 32px;
    padding: 40px 0 24px;
}
.guest-body .ufa-footer {
    margin-top: 8px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.footer-grid h4,
.footer-grid h5 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
}
.footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ocn-gold);
    flex-shrink: 0;
}
.footer-grid p,
.footer-grid li {
    font-size: 13px;
    color: #b8c7ea;
    line-height: 1.65;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.foot-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(126, 164, 255, 0.45);
    color: #dbe6ff;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.foot-badge:hover {
    background: var(--ocn-blue);
    border-color: var(--ocn-blue);
    color: #fff;
}
.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(159, 192, 255, 0.2);
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #9bb1df;
}

/* Floating LINE Support Button */
.float-line,
.floating-line-btn {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 1040;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #34e85c, #05a332);
    border: 2.5px solid #fff;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(5, 163, 50, 0.4);
    animation: ocn-bob 1.8s ease-in-out infinite;
}
.floating-line-btn i { font-size: 22px; line-height: 1; margin-bottom: 1px; }
@keyframes ocn-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@media (max-width: 1023.98px) {
    .float-line,
    .floating-line-btn {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        width: 50px;
        height: 50px;
    }
}

/* Mobile Sticky Bottom Action Bar / Nav */
.mobile-actionbar,
.mobile-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: 100%;
    z-index: 45;
    display: flex;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid var(--ocn-line);
    box-shadow: 0 -6px 20px rgba(13, 63, 178, 0.14);
}
.mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) {
    .mobile-actionbar,
    .mobile-nav { display: none; }
}
.mab-btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 10px 6px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 4px 12px rgba(13, 63, 178, 0.12);
}
.mab-login {
    background: transparent;
    border: 1px solid var(--ocn-blue);
    color: var(--ocn-blue);
}
.mab-register {
    background: linear-gradient(180deg, var(--ocn-blue-bright), var(--ocn-blue-2));
    color: #fff;
    border: 1px solid var(--ocn-blue-2);
}
.mobile-nav a,
.mobile-nav button {
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ocn-muted);
    padding: 4px;
    border-radius: 10px;
    cursor: pointer;
}
.mobile-nav a.active,
.mobile-nav button.active {
    color: var(--ocn-blue);
    background: var(--ocn-soft-2);
    font-weight: 700;
}
.mobile-nav i { font-size: 17px; }

/* ============================================================================
   ONLINE LOTTERY BOARD & BETTING PAD
   ============================================================================ */
.lotto-stage {
    padding: 22px 0 36px;
    min-height: calc(100vh - 180px);
}
.lotto-board-shell {
    width: 100%;
    max-width: var(--ocn-container-max);
    margin: 0 auto;
    background: var(--ocn-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(13, 63, 178, 0.1);
    border: 1px solid var(--ocn-line);
}
.lotto-board-head {
    background: linear-gradient(135deg, var(--ocn-navy) 0%, #113494 55%, var(--ocn-blue) 100%);
    color: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 2px solid rgba(255, 210, 76, 0.55);
}
.lotto-board-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}
.lotto-board-title i { color: var(--ocn-gold); }
.lotto-board-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: rgba(219, 230, 255, 0.9);
}
.lotto-board-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-bottom: 1px solid var(--ocn-border);
}
.lotto-board-tab {
    padding: 13px 10px;
    text-align: center;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ocn-muted);
    border-bottom: 3px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.lotto-board-tab:hover { color: var(--ocn-blue); background: #f8fbff; }
.lotto-board-tab.active {
    color: var(--ocn-blue);
    border-bottom-color: var(--ocn-blue);
    background: #f5f9ff;
}
.tab-count {
    background: var(--ocn-soft);
    color: var(--ocn-blue-2);
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 999px;
}
.lotto-board-body {
    padding: 16px 18px 24px;
    background: #f8fbff;
}
.lotto-cat-group { margin-bottom: 20px; }
.lotto-cat-group:last-child { margin-bottom: 0; }
.lotto-cat-title {
    margin: 0 0 10px 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ocn-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.lotto-cat-title::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 4px;
    background: var(--ocn-blue);
}
.lotto-cat-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 12px;
}
.lotto-cat-list.is-slips-list {
    grid-template-columns: 1fr;
}
.lotto-game-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--ocn-border);
    border-left: 4px solid var(--ocn-blue);
    border-radius: 14px;
    padding: 13px 16px;
    box-shadow: 0 4px 12px rgba(13, 63, 178, 0.05);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.lotto-game-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(26, 92, 240, 0.14);
    border-color: var(--ocn-blue);
    background: #fcfdff;
}
.lotto-game-row.is-upcoming { border-left-color: #f59e0b; }
.lotto-game-row.is-closed { border-left-color: #94a3b8; opacity: 0.72; }
.lotto-row-left {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    flex: 1;
}
.lotto-row-info { min-width: 0; flex: 1; }
.lotto-row-title-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.lotto-row-title { font-size: 15.5px; font-weight: 700; color: var(--ocn-ink); line-height: 1.3; }
.lotto-country-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: #eef5ff;
    color: var(--ocn-blue);
    border: 1px solid rgba(26, 92, 240, 0.18);
    line-height: 1.5;
}
.lotto-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.lotto-row-date { font-size: 12px; color: var(--ocn-muted); }
.lotto-rate-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    padding: 1px 7px;
    border-radius: 6px;
}
.lotto-row-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.lotto-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.lotto-pill.pill-open { background: #dcfce7; color: #15803d; }
.lotto-pill.pill-upcoming { background: #fef3c7; color: #b45309; }
.lotto-pill.pill-closed { background: #f1f5f9; color: #64748b; }
.lotto-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
    animation: lottoPulse 1.8s infinite;
    flex-shrink: 0;
}
@keyframes lottoPulse {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
    70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.lotto-row-close { font-size: 11px; color: var(--ocn-muted); white-space: nowrap; }

/* ---- National Flag Badge System ---- */
.lotto-flag-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    overflow: hidden;
    background: #eef5ff;
    border: 1px solid rgba(13, 63, 178, 0.18);
    box-shadow: 0 4px 12px rgba(10, 29, 82, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lotto-flag-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(10, 29, 82, 0.1) 100%);
    pointer-events: none;
}
.lotto-game-row:hover .lotto-flag-box {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(26, 92, 240, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
.lotto-flag-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lotto-flag-xs { width: 24px; height: 17px; border-radius: 4px; box-shadow: 0 2px 5px rgba(10, 29, 82, 0.15); }
.lotto-flag-sm { width: 32px; height: 22px; border-radius: 6px; box-shadow: 0 2px 6px rgba(10, 29, 82, 0.16); }
.lotto-flag-md { width: 52px; height: 36px; border-radius: 9px; }
.lotto-flag-lg { width: 64px; height: 44px; border-radius: 11px; }
.lotto-flag-fallback {
    background: linear-gradient(135deg, #1a5cf0, #0d3fb2);
    color: var(--ocn-gold);
    font-size: 16px;
}
.lotto-flag-xs.lotto-flag-fallback { font-size: 10px; }
.lotto-flag-sm.lotto-flag-fallback { font-size: 12px; }

.bet-head-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.bet-head-flag {
    border: 2px solid rgba(255, 210, 76, 0.72);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.bet-head-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #dbe6ff;
    opacity: 0.95;
    margin-bottom: 2px;
}

@media (max-width: 560px) {
    .lotto-cat-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .lotto-game-row { padding: 11px 12px; gap: 10px; }
    .lotto-row-left { gap: 10px; }
    .lotto-flag-md { width: 44px; height: 30px; border-radius: 7px; }
    .lotto-flag-lg { width: 52px; height: 36px; border-radius: 9px; }
    .lotto-row-title { font-size: 14.5px; }
}

/* ---- Betting Pad Styles (/b/{token}) ---- */
.bet-rates-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    background: #ffffff;
    border-top: 1px solid var(--ocn-border);
}
.bet-rates-strip > div {
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid var(--ocn-border);
}
.bet-rates-strip > div:last-child { border-right: 0; }
.bet-rates-strip span { display: block; font-size: 11px; color: var(--ocn-muted); }
.bet-rates-strip strong { font-size: 15px; color: var(--ocn-blue); }

.strip-bet-card { padding: 18px; }
.strip-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.strip-mode-tab {
    position: relative;
    background: #f8fbff;
    border: 1.5px solid var(--ocn-border);
    border-radius: 12px;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ocn-ink);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.strip-mode-tab small { font-size: 11px; font-weight: 500; opacity: 0.85; }
.strip-mode-tab.active {
    background: linear-gradient(180deg, var(--ocn-blue-bright), var(--ocn-blue-2));
    border-color: var(--ocn-blue-2);
    color: #fff;
    box-shadow: 0 6px 16px rgba(26, 92, 240, 0.25);
}
.tab-strip-badge {
    display: inline-block;
    margin-left: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ocn-muted);
}
.strip-mode-tab.active .tab-strip-badge { color: var(--ocn-gold); }
.tab-strip-badge.has-items { color: var(--ocn-blue); font-weight: 800; }
.strip-mode-tab.active .tab-strip-badge.has-items {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    padding: 1px 7px;
    border-radius: 999px;
}

.strip-tools-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--ocn-soft-2);
    border: 1px solid var(--ocn-line);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
}
.strip-bulk-prices { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.strip-tools-lbl { font-size: 12px; font-weight: 600; color: var(--ocn-ink); }
.strip-mini-inp {
    width: 82px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid var(--ocn-line);
    font-size: 13px;
    text-align: center;
    color: var(--ocn-ink);
}
.strip-quick-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.strip-helpers-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

.strip-table-head,
.strip-row {
    display: grid;
    grid-template-columns: 32px minmax(92px, 1.1fr) minmax(78px, 1fr) minmax(78px, 1fr) 74px;
    gap: 8px;
    align-items: center;
}
.strip-table-head {
    background: var(--ocn-navy);
    color: #fff;
    padding: 9px 10px;
    border-radius: 12px 12px 0 0;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.strip-rows-wrap {
    border: 1px solid var(--ocn-border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}
.strip-row {
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #eef4ff;
}
.strip-row:nth-child(even) { background: #f8fbff; }
.strip-row:last-child { border-bottom: 0; }
.strip-row .row-idx { font-size: 12px; font-weight: 700; color: var(--ocn-muted); text-align: center; }
.strip-row input {
    width: 100%;
    padding: 9px 6px;
    border-radius: 10px;
    border: 1.5px solid var(--ocn-border);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    background: #fff;
    color: var(--ocn-ink);
}
.strip-row input.strip-num-inp {
    letter-spacing: 0.16em;
    color: var(--ocn-blue-2);
    border-color: rgba(26, 92, 240, 0.38);
    background: var(--ocn-soft-2);
}
.strip-row input:focus {
    outline: none;
    border-color: var(--ocn-blue);
    box-shadow: 0 0 0 3px rgba(26, 92, 240, 0.16);
}
.strip-row-actions { display: flex; gap: 4px; justify-content: center; }
.strip-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--ocn-border);
    background: #fff;
    color: var(--ocn-ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 12px;
}
.strip-icon-btn:hover { background: var(--ocn-soft); color: var(--ocn-blue); border-color: var(--ocn-blue); }

.strip-summary-box {
    margin-top: 16px;
    background: var(--ocn-soft-2);
    border: 1px solid var(--ocn-line);
    border-radius: 14px;
    padding: 16px;
}
.strip-sum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.strip-sum-grid small { display: block; font-size: 11px; color: var(--ocn-muted); }
.strip-sum-grid strong { font-size: 16px; color: var(--ocn-ink); }
.strip-submit-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

@media (max-width: 640px) {
    .bet-rates-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bet-rates-strip > div { border-bottom: 1px solid var(--ocn-border); }
    .bet-rates-strip > div:nth-child(3n) { border-right: 0; }
}
@media (max-width: 560px) {
    .strip-bet-card { padding: 12px; }
    .strip-table-head,
    .strip-row {
        grid-template-columns: 20px minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) 56px;
        gap: 5px;
        padding: 7px 6px;
    }
    .strip-row input { padding: 8px 4px; font-size: 15px; }
    .strip-icon-btn { width: 26px; height: 28px; }
    .strip-submit-row { grid-template-columns: 1fr; }
}

/* ============================================================================
   GENERIC CARDS, TABLES, FORMS, BADGES, MODALS, TOASTS
   ============================================================================ */
.card {
    background: var(--ocn-card);
    border-radius: var(--lp-radius);
    padding: 22px;
    box-shadow: 0 6px 18px rgba(13, 63, 178, 0.08);
    border: 1px solid var(--ocn-line);
    margin-bottom: 18px;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ocn-border);
    flex-wrap: wrap;
}
.card-header h2, .card-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--ocn-ink);
    display: flex;
    align-items: center;
    gap: 9px;
}
.card-header i { color: var(--ocn-blue); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }

.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ocn-ink);
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--ocn-line);
    font-size: 14.5px;
    background: #f8fbff;
    color: var(--ocn-ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-control:focus {
    outline: none;
    background: #fff;
    border-color: var(--ocn-blue);
    box-shadow: 0 0 0 3px rgba(26, 92, 240, 0.18);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: var(--ocn-soft); color: var(--ocn-blue-2); }
.badge-neutral { background: #f1f5f9; color: #475569; }

.alert {
    padding: 13px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

.table-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table.data-table th, table.data-table td {
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid var(--ocn-border);
    white-space: nowrap;
}
table.data-table th {
    background: var(--ocn-soft-2);
    font-size: 12px;
    font-weight: 600;
    color: var(--ocn-muted);
    text-transform: uppercase;
}

.bank-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--ocn-border);
    background: #f8fbff;
    margin-bottom: 10px;
}
.bank-dot {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.bank-logo-box {
    border-radius: 12px;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(13, 63, 178, 0.14);
    overflow: hidden;
}
.bank-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Native <dialog> Modal styled after Ocean .lb-modal (v3) */
dialog.lp-dialog {
    padding: 0;
    border: 1px solid rgba(26, 92, 240, 0.35);
    border-radius: 22px;
    max-width: 460px;
    width: calc(100% - 28px);
    box-shadow: 0 24px 60px rgba(8, 21, 56, 0.45);
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    color: var(--ocn-ink);
    overflow: hidden;
}
dialog.lp-dialog[open] {
    display: flex;
    flex-direction: column;
    max-height: 88dvh;
}
dialog.lp-dialog:modal { overscroll-behavior: contain; }
dialog.lp-dialog::backdrop {
    background: rgba(8, 21, 56, 0.74);
    overflow: hidden;
    overscroll-behavior: contain;
}
.dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--ocn-navy) 0%, var(--ocn-blue) 100%);
    color: #fff;
    border-bottom: 2px solid var(--ocn-gold);
}
.dialog-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dialog-head h2 i { color: var(--ocn-gold); }
.dialog-close {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, background 0.15s ease;
}
.dialog-close:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: rotate(90deg);
}
.dialog-body { padding: 18px 20px; overflow-y: auto; }
.dialog-foot {
    padding: 14px 20px;
    border-top: 1px solid var(--ocn-border);
    background: #f5f9ff;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    background: var(--ocn-navy);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 12px 28px rgba(8, 21, 56, 0.3);
    display: flex;
    align-items: center;
    gap: 9px;
    border-left: 4px solid var(--ocn-blue-bright);
    border: 1px solid rgba(126, 164, 255, 0.3);
    border-left-width: 4px;
}

/* ============================================================================
   AUTH PAGES (Ocean Theme matching uxui_v1 .lb-modal & admin/login)
   ============================================================================ */
.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background: radial-gradient(circle at top right, #1848bd 0%, var(--ocn-navy) 60%, #061033 100%);
}
.auth-shell {
    width: 100%;
    max-width: 940px;
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    border: 1px solid rgba(159, 192, 255, 0.35);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
@media (min-width: 780px) {
    .auth-shell { grid-template-columns: 0.92fr 1.08fr; }
}
.auth-banner {
    background: linear-gradient(155deg, var(--ocn-blue) 0%, var(--ocn-navy) 65%, #061033 100%);
    color: #fff;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(159, 192, 255, 0.22);
}
.auth-form-pane {
    padding: 32px 28px;
}
.auth-features { list-style: none; padding: 0; margin: 22px 0 0; }
.auth-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #dbe6ff;
}
.auth-features i { color: var(--ocn-gold); }

/* Ocean Switch Pill (matching uxui_v1 .lb-switch) */
.lb-switch {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    background: rgba(26, 92, 240, 0.08);
    border: 1px solid rgba(26, 92, 240, 0.25);
    border-radius: 999px;
}
.lb-tab {
    flex: 1 1 0;
    text-align: center;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    padding: 9px 12px;
    color: var(--ocn-muted);
    transition: background 0.2s ease, color 0.2s ease;
}
.lb-tab:hover { color: var(--ocn-ink); }
.lb-tab.active {
    color: #fff;
    background: linear-gradient(180deg, var(--ocn-blue-bright) 0%, var(--ocn-blue-2) 100%);
    box-shadow: 0 4px 14px rgba(26, 92, 240, 0.35);
}

/* ============================================================================
   MEMBER DASHBOARD (Ocean Theme)
   ============================================================================ */
.member-profile-card {
    background: linear-gradient(135deg, var(--ocn-navy) 0%, #113494 55%, var(--ocn-blue) 100%);
    color: #fff;
    border: 1px solid rgba(159, 192, 255, 0.32);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(13, 63, 178, 0.28);
    margin-bottom: 20px;
}
.member-profile-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}
.member-profile-info { flex: 1 1 260px; min-width: 0; }
.member-profile-balance-box { text-align: right; flex: 0 0 auto; }
.member-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(159, 192, 255, 0.25);
}
.btn-quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 0;
}
.btn-quick-deposit {
    background: linear-gradient(180deg, #ffe27a 0%, #ffd24c 55%, #e29d00 100%);
    color: var(--ocn-navy-2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.btn-quick-deposit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-quick-withdraw {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(159, 192, 255, 0.45);
}
.btn-quick-withdraw:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-1px); }
.btn-quick-logout {
    background: rgba(8, 21, 56, 0.45);
    color: #dbe6ff;
    border: 1px solid rgba(159, 192, 255, 0.25);
}
.btn-quick-logout:hover { background: rgba(8, 21, 56, 0.72); color: #ffffff; }

.member-bet-banner-wrap {
    margin: 16px 0 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}
.btn-bet-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    padding: 13px 26px;
    background: radial-gradient(circle at 50% 25%, var(--ocn-blue-bright) 0%, var(--ocn-blue) 45%, var(--ocn-navy) 95%);
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    border-radius: 9999px;
    border: 3px solid var(--ocn-gold);
    box-shadow: 0 8px 24px rgba(13, 63, 178, 0.35), 0 0 16px rgba(255, 210, 76, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.45);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
    position: relative;
    overflow: hidden;
    transition: all 0.22s ease;
}
.btn-bet-banner:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 12px 28px rgba(26, 92, 240, 0.45), 0 0 22px rgba(255, 210, 76, 0.5);
}
.btn-bet-banner i { font-size: 22px; color: var(--ocn-gold); }

.member-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.member-tab {
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ocn-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--ocn-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}
.member-tab:hover { border-color: var(--ocn-blue); color: var(--ocn-ink); }
.member-tab.active {
    background: linear-gradient(180deg, var(--ocn-blue-bright), var(--ocn-blue-2));
    color: #fff;
    border-color: var(--ocn-blue-2);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(26, 92, 240, 0.26);
}

/* Official Bank Picker */
.bank-selected-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--ocn-soft-2);
    border: 1px solid var(--ocn-line);
    margin-bottom: 10px;
}
.bank-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 8px;
    max-height: 210px;
    overflow-y: auto;
    padding: 4px 2px;
}
.bank-pick-btn {
    background: #fff;
    border: 1.5px solid var(--ocn-border);
    border-radius: 12px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: border-color 0.14s ease, background 0.14s ease, transform 0.12s ease;
}
.bank-pick-btn:hover { border-color: var(--ocn-blue); background: var(--ocn-soft-2); }
.bank-pick-btn.selected {
    border-color: var(--ocn-blue);
    background: var(--ocn-soft);
    box-shadow: 0 4px 12px rgba(26, 92, 240, 0.18);
}
.bank-pick-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--ocn-ink);
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 6-Digit PIN Field */
.pin-input-wrap { position: relative; display: flex; align-items: center; }
.pin-field {
    letter-spacing: 0.36em;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding-right: 42px;
}
.pin-eye {
    position: absolute;
    right: 8px;
    background: transparent;
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--ocn-muted);
    cursor: pointer;
    display: grid;
    place-items: center;
}
.pin-eye:hover { color: var(--ocn-blue); }

/* ============================================================================
   PAYMENT GATEWAY DEPOSIT UI (.dep-*) — Ocean Blue Harmonized
   ============================================================================ */
.dep-shell { max-width: 820px; margin: 0 auto; }
.dep-empty-card { text-align: center; padding: 44px 24px; }
.dep-empty-icon {
    width: 64px; height: 64px; margin: 0 auto 14px;
    border-radius: 18px; background: var(--ocn-soft); color: var(--ocn-blue);
    display: grid; place-items: center; font-size: 28px;
}
.dep-empty-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--ocn-ink); }
.dep-empty-card p { margin: 0 0 18px; font-size: 14px; color: var(--ocn-muted); }

.dep-gw-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.dep-gw-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: #fff;
    border: 2px solid var(--ocn-border);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.dep-gw-tab:hover { border-color: var(--ocn-blue); }
.dep-gw-tab.active {
    border-color: var(--ocn-blue);
    background: var(--ocn-soft-2);
    box-shadow: 0 8px 20px rgba(26, 92, 240, 0.14);
}
.dep-gw-tab strong { display: block; font-size: 14px; color: var(--ocn-ink); }
.dep-gw-tab small { display: block; font-size: 12px; color: var(--ocn-muted); }
.dep-gw-tab-icon {
    width: 42px; height: 42px; border-radius: 12px; color: #fff;
    display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
}
.dep-gw-tab-icon.is-celox { background: linear-gradient(135deg, #1a5cf0, #0a1d52); }
.dep-gw-tab-icon.is-one2p { background: linear-gradient(135deg, #0284c7, #1d4ed8); }

.dep-panel { display: none; }
.dep-panel.is-active { display: block; animation: ocn-fade-enter 0.22s ease; }

.dep-card { padding: 0; overflow: hidden; border-radius: 20px; }
.dep-hero {
    padding: 22px 24px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.dep-hero.is-celox { background: linear-gradient(135deg, var(--ocn-navy) 0%, #10328c 55%, var(--ocn-blue) 100%); }
.dep-hero.is-one2p { background: linear-gradient(135deg, #075985 0%, #0284c7 55%, #1d4ed8 100%); }
.dep-hero-main { display: flex; align-items: center; gap: 14px; }
.dep-hero-icon {
    width: 50px; height: 50px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 210, 76, 0.5);
    display: grid; place-items: center; font-size: 22px; color: var(--ocn-gold); flex-shrink: 0;
}
.dep-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; opacity: 0.9; color: #9fc0ff; }
.dep-hero-title { margin: 2px 0 3px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.dep-hero-sub { margin: 0; font-size: 13px; opacity: 0.92; }
.dep-live-pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
    background: rgba(8, 21, 56, 0.45); border: 1px solid rgba(159, 192, 255, 0.35);
    font-size: 12px; font-weight: 600; white-space: nowrap;
}
.dep-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

.dep-steps {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 14px 24px; background: #f8fbff; border-bottom: 1px solid var(--ocn-border);
}
.dep-step {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px;
    font-weight: 500; color: var(--ocn-muted); white-space: nowrap;
}
.dep-step-num {
    width: 24px; height: 24px; border-radius: 50%; background: #dbe7ff; color: var(--ocn-ink);
    font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0;
}
.dep-step.is-current { color: var(--ocn-ink); font-weight: 700; }
.dep-step.is-current .dep-step-num { background: var(--ocn-blue); color: #fff; }
.dep-step.is-done { color: #15803d; font-weight: 600; }
.dep-step.is-done .dep-step-num { background: #16a34a; color: #fff; }
.dep-step-line { flex: 1; height: 2px; background: var(--ocn-border); min-width: 14px; }

.dep-card > .alert { margin: 18px 24px 0; }
.dep-source-box {
    margin: 18px 24px 0; padding: 14px 16px; border-radius: 14px;
    background: #f8fbff; border: 1px solid var(--ocn-border);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.dep-source-left { display: flex; align-items: center; gap: 12px; }
.dep-source-lbl { font-size: 11px; color: var(--ocn-muted); }
.dep-source-val { font-size: 14px; color: var(--ocn-ink); }
.dep-source-name { font-size: 12px; color: var(--ocn-muted); }

.dep-pending-card {
    margin: 18px 24px 0; padding: 18px; border-radius: 16px;
    background: #fff; border: 2px solid rgba(26, 92, 240, 0.3);
    box-shadow: 0 8px 24px rgba(13, 63, 178, 0.08);
}
.dep-pending-top {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--ocn-border);
}
.dep-pending-lbl { font-size: 12px; color: var(--ocn-muted); margin-right: 6px; }
.dep-pending-code { font-size: 15px; color: var(--ocn-blue); }

.dep-amount-highlight {
    margin: 14px 0; padding: 14px 16px; border-radius: 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.dep-amount-hl-lbl { font-size: 12px; color: #166534; font-weight: 600; }
.dep-amount-hl-val { font-size: 26px; font-weight: 800; color: #15803d; line-height: 1.15; }
.dep-amount-hl-val small { font-size: 14px; font-weight: 600; }

.dep-dest-card {
    background: #f8fbff; border: 1px solid var(--ocn-border); border-radius: 14px;
    padding: 14px 16px; margin-bottom: 14px;
}
.dep-dest-head {
    font-size: 13px; font-weight: 700; color: var(--ocn-ink); margin-bottom: 10px;
    display: flex; align-items: center; gap: 7px;
}
.dep-dest-bank-row { display: flex; align-items: center; gap: 12px; }
.dep-dest-acc-box {
    margin-top: 12px; padding: 12px 14px; background: #fff;
    border: 1.5px dashed var(--ocn-blue); border-radius: 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.dep-dest-acc-num { font-size: 22px; font-weight: 800; color: var(--ocn-blue); letter-spacing: 0.04em; }
.dep-matching-box {
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px;
    background: var(--ocn-soft-2); border: 1px dashed var(--ocn-blue);
    font-size: 13px; color: var(--ocn-ink); margin-bottom: 14px;
}

.dep-iframe-wrap { margin: 14px 0; }
.dep-iframe-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; font-weight: 600;
}
.dep-iframe-box {
    width: 100%; height: 520px; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--ocn-border); background: #fff;
}
.dep-iframe-box iframe { width: 100%; height: 100%; border: 0; }

.dep-slip-box {
    margin-top: 14px; padding: 14px; border-radius: 12px;
    background: var(--ocn-soft-2); border: 1px solid var(--ocn-line);
}
.dep-slip-title {
    font-size: 13px; font-weight: 600; color: var(--ocn-ink); margin-bottom: 8px;
    display: flex; align-items: center; gap: 7px;
}
.dep-slip-row { display: flex; gap: 8px; align-items: center; }
.dep-slip-row .form-control { padding: 7px 10px; font-size: 13px; }
.dep-pending-actions {
    display: flex; gap: 10px; margin-top: 14px; padding-top: 14px;
    border-top: 1px solid var(--ocn-border); flex-wrap: wrap;
}

.dep-create-form { padding: 20px 24px 22px; }
.dep-form-title {
    font-size: 15px; font-weight: 700; color: var(--ocn-ink); margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.dep-quick-grid {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px;
}
.dep-quick-chip {
    padding: 10px 6px; border-radius: 12px; border: 1.5px solid var(--ocn-border);
    background: #fff; font-size: 14px; font-weight: 700; color: var(--ocn-ink);
    cursor: pointer; transition: all 0.15s ease;
}
.dep-quick-chip:hover { border-color: var(--ocn-blue); color: var(--ocn-blue); background: var(--ocn-soft-2); }
.dep-quick-chip.active {
    border-color: var(--ocn-blue); background: var(--ocn-soft); color: var(--ocn-blue-2);
    box-shadow: 0 4px 12px rgba(26, 92, 240, 0.18);
}

.dep-amount-input-wrap { position: relative; display: flex; align-items: center; }
.dep-currency-prefix {
    position: absolute; left: 16px; font-size: 22px; font-weight: 700;
    color: var(--ocn-blue); pointer-events: none;
}
.dep-amount-input {
    padding: 13px 64px 13px 40px; font-size: 24px; font-weight: 700;
    color: var(--ocn-ink); border: 2px solid var(--ocn-line); border-radius: 14px;
}
.dep-currency-suffix {
    position: absolute; right: 16px; font-size: 14px; font-weight: 600;
    color: var(--ocn-muted); pointer-events: none;
}
.dep-submit-btn { margin-top: 4px; padding: 14px 20px; font-size: 16px; border-radius: 999px; }
.dep-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.dep-trust-row {
    background: #f8fbff; border-top: 1px solid var(--ocn-border); padding: 13px 24px;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
    font-size: 12.5px; color: var(--ocn-muted);
}
.dep-trust-row > div { display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; }
.dep-trust-row i { color: #16a34a; }

/* Ticket Cards (order.php) */
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.ticket-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--ocn-border); box-shadow: var(--lp-shadow);
    display: flex; flex-direction: column;
}
.ticket-face {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #fffbeb 100%);
    padding: 16px; border-bottom: 2px dashed var(--ocn-line);
}
.ticket-top-meta {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; color: var(--ocn-muted); margin-bottom: 10px;
}
.ticket-set-badge {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
    border-radius: 999px; font-size: 11px; font-weight: 700;
    background: var(--ocn-blue); color: #fff;
}
.ticket-number-strip {
    background: #fff; border: 2px solid var(--ocn-blue); border-radius: 12px;
    padding: 10px 12px; text-align: center; letter-spacing: 0.22em;
    font-size: 28px; font-weight: 700; color: var(--ocn-ink);
}
.ticket-footer {
    padding: 12px 16px; display: flex; align-items: center;
    justify-content: space-between; gap: 10px; margin-top: auto;
}

/* ============================================================================
   GAMES HUB & SUNSUPERAPI LOBBY
   ============================================================================ */
.games-hub-wrap { padding-top: 22px; padding-bottom: 40px; display: grid; gap: 18px; min-width: 0; max-width: 100%; }
.games-hub-wrap > *,
.games-wallet-card,
.games-platform-box,
.games-toolbar-card { min-width: 0; max-width: 100%; }
.games-hero-banner {
    background: linear-gradient(135deg, var(--ocn-navy) 0%, #102d7a 58%, #1a5cf0 100%);
    border-radius: 20px; padding: 24px 26px; color: #fff;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: center;
    box-shadow: 0 14px 32px rgba(10, 29, 82, 0.22);
    border: 1px solid rgba(255, 210, 76, 0.28);
    min-width: 0;
}
.games-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
    border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
    background: rgba(255, 210, 76, 0.16); color: var(--ocn-gold); margin-bottom: 8px;
}
.games-hero-title { margin: 0 0 6px; font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; line-height: 1.25; }
.games-hero-sub { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.85); }

.games-wallet-card {
    background: #081538; border: 1px solid rgba(159, 192, 255, 0.3);
    border-radius: 16px; padding: 16px 18px; display: grid; gap: 12px; min-width: 0;
}
.games-wallets-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.games-wallet-tile {
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(159, 192, 255, 0.22);
    border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; min-width: 0;
}
.games-wallet-tile.is-game {
    background: rgba(26, 92, 240, 0.18); border-color: rgba(255, 210, 76, 0.35);
}
.games-wallet-tile-head {
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.games-wallet-tile-head small { font-size: 11.5px; color: #b6d0ff; font-weight: 500; white-space: nowrap; }
.games-wallet-tile strong {
    font-size: clamp(16px, 2vw, 20px); font-weight: 800; color: var(--ocn-gold); line-height: 1.2;
    word-break: break-word;
}
.games-wallet-tile.is-game strong { color: #fde047; }
.games-wallet-tile strong span { font-size: 11.5px; font-weight: 600; color: #dbeafe; }
.games-player-pill {
    font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
    background: rgba(255, 210, 76, 0.18); color: var(--ocn-gold);
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.btn-xs { padding: 3px 8px; font-size: 11px; border-radius: 8px; }
.games-wallet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.games-wallet-row small { display: block; font-size: 12px; color: #b6d0ff; }
.games-wallet-row strong { font-size: 24px; font-weight: 800; color: var(--ocn-gold); line-height: 1.15; }
.games-wallet-row strong span { font-size: 13px; font-weight: 500; color: #fff; }
.games-wallet-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.games-wallet-actions .btn { justify-content: center; width: 100%; min-width: 0; }
.games-platform-box {
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(159, 192, 255, 0.2);
    border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px;
}
.games-quick-amts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: #b6d0ff; }
.games-amt-chip {
    border: 1px solid rgba(159, 192, 255, 0.32); background: rgba(26, 92, 240, 0.25);
    color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 11.5px; font-weight: 600;
    cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
}
.games-amt-chip:hover { background: var(--ocn-gold); color: var(--ocn-navy-2); border-color: var(--ocn-gold); }
.games-transfer-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.games-transfer-form .form-control { min-width: 0; padding: 7px 10px; font-size: 13px; background: #fff; color: var(--ocn-ink); }
.games-transfer-btns { display: flex; gap: 6px; flex-wrap: nowrap; }
.games-guest-cta { display: grid; gap: 10px; }
.games-guest-cta small { display: block; color: #b6d0ff; font-size: 12px; }
.games-guest-cta strong { font-size: 17px; color: #fff; }

.games-toolbar-card {
    background: #fff; border: 1px solid var(--ocn-border); border-radius: 16px;
    padding: 16px 18px; box-shadow: var(--lp-shadow); display: grid; gap: 14px;
}
.games-cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.games-cat-tab {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
    border-radius: 999px; font-size: 13.5px; font-weight: 600; white-space: nowrap;
    background: var(--ocn-soft-2); color: var(--ocn-ink); border: 1px solid var(--ocn-border);
    transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.games-cat-tab:hover { border-color: var(--ocn-blue); color: var(--ocn-blue); }
.games-cat-tab.active {
    background: linear-gradient(180deg, var(--ocn-blue-bright), var(--ocn-blue-2));
    color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(26, 92, 240, 0.25);
}
.games-cat-badge {
    font-size: 11px; padding: 1px 7px; border-radius: 999px;
    background: rgba(19, 36, 107, 0.1); color: inherit;
}
.games-cat-tab.active .games-cat-badge { background: rgba(255, 255, 255, 0.22); color: #fff; }

.games-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; }
.games-search-input-wrap { position: relative; display: flex; align-items: center; min-width: 0; }
.games-search-input-wrap > i { position: absolute; left: 13px; color: var(--ocn-muted); pointer-events: none; }
.games-search-input-wrap .form-control { width: 100%; padding-left: 36px; padding-right: 34px; border-radius: 999px; }
.games-search-clear { position: absolute; right: 12px; color: var(--ocn-muted); }

.games-section-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    flex-wrap: wrap; margin-bottom: 12px;
}
.games-section-head h2 {
    margin: 0; font-size: 17px; font-weight: 700; color: var(--ocn-ink);
    display: flex; align-items: center; gap: 8px;
}
.games-count-pill {
    font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px;
    background: var(--ocn-soft); color: var(--ocn-blue-2);
}
.games-page-indicator { font-size: 13px; color: var(--ocn-muted); font-weight: 600; }

.games-provider-strip {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.games-provider-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 8px;
    border-radius: 12px; background: #fff; border: 1.5px solid var(--ocn-border);
    font-size: 13px; font-weight: 600; color: var(--ocn-ink); white-space: nowrap; flex-shrink: 0;
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.games-provider-chip:hover { border-color: var(--ocn-blue); transform: translateY(-1px); }
.games-provider-chip.active {
    border-color: var(--ocn-blue); background: var(--ocn-soft); color: var(--ocn-blue-2);
    box-shadow: 0 4px 12px rgba(26, 92, 240, 0.16);
}
.games-provider-chip img,
.games-provider-logo-fallback {
    width: 28px; height: 28px; border-radius: 8px; object-fit: contain;
    background: var(--ocn-soft-2); display: grid; place-items: center; color: var(--ocn-blue);
}

.games-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px;
    align-items: stretch;
}
.game-card {
    height: 100%; background: #fff; border-radius: 16px; border: 1px solid var(--ocn-border);
    overflow: hidden; box-shadow: var(--lp-shadow); display: flex; flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.game-card:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow-red); }
.game-card-media {
    position: relative; width: 100%; aspect-ratio: 1 / 1; flex-shrink: 0;
    background: linear-gradient(135deg, #0a1d52, #1a5cf0); overflow: hidden;
}
.game-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.game-card-placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; color: #fff; font-weight: 700; font-size: 13px;
}
.game-card-placeholder i { font-size: 32px; color: var(--ocn-gold); }
.game-card-badges {
    position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; max-width: calc(100% - 46px);
}
.game-badge-prov {
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px;
    background: #081538; color: #fff; border: 1px solid rgba(159, 192, 255, 0.3);
}
.game-badge-hot {
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px;
    background: linear-gradient(135deg, #f97316, #dc2626); color: #fff;
}
.game-badge-rtp {
    position: absolute; bottom: 8px; left: 8px; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 6px; background: #15803d; color: #fff;
}
.game-fav-btn {
    position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25); background: #081538; color: #fff; cursor: pointer;
    display: grid; place-items: center; font-size: 14px; transition: transform 0.15s ease;
}
.game-fav-btn:hover { transform: scale(1.1); }
.game-fav-btn.is-fav { background: #dc2626; border-color: #dc2626; color: #fff; }

.game-card-hover {
    position: absolute; inset: 0; background: rgba(8, 21, 56, 0.72);
    display: flex; align-items: center; justify-content: center; padding: 12px;
    opacity: 0; transition: opacity 0.18s ease;
}
.game-card:hover .game-card-hover { opacity: 1; }

.game-card-body {
    padding: 11px 12px 12px; flex: 1 1 auto; display: flex; flex-direction: column;
    justify-content: space-between; gap: 6px; min-width: 0;
}
.game-card-title {
    margin: 0; font-size: 14px; font-weight: 700; color: var(--ocn-ink); line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-card-meta {
    display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--ocn-muted);
    min-width: 0;
}
.game-card-meta > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.game-mobile-launch { display: none; margin-top: 6px; }

.games-empty-box {
    background: #fff; border: 1px dashed var(--ocn-line); border-radius: 18px;
    padding: 38px 20px; text-align: center; color: var(--ocn-muted);
}
.games-empty-icon { font-size: 40px; color: var(--ocn-blue); margin-bottom: 10px; }
.games-empty-box h3 { margin: 0 0 6px; font-size: 18px; color: var(--ocn-ink); }
.games-empty-box p { margin: 0 0 16px; font-size: 13.5px; }
.games-empty-cats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.games-empty-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
    border-radius: 999px; background: var(--ocn-soft-2); color: var(--ocn-ink); font-size: 12.5px; font-weight: 600;
}
.games-pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 18px; }

/* Quick Games Strip inside Member Home & Guest Landing */
.home-games-strip {
    background: linear-gradient(135deg, #0a1d52 0%, #143694 100%);
    border-radius: 18px; padding: 16px 18px; margin-bottom: 16px; color: #fff;
    border: 1px solid rgba(255, 210, 76, 0.28);
}
.home-games-strip-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    flex-wrap: wrap; margin-bottom: 12px;
}
.home-games-strip-head strong { font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.home-games-cats-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px;
}
.home-game-cat-btn {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff; font-size: 13px; font-weight: 600; transition: all 0.15s ease; min-width: 0;
}
.home-game-cat-btn:hover { background: rgba(255, 210, 76, 0.2); border-color: var(--ocn-gold); color: var(--ocn-gold); }
.home-game-cat-btn i { color: var(--ocn-gold); flex-shrink: 0; }

/* ============================================================================
   RESPONSIVE SAFEGUARDS — MOBILE HOTFIX (<= 1023.98px / <= 767.98px / <= 640px / <= 380px)
   ============================================================================ */
@media (hover: none), (max-width: 1023.98px) {
    .game-card-hover { display: none; }
    .game-mobile-launch { display: block; }
}
@media (max-width: 991.98px) {
    .ocn-hero-slide {
        padding: 24px 44px 38px;
        gap: 18px;
    }
    .ocn-slide-perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 960px) {
    .games-hero-banner { grid-template-columns: 1fr; padding: 20px 18px; }
    .games-grid { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
}
@media (max-width: 767.98px) {
    .form-control { font-size: 16px; }
    .ocn-hero-slide {
        grid-template-columns: 1fr;
        padding: 18px 16px 48px;
        gap: 14px;
    }
    .ocn-carousel-arrow {
        top: auto;
        bottom: 8px;
        transform: none;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .ocn-carousel-arrow:hover { transform: scale(1.06); }
    .ocn-carousel-arrow.prev { left: 14px; }
    .ocn-carousel-arrow.next { right: 14px; }
    .ocn-carousel-dots { bottom: 19px; }
    .cat-pill-card { min-height: 54px; padding: 6px 10px 6px 6px; gap: 8px; }
    .cat-pill-icon { width: 38px; height: 38px; font-size: 17px; }
    .cat-pill-label { font-size: 14px; }
    .cat-pill-label.is-compact { font-size: 11.5px; }
    .ocn-article-card { padding: 16px; }

    .games-hero-banner { padding: 18px 14px; gap: 14px; border-radius: 16px; }
    .games-wallet-card { padding: 14px 12px; gap: 10px; }
    .games-wallet-tile-head { flex-wrap: wrap; gap: 4px; }
    .games-player-pill {
        max-width: 100%;
        overflow-wrap: anywhere;
        white-space: normal;
        line-height: 1.25;
    }
    .games-wallet-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .games-wallet-actions .btn {
        min-width: 0;
        padding: 9px 10px;
        font-size: 12.5px;
        white-space: normal;
        line-height: 1.25;
        text-align: center;
    }
    .games-provider-strip {
        flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; -ms-overflow-style: none;
    }
    .games-provider-strip::-webkit-scrollbar { display: none; }
    .games-transfer-form { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .games-transfer-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .games-transfer-btns .btn {
        justify-content: center; width: 100%; min-width: 0;
        padding: 9px 10px; font-size: 12.5px;
        white-space: normal; line-height: 1.25;
    }
    .games-search-form { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .games-search-form .btn { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 640px) {
    .container, .page-wrapper, .guest-stack { padding-left: 12px; padding-right: 12px; }
    .wallet-chip { padding: 5px 10px; font-size: 12px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
    .guest-promo-pair { grid-template-columns: 1fr; }
    .lao-top-grid { grid-template-columns: 1fr; }
    .lao-btn-row { grid-template-columns: 1fr; }
    .gov-big-gold { font-size: clamp(24px, 7.5vw, 34px); letter-spacing: 0.06em; }
    .gov-big-gold-2 { font-size: clamp(28px, 8vw, 38px); }
    .lao-num-4 { font-size: clamp(26px, 7.5vw, 34px); }
    .lao-dev-nums { font-size: clamp(15px, 4.2vw, 20px); }
    .guest-services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .svc-tile { width: 42px; height: 42px; font-size: 17px; }
    .member-profile-card { padding: 18px 14px; border-radius: 16px; }
    .member-profile-head { flex-direction: column; align-items: stretch; gap: 12px; }
    .member-profile-balance-box {
        text-align: left; background: rgba(8, 21, 56, 0.35);
        padding: 10px 14px; border-radius: 12px;
        display: flex; align-items: center; justify-content: space-between;
    }
    .member-quick-actions { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; padding-top: 14px; }
    .btn-quick-logout { grid-column: span 2; }
    .member-bet-banner-wrap .btn-bet-banner { max-width: 100%; width: 100%; font-size: 16px; padding: 12px 18px; }
    .member-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; }
    .member-tab { white-space: nowrap; flex-shrink: 0; padding: 9px 13px; font-size: 13px; }
    .bank-picker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lotto-board-head { padding: 14px 16px; }
    .lotto-board-body { padding: 12px 12px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .auth-banner { padding: 22px 18px; }
    .auth-features { display: none; }
    .auth-form-pane { padding: 22px 16px; }
    .card { padding: 16px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .dep-gw-switcher { grid-template-columns: 1fr; }
    .dep-hero { padding: 18px 16px; }
    .dep-hero-title { font-size: 17px; }
    .dep-steps { padding: 12px 14px; }
    .dep-step { font-size: 11px; gap: 5px; }
    .dep-card > .alert,
    .dep-source-box,
    .dep-pending-card { margin: 14px 14px 0; }
    .dep-create-form { padding: 16px 14px 18px; }
    .dep-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dep-slip-row { flex-direction: column; align-items: stretch; }
    .dep-trust-row { grid-template-columns: 1fr; padding: 12px 14px; gap: 6px; }
    .dep-trust-row > div { justify-content: flex-start; }
    .dep-dest-acc-num { font-size: 18px; }

    .games-hub-wrap { padding-top: 14px; padding-bottom: 32px; gap: 14px; }
    .games-wallets-grid { grid-template-columns: 1fr; gap: 8px; }
    .games-wallet-tile strong { font-size: 18px; overflow-wrap: anywhere; }
    .games-cat-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .games-cat-tabs::-webkit-scrollbar { display: none; }
    .games-cat-tab { flex-shrink: 0; padding: 7px 12px; font-size: 12.5px; }
    .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .game-card-body { padding: 9px 10px 10px; gap: 5px; }
    .game-card-title { font-size: 13px; }
    .game-card-meta { font-size: 11px; flex-wrap: wrap; }
    .game-mobile-launch { display: block; margin-top: 4px; }
    .game-mobile-launch .btn { width: 100%; min-width: 0; padding: 7px 8px; font-size: 12px; }
    .home-games-cats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .home-game-cat-btn { min-width: 0; padding: 8px 10px; font-size: 12px; }
}
@media (max-width: 380px) {
    .container, .page-wrapper, .guest-stack { padding-left: 10px; padding-right: 10px; }
    .bank-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .header-actions .btn-sm { padding: 6px 9px; font-size: 11.5px; }
    .guest-services-grid { gap: 6px; }
    .svc-item { padding: 10px 4px; font-size: 11px; }
    .games-wallet-actions,
    .games-transfer-btns { grid-template-columns: 1fr; gap: 6px; }
    .games-search-form { grid-template-columns: minmax(0, 1fr); }
    .games-search-form .btn { width: 100%; }
}
@media (max-width: 359px) {
    .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .game-card-body { padding: 8px 8px 9px; }
    .game-card-title { font-size: 12px; }
}