/* ============================================================
   超级外链发布工具 - 深色金色主题
   风格对齐：http://www.aivipg.com/seo/（AIVIPG超级外链在线工具）
   配色：深色商务背景 + 金色文字/按钮 + 科技感光效
   ============================================================ */
:root {
    --bg-deep: #0A0A0E;
    --bg-card: #15151B;
    --bg-card2: #1C1C24;
    --bg-input: #0E0E13;
    --gold: #D4AF37;
    --gold-light: #F5D06F;
    --gold-pale: #F9DF8F;
    --gold-dark: #B8860B;
    --gold-grad: linear-gradient(135deg, #F9DF8F 0%, #E3B93D 45%, #C9A227 100%);
    --text-main: #E8E6E0;
    --text-sub: #9A978F;
    --border-gold: rgba(212, 175, 55, 0.32);
    --shadow-gold: rgba(212, 175, 55, 0.35);
    --red: #E5484D;
    --red-light: #FF6B6B;
    --green: #5ACD8A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-gutter: stable; }

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(1200px 600px at 15% -10%, rgba(212, 175, 55, 0.10), transparent 60%),
        radial-gradient(1000px 520px at 90% 8%, rgba(212, 175, 55, 0.06), transparent 55%),
        radial-gradient(900px 500px at 50% 110%, rgba(184, 134, 11, 0.05), transparent 60%),
        linear-gradient(180deg, #0B0B10 0%, var(--bg-deep) 100%);

    min-height: 100vh;
    color: var(--text-main);
}

/* ============ 动态科技光芒背景层（纯装饰，不遮挡交互） ============ */
.tech-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.tech-light-beam {
    position: absolute;
    top: -30%;
    left: 50%;
    width: 1400px;
    height: 1100px;
    transform: translateX(-50%);
    transform-origin: top center;
    background: linear-gradient(to bottom,
        rgba(250, 214, 120, 0.26) 0%,
        rgba(212, 175, 55, 0.14) 35%,
        rgba(212, 175, 55, 0.05) 60%,
        transparent 78%);
    filter: blur(6px);
    clip-path: polygon(38% 0%, 62% 0%, 78% 100%, 22% 100%);
    animation: lightSway 14s ease-in-out infinite;
    will-change: transform, opacity;
}
@keyframes lightSway {
    0%, 100% { transform: translateX(-50%) rotate(-7deg); opacity: 0.75; }
    25%      { opacity: 1; }
    50%      { transform: translateX(-50%) rotate(7deg); opacity: 0.85; }
    75%      { opacity: 1; }
}
.tech-beam {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220%;
    height: 220%;
    transform-origin: center;
    background: conic-gradient(from 0deg,
        transparent 0deg, rgba(212, 175, 55, 0.10) 6deg, transparent 14deg,
        transparent 82deg, rgba(212, 175, 55, 0.08) 90deg, transparent 98deg,
        transparent 168deg, rgba(245, 208, 111, 0.09) 176deg, transparent 184deg,
        transparent 250deg, rgba(212, 175, 55, 0.08) 258deg, transparent 266deg,
        transparent 330deg, rgba(245, 208, 111, 0.08) 338deg, transparent 346deg);
    animation: none; opacity: 0.3;
    will-change: transform;
}
.tech-beam-2 {
    animation: none !important; opacity: 0.15 !important;
    animation-direction: reverse;
    opacity: 0.55;
}
@keyframes beamSpin { to { transform: rotate(360deg); } }
.tech-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    animation: none;
    will-change: transform, opacity;
}
.tech-glow-1 {
    width: 520px; height: 520px;
    left: -140px; top: -160px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.24) 0%, transparent 66%);
}
.tech-glow-2 {
    width: 480px; height: 480px;
    right: -140px; top: 18%;
    background: radial-gradient(circle, rgba(245, 208, 111, 0.19) 0%, transparent 66%);
    animation-delay: -2.4s;
}
.tech-glow-3 {
    width: 640px; height: 640px;
    left: 28%; bottom: -300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, transparent 66%);
    animation-delay: -4.6s;
}
@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.12); opacity: 1; }
}

.page {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 34px 20px 40px;
}

/* ---------------- 标题 ---------------- */
.page-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #F9DF8F 0%, #E3B93D 45%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.30));
    margin-bottom: 6px;
}
.page-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 2px;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
    margin-bottom: 26px;
}

/* ---------------- 通用面板（深色卡片） ---------------- */
.panel {
    background: linear-gradient(180deg, rgba(28, 28, 36, 0.92) 0%, rgba(21, 21, 27, 0.96) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.05);
    padding: 18px 22px;
    margin-bottom: 28px;
}

/* ---------------- 输入区 ---------------- */
.input-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------------- 小卡片：前缀卡片 + 输入框卡片（分开显示） ---------------- */
.prefix-card {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
    background: var(--bg-input);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    user-select: none;
    cursor: default;
    transition: all 0.3s ease;
}
.input-card {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 16px;
    background: var(--bg-input);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.input-card:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 0 22px rgba(212, 175, 55, 0.25);
    background: #101016;
}
.input-card input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    background: transparent;
}
.input-card input::placeholder { color: #6E6A60; font-weight: 400; }

/* 自定义轮数下拉框 */
.custom-select { position: relative; cursor: pointer; overflow: visible; }
.custom-select.open { z-index: 2147483647; }
.custom-select.open .panel, .custom-select.open ~ * { z-index: auto; }
.cs-trigger { flex:1; display:flex; align-items:center; justify-content:space-between; gap:8px; height:100%; }
.cs-value { font-size:16px; font-weight:600; color:var(--text-main); }
.cs-arrow { transition: transform .25s ease; flex-shrink:0; }
.custom-select.open .cs-arrow { transform: rotate(180deg); }
.cs-dropdown {
    position:absolute; top:calc(100% + 6px); left:0; right:0;
    background:#1a1a24; border:1px solid rgba(212,175,55,.5); border-radius:10px;
    box-shadow:0 8px 28px rgba(0,0,0,.6), 0 0 20px rgba(212,175,55,.15);
    max-height:260px; overflow-y:auto; z-index:2147483647; display:none; padding:4px;
}
.custom-select.open .cs-dropdown { display:block; }
.cs-option {
    padding:9px 14px; font-size:14px; font-weight:600; color:#d8c98f;
    border-radius:6px; cursor:pointer; transition:all .15s ease;
}
.cs-option:hover { background:rgba(212,175,55,.25); color:#fff; }
.cs-option.selected { background:linear-gradient(135deg,#F9DF8F,#D4AF37); color:#1a1a24; font-weight:700; }

/* 小卡片点击四周发金光效果由公共样式 UI/CSS/ui.css 的 .ui-card-glow 统一处理 */

/* ---------------- 按钮（悬停：变色 + 光晕阴影 + 轻微上浮，过渡平滑） ---------------- */
.btn {
    height: 46px;
    padding: 0 26px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
/* 移入：上浮 + 光晕增强 */
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
/* 按下：下沉 + 收缩 */
.btn:active { transform: translateY(1px) scale(0.98); filter: brightness(0.95); }
/* 键盘聚焦 */
.btn:focus-visible { box-shadow: 0 0 0 2px rgba(212,175,55,0.6), 0 0 18px rgba(212,175,55,0.5); }
/* 禁用态 */
.btn:disabled { cursor: not-allowed; opacity: 0.45; transform: none; filter: grayscale(0.4); }
.btn:disabled:hover { transform: none; filter: grayscale(0.4) brightness(1); }
/* 普通操作按钮：金色渐变发光（与 /seo/ 一致） */
.btn-start {
    color: #1A1205;
    background: var(--gold-grad);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-start:hover {
    background: linear-gradient(135deg, #FFEFB0 0%, #F5D06F 45%, #D4AF37 100%);
    color: #14100A;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 208, 111, 0.55), 0 0 22px rgba(245, 208, 111, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    filter: brightness(1.08);
}
.btn-start:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #E3B93D 0%, #C9A227 100%);
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4);
}
/* 危险操作按钮：红色渐变，悬停红色发光 */
.btn-stop {
    color: #FFFFFF;
    background: linear-gradient(135deg, #E5484D 0%, #C92A2A 100%);
    box-shadow: 0 4px 18px rgba(229, 72, 77, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-stop:hover {
    background: linear-gradient(135deg, #FF6B6B 0%, #E5484D 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.55), 0 0 22px rgba(255, 107, 107, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    filter: brightness(1.06);
}
.btn-stop:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #C92A2A 0%, #A31F1F 100%);
    box-shadow: 0 3px 12px rgba(229, 72, 77, 0.4);
}
/* 辅助按钮：金色描边透明底 */
.btn-normal {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
/* 按钮禁用态（链接库加载中）：半透明 + 禁止手势 */
.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    filter: grayscale(0.4);
}
.btn-normal:hover {
    background: var(--gold-grad);
    color: #1A1205;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(245, 208, 111, 0.5), 0 0 18px rgba(245, 208, 111, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: transparent;
}

.tip-row { margin-top: 12px; }
.tip { font-size: 12px; color: #77736A; }

/* ---------------- 进度区 ---------------- */
.progress-panel { display: flex; flex-direction: column; gap: 50px; padding: 30px 24px 40px; min-height: 240px; }
.progress-panel .progress-item:first-child { margin-top: 0; padding-bottom: 50px; }
.progress-panel .progress-item:last-child { margin-top: auto; margin-bottom: 20px; }
.progress-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 7px; }
.progress-label { font-size: 14px; font-weight: 600; color: var(--text-main); }
.progress-count { font-size: 13px; color: var(--text-sub); }
.progress-percent { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--gold-light); }
.progress-bar { height: 10px; background: var(--bg-input); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: 6px; overflow: hidden; }
.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #F9DF8F 0%, #E3B93D 45%, #D4AF37 100%);
    border-radius: 6px;
    transition: width .35s ease;
}

/* ---------------- 进度条跟随提示泡：深色金边，悬停显示，随进度位置移动 ---------------- */
.progress-bar-wrap { position: relative; }
.progress-head { margin-bottom: 8px; }
.progress-tip {
    position: absolute;
    top: calc(100% + 8px); bottom: auto;
    left: 0;
    transform: translateX(-50%);
    max-width: 420px;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--gold-light);
    background: linear-gradient(180deg, #1C1C24 0%, #15151B 100%);
    border: 1px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35), 0 4px 14px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, left .25s ease;
    z-index: 20;
}
.progress-tip.show { opacity: 1; }
.link-url-tip { max-width: none; white-space: nowrap; width: auto; top: calc(100% + 44px); left: 10px !important; transform: none; }
.progress-tip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 8px solid #15151B;
    filter: drop-shadow(0 -1px 0 var(--gold));
}

.status-panel { display: flex; align-items: center; gap: 12px; }
.reload-btn { flex: 0 0 auto; margin-left: auto; height: 34px; padding: 0 14px; font-size: 12px; }

/* ---------------- 工具介绍区 ---------------- */
.intro-card .detail-head { font-size: 15px; margin-bottom: 12px; }
.intro-body {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 13px;
    line-height: 1.9;
    color: #C9C4B8;
}
.intro-body p { margin: 6px 0; }
.intro-body strong { color: #F0D77B; font-weight: 700; }
.intro-center { text-align: center; color: #F0D77B; margin: 4px 0 14px; font-size: 16px; }

/* 三态主按钮：金(开始) / 蓝(暂停) / 绿(继续) */
.btn-pause {
    background: linear-gradient(180deg, #B57EE8, #7B3FC4);
    color: #fff;
    box-shadow: 0 0 16px rgba(181,126,232,0.45), 0 4px 14px rgba(0,0,0,0.5);
}
.btn-pause:hover {
    background: linear-gradient(180deg, #C695F0, #8E4FD6);
    box-shadow: 0 0 26px rgba(181,126,232,0.75), 0 6px 18px rgba(0,0,0,0.55);
    transform: translateY(-2px);
}
.btn-resume {
    background: linear-gradient(180deg, #5FD08A, #2E9E57);
    color: #fff;
    box-shadow: 0 0 16px rgba(95,208,138,0.45), 0 4px 14px rgba(0,0,0,0.5);
}
.btn-resume:hover {
    background: linear-gradient(180deg, #72D998, #37B065);
    box-shadow: 0 0 26px rgba(95,208,138,0.7), 0 6px 18px rgba(0,0,0,0.55);
    transform: translateY(-2px);
}

/* ---------------- 状态提示 ---------------- */
.status-panel { padding: 14px 18px; border-left: 4px solid var(--gold); background: rgba(212, 175, 55, 0.06); }
.status-text { font-size: 14px; line-height: 1.6; }
.status-running { color: var(--gold-light); }
.status-stopped { color: #E8890C; }
.status-done { color: var(--green); }

/* ---------------- 表格 ---------------- */
.table-panel { padding: 0; overflow: hidden; }
.table-wrap { height: 420px; overflow-y: auto; overflow-anchor: none; }
.link-table { width: 100%; table-layout: fixed; border-collapse: collapse; box-sizing: border-box; }
.link-table thead th {
    position: sticky;
    top: 0;
    height: 44px;
    padding: 8px 14px;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 10px;
    background: rgba(212,175,55,0.06);
    cursor: pointer;
    transition: all 0.25s ease;
    margin: 0 4px;
    z-index: 1;
    background: var(--bg-card2);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-gold);
}
.link-table tbody td {
    padding: 9px 14px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}
/* 所有结果框：禁止拖拽调高度、锁定只读（仍可滚动浏览、复制） */
.detail-box { resize: none; }
/* 反馈列固定行高，内容在框内滚动，避免撑大行高导致整页跳动 */
.col-feedback { height: 110px; overflow-y: auto; }
/* 请求次数小卡片 */
.req-count-card {
    float: right;
    margin-left: 12px;
    padding: 3px 12px;
    border: 1px solid rgba(212,175,55,0.55);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(212,175,55,0.22), rgba(212,175,55,0.1));
    color: #F0D77B;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 0 8px rgba(212,175,55,0.3);
    cursor: default;
    transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.req-count-card:hover { transform: translateY(-2px); box-shadow: 0 0 18px rgba(212,175,55,0.6); filter: brightness(1.1); }
.req-count-card:active { transform: translateY(1px) scale(0.97); filter: brightness(0.92); }
.req-count-card #reqCount { color: #fff; }
.link-table thead th:hover {
    border-color: #D4AF37;
    background: rgba(212,175,55,0.12);
    box-shadow: 0 0 16px rgba(212,175,55,0.4);
}
.link-table thead th:active {
    transform: scale(0.97);
    background: rgba(212,175,55,0.08);
}
.link-table tbody tr { transition: background 0.25s ease, box-shadow 0.25s ease; }
.link-table tbody tr:hover { background: rgba(212, 175, 55, 0.08); box-shadow: inset 0 0 18px rgba(212,175,55,0.12); }
.link-table tbody tr:active { background: rgba(212, 175, 55, 0.04); }
/* 状态/反馈单元格内容包成小卡片 */
.col-status, .col-feedback { padding: 6px 8px; }
.link-table tbody td { border-radius: 6px; }
.link-table tbody .col-status > * {
    display: inline-block;
    width: auto;
    max-width: 100%;
    word-break: break-all;
    padding: 3px 10px;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 6px;
    background: rgba(212,175,55,0.08);
}
.link-table tbody tr.selected { background: rgba(212, 175, 55, 0.13); }
.link-table tbody tr { cursor: pointer; }
.col-seq { width: 80px; color: #2A2108; text-align: center; font-weight: 700; }
.col-seq > * { display: inline-block; min-width: 42px; padding: 2px 8px; border-radius: 6px; background: linear-gradient(180deg, #F0D77B, #C9A227); box-shadow: 0 0 8px rgba(212,175,55,0.5), inset 0 1px 0 rgba(255,255,255,0.4); }
.col-url { text-align: left; }
.col-url > .req-count-card { margin-left: 10px; }
.col-url a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--gold-light);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px 10px;
    border: 1px solid rgba(212,175,55,0.55);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(212,175,55,0.18), rgba(212,175,55,0.06));
    box-shadow: 0 0 10px rgba(212,175,55,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}
.col-url a:hover { text-decoration: none; color: #fff; background: linear-gradient(180deg, rgba(212,175,55,0.32), rgba(212,175,55,0.14)); box-shadow: 0 0 16px rgba(212,175,55,0.5); }
.col-status { width: 160px; font-weight: 600; }
.st-ok { color: var(--green); }
.st-fail { color: var(--red-light); }
.st-pending { color: #77736A; }
/* 反馈信息列：展示 GET 请求后的响应标头 */
.col-feedback { width: 180px; font-size: 11px; line-height: 1.45; word-break: break-all; }
/* 反馈单元格自身即卡片，内部内容统一排布 */
.col-feedback {
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 8px;
    background: rgba(212,175,55,0.06);
    box-shadow: 0 0 8px rgba(212,175,55,0.15);
    transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.col-feedback:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(212,175,55,0.4);
    filter: brightness(1.1);
}
.col-feedback:active {
    transform: translateY(1px) scale(0.98);
    filter: brightness(0.92);
}
.fb-head {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid rgba(212,175,55,0.45);
    border-radius: 6px;
    background: rgba(212,175,55,0.1);
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}
.fb-head:hover { box-shadow: 0 0 14px rgba(212,175,55,0.5); transform: translateY(-1px); }
.fb-head:active { transform: scale(0.97); }
.fb-head.s2xx { color: #7BE39B !important; border-color: rgba(80,220,120,0.6); background: rgba(60,200,100,0.12); box-shadow: 0 0 12px rgba(80,220,120,0.35); }
.fb-head.s2xx:hover { box-shadow: 0 0 18px rgba(80,220,120,0.6); }
.fb-head.s3xx { color: var(--gold-light) !important; border-color: rgba(212,175,55,0.6); background: rgba(212,175,55,0.12); box-shadow: 0 0 12px rgba(212,175,55,0.4); }
.fb-head.s3xx:hover { box-shadow: 0 0 18px rgba(212,175,55,0.6); }
.fb-head.s5xx { color: #FF9A9A !important; border-color: rgba(255,80,80,0.6); background: rgba(255,60,60,0.12); box-shadow: 0 0 12px rgba(255,80,80,0.35); }
.fb-head.s5xx:hover { box-shadow: 0 0 18px rgba(255,80,80,0.6); }
.fb-line { color: #B9B5AC; }
.fb-pending { color: #77736A; font-size: 12px; border-color: rgba(212,175,55,0.2); background: rgba(212,175,55,0.04); }
.fb-fail { color: var(--red-light); font-weight: 600; border-color: rgba(255,100,100,0.45); background: rgba(255,80,80,0.06); }

/* ---------------- GET 请求结果详情卡片 ---------------- */
.detail-panel { padding: 16px 20px; }
.detail-head { font-size: 15px; font-weight: 700; color: var(--gold-light); margin-bottom: 10px; }
.detail-tip { font-size: 12px; font-weight: 400; color: #77736A; }
.detail-box {
    width: 100%;
    height: 260px;
    margin: 0;
    resize: vertical;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.55;
    color: #FFFFFF;
    background: var(--bg-input);
    outline: none;
    white-space: pre;
    overflow: auto;
}
.detail-box:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 0 22px rgba(212, 175, 55, 0.25);
    background: #101016;
}
.detail-box::placeholder { color: #6E6A60; font-family: "Microsoft YaHei", sans-serif; }
/* <pre> 版的空占位提示（无 placeholder 属性，用伪元素实现） */
.detail-box:empty::before {
    content: attr(data-placeholder);
    color: #6E6A60;
    font-family: "Microsoft YaHei", sans-serif;
}

/* ---------------- 源代码语法配色：标签紫、属性红、字符串橙、注释绿、符号蓝、普通文字白 ---------------- */
.hl-comment   { color: #6A9955; }            /* 注释：绿 */
.hl-doctype   { color: #9CDCFE; }            /* doctype：蓝 */
.hl-tag       { color: #C586C0; }            /* 标签名：紫 */
.hl-attr      { color: #F48771; }            /* 属性名：红 */
.hl-str       { color: #CE9178; }             /* 属性值字符串：橙 */
.hl-punc      { color: #9CDCFE; }             /* 符号（尖括号/等号）：蓝 */
.hl-whoiskey  { color: #F5D06F; font-weight: 600; }  /* WHOIS 字段名：金加粗 */
.hl-whoisval  { color: #FFFFFF; }            /* 普通文字/WHOIS 值：白 */

/* ---------------- 并排卡片：本站 GET 详情 + WHOIS 查询 ---------------- */
.side-cards { display: flex; gap: 16px; margin-bottom: 16px; }
.side-card { flex: 1 1 0; min-width: 0; }
.side-card .detail-box { height: 220px; }

/* ---------------- 手动查询行：输入框 + 金色查询按钮 ---------------- */
.manual-row { display: flex; gap: 10px; margin: 0 0 10px; }
.manual-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
    color: var(--text-main);
    background: var(--bg-input);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}
.manual-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 0 18px rgba(212, 175, 55, 0.25);
    background: #101016;
}
.manual-input::placeholder { color: #6E6A60; }
.manual-btn { flex: 0 0 auto; height: 38px; padding: 0 18px; font-size: 13px; }

/* ---------------- 链接库选择提示 ---------------- */
.picker-panel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--red-light); }

/* ---------------- 页脚 ---------------- */
.footer { text-align: center; font-size: 12px; color: #77736A; margin-top: 24px; }

/* ---------------- 响应式：移动端竖版适配（≤720px） ---------------- */
@media (max-width: 720px) {
    .page { padding: 16px 10px 30px; }
    .page-title { font-size: 22px; letter-spacing: 2px; }
    .page-subtitle { font-size: 12px; margin-bottom: 18px; }

    /* 输入区：前缀、输入框、按钮竖排堆叠，按钮通栏 */
    .input-row { flex-direction: column; align-items: stretch; gap: 10px; }
    .prefix-card { align-self: flex-start; }
    .input-card { flex: 1 1 auto; width: 100%; }
    .input-row .btn { width: 100%; margin-top: 2px; }

    /* 并排卡片（本站GET/WHOIS）上下堆叠 */
    .side-cards { flex-direction: column; }
    .side-card .detail-box { height: 180px; }

    /* 结果表格：列多屏窄，允许左右滑动浏览，避免挤压变形 */
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .link-table { min-width: 720px; }
    .link-table thead th, .link-table tbody td { padding: 8px 10px; font-size: 12px; }
    .col-seq { width: 56px; }
    .col-status { width: 130px; }
    .col-feedback { width: 230px; }

    /* 主详情框稍矮，节省竖屏空间 */
    .detail-panel .detail-box { height: 200px; }

    .panel { padding: 14px 14px; }
}

/* 表头独立卡片：与列表列宽对齐 */
.table-head-card { display: flex; align-items: center; padding: 10px 14px; gap: 8px; margin-bottom: 10px; box-sizing: border-box; }
.table-head-card > div {
    height: 40px;
    display: flex; align-items: center;
    padding: 6px 14px;
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 10px;
    background: rgba(212,175,55,0.06);
    font-size: 14px; font-weight: 700; color: var(--gold-light);
    transition: all 0.25s ease;
}
.table-head-card > div:hover {
    border-color: #D4AF37;
    background: rgba(212,175,55,0.12);
    box-shadow: 0 0 16px rgba(212,175,55,0.4);
}
.table-head-card > div:active { transform: scale(0.97); }
.table-head-card .col-seq { width: 80px; justify-content: center; }
.table-head-card .col-url { flex: 1; }
.table-head-card .col-status { width: 160px; justify-content: center; }
.table-head-card .col-feedback { width: 180px; justify-content: center; }
.table-head-card .req-count-card { margin-left: 10px; }
/* 当前发布链接卡片 */
.current-link-card { padding: 14px 20px; display: flex; flex-direction: column; gap: 8px; }
.current-link-card .current-link-text { color: var(--gold-light); font-size: 13px; word-break: break-all; text-shadow: 0 0 8px rgba(245,208,111,0.4); }
/* GET 错误信息卡片：红光 */
.fb-err-pill {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid rgba(255,80,80,0.6);
    border-radius: 6px;
    background: rgba(255,60,60,0.12);
    color: #FF9A9A;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(255,80,80,0.35);
    transition: all 0.2s ease;
}
.fb-err-pill:hover { box-shadow: 0 0 18px rgba(255,80,80,0.6); transform: translateY(-1px); }
.fb-err-pill:active { transform: scale(0.97); }

/* 外链纯文本显示（非超链接状态） */
.link-plain { color: #e8e8ea; text-decoration: none; cursor: pointer; word-break: break-all; }
.link-plain:hover { color: #D4AF37; }

/* 点击行展开的详情行（默认收起） */
.detail-expand-row td { background: rgba(212,175,55,0.06); border-top: 1px dashed rgba(212,175,55,0.35); font: 12px/1.7 Consolas, Menlo, monospace; color: #c8cbd0; white-space: pre-wrap; word-break: break-all; padding: 10px 14px; }
.detail-expand-row pre { margin: 0; white-space: pre-wrap; word-break: break-all; }