﻿:root {
    --bg: #edf1f5;
    --card: #ffffff;
    --border: #e6e7eb;
    --text: #1f2328;
    --sub: #6b7280;
    --red: #e53935;
    --red-soft: #ffebe9;
    --green: #16a34a;
    --blue: #3b82f6;
    --orange: #f59e0b;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --radius: 4px;
    --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
    background: #edf1f5;
    background-color: var(--bg);
    color: var(--text);
    padding-bottom: 78px;
}

a {
    text-decoration: none;
}

button {
    font: inherit;
}

.app {
    max-width: 760px;
    margin: auto;
    padding: 14px 14px 8px;
}

/* 顶部 */
.site-app-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.88);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
}

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

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.site-app-logo {
    color: var(--text);
    flex: 0 1 auto;
    max-width: min(360px, 56vw);
}

.site-app-logo > div:last-child {
    min-width: 0;
}

.site-app-header-status {
    min-width: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 1 1 auto;
}

.site-app-header-status .hero-kicker {
    flex: 0 0 auto;
    color: var(--sub);
    font-size: 11px;
    line-height: 1;
    opacity: 1;
}

.site-app-header-status .hero-badge {
    max-width: 96px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-color: #ffd0ca;
    background: #fff2ef;
    color: #b42318;
    box-shadow: 0 6px 16px rgba(217, 45, 32, .08);
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: 0 0 auto;
}

.logo-box img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: block;
}

.logo-title {
    font-weight: 800;
    font-size: 16px;
    line-height: 1.1;
}

.logo-sub {
    font-size: 11px;
    color: var(--sub);
    margin-top: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.login-wrap {
    position: relative;
    flex: 0 0 auto;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 96px;
    max-width: 196px;
    min-height: 38px;
    padding: 6px 12px 6px 8px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff7f5 0%, #ffffff 100%);
    border: 1px solid #efb6b0;
    font-size: 13px;
    font-weight: 700;
    color: #8f231e;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(221, 75, 57, 0.12);
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.login-btn:hover {
    background: linear-gradient(180deg, #fff2ef 0%, #fff9f8 100%);
    border-color: #e89c95;
    box-shadow: 0 10px 24px rgba(221, 75, 57, 0.16);
    transform: translateY(-1px);
}

.login-btn.is-open {
    background: linear-gradient(180deg, #ffece8 0%, #fff8f7 100%);
    border-color: #df7f74;
    box-shadow: 0 12px 26px rgba(221, 75, 57, 0.2);
}

.login-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3d4cf, #eaa79e);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #555;
    font-weight: 700;
    overflow: hidden;
    flex: 0 0 auto;
}

.login-avatar.has-image {
    background: #fff2ef;
}

.login-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-name {
    max-width: 108px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.login-caret {
    font-size: 11px;
    color: #b1453b;
    margin-left: 2px;
    flex: 0 0 auto;
}

.login-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 148px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    z-index: 80;
}

.login-menu-item {
    display: block;
    width: 100%;
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.2;
    color: var(--text);
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
}

.login-menu-item + .login-menu-item {
    border-top: 1px solid #f0f1f4;
}

.login-menu-item:hover {
    background: #f7f8fa;
}

.login-menu-item.danger {
    color: #c62828;
}

/* 今日状态卡 */
.hero-app {
    background: linear-gradient(150deg, #df4b3e 0%, #ba231f 100%);
    border-radius: var(--radius);
    padding: 12px 12px 10px;
    color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 14px 30px rgba(186, 35, 31, 0.2);
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.hero-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    opacity: 0.9;
}

.hero-badge {
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.hero-summary {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 6px;
    margin-top: 10px;
}

.metric {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 8px;
    border-radius: var(--radius);
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.metric-label {
    font-size: 10px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}

.metric strong {
    display: inline-block;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    text-align: right;
}

.metric strong a {
    color: #fff;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.quick-action {
    display: block;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e8d8d6;
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.quick-action.primary {
    background: linear-gradient(180deg, #fff4f2 0%, #ffffff 100%);
    border-color: #efbdb7;
}

.quick-action:only-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 14px;
}

.qa-title {
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.qa-sub {
    margin-top: 4px;
    color: var(--sub);
    font-size: 12px;
    line-height: 1.45;
}

.quick-action:only-child .qa-sub {
    margin-top: 0;
    text-align: right;
}

/* 工具网格 */
.tools {
    display: grid;
    gap: 10px;
}

.tool {
    position: relative;
    display: block;
    min-height: 98px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
}

.tool::after {
    content: "";
    position: absolute;
    right: -10px;
    top: -10px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
}

.tool-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.tool-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.tool-icon .stroke {
    stroke: rgba(255, 255, 255, .96);
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.tool-icon .fill {
    fill: rgba(255, 255, 255, .96);
}

.tool span {
    display: block;
    position: relative;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    z-index: 1;
}

.tool small {
    display: block;
    position: relative;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
    z-index: 1;
}

.tools-primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
}

.tools-primary .tool {
    min-height: 108px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.tools-primary .tool span,
.tools-primary .tool small {
    color: #fff;
}

.tools-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.tools-secondary .tool {
    background: #fff;
    border-color: #e8eaee;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.tools-secondary .tool::after {
    background: rgba(15, 23, 42, 0.04);
}

.tools-secondary .tool .tool-icon {
    color: inherit;
}

.tools-secondary .tool .stroke {
    stroke: currentColor;
}

.tools-secondary .tool .fill {
    fill: currentColor;
}

.tools-secondary .tool span {
    color: var(--text);
}

.tools-secondary .tool small {
    color: var(--sub);
}

.tool-green {
    background: #2fa66a;
    color: #2fa66a;
}

.tool-red {
    background: #dd4b39;
    color: #dd4b39;
}

.tool-blue {
    background: #3b82f6;
    color: #3b82f6;
}

.tool-purple {
    background: #8b5cf6;
    color: #8b5cf6;
}

.tool-orange {
    background: #f59e0b;
    color: #f59e0b;
}

.tool-cyan {
    background: #06b6d4;
    color: #06b6d4;
}

.tool-teal {
    background: #0f766e;
    color: #0f766e;
}

.tool-brown {
    background: #8b5e3c;
    color: #8b5e3c;
}

.tool-slate {
    background: #64748b;
    color: #64748b;
}

.tool-indigo {
    background: #4f46e5;
    color: #4f46e5;
}

.tools-secondary .tool-green,
.tools-secondary .tool-red,
.tools-secondary .tool-blue,
.tools-secondary .tool-purple,
.tools-secondary .tool-orange,
.tools-secondary .tool-cyan,
.tools-secondary .tool-teal,
.tools-secondary .tool-brown,
.tools-secondary .tool-slate,
.tools-secondary .tool-indigo {
    background: #fff;
}

.upset-board {
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #dfd4c7;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: 0 8px 22px rgba(92, 64, 42, 0.07);
}

.upset-board-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.upset-board-date {
    flex: 0 0 auto;
    font-size: 12px;
    color: #8b6b55;
}

.upset-board-list {
    display: grid;
    gap: 8px;
}

.upset-board-tabs {
    display: flex;
    flex: 1 1 auto;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 0;
    padding-bottom: 2px;
    margin-bottom: 0;
    scrollbar-width: none;
}

.upset-board-tabs::-webkit-scrollbar {
    display: none;
}

.upset-board-tab {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 6px 9px;
    border: 1px solid #eadfd2;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.upset-board-tab.is-active {
    border-color: #d3b89c;
    background: #f9efe3;
    box-shadow: 0 4px 12px rgba(123, 77, 47, 0.08);
}

.upset-board-tab strong,
.upset-board-tab span {
    display: inline;
}

.upset-board-tab strong {
    font-size: 11px;
    font-weight: 800;
    color: #5c4330;
}

.upset-board-tab span {
    margin-top: 0;
    font-size: 10px;
    color: #8b6b55;
}

.upset-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #eadfd2;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    color: inherit;
}

.upset-card.is-loading,
.upset-card.is-empty {
    grid-template-columns: 38px minmax(0, 1fr);
}

.login-lock-card.login-lock-card-compact {
    position: relative;
    overflow: hidden;
    min-height: 136px;
    padding: 18px 14px;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 1px solid rgba(201, 164, 74, 0.22);
    border-radius: 4px;
    background:
        radial-gradient(circle at top right, rgba(225, 186, 89, 0.20), transparent 34%),
        radial-gradient(circle at bottom left, rgba(165, 120, 36, 0.10), transparent 32%),
        linear-gradient(135deg, rgba(255, 251, 239, 0.98) 0%, rgba(249, 239, 206, 0.96) 52%, rgba(255, 252, 244, 0.98) 100%);
    box-shadow: 0 10px 22px rgba(96, 68, 18, 0.08);
    text-align: center;
    cursor: pointer;
}

.login-lock-card.login-lock-card-compact::after {
    content: "";
    position: absolute;
    inset: auto -28px -28px auto;
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(207, 167, 71, 0.18), rgba(207, 167, 71, 0));
    pointer-events: none;
}

.login-lock-card.login-lock-card-compact .login-lock-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(202, 164, 72, 0.22);
    background: linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(255, 246, 217, 0.94) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.74), 0 8px 18px rgba(138, 103, 30, 0.10);
}

.login-lock-card.login-lock-card-compact .login-lock-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #ae8026;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-lock-card.login-lock-card-compact .login-lock-text {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #8b6520;
}

.upset-rank {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #a66d3f 0%, #86512a 100%);
    color: #fff7ef;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upset-main {
    min-width: 0;
}

.upset-main strong,
.upset-main span {
    display: block;
}

.upset-main strong {
    font-size: 14px;
    line-height: 1.35;
    color: #2f2722;
}

.upset-main span {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.5;
    color: #756657;
}

.upset-side {
    text-align: right;
}

.upset-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 7px 10px;
    border-radius: var(--radius);
    background: #fff2ee;
    color: #c53f37;
    font-size: 15px;
    font-weight: 800;
}

.upset-level {
    margin-top: 5px;
    font-size: 11px;
    color: #8a7764;
    white-space: nowrap;
}

/* 文章导航 */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 10px;
}

.section-head h3 {
    font-weight: 800;
    font-size: 15px;
}

.app-section-head {
    margin-top: 4px;
}

.section-head-lite h3 {
    font-size: 14px;
    color: #4b5563;
}

.section-more {
    font-size: 12px;
    color: var(--sub);
    cursor: pointer;
}

.section-more:hover {
    color: var(--text);
}

.article-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.article-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e8eaee;
    border-radius: var(--radius);
    padding: 10px 11px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.article-card small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--sub);
    font-weight: 400;
}

.article-summary {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */
.site-footer {
    margin-top: 18px;
    padding: 18px 14px 22px;
    text-align: center;
    font-size: 12px;
    color: var(--sub);
    border-top: 1px solid #e5e7eb;
}

.site-footer .law-note {
    margin-bottom: 10px;
    color: #cf2f2f !important;
    line-height: 1.5;
}

.site-footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    line-height: 1.7;
}

.site-footer .footer-links a {
    color: var(--sub);
    text-decoration: none;
}

.site-footer .footer-links a:hover {
    color: var(--text);
}

.site-footer .sep {
    margin: 0 2px;
    color: #c4c7cc;
}

.site-footer .footer-meta {
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.site-footer .slogan {
    margin-top: 2px;
    color: #8a8f98;
}

.app-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(229, 231, 235, 0.95);
    box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(18px);
}

.app-tabbar-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
}

.app-tab {
    min-width: 0;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 4px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.app-tab svg {
    width: 23px;
    height: 23px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.app-tab span {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.app-tab:hover {
    color: #b42318;
    background: #fff5f3;
}

.app-tab.active {
    color: #d92d20;
    background: #fff0ed;
}

@media (max-width: 520px) {
    .quick-action:only-child {
        grid-template-columns: 1fr;
    }

    .quick-action:only-child .qa-sub {
        text-align: left;
    }

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

    .article-nav {
        grid-template-columns: 1fr;
    }

    .upset-card {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .upset-side {
        grid-column: 2;
        text-align: left;
    }

    .login-lock-card.login-lock-card-compact {
        min-height: 118px;
        padding: 16px 12px;
        gap: 8px;
    }

    .login-lock-card.login-lock-card-compact .login-lock-icon {
        width: 56px;
        height: 56px;
    }

    .login-lock-card.login-lock-card-compact .login-lock-icon svg {
        width: 30px;
        height: 30px;
    }

    .login-lock-card.login-lock-card-compact .login-lock-text {
        font-size: 19px;
    }

    .login-btn {
        max-width: 138px;
        min-width: auto;
    }

    .login-name {
        max-width: 56px;
    }

    .hero-app {
        padding: 12px 12px 10px;
    }

    .hero-summary {
        font-size: 14px;
    }

    .hero-metrics {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .metric {
        padding: 6px 7px;
        gap: 4px;
    }

    .metric-label {
        font-size: 10px;
    }

    .metric strong {
        font-size: 12px;
    }
}
@media (min-width: 521px) {
    .quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 521px) and (max-width: 720px) {
    .tools-secondary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 721px) {
    .hero-app {
        padding: 14px 14px 12px;
    }

    .hero-summary {
        max-width: 92%;
    }

    .hero-metrics {
        gap: 8px;
    }

    .metric {
        padding: 7px 9px;
    }

    .tools-primary,
    .tools-secondary,
    .article-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer .footer-inner {
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 14px 12px calc(18px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 720px) {
    body {
        padding-bottom: 72px;
    }

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

    .site-app-header-status {
        flex: 0 1 auto;
        gap: 5px;
    }

    .site-app-header-status .hero-kicker {
        display: none;
    }

    .site-app-header-status .hero-badge {
        max-width: 82px;
        min-height: 28px;
        padding: 4px 8px;
        font-size: 11px;
    }

    .app {
        padding: 8px 6px 6px;
    }

    .header,
    .hero-top,
    .hero-metrics,
    .quick-actions,
    .article-nav,
    .site-footer .footer-inner {
        gap: 6px;
    }

    .hero-app,
    .feature-card,
    .tool-card,
    .article-card {
        padding: 8px;
    }

    .hero-summary {
        font-size: 15px;
        line-height: 1.45;
    }

    .app-tabbar-inner {
        padding: 5px 6px calc(5px + env(safe-area-inset-bottom, 0px));
        gap: 2px;
    }

    .app-tab {
        min-height: 50px;
    }
}


