    :root {
        color-scheme: light;
        --bg: #f7f8f5;
        --surface: #ffffff;
        --surface-2: #eef2ed;
        --ink: #111411;
        --muted: #677169;
        --soft: #8b968d;
        --card-title: #5f4b32;
        --line: rgba(17, 20, 17, 0.12);
        --accent: #0f766e;
        --accent-2: #84cc16;
        --warn: #b45309;
        --bad: #b42318;
        --status-open: #5f6f3a;
        --status-closed: #7a6147;
        --status-pending: #6b6570;
        --market-up: #a6423a;
        --market-down: #3f5f8f;
        --shadow: 0 18px 60px rgba(17, 20, 17, 0.08);
        --radius: 8px;
        --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        --mono: "SF Mono", "Cascadia Mono", ui-monospace, Menlo, Consolas, monospace;
    }

    body[data-theme="dark"] {
        color-scheme: dark;
        --bg: #111411;
        --surface: #1b201c;
        --surface-2: #242b25;
        --ink: #f3f6ef;
        --muted: #b2beb2;
        --soft: #899588;
        --card-title: #d8c3a5;
        --line: rgba(243, 246, 239, 0.14);
        --accent: #5eead4;
        --accent-2: #a3e635;
        --warn: #fbbf24;
        --bad: #fb7185;
        --status-open: #b8c58a;
        --status-closed: #cdb895;
        --status-pending: #b7b0bd;
        --market-up: #d88f86;
        --market-down: #91abd4;
        --shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
    }

    * {
        box-sizing: border-box;
    }

    html,
    body {
        margin: 0;
        min-height: 100%;
    }

    body {
        background:
            linear-gradient(180deg, rgba(132, 204, 22, 0.08), transparent 280px),
            var(--bg);
        color: var(--ink);
        font-family: var(--font);
        -webkit-font-smoothing: antialiased;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
        word-break: keep-all;
    }

    button,
    a {
        -webkit-tap-highlight-color: transparent;
    }

    a {
        color: inherit;
    }

    .page-shell {
        margin: 0 auto;
        max-width: 1120px;
        padding: max(18px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
        position: relative;
        width: 100%;
    }

    .shell {
        margin: 0;
        max-width: none;
        padding: 0;
        width: 100%;
    }

    .topbar {
        align-items: center;
        display: flex;
        gap: 12px;
        justify-content: space-between;
        min-height: 42px;
    }

    .brand {
        align-items: center;
        display: inline-flex;
        height: 36px;
        justify-content: center;
        width: 36px;
    }

    .brand-mark {
        color: var(--ink);
        display: inline-block;
        font-size: 20px;
        line-height: 1;
    }

    .theme-toggle {
        align-items: center;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--ink);
        cursor: pointer;
        display: inline-flex;
        font: inherit;
        font-size: 15px;
        font-weight: 900;
        height: 36px;
        justify-content: center;
        min-width: 46px;
        padding: 0 12px;
    }

    .hero {
        align-items: stretch;
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
        margin-top: 32px;
    }

    .time-panel,
    .weather-panel,
    .metric-card,
    .links-section {
        background: rgba(255, 255, 255, 0.84);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        min-width: 0;
    }

    body[data-theme="dark"] .time-panel,
    body[data-theme="dark"] .weather-panel,
    body[data-theme="dark"] .metric-card,
    body[data-theme="dark"] .links-section {
        background: rgba(27, 32, 28, 0.92);
    }

    .time-panel {
        min-height: 292px;
        padding: 24px clamp(26px, 5vw, 48px) 28px;
    }

    .eyebrow {
        color: var(--accent);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.08em;
        margin: 0 0 26px;
        text-transform: uppercase;
    }

    .clock-row {
        align-items: end;
        display: flex;
        gap: 14px;
        line-height: 0.9;
    }

    .clock-main {
        font-family: var(--mono);
        font-size: clamp(64px, 12vw, 150px);
        font-weight: 800;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .clock-sec {
        color: var(--soft);
        font-family: var(--mono);
        font-size: clamp(20px, 4vw, 44px);
        font-weight: 800;
        padding-bottom: 0.12em;
    }

    .date-line {
        align-items: center;
        color: var(--muted);
        display: flex;
        flex-wrap: wrap;
        font-size: 16px;
        font-weight: 700;
        gap: 10px;
        margin-top: 18px;
    }

    .dot {
        background: var(--line);
        border-radius: 50%;
        height: 4px;
        width: 4px;
    }

    .progress-grid {
        display: grid;
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 24px;
    }

    .progress-head {
        align-items: center;
        color: var(--muted);
        display: flex;
        font-size: 13px;
        font-weight: 800;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .progress {
        background: var(--surface-2);
        border-radius: 999px;
        height: 8px;
        overflow: hidden;
    }

    .progress > i {
        background: rgba(15, 118, 110, 0.62);
        display: block;
        height: 100%;
        transition: width 400ms ease;
        width: 0;
    }

    .weather-panel {
        display: flex;
        flex-direction: column;
        min-height: 292px;
        padding: 24px;
    }

    .weather-head {
        align-items: flex-start;
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    .weather-head .eyebrow {
        color: var(--card-title);
        margin-bottom: 0;
    }

    .weather-update {
        display: grid;
        gap: 5px;
        justify-items: end;
    }

    .weather-update #weatherUpdated {
        color: var(--muted);
        font-size: 11px;
        font-weight: 800;
    }

    .card-head {
        align-items: flex-start;
        display: flex;
        gap: 8px;
        justify-content: space-between;
    }

    .market-title {
        align-items: center;
        display: inline-flex;
        gap: 10px;
        min-height: 18px;
        min-width: 0;
    }

    .refresh {
        background: transparent;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--muted);
        cursor: pointer;
        font: inherit;
        font-size: 12px;
        font-weight: 900;
        min-height: 34px;
        padding: 0 12px;
    }

    .refresh:active {
        transform: translateY(1px);
    }

    .refresh:disabled {
        cursor: default;
        opacity: 0.62;
    }

    .compact-refresh {
        align-items: center;
        border: 0;
        display: inline-flex;
        font-size: 10px;
        font-weight: 400;
        gap: 4px;
        line-height: 1;
        min-height: 18px;
        padding: 0;
    }

    .refresh-icon {
        font-size: 13px;
        line-height: 1;
    }

    .weather-main {
        align-items: center;
        flex: 1;
        display: grid;
        gap: 18px;
        grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
        justify-content: space-between;
        min-width: 0;
    }

    .weather-primary {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .weather-meta-line {
        color: var(--muted);
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 8px;
    }

    .weather-meta-line span {
        align-items: baseline;
        display: inline-flex;
        gap: 5px;
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
    }

    .weather-meta-line b {
        color: var(--ink);
        font-family: var(--mono);
        font-weight: 900;
    }

    .weather-icon {
        font-size: 54px;
        line-height: 1;
    }

    .temperature {
        font-family: var(--mono);
        font-size: 70px;
        font-weight: 900;
        letter-spacing: 0;
        line-height: 1;
        margin-top: 12px;
    }

    .weather-desc {
        color: var(--muted);
        font-size: 18px;
        font-weight: 800;
        margin-top: 10px;
    }

    .weather-location {
        color: var(--soft);
        font-size: 13px;
        font-weight: 700;
        margin-top: 8px;
    }

    .weather-air {
        border-left: 1px solid var(--line);
        display: flex;
        gap: 14px;
        justify-self: end;
        min-width: 0;
        padding-left: 18px;
    }

    .weather-air-main {
        display: grid;
        gap: 12px;
        min-width: 0;
        flex: 1;
    }

    .weather-air-row {
        display: grid;
        gap: 4px;
        text-align: right;
    }

    .weather-air-row span {
        color: var(--muted);
        font-size: 11px;
        font-weight: 900;
    }

    .weather-air-row b {
        color: var(--ink);
        display: grid;
        font-family: var(--mono);
        font-size: 14px;
        font-weight: 900;
        gap: 3px;
        justify-items: end;
    }

    .weather-air-row .weather-air-grade {
        display: block;
        font-family: var(--font);
        font-size: 28px;
        font-weight: 900;
        line-height: 1;
        margin-right: 0;
    }

    .weather-air-row .weather-air-grade.good {
        color: #15803d;
    }

    .weather-air-row .weather-air-grade.normal {
        color: #a16207;
    }

    .weather-air-row .weather-air-grade.bad {
        color: var(--bad);
    }

    body[data-theme="dark"] .weather-air-row .weather-air-grade.good {
        color: #8fbd72;
    }

    body[data-theme="dark"] .weather-air-row .weather-air-grade.normal {
        color: #d1b464;
    }

    body[data-theme="dark"] .weather-air-row .weather-air-grade.bad {
        color: #d99a8f;
    }

    .weather-air-value small {
        color: var(--muted);
        font-family: var(--font);
        font-size: 10px;
        font-weight: 800;
        margin-left: 2px;
    }

    .metrics {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 18px;
    }

    .metric-card {
        min-height: 118px;
        padding: 18px;
    }

    .market-card {
        display: flex;
        flex-direction: column;
    }

    .air-display {
        align-items: center;
        display: flex;
        gap: 14px;
        margin-top: 18px;
    }

    .air-dot {
        align-items: center;
        background: var(--surface-2);
        border: 2px solid var(--line);
        border-radius: 50%;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 13px;
        font-weight: 900;
        height: 58px;
        justify-content: center;
        width: 58px;
    }

    .air-dot.good {
        background: rgba(132, 204, 22, 0.16);
        border-color: var(--accent-2);
        color: #15803d;
    }

    .air-dot.normal {
        background: rgba(250, 204, 21, 0.2);
        border-color: #eab308;
        color: #a16207;
    }

    .air-dot.bad {
        background: rgba(180, 35, 24, 0.13);
        border-color: var(--bad);
        color: var(--bad);
    }

    .air-numbers {
        color: var(--ink);
        display: grid;
        font-size: 14px;
        font-weight: 700;
        gap: 8px;
        line-height: 1.35;
    }

    .air-numbers > span {
        display: grid;
        gap: 2px;
    }

    .air-name {
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
    }

    .air-reading {
        color: var(--ink);
        font-size: 16px;
        font-weight: 900;
        white-space: nowrap;
    }

    .air-unit {
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
    }

    .metric-card.wide {
        grid-column: span 2;
    }

    .metric-label {
        color: var(--card-title);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.04em;
        margin: 0;
        text-transform: uppercase;
    }

    .metric-value {
        font-family: var(--mono);
        font-size: 30px;
        font-weight: 900;
        line-height: 1;
        margin-top: 18px;
    }

    .metric-sub {
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
        margin-top: 10px;
    }

    .market-card .metric-sub {
        margin-top: auto;
        padding-top: 10px;
    }

    .holiday-card {
        display: flex;
        flex-direction: column;
    }

    .holiday-main {
        display: grid;
        gap: 10px;
        margin-top: 34px;
    }

    .holiday-count {
        align-items: baseline;
        color: var(--ink);
        display: inline-flex;
        font-family: var(--mono);
        font-size: 30px;
        font-weight: 900;
        gap: 4px;
        line-height: 1;
    }

    .holiday-count small {
        color: var(--muted);
        font-family: var(--font);
        font-size: 12px;
        font-weight: 800;
    }

    .holiday-count .holiday-remaining {
        font-size: 11px;
        line-height: 1;
        opacity: 0.85;
        margin-left: 4px;
    }

    .holiday-name {
        color: var(--ink);
        font-size: 18px;
        font-weight: 900;
        line-height: 1.2;
    }

    .holiday-card .metric-sub {
        margin-top: auto;
        padding-top: 10px;
    }

    .air-stack {
        display: grid;
        gap: 24px;
        margin-top: 28px;
    }

    .air-row {
        align-items: center;
        display: grid;
        gap: 4px 12px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .air-summary {
        align-items: baseline;
        color: var(--ink);
        display: flex;
        gap: 8px;
        font-family: var(--mono);
        font-size: 15px;
        font-weight: 900;
        justify-content: flex-end;
        justify-self: end;
        text-align: right;
    }

    #airCard .air-grade {
        font-family: var(--font);
        font-size: 18px;
        font-weight: 900;
        line-height: 1;
    }

    #airCard .air-grade[data-air-tone="good"] {
        color: #15803d;
    }

    #airCard .air-grade[data-air-tone="normal"] {
        color: #a16207;
    }

    #airCard .air-grade[data-air-tone="bad"] {
        color: #c2410c;
    }

    #airCard .air-grade[data-air-tone="verybad"] {
        color: #b91c1c;
    }

    .air-value {
        align-items: baseline;
        display: flex;
        gap: 4px;
    }

    .air-scale {
        display: grid;
        gap: 4px;
        grid-column: 1 / -1;
        grid-template-columns: repeat(4, 1fr);
        margin-top: 2px;
    }

    .air-scale i {
        background: var(--surface-2);
        border-radius: 999px;
        display: block;
        height: 3px;
    }

    .air-scale[data-air-tone="good"] i:nth-child(-n+1) {
        background: #15803d;
    }

    .air-scale[data-air-tone="normal"] i:nth-child(-n+2) {
        background: #a16207;
    }

    .air-scale[data-air-tone="bad"] i:nth-child(-n+3) {
        background: #c2410c;
    }

    .air-scale[data-air-tone="verybad"] i:nth-child(-n+4) {
        background: #b91c1c;
    }

    .air-scale[data-air-tone="good"] {
        opacity: 0.95;
    }

    .air-scale[data-air-tone="normal"] {
        opacity: 0.95;
    }

    .air-scale[data-air-tone="bad"] {
        opacity: 0.95;
    }

    .dust-row {
        align-items: baseline;
        display: flex;
        gap: 10px;
        justify-content: space-between;
        margin-top: 34px;
    }

    .dust-grade {
        font-size: 30px;
        font-weight: 900;
        line-height: 1;
    }

    .dust-value {
        align-items: baseline;
        color: var(--ink);
        display: flex;
        gap: 4px;
        font-family: var(--mono);
        font-size: 18px;
        font-weight: 900;
        justify-content: flex-end;
        text-align: right;
    }

    .dust-scale {
        display: grid;
        gap: 4px;
        grid-template-columns: repeat(4, 1fr);
        margin-top: 16px;
    }

    .dust-scale i {
        background: var(--surface-2);
        border-radius: 999px;
        display: block;
        height: 5px;
    }

    .dust-card[data-air-tone="good"] .dust-scale i:nth-child(-n+1) {
        background: #15803d;
    }

    .dust-card[data-air-tone="normal"] .dust-scale i:nth-child(-n+2) {
        background: #a16207;
    }

    .dust-card[data-air-tone="bad"] .dust-scale i:nth-child(-n+3) {
        background: var(--bad);
    }

    .dust-card[data-air-tone="good"] .dust-grade {
        color: #15803d;
    }

    .dust-card[data-air-tone="normal"] .dust-grade {
        color: #a16207;
    }

    .dust-card[data-air-tone="bad"] .dust-grade {
        color: #c2410c;
    }

    .dust-card[data-air-tone="verybad"] .dust-grade {
        color: #b91c1c;
    }

    body[data-theme="dark"] .dust-card[data-air-tone="good"] .dust-grade {
        color: #8fbd72;
    }

    body[data-theme="dark"] .dust-card[data-air-tone="normal"] .dust-grade {
        color: #d1b464;
    }

    body[data-theme="dark"] .dust-card[data-air-tone="bad"] .dust-grade {
        color: #d99a8f;
    }

    body[data-theme="dark"] .dust-card[data-air-tone="verybad"] .dust-grade {
        color: #ff6b6b;
    }

    .sun-times {
        display: grid;
        gap: 12px;
        margin-top: 18px;
    }

    .sun-time {
        align-items: center;
        display: grid;
        font-family: var(--mono);
        font-size: 22px;
        font-weight: 900;
        gap: 10px;
        grid-template-columns: 84px minmax(0, 1fr);
        line-height: 1.1;
    }

    .sun-time > span:last-child {
        justify-self: end;
    }

    .sun-label {
        align-items: center;
        display: flex;
        color: var(--muted);
        font-family: var(--font);
        font-size: 13px;
        font-weight: 900;
        gap: 6px;
        white-space: nowrap;
    }

    .sun-icon {
        flex: 0 0 18px;
        font-family: var(--font);
        font-size: 17px;
        line-height: 1;
        text-align: center;
        width: 18px;
    }

    .sun-duration {
        border-top: 1px solid var(--line);
        color: var(--muted);
        display: grid;
        font-size: 12px;
        font-weight: 800;
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) auto;
        margin-top: 4px;
        padding-top: 12px;
    }

    .sun-duration span:last-child {
        color: var(--muted);
        font-family: var(--font);
        font-weight: 700;
    }

    .mini-progress {
        background: var(--surface-2);
        border-radius: 999px;
        height: 6px;
        margin-top: 14px;
        overflow: hidden;
    }

    .mini-progress > i {
        background: rgba(15, 118, 110, 0.62);
        display: block;
        height: 100%;
        width: 0;
    }

    .market-rows {
        display: grid;
        gap: 8px;
        margin-top: 14px;
    }

    .market-status {
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 900;
        line-height: 1.1;
        margin-left: -2px;
        padding: 2px 7px;
        white-space: nowrap;
    }

    .market-status.open {
        background: color-mix(in srgb, var(--status-open) 12%, transparent);
        border-color: color-mix(in srgb, var(--status-open) 36%, transparent);
        color: var(--status-open);
    }

    .market-status.closed,
    .market-status.preopen {
        background: color-mix(in srgb, var(--status-closed) 12%, transparent);
        border-color: color-mix(in srgb, var(--status-closed) 34%, transparent);
        color: var(--status-closed);
    }

    .market-status.pending {
        background: color-mix(in srgb, var(--status-pending) 10%, transparent);
        border-color: color-mix(in srgb, var(--status-pending) 28%, transparent);
        color: var(--status-pending);
    }

    .market-row {
        align-items: center;
        display: grid;
        gap: 10px;
        grid-template-columns: 54px minmax(0, 1fr) auto;
    }

    .market-name {
        font-family: var(--font);
        font-size: 14px;
        font-weight: 900;
    }

    .market-price,
    .market-delta {
        font-family: var(--mono);
        font-size: 14px;
        font-weight: 900;
    }

    .market-price {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .market-delta.up {
        color: var(--market-up);
    }

    .market-delta.down {
        color: var(--market-down);
    }

    .links-section {
        background: #e3ded4;
        border-color: rgba(17, 20, 17, 0.08);
        box-shadow: none;
        margin-top: 18px;
        padding: 18px;
    }

    body[data-theme="dark"] .links-section {
        background: #0d100e;
        border-color: rgba(243, 246, 239, 0.06);
    }

    .section-head {
        align-items: end;
        border-bottom: 1px solid var(--line);
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .section-title {
        color: var(--card-title);
        font-size: 14px;
        font-weight: 900;
        margin: 0;
    }

    .section-count {
        color: var(--soft);
        font-size: 12px;
        font-weight: 800;
    }

    .links-grid {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(3, 1fr);
    }

    .link-item {
        background: rgba(247, 248, 245, 0.58);
        border: 1px solid rgba(17, 20, 17, 0.08);
        border-radius: var(--radius);
        color: var(--ink);
        display: block;
        min-height: 78px;
        padding: 14px;
        text-decoration: none;
        transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
    }

    body[data-theme="dark"] .link-item {
        background: rgba(18, 22, 19, 0.82);
        border-color: rgba(243, 246, 239, 0.06);
        color: #c4cdbf;
    }

    .link-item:hover {
        background: rgba(255, 255, 255, 0.72);
        border-color: var(--accent);
        transform: translateY(-2px);
    }

    body[data-theme="dark"] .link-item:hover {
        background: rgba(24, 29, 25, 0.94);
    }

    .link-title {
        color: #3f463f;
        font-size: 17px;
        font-weight: 900;
        margin: 0 0 8px;
    }

    body[data-theme="dark"] .links-section .section-title,
    body[data-theme="dark"] .links-section .section-count {
        color: #5f695d;
    }

    body[data-theme="dark"] .link-title {
        color: #a8b3a4;
    }

    .link-desc {
        color: #727a72;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.45;
        margin: 0;
    }

    body[data-theme="dark"] .link-desc {
        color: #6f796c;
    }

    .side-ad {
        left: calc(100% + 24px);
        min-height: 600px;
        overflow: hidden;
        position: absolute;
        top: max(18px, env(safe-area-inset-top));
        width: 300px;
    }

    .side-ad .adsbygoogle {
        min-height: 600px;
        width: 300px;
    }

    @media (min-width: 1180px) and (max-height: 920px) {
        .page-shell {
            padding-bottom: 14px;
            padding-top: 14px;
        }

        .hero {
            gap: 14px;
            margin-top: 16px;
        }

        .time-panel {
            min-height: 268px;
            padding: 20px clamp(22px, 4vw, 38px) 24px;
        }

        .weather-panel {
            min-height: 268px;
            padding: 20px;
        }

        .metrics {
            gap: 10px;
            margin-top: 10px;
        }

        .metric-card {
            min-height: 104px;
            padding: 15px;
        }

        .links-section {
            margin-top: 10px;
            padding: 15px;
        }

        .link-item {
            min-height: 68px;
            padding: 12px 14px;
        }
    }

    @media (max-width: 1768px) {
        .side-ad {
            display: none;
        }
    }

    @media (max-width: 860px) {
        .hero {
            grid-template-columns: 1fr;
        }

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

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

    @media (max-width: 520px) {
        .page-shell {
            padding-left: 14px;
            padding-right: 14px;
        }

        .shell {
            padding-left: 0;
            padding-right: 0;
        }

        .hero {
            margin-top: 18px;
        }

        .time-panel,
        .weather-panel {
            min-height: auto;
            padding: 22px 18px;
        }

        .progress-grid {
            gap: 10px;
            margin-top: 20px;
        }

        .clock-row {
            gap: 8px;
        }

        .clock-main {
            font-size: clamp(56px, 19vw, 86px);
        }

        .clock-sec {
            font-size: 22px;
        }

        .date-line {
            font-size: 13px;
            margin-top: 18px;
        }

        .air-numbers {
            font-size: 13px;
        }

        .air-reading {
            font-size: 14px;
        }

        .air-unit,
        .air-name {
            font-size: 11px;
        }

        .temperature {
            font-size: 54px;
        }

        .weather-main {
            gap: 14px;
            grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
        }

        .weather-meta-line {
            gap: 8px;
            flex-wrap: nowrap;
        }

        .weather-meta-line span {
            font-size: 11px;
            gap: 4px;
        }

        .air-summary {
            font-size: 14px;
            gap: 5px;
        }

        .air-stack {
            gap: 12px;
        }

        #airCard .air-grade {
            font-size: 15px;
        }

        .air-scale {
            gap: 3px;
            margin-top: 2px;
        }

        .air-scale i {
            height: 3px;
        }

        .weather-air {
            padding-left: 14px;
        }

        .weather-air-row b {
            font-size: 12px;
        }

        .weather-air-row .weather-air-grade {
            font-size: 24px;
        }

        .holiday-main {
            margin-top: 28px;
        }

        .holiday-count {
            font-size: 26px;
        }

        .holiday-count .holiday-remaining {
            font-size: 10px;
            margin-left: 3px;
        }

        .holiday-name {
            font-size: 16px;
        }

        .sun-time {
            grid-template-columns: 80px minmax(0, 1fr);
        }

        .sun-label {
            gap: 5px;
        }

        .sun-icon {
            flex-basis: 16px;
            width: 16px;
        }

        .metric-card {
            padding: 15px;
        }

        .metric-value {
            font-size: 24px;
        }

        .metric-card.wide {
            grid-column: span 2;
        }

        .market-card {
            grid-column: auto;
        }

        .links-section {
            padding: 18px;
        }
    }


