
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f5f6fa;
            min-height: 100vh;
        }

        html.app-android-client,
        html.app-android-client body {
            overflow-x: hidden;
            max-width: 100%;
        }

        .daiban-page {
            min-height: 100vh;
            min-height: 100dvh;
            background: #f5f6fa;
            display: flex;
            flex-direction: column;
        }

        .daiban-header {
            position: relative;
            z-index: 1;
            background: #2b81f2;
            overflow: hidden;
            flex-shrink: 0;
        }

        /* 内置 HTML 头：安全区由 builtin 自己处理，避免与 .daiban-header 顶距叠加 */
        .daiban-header[data-header-mode="builtin"] {
            padding-top: 0 !important;
        }

        .daiban-header-builtin {
            background: linear-gradient(180deg, #2b81f2 0%, #3a8ff5 55%, #4b9af7 100%);
            padding: 10px 16px 18px;
            padding-top: calc(10px + env(safe-area-inset-top, 0px));
        }

        html.app-top-safe-shell .daiban-header-builtin {
            padding-top: calc(10px + var(--app-shell-statusbar-top, env(safe-area-inset-top, 0px)));
        }

        .daiban-header-custom-img[hidden] {
            display: none !important;
            margin: 0 !important;
        }

        .daiban-title-row {
            display: flex;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 12px;
            flex-wrap: nowrap;
        }

        .daiban-title-row h1 {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
            line-height: 1.15;
            letter-spacing: 0.5px;
            flex-shrink: 0;
        }

        .daiban-subtitle {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.88);
            line-height: 1.35;
            flex: 1;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .daiban-tip {
            background: #fdf6e3;
            border-radius: 8px;
            padding: 9px 12px;
            font-size: 12px;
            line-height: 1.5;
            color: #d0890c;
        }

        .daiban-tip-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 14px;
            height: 14px;
            margin-right: 4px;
            border: 1.2px solid currentColor;
            border-radius: 50%;
            font-size: 10px;
            font-weight: 700;
            font-style: normal;
            line-height: 1;
            vertical-align: -1px;
        }

        .daiban-header-custom-img {
            width: 100%;
            display: block;
        }

        @supports (padding-top: env(safe-area-inset-top)) {
            .daiban-header:not([data-header-mode="builtin"]) {
                padding-top: env(safe-area-inset-top, 0px);
            }
            .daiban-header:not([data-header-mode="builtin"]) > .daiban-header-custom-img {
                margin-top: calc(-1 * env(safe-area-inset-top, 0px));
            }
        }

        html.app-top-safe-shell .daiban-header:not([data-header-mode="builtin"]) {
            padding-top: var(--app-shell-statusbar-top, env(safe-area-inset-top, 0px));
            background: #2b81f2;
            overflow: hidden;
        }

        html.app-top-safe-shell .daiban-header:not([data-header-mode="builtin"]) > .daiban-header-custom-img {
            margin-top: calc(-1 * var(--app-shell-statusbar-top, env(safe-area-inset-top, 0px)));
            display: block;
            width: 100%;
        }

        .daiban-content {
            background: #fff;
            border-radius: 16px 16px 0 0;
            margin-top: -12px;
            position: relative;
            z-index: 2;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
            padding-bottom: var(--bottom-nav-clearance, 86px);
        }

        .daiban-tabs {
            display: flex;
            flex-shrink: 0;
            border-bottom: 1px solid #eef0f3;
            background: #fff;
            border-radius: 16px 16px 0 0;
        }

        .daiban-tab {
            flex: 1;
            padding: 14px 0 12px;
            border: none;
            background: none;
            font-size: 16px;
            color: #999;
            position: relative;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }

        .daiban-tab.active {
            color: #222;
            font-weight: 600;
        }

        .daiban-tab.active::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 30px;
            height: 4px;
            background: #2b81f2;
            border-radius: 2px;
        }

        .daiban-panels {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
            background: #f5f6fa;
        }

        .daiban-panel {
            display: none;
            flex: 1;
            min-height: 0;
        }

        .daiban-panel.active {
            display: flex;
            flex-direction: column;
        }

        .daiban-empty {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px 24px 32px;
            text-align: center;
            /* 略偏上，对齐原版空态；勿再叠过大 clearance 导致底栏「悬空过高」 */
            padding-bottom: 32px;
        }

        .daiban-empty img {
            width: 210px;
            max-width: 56vw;
            height: auto;
            display: block;
        }

        .daiban-empty p {
            margin-top: 18px;
            font-size: 15px;
            color: #999;
            line-height: 1.5;
        }
    