.auction-page {
    --auction-gold: #f0b429;
    --auction-gold-deep: #b77700;
    --auction-panel: #191919;
    --auction-panel-raised: #222;
    --auction-line: rgba(255, 255, 255, 0.13);
    background: #101010;
    min-height: 70vh;
    overflow-x: clip;
}

.auction-shell {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1080px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.auction-heading {
    background:
        linear-gradient(112deg, rgba(240, 180, 41, 0.18), transparent 42%),
        repeating-linear-gradient(135deg, transparent 0 16px, rgba(255, 255, 255, 0.018) 16px 17px),
        #111;
    border-bottom: 1px solid var(--auction-line);
    padding: clamp(44px, 8vw, 76px) 0;
}

.auction-kicker,
.auction-card-kicker {
    color: var(--auction-gold);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auction-kicker i { margin-right: 8px; }

.auction-heading h1 {
    color: #fff;
    font-size: clamp(2.35rem, 6vw, 4.8rem);
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 14px 0 0;
    max-width: 850px;
}

.auction-heading p {
    color: #c8c8c8;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin: 20px 0 0;
    max-width: 690px;
}

.auction-workspace {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    padding-bottom: 56px;
    padding-top: 42px;
}

.auction-card {
    background: var(--auction-panel);
    border: 1px solid var(--auction-line);
    border-radius: 15px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
    box-sizing: border-box;
    padding: clamp(24px, 4vw, 38px);
    min-width: 0;
}

.auction-card h2 {
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 9px 0 25px;
}

.auction-field {
    display: grid;
    gap: 8px;
}

.auction-field > span,
.auction-acknowledgement legend {
    color: #dedede;
    font-size: 0.9rem;
    font-weight: 800;
}

.auction-field input,
.auction-field select {
    background: #0e0e0e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-sizing: border-box;
    color: #fff;
    font: inherit;
    min-height: 48px;
    padding: 11px 13px;
    width: 100%;
}

.auction-field input:focus,
.auction-field select:focus,
.auction-action:focus-visible {
    border-color: var(--auction-gold);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.2);
    outline: none;
}

.auction-payer-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
}

.auction-honeypot {
    left: -9999px !important;
    position: absolute !important;
}

.auction-total {
    align-items: baseline;
    background: linear-gradient(135deg, rgba(240, 180, 41, 0.13), rgba(240, 180, 41, 0.03));
    border: 1px solid rgba(240, 180, 41, 0.35);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding: 17px 19px;
}

.auction-total span { color: #c8c8c8; font-weight: 700; }
.auction-total strong { color: #fff3cf; font-size: 1.55rem; }

.auction-acknowledgement {
    border: 0;
    margin: 22px 0 0;
    padding: 0;
}

.auction-acknowledgement legend { margin-bottom: 10px; }
.auction-acknowledgement label {
    align-items: flex-start;
    color: #c9c9c9;
    cursor: pointer;
    display: flex;
    font-size: 0.92rem;
    gap: 10px;
    line-height: 1.45;
}
.auction-acknowledgement input { accent-color: var(--auction-gold); margin-top: 3px; }

.auction-error {
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid rgba(230, 57, 70, 0.45);
    border-radius: 8px;
    color: #ffb6bc;
    margin-top: 20px;
    padding: 12px 14px;
}

.auction-payment-options {
    display: grid;
    gap: 14px;
    margin-top: 27px;
}

.auction-payment-option {
    background: var(--auction-panel-raised);
    border: 1px solid var(--auction-line);
    border-radius: 10px;
    padding: 20px;
    min-width: 0;
}

.auction-payment-option h3 { color: #fff; font-size: 1.1rem; margin: 0; }
.auction-payment-option p { color: #aaa; font-size: 0.9rem; line-height: 1.5; margin: 8px 0 15px; }
.auction-online-button + .auction-online-button { margin-top: 12px; }
.auction-payment-status { margin: 8px 0 0 !important; }
.auction-payment-status.is-error { color: #ffb6bc; }
.auction-sandbox-badge { color: var(--auction-gold); font-size: 0.78rem; font-weight: 800; margin-bottom: 12px; }

.auction-action {
    background: var(--auction-gold);
    border: 1px solid #ffd978;
    border-radius: 8px;
    color: #18130a;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    padding: 12px 17px;
    text-decoration: none;
}
.auction-action:hover { background: #ffc94d; }
.auction-action:disabled { cursor: wait; opacity: 0.6; }
.auction-action--secondary { background: transparent; color: var(--auction-gold); margin-top: 12px; }

.auction-help { position: sticky; top: 92px; }
.auction-help h2 { margin-bottom: 18px; }
.auction-help ol { color: #d0d0d0; line-height: 1.55; margin: 0; padding-left: 22px; }
.auction-help li + li { margin-top: 12px; }
.auction-help p { border-top: 1px solid var(--auction-line); color: #999; font-size: 0.9rem; line-height: 1.5; margin: 22px 0 0; padding-top: 18px; }

.auction-empty { grid-column: 1 / -1; text-align: center; }
.auction-empty > i { color: var(--auction-gold); font-size: 2.2rem; }
.auction-empty h2 { margin-bottom: 12px; }
.auction-empty p { color: #aaa; margin: 0 auto; max-width: 560px; }

.auction-success { outline: none; text-align: center; }
.auction-success-icon {
    align-items: center;
    background: rgba(69, 194, 123, 0.13);
    border: 1px solid rgba(69, 194, 123, 0.4);
    border-radius: 50%;
    color: #68dc99;
    display: inline-flex;
    font-size: 1.5rem;
    height: 54px;
    justify-content: center;
    margin-bottom: 19px;
    width: 54px;
}
.auction-success h2 { margin-bottom: 18px; }
.auction-success p { color: #ddd; line-height: 1.55; }
.auction-success .auction-success-muted { color: #999; }
.auction-zelle-recipient {
    background: linear-gradient(135deg, rgba(240, 180, 41, 0.2), rgba(240, 180, 41, 0.06));
    border: 2px solid rgba(240, 180, 41, 0.72);
    border-radius: 12px;
    display: grid;
    gap: 7px;
    margin: 4px 0 20px;
    padding: 18px;
    text-align: left;
}
.auction-zelle-recipient span {
    color: #d7c99d;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.auction-zelle-recipient strong {
    color: #fff3cf;
    font-size: clamp(1.15rem, 4vw, 1.55rem);
    overflow-wrap: anywhere;
    user-select: all;
}
.auction-reference { display: grid; grid-template-columns: auto 1fr; margin: 24px 0; text-align: left; }
.auction-reference dt,
.auction-reference dd { border-bottom: 1px solid var(--auction-line); margin: 0; padding: 11px; }
.auction-reference dt { color: #999; font-weight: 800; }
.auction-reference dd { color: #fff; font-weight: 800; overflow-wrap: anywhere; }

html[data-theme="light"] .auction-page { --auction-panel: #fff; --auction-panel-raised: #f7f7f7; --auction-line: rgba(0, 0, 0, 0.14); background: #f2f2f2; }
html[data-theme="light"] .auction-card h2,
html[data-theme="light"] .auction-payment-option h3,
html[data-theme="light"] .auction-field input,
html[data-theme="light"] .auction-field select,
html[data-theme="light"] .auction-reference dd { color: #171717; }
html[data-theme="light"] .auction-field input,
html[data-theme="light"] .auction-field select { background: #fff; border-color: rgba(0, 0, 0, 0.24); }
html[data-theme="light"] .auction-field > span,
html[data-theme="light"] .auction-acknowledgement legend { color: #333; }
html[data-theme="light"] .auction-acknowledgement label,
html[data-theme="light"] .auction-help ol,
html[data-theme="light"] .auction-success p { color: #444; }
html[data-theme="light"] .auction-total strong { color: #6e4700; }
html[data-theme="light"] .auction-zelle-recipient span { color: #6e5313; }
html[data-theme="light"] .auction-zelle-recipient strong { color: #553700; }

@media (max-width: 820px) {
    .auction-workspace { grid-template-columns: 1fr; }
    .auction-help { position: static; }
}

@media (max-width: 560px) {
    .auction-shell { padding-left: 14px; padding-right: 14px; }
    .auction-heading { padding: 38px 0; }
    .auction-heading h1 { font-size: clamp(2.05rem, 11vw, 3rem); line-height: 1.04; }
    .auction-workspace { padding-top: 24px; }
    .auction-card { border-radius: 11px; padding: 22px 16px; }
    .auction-payer-grid { grid-template-columns: 1fr; }
    .auction-total { align-items: flex-start; flex-direction: column; gap: 5px; }
    .auction-payment-option { padding: 17px 14px; }
    .auction-action { box-sizing: border-box; min-height: 48px; width: 100%; }
    .auction-online-button { max-width: 100%; overflow: hidden; }
    .auction-acknowledgement input { flex: 0 0 auto; height: 20px; width: 20px; }
    .auction-zelle-recipient { padding: 16px 14px; }
    .auction-reference { grid-template-columns: 1fr; }
    .auction-reference dt { border-bottom: 0; padding-bottom: 2px; }
    .auction-reference dd { padding-top: 2px; }
}
