@charset "utf-8";
/**
 * 苹果极简主题 v1.0
 * 独立完整样式，不依赖默认 style.css
 * 灵感：Apple Design — 纯黑/浅灰交替节奏、单一蓝色交互、毛玻璃导航、极致留白
 */

/* ---------- LCD 数码管字体 ---------- */
@font-face {
    font-family: 'DSEG7';
    src: url('../../fonts/DSEG7Classic-Bold.woff2') format('woff2'),
         url('../../fonts/DSEG7Classic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

/* ---------- Design Tokens ---------- */
:root {
    --ap-black: #000000;
    --ap-gray: #f5f5f7;
    --ap-near-black: #1d1d1f;
    --ap-blue: #0071e3;
    --ap-link: #0066cc;
    --ap-link-dark: #2997ff;
    --ap-white: #ffffff;
    --ap-text: #1d1d1f;
    --ap-text80: rgba(0,0,0,0.8);
    --ap-text48: rgba(0,0,0,0.48);
    --ap-surface1: #272729;
    --ap-surface2: #2a2a2d;
    --ap-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ap-font-mono: "SF Mono", "Cascadia Code", Consolas, monospace;
    --ap-font-digit: "DSEG7", monospace;
    --ap-radius: 12px;
    --ap-radius-sm: 8px;
    --ap-shadow: 3px 5px 30px rgba(0,0,0,0.08);
    --ap-shadow-hover: 3px 5px 40px rgba(0,0,0,0.14);
    --ap-max-w: 980px;
    --ap-ease: cubic-bezier(0.25,0.46,0.45,0.94);
    --ap-nav-h: 48px;
}

body {
    font-family: var(--ap-font);
    color: var(--ap-text);
    background: var(--ap-white);
    line-height: 1.47;
    letter-spacing: -0.374px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s, opacity 0.3s; }
ul, li { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
em { font-style: normal; }
strong { font-weight: 600; }

/* ---------- 容器 ---------- */
.ap-container {
    max-width: var(--ap-max-w);
    width: 92%;
    margin: 0 auto;
    padding: 0;
}

/* ==========================================================
   毛玻璃导航栏
========================================================== */
.ap-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    height: var(--ap-nav-h);
    background: rgba(0,0,0,0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.ap-nav-inner {
    max-width: var(--ap-max-w);
    width: 92%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ap-nav-brand {
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-white);
    letter-spacing: -0.1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ap-nav-brand a { color: var(--ap-white); }

.ap-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    justify-content: center;
}

.ap-nav-list::-webkit-scrollbar { display: none; }

.ap-nav-list a {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    padding: 0 10px;
    height: var(--ap-nav-h);
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: color 0.3s;
    position: relative;
}

.ap-nav-list a:hover { color: var(--ap-white); }

.ap-nav-list a.active {
    color: var(--ap-white);
}

.ap-nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--ap-blue);
    border-radius: 1px;
}

/* 移动端菜单按钮 */
.ap-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    color: var(--ap-white);
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 移动端全屏菜单（桌面端始终隐藏） */
.ap-mobile-menu { display: none; }

/* ==========================================================
   Hero 区 — 黑色沉浸式
========================================================== */
.ap-hero {
    background: var(--ap-black);
    text-align: center;
    padding: 60px 20px 52px;
    position: relative;
}

.ap-hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.48);
    margin-bottom: 16px;
}

.ap-hero-eyebrow span { color: var(--ap-link-dark); }

.ap-hero-clock {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 20px;
    animation: apFadeDown 0.8s var(--ap-ease) both;
}

.ap-hero-time, .hero-time {
    font-family: var(--ap-font-digit);
    font-size: 5.5rem;
    font-weight: bold;
    color: var(--ap-white);
    line-height: 1;
    letter-spacing: 4px;
}

.ap-hero-time .colon, .hero-time .colon {
    opacity: 1;
    transition: opacity 0.2s ease;
    margin: 0 -2px;
}

.ap-hero-time .colon.off, .hero-time .colon.off { opacity: 0.15; }

.ap-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: apFadeDown 0.8s 0.1s var(--ap-ease) both;
}

.ap-hero-date, .hero-date {
    font-size: 17px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
}

.ap-hero-tz, .hero-tz {
    font-size: 12px;
    font-weight: 600;
    color: var(--ap-link-dark);
    background: rgba(41,151,255,0.1);
    border: 1px solid rgba(41,151,255,0.2);
    padding: 4px 14px;
    border-radius: 980px;
    letter-spacing: 0.5px;
}

/* ==========================================================
   内容区段 — 浅灰与白交替
========================================================== */
.ap-section {
    padding: 52px 0 48px;
}

.ap-section--gray {
    background: var(--ap-gray);
}

.ap-section--white {
    background: var(--ap-white);
}

.ap-section--dark {
    background: var(--ap-black);
    color: var(--ap-white);
}

.ap-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 28px;
}

.ap-section-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: 0.196px;
    color: var(--ap-near-black);
}

.ap-section--dark .ap-section-title { color: var(--ap-white); }

.ap-section-badge {
    font-size: 12px;
    color: var(--ap-text48);
    font-family: var(--ap-font-mono);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ap-section--dark .ap-section-badge { color: rgba(255,255,255,0.48); }

.ap-pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ap-blue);
    animation: apPulse 2s ease-in-out infinite;
}

@keyframes apPulse {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,113,227,0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(0,113,227,0); }
}

/* ==========================================================
   时区卡片网格
========================================================== */
.ap-tz-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.ap-tz-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--ap-white);
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow);
    transition: all 0.35s var(--ap-ease);
    animation: apFadeUp 0.4s var(--ap-ease) both;
}

.ap-section--gray .ap-tz-card { background: var(--ap-white); }

.ap-tz-card:hover {
    box-shadow: var(--ap-shadow-hover);
    transform: translateY(-2px);
}

.ap-tz-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ap-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--ap-text48);
    font-family: var(--ap-font-mono);
    flex-shrink: 0;
}

.ap-tz-info { flex: 1; min-width: 0; }

.ap-tz-city {
    font-size: 17px;
    font-weight: 600;
    color: var(--ap-near-black);
    line-height: 1.24;
    letter-spacing: -0.374px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ap-tz-city:hover { color: var(--ap-blue); }

.ap-tz-sub {
    font-size: 12px;
    color: var(--ap-text48);
    letter-spacing: -0.12px;
}

.ap-tz-led {
    min-width: 140px;
    text-align: center;
    background: var(--ap-black);
    border-radius: var(--ap-radius-sm);
    padding: 10px 14px;
    position: relative;
    overflow: hidden;
}

.ap-tz-led::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,transparent 0px,transparent 3px,rgba(255,255,255,0.015) 3px,rgba(255,255,255,0.015) 4px);
    pointer-events: none;
}

.ap-led-time {
    font-family: var(--ap-font-digit);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--ap-link-dark);
    text-shadow: 0 0 12px rgba(41,151,255,0.4), 0 0 30px rgba(41,151,255,0.1);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.ap-tz-offset {
    font-size: 11px;
    font-weight: 600;
    color: var(--ap-blue);
    background: rgba(0,113,227,0.06);
    padding: 4px 12px;
    border-radius: 980px;
    font-family: var(--ap-font-mono);
    white-space: nowrap;
    flex-shrink: 0;
}

.ap-tz-date {
    font-size: 12px;
    color: var(--ap-text48);
    font-family: var(--ap-font-mono);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
    letter-spacing: -0.12px;
}

.ap-tz-diff {
    font-size: 11px;
    font-family: var(--ap-font-mono);
    padding: 2px 8px;
    border-radius: 980px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ap-tz-diff.ahead { color: #34c759; background: rgba(52,199,89,0.08); }
.ap-tz-diff.behind { color: #ff3b30; background: rgba(255,59,48,0.08); }
.ap-tz-diff.same { color: var(--ap-blue); background: rgba(0,113,227,0.06); }

/* ==========================================================
   快捷标签
========================================================== */
.ap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ap-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ap-text80);
    background: var(--ap-white);
    border-radius: var(--ap-radius-sm);
    box-shadow: var(--ap-shadow);
    transition: all 0.3s var(--ap-ease);
    letter-spacing: -0.224px;
}

.ap-section--gray .ap-tag { background: var(--ap-white); }

.ap-tag:hover {
    color: var(--ap-blue);
    box-shadow: var(--ap-shadow-hover);
    transform: translateY(-2px);
}

.ap-tag .ap-tag-flag {
    font-size: 10px;
    font-family: var(--ap-font-mono);
    font-weight: 600;
    color: var(--ap-text48);
    background: var(--ap-gray);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ap-tag:hover .ap-tag-flag { color: var(--ap-blue); }

.ap-tag .ap-tag-tz {
    font-size: 10px;
    font-family: var(--ap-font-mono);
    color: var(--ap-text48);
    background: var(--ap-gray);
    padding: 2px 8px;
    border-radius: 980px;
}

/* ==========================================================
   信息折叠面板
========================================================== */
.ap-info-section { margin-top: 8px; }

.ap-info-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow);
    overflow: hidden;
    margin-bottom: 8px;
}

.ap-section--gray .ap-info-card { background: var(--ap-white); }

.ap-info-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 14px;
    color: var(--ap-text80);
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: -0.224px;
    transition: all 0.3s;
}

.ap-info-toggle:hover { color: var(--ap-blue); }

.ap-info-icon {
    font-size: 10px;
    transition: transform 0.4s var(--ap-ease);
    color: var(--ap-text48);
}

.ap-info-toggle.open .ap-info-icon {
    transform: rotate(180deg);
    color: var(--ap-blue);
}

.ap-info-body { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ap-ease); }
.ap-info-body.open { max-height: 1200px; }

.ap-info-inner {
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--ap-text80);
    line-height: 1.71;
    letter-spacing: -0.224px;
}

.ap-info-inner p { margin-bottom: 12px; text-indent: 2em; }
.ap-info-inner p:last-child { margin-bottom: 0; }
.ap-info-inner strong { color: var(--ap-blue); }

/* ==========================================================
   面包屑
========================================================== */
.ap-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0 20px;
    font-size: 12px;
    color: var(--ap-text48);
    letter-spacing: -0.12px;
}

.ap-breadcrumb a { color: var(--ap-link); }
.ap-breadcrumb a:hover { text-decoration: underline; }
.ap-breadcrumb .ap-sep { margin: 0 2px; opacity: 0.4; }
.ap-breadcrumb .ap-current { color: var(--ap-text80); }

/* ==========================================================
   国家/城市信息卡
========================================================== */
.ap-detail-card {
    background: var(--ap-white);
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow);
    overflow: hidden;
    margin-bottom: 32px;
    animation: apFadeUp 0.5s var(--ap-ease) both;
}

.ap-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.ap-detail-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--ap-near-black);
    line-height: 1.14;
    letter-spacing: 0.196px;
    margin: 0;
}

.ap-detail-tz {
    font-size: 12px;
    font-weight: 600;
    color: var(--ap-blue);
    background: rgba(0,113,227,0.06);
    padding: 6px 16px;
    border-radius: 980px;
    font-family: var(--ap-font-mono);
}

.ap-detail-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.ap-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    border-right: 1px solid rgba(0,0,0,0.04);
    transition: background 0.3s;
}

.ap-detail-item:nth-child(2n) { border-right: none; }
.ap-detail-item:nth-last-child(-n+2) { border-bottom: none; }
.ap-detail-item[style*="grid-column"] { border-right: none; }
.ap-detail-item:hover { background: var(--ap-gray); }

.ap-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ap-text48);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ap-detail-value {
    font-size: 17px;
    font-weight: 400;
    color: var(--ap-near-black);
    letter-spacing: -0.374px;
}

/* 国家简介 */
.ap-desc-card {
    background: var(--ap-gray);
    border-radius: var(--ap-radius);
    padding: 20px 24px;
    margin-bottom: 32px;
}

.ap-desc-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ap-text48);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.ap-desc-card p {
    font-size: 14px;
    color: var(--ap-text80);
    line-height: 1.71;
    letter-spacing: -0.224px;
    margin: 0;
}

/* ==========================================================
   城市列表
========================================================== */
.ap-city-list {
    background: var(--ap-white);
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow);
    overflow: hidden;
}

.ap-city-list ul {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0;
}

.ap-city-list li {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 12px 20px;
    min-height: 44px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}
@media (hover: hover) {
    .ap-city-list li:hover { background: var(--ap-gray); }
}

.ap-city-list li em {
    font-style: normal;
    font-size: 12px;
    color: var(--ap-text48);
    font-family: var(--ap-font-mono);
    min-width: 28px;
    margin-right: 10px;
    text-align: right;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.ap-city-list li a {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--ap-near-black);
    letter-spacing: -0.224px;
    margin-right: 10px;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

@media (hover: hover) {
    .ap-city-list li a:hover { color: var(--ap-blue); }
}

.ap-city-list li .countrytime {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-blue);
    font-family: var(--ap-font-mono);
    white-space: nowrap;
}

/* ==========================================================
   国家标签
========================================================== */
.ap-country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ap-country-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ap-link);
    background: transparent;
    border: 1px solid var(--ap-link);
    border-radius: 980px;
    transition: all 0.3s var(--ap-ease);
    letter-spacing: -0.224px;
}

.ap-country-tag:hover {
    background: var(--ap-blue);
    color: var(--ap-white);
    border-color: var(--ap-blue);
}

/* ==========================================================
   页脚
========================================================== */
.ap-footer {
    background: var(--ap-gray);
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 20px 0;
    font-size: 12px;
    color: var(--ap-text48);
    letter-spacing: -0.12px;
}

.ap-footer-inner {
    max-width: var(--ap-max-w);
    width: 92%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-footer-friendlinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 4px 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ap-footer-friendlinks .ap-fl-label {
    font-weight: 600;
    color: var(--ap-text48);
}

.ap-footer-friendlinks a {
    color: var(--ap-link);
}

.ap-footer-friendlinks a:hover { text-decoration: underline; }

.ap-footer-links {
    display: flex;
    gap: 16px;
    padding-bottom: 8px;
}

.ap-footer-links a { color: var(--ap-link); }
.ap-footer-links a:hover { text-decoration: underline; }

.ap-footer-copy { color: var(--ap-text48); }
.ap-footer-copy a { color: var(--ap-link); }

.ap-footer-disclaimer {
    font-size: 12px;
    color: var(--ap-text48);
    line-height: 1.5;
    max-width: 700px;
}

/* 广告位 */
.ad-slot { max-width: var(--ap-max-w); margin: 0 auto; padding: 0 4%; text-align: center; }
.ad-slot:empty { display: none; }
.ad-nav_below { padding-top: 12px; }
.ad-content_top { padding-bottom: 8px; }
.ad-content_bottom { padding-top: 8px; }
.ad-footer_above { padding: 12px 4% 0; }

/* ==========================================================
   404 页面
========================================================== */
.ap-404 {
    text-align: center;
    padding: 100px 20px;
}

.ap-404 h1 {
    font-size: 96px;
    font-weight: 600;
    color: var(--ap-near-black);
    line-height: 1.07;
    letter-spacing: -0.5px;
}

.ap-404 p {
    font-size: 21px;
    font-weight: 400;
    color: var(--ap-text48);
    margin: 16px 0 40px;
    line-height: 1.19;
}

.ap-404 a {
    display: inline-block;
    padding: 8px 24px;
    background: var(--ap-blue);
    color: var(--ap-white);
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    transition: opacity 0.3s;
}

.ap-404 a:hover { opacity: 0.85; }

/* ==========================================================
   兼容：JS 动态生成的 Hero / 卡片元素
========================================================== */

/* --- container 基础 --- */
.container {
    max-width: var(--ap-max-w);
    width: 92%;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Hero（来自 index.php） --- */
.hero {
    background: var(--ap-black) !important;
    text-align: center !important;
    padding: 60px 20px 52px;
    position: relative !important;
}

.hero::before, .hero::after { display: none !important; }

.hero-eyebrow {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 4px !important;
    color: rgba(255,255,255,0.48) !important;
    margin-bottom: 16px !important;
}

.hero-eyebrow span { color: var(--ap-link-dark) !important; }

.hero-clock {
    display: flex !important;
    justify-content: center !important;
    align-items: baseline !important;
    margin-bottom: 20px !important;
}

.hero-time {
    font-family: var(--ap-font-digit) !important;
    font-size: 5.5rem !important;
    font-weight: bold !important;
    color: var(--ap-white) !important;
    line-height: 1 !important;
    letter-spacing: 4px !important;
    text-shadow: none !important;
}

.hero-time .colon { opacity: 1 !important; margin: 0 -2px !important; }
.hero-time .colon.off { opacity: 0.15 !important; }

.hero-meta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.hero-date {
    font-size: 17px !important;
    color: rgba(255,255,255,0.8) !important;
    font-weight: 400 !important;
}

.hero-tz {
    font-size: 12px !important;
    color: var(--ap-link-dark) !important;
    background: rgba(41,151,255,0.1) !important;
    border: 1px solid rgba(41,151,255,0.2) !important;
    padding: 4px 14px !important;
    border-radius: 980px !important;
    font-weight: 600 !important;
}

/* --- 时区卡片 --- */
#tzGrid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
}

.tz-card {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 16px !important;
    padding: 14px 20px !important;
    background: var(--ap-white) !important;
    border: none !important;
    border-radius: var(--ap-radius) !important;
    box-shadow: var(--ap-shadow) !important;
    transition: all 0.35s var(--ap-ease) !important;
    animation: apFadeUp 0.4s var(--ap-ease) both !important;
}

.tz-card:hover {
    box-shadow: var(--ap-shadow-hover) !important;
    transform: translateY(-2px) !important;
}

.card-head {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 1 1 260px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.city-block {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.city-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: var(--ap-gray) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--ap-text48) !important;
    flex-shrink: 0 !important;
}

.city-text { min-width: 0 !important; }

.city-name {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--ap-near-black) !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.city-name:hover { color: var(--ap-blue) !important; }

.city-sub {
    font-size: 12px !important;
    color: var(--ap-text48) !important;
}

.offset-tag {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--ap-blue) !important;
    background: rgba(0,113,227,0.06) !important;
    border: none !important;
    padding: 4px 12px !important;
    border-radius: 980px !important;
    font-family: var(--ap-font-mono) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.led-screen {
    min-width: 120px !important;
    text-align: center !important;
    background: var(--ap-black) !important;
    border-radius: var(--ap-radius-sm) !important;
    padding: 10px 14px !important;
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}

.led-screen::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: repeating-linear-gradient(0deg,transparent 0px,transparent 3px,rgba(255,255,255,0.015) 3px,rgba(255,255,255,0.015) 4px) !important;
    pointer-events: none !important;
}

.led-screen::after { display: none !important; }

.led-time {
    font-family: var(--ap-font-digit) !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: var(--ap-link-dark) !important;
    text-shadow: 0 0 12px rgba(41,151,255,0.4), 0 0 30px rgba(41,151,255,0.1) !important;
    line-height: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

.led-time .colon {
    color: var(--ap-link-dark) !important;
}

.card-foot {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    border: none !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

.card-date {
    font-size: 12px !important;
    color: var(--ap-text48) !important;
    font-family: var(--ap-font-mono) !important;
    white-space: nowrap !important;
}

.card-diff {
    font-size: 11px !important;
    font-family: var(--ap-font-mono) !important;
    padding: 2px 8px !important;
    border-radius: 980px !important;
    white-space: nowrap !important;
    border: none !important;
}

.card-diff.ahead { color: #34c759 !important; background: rgba(52,199,89,0.08) !important; }
.card-diff.behind { color: #ff3b30 !important; background: rgba(255,59,48,0.08) !important; }
.card-diff.same { color: var(--ap-blue) !important; background: rgba(0,113,227,0.06) !important; }

/* 内页兼容 */
.countrytime {
    color: var(--ap-blue) !important;
    font-family: var(--ap-font-mono) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}
.main-content { display: block; }

/* 键盘焦点 */
:focus-visible {
    outline: 2px solid var(--ap-blue);
    outline-offset: 2px;
    border-radius: 4px;
}
button:focus-visible, a:focus-visible { outline-offset: 1px; }

/* ==========================================================
   动画
========================================================== */
@keyframes apFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes apFadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   响应式
========================================================== */
@media (max-width: 734px) {
    .ap-nav-list { display: none; }
    .ap-menu-btn { display: flex; }

    /* 移动端导航全屏菜单 */
    .ap-mobile-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.96);
        z-index: 998;
        padding: var(--ap-nav-h) 20px 20px;
        flex-direction: column;
        gap: 0;
        overflow-y: auto;
    }

    .ap-mobile-menu.open { display: flex; }

    .ap-mobile-menu a {
        display: block;
        font-size: 17px;
        font-weight: 600;
        color: var(--ap-white);
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        letter-spacing: -0.374px;
    }

    .ap-mobile-menu a.active { color: var(--ap-link-dark); }
    .ap-mobile-menu a:last-child { border-bottom: none; }

    .ap-hero { padding: 48px 16px 40px !important; }
    .ap-hero-time, .hero-time { font-size: 3.5rem !important; }
    .hero { padding: 48px 16px 40px !important; }
    .hero-time { font-size: 3.5rem !important; }

    .ap-section { padding: 36px 0 32px; }
    .ap-section-title { font-size: 21px; }

    .ap-tz-led, .led-screen { min-width: 100px !important; }
    .ap-tz-date, .card-date { display: none !important; }

    .ap-detail-body { grid-template-columns: 1fr; }
    .ap-detail-item { border-right: none; }
    .ap-detail-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,0.04); }
    .ap-detail-item:last-child { border-bottom: none; }
    .ap-detail-name { font-size: 21px; }

    .ap-city-list li:last-child { border-bottom: none; }

    .ap-footer-inner { text-align: center; align-items: center; }
    .ap-footer-friendlinks { justify-content: center; }
}

@media (min-width: 1068px) {
    #tzGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .ap-tz-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

}

@media (min-width: 1440px) {
    #tzGrid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

}
