﻿:root {
    --bg: #edf1f5;
    --bg-soft: #fafafa;
    --card: #ffffff;
    --card-2: #f8fafc;
    --line: #e5e7eb;
    --line-strong: #d1d5db;
    --text: #111827;
    --text-2: #374151;
    --muted: #6b7280;
    --muted-2: #9ca3af;
    --brand: #4b88ff;
    --brand-dark: #3568cf;
    --brand-soft: #eaf2ff;
    --brand-soft-2: #bfd3fb;
    --success: #10b981;
    --danger: #ef4444;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --shadow-sm: 0 2px 8px rgba(17, 24, 39, .06);
    --shadow-md: 0 6px 20px rgba(17, 24, 39, .08);
    --radius: 4px;
    --c1: #60a5fa;
    --c2: #34d399;
    --c3: #7c9dff;
    --c4: #f472b6;
    --c5: #a78bfa;
    --c6: #fb7185;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: #edf1f5;
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    padding-top: 62px;
    padding-bottom: env(safe-area-inset-bottom);
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.app-shell {
    min-height: 100vh;
}

.site-app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    width: 100%;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(229, 231, 235, .88);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-app-header-inner {
    max-width: 730px;
    min-height: 62px;
    margin: 0 auto;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-app-logo {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.site-app-logo-box {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e53935;
}

.site-app-logo-box img {
    width: 100%;
    height: 100%;
    display: block;
}

.site-app-logo-text {
    min-width: 0;
    display: block;
}

.site-app-logo-text strong,
.site-app-logo-text small {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.site-app-logo-text strong {
    color: var(--text);
    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
}

.site-app-logo-text small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.2;
}

.site-app-home-link {
    flex: 0 0 auto;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: var(--radius);
    border: 1px solid #d5e4ff;
    background: #eef5ff;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.site-app-home-link:hover {
    background: #dbeafe;
}

.wrap {
    max-width: 730px;
    margin: 0 auto;
    padding: 12px 12px 18px;
}

.hero {
    background: linear-gradient(135deg, #3d6fd6 0%, #6e9fff 100%);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.16), transparent 42%), linear-gradient(225deg, rgba(255,255,255,.08), transparent 36%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    padding: 16px;
}

.topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hero-home-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-start;
}

.hero-home-link:hover {
    color: #fff;
}

.brand-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.brand-badge {
    width: 46px;
    height: 46px;
    border-radius: 4px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.26);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex: 0 0 auto;
    letter-spacing: .04em;
}

.brand-text {
    min-width: 0;
}

.brand-text h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
}

.sub {
    margin-top: 8px;
    color: rgba(255,255,255,.92);
    font-size: 13px;
    line-height: 1.55;
    max-width: 760px;
}

.ghost {
    flex: 0 0 auto;
    min-height: 42px;
    border-radius: 4px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.32);
    background: rgba(255,255,255,.16);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .18s ease, transform .18s ease;
}

.ghost:hover {
    background: rgba(255,255,255,.24);
    transform: translateY(-1px);
}

.ghost svg {
    width: 16px;
    height: 16px;
}

.form-lite {
    margin-top: 0;
}

.form {
    display: block;
}

.form .row {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 10px;
}

.field {
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.92);
    font-weight: 600;
    padding: 0 2px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

select,
.picker-trigger {
    width: 100%;
    height: 44px;
    margin-top: 0;
    padding: 0 12px;
    border-radius: 4px;
    border: 0;
    outline: none;
    background: #fff;
    color: #111827;
    font-size: 14px;
    box-shadow: none;
    transition: box-shadow .18s ease, transform .18s ease;
}

select:focus,
.picker-trigger:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,.22);
}

select {
    appearance: none;
    -webkit-appearance: none;
}

select option {
    color: #111827;
    background: #fff;
}

.picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
}

.picker-arrow {
    opacity: .65;
    margin-left: 8px;
    flex: 0 0 auto;
}

.league-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
}

.league-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.league-modal-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(94vw, 730px);
    max-height: 86vh;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 48px rgba(17,24,39,.22);
    display: flex;
    flex-direction: column;
}

.league-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--brand);
    color: #fff;
}

.league-modal-title {
    font-size: 16px;
    font-weight: 700;
}

.league-modal-close {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.14);
    color: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
}

.league-modal-search-wrap {
    padding: 12px 16px 0;
    background: #fff;
}

.league-modal-search {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--text);
    border-radius: 4px;
    padding: 11px 12px;
    outline: none;
    font-size: 14px;
}

.league-modal-search:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(75,136,255,.16);
}

.league-modal-body {
    display: grid;
    grid-template-columns: 1fr 36px;
    gap: 8px;
    min-height: 0;
    padding: 12px 10px 14px 16px;
    flex: 1;
    background: #fff;
}

.league-group-list {
    overflow-y: auto;
    padding-right: 6px;
    min-height: 0;
}

.league-group {
    margin-bottom: 14px;
}

.league-group-title {
    position: sticky;
    top: 0;
    z-index: 1;
    font-size: 12px;
    color: var(--brand-dark);
    background: #f4f7fd;
    padding: 7px 4px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

.league-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 8px;
}

.league-item {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    border-radius: 4px;
    padding: 10px 12px;
    cursor: pointer;
    text-align: left;
    min-width: 0;
    transition: border-color .18s ease, transform .16s ease, background .18s ease;
}

.league-item:hover {
    transform: translateY(-1px);
    border-color: #a9c4ff;
    background: #f4f7fd;
}

.league-item.active {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: inset 0 0 0 1px rgba(75,136,255,.12);
}

.league-item-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.league-item-sub {
    margin-top: 4px;
    font-size: 11px;
    color: var(--muted);
}

.league-index-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    overflow-y: auto;
    padding-top: 4px;
    user-select: none;
}

.league-index-item {
    width: 28px;
    height: 22px;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
}

.league-index-item:hover {
    background: var(--brand-soft);
    border-color: #a9c4ff;
    color: var(--brand-dark);
}

.league-empty {
    text-align: center;
    color: var(--muted);
    padding: 24px 12px;
}

.results {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card {
    border-radius: 4px;
    border: 1px solid #dbe3ef;
    background: #f4f7fb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.cardHead {
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(180deg, #f8fbff 0, #edf4ff 100%);
    border-bottom: 1px solid #dbe7f7;
}

.leftInfo {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.cardHead .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(75, 136, 255, .08);
    flex: 0 0 auto;
    margin-top: 6px;
}

.line1 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    min-width: 0;
    width: 100%;
}

.line1-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.line1-tail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    white-space: nowrap;
}

.league {
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}

.lottery {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--brand-dark);
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--brand-soft);
    border: 1px solid #bfd3fb;
    font-weight: 600;
}

.time {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}

.teams {
    margin: 0;
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.58;
    background: linear-gradient(135deg, #172033 0%, #24406f 100%);
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-radius: 0;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .08);
}

.teams .home,
.teams .away {
    font-weight: 500;
    color: rgba(255, 255, 255, .68);
}

.teams .mid {
    font-family: var(--mono);
    padding: 3px 9px;
    border-radius: 999px;
    background: #ffffff;
    border: 0;
    color: #245bba;
    font-size: 12px;
    font-weight: 700;
}

.detailChip {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.detailChip:hover {
    color: var(--brand);
}

.detailChip::after {
    content: ">";
    margin-left: 4px;
    font-size: 12px;
    opacity: .92;
}

.leagueInsight {
    margin: 0;
    padding: 14px 13px 12px;
    background: linear-gradient(135deg, #fff7ed 0%, #fffdf7 42%, #eef6ff 100%);
    border: 1px solid #f0d3a9;
    border-radius: 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.insightText {
    font-size: 14.5px;
    line-height: 1.72;
    color: #1b2533;
    font-weight: 600;
    letter-spacing: .01em;
}

.insightTags {
    margin-top: 11px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.insightTags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid #ead6b8;
    color: #5f4b2d;
    font-size: 12px;
    font-weight: 600;
}

.probStack {
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: #eaf0f7;
    border-top: 1px solid #d7e1ee;
}

.probStack details {
    background: #fbfdff;
    border: 1px solid #dce6f2;
    border-radius: 4px;
    overflow: hidden;
}

.probStack summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    user-select: none;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-2);
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

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

.summaryRight {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    font-family: var(--mono);
    font-weight: 500;
    padding-left: 12px;
    border-left: 1px solid var(--line);
}

.panel {
    padding: 12px 13px 13px;
    border-top: 1px solid var(--line);
    background: #fcfcfd;
}

.stackRow {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
}

.rowLabel {
    font-size: 12.5px;
    color: var(--text-2);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 400;
}

.rowLabel .pct {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--brand-dark);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
}

.barWrap {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    position: relative;
}

.barOuter {
    transform-origin: left center;
    height: 100%;
    width: 100%;
}

.bar {
    height: 100%;
    width: 100%;
    display: flex;
    border-radius: inherit;
}

.seg {
    height: 100%;
    min-width: 0;
    position: relative;
    transition: opacity .15s ease;
}

.seg:hover {
    opacity: .9;
}

.seg::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: rgba(255,255,255,.45);
}

.seg:last-child::after {
    display: none;
}

.legend {
    margin-top: 9px;
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    flex-wrap: wrap;
}

.lg {
    display: flex;
    gap: 6px;
    align-items: center;
    min-width: 0;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
}

.sw {
    width: 10px;
    height: 10px;
    border-radius: 4px;
    flex: 0 0 auto;
}

.lg .t {
    font-family: var(--mono);
    color: var(--text-2);
}

.lg .v {
    font-family: var(--mono);
    color: var(--brand-dark);
    font-weight: 600;
}

.empty {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    padding: 22px 12px;
    border: 1px dashed var(--line-strong);
    border-radius: 4px;
    background: #fff;
}

.site-footer {
    margin-top: 22px;
    padding: 18px 12px calc(22px + env(safe-area-inset-bottom));
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.8;
}

.footer-links a {
    color: var(--text-2);
    text-decoration: none;
    padding: 2px 4px;
}

.footer-links a:hover {
    color: var(--brand-dark);
}

.footer-links .sep {
    opacity: .35;
}

.footer-meta {
    margin-top: 10px;
    line-height: 1.6;
}

.footer-meta .slogan {
    margin-top: 4px;
    font-size: 11px;
    opacity: .8;
}

#backToTop {
    position: fixed;
    right: 16px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    background: var(--brand);
    border: none;
    color: #fff;
    box-shadow: 0 10px 24px rgba(75,136,255,.28);
    font-size: 20px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
}

#backToTop.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#backToTop:hover {
    background: var(--brand-dark);
}

@media (max-width: 768px) {
    .wrap {
        padding: 10px 10px 16px;
    }

    .hero-inner {
        padding: 14px;
    }

    .topline {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-wrap {
        gap: 10px;
    }

    .brand-badge {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .brand-text h1 {
        font-size: 20px;
    }

    .sub {
        font-size: 12.5px;
    }

    .ghost {
        align-self: flex-start;
    }

    .form .row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .label {
        margin-bottom: 5px;
    }

    select,
    .picker-trigger {
        height: 42px;
        font-size: 14px;
    }

    .cardHead {
        padding: 12px;
    }

    .line1 {
        grid-template-columns: 1fr auto;
    }

    .stackRow {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .league-modal-panel {
        width: 96vw;
        max-height: 90vh;
        border-radius: 4px;
    }

    .league-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 56px;
    }

    .site-app-header-inner {
        min-height: 56px;
        padding: calc(env(safe-area-inset-top, 0px) + 8px) 10px 8px;
    }

    .site-app-logo-box {
        width: 34px;
        height: 34px;
    }

    .site-app-logo-text strong {
        font-size: 15px;
    }

    .site-app-logo-text small {
        max-width: 190px;
    }

    .brand-text h1 {
        font-size: 18px;
    }

    .legend {
        gap: 6px;
    }

    .lg {
        padding: 0;
    }

    .summaryRight {
        display: none;
    }

    .teams {
        font-size: 12px;
        margin: 0;
        padding: 9px 10px;
    }

    .leagueInsight {
        margin: 0;
        padding: 12px 11px 10px;
    }

    .insightText {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* footer compact mobile override */
@media (max-width: 640px) {
    .site-footer {
        padding: 12px 8px calc(14px + env(safe-area-inset-bottom));
    }

    .law-note {
        margin-bottom: 6px !important;
        font-size: 11px;
        line-height: 1.25;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .footer-inner {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .footer-links {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 4px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        line-height: 1.4;
        padding-bottom: 1px;
    }

    .footer-links a,
    .footer-links .sep {
        flex: 0 0 auto;
    }

    .footer-links a {
        padding: 1px 2px;
        font-size: 11px;
    }

    .footer-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        width: 100%;
        margin-top: 0;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        line-height: 1.3;
        font-size: 11px;
    }

    .footer-meta > div {
        flex: 0 0 auto;
    }

    .footer-meta .slogan {
        margin-top: 0;
        font-size: 10px;
    }

    .law-note::-webkit-scrollbar,
    .footer-links::-webkit-scrollbar,
    .footer-meta::-webkit-scrollbar {
        display: none;
    }

    .login-footer {
        padding: 0 8px calc(env(safe-area-inset-bottom) + 14px);
    }

    .login-footer .footer-links {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 4px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        font-size: 11px;
        line-height: 1.4;
    }

    .login-footer .footer-links a,
    .login-footer .sep {
        flex: 0 0 auto;
    }

    .login-footer .footer-note {
        margin-top: 6px;
        font-size: 11px;
        line-height: 1.25;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .login-footer .footer-links::-webkit-scrollbar,
    .login-footer .footer-note::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 720px) {
    .wrap {
        padding: 8px 6px 12px;
    }

    .hero,
    .hero-inner,
    .filter-card,
    .card,
    .panel,
    .table-wrap,
    .list-card {
        padding: 8px;
    }

    .results .card {
        padding: 0 !important;
    }

    .hero-top,
    .stats,
    .section-head,
    .card-head,
    .card-body,
    .panel-head {
        gap: 6px;
    }

    .brand-text h1,
    .hero-main {
        font-size: 20px;
        line-height: 1.15;
        font-weight: 600;
    }

    .sub,
    .hero-sub,
    .section-more,
    .card-sub {
        font-size: 11px;
        line-height: 1.45;
    }
}



