@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Sans+Myanmar:wght@400;500;600;700;800&family=Noto+Sans+Thai:wght@400;500;700;900&display=swap");

:root {
    --blue: #FF6A00;
    --blue-dark: #C75000;
    --black: #0B0B0F;
    --text: #1C1C22;
    --muted: #6B7280;
    --line: #E8E8EC;
    --soft: #F7F8FA;
    --white: #ffffff;
    --danger: #c62828;
    --success: #087443;
    --shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
    --blue-soft: #FFF3E8;
    --font-app: "Inter", "Noto Sans Myanmar", "Noto Sans JP", "Noto Sans Thai", "Segoe UI", Arial, sans-serif;
}

/* Young Glory public app redesign */
html {
    background: #F7F8FA;
}

body.public-page {
    min-height: 100vh;
    color: #1C1C22;
    background:
        linear-gradient(90deg, rgba(11, 11, 15, 0.03) 1px, transparent 1px),
        #F7F8FA;
    background-size: 34px 34px;
}

.public-page .site-header {
    width: min(430px, 100%);
    min-height: 66px;
    margin: 0 auto;
    padding: calc(0.65rem + env(safe-area-inset-top, 0px)) 1rem 0.65rem;
    border-bottom: 1px solid #E8E8EC;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.06);
}

.public-page .brand {
    gap: 0.58rem;
}

.public-page .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: contain;
    background: #0B0B0F;
    box-shadow: 0 10px 22px rgba(255, 106, 0, 0.22);
}

.public-page .brand span {
    color: #0B0B0F;
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.public-page .site-header-actions {
    display: flex;
}

.public-page .icon-btn {
    width: 42px;
    height: 42px;
    color: #FF6A00;
    border-color: #E8E8EC;
    border-radius: 14px;
    background: #FFF8F1;
    box-shadow: none;
}

.public-page .settings-panel {
    right: max(1rem, calc((100vw - 430px) / 2 + 1rem));
    border-color: #E8E8EC;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.public-page .app-shell,
.public-page .app-shell.narrow {
    width: min(430px, 100%);
    padding: 0.88rem 1rem calc(6.8rem + env(safe-area-inset-bottom, 0px));
}

.public-page .section-heading,
.public-page .section-heading.compact,
.public-page .panel-title,
.public-page .section-title-row {
    display: grid;
    align-items: start;
    justify-content: stretch;
    gap: 0.14rem;
    margin-bottom: 0.72rem;
}

.section-kicker,
.public-page .section-heading > span:first-child,
.public-page .panel-title > span:first-child,
.public-page .result-topbar span,
.public-page .news-topbar span {
    color: #FF6A00;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-page .section-heading h1,
.public-page .section-heading h2,
.public-page .panel-title h1,
.public-page .panel-title h2 {
    color: #0B0B0F;
    font-size: 1.22rem;
    font-weight: 900;
}

.primary-btn,
.settings-action {
    border: 0;
    border-radius: 999px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF6A00, #FF8A00);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.28);
}

.ghost-btn {
    border-color: #E8E8EC;
    border-radius: 999px;
    color: #FF6A00;
    background: #FFFFFF;
}

.public-page a,
.public-page button,
.public-page .category-tile,
.public-page .news-card {
    transition: all 0.2s ease;
}

.public-page a:focus-visible,
.public-page button:focus-visible,
.public-page input:focus-visible,
.public-page select:focus-visible,
.public-page textarea:focus-visible {
    outline: 3px solid rgba(255, 106, 0, 0.28);
    outline-offset: 2px;
}

.public-page .slide-section,
.public-page .quick-grid-section {
    margin-bottom: 1rem;
}

.public-page .ad-slider {
    min-height: 124px;
    border-radius: 22px;
    border: 1px solid rgba(255, 106, 0, 0.12);
    background: #0B0B0F;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
}

.public-page .slider-dots button {
    background: rgba(255, 106, 0, 0.2);
}

.public-page .slider-dots button.active {
    background: #FF6A00;
}

.public-page .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.public-page .category-tile {
    position: relative;
    min-height: 118px;
    padding: 0.84rem 0.7rem;
    border: 1px solid #E8E8EC;
    border-radius: 18px;
    color: #0B0B0F;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
    font-size: 0.82rem;
}

.public-page .category-tile:hover,
.public-page .category-tile:focus-visible {
    border-color: #FF6A00;
    background: #FFF8F1;
    transform: translateY(-2px);
}

.public-page .tile-icon {
    width: 54px;
    height: 54px;
    border-color: rgba(255, 106, 0, 0.14);
    border-radius: 18px;
    color: #FF6A00;
    background: linear-gradient(180deg, #FFF8F1, #FFFFFF);
    box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.08);
}

.public-page .tile-label {
    color: #1C1C22;
    font-weight: 900;
}

.news-page .news-shell,
.inbox-page .inbox-shell,
.live-page .live-shell,
.live-score-page .result-shell {
    gap: 0.9rem;
}

.public-page .news-topbar,
.public-page .result-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1rem;
    border: 0;
    border-radius: 24px;
    color: #FFFFFF;
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 138, 0, 0.46), transparent 7rem),
        linear-gradient(135deg, #09090B, #1A1A1F);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.public-page .news-topbar h1,
.public-page .result-topbar h1 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: #FFFFFF;
    font-size: 1.35rem;
    font-weight: 900;
}

.public-page .news-topbar .icon-btn,
.public-page .result-topbar .icon-btn {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
}

.news-filter-tabs,
.live-tabs,
.result-filter-bar {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.24rem;
    border: 1px solid #E8E8EC;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.06);
    scrollbar-width: none;
}

.news-filter-tabs::-webkit-scrollbar,
.live-tabs::-webkit-scrollbar,
.result-filter-bar::-webkit-scrollbar {
    display: none;
}

.news-filter-tabs button,
.live-tabs button,
.result-filter-bar button {
    min-height: 38px;
    padding: 0.44rem 0.78rem;
    border: 0;
    border-radius: 999px;
    color: #1C1C22;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.news-filter-tabs button.active,
.live-tabs button.active,
.result-filter-bar button.active {
    color: #FFFFFF;
    background: #FF6A00;
}

.public-page .news-state {
    border: 1px solid #E8E8EC;
    border-radius: 18px;
    color: #FF6A00;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.06);
}

.public-page .news-list,
.public-page .inbox-list,
.public-page .live-list,
.public-page .league-list {
    gap: 0.72rem;
}

.public-page .news-card {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    align-items: stretch;
    gap: 0.78rem;
    width: 100%;
    min-height: 112px;
    padding: 0.62rem;
    border: 1px solid #E8E8EC;
    border-radius: 18px;
    color: #1C1C22;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
    text-align: left;
}

.public-page .news-card:hover,
.public-page .news-card:focus-visible {
    border-color: rgba(255, 106, 0, 0.5);
    transform: translateY(-2px);
}

.public-page .news-card img,
.public-page .skeleton-thumb {
    width: 98px;
    height: 98px;
    border-radius: 14px;
    object-fit: cover;
    background: #FFF3E8;
}

.public-page .news-card-body {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 0.28rem;
}

.public-page .news-card small {
    color: #6B7280;
    font-size: 0.72rem;
    font-weight: 800;
}

.public-page .news-card .news-source-credit {
    color: #6B7280;
}

.public-page .news-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: #0B0B0F;
    font-size: 0.94rem;
    line-height: 1.55;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.public-page .news-card em {
    color: #FF6A00;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.public-page .news-card em::after {
    content: " ->";
}

.public-page .skeleton-card,
.public-page .skeleton-thumb,
.public-page .skeleton-line {
    background: linear-gradient(90deg, #FFF3E8 0%, #FFFFFF 50%, #FFF3E8 100%);
    background-size: 220% 100%;
}

.public-page .news-empty {
    display: grid;
    place-items: center;
    min-height: 160px;
    padding: 1.2rem;
    border: 1px solid #E8E8EC;
    border-radius: 18px;
    color: #6B7280;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.06);
    text-align: center;
}

.public-page .news-detail {
    border-radius: 22px;
    border-color: #E8E8EC;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
}

.public-page .news-detail > img {
    border-radius: 18px;
}

.profile-hero-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.82rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 106, 0, 0.35);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 243, 232, 0.86), rgba(255, 255, 255, 0.96)),
        #FFFFFF;
    box-shadow: 0 10px 28px rgba(255, 106, 0, 0.18);
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #0B0B0F;
    box-shadow: 0 10px 24px rgba(255, 106, 0, 0.24);
}

.profile-avatar img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.profile-copy {
    min-width: 0;
}

.profile-copy span {
    color: #FF6A00;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-copy h1 {
    margin: 0.08rem 0;
    overflow: hidden;
    color: #0B0B0F;
    font-size: 1.12rem;
    line-height: 1.18;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-copy p {
    margin: 0 0 0.42rem;
    color: #6B7280;
    font-size: 0.82rem;
    font-weight: 800;
}

.profile-copy em {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    color: #FFFFFF;
    background: #0B0B0F;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
}

.profile-edit-btn {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    gap: 0.34rem;
    padding: 0.4rem 0.68rem;
    border: 1px solid #FF6A00;
    border-radius: 999px;
    color: #FF6A00;
    background: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 900;
}

.profile-menu-list {
    display: grid;
    gap: 0.66rem;
}

.profile-menu-item,
.profile-menu-link {
    display: grid;
    border: 1px solid #E8E8EC;
    border-radius: 18px;
    color: #0B0B0F;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
    overflow: hidden;
}

.profile-menu-link,
.profile-menu-item > summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    min-height: 58px;
    gap: 0.62rem;
    padding: 0.58rem 0.72rem;
    cursor: pointer;
    list-style: none;
}

.profile-menu-item > summary::-webkit-details-marker {
    display: none;
}

.profile-menu-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    color: #0B0B0F;
    background: #FFF3E8;
}

.profile-menu-item strong {
    min-width: 0;
    font-size: 0.92rem;
    font-weight: 900;
}

.profile-menu-item > summary > .app-icon:last-child,
.profile-menu-link > .app-icon:last-child {
    width: 16px;
    height: 16px;
    color: #FF6A00;
    transition: transform 0.2s ease;
}

.profile-menu-item[open] > summary > .app-icon:last-child {
    transform: rotate(90deg);
}

.profile-menu-link:hover,
.profile-menu-item:hover {
    border-color: rgba(255, 106, 0, 0.5);
    background: #FFFDFB;
}

.profile-menu-panel {
    display: grid;
    gap: 0.72rem;
    padding: 0 0.72rem 0.78rem;
}

.more-current-language,
.more-password-form {
    border-color: #E8E8EC;
    border-radius: 16px;
    background: #F7F8FA;
}

.language-picker-menu {
    border-color: #E8E8EC;
}

.language-picker-menu a.active {
    color: #FF6A00;
    background: #FFF3E8;
}

.social-grid {
    gap: 0.6rem;
}

.social-card {
    border-radius: 16px;
    border-color: #E8E8EC;
    background: #FFFFFF;
}

.prediction-history-card {
    border-color: #E8E8EC;
    border-radius: 16px;
    background: #F7F8FA;
}

.match-card,
.info-card,
.form-card,
.notice,
.inbox-card,
.live-card,
.league-card,
.result-matches-panel,
.result-detail-panel {
    border-color: #E8E8EC;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
}

.prediction-hero {
    border-color: rgba(255, 106, 0, 0.2);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 138, 0, 0.14), transparent 8rem),
        #FFFFFF;
}

.rules-accordion,
.auth-card {
    border-color: #E8E8EC;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
}

.team-box img {
    border-radius: 20px;
    background: #FFF3E8;
}

.segmented input:checked + span,
.auth-mode-tabs a.active {
    color: #FFFFFF;
    border-color: #FF6A00;
    background: #FF6A00;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.22);
}

.auth-page {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 52%, #FFF3E8 100%);
}

.auth-card {
    border-radius: 24px;
    background:
        linear-gradient(180deg, #FFF3E8 0%, #FFFFFF 210px),
        #FFFFFF;
}

.auth-logo-lockup img {
    object-fit: contain;
    background: #0B0B0F;
    box-shadow: 0 14px 28px rgba(255, 106, 0, 0.24);
}

.auth-logo-lockup span,
.auth-remember input:checked + .auth-remember-box {
    background: #FF6A00;
    border-color: #FF6A00;
}

.auth-title span,
.auth-language-dropdown summary,
.auth-links a {
    color: #FF6A00;
}

.auth-form input,
.auth-form select,
input,
textarea,
select {
    border-color: #E8E8EC;
}

.bottom-nav {
    position: fixed;
}

.public-page .bottom-nav {
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    display: flex;
    width: auto;
    height: 72px;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.42rem;
    border: 1px solid #E8E8EC;
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
    transform: none;
}

.public-page .bottom-nav .nav-item {
    position: relative;
    display: grid;
    flex: 1 1 0;
    min-width: 0;
    height: 58px;
    place-items: center;
    align-content: center;
    gap: 0.2rem;
    padding: 0.18rem;
    border-radius: 20px;
    color: #6B7280;
    font-size: 0.64rem;
    font-weight: 900;
}

.public-page .bottom-nav .nav-item .app-icon {
    width: 22px;
    height: 22px;
    font-size: 1.12rem;
}

.public-page .bottom-nav .nav-item.active {
    color: #FF6A00;
}

.public-page .bottom-nav .nav-item.active {
    background: #FFF3E8;
}

.public-page .mail-badge {
    position: absolute;
    top: 4px;
    right: 12px;
    border-color: #FFFFFF;
    background: #FF6A00;
}

@media (min-width: 680px) {
    .public-page .site-header {
        padding-inline: 1rem;
    }

    .public-page .bottom-nav {
        left: 50%;
        right: auto;
        width: min(398px, calc(100% - 32px));
        transform: translateX(-50%);
    }
}

@media (max-width: 360px) {
    .public-page .bottom-nav .nav-item {
        font-size: 0.58rem;
    }
}

html[lang="my"] {
    --font-app: "Noto Sans Myanmar", "Pyidaungsu", "Myanmar Text", "Padauk", sans-serif;
}

html[lang="jp"] {
    --font-app: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

html[lang="th"] {
    --font-app: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    min-height: 100%;
    background: var(--soft);
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--text);
    font-family: var(--font-app);
    background: var(--soft);
    line-height: 1.55;
    font-weight: 500;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-synthesis-weight: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: currentColor;
    font-size: 1.15rem;
    line-height: 1;
}

.site-header,
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 106, 0, 0.12);
    box-shadow: 0 10px 24px rgba(8, 13, 23, 0.05);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.65rem;
    font-weight: 800;
    color: var(--black);
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--black);
    box-shadow: 0 8px 18px rgba(255, 106, 0, 0.22);
}

.brand span {
    overflow-wrap: anywhere;
}

.site-header-actions {
    display: none;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 0.45rem;
}

.site-header-actions form {
    margin: 0;
}

.header-auth-link,
.auth-user-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    max-width: min(38vw, 180px);
    gap: 0.42rem;
    padding: 0.48rem 0.72rem;
    overflow: hidden;
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 14px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: 0.82rem;
    font-weight: 900;
}

.header-auth-link span,
.auth-user-chip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--blue);
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 14px;
    background: var(--blue-soft);
    box-shadow: inset 0 -1px 0 rgba(255, 106, 0, 0.12);
}

.settings-panel {
    position: fixed;
    top: 78px;
    right: 1rem;
    z-index: 30;
    width: min(320px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.settings-action,
.primary-btn,
.ghost-btn,
.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    gap: 0.45rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 800;
    text-align: center;
}

.settings-action,
.primary-btn {
    color: var(--white);
    background: var(--blue);
}

.settings-action {
    width: 100%;
    margin-bottom: 0.8rem;
}

.settings-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 900;
}

.ghost-btn {
    color: var(--blue);
    background: var(--white);
    border-color: var(--line);
}

.danger-btn {
    color: var(--white);
    background: var(--danger);
}

.wide {
    width: 100%;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.language-grid a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-weight: 700;
    background: var(--soft);
}

.flag-icon {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 22px;
    flex: 0 0 30px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(8, 13, 23, 0.16), 0 2px 5px rgba(8, 13, 23, 0.08);
}

.flag-us {
    background:
        linear-gradient(90deg, #21468b 0 42%, transparent 42%),
        repeating-linear-gradient(to bottom, #b22234 0 7.7%, #fff 7.7% 15.4%);
}

.flag-us::before {
    content: "";
    position: absolute;
    inset: 0 58% 46% 0;
    background:
        radial-gradient(circle at 25% 30%, #fff 0 1px, transparent 1.3px),
        radial-gradient(circle at 55% 55%, #fff 0 1px, transparent 1.3px),
        #21468b;
}

.flag-mm {
    background: linear-gradient(to bottom, #fecb00 0 33.33%, #34b233 33.33% 66.66%, #ea2839 66.66%);
}

.flag-mm::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 13px;
    background: #fff;
    clip-path: polygon(50% 0, 61% 34%, 98% 34%, 68% 55%, 79% 91%, 50% 69%, 21% 91%, 32% 55%, 2% 34%, 39% 34%);
    transform: translate(-50%, -50%);
}

.flag-jp {
    background: #fff;
}

.flag-jp::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bc002d;
    transform: translate(-50%, -50%);
}

.flag-th {
    background: linear-gradient(to bottom, #a51931 0 16%, #fff 16% 32%, #2d2a4a 32% 68%, #fff 68% 84%, #a51931 84%);
}

.language-grid a.active {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.language-picker {
    position: relative;
    display: grid;
    gap: 0.5rem;
}

.language-picker summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 0.5rem;
    padding: 0.52rem 0.65rem;
    border: 1px solid rgba(255, 106, 0, 0.14);
    border-radius: 14px;
    color: var(--black);
    background: var(--soft);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

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

.language-picker summary span:nth-child(2) {
    flex: 1;
}

.language-picker summary .app-icon {
    width: 14px;
    height: 14px;
    color: var(--blue);
    transition: transform 0.16s ease;
}

.language-picker[open] summary .app-icon {
    transform: rotate(180deg);
}

.language-picker-menu {
    display: grid;
    gap: 0.45rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 16px 34px rgba(8, 13, 23, 0.12);
}

.language-picker-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 0.45rem;
    padding: 0.45rem 0.55rem;
    border-radius: 12px;
    color: var(--text);
    font-weight: 800;
}

.language-picker-menu a.active {
    color: var(--blue);
    background: var(--blue-soft);
}

.app-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0.75rem 0.75rem 5.8rem;
}

.app-hero-card {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 22px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(255, 106, 0, 0.98), rgba(8, 13, 23, 0.96)),
        var(--blue);
    box-shadow: 0 18px 40px rgba(255, 106, 0, 0.22);
}

.hero-brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hero-brand-lockup img {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    object-fit: cover;
    background: var(--white);
}

.hero-brand-lockup span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-brand-lockup h1 {
    margin: 0.1rem 0 0;
    font-size: 1.55rem;
    line-height: 1.1;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.hero-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 46px;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.app-shell.narrow {
    width: min(760px, 100%);
}

.section-title-row,
.section-heading,
.panel-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.section-title-row h1,
.section-heading h2,
.section-heading h1,
.panel-title h1,
.panel-title h2 {
    margin: 0;
    color: var(--black);
    font-size: 1.25rem;
    line-height: 1.2;
}

.section-title-row span,
.panel-title span,
.muted {
    color: var(--muted);
    font-size: 0.9rem;
}

.match-card,
.info-card,
.form-card,
.admin-panel,
.login-card,
.setup-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(8, 13, 23, 0.06);
}

.match-card,
.form-card,
.admin-panel {
    padding: 1rem;
    margin-bottom: 1rem;
}

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 106, 0, 0.16), transparent 32rem),
        linear-gradient(180deg, #f8fbff 0%, var(--soft) 100%);
}

.auth-page .app-shell {
    padding: 4.1rem 0.9rem 1.4rem;
}

.auth-language-switch {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
    right: 0.75rem;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.34rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(8, 13, 23, 0.1);
    backdrop-filter: blur(10px);
}

.auth-language-switch:not(.auth-language-dropdown) {
    display: none;
}

.auth-language-dropdown {
    display: block;
    padding: 0.34rem;
    overflow: visible;
}

.auth-language-dropdown summary {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    gap: 0.36rem;
    padding: 0.2rem 0.46rem 0.2rem 0.24rem;
    border-radius: 999px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.auth-language-dropdown summary::-webkit-details-marker {
    display: none;
}

.auth-language-dropdown summary .app-icon {
    width: 12px;
    height: 12px;
    font-size: 0.7rem;
    transition: transform 0.16s ease;
}

.auth-language-dropdown[open] summary .app-icon {
    transform: rotate(180deg);
}

.auth-language-switch a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    gap: 0.3rem;
    padding: 0.2rem 0.45rem 0.2rem 0.24rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 900;
}

.auth-language-switch a.active {
    color: var(--blue);
    background: var(--blue-soft);
}

.auth-language-switch .flag-icon {
    width: 26px;
    height: 20px;
    flex-basis: 26px;
}

.auth-language-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    display: grid;
    width: 174px;
    gap: 0.3rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(8, 13, 23, 0.14);
}

.auth-language-menu a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 0.32rem 0.5rem;
    color: var(--black);
    background: transparent;
    font-size: 0.84rem;
}

.auth-language-menu a.active {
    color: var(--blue);
    background: var(--blue-soft);
}

.auth-shell {
    display: grid;
    min-height: calc(100vh - 5.5rem);
    align-items: center;
    padding-block: 0.75rem 1.5rem;
}

.auth-card {
    position: relative;
    display: grid;
    gap: 0.9rem;
    padding: 1.08rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(234, 242, 255, 0.72), rgba(255, 255, 255, 0) 210px),
        var(--white);
    box-shadow: 0 16px 42px rgba(8, 13, 23, 0.1);
}

.auth-logo-lockup {
    position: relative;
    display: grid;
    width: 82px;
    height: 82px;
    margin: 0 auto;
    place-items: center;
}

.auth-logo-lockup img {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    object-fit: cover;
    background: var(--black);
    box-shadow: 0 14px 28px rgba(255, 106, 0, 0.24);
}

.auth-logo-lockup span {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 3px solid var(--white);
    border-radius: 999px;
    color: var(--white);
    background: var(--blue);
}

.auth-logo-lockup .app-icon {
    width: 16px;
    height: 16px;
    font-size: 0.9rem;
}

.auth-card .tile-icon {
    justify-self: center;
}

.auth-title {
    display: grid;
    gap: 0.22rem;
    text-align: center;
}

.auth-title span {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.auth-title h1,
.auth-title p,
.forgot-panel p {
    margin: 0;
}

.auth-title h1 {
    color: var(--black);
    font-size: 1.42rem;
    line-height: 1.2;
}

.auth-title p,
.forgot-panel p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-mode-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
    min-height: 44px;
    padding: 0.24rem;
    border-radius: 16px;
    background: var(--soft);
}

.auth-mode-tabs a {
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 900;
}

.auth-mode-tabs a.active {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 8px 18px rgba(255, 106, 0, 0.22);
}

.auth-form {
    display: grid;
    gap: 0.68rem;
}

.auth-form label {
    display: grid;
    gap: 0.35rem;
}

.auth-form label > span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--black);
    font-size: 0.85rem;
    font-weight: 900;
}

.auth-form input,
.auth-form select {
    min-height: 48px;
    width: 100%;
    border: 1px solid rgba(255, 106, 0, 0.14);
    border-radius: 14px;
    padding: 0.72rem 0.78rem;
    color: var(--black);
    background: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.phone-row {
    display: grid;
    grid-template-columns: minmax(118px, 0.8fr) minmax(0, 1.2fr);
    gap: 0.55rem;
}

.auth-check {
    display: flex !important;
}

.auth-remember {
    display: inline-flex !important;
    align-items: center;
    justify-self: start;
    min-height: 36px;
    gap: 0.5rem !important;
    padding: 0.28rem 0.62rem 0.28rem 0.32rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}

.auth-remember input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    opacity: 0;
    pointer-events: none;
}

.auth-remember-box {
    display: grid !important;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: transparent !important;
    background: var(--white);
}

.auth-remember-box .app-icon {
    width: 13px;
    height: 13px;
    font-size: 0.72rem;
}

.auth-remember input:checked + .auth-remember-box {
    color: var(--white) !important;
    border-color: var(--blue);
    background: var(--blue);
}

.auth-remember-copy {
    color: var(--black) !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
}

.auth-links,
.forgot-panel {
    display: grid;
    gap: 0.7rem;
    text-align: center;
}

.auth-links a {
    display: inline-flex;
    justify-content: center;
    min-height: 36px;
    align-items: center;
    color: var(--blue);
    font-weight: 900;
}

.forgot-panel strong {
    color: var(--black);
    font-size: 1rem;
}

.slide-section,
.quick-grid-section {
    margin-bottom: 0.85rem;
}

.quick-grid-section .section-heading {
    margin-bottom: 0.5rem;
    padding: 0 0.1rem;
}

.ad-slider {
    position: relative;
    display: flex;
    gap: 0;
    overflow: hidden;
    overflow-x: auto;
    width: 100%;
    aspect-ratio: 3 / 1;
    min-height: 108px;
    border-radius: 18px;
    background: var(--black);
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: 0 12px 24px rgba(8, 13, 23, 0.08);
}

.ad-slider::-webkit-scrollbar {
    display: none;
}

.ad-slide {
    position: relative;
    display: block;
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.ad-slide.active {
    display: block;
}

.ad-slide a,
.ad-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-slide img {
    object-fit: cover;
}

.fallback-slide {
    display: block;
    padding: 0;
    background: var(--black);
}

.fallback-slide img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

.fallback-slide strong,
.fallback-slide span {
    display: block;
}

.slider-btn {
    display: none;
}

.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    margin-top: 0.5rem;
}

.slider-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 106, 0, 0.22);
    transition: width 0.2s ease, background 0.2s ease;
}

.slider-dots button.active {
    width: 22px;
    background: var(--blue);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.category-tile {
    display: grid;
    grid-template-rows: auto minmax(24px, auto);
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 78px;
    padding: 0.48rem 0.24rem;
    border: 1px solid rgba(255, 106, 0, 0.14);
    border-radius: 16px;
    color: var(--black);
    background: var(--white);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.055);
    text-align: center;
    font-size: 0.64rem;
    font-weight: 800;
}

.tile-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--black));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 16px rgba(255, 106, 0, 0.16);
}

.tile-icon .app-icon {
    width: 24px;
    height: 24px;
    font-size: 1.45rem;
}

.category-custom-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 12px;
}

.tile-label {
    overflow-wrap: anywhere;
    line-height: 1.18;
}

.inbox-shell {
    display: grid;
    gap: 0.9rem;
}

.inbox-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inbox-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0.72rem 0.85rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 8px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: 0.84rem;
    font-weight: 900;
}

.inbox-summary[hidden] {
    display: none;
}

.inbox-list {
    display: grid;
    gap: 0.75rem;
}

.inbox-card {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.055);
    color: inherit;
    text-align: left;
}

.inbox-card strong,
.inbox-card span,
.inbox-card p,
.inbox-card em {
    display: block;
    margin: 0;
    overflow-wrap: anywhere;
}

.inbox-card.is-unread {
    border-color: rgba(198, 40, 40, 0.22);
    background: #fff9f1;
}

.inbox-card strong {
    color: var(--black);
    font-size: 1rem;
}

.inbox-card span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.inbox-card p {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    font-weight: 700;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.inbox-card em {
    color: var(--blue);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.inbox-message-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(8, 13, 23, 0.48);
}

.inbox-message-modal[hidden] {
    display: none;
}

.inbox-message-card {
    position: relative;
    display: grid;
    width: min(420px, 100%);
    max-height: 82vh;
    gap: 0.55rem;
    padding: 1.1rem;
    overflow: auto;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 48px rgba(8, 13, 23, 0.24);
    text-align: center;
}

.inbox-message-card .tile-icon {
    justify-self: center;
}

.inbox-message-card h2,
.inbox-message-card p {
    margin: 0;
}

.inbox-message-card [data-inbox-modal-date] {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.inbox-message-card [data-inbox-modal-body] {
    color: var(--text);
    line-height: 1.55;
    text-align: left;
    white-space: pre-wrap;
}

.section-heading h2,
.section-heading h1,
.info-card h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.compact {
    align-items: center;
}

.status-open,
.status-closed {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-open {
    color: var(--success);
    background: #e7f8ef;
}

.status-closed {
    color: var(--danger);
    background: #ffebee;
}

.team-versus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0;
}

.team-box {
    display: grid;
    place-items: center;
    gap: 0.5rem;
    min-width: 0;
    text-align: center;
}

.team-box img {
    width: 74px;
    height: 74px;
    border: 1px solid var(--line);
    border-radius: 20px;
    object-fit: cover;
    background: var(--soft);
}

.team-box strong {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.versus {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--white);
    background: var(--black);
    font-size: 0.82rem;
    font-weight: 900;
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-card {
    padding: 1rem;
}

.info-card h2 {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
}

.info-card dl,
.info-card ul {
    margin: 0;
}

.info-card dl {
    display: grid;
    gap: 0.75rem;
}

.info-card dt {
    color: var(--muted);
    font-size: 0.82rem;
}

.info-card dd {
    margin: 0;
    color: var(--blue-dark);
    font-size: 1.1rem;
    font-weight: 900;
}

.info-card ul {
    padding-left: 1.1rem;
}

.bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.28rem;
    padding: 0.5rem 0.55rem calc(0.58rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.bottom-nav a {
    position: relative;
    display: grid;
    grid-template-rows: 22px auto;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 52px;
    padding: 0.35rem 0.16rem;
    border-radius: 15px;
    color: var(--black);
    font-size: 0.68rem;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-align: center;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    will-change: transform;
}

.bottom-nav a .app-icon {
    justify-self: center;
    transition: transform 0.18s ease;
}

.mail-badge {
    position: absolute;
    top: 0.15rem;
    right: calc(50% - 1.25rem);
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 0.28rem;
    place-items: center;
    border: 2px solid var(--white);
    border-radius: 999px;
    color: var(--white);
    background: var(--danger);
    font-size: 0.58rem;
    line-height: 1;
    font-weight: 900;
}

.mail-badge[hidden] {
    display: none;
}

.bottom-nav a.active {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 8px 18px rgba(255, 106, 0, 0.22);
    transform: translateY(-2px);
}

.bottom-nav a.active .app-icon {
    transform: translateY(-1px) scale(1.08);
}

.bottom-nav a:active {
    transform: scale(0.96);
}

.telegram-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(8, 13, 23, 0.62);
    backdrop-filter: blur(8px);
}

.telegram-card {
    position: relative;
    width: min(420px, 100%);
    padding: 1.2rem;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--black);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.telegram-mark {
    position: relative;
    width: 68px;
}

.telegram-logo {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    object-fit: cover;
}

.telegram-mark span {
    position: absolute;
    right: -3px;
    bottom: -4px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 3px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
}

.telegram-mark .app-icon {
    width: 15px;
    height: 15px;
}

.telegram-card h2 {
    margin: 0.8rem 0 0.35rem;
}

.telegram-card p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.check-row,
.switch-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.check-row {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.prediction-hero {
    margin-top: 0;
}

.rules-accordion {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 106, 0, 0.14);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(8, 13, 23, 0.05);
    overflow: hidden;
}

.rules-accordion summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 0.9rem;
    color: var(--black);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

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

.rules-accordion summary::after {
    content: "+";
    margin-left: auto;
    color: var(--blue);
    font-size: 1.25rem;
    line-height: 1;
}

.rules-accordion[open] summary::after {
    content: "-";
}

.rules-content {
    display: grid;
    gap: 0.8rem;
    padding: 0 0.9rem 0.9rem;
    color: var(--muted);
}

.rules-content dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0;
}

.rules-content dl div {
    padding: 0.65rem;
    border-radius: 14px;
    background: var(--soft);
}

.rules-content dt {
    font-size: 0.78rem;
}

.rules-content dd {
    margin: 0.15rem 0 0;
    color: var(--blue-dark);
    font-weight: 900;
}

.rules-content ul {
    margin: 0;
    padding-left: 1.1rem;
}

.news-shell {
    display: grid;
    gap: 0.9rem;
}

.news-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.news-topbar span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.news-topbar h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.15rem 0 0;
    color: var(--black);
    font-size: 1.35rem;
    line-height: 1.2;
}

.news-refresh {
    flex: 0 0 auto;
}

.news-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 86px;
    color: var(--muted);
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 18px;
    background: var(--white);
}

.news-list {
    position: relative;
    display: grid;
    gap: 0.75rem;
}

.news-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
    padding: 0.62rem;
    color: var(--text);
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 18px;
    background: var(--white);
    text-align: left;
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.045);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.news-card:hover,
.news-card:focus-visible {
    border-color: rgba(255, 106, 0, 0.28);
    box-shadow: 0 12px 24px rgba(255, 106, 0, 0.1);
    transform: translateY(-1px);
}

.news-card:active {
    transform: scale(0.985);
}

.news-card img {
    width: 112px;
    height: 84px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--soft);
}

.news-card-body {
    display: grid;
    align-content: center;
    min-width: 0;
    gap: 0.25rem;
}

.news-card small {
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
}

.news-card .news-source-credit,
.news-detail-meta [data-news-detail-source] {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.news-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--black);
    font-size: 0.92rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-card em {
    color: var(--muted);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 800;
}

.skeleton-card,
.skeleton-league {
    pointer-events: none;
}

.skeleton-thumb,
.skeleton-line,
.skeleton-pill,
.skeleton-team,
.skeleton-score {
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(90deg, #edf2f8 0%, #f8fbff 46%, #edf2f8 100%);
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.15s ease-in-out infinite;
}

.skeleton-thumb {
    width: 112px;
    height: 84px;
    border-radius: 14px;
}

.skeleton-line {
    width: 100%;
    height: 13px;
}

.skeleton-line.short {
    width: 54%;
}

.skeleton-line.tiny {
    width: 34%;
}

.skeleton-pill {
    width: 72px;
    height: 32px;
}

.skeleton-team {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    justify-self: center;
}

.skeleton-score {
    width: 62px;
    height: 42px;
    border-radius: 14px;
}

.detail-skeleton-card {
    display: grid;
    gap: 0.55rem;
}

.detail-skeleton-card .skeleton-score {
    justify-self: center;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 140% 0;
    }

    100% {
        background-position: -80% 0;
    }
}

@keyframes soft-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panel-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes card-tap {
    0% {
        transform: scale(1);
    }

    48% {
        transform: scale(0.975);
    }

    100% {
        transform: scale(1);
    }
}

.news-empty {
    padding: 1rem;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: var(--white);
    text-align: center;
}

.news-detail {
    position: relative;
    display: grid;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
}

.news-back {
    width: max-content;
}

.news-detail > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    object-fit: cover;
    background: var(--soft);
    box-shadow: 0 10px 22px rgba(8, 13, 23, 0.06);
}

.news-detail-meta {
    display: grid;
    gap: 0.18rem;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 900;
}

.news-detail h2 {
    margin: 0;
    color: var(--black);
    font-size: 1.25rem;
    line-height: 1.35;
}

.news-body {
    overflow: hidden;
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.75;
}

.news-body p,
.news-body ul,
.news-body ol {
    margin: 0 0 0.85rem;
}

.news-body img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.result-shell {
    display: grid;
    gap: 0.85rem;
}

.result-matches-panel {
    position: relative;
}

.result-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.result-topbar span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.result-topbar h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.15rem 0 0;
    color: var(--black);
    font-size: 1.35rem;
    line-height: 1.2;
}

.result-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.date-icon-control {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--blue);
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 14px;
    background: var(--white);
    box-shadow: inset 0 -1px 0 rgba(255, 106, 0, 0.12);
}

.date-icon-control .app-icon {
    pointer-events: none;
}

.date-icon-control input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.date-icon-control input::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.result-controls {
    display: grid;
    gap: 0.65rem;
    padding: 0.7rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.045);
}

.result-controls label {
    display: grid;
    gap: 0.3rem;
}

.result-controls label span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.result-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.result-section-title h2 {
    margin: 0;
    color: var(--black);
    font-size: 1.05rem;
}

.result-section-title span {
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
}

.result-filter-bar {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    margin: 0 0 0.65rem;
    padding-bottom: 0.08rem;
    scrollbar-width: none;
}

.result-filter-bar::-webkit-scrollbar {
    display: none;
}

.result-filter-bar button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0.46rem 0.72rem;
    color: var(--black);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.82rem;
    font-weight: 900;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.result-filter-bar button:active {
    transform: scale(0.96);
}

.result-filter-bar button.active {
    color: var(--white);
    border-color: var(--blue);
    background: var(--blue);
}

.result-filter-bar em {
    display: none;
    min-width: 20px;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: 0.72rem;
    font-style: normal;
    line-height: 1.5;
}

.result-filter-bar button.active em {
    color: var(--blue);
    background: var(--white);
}

.result-filter-bar em:not(:empty) {
    display: inline-grid;
    place-items: center;
}

.league-list,
.match-list,
.result-detail-body {
    display: grid;
    gap: 0.72rem;
}

.league-card,
.result-match-card,
.result-detail-panel,
.details-score-card,
.event-section,
.standings-group {
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.045);
}

.league-card {
    display: grid;
    gap: 0.65rem;
    padding: 0.7rem;
}

.league-head,
.league-identity,
.result-detail-head,
.match-meta-strip {
    display: flex;
    align-items: center;
}

.league-head {
    justify-content: space-between;
    gap: 0.65rem;
}

.league-identity {
    min-width: 0;
    gap: 0.5rem;
}

.league-identity img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--soft);
}

.league-identity strong {
    overflow-wrap: anywhere;
}

.league-table-btn {
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    flex: 0 0 auto;
}

.result-match-card {
    position: relative;
    display: grid;
    gap: 0.55rem;
    padding: 0.68rem;
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.result-match-card:hover,
.result-match-card:focus-visible {
    border-color: rgba(255, 106, 0, 0.32);
    box-shadow: 0 12px 24px rgba(255, 106, 0, 0.11);
    transform: translateY(-1px);
}

.result-match-card:focus-visible {
    outline: 3px solid rgba(255, 106, 0, 0.22);
    outline-offset: 2px;
}

.result-match-card:active,
.result-match-card.is-tapping {
    animation: card-tap 0.18s ease;
}

.match-status {
    justify-self: center;
    min-height: 28px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
}

.match-status.is-upcoming {
    color: var(--blue-dark);
    background: var(--blue-soft);
}

.match-status.is-live {
    color: #9b111e;
    background: #ffe8ec;
}

.match-status.is-finished {
    color: var(--success);
    background: #e7f8ef;
}

.result-match-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
}

.result-team {
    display: grid;
    justify-items: center;
    gap: 0.32rem;
    min-width: 0;
    text-align: center;
}

.result-team img {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    object-fit: contain;
    background: var(--soft);
}

.team-logo-wrap {
    position: relative;
    display: inline-grid;
    place-items: center;
}

.result-team strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 0.82rem;
    line-height: 1.25;
}

.result-score {
    display: grid;
    place-items: center;
    min-width: 64px;
    min-height: 42px;
    padding: 0.35rem 0.55rem;
    border-radius: 14px;
    color: var(--white);
    background: var(--black);
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
}

.result-card-cue {
    position: absolute;
    right: 0.75rem;
    bottom: 0.65rem;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--blue);
    border-radius: 50%;
    background: var(--blue-soft);
    font-size: 0.88rem;
}

.result-detail-panel {
    position: relative;
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
}

.result-matches-panel.is-entering,
.result-detail-panel.is-entering,
.news-list.is-entering,
.news-detail.is-entering {
    animation: panel-in 0.22s ease-out both;
}

.result-detail-panel.is-leaving,
.news-detail.is-leaving {
    animation: panel-out 0.18s ease-in both;
}

.result-back {
    width: max-content;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
}

.result-detail-head {
    justify-content: space-between;
    gap: 0.75rem;
}

.result-detail-head h2 {
    margin: 0;
    color: var(--black);
    font-size: 1.12rem;
}

.result-detail-head span {
    display: block;
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.result-tabs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
}

.result-tabs::-webkit-scrollbar {
    display: none;
}

.result-tabs button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--black);
    background: var(--white);
    font-size: 0.82rem;
    font-weight: 900;
}

.result-tabs button.active {
    color: var(--white);
    border-color: var(--blue);
    background: var(--blue);
}

.result-inline-state,
.result-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 72px;
    padding: 0.8rem;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: var(--white);
    text-align: center;
}

.result-inline-state .bi {
    color: var(--blue);
}

.result-matches-panel.is-soft-loading::after,
.news-list.is-soft-loading::after,
.result-detail-panel.is-soft-loading::after,
.news-detail.is-soft-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.result-matches-panel.is-soft-loading::before,
.news-list.is-soft-loading::before,
.result-detail-panel.is-soft-loading::before,
.news-detail.is-soft-loading::before {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 106, 0, 0.18);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: soft-spin 0.8s linear infinite;
    pointer-events: none;
}

.standings-group,
.event-section,
.details-score-card {
    padding: 0.75rem;
}

.standings-group h3,
.event-section h3 {
    margin: 0 0 0.55rem;
    color: var(--black);
    font-size: 0.98rem;
}

.standing-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.standing-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: var(--white);
}

.standing-table th,
.standing-table td {
    padding: 0.58rem 0.5rem;
    border-bottom: 1px solid var(--line);
    text-align: center;
    font-size: 0.82rem;
}

.standing-table th {
    color: var(--muted);
    background: var(--soft);
    font-weight: 900;
}

.standing-table tbody tr {
    border-left: 4px solid var(--standing-color, var(--blue));
}

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

.standing-table .standing-team {
    min-width: 160px;
    color: var(--black);
    font-weight: 900;
    text-align: left;
}

.position-cell,
.points-cell {
    color: var(--blue-dark);
    font-weight: 900;
}

.h2h-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.h2h-stat {
    display: grid;
    gap: 0.18rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.h2h-stat span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
}

.h2h-stat strong {
    color: var(--blue-dark);
    font-size: 1.25rem;
    line-height: 1;
}

.event-list {
    display: grid;
    gap: 0.45rem;
}

.event-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
    min-height: 42px;
    padding: 0.52rem 0.6rem;
    border-radius: 14px;
    background: var(--soft);
}

.event-row span {
    color: var(--blue);
    font-weight: 900;
}

.event-row strong {
    overflow-wrap: anywhere;
}

.event-row em {
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.substitution-row em::before {
    content: "Out: ";
}

.match-meta-strip {
    flex-wrap: wrap;
    gap: 0.45rem;
}

.match-meta-strip span {
    padding: 0.38rem 0.58rem;
    border-radius: 999px;
    color: var(--muted);
    background: var(--soft);
    font-size: 0.78rem;
    font-weight: 800;
}

.details-score-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.details-score-card strong {
    overflow-wrap: anywhere;
}

.details-score-card span {
    min-width: 66px;
    padding: 0.4rem 0.55rem;
    border-radius: 14px;
    color: var(--white);
    background: var(--black);
    font-weight: 900;
}

.details-score-card.detail-skeleton-card span {
    min-width: 0;
    padding: 0;
    color: transparent;
}

.details-score-card.detail-skeleton-card .skeleton-line,
.details-score-card.detail-skeleton-card .skeleton-score {
    background: linear-gradient(90deg, #edf2f8 0%, #f8fbff 46%, #edf2f8 100%);
    background-size: 220% 100%;
}

.details-score-card small {
    grid-column: 1 / -1;
    color: var(--muted);
    font-weight: 800;
}

.stat-list {
    display: grid;
    gap: 0.65rem;
}

.stat-values {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.28rem;
    text-align: center;
}

.stat-values span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.stat-values strong {
    color: var(--black);
}

.stat-bar {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf5;
}

.stat-bar span {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--blue);
}

.live-shell,
.live-list,
.live-card-list {
    display: grid;
    gap: 0.85rem;
}

.live-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.045);
}

.live-tabs button {
    min-height: 40px;
    padding: 0.45rem 0.35rem;
    border: 0;
    border-radius: 12px;
    color: var(--black);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 900;
}

.live-tabs button.active {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 8px 16px rgba(255, 106, 0, 0.18);
}

.live-section {
    display: grid;
    gap: 0.62rem;
}

.live-section-title,
.live-card-head,
.live-actions {
    display: flex;
    align-items: center;
}

.live-section-title {
    justify-content: space-between;
    gap: 0.75rem;
}

.live-section-title h2 {
    margin: 0;
    color: var(--black);
    font-size: 1.05rem;
}

.live-section-title span {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: 0.82rem;
    font-weight: 900;
}

.live-card {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    padding: 0.72rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 18px;
    color: var(--text);
    background: var(--white);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.045);
    text-align: left;
}

.live-card.is-live {
    border-color: rgba(198, 40, 40, 0.22);
}

.live-card.is-watchable {
    cursor: pointer;
}

.live-card:disabled {
    cursor: default;
    opacity: 1;
}

.live-card-head {
    justify-content: space-between;
    gap: 0.65rem;
}

.live-card-head strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--black);
}

.live-pill {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0.24rem 0.58rem;
    border-radius: 999px;
    color: var(--blue-dark);
    background: var(--blue-soft);
    font-size: 0.72rem;
    font-weight: 900;
}

.live-card.is-live .live-pill {
    color: #9b111e;
    background: #ffe8ec;
}

.live-time {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.live-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
}

.live-team {
    display: grid;
    justify-items: center;
    gap: 0.38rem;
    min-width: 0;
    text-align: center;
}

.live-team img {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    object-fit: contain;
    background: var(--soft);
}

.live-team strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 0.84rem;
    line-height: 1.25;
}

.live-vs {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--white);
    background: var(--black);
    font-size: 0.8rem;
    font-weight: 900;
}

.live-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.live-card-cue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 38px;
    padding: 0.48rem 0.65rem;
    border-radius: 12px;
    color: var(--white);
    background: var(--blue);
    font-size: 0.84rem;
    font-weight: 900;
}

.live-card-cue .bi {
    font-size: 1rem;
}

.live-player-open {
    overflow: hidden;
}

.live-player-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: end center;
    padding: 0.75rem;
    background: rgba(8, 13, 23, 0.72);
    backdrop-filter: blur(10px);
}

.live-player-card {
    display: grid;
    gap: 0.75rem;
    width: min(920px, 100%);
    max-height: calc(100vh - 1.5rem);
    overflow: auto;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px 20px 18px 18px;
    color: var(--white);
    background: #050914;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
}

.live-player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.live-player-head span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.live-player-head h2 {
    margin: 0.08rem 0 0;
    overflow-wrap: anywhere;
    font-size: 1rem;
    line-height: 1.25;
}

.live-player-head .modal-close {
    position: static;
    flex: 0 0 auto;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
}

.live-player-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: var(--black);
}

.live-player-frame iframe,
.live-player-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--black);
}

.live-fullscreen-btn {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: var(--white);
    background: rgba(8, 13, 23, 0.68);
    backdrop-filter: blur(8px);
}

.live-fullscreen-btn .app-icon {
    width: 18px;
    height: 18px;
    font-size: 1rem;
}

.live-player-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 40px;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.live-player-status span,
.live-player-status strong {
    display: block;
    overflow-wrap: anywhere;
}

.live-player-status span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.live-player-status strong {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 900;
    text-align: right;
}

.live-stream-choices {
    display: grid;
    gap: 0.5rem;
}

.stream-choice-label {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.stream-choice-buttons {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
}

.stream-choice-buttons::-webkit-scrollbar {
    display: none;
}

.stream-choice-buttons button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 900;
}

.stream-choice-buttons button.active {
    border-color: var(--blue);
    background: var(--blue);
}

.live-watermark {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 2;
    width: clamp(40px, 9vw, 72px);
    height: clamp(40px, 9vw, 72px);
    padding: 0.22rem;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.live-external-link {
    min-height: 40px;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.more-hero,
.more-panel {
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.045);
}

.more-hero {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
    padding: 1rem;
}

.more-page .app-shell {
    display: grid;
    gap: 0.85rem;
}

.more-page .more-hero {
    margin-bottom: 0;
}

.more-logo {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border-radius: 20px;
    object-fit: cover;
    background: var(--black);
    box-shadow: 0 10px 22px rgba(255, 106, 0, 0.18);
}

.more-hero span {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.more-hero h1 {
    margin: 0.1rem 0 0.25rem;
    color: var(--black);
    font-size: 1.45rem;
}

.more-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.social-grid,
.more-links {
    display: grid;
    gap: 0.72rem;
}

.social-grid {
    margin-bottom: 0.85rem;
}

.social-card,
.more-links a {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    min-height: 68px;
    padding: 0.82rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.045);
}

.social-card > .app-icon,
.more-links a > .app-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: var(--white);
    background: var(--blue);
    font-size: 1.45rem;
}

.social-card.facebook > .app-icon {
    background: #1877f2;
}

.social-card.telegram > .app-icon {
    background: #229ed9;
}

.social-card.tiktok > .app-icon {
    background: var(--black);
}

.social-card span,
.more-links span {
    display: grid;
    min-width: 0;
}

.social-card strong,
.more-links span {
    color: var(--black);
    font-weight: 900;
}

.social-card small {
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.more-panel {
    padding: 1rem;
}

.more-panel h2 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
    color: var(--black);
    font-size: 1.05rem;
}

.more-accordion {
    display: grid;
    gap: 0;
}

.more-accordion-summary {
    display: flex;
    align-items: center;
    min-height: 52px;
    gap: 0.62rem;
    color: var(--black);
    cursor: pointer;
    list-style: none;
    font-weight: 900;
}

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

.more-accordion-summary span {
    flex: 1;
}

.more-accordion-summary .app-icon:last-child {
    width: 16px;
    height: 16px;
    color: var(--blue);
    transition: transform 0.16s ease;
}

.more-accordion[open] > .more-accordion-summary .app-icon:last-child {
    transform: rotate(180deg);
}

.more-accordion-content {
    display: grid;
    gap: 0.72rem;
    padding-top: 0.45rem;
}

.more-current-language {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 14px;
    background: var(--soft);
    color: var(--black);
    font-weight: 900;
}

.prediction-history-list {
    gap: 0.65rem;
}

.prediction-history-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem 0.65rem;
    padding: 0.78rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
}

.prediction-history-card div {
    display: grid;
    gap: 0.18rem;
}

.prediction-history-card strong {
    color: var(--black);
}

.prediction-history-card span,
.prediction-history-card p {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.prediction-history-card p {
    grid-column: 1 / -1;
    margin: 0;
}

.prediction-history-card em {
    align-self: start;
    min-width: 58px;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    text-align: center;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.prediction-history-card.is-win em {
    color: var(--success);
    background: #e7f8ef;
}

.prediction-history-card.is-lose em {
    color: var(--danger);
    background: #fff1f1;
}

.empty-copy {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.more-action-list {
    gap: 0.72rem;
}

.more-panel .social-grid {
    margin-bottom: 0;
}

.more-language-grid,
.more-language-picker {
    margin-top: 0.25rem;
}

.more-actions {
    display: grid;
    gap: 0.72rem;
}

.more-actions .settings-action {
    margin-bottom: 0;
}

.more-actions form,
.more-password-form {
    display: grid;
    gap: 0.72rem;
    margin: 0;
}

.more-password-box {
    display: grid;
    gap: 0.72rem;
}

.more-password-box summary {
    cursor: pointer;
    list-style: none;
}

.more-password-box summary::-webkit-details-marker {
    display: none;
}

.more-password-form {
    padding: 0.75rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 16px;
    background: var(--soft);
}

.more-password-form label {
    display: grid;
    gap: 0.38rem;
    color: var(--black);
    font-size: 0.84rem;
    font-weight: 900;
}

.more-password-form input {
    min-height: 44px;
    padding: 0.68rem 0.75rem;
    border: 1px solid rgba(255, 106, 0, 0.16);
    border-radius: 14px;
    color: var(--black);
    background: var(--white);
    font-weight: 800;
}

.more-action-secondary {
    width: 100%;
}

.notice {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
}

.notice.success {
    color: var(--success);
    border-color: #b9ebcf;
    background: #effbf4;
}

.notice.error {
    color: var(--danger);
    border-color: #ffc9c9;
    background: #fff1f1;
}

.form-card.center {
    text-align: center;
}

.form-card h2,
.form-card p {
    margin-top: 0;
}

.prediction-form,
.admin-form {
    display: grid;
    gap: 0.85rem;
}

.prediction-form label,
.admin-form label,
.inline-form label,
.grid-form label {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.prediction-form span,
.admin-form span,
.inline-form span,
.grid-form span {
    font-weight: 800;
}

.field-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.72rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--text);
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

legend {
    margin-bottom: 0.45rem;
    font-weight: 800;
}

.segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.segmented label {
    position: relative;
}

.segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
    text-align: center;
}

.segmented input:checked + span {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
}

.setup-page,
.admin-login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1rem;
}

.login-card,
.setup-box {
    width: min(420px, 100%);
    padding: 1.25rem;
}

.login-logo,
.setup-logo {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
}

.login-card h1,
.setup-box h1 {
    margin: 0.85rem 0 0.25rem;
}

.login-card p,
.setup-box p,
.login-card small {
    color: var(--muted);
}

.setup-box code {
    display: block;
    overflow: auto;
    padding: 0.75rem;
    border-radius: 8px;
    background: var(--black);
    color: var(--white);
}

.admin-page {
    background: #eef4fb;
}

.admin-app-header {
    position: sticky;
    top: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 70px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 106, 0, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(8, 13, 23, 0.05);
    backdrop-filter: blur(16px);
}

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

.admin-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.admin-header-actions .ghost-btn {
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
}

.admin-public-link,
.admin-user-chip {
    display: none;
}

.admin-user-chip {
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--white);
    font-size: 0.85rem;
    font-weight: 800;
}

.admin-layout {
    width: min(1480px, 100%);
    margin: 0 auto;
}

.admin-scrim {
    position: fixed;
    inset: 70px 0 0;
    z-index: 35;
    display: none;
    background: rgba(8, 13, 23, 0.45);
}

.sidebar-open .admin-scrim {
    display: block;
}

.admin-sidebar {
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    z-index: 40;
    width: min(292px, calc(100vw - 3rem));
    padding: 1rem;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 106, 0, 0.12);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(-104%);
    transition: transform 0.22s ease;
}

.sidebar-open .admin-sidebar {
    transform: translateX(0);
}

.sidebar-heading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--soft);
}

.sidebar-heading img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--black);
}

.sidebar-heading strong,
.sidebar-heading span {
    display: block;
}

.sidebar-heading span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-nav {
    display: grid;
    gap: 0.45rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 46px;
    padding: 0.68rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--black);
    font-weight: 900;
}

.admin-nav i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--blue);
    font-size: 1.1rem;
}

.admin-nav a.active {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 10px 20px rgba(255, 106, 0, 0.18);
}

.admin-nav a.active i {
    color: var(--white);
}

.admin-shell {
    width: 100%;
    margin: 0;
    padding: 1rem;
}

.admin-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.admin-page-title span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-page-title h1 {
    margin: 0.08rem 0 0;
    color: var(--black);
    font-size: 1.45rem;
    line-height: 1.15;
}

.admin-update-form {
    flex: 0 0 auto;
}

.admin-update-form .primary-btn {
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
}

.admin-quick-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.admin-quick-grid a {
    display: grid;
    gap: 0.25rem;
    min-height: 118px;
    padding: 1rem;
    border: 1px solid rgba(255, 106, 0, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
    box-shadow: 0 8px 18px rgba(8, 13, 23, 0.045);
}

.admin-quick-grid i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.25rem;
    border-radius: 14px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: 1.25rem;
}

.admin-quick-grid strong {
    color: var(--black);
    font-size: 1rem;
}

.admin-quick-grid span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-stats article {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.admin-stats span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-stats strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--blue-dark);
    font-size: 1.35rem;
}

.admin-panel {
    margin-bottom: 1rem;
}

.panel-title {
    align-items: center;
    flex-wrap: wrap;
}

.grid-form {
    grid-template-columns: 1fr;
}

.wide-field {
    grid-column: 1 / -1;
}

.switch-row {
    min-height: 44px;
    padding: 0.65rem 0.72rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.team-admin,
.upload-preview {
    display: grid;
    gap: 0.75rem;
}

.upload-preview {
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.upload-preview img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--soft);
}

.inline-form {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-list {
    display: grid;
    gap: 0.75rem;
}

.ad-admin-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.ad-admin-row img {
    width: 96px;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--black);
}

.ad-admin-row strong,
.ad-admin-row span {
    display: block;
    overflow-wrap: anywhere;
}

.ad-admin-row span {
    color: var(--muted);
    font-size: 0.86rem;
}

.live-admin-row {
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.live-admin-summary strong,
.live-admin-summary span {
    display: block;
    overflow-wrap: anywhere;
}

.live-admin-summary span {
    color: var(--muted);
    font-size: 0.86rem;
}

.notification-admin-row {
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.notification-admin-row strong,
.notification-admin-row span,
.notification-admin-row p {
    display: block;
    margin: 0;
    overflow-wrap: anywhere;
}

.notification-admin-row span {
    color: var(--muted);
    font-size: 0.86rem;
}

.inline-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.ad-edit-form {
    display: grid;
    grid-column: 1 / -1;
    gap: 0.65rem;
}

.category-editor {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.category-edit-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.category-icon-edit {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
}

.admin-category-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--blue);
    background: var(--blue-soft);
}

.admin-category-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
}

.admin-category-icon .app-icon {
    width: 26px;
    height: 26px;
    font-size: 1.55rem;
}

.delete-category-box {
    margin-top: 1rem;
}

.mini-delete {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
}

.clear-form {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    gap: 0.5rem;
}

.correct-filter {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(255, 106, 0, 0.14);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.correct-filter-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.correct-filter-title span,
.correct-filter-grid span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.correct-filter-title strong {
    display: block;
    color: var(--black);
}

.correct-filter-title em {
    flex: 0 0 auto;
    padding: 0.35rem 0.55rem;
    color: var(--blue);
    border-radius: 999px;
    background: var(--blue-soft);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.correct-filter-grid {
    display: grid;
    gap: 0.65rem;
}

.correct-filter-grid label {
    display: grid;
    gap: 0.35rem;
}

.submission-table tr.is-correct-match td {
    background: #effbf5;
}

.winner-save-form {
    display: grid;
    gap: 0.8rem;
}

.winner-save-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 106, 0, 0.14);
    border-radius: 8px;
    background: var(--blue-soft);
}

.winner-save-bar span {
    color: var(--blue-dark);
    font-size: 0.86rem;
    font-weight: 900;
}

.winner-check {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    gap: 0.45rem;
    padding: 0.38rem 0.62rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--danger);
    background: #fff1f1;
    font-weight: 900;
    cursor: pointer;
}

.winner-check:has(input:checked) {
    color: var(--success);
    background: #e7f8ef;
    border-color: rgba(8, 116, 67, 0.22);
}

.winner-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--success);
}

.submission-table td .winner-check span {
    display: inline;
    color: inherit;
}

.submission-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.submission-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    background: var(--white);
}

.submission-table th,
.submission-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.submission-table th {
    color: var(--black);
    background: var(--soft);
}

.submission-table td span,
.submission-table td strong {
    display: block;
}

.submission-table td span {
    color: var(--muted);
}

.submission-table details {
    margin-top: 0.35rem;
}

.submission-table pre {
    max-width: 420px;
    max-height: 220px;
    overflow: auto;
    padding: 0.6rem;
    border-radius: 8px;
    background: var(--black);
    color: var(--white);
    white-space: pre-wrap;
}

@media (min-width: 680px) {
    .site-header,
    .admin-topbar {
        padding-inline: 1.5rem;
    }

    .app-shell {
        padding: 1rem 1rem 6.5rem;
    }

    .section-title-row h1,
    .section-heading h2,
    .section-heading h1 {
        font-size: 1.55rem;
    }

    .category-tile {
        min-height: 84px;
        font-size: 0.82rem;
    }

    .team-box img {
        width: 92px;
        height: 92px;
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .result-controls,
    .correct-filter-grid {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .correct-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    }

    .result-controls .primary-btn {
        min-width: 170px;
    }

    .bottom-nav {
        right: 50%;
        left: auto;
        width: min(520px, calc(100% - 2rem));
        transform: translateX(50%);
        border: 1px solid var(--line);
        border-bottom: 0;
        border-radius: 8px 8px 0 0;
    }

    .grid-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inline-form {
        grid-template-columns: minmax(170px, 1fr) minmax(220px, 2fr) minmax(90px, 0.6fr) auto;
        align-items: end;
    }

    .category-edit-row {
        grid-template-columns: minmax(260px, 1.45fr) minmax(140px, 1fr) minmax(220px, 1.35fr) 90px auto;
        align-items: center;
    }

    .admin-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-public-link,
    .admin-user-chip {
        display: inline-flex;
    }

    .admin-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .admin-menu-toggle,
    .admin-scrim {
        display: none !important;
    }

    .admin-app-header {
        grid-template-columns: minmax(0, 1fr) auto;
        padding-inline: 1.4rem;
    }

    .admin-brand {
        grid-column: 1;
    }

    .admin-header-actions {
        grid-column: 2;
    }

    .admin-layout {
        display: grid;
        grid-template-columns: 292px minmax(0, 1fr);
        gap: 0;
    }

    .admin-sidebar {
        position: sticky;
        top: 70px;
        align-self: start;
        height: calc(100vh - 70px);
        width: 292px;
        box-shadow: none;
        transform: none;
    }

    .admin-shell {
        padding: 1.25rem;
    }

    .admin-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ad-admin-row {
        grid-template-columns: 160px minmax(0, 1fr) minmax(360px, 1.5fr) auto;
    }

    .ad-admin-row img {
        width: 160px;
    }

    .live-player-modal {
        place-items: center;
        padding: 1.25rem;
    }

    .ad-edit-form {
        grid-column: auto;
        grid-template-columns: minmax(160px, 1fr) 86px auto auto;
        align-items: end;
    }
}

/* Young Glory cascade guard */
body.public-page .primary-btn,
body.public-page .settings-action {
    border: 0;
    border-radius: 999px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FF6A00, #FF8A00);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.28);
}

body.public-page .ghost-btn {
    border-color: #E8E8EC;
    border-radius: 999px;
    color: #FF6A00;
    background: #FFFFFF;
}

body.public-page.auth-page {
    background:
        linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 52%, #FFF3E8 100%);
}

body.public-page .auth-card {
    border-color: #E8E8EC;
    border-radius: 24px;
    background:
        linear-gradient(180deg, #FFF3E8 0%, #FFFFFF 210px),
        #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
}

body.public-page .auth-logo-lockup img {
    object-fit: contain;
    background: #0B0B0F;
    box-shadow: 0 14px 28px rgba(255, 106, 0, 0.24);
}

body.public-page .auth-title span,
body.public-page .auth-language-dropdown summary,
body.public-page .auth-links a {
    color: #FF6A00;
}

body.public-page .auth-mode-tabs a.active,
body.public-page .segmented input:checked + span {
    color: #FFFFFF;
    border-color: #FF6A00;
    background: #FF6A00;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.22);
}

body.public-page .live-tabs,
body.public-page .result-filter-bar,
body.public-page .news-filter-tabs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.24rem;
    border: 1px solid #E8E8EC;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.06);
}

body.public-page .live-tabs button,
body.public-page .result-filter-bar button,
body.public-page .news-filter-tabs button {
    min-height: 38px;
    padding: 0.44rem 0.78rem;
    border: 0;
    border-radius: 999px;
    color: #1C1C22;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

body.public-page .live-tabs button.active,
body.public-page .result-filter-bar button.active,
body.public-page .news-filter-tabs button.active {
    color: #FFFFFF;
    background: #FF6A00;
}

body.public-page .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.46rem;
}

body.public-page .category-tile {
    min-height: 76px;
    padding: 0.42rem 0.2rem;
    border-radius: 16px;
    font-size: 0.61rem;
    box-shadow: 0 8px 18px rgba(15, 15, 20, 0.055);
}

body.public-page .tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
}

body.public-page .tile-icon .app-icon {
    width: 21px;
    height: 21px;
    font-size: 1.22rem;
}

body.public-page .category-custom-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

body.public-page .tile-label {
    line-height: 1.12;
}

body.public-page .site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    width: min(1120px, 100%);
}

body.public-page .settings-panel {
    right: max(1rem, calc((100vw - min(1120px, 100vw)) / 2 + 1rem));
}

body.public-page .app-shell {
    width: min(1120px, 100%);
}

body.public-page .app-shell.narrow {
    width: min(860px, 100%);
}

body.public-page .ad-slider {
    min-height: 124px;
    aspect-ratio: 16 / 5.4;
    max-height: 300px;
}

body.public-page .ad-slide,
body.public-page .ad-slide a,
body.public-page .ad-slide img {
    height: 100%;
}

body.public-page .bottom-nav {
    left: 50%;
    right: auto;
    width: min(560px, calc(100% - 32px));
    height: 72px;
    transform: translateX(-50%);
}

body.public-page .bottom-nav .nav-item {
    flex: 1 1 0;
    height: 58px;
    margin-top: 0;
    border-radius: 20px;
    color: #6B7280;
    background: transparent;
    box-shadow: none;
}

body.public-page .bottom-nav .nav-item.active {
    color: #FF6A00;
    background: #FFF3E8;
}

body.public-page .bottom-nav .nav-item .app-icon {
    width: 22px;
    height: 22px;
    color: currentColor;
    font-size: 1.12rem;
}

body.public-page .bottom-nav .nav-item span:last-child {
    color: currentColor;
    font-size: 0.64rem;
}

.market-shell,
.odds-shell,
.ibet-rule-shell {
    display: grid;
    gap: 0.88rem;
}

.market-topbar,
.ibet-rule-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 24px;
    color: #FFFFFF;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 138, 0, 0.42), transparent 7rem),
        linear-gradient(135deg, #09090B, #1A1A1F);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.market-topbar h1,
.ibet-rule-hero h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(1.28rem, 2.5vw, 2rem);
    font-weight: 900;
}

.market-topbar span,
.ibet-rule-kicker,
.ibet-rule-hero p {
    color: #FFB15C;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-topbar .icon-btn {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.market-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.46rem;
}

.market-tabs.odds-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-tabs button {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border: 1px solid #E8E8EC;
    border-radius: 15px;
    color: #1C1C22;
    background: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 900;
}

.market-tabs button.active {
    border-color: #FF6A00;
    color: #FF6A00;
    background: #FFF3E8;
}

.market-region-control {
    display: grid;
    gap: 0.4rem;
    color: #6B7280;
    font-size: 0.76rem;
    font-weight: 900;
}

.market-region-control select {
    min-height: 44px;
    border-radius: 14px;
}

.market-region-buttons {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
}

.market-region-buttons[hidden] {
    display: none;
}

.market-region-buttons::-webkit-scrollbar {
    display: none;
}

.market-region-buttons button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 0.78rem;
    border: 1px solid #E8E8EC;
    border-radius: 999px;
    color: #1C1C22;
    background: #FFFFFF;
    font-size: 0.76rem;
    font-weight: 900;
}

.market-region-buttons button.active {
    border-color: #FF6A00;
    color: #FF6A00;
    background: #FFF3E8;
}

.market-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.45rem;
    color: #6B7280;
    font-size: 0.72rem;
    font-weight: 800;
}

.market-rate-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.market-rate-card {
    display: grid;
    gap: 0.72rem;
    padding: 0.82rem;
    border: 1px solid #E8E8EC;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
    cursor: pointer;
}

.market-rate-card:focus-visible {
    outline: 3px solid rgba(255, 106, 0, 0.28);
    outline-offset: 2px;
}

.market-rate-head {
    display: flex;
    align-items: center;
    gap: 0.66rem;
    min-width: 0;
}

.market-rate-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 15px;
    color: #FF6A00;
    background: #FFF3E8;
    font-size: 1.3rem;
    font-weight: 900;
}

.market-rate-title {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.market-rate-title strong {
    color: #0B0B0F;
    font-size: 0.92rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.market-rate-title small {
    color: #6B7280;
    font-size: 0.68rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.market-rate-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.48rem;
}

.market-rate-values.single {
    grid-template-columns: 1fr;
}

.market-rate-box {
    display: grid;
    gap: 0.16rem;
    padding: 0.58rem;
    border-radius: 14px;
    background: #F7F8FA;
}

.market-rate-box small {
    color: #6B7280;
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.market-rate-box strong {
    color: #0B0B0F;
    font-size: clamp(0.98rem, 2vw, 1.25rem);
    font-weight: 900;
    line-height: 1.15;
}

.rate-change {
    width: max-content;
    padding: 0.12rem 0.36rem;
    border-radius: 999px;
    color: #6B7280;
    background: #E8E8EC;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 900;
}

.rate-change.up {
    color: #087443;
    background: #E9F8EF;
}

.rate-change.down {
    color: #C62828;
    background: #FFF1F1;
}

.market-history-body {
    margin-top: 0.85rem;
    max-height: min(56vh, 420px);
    overflow-y: auto;
    padding-right: 0.2rem;
    -webkit-overflow-scrolling: touch;
}

.market-history-list {
    display: grid;
    gap: 0.58rem;
}

.market-history-row {
    display: grid;
    gap: 0.45rem;
    padding: 0.72rem;
    border: 1px solid #E8E8EC;
    border-radius: 15px;
    background: #F7F8FA;
}

.market-history-row > strong {
    color: #0B0B0F;
    font-size: 0.82rem;
    font-weight: 900;
}

.market-history-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
}

.market-history-values.single {
    grid-template-columns: 1fr;
}

.market-history-values span {
    display: grid;
    gap: 0.12rem;
    padding: 0.48rem;
    border-radius: 12px;
    background: #FFFFFF;
}

.market-history-values small {
    color: #6B7280;
    font-size: 0.62rem;
    font-weight: 900;
}

.market-history-values b {
    color: #0B0B0F;
    font-size: 0.88rem;
    font-weight: 900;
}

.odds-league-card,
.ibet-rule-card,
.market-empty-card,
.ibet-rule-warning {
    border: 1px solid #E8E8EC;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 15, 20, 0.08);
}

.odds-league-head,
.ibet-rule-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.odds-league-head h2,
.ibet-rule-title h2 {
    margin: 0;
    color: #0B0B0F;
    font-size: 0.96rem;
    font-weight: 900;
}

.odds-league-head span,
.ibet-rule-title span {
    color: #FF6A00;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.odds-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.odds-values span {
    display: grid;
    gap: 0.08rem;
    padding: 0.46rem;
    border-radius: 12px;
    background: #FFF8F1;
}

.odds-values small {
    color: #6B7280;
    font-size: 0.62rem;
    font-weight: 900;
}

.odds-values b {
    color: #0B0B0F;
    font-size: 0.82rem;
    font-weight: 900;
}

.market-empty-card {
    padding: 1rem;
    color: #6B7280;
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
}

.odds-league-list,
.odds-match-list {
    display: grid;
    gap: 0.72rem;
}

.odds-league-card {
    display: grid;
    gap: 0.64rem;
    padding: 0.82rem;
}

.odds-match-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 0.7rem;
    padding: 0.72rem;
    border: 1px solid #E8E8EC;
    border-radius: 15px;
    background: #F7F8FA;
}

.odds-teams {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
}

.odds-team {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 0.5rem;
}

.odds-team-logo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #FF6A00;
    background: #FFF3E8;
    font-size: 0.8rem;
    font-weight: 900;
    overflow: hidden;
}

.odds-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.odds-team strong {
    color: #0B0B0F;
    font-size: 0.86rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.odds-team.fav strong {
    color: #C62828;
}

.verify-mark {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #FFFFFF;
    background: #1D9BF0;
    font-size: 0.7rem;
    font-weight: 900;
}

.odds-history-modal[hidden] {
    display: none;
}

.odds-history-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(8, 13, 23, 0.62);
}

.odds-history-dialog,
.market-history-panel {
    width: min(640px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #E8E8EC;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.market-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.odds-analysis-summary {
    display: grid;
    gap: 0.18rem;
    margin-top: 0.85rem;
    padding: 0.72rem;
    border-radius: 15px;
    color: #1C1C22;
    background: #FFF8F1;
}

.odds-analysis-summary span {
    color: #FF6A00;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.odds-analysis-summary strong {
    color: #0B0B0F;
    font-size: 0.95rem;
    font-weight: 900;
}

.odds-analysis-summary small {
    color: #6B7280;
    font-size: 0.72rem;
    font-weight: 800;
}

.odds-analysis-grid {
    display: grid;
    gap: 0.72rem;
    margin-top: 0.75rem;
}

.odds-chart-row {
    display: grid;
    gap: 0.55rem;
    padding: 0.75rem;
    border: 1px solid #E8E8EC;
    border-radius: 16px;
    background: #FFFFFF;
}

.odds-chart-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.odds-chart-label strong {
    color: #0B0B0F;
    font-size: 0.92rem;
    font-weight: 900;
}

.odds-chart-label span {
    color: #C62828;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.odds-chart-bars {
    display: grid;
    gap: 0.45rem;
}

.odds-chart-bars span {
    display: grid;
    gap: 0.24rem;
}

.odds-chart-bars small {
    color: #6B7280;
    font-size: 0.68rem;
    font-weight: 800;
}

.odds-chart-bars i {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: #C62828;
}

.odds-chart-bars i.current {
    background: #FF6A00;
}

.ibet-rule-hero {
    display: grid;
    justify-items: start;
}

.ibet-logo-frame {
    display: inline-grid;
    gap: 0.4rem;
    align-items: center;
    justify-items: start;
}

.ibet-logo-img {
    max-width: 150px;
    max-height: 54px;
    object-fit: contain;
}

.ibet-logo-mark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.18rem;
    padding: 0.34rem 0.58rem;
    border-radius: 14px;
    color: #FFFFFF;
    background: #FF6A00;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.ibet-logo-img + .ibet-logo-mark {
    display: none;
}

.ibet-logo-mark strong {
    color: #0B0B0F;
}

.ibet-rule-card {
    display: grid;
    gap: 0.65rem;
    padding: 0.95rem;
}

.ibet-rule-title {
    justify-content: flex-start;
}

.ibet-rule-title .app-icon,
.ibet-rule-warning .app-icon {
    color: #C62828;
}

.ibet-rule-list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ibet-rule-list li {
    padding: 0.58rem 0.66rem;
    border-radius: 13px;
    color: #1C1C22;
    background: #F7F8FA;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.55;
}

.ibet-rule-list li.important {
    color: #C62828;
    background: #FFF1F1;
}

.ibet-rule-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.88rem;
    color: #C62828;
    background: #FFF1F1;
    font-weight: 900;
    line-height: 1.5;
}

.ibet-rule-warning p {
    margin: 0;
}

.ibet-rule-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
}

.accept-btn,
.decline-btn {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    border-radius: 16px;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 900;
}

.accept-btn {
    background: #087443;
}

.decline-btn {
    background: #C62828;
}

@media (max-width: 760px) {
    body.public-page .site-header,
    body.public-page .app-shell,
    body.public-page .app-shell.narrow {
        width: 100%;
    }

    .odds-match-card,
    .ibet-rule-actions {
        grid-template-columns: 1fr;
    }

    .market-rate-list {
        grid-template-columns: 1fr;
    }

    .odds-values {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    body.public-page .category-tile {
        min-height: 72px;
        font-size: 0.56rem;
    }

    body.public-page .tile-icon {
        width: 38px;
        height: 38px;
    }

    body.public-page .bottom-nav {
        width: calc(100% - 20px);
    }

    body.public-page .bottom-nav .nav-item span:last-child {
        font-size: 0.56rem;
    }
}

.profile-avatar {
    border-radius: 50%;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

body.public-page .profile-copy em {
    display: none;
}
