@charset "UTF-8";

/* ============================================================================
 * Private Sun Yat-sen Memorial Hall — Subpage & Event Styles (subpage.css)
 * ============================================================================
 * COMMENTING STANDARDS
 * 1. Block comments only. Inline comments are strictly prohibited.
 * 2. Section dividers use the === banner format.
 * 3. All prose is written in English.
 * ============================================================================ */

@layer page {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 20px 40px 20px;
        min-height: 100vh;
        overflow-x: clip;
        background-color: var(--sys-bg, #000000);
        color: var(--sys-text, #f5f5f7);
        font-family: var(--sys-font-family, -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang SC", "Microsoft JhengHei", sans-serif);
    }

    /* ========================================================================
     * Apple Native Top Navigation Bar (Frosted Glass Header)
     * ======================================================================== */
    .apple-top-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(44px + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        display: none;
        align-items: flex-end;
        justify-content: center;
        background: var(--sys-surface-glass, rgba(22, 22, 24, 0.86));
        backdrop-filter: blur(25px) saturate(190%);
        -webkit-backdrop-filter: blur(25px) saturate(190%);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        border-bottom: 0.5px solid var(--sys-border, rgba(255, 255, 255, 0.14));
        z-index: 25000;
        box-sizing: border-box;
        user-select: none;
        -webkit-user-select: none;
    }

    .apple-top-nav .nav-title {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: -0.3px;
        color: var(--sys-ink-strong, #ffffff);
        font-family: var(--sys-font-family);
        margin: 0;
        padding: 0 116px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: 44px;
        line-height: 44px;
        display: block;
        text-align: center;
        pointer-events: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.26s ease;
    }

    /* Apple Native Blue Back Button */
    .apple-top-nav .nav-back-link {
        position: absolute;
        left: 0;
        top: env(safe-area-inset-top, 0px);
        bottom: 0;
        height: 44px;
        padding-left: calc(8px + env(safe-area-inset-left, 0px));
        padding-right: 4px;
        max-width: 112px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 2px;
        color: var(--sys-accent, #0a84ff);
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;
        font-family: var(--sys-font-family);
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        z-index: 25005;
        touch-action: manipulation;
        pointer-events: auto;
        visibility: visible;
        opacity: 1;
    }

    .apple-top-nav .nav-back-link svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        stroke: var(--sys-accent, #0a84ff);
        stroke-width: 2.5;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 0.24s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.24s ease;
    }

    .apple-top-nav .nav-back-link:active {
        opacity: 0.35;
        transition: opacity 0.08s ease;
    }

    .apple-top-nav .nav-back-link #nav-back-text {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: transform 0.24s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.24s ease, color 0.2s ease;
    }

    /* ========================================================================
     * Apple Native Hero Banner
     * ======================================================================== */
    .festival-hero {
        width: 100%;
        max-width: 800px;
        margin: 10px auto 20px auto;
        text-align: center;
        padding: 26px 20px 22px;
        background: var(--sys-surface, #1c1c1e);
        border-radius: 16px;
        border: 0.5px solid var(--sys-border, rgba(255, 255, 255, 0.12));
        box-shadow: var(--sys-shadow-card);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--sys-transition-standard, all 0.3s ease);
    }

    .festival-hero .festival-badge {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin: 0 auto 12px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        background: var(--sys-fill, rgba(255, 255, 255, 0.08));
        border: 0.5px solid var(--sys-border-subtle, rgba(255, 255, 255, 0.08));
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .festival-hero .festival-icon {
        font-size: 28px;
        line-height: 1;
        display: block;
    }

    .festival-hero h1 {
        color: var(--sys-text, #f5f5f7);
        font-size: 20px;
        font-weight: 700;
        margin: 0 0 4px 0;
        text-align: center;
        letter-spacing: -0.2px;
        line-height: 1.35;
    }

    .festival-hero .festival-date {
        color: var(--sys-accent, #0a84ff);
        font-size: 13.5px;
        font-weight: 500;
        letter-spacing: normal;
        margin: 0 0 8px 0;
        text-align: center;
    }

    .festival-hero .festival-desc {
        color: var(--sys-text-secondary, #8e8e93);
        font-size: 13.5px;
        line-height: 1.5;
        margin: 0 auto;
        max-width: 90%;
        text-align: center;
    }

    /* ========================================================================
     * Markdown Content & Charts Card
     * ======================================================================== */
    .markdown-container,
    .charts-container {
        position: relative;
        width: 100%;
        max-width: 800px;
        min-height: 280px;
        height: auto;
        flex-shrink: 0;
        background-color: var(--sys-surface, #1c1c1e);
        padding: 35px 32px;
        border-radius: 14px;
        box-shadow: var(--sys-shadow-card);
        border: 0.5px solid var(--sys-border, rgba(255, 255, 255, 0.12));
        box-sizing: border-box;
        opacity: 1;
        margin: 10px auto 25px auto;
    }

    zero-md {
        display: block;
        width: 100%;
        min-height: 100%;
    }

    .markdown-container:not(.loaded) zero-md {
        opacity: 0;
        pointer-events: none;
    }

    .markdown-container.loaded zero-md {
        opacity: 1;
        transition: opacity 0.25s ease-in;
    }

    .charts-container {
        display: none;
    }

    .markdown-container.loaded,
    .charts-container.loaded {
        opacity: 1;
    }

    .markdown-container.active,
    .charts-container.active {
        display: block;
    }

    .chart-box {
        margin-bottom: 40px;
    }

    .chart-title {
        color: var(--sys-text, #f5f5f7);
        text-align: center;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        letter-spacing: 1px;
        border-bottom: 0.5px solid var(--sys-border, rgba(255, 255, 255, 0.12));
        padding-bottom: 10px;
    }

    .show-all-btn {
        background-color: var(--sys-fill, rgba(255, 255, 255, 0.08));
        color: var(--sys-text, #f5f5f7);
        border: 0.5px solid var(--sys-border, rgba(255, 255, 255, 0.12));
        padding: 6px 16px;
        border-radius: 16px;
        cursor: pointer;
        font-family: var(--sys-font-family);
        font-size: 13px;
        font-weight: 500;
        transition: var(--sys-transition-standard, all 0.3s ease);
    }

    .show-all-btn:hover {
        border-color: var(--sys-accent, #0a84ff);
        color: var(--sys-accent, #0a84ff);
        background-color: var(--sys-fill-hover, rgba(255, 255, 255, 0.12));
    }

    /* ========================================================================
     * iOS Inset Grouped Table View & Option List
     * ======================================================================== */
    .ios-group-container {
        width: 100%;
        max-width: 680px;
        margin: 6px auto 16px auto;
        box-sizing: border-box;
    }

    .ios-section-header {
        font-size: 12px;
        font-weight: 500;
        color: var(--sys-text-secondary, #8e8e93);
        text-transform: uppercase;
        letter-spacing: 0.3px;
        margin: 12px 0 5px 16px;
        font-family: var(--sys-font-family);
        user-select: none;
        -webkit-user-select: none;
    }

    .ios-section-header:first-child {
        margin-top: 6px;
    }

    .ios-card {
        background-color: var(--sys-surface, #1c1c1e);
        border-radius: 11px;
        border: 0.5px solid var(--sys-border-subtle, rgba(255, 255, 255, 0.08));
        overflow: hidden;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .ios-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 44px;
        padding: 10px 16px;
        cursor: pointer;
        text-decoration: none;
        color: var(--sys-text, #f5f5f7);
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.15s ease, color 0.18s ease;
        position: relative;
        user-select: none;
        -webkit-user-select: none;
        box-sizing: border-box;
    }

    .ios-row:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        left: 16px;
        height: 0.5px;
        background-color: var(--sys-border-subtle, rgba(255, 255, 255, 0.08));
    }

    .ios-row:active {
        background-color: var(--sys-fill, rgba(255, 255, 255, 0.08));
    }

    .ios-row-title {
        font-size: 15.5px;
        font-weight: 400;
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--sys-text, #f5f5f7);
        font-family: var(--sys-font-family);
        letter-spacing: 0.2px;
    }

    /* ========================================================================
     * iOS Settings App Icon Badges (iOS 18 Dark & Light Specification)
     * ======================================================================== */
    .ios-badge {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-sizing: border-box;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .ios-badge svg {
        width: 17px;
        height: 17px;
        stroke: none;
        transition: fill 0.2s ease, color 0.2s ease;
    }

    /* Dark Mode Default: Pure Black Tile + Thin Hairline Ring + Colored SF Symbol */
    .ios-badge[class*="badge-"] {
        background-color: #000000;
        box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.22), 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    .ios-badge.badge-blue svg   { fill: #0a84ff; color: #0a84ff; }
    .ios-badge.badge-purple svg { fill: #bf5af2; color: #bf5af2; }
    .ios-badge.badge-red svg    { fill: #ff453a; color: #ff453a; }
    .ios-badge.badge-orange svg { fill: #ff9f0a; color: #ff9f0a; }
    .ios-badge.badge-green svg  { fill: #30d158; color: #30d158; }
    .ios-badge.badge-teal svg   { fill: #64d2ff; color: #64d2ff; }
    .ios-badge.badge-indigo svg { fill: #5e5ce6; color: #5e5ce6; }
    .ios-badge.badge-gray svg   { fill: #98989d; color: #98989d; }
    .ios-badge.badge-dark svg   { fill: #ebebf5; color: #ebebf5; }

    .ios-row.has-badge:not(:last-child)::after {
        left: 56px;
    }

    .ios-row-value {
        color: var(--sys-text-secondary, #8e8e93);
        font-size: 14.5px;
        font-family: var(--sys-font-family);
    }

    .ios-row-accessory {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--sys-text-secondary, #8e8e93);
        font-size: 14px;
        font-family: var(--sys-font-family);
    }

    .ios-chevron {
        width: 13px;
        height: 13px;
        stroke: var(--sys-text-secondary, #8e8e93);
        fill: none;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), stroke 0.2s ease;
    }

    /* Radio Option Items (Language Selector) */
    .ios-option-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
        padding: 10px 16px;
        cursor: pointer;
        color: var(--sys-text, #f5f5f7);
        font-size: 14.5px;
        transition: color 0.15s ease;
        user-select: none;
        -webkit-user-select: none;
    }

    .ios-option-item:not(:last-child) {
        border-bottom: 0.5px solid var(--sys-border-subtle, rgba(255, 255, 255, 0.06));
    }

    .ios-option-item .ios-check-icon,
    .ios-option-item .ios-checkmark {
        width: 20px;
        height: 20px;
        opacity: 0;
        transition: opacity 0.18s ease;
        flex-shrink: 0;
    }

    .ios-option-item .ios-checkmark path {
        stroke: var(--sys-accent, #0a84ff);
    }

    .ios-option-item.selected {
        color: var(--sys-text, #f5f5f7);
        font-weight: 500;
    }

    .ios-option-item.selected .ios-check-icon,
    .ios-option-item.selected .ios-checkmark {
        opacity: 1;
    }

    .lang-text-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 3px;
    }

    .lang-primary-name {
        font-size: 16px;
        font-weight: 500;
        color: var(--sys-text, #f5f5f7);
        letter-spacing: -0.2px;
    }

    .lang-secondary-desc {
        font-size: 12.5px;
        color: var(--sys-text-secondary, #8e8e93);
        font-weight: 400;
        letter-spacing: -0.1px;
    }

    .ios-section-footer {
        font-size: 13px;
        color: var(--sys-text-secondary, #8e8e93);
        line-height: 1.45;
        padding: 8px 16px 0 16px;
    }

    /* ========================================================================
     * Responsive Viewport Rules
     * ======================================================================== */
    @media (min-width: 769px) {
        html:not(.device-mobile) .icon-ios { display: none; }
        html:not(.device-mobile) .icon-macos { display: block; }
    }

    @media (max-width: 768px) {
        html {
            min-height: 100%;
            min-height: 100.5vh;
            min-height: calc(100lvh + 1px);
        }

        body {
            padding: calc(44px + env(safe-area-inset-top, 0px) + 8px) 0 calc(65px + env(safe-area-inset-bottom, 34px)) 0;
            width: 100%;
            min-height: 100%;
            min-height: 100.5vh;
            min-height: calc(100lvh + 1px);
            box-sizing: border-box;
        }

        @media all and (display-mode: standalone) {
            html,
            body {
                min-height: 100%;
                min-height: 100.5vh;
                min-height: calc(100lvh + 1px);
            }
        }

        .apple-top-nav {
            display: flex;
            width: 100%;
        }

        .top-back-btn {
            display: none;
        }

        .markdown-container {
            width: calc(100% - 32px);
            margin: 10px auto;
            padding: 18px 16px;
            box-sizing: border-box;
            border-radius: 11px;
        }

        .festival-hero {
            width: calc(100% - 32px);
            padding: 18px 14px 16px;
            margin-top: 10px;
            box-sizing: border-box;
            border-radius: 11px;
        }

        .ios-group-container {
            width: calc(100% - 32px);
            margin: 6px auto 16px auto;
            box-sizing: border-box;
        }

        .charts-container {
            width: calc(100% - 32px);
            margin: 10px auto 20px auto;
            padding: 20px 16px;
            box-sizing: border-box;
            border-radius: 11px;
        }

        .ios-section-header {
            margin: 12px 0 5px 16px;
        }

        .ios-section-header:first-child {
            margin-top: 6px;
        }

        .icon-ios { display: block; }
        .icon-macos { display: none; }
    }

    /* Tablet & Mobile Fingerprinted Devices (Including iPad Portrait/Landscape) */
    html.device-mobile body {
        padding: calc(44px + env(safe-area-inset-top, 0px) + 8px) 0 calc(65px + env(safe-area-inset-bottom, 34px)) 0;
        width: 100%;
        min-height: 100%;
        min-height: 100.5vh;
        min-height: calc(100lvh + 1px);
        box-sizing: border-box;
    }

    html.device-mobile .apple-top-nav {
        display: flex;
    }

    html.device-mobile .top-back-btn {
        display: none;
    }

    html.is-standalone,
    html.is-standalone body {
        min-height: 100%;
        min-height: 100.5vh;
        min-height: calc(100lvh + 1px);
    }

    /* ========================================================================
     * Light Mode Theme Overrides (Apple Black & White Grouped Gallery)
     * ======================================================================== */
    @media (prefers-color-scheme: light) {
        body {
            background-color: var(--sys-bg, #f2f2f7);
            color: var(--sys-text, #1d1d1f);
        }

        .apple-top-nav {
            background: var(--sys-surface-glass, rgba(255, 255, 255, 0.84));
            backdrop-filter: blur(25px) saturate(190%);
            -webkit-backdrop-filter: blur(25px) saturate(190%);
            border-bottom-color: rgba(0, 0, 0, 0.10);
        }

        .apple-top-nav .nav-title {
            color: #1d1d1f;
        }

        .apple-top-nav .nav-back-link {
            color: #007aff;
        }

        .apple-top-nav .nav-back-link svg {
            stroke: #007aff;
        }

        .festival-hero {
            background: #ffffff;
            border-color: rgba(0, 0, 0, 0.08);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
        }

        .festival-hero .festival-badge {
            background: rgba(0, 0, 0, 0.04);
            border-color: rgba(0, 0, 0, 0.06);
            box-shadow: none;
        }

        .festival-hero h1 {
            color: #1d1d1f;
            text-shadow: none;
        }

        .markdown-container,
        .charts-container {
            background-color: #ffffff;
            border-color: rgba(0, 0, 0, 0.08);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        }

        .ios-card {
            background-color: #ffffff;
            border-color: rgba(0, 0, 0, 0.08);
            box-shadow: none;
        }

        .ios-section-header {
            color: #6e6e73;
        }

        .ios-row {
            color: #1d1d1f;
        }

        .ios-row-title {
            color: #1d1d1f;
        }

        .ios-row:not(:last-child)::after {
            background-color: rgba(0, 0, 0, 0.08);
        }

        .ios-row:active {
            background-color: rgba(0, 0, 0, 0.04);
        }

        .ios-option-item {
            color: #1d1d1f;
        }

        .ios-option-item.selected {
            color: #1d1d1f;
        }

        .ios-option-item .ios-check-icon {
            stroke: #007aff;
        }

        .ios-option-item:not(:last-child) {
            border-bottom-color: rgba(0, 0, 0, 0.06);
        }

        /* Light Mode: Classic Apple Colored Tile + Pure White Glyph */
        .ios-badge[class*="badge-"] {
            box-shadow: none;
        }

        .ios-badge[class*="badge-"] svg {
            fill: #ffffff;
            color: #ffffff;
        }

        .ios-badge.badge-blue   { background-color: #007aff; }
        .ios-badge.badge-purple { background-color: #af52de; }
        .ios-badge.badge-red    { background-color: #ff3b30; }
        .ios-badge.badge-orange { background-color: #ff9500; }
        .ios-badge.badge-green  { background-color: #34c759; }
        .ios-badge.badge-teal   { background-color: #30b0c7; }
        .ios-badge.badge-indigo { background-color: #5856d6; }
        .ios-badge.badge-gray   { background-color: #8e8e93; }
        .ios-badge.badge-dark   { background-color: #1d1d1f; }
    }
}

/* ============================================================================
 * Card-Scoped Activity Indicator Overrides
 * ============================================================================ */
@layer components {
    .markdown-container > .sys-activity-overlay,
    .charts-container > .sys-activity-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 280px;
        border-radius: 14px;
        background-color: var(--sys-surface, #1c1c1e);
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    @media (prefers-color-scheme: light) {
        .markdown-container > .sys-activity-overlay,
        .charts-container > .sys-activity-overlay {
            background-color: #ffffff;
        }
    }
}

/* ============================================================================
 * iOS Native Navigation Push/Pop Animation & Gesture Overrides
 * ============================================================================ */
@layer overrides {
    @keyframes iosNavLabelToCenter {
        0% {
            transform: translate3d(0, 0, 0);
            color: #0a84ff;
            opacity: 1;
        }
        35% {
            opacity: 0;
            color: #0a84ff;
        }
        65% {
            opacity: 0;
            color: #ffffff;
        }
        100% {
            transform: translate3d(var(--nav-center-offset, 135px), 0, 0);
            color: #ffffff;
            font-weight: 600;
            opacity: 1;
        }
    }

    @keyframes iosNavCenterToLabel {
        0% {
            transform: translate3d(var(--nav-center-offset, 135px), 0, 0);
            color: #ffffff;
            font-weight: 600;
            opacity: 1;
        }
        35% {
            opacity: 0;
            color: #ffffff;
        }
        65% {
            opacity: 0;
            color: #0a84ff;
        }
        100% {
            transform: translate3d(0, 0, 0);
            color: #0a84ff;
            opacity: 1;
        }
    }

    .ios-content-sliding-out {
        transform: translate3d(100%, 0, 0);
        transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.55);
        pointer-events: none;
    }

    .ios-content-dragging {
        transition: none;
        box-shadow: -12px 0 30px rgba(0, 0, 0, 0.45);
        will-change: transform;
    }

    .ios-nav-label-sliding-center {
        animation: iosNavLabelToCenter 0.26s cubic-bezier(0.32, 0.72, 0, 1) forwards;
    }

    .ios-nav-label-sliding-from-center {
        animation: iosNavCenterToLabel 0.26s cubic-bezier(0.32, 0.72, 0, 1) forwards;
    }

    .ios-nav-chevron-exit {
        transform: translate3d(-14px, 0, 0);
        opacity: 0;
        transition: transform 0.22s ease, opacity 0.18s ease;
    }

    .ios-nav-title-exit {
        transform: translate3d(60px, 0, 0);
        opacity: 0;
        transition: transform 0.24s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease;
    }

    .ios-nav-title-enter {
        transform: translate3d(60px, 0, 0);
        opacity: 0;
        transition: none;
    }

    .ios-nav-title-enter-active {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.26s ease;
    }

    .ios-nav-chevron-enter {
        transform: translate3d(10px, 0, 0);
        opacity: 0;
        transition: none;
    }

    .ios-nav-chevron-enter-active {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        transition: transform 0.24s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.24s ease;
    }

    .ios-nav-label-enter {
        transform: translate3d(20px, 0, 0);
        opacity: 0;
        transition: none;
    }

    .ios-nav-label-enter-active {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        transition: transform 0.24s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.24s ease;
    }

    .ios-nav-back-enter {
        transform: translate3d(-10px, 0, 0);
        opacity: 0;
        transition: none;
    }

    .ios-nav-back-enter-active {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        transition: transform 0.24s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.24s ease;
    }

    .ios-content-entering {
        transform: translate3d(100%, 0, 0);
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.55);
        transition: none;
        pointer-events: none;
    }

    .ios-content-enter-active {
        transform: translate3d(0, 0, 0);
        transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.55);
    }

    @media (prefers-color-scheme: light) {
        @keyframes iosNavLabelToCenter {
            0% {
                transform: translate3d(0, 0, 0);
                color: #007aff;
                opacity: 1;
            }
            35% {
                opacity: 0;
                color: #007aff;
            }
            65% {
                opacity: 0;
                color: #1d1d1f;
            }
            100% {
                transform: translate3d(var(--nav-center-offset, 135px), 0, 0);
                color: #1d1d1f;
                font-weight: 600;
                opacity: 1;
            }
        }

        @keyframes iosNavCenterToLabel {
            0% {
                transform: translate3d(var(--nav-center-offset, 135px), 0, 0);
                color: #1d1d1f;
                font-weight: 600;
                opacity: 1;
            }
            35% {
                opacity: 0;
                color: #1d1d1f;
            }
            65% {
                opacity: 0;
                color: #007aff;
            }
            100% {
                transform: translate3d(0, 0, 0);
                color: #007aff;
                opacity: 1;
            }
        }

        .ios-content-sliding-out,
        .ios-content-dragging,
        .ios-content-entering,
        .ios-content-enter-active {
            box-shadow: -10px 0 25px rgba(0, 0, 0, 0.16);
        }
    }
}
