.rtapw-box { --rt-accent: #1d6fdc; --rt-good: #1a7f37; --rt-bad: #c62828; --rt-border: rgba(128,128,128,.28);
    border: 1px solid var(--rt-border); border-radius: 12px; padding: 18px; margin: 16px 0; max-width: 520px; }
.rtapw-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.rtapw-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #e5e7eb; color: #374151; line-height: 1.4; }
.rtapw-badge-live { background: #dcfce7; color: #166534; }
.rtapw-badge-upcoming { background: #dbeafe; color: #1e40af; }
.rtapw-badge-ended, .rtapw-badge-sold, .rtapw-badge-closing { background: #e0e7ff; color: #3730a3; }
.rtapw-badge-no_bids, .rtapw-badge-reserve_not_met, .rtapw-badge-unpaid, .rtapw-badge-cancelled { background: #fee2e2; color: #991b1b; }
.rtapw-watch { background: none; border: 1px solid var(--rt-border); border-radius: 999px; padding: 4px 12px; cursor: pointer; font-size: 13px; color: inherit; }
.rtapw-watch.is-active { border-color: #d4a017; color: #8a6500; font-weight: 600; }
.rtapw-price-row { display: flex; flex-direction: column; margin: 6px 0 10px; }
.rtapw-price-label { font-size: 13px; opacity: .7; }
.rtapw-price { font-size: 2rem; font-weight: 700; line-height: 1.15; }
.rtapw-facts { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; opacity: .85; }
.rtapw-timer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 12px; border-radius: 8px; background: rgba(128,128,128,.1); margin-bottom: 12px; }
.rtapw-countdown { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.15rem; }
.rtapw-countdown.is-urgent { color: var(--rt-bad); }
.rtapw-end-date { width: 100%; opacity: .65; }
.rtapw-notice:empty { display: none; }
.rtapw-notice { padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; font-weight: 600; }
.rtapw-notice.is-good { background: #dcfce7; color: #166534; }
.rtapw-notice.is-bad { background: #fee2e2; color: #991b1b; }
.rtapw-form[hidden] { display: none; }
.rtapw-label { display: flex; flex-direction: column; gap: 2px; font-weight: 600; margin-bottom: 6px; }
.rtapw-label small { font-weight: 400; opacity: .7; }
.rtapw-form-row { display: flex; gap: 8px; }
.rtapw-form-row input[type=number] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--rt-border); border-radius: 8px; font-size: 1rem; }
.rtapw-submit.loading { opacity: .6; cursor: progress; }
.rtapw-help { font-size: 13px; opacity: .7; margin: 6px 0 0; }
.rtapw-bid-response:empty { display: none; }
.rtapw-bid-response { margin-top: 8px; padding: 8px 12px; border-radius: 8px; }
.rtapw-bid-response.is-ok { background: #dcfce7; color: #166534; }
.rtapw-bid-response.is-err { background: #fee2e2; color: #991b1b; }
.rtapw-actions form { margin: 12px 0 0; }
.rtapw-actions .button { width: 100%; text-align: center; }
.rtapw-ended { font-weight: 600; margin: 12px 0 0; }
.rtapw-history { margin-top: 18px; }
.rtapw-history-title { font-size: 1rem; margin: 0 0 8px; }
.rtapw-bid-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rtapw-bid-table th, .rtapw-bid-table td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--rt-border); }
.rtapw-bid-table tr.is-top td { font-weight: 700; }
.rtapw-bid-table tr.is-mine td { background: rgba(29,111,220,.08); }
.rtapw-tag { font-size: 11px; padding: 1px 6px; border-radius: 6px; background: rgba(128,128,128,.2); margin-left: 4px; }
.rtapw-loop-timer { font-size: 13px; margin: 4px 0 8px; }
.rtapw-badge-live.rtapw-badge { position: absolute; }
.rtapw-grid { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 3), 1fr); margin: 16px 0; }
.rtapw-cols-1 { --cols: 1; } .rtapw-cols-2 { --cols: 2; } .rtapw-cols-3 { --cols: 3; } .rtapw-cols-4 { --cols: 4; } .rtapw-cols-5 { --cols: 5; } .rtapw-cols-6 { --cols: 6; }
.rtapw-card { border: 1px solid rgba(128,128,128,.28); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.rtapw-card-img { position: relative; display: block; }
.rtapw-card-img img { width: 100%; height: auto; border-radius: 8px; display: block; }
.rtapw-card-img .rtapw-badge { position: absolute; top: 8px; left: 8px; }
.rtapw-card-title { font-size: 1rem; margin: 4px 0 0; }
.rtapw-card-price { font-weight: 700; }
.rtapw-card-price small { font-weight: 400; opacity: .7; }
.rtapw-pos { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.rtapw-pos-win { background: #dcfce7; color: #166534; } .rtapw-pos-lose { background: #fee2e2; color: #991b1b; }
@media (max-width: 800px) { .rtapw-grid { --cols: 2 !important; } }
@media (max-width: 480px) { .rtapw-grid { --cols: 1 !important; } .rtapw-price { font-size: 1.6rem; } .rtapw-box { padding: 14px; } }
@media (prefers-reduced-motion: no-preference) { .rtapw-price { transition: color .3s; } }
.rtapw-sealed-tag { font-weight: 600; }
.rtapw-watchers[hidden] { display: none; }
