/* ── AUCTION HOUSE ───────────────────────────────────────────────────── */

:root {
    --ah-bg:      #0a0e14;
    --ah-surface: #111620;
    --ah-border:  rgba(255,255,255,0.07);
    --ah-accent:  #00e57a;
    --ah-gold:    #f0b429;
    --ah-red:     #e55353;
    --ah-text:    #e0e6f0;
    --ah-muted:   rgba(255,255,255,0.4);
    --ah-radius:  8px;
}

/* ── Auth gate ───────────────────────────────────────────────────────── */
.ah-gate {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: calc(100vh - 108px - 200px);
    gap: 16px; text-align: center; padding: 40px 20px;
    color: var(--ah-muted);
}
.ah-gate-icon { font-size: 3rem; color: var(--ah-accent); opacity: 0.5; }
.ah-gate h2 { color: var(--ah-text); font-family: 'Orbitron', sans-serif; font-size: 1.4rem; margin: 0; }
.ah-gate p { margin: 0; font-size: 0.9rem; }

/* ── Layout ──────────────────────────────────────────────────────────── */
.ah-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    min-height: calc(100vh - 108px - 200px);
    background: var(--ah-bg);
}

/* ── Sidebar ─────────────────────────────────────────────────────────── */
.ah-sidebar {
    background: #0d1117;
    border-right: 1px solid var(--ah-border);
    display: flex; flex-direction: column;
    position: sticky; top: 0;
    height: calc(100vh - 108px);
    overflow-y: auto;
}

.ah-wallet {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--ah-border);
}
.ah-wallet-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid rgba(0,229,122,0.3);
    object-fit: cover; flex-shrink: 0;
}
.ah-wallet-name {
    display: block; font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem; font-weight: 700; color: var(--ah-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 130px;
}
.ah-wallet-balance {
    display: flex; align-items: center; gap: 5px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem; color: var(--ah-accent); margin-top: 2px;
}
.ah-wallet-balance i { font-size: 0.75rem; }

.ah-sidenav {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 10px; flex: 1;
}
.ah-sidenav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: var(--ah-radius);
    color: var(--ah-muted); background: none; border: none; cursor: pointer;
    font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; text-align: left;
    width: 100%; transition: color 0.15s, background 0.15s;
}
.ah-sidenav-item i { width: 16px; text-align: center; font-size: 0.85rem; flex-shrink: 0; }
.ah-sidenav-item:hover { color: var(--ah-text); background: rgba(255,255,255,0.04); }
.ah-sidenav-item.active { color: var(--ah-accent); background: rgba(0,229,122,0.07); }

.ah-sidebar-sep { height: 1px; background: var(--ah-border); margin: 6px 10px; }

.ah-sidenav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 22px 16px;
    color: var(--ah-muted); text-decoration: none;
    font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    transition: color 0.15s;
}
.ah-sidenav-link:hover { color: var(--ah-text); }
.ah-sidenav-link i { width: 16px; text-align: center; font-size: 0.8rem; }

/* ── Main content ────────────────────────────────────────────────────── */
.ah-main { padding: 28px 32px; overflow: hidden; }

/* ── Panels ──────────────────────────────────────────────────────────── */
.ah-panel { display: none; }
.ah-panel.active { display: block; }

/* ── Page header ─────────────────────────────────────────────────────── */
.ah-page-header {
    display: flex; align-items: flex-start; gap: 20px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.ah-page-title-block { flex: 1; min-width: 180px; }
.ah-page-title {
    font-family: 'Orbitron', sans-serif; font-size: 1.45rem;
    color: var(--ah-text); margin: 0 0 4px; letter-spacing: 1px;
}
.ah-page-title i { color: var(--ah-accent); margin-right: 8px; }
.ah-page-sub { color: var(--ah-muted); font-size: 0.82rem; margin: 0; }

.ah-header-stats { display: flex; gap: 20px; align-items: center; }
.ah-hstat { text-align: center; }
.ah-hstat-num {
    display: block; font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem; font-weight: 700; color: var(--ah-accent); line-height: 1;
}
.ah-hstat-label {
    font-family: 'Share Tech Mono', monospace; font-size: 0.6rem;
    letter-spacing: 2px; text-transform: uppercase; color: var(--ah-muted);
}

.ah-wallet-large {
    display: flex; align-items: center; gap: 8px;
    background: rgba(0,229,122,0.06); border: 1px solid rgba(0,229,122,0.15);
    border-radius: var(--ah-radius); padding: 10px 16px;
    font-family: 'Share Tech Mono', monospace;
}
.ah-wallet-large i { color: var(--ah-accent); }
.ah-wallet-large span:nth-child(2) { font-size: 1.2rem; font-weight: 700; color: var(--ah-accent); }
.ah-wallet-large-label { font-size: 0.72rem; color: var(--ah-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.ah-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 18px; border-radius: var(--ah-radius);
    font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    border: none; cursor: pointer; transition: opacity 0.15s, background 0.15s;
    white-space: nowrap; text-decoration: none;
}
.ah-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ah-btn-primary { background: var(--ah-accent); color: #000; }
.ah-btn-primary:hover:not(:disabled) { background: #00ff8c; }
.ah-btn-gold { background: var(--ah-gold); color: #000; width: 100%; justify-content: center; }
.ah-btn-gold:hover:not(:disabled) { background: #ffc947; }
.ah-btn-danger { background: var(--ah-red); color: #fff; }
.ah-btn-danger:hover:not(:disabled) { background: #ff6b6b; }
.ah-btn-ghost { background: rgba(255,255,255,0.06); color: var(--ah-text); border: 1px solid var(--ah-border); }
.ah-btn-ghost:hover:not(:disabled) { background: rgba(255,255,255,0.1); }
.ah-btn-sm { padding: 5px 12px; font-size: 0.8rem; }

/* ── Filters ─────────────────────────────────────────────────────────── */
.ah-filters {
    display: flex; gap: 10px; align-items: center;
    margin-bottom: 20px; flex-wrap: wrap;
}
.ah-search-wrap { position: relative; flex: 1; min-width: 160px; }
.ah-search-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ah-muted); font-size: 0.78rem; }
.ah-search {
    width: 100%; padding: 8px 12px 8px 32px; box-sizing: border-box;
    background: var(--ah-surface); border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius); color: var(--ah-text);
    font-family: 'Rajdhani', sans-serif; font-size: 0.9rem;
    transition: border-color 0.15s;
}
.ah-search:focus { outline: none; border-color: rgba(0,229,122,0.4); }
.ah-select {
    padding: 8px 12px; background: var(--ah-surface);
    border: 1px solid var(--ah-border); border-radius: var(--ah-radius);
    color: var(--ah-text); font-family: 'Rajdhani', sans-serif;
    font-size: 0.88rem; cursor: pointer;
}
.ah-select:focus { outline: none; border-color: rgba(0,229,122,0.4); }

/* ── Listings grid ───────────────────────────────────────────────────── */
.ah-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.ah-loading, .ah-empty {
    grid-column: 1 / -1; text-align: center;
    padding: 60px 20px; color: var(--ah-muted);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.ah-loading i, .ah-empty-icon { font-size: 2.2rem; color: var(--ah-accent); opacity: 0.4; }
.ah-empty h3 { color: var(--ah-text); margin: 0; font-family: 'Orbitron', sans-serif; font-size: 1rem; }
.ah-empty p { margin: 0; font-size: 0.85rem; }

/* ── Listing card ────────────────────────────────────────────────────── */
.ah-card {
    background: var(--ah-surface); border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius); padding: 16px; cursor: pointer;
    transition: border-color 0.15s, transform 0.1s; position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.ah-card:hover { border-color: rgba(0,229,122,0.3); transform: translateY(-2px); }
.ah-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--ah-accent); opacity: 0; transition: opacity 0.15s;
}
.ah-card:hover::before { opacity: 1; }
.ah-card-mine::before { opacity: 1; background: var(--ah-gold); }
.ah-card-mine { border-color: rgba(240,180,41,0.2); }

.ah-card-type {
    font-family: 'Share Tech Mono', monospace; font-size: 0.58rem;
    letter-spacing: 2px; text-transform: uppercase; color: var(--ah-accent); margin-bottom: 5px;
}
.ah-card-name {
    font-family: 'Rajdhani', sans-serif; font-size: 1.02rem; font-weight: 700;
    color: var(--ah-text); margin-bottom: 3px;
    word-break: break-word;
}
.ah-card-qty { font-size: 0.75rem; color: var(--ah-muted); margin-bottom: 10px; }
.ah-card-bids { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; flex: 1; }
.ah-card-bid-label { font-size: 0.65rem; color: var(--ah-muted); text-transform: uppercase; letter-spacing: 1px; }
.ah-card-bid-amount {
    font-family: 'Share Tech Mono', monospace; font-size: 1.05rem;
    font-weight: 700; color: var(--ah-accent);
}
.ah-card-buynow { font-family: 'Share Tech Mono', monospace; font-size: 0.8rem; color: var(--ah-gold); text-align: right; }
.ah-card-buynow-label { font-size: 0.62rem; color: var(--ah-muted); display: block; text-transform: uppercase; letter-spacing: 1px; }
.ah-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 10px; border-top: 1px solid var(--ah-border);
    margin-top: auto;
}
.ah-card-timer { font-family: 'Share Tech Mono', monospace; font-size: 0.72rem; color: var(--ah-muted); }
.ah-card-timer.urgent { color: var(--ah-red); }
.ah-card-seller { font-size: 0.7rem; color: var(--ah-muted); }

/* ── Inventory layout (side-nav wrapper) ────────────────────────────── */
.ah-inv-layout { display: flex; align-items: center; gap: 12px; }
.ah-inv-center  { flex: 1; min-width: 0; }
.ah-inv-nav-btn { flex-shrink: 0; width: 38px; height: 38px; padding: 0; justify-content: center; }

/* ── Inventory grid ──────────────────────────────────────────────────── */
.ah-inv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-rows: 215px;
    gap: 12px;
}
.ah-inv-card {
    background: var(--ah-surface); border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius); padding: 14px;
    transition: border-color 0.15s; border-left: 3px solid transparent;
    display: flex; flex-direction: column; overflow: hidden;
}
.ah-inv-card:hover { border-color: rgba(0,229,122,0.25); }
.ah-inv-card--legendary { border-left-color: #f0b429; }
.ah-inv-card--epic      { border-left-color: #a855f7; }
.ah-inv-card--rare      { border-left-color: #3b82f6; }
.ah-inv-card--uncommon  { border-left-color: var(--ah-accent); }
.ah-inv-card--mythic    { border-left-color: #e74c3c; }
.ah-inv-head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;
}
.ah-inv-cat {
    font-family: 'Share Tech Mono', monospace; font-size: 0.55rem;
    letter-spacing: 2px; text-transform: uppercase; color: var(--ah-accent);
}
.ah-inv-name {
    font-family: 'Rajdhani', sans-serif; font-size: 0.95rem; font-weight: 700;
    color: var(--ah-text); margin-bottom: 4px;
    word-break: break-word;
}
.ah-inv-rarity { font-size: 0.68rem; color: var(--ah-muted); }
.ah-inv-rarity.legendary { color: #f0b429; }
.ah-inv-rarity.epic      { color: #a855f7; }
.ah-inv-rarity.rare      { color: #3b82f6; }
.ah-inv-rarity.uncommon  { color: var(--ah-accent); }
.ah-inv-rarity.mythic    { color: #e74c3c; }
.ah-inv-stats {
    display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 8px;
}
.ah-inv-stat {
    font-family: 'Share Tech Mono', monospace; font-size: 0.62rem;
    background: rgba(255,255,255,0.05); border: 1px solid var(--ah-border);
    border-radius: 4px; padding: 2px 6px; color: var(--ah-text);
}
.ah-inv-slot {
    font-family: 'Share Tech Mono', monospace; font-size: 0.6rem;
    background: rgba(0,229,122,0.07); border: 1px solid rgba(0,229,122,0.15);
    border-radius: 4px; padding: 2px 6px; color: var(--ah-accent);
}
.ah-inv-mods {
    font-size: 0.68rem; color: var(--ah-muted); font-style: italic; margin-bottom: 6px;
    word-break: break-word;
}
.ah-inv-footer { padding-top: 8px; border-top: 1px solid var(--ah-border); display: flex; align-items: center; justify-content: space-between; margin-top: auto; flex-shrink: 0; }

/* ── Pagination ───────────────────────────────────────────────────────── */
.ah-pagination {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ah-border);
}
.ah-page-info {
    font-family: 'Share Tech Mono', monospace; font-size: 0.8rem; color: var(--ah-muted);
    min-width: 90px; text-align: center;
}

/* ── Static field display ────────────────────────────────────────────── */
.ah-field-static {
    padding: 8px 11px; background: rgba(255,255,255,0.025);
    border: 1px solid var(--ah-border); border-radius: var(--ah-radius);
    color: var(--ah-accent); font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem; letter-spacing: 1px; min-height: 36px;
    display: flex; align-items: center;
}

/* ── Modal ───────────────────────────────────────────────────────────── */
.ah-modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.ah-modal {
    background: #111620; border: 1px solid rgba(0,229,122,0.2);
    border-radius: 12px; width: 100%; max-width: 720px;
    max-height: 90vh; overflow-y: auto; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0,229,122,0.05);
}
.ah-modal--create { max-width: 480px; }
.ah-modal-close {
    position: absolute; top: 14px; right: 14px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--ah-border);
    color: var(--ah-muted); border-radius: 50%; width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: color 0.15s, background 0.15s; font-size: 0.85rem;
}
.ah-modal-close:hover { color: var(--ah-text); background: rgba(255,255,255,0.1); }
.ah-modal-header { padding: 24px 24px 16px; border-bottom: 1px solid var(--ah-border); }
.ah-modal-item-type {
    font-family: 'Share Tech Mono', monospace; font-size: 0.62rem;
    letter-spacing: 2px; text-transform: uppercase; color: var(--ah-accent); margin-bottom: 5px;
}
.ah-modal-title { font-family: 'Orbitron', sans-serif; font-size: 1.25rem; color: var(--ah-text); margin: 0 0 5px; }
.ah-modal-sub { color: var(--ah-muted); font-size: 0.82rem; margin: 0; }
.ah-modal-meta { font-size: 0.75rem; color: var(--ah-muted); }
.ah-modal-body { display: grid; grid-template-columns: 1fr 260px; }
.ah-modal-col { padding: 18px 22px; }
.ah-modal-col--right { border-left: 1px solid var(--ah-border); }
.ah-modal-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.ah-modal-stat { background: rgba(255,255,255,0.025); border-radius: 6px; padding: 10px 12px; }
.ah-modal-stat-label { font-size: 0.65rem; color: var(--ah-muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 3px; }
.ah-modal-stat-val { font-family: 'Share Tech Mono', monospace; font-size: 0.95rem; color: var(--ah-text); }
.ah-modal-stat-val--accent { color: var(--ah-accent); }
.ah-modal-stat-val--gold { color: var(--ah-gold); }
.ah-modal-timer-block {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; border-radius: 6px;
    background: rgba(255,255,255,0.025);
    font-family: 'Share Tech Mono', monospace; font-size: 0.85rem; color: var(--ah-muted);
    margin-bottom: 16px;
}
.ah-modal-timer-block i { color: var(--ah-accent); }
.ah-bid-row { display: flex; gap: 8px; margin-bottom: 10px; }
.ah-bid-input {
    flex: 1; padding: 9px 12px; background: rgba(255,255,255,0.04);
    border: 1px solid var(--ah-border); border-radius: var(--ah-radius);
    color: var(--ah-text); font-family: 'Share Tech Mono', monospace; font-size: 0.9rem;
}
.ah-bid-input:focus { outline: none; border-color: rgba(0,229,122,0.4); }
.ah-bid-row .ah-btn { flex-shrink: 0; }
.ah-modal-locked {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; border-radius: 6px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--ah-border);
    font-size: 0.82rem; color: var(--ah-muted); margin-top: 8px;
}
.ah-modal-locked i { flex-shrink: 0; color: var(--ah-muted); }

.ah-modal-own-msg {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 10px 12px; border-radius: 6px;
    background: rgba(240,180,41,0.07); border: 1px solid rgba(240,180,41,0.15);
    font-size: 0.82rem; color: var(--ah-gold); margin-top: 8px;
}
.ah-modal-own-msg i { flex-shrink: 0; }
.ah-action-msg {
    font-size: 0.82rem; padding: 8px 12px; border-radius: 6px; margin-top: 8px; display: none;
}
.ah-action-msg.success { background: rgba(0,229,122,0.1); color: var(--ah-accent); border: 1px solid rgba(0,229,122,0.2); display: block; }
.ah-action-msg.error { background: rgba(229,83,83,0.1); color: var(--ah-red); border: 1px solid rgba(229,83,83,0.2); display: block; }
.ah-bid-history-title {
    font-family: 'Rajdhani', sans-serif; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; color: var(--ah-muted);
    margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.ah-bids-list { display: flex; flex-direction: column; gap: 7px; }
.ah-bids-empty { font-size: 0.8rem; color: var(--ah-muted); }
.ah-bid-entry {
    background: rgba(255,255,255,0.025); border-radius: 6px; padding: 7px 10px;
    display: flex; justify-content: space-between; align-items: center; gap: 6px;
}
.ah-bid-entry-user { font-size: 0.77rem; color: var(--ah-muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-bid-entry-amount { font-family: 'Share Tech Mono', monospace; font-size: 0.85rem; color: var(--ah-accent); flex-shrink: 0; }
.ah-bid-entry-time { font-size: 0.68rem; color: var(--ah-muted); flex-shrink: 0; }

/* ── Create form ─────────────────────────────────────────────────────── */
.ah-create-form { padding: 18px 22px; }
.ah-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 13px; }
.ah-field label {
    font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--ah-muted);
}
.ah-field input, .ah-field select {
    padding: 8px 11px; background: rgba(255,255,255,0.04);
    border: 1px solid var(--ah-border); border-radius: var(--ah-radius);
    color: var(--ah-text); font-family: 'Rajdhani', sans-serif; font-size: 0.9rem;
    transition: border-color 0.15s;
}
.ah-field input:focus, .ah-field select:focus { outline: none; border-color: rgba(0,229,122,0.4); }
.ah-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ah-field-hint-inline { font-size: 0.72rem; color: var(--ah-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.ah-create-actions { margin-top: 6px; }
.ah-create-actions .ah-btn { width: 100%; justify-content: center; }

/* ── Clan AH ─────────────────────────────────────────────────────────── */
.ah-clan-name-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(240,180,41,0.1); border: 1px solid rgba(240,180,41,0.25);
    border-radius: 4px; padding: 1px 8px;
    font-family: 'Rajdhani', sans-serif; font-size: 0.78rem; font-weight: 700;
    color: var(--ah-clan); text-transform: uppercase; letter-spacing: 0.5px;
    margin-right: 6px;
}
.ah-clan-name-badge i { font-size: 0.6rem; }

.ah-inv-readonly {
    font-family: 'Share Tech Mono', monospace; font-size: 0.62rem;
    color: var(--ah-muted); letter-spacing: 1px;
    display: flex; align-items: center; gap: 5px;
}
:root { --ah-clan: #f0b429; }

.ah-clan-nav-label {
    font-family: 'Share Tech Mono', monospace; font-size: 0.55rem;
    letter-spacing: 3px; text-transform: uppercase; color: var(--ah-clan);
    opacity: 0.7; padding: 8px 22px 2px;
}
.ah-sidenav--clan { padding-top: 4px; }
.ah-sidenav-item--clan.active { color: var(--ah-clan); background: rgba(240,180,41,0.07); }
.ah-sidenav-item--clan:hover  { color: var(--ah-clan); background: rgba(240,180,41,0.05); }
.ah-sidenav-item--clan i      { color: var(--ah-clan); opacity: 0.8; }

.ah-page-title--clan i { color: var(--ah-clan); }

.ah-btn-clan {
    background: var(--ah-clan); color: #000;
    font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.ah-btn-clan:hover:not(:disabled) { background: #ffc947; }

.ah-modal-title--clan i { color: var(--ah-clan); margin-right: 8px; }

/* clan card top stripe */
.ah-card--clan::before { background: var(--ah-clan); opacity: 1; }
.ah-card--clan { border-color: rgba(240,180,41,0.2); }
.ah-card--clan .ah-card-type { color: var(--ah-clan); }
.ah-card--clan .ah-card-bid-amount { color: var(--ah-clan); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .ah-layout { grid-template-columns: 1fr; }
    .ah-sidebar { display: none; }
    .ah-modal-body { grid-template-columns: 1fr; }
    .ah-modal-col--right { border-left: none; border-top: 1px solid var(--ah-border); }
}
@media (max-width: 600px) {
    .ah-main { padding: 16px; }
    .ah-page-header { flex-direction: column; }
    .ah-field-row { grid-template-columns: 1fr; }
    .ah-listings-grid, .ah-inv-grid { grid-template-columns: 1fr; }
}
