/* ================================================================
   菜刀客在线工具页 · ipv4-to-ipv6.html 私有样式
   需在 /css/common.css 之后加载。
   ================================================================ */

/* ---- 输入说明 ---- */
.cnv-tip {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
    padding: 4px 2px 0;
}

/* ---- 单选卡片：本页选项较多，缩小间距 ---- */
.radio-group {
    flex-wrap: wrap;
}

.radio-card {
    flex: 1 1 30%;
    min-width: 130px;
    font-size: 13px;
    padding: 8px 10px;
}

/* ---- 等宽数值展示 ---- */
.item-value.mono,
.mode-ip.mono,
.mode-exp.mono,
table.schedule td.mono {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    word-break: break-all;
}

.hero-result .amount.small {
    font-size: 20px;
    word-break: break-all;
    line-height: 1.4;
}

/* ---- 「全部显示」模式：每个方式的压缩/展开行 ---- */
.mode-row {
    align-items: flex-start;
    gap: 15px;
}

.mode-left {
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mode-name {
    font-weight: 600;
    color: #4338ca;
    font-variant-numeric: tabular-nums;
}

.mode-desc {
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.5;
}

.mode-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    text-align: right;
}

.mode-ip {
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.mode-exp {
    font-size: 11px;
    color: #6b7280;
}

/* ---- 明细表：hex 段按期数更紧凑 ---- */
table.schedule {
    min-width: 360px;
}

table.schedule td:first-child {
    text-align: center;
    color: #9ca3af;
    width: 44px;
}
