/* ── 添加城市 ── */
.wc-add {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.wc-select {
    flex: 1;
}

/* ── 城市时钟网格 ── */
.wc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wc-card {
    background: #fafafa;
    border: 1px solid #e8eaf0;
    border-radius: 10px;
    padding: 1.2rem;
    position: relative;
    transition: box-shadow 0.2s;
}

.wc-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.wc-card.highlight {
    border-color: #2563eb;
    background: #f0f5ff;
}

.wc-city {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}

.wc-tz {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 0.6rem;
}

.wc-time {
    font-family: 'Fira Code', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.wc-date {
    font-size: 0.82rem;
    color: #888;
    margin-top: 0.3rem;
}

.wc-diff {
    font-size: 0.78rem;
    color: #2563eb;
    margin-top: 0.2rem;
}

.wc-remove {
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #ccc;
    cursor: pointer;
    padding: 0.2rem;
    line-height: 1;
}

.wc-remove:hover { color: #dc2626; }

/* ── 时区对照表 ── */
.tz-table-wrap {
    max-width: 720px;
    margin: 0 auto;
    overflow-x: auto;
}

.tz-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8eaf0;
}

.tz-table th {
    background: #f8f9fb;
    padding: 0.8rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}

.tz-table td {
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.tz-table tr:last-child td { border-bottom: none; }

/* ── Mobile ── */
@media (max-width: 900px) {
    .wc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .wc-grid { grid-template-columns: 1fr; }
    .wc-time { font-size: 1.5rem; }
}
