/* ================================================================
   菜刀客在线工具页 · timestamp-converter.html 私有样式
   需在 /css/common.css 之后加载。
   ================================================================ */

/* ---- 实时时间戳展示 ---- */
.live-stamp {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.live-stamp .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
}

.live-stamp .row b {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: 600;
    font-size: 14px;
    color: #4338ca;
    font-variant-numeric: tabular-nums;
    user-select: all;
}

/* ---- 转换方向卡片（复用清空按钮样式） ---- */
.dir-group .radio-card {
    flex: 1;
    justify-content: center;
    text-align: center;
}

/* ---- 选项行（checkbox） ---- */
.opt-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
}

.opt-check input {
    accent-color: #667eea;
}

/* ---- 底部「关于 / 语言速查」面板 ---- */
.extra-panel {
    margin-top: 15px;
}

.extra-panel .result-body {
    gap: 12px;
}

.about-text {
    font-size: 13px;
    line-height: 1.9;
    color: #4b5563;
    padding: 2px 2px 0;
}

.snippet-wrap {
    overflow-x: auto;
}

table.snippet {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    min-width: 720px;
}

table.snippet th {
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
    padding: 9px 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
    white-space: nowrap;
}

table.snippet td {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    vertical-align: top;
}

table.snippet tr:hover td {
    background: #fafbff;
}

table.snippet td.lang {
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

table.snippet code {
    display: inline;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    color: #4338ca;
    word-break: break-all;
}

/* ---- hero 中长数字/日期换行 ---- */
.hero-result .amount {
    word-break: break-all;
}