/* ===================== 神迹拍卖会 · 朱漆金阙 ===================== */
.auction-view {
    --aq-display: "Ma Shan Zheng", "Long Cang", "ZCOOL XiaoWei", "STKaiti", "KaiTi", cursive;
    --aq-title: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif;
    --aq-body: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --aq-lacquer: #3a0e12;
    --aq-lacquer-deep: #1a080a;
    --aq-lacquer-mid: #5c1820;
    --aq-gold: #d4a84b;
    --aq-gold-bright: #f0d078;
    --aq-gold-soft: rgba(212, 168, 75, 0.28);
    --aq-ink: #fff4e4;
    --aq-muted: rgba(255, 230, 200, 0.52);
    --aq-line: rgba(200, 150, 70, 0.32);
    --aq-line-strong: rgba(230, 180, 90, 0.55);
    --aq-surface: rgba(42, 12, 16, 0.78);
    --aq-surface-deep: rgba(22, 8, 10, 0.88);
    --aq-radius: 6px;
}

.auction-portal {
    border: 1px solid rgba(200, 150, 70, 0.45);
    background:
        linear-gradient(135deg, rgba(140, 40, 45, 0.28), rgba(40, 15, 15, 0.25)),
        rgba(255, 255, 255, 0.02);
}

.auction-portal:hover {
    border-color: rgba(240, 200, 110, 0.75);
    box-shadow: 0 0 32px rgba(200, 120, 50, 0.28);
}

.auction-portal .library-portal-glow {
    background: radial-gradient(circle, rgba(220, 150, 60, 0.22), transparent 62%);
}

.auction-portal .library-portal-icon {
    background: rgba(120, 35, 40, 0.4);
    color: #ffe8b0;
}

.auction-portal .library-portal-title {
    color: #fff0d0;
}

body.auction-mode.index-page {
    overflow: hidden;
}

body.auction-mode #particle-bg {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(160, 40, 48, 0.32), transparent 50%),
        radial-gradient(ellipse at 15% 85%, rgba(90, 25, 30, 0.35), transparent 45%),
        radial-gradient(ellipse at 90% 70%, rgba(180, 120, 40, 0.12), transparent 40%),
        linear-gradient(180deg, #2a0c10 0%, #140608 55%, #0a0405 100%);
}

.auction-view:not(.active) {
    display: none !important;
}

.auction-view.active {
    display: block !important;
    position: relative;
    z-index: 20;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    font-family: var(--aq-body);
    color: var(--aq-ink);
}

.auction-view.active::before {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.18;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 47px,
            rgba(200, 150, 70, 0.06) 47px,
            rgba(200, 150, 70, 0.06) 48px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 47px,
            rgba(200, 150, 70, 0.04) 47px,
            rgba(200, 150, 70, 0.04) 48px
        );
}

.auction-scroll {
    position: relative;
    z-index: 1;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    min-height: 0;
    padding: 20px 18px max(96px, calc(env(safe-area-inset-bottom) + 72px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.auction-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.auction-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--aq-line);
    position: relative;
}

.auction-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: min(180px, 40%);
    height: 2px;
    background: linear-gradient(90deg, var(--aq-gold), transparent);
}

.auction-kicker {
    margin: 0 0 4px;
    font-family: var(--aq-title);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: rgba(220, 170, 90, 0.55);
}

.auction-title {
    margin: 0;
    font-family: var(--aq-display);
    font-size: clamp(2rem, 5vw, 2.7rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--aq-gold-bright);
    text-shadow:
        0 1px 0 rgba(80, 20, 25, 0.8),
        0 4px 28px rgba(180, 50, 50, 0.35);
}

.auction-sub {
    margin: 8px 0 0;
    color: var(--aq-muted);
    font-size: 0.84rem;
    max-width: 30em;
}

/* ---- 入口卡片 ---- */
.auction-card {
    position: relative;
    background:
        linear-gradient(145deg, rgba(120, 35, 42, 0.35), transparent 50%),
        var(--aq-surface);
    border: 1px solid var(--aq-line);
    border-radius: var(--aq-radius);
    padding: 24px 22px;
    margin-bottom: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 210, 140, 0.1),
        0 14px 40px rgba(0, 0, 0, 0.4);
}

.auction-card::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(200, 150, 70, 0.16);
    border-radius: 3px;
    pointer-events: none;
}

.auction-panel-title {
    margin: 0 0 8px;
    font-family: var(--aq-title);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    color: var(--aq-gold-bright);
}

.auction-role-grid--dual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    max-width: 520px;
    margin: 16px auto 0;
}

.auction-role-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 14px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    background:
        radial-gradient(ellipse at 50% 0%, var(--aq-gold-soft), transparent 55%),
        rgba(20, 6, 8, 0.45);
    color: var(--aq-ink);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.auction-role-btn:hover {
    border-color: var(--aq-line-strong);
    box-shadow: 0 0 28px rgba(200, 120, 50, 0.22);
    transform: translateY(-2px);
}

.auction-role-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--aq-line-strong);
    border-radius: 4px;
    font-family: var(--aq-display);
    font-size: 1.2rem;
    line-height: 1;
    color: var(--aq-gold-bright);
    background:
        linear-gradient(160deg, rgba(160, 45, 50, 0.55), rgba(40, 10, 14, 0.7));
    box-shadow: inset 0 1px 0 rgba(255, 220, 150, 0.2);
}

.auction-role-label {
    font-family: var(--aq-title);
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.16em;
}

.auction-role-desc {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--aq-muted);
    text-align: center;
}

.auction-hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--aq-muted);
}

.auction-room-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
}

.auction-input {
    flex: 1;
    min-width: 120px;
    padding: 10px 14px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    background: rgba(0, 0, 0, 0.4);
    color: var(--aq-ink);
    font-family: var(--aq-title);
    font-size: 1.05rem;
    letter-spacing: 0.2em;
}

/* ---- 按钮 ---- */
.auction-btn {
    padding: 9px 16px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--aq-ink);
    cursor: pointer;
    font-family: var(--aq-title);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.auction-btn:hover {
    border-color: var(--aq-line-strong);
    background: rgba(160, 50, 55, 0.22);
    box-shadow: 0 0 16px rgba(200, 120, 50, 0.14);
}

.auction-btn--primary {
    border-color: rgba(230, 180, 90, 0.6);
    background:
        linear-gradient(180deg, rgba(200, 140, 50, 0.65), rgba(120, 55, 30, 0.75));
    color: #fff8ea;
    box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.28);
}

.auction-btn--primary:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 230, 170, 0.32),
        0 0 22px rgba(220, 140, 50, 0.35);
}

.auction-btn--ghost {
    background: transparent;
}

.auction-chip {
    padding: 5px 12px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 235, 200, 0.88);
    font-family: var(--aq-title);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.auction-chip:hover {
    border-color: var(--aq-line-strong);
}

.auction-chip--muted {
    color: var(--aq-muted);
}

/* ---- 工作区顶栏 ---- */
.auction-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    background:
        linear-gradient(90deg, rgba(140, 40, 48, 0.35), transparent 40%),
        var(--aq-surface-deep);
}

.auction-topbar-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.auction-topbar-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--aq-muted);
}

.auction-room-code {
    font-family: var(--aq-title);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    color: var(--aq-gold-bright);
}

.auction-sync-badge {
    font-size: 0.7rem;
    padding: 3px 9px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.08em;
}

.auction-sync--online {
    color: #9ed4a8;
    border-color: rgba(100, 180, 120, 0.45);
}

.auction-sync--local {
    color: var(--aq-gold);
}

.auction-sync-monitor {
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid var(--aq-line);
    border-radius: var(--aq-radius);
    background: var(--aq-surface);
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 230, 200, 0.88);
}

.auction-sync-monitor-head {
    font-family: var(--aq-title);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--aq-gold-bright);
    margin-bottom: 6px;
}

.auction-sync-monitor-body strong {
    color: var(--aq-gold-bright);
    font-weight: 600;
}

/* ---- 主布局 ---- */
.auction-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
    align-items: start;
}

@media (max-width: 900px) {
    .auction-layout {
        grid-template-columns: 1fr;
    }
}

.auction-focus {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* ---- 拍品舞台 · 金阙供案 ---- */
.auction-stage-wrap {
    position: relative;
}

.auction-stage-wrap::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--aq-radius) + 1px);
    background: linear-gradient(110deg, transparent 30%, rgba(255, 220, 140, 0.18) 48%, transparent 62%);
    background-size: 220% 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    animation: auction-gold-sweep 5.5s ease-in-out infinite;
}

@keyframes auction-gold-sweep {
    0%, 70%, 100% { opacity: 0; background-position: 120% 0; }
    78% { opacity: 1; }
    88% { opacity: 0.4; background-position: -20% 0; }
}

.auction-timer {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    min-width: 54px;
    padding: 7px 14px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(90, 25, 30, 0.92), rgba(20, 6, 8, 0.95));
    border: 1px solid var(--aq-line-strong);
    color: var(--aq-gold-bright);
    font-family: var(--aq-title);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-align: center;
    box-shadow:
        0 0 0 3px rgba(40, 10, 14, 0.55),
        0 0 16px rgba(200, 120, 40, 0.2);
    animation: auction-timer-breathe 2.4s ease-in-out infinite;
}

@keyframes auction-timer-breathe {
    0%, 100% { box-shadow: 0 0 0 3px rgba(40, 10, 14, 0.55), 0 0 12px rgba(200, 120, 40, 0.15); }
    50% { box-shadow: 0 0 0 3px rgba(40, 10, 14, 0.55), 0 0 22px rgba(220, 150, 50, 0.35); }
}

.auction-timer--urgent {
    color: #ff9a78;
    border-color: rgba(255, 120, 80, 0.65);
    animation: auction-pulse 0.8s ease-in-out infinite;
}

@keyframes auction-pulse {
    50% { transform: scale(1.06); }
}

.auction-stage {
    position: relative;
    z-index: 1;
    min-height: 280px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line-strong);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(180, 50, 55, 0.22), transparent 50%),
        linear-gradient(165deg, rgba(70, 18, 24, 0.92), rgba(16, 5, 8, 0.96));
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(120px, 200px) 1fr;
    box-shadow:
        inset 0 0 0 1px rgba(200, 150, 70, 0.12),
        inset 0 1px 0 rgba(255, 220, 150, 0.12),
        0 16px 48px rgba(0, 0, 0, 0.45);
}

.auction-stage::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(200, 150, 70, 0.18);
    border-radius: 3px;
    pointer-events: none;
}

@media (max-width: 640px) {
    .auction-stage {
        grid-template-columns: 1fr;
    }
}

.auction-stage-image {
    position: relative;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)),
        rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border-right: 1px solid rgba(200, 150, 70, 0.2);
}

.auction-stage-image img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.auction-stage-image--empty {
    color: rgba(255, 230, 200, 0.28);
    font-family: var(--aq-title);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
}

.auction-stage-body {
    position: relative;
    z-index: 1;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auction-stage-kicker {
    margin: 0 0 6px;
    font-family: var(--aq-title);
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    color: rgba(220, 170, 90, 0.55);
}

.auction-stage-name {
    margin: 0 0 6px;
    font-family: var(--aq-display);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--aq-ink);
    line-height: 1.25;
}

.auction-stage-seller {
    margin: 0 0 12px;
    font-size: 0.78rem;
    color: var(--aq-muted);
}

.auction-stage-seller::before {
    content: '提供者 · ';
    opacity: 0.75;
    letter-spacing: 0.06em;
}

.auction-stage-effect {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 4px;
    border-left: 2px solid rgba(210, 160, 70, 0.55);
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 244, 228, 0.88);
    font-size: 0.84rem;
    line-height: 1.55;
    white-space: pre-wrap;
    max-height: 120px;
    overflow-y: auto;
}

.auction-stage-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid rgba(200, 150, 70, 0.28);
    background:
        linear-gradient(90deg, rgba(160, 50, 55, 0.22), rgba(80, 40, 20, 0.18));
}

.auction-stage-price-label {
    display: block;
    font-family: var(--aq-title);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: rgba(220, 180, 110, 0.55);
}

.auction-stage-price-value {
    font-family: var(--aq-title);
    font-size: 1.85rem;
    font-weight: 400;
    color: var(--aq-gold-bright);
    line-height: 1;
    text-shadow: 0 0 18px rgba(220, 150, 50, 0.4);
}

.auction-stage-top-bidder {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(230, 190, 120, 0.75);
}

.auction-stage-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 28px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.auction-stage-empty::before {
    content: "阙";
    position: absolute;
    font-family: var(--aq-display);
    font-size: 7rem;
    line-height: 1;
    color: rgba(200, 140, 70, 0.08);
    pointer-events: none;
}

.auction-stage-status {
    margin: 0 0 8px;
    font-family: var(--aq-title);
    font-size: 1.2rem;
    letter-spacing: 0.14em;
    color: rgba(255, 240, 220, 0.85);
}

.auction-stage-hint {
    margin: 0;
    font-size: 0.8rem;
    color: var(--aq-muted);
}

/* ---- 出价条 ---- */
.auction-bid-strip {
    padding: 12px 14px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    background: var(--aq-surface-deep);
}

.auction-strip-title {
    margin: 0 0 8px;
    font-family: var(--aq-title);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: rgba(210, 170, 100, 0.6);
}

.auction-bid-list {
    max-height: 140px;
    overflow-y: auto;
}

.auction-bid-inline {
    display: flex;
    gap: 8px;
}

.auction-bid-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 4px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    font-size: 0.82rem;
}

.auction-bid-row--top {
    background: rgba(180, 60, 55, 0.18);
    border-color: rgba(220, 160, 80, 0.4);
    box-shadow: inset 0 0 14px rgba(200, 120, 40, 0.1);
}

.auction-bidder {
    color: rgba(255, 240, 220, 0.85);
}

.auction-bid-amount {
    font-family: var(--aq-title);
    font-weight: 400;
    color: var(--aq-gold-bright);
}

/* ---- 侧栏 · 司仪案几 ---- */
.auction-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.auction-side-card {
    padding: 14px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    background: var(--aq-surface);
    box-shadow: inset 0 1px 0 rgba(255, 210, 140, 0.06);
}

.auction-side-card--host {
    border-color: rgba(220, 160, 80, 0.42);
    background:
        linear-gradient(165deg, rgba(110, 30, 36, 0.55), rgba(18, 6, 8, 0.9));
}

.auction-side-card-head {
    margin-bottom: 10px;
}

.auction-side-card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-family: var(--aq-title);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--aq-gold-bright);
    background: rgba(140, 40, 45, 0.4);
    border: 1px solid rgba(220, 160, 80, 0.4);
}

/* ---- 标签页 ---- */
.auction-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    padding: 3px;
    border-radius: var(--aq-radius);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(200, 150, 70, 0.15);
}

.auction-tab {
    flex: 1;
    padding: 7px 10px;
    border: none;
    border-radius: 3px;
    background: transparent;
    color: var(--aq-muted);
    font-family: var(--aq-title);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.auction-tab.active {
    background: rgba(160, 50, 55, 0.4);
    color: var(--aq-ink);
}

.auction-tab-pane {
    display: none;
}

.auction-tab-pane.active {
    display: block;
}

.auction-anon-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.auction-anon-opt {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 3px;
    border: 1px solid rgba(200, 150, 70, 0.22);
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.72rem;
    color: var(--aq-muted);
    cursor: pointer;
}

.auction-anon-opt:has(input:checked) {
    border-color: rgba(230, 180, 90, 0.5);
    background: rgba(160, 50, 55, 0.22);
    color: var(--aq-ink);
}

.auction-anon-opt input {
    accent-color: var(--aq-gold);
}

.auction-field {
    width: 100%;
    padding: 9px 11px;
    border-radius: 4px;
    border: 1px solid var(--aq-line);
    background: rgba(0, 0, 0, 0.38);
    color: var(--aq-ink);
    font-family: var(--aq-body);
    font-size: 0.86rem;
    box-sizing: border-box;
}

.auction-field:focus {
    outline: none;
    border-color: var(--aq-line-strong);
    box-shadow: 0 0 0 1px rgba(200, 150, 70, 0.22);
}

.auction-field--bid {
    flex: 1;
    min-width: 0;
}

.auction-field--sm {
    min-height: 72px;
    resize: vertical;
}

.auction-form-compact {
    display: grid;
    gap: 8px;
}

.auction-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    border-radius: 4px;
    border: 1px dashed rgba(200, 150, 70, 0.4);
    background: rgba(0, 0, 0, 0.22);
    color: var(--aq-muted);
    font-size: 0.8rem;
    cursor: pointer;
}

.auction-upload:hover {
    border-color: var(--aq-line-strong);
    color: var(--aq-ink);
}

.auction-image-preview {
    min-height: 0;
    border-radius: 4px;
    overflow: hidden;
}

.auction-image-preview:empty {
    display: none;
}

.auction-image-preview img {
    max-width: 100%;
    max-height: 100px;
    display: block;
    border-radius: 4px;
}

.auction-my-lots {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(200, 150, 70, 0.16);
}

.auction-my-lots-title {
    margin: 0 0 6px;
    font-family: var(--aq-title);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: rgba(210, 170, 100, 0.55);
}

.auction-my-item {
    padding: 7px 9px;
    margin-bottom: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
    line-height: 1.4;
}

.auction-my-item-status {
    margin-left: 6px;
    font-size: 0.68rem;
    color: rgba(220, 170, 90, 0.55);
}

.auction-my-item-result {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: rgba(150, 200, 160, 0.75);
}

/* ---- 控场队列 ---- */
.auction-host-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.auction-queue {
    max-height: 200px;
    overflow-y: auto;
}

.auction-queue-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    margin-bottom: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    cursor: grab;
    font-size: 0.8rem;
}

.auction-queue-item--active {
    border-color: rgba(230, 170, 80, 0.5);
    background: rgba(160, 50, 55, 0.22);
    cursor: default;
}

.auction-queue-grip {
    color: rgba(255, 230, 200, 0.28);
    font-size: 0.75rem;
    user-select: none;
}

.auction-queue-main {
    flex: 1;
    min-width: 0;
}

.auction-queue-idx {
    display: inline-block;
    width: 1.2em;
    color: rgba(220, 170, 90, 0.65);
    font-family: var(--aq-title);
    font-weight: 400;
    font-size: 0.75rem;
}

.auction-queue-name {
    font-weight: 600;
    color: var(--aq-ink);
}

.auction-queue-meta {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 230, 200, 0.38);
}

.auction-queue-actions {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.auction-queue-dur {
    width: 48px;
    padding: 3px 5px;
    border-radius: 3px;
    border: 1px solid var(--aq-line);
    background: rgba(0, 0, 0, 0.35);
    color: var(--aq-ink);
    font-size: 0.72rem;
}

.auction-queue-btn {
    padding: 3px 6px;
    font-size: 0.68rem;
    border-radius: 3px;
    border: 1px solid var(--aq-line);
    background: rgba(255, 255, 255, 0.04);
    color: #ffe8c0;
    cursor: pointer;
}

.auction-queue-btn--danger {
    border-color: rgba(255, 100, 80, 0.4);
    color: #ffb0a0;
}

.auction-empty {
    margin: 0;
    color: rgba(255, 230, 200, 0.35);
    font-size: 0.8rem;
}

/* ---- 房间聊天 · 夜宴廊 ---- */
.auction-chat {
    margin-top: 14px;
    padding: 12px 14px 14px;
    border-radius: var(--aq-radius);
    border: 1px solid var(--aq-line);
    background:
        linear-gradient(145deg, rgba(70, 18, 24, 0.7), rgba(12, 4, 6, 0.9));
}

.auction-chat-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.auction-chat-title {
    margin: 0;
    font-family: var(--aq-title);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    color: var(--aq-gold-bright);
}

.auction-chat-hint {
    font-size: 0.68rem;
    color: rgba(255, 230, 200, 0.38);
    white-space: nowrap;
}

.auction-chat-messages {
    max-height: 180px;
    min-height: 72px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid rgba(200, 150, 70, 0.16);
    background: rgba(0, 0, 0, 0.32);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auction-chat-msg {
    max-width: 92%;
    align-self: flex-start;
}

.auction-chat-msg--mine {
    align-self: flex-end;
}

.auction-chat-msg-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.auction-chat-msg-author {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(230, 190, 130, 0.85);
}

.auction-chat-msg--host .auction-chat-msg-author::after {
    content: '司仪';
    margin-left: 5px;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--aq-gold-bright);
    border: 1px solid rgba(220, 160, 80, 0.4);
}

.auction-chat-msg--mine .auction-chat-msg-author {
    color: #e8c090;
}

.auction-chat-msg-time {
    font-size: 0.65rem;
    color: rgba(255, 230, 200, 0.32);
}

.auction-chat-msg-text {
    margin: 0;
    padding: 7px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 150, 70, 0.14);
    color: rgba(255, 248, 235, 0.92);
    font-size: 0.82rem;
    line-height: 1.45;
    word-break: break-word;
}

.auction-chat-msg--mine .auction-chat-msg-text {
    background: rgba(160, 50, 55, 0.28);
    border-color: rgba(220, 140, 80, 0.28);
}

.auction-chat-msg--pending .auction-chat-msg-text {
    opacity: 0.72;
}

.auction-chat-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.auction-chat-input {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 4px;
    border: 1px solid var(--aq-line);
    background: rgba(0, 0, 0, 0.38);
    color: var(--aq-ink);
    font-size: 0.85rem;
}

.auction-chat-input::placeholder {
    color: rgba(255, 230, 200, 0.35);
}

.auction-chat-form .auction-btn {
    flex-shrink: 0;
    padding-inline: 16px;
}

@media (max-width: 640px) {
    .auction-chat-hint {
        display: none;
    }

    .auction-chat-messages {
        max-height: 150px;
    }

    .auction-title {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }
}

.hidden {
    display: none !important;
}
