:root {
    --spec-bg: #000000;
    --spec-card-bg: #101012;
    --spec-border: rgba(255, 204, 0, 0.2);
    --spec-border-hover: rgba(255, 204, 0, 0.8);
    --spec-text: #ffffff;
    --spec-sub: #8e8e93;
    --spec-accent: #ffcc00;
    --spec-font: system-ui, -apple-system, sans-serif;
}

body {
    margin: 0; background: var(--spec-bg); color: var(--spec-text);
    font-family: var(--spec-font); font-size: 13px; -webkit-font-smoothing: antialiased;
}

.spec-header {
    position: fixed; top: 0; width: 100%; height: 56px;
    background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(8px);
    z-index: 2000; border-bottom: 1px solid var(--spec-border);
}

.spec-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
}

.spec-logo-nav { display: flex; align-items: center; gap: 30px; }
.spec-logo img { height: 20px; }
.spec-nav { display: flex; list-style: none; gap: 24px; margin: 0; padding: 0; }
.spec-nav a { color: var(--spec-sub); text-decoration: none; font-weight: bold; }
.spec-nav a:hover, .spec-nav a.active { color: var(--spec-accent); }
.spec-user-zone { display: flex; align-items: center; gap: 16px; }
.spec-btn-login { background: var(--spec-accent); color: #000; padding: 6px 16px; border-radius: 20px; text-decoration: none; font-size: 11px; font-weight: bold; }
.spec-avatar { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--spec-border); }
.spec-m-trigger { display: none; color: var(--spec-text); font-size: 20px; cursor: pointer; }

/* 留白通告 */
.spec-notice-bar { margin: 80px auto 20px; max-width: 1200px; padding: 0 20px; }
.spec-notice-inner { border: 1px solid var(--spec-border); padding: 12px 24px; background: var(--spec-card-bg); display: flex; align-items: center; border-radius: 30px; }
.spec-notice-dot { width: 6px; height: 6px; background: var(--spec-accent); border-radius: 50%; margin-right: 12px; }

/* 页脚 */
.spec-footer { padding: 40px 0; background: #080808; border-top: 1px solid var(--spec-border); margin-top: 60px; }
.spec-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.spec-copyright { font-size: 11px; color: var(--spec-sub); display: flex; align-items: center; }
.spec-status-indicator { width: 6px; height: 6px; background: var(--spec-accent); border-radius: 50%; margin-right: 10px; }

/* 布局 455: 中置光折射柱 ➡️ 雾化层呈垂直交织折射流动结构 */
.spec-home-wrap { max-width: 900px; margin: 40px auto; padding: 0 20px; min-height: 80vh; position: relative; }

/* 中置光折射柱 (高发光折射中心) */
.spec-refraction-bar {
    position: absolute; left: 50%; top: 0; bottom: 0;
    width: 8px; background: linear-gradient(180deg, var(--spec-accent), var(--spec-bg));
    transform: translateX(-50%); z-index: 1; border-radius: 4px;
    box-shadow: 0 0 15px var(--spec-accent);
}

.spec-flow-container { position: relative; display: flex; flex-direction: column; gap: 35px; }

.spec-cat-hd { font-size: 14px; font-weight: bold; color: var(--spec-text); margin: 50px 0 20px; display: flex; align-items: center; }
.spec-cat-hd::after { content: ""; flex: 1; height: 1px; background: var(--spec-border); margin-left: 20px; }
.spec-cat-hd::before { content: "● "; color: var(--spec-accent); margin-right: 8px; }

/* 商品卡片：高圆角 32px (极圆) */
.spec-card-probe {
    display: block; background: var(--spec-card-bg); text-decoration: none; transition: 0.3s;
    padding: 24px; width: 380px; position: relative; z-index: 2;
    border: 1px solid var(--spec-border); border-radius: 32px;
}
.spec-card-probe:hover { border-color: var(--spec-border-hover); box-shadow: 0 0 20px rgba(255, 204, 0, 0.3); }
.spec-card-probe:hover .spec-name { color: var(--spec-accent); }

/* 左右对开偏流控制 */
.spec-align-left { align-self: flex-start; }
.spec-align-right { align-self: flex-end; }

.spec-img-box { width: 100%; aspect-ratio: 1.8; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: #050505; border-radius: 20px; }
.spec-img-box img { width: 45%; height: 45%; object-fit: contain; }
.spec-name { font-size: 14px; height: 38px; color: var(--spec-text); line-height: 1.5; overflow: hidden; margin-bottom: 15px; }
.spec-footer-meta { display: flex; justify-content: space-between; align-items: center; }
.spec-price { font-size: 16px; font-weight: bold; color: var(--spec-accent); }
.spec-sell-count { font-size: 11px; color: var(--spec-sub); }
.spec-tag-auto { position: absolute; top: 12px; right: 20px; font-size: 9px; color: var(--spec-accent); border: 1px solid var(--spec-accent); padding: 1px 6px; border-radius: 10px; }

/* Detail Pages */
.spec-trade-wrap { padding: 40px 10px; min-height: 80vh; }
.spec-trade-node { max-width: 900px; margin: 0 auto; border: 1px solid var(--spec-border); display: flex; flex-wrap: wrap; background: var(--spec-card-bg); border-radius: 32px; overflow: hidden; }
.spec-media-side { flex: 0 0 32%; background: #050505; padding: 30px; display: flex; align-items: center; border-right: 1px solid var(--spec-border); }
.spec-media-side img { width: 100%; height: auto; }
.spec-form-side { flex: 1; padding: 40px; min-width: 320px; }
.spec-title { font-size: 22px; font-weight: 700; color: var(--spec-text); margin-bottom: 10px; }
.spec-tag-status { display: inline-block; padding: 3px 12px; border: 1px solid var(--spec-accent); color: var(--spec-accent); font-size: 11px; background: rgba(255, 204, 0, 0.1); margin-bottom: 25px; border-radius: 12px; }
.spec-price-node { margin-bottom: 30px; padding: 20px; background: var(--spec-bg); border: 1px solid var(--spec-border); display: flex; justify-content: space-between; align-items: center; border-radius: 20px; }
.spec-price-val { font-size: 26px; font-weight: 800; color: var(--spec-accent); }
.spec-field { margin-bottom: 20px; }
.spec-label { display: block; font-size: 11px; color: var(--spec-sub); margin-bottom: 8px; }
.spec-input { width: 100%; height: 44px; background: var(--spec-bg); border: 1px solid var(--spec-border); color: var(--spec-text); padding: 0 20px; box-sizing: border-box; outline: none; border-radius: 20px; }
.spec-input:focus { border-color: var(--spec-accent); }
.spec-btn-submit { width: 100%; height: 48px; background: var(--spec-accent); color: #000; border: none; cursor: pointer; font-size: 14px; font-weight: 700; transition: 0.3s; border-radius: 24px; }
.spec-btn-submit:hover { opacity: 0.8; }
.spec-btn-submit:disabled { background: #252012; color: #5b5443; border: 1px solid var(--spec-border); cursor: not-allowed; }
.spec-desc-box { max-width: 900px; margin: 20px auto 0; border: 1px solid var(--spec-border); padding: 30px; background: var(--spec-card-bg); color: var(--spec-sub); border-radius: 32px; }
.spec-desc-title { font-size: 12px; font-weight: 700; color: var(--spec-text); margin-bottom: 15px; border-left: 2px solid var(--spec-accent); padding-left: 10px; }

/* Queries & Lists */
.spec-query-wrap { max-width: 520px; margin: 80px auto; padding: 0 20px; min-height: 70vh; }
.spec-query-node { background: var(--spec-card-bg); border: 1px solid var(--spec-border); padding: 30px; margin-bottom: 20px; border-radius: 32px; }
.spec-btn-prime { background: var(--spec-accent); color: #000; border: none; padding: 12px 30px; font-weight: 700; font-size: 13px; cursor: pointer; width: 100%; border-radius: 24px; }

@media (max-width: 768px) {
    .spec-card-probe { width: 100%; align-self: center !important; }
    .spec-refraction-bar { display: none; }
    .spec-header { position: relative; }
    .spec-nav { position: fixed; top: 56px; left: -100%; width: 100%; height: 100vh; background: var(--spec-bg); flex-direction: column; padding: 40px; transition: 0.3s; gap: 30px; }
    .spec-nav.is-open { left: 0; }
    .spec-m-trigger { display: block; }
}