/* === HSG Siebengebirge Trikot-Versteigerung === */
:root {
  --blue: #004578;
  --blue-dark: #003461;
  --blue-light: #0066b3;
  --green: #00A651;
  --green-dark: #008c44;
  --green-light: #00c95e;
  --bg: #f5f7fa;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --red: #dc3545;
  --yellow: #ffc107;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--gray-900);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

main.container { flex: 1; padding-top: 20px; padding-bottom: 40px; }

/* === Header === */
.main-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
}
.logo strong { font-size: 16px; display: block; }
.logo small { opacity: .8; font-size: 12px; }
.logo-icon { font-size: 28px; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 6px; transition: .2s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-user { color: rgba(255,255,255,.8); font-size: 13px; margin-right: 4px; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: .2s;
  background: var(--gray-100);
  color: var(--gray-700);
}
.btn:hover { background: var(--gray-200); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent { background: var(--green); color: #fff; }
.btn-accent:hover { background: var(--green-dark); }
.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #c82333; }
.btn-secondary { background: #6c757d; color: #fff; }
.btn-secondary:hover { background: #5a6268; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-full { width: 100%; text-align: center; }
.btn-bid {
  background: var(--green);
  color: #fff;
  font-size: 18px;
  padding: 14px 32px;
  width: 100%;
  border-radius: 10px;
  letter-spacing: .5px;
}
.btn-bid:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* === Charity Banner === */
.charity-banner {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.charity-inner { display: flex; align-items: center; gap: 14px; }
.charity-heart { font-size: 32px; }
.charity-banner strong { font-size: 16px; }
.charity-banner p { margin: 2px 0 0; opacity: .9; font-size: 14px; }

/* Donation barometer */
.donation-total { text-align: center; min-width: 120px; }
.donation-amount { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
.donation-amount.donation-pop { animation: bid-pop .5s ease; }
.donation-label { font-size: 11px; opacity: .8; text-transform: uppercase; letter-spacing: .5px; }
.donation-progress-wrap {
  position: relative;
  background: rgba(0,0,0,.2);
  border-radius: 6px;
  height: 22px;
  margin-top: 12px;
  overflow: hidden;
}
.donation-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.3), rgba(255,255,255,.5));
  border-radius: 6px;
  transition: width .8s ease;
  min-width: 2px;
}
.donation-goal-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}

/* === Countdown === */
.countdown-wrapper {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.countdown-wrapper.countdown-sm { padding: 16px; margin-bottom: 20px; }
.countdown-label { font-size: 14px; opacity: .85; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.cd-block { text-align: center; }
.cd-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  min-width: 56px;
  font-variant-numeric: tabular-nums;
}
.countdown-sm .cd-num { font-size: 28px; min-width: 44px; }
.cd-unit { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: 1px; }
.cd-sep { font-size: 28px; font-weight: 300; opacity: .5; padding: 0 2px; align-self: flex-start; margin-top: 4px; }
.cd-ended { font-size: 24px; font-weight: 800; letter-spacing: 2px; }

/* Countdown urgency states */
.countdown-wrapper.urgent { background: var(--red); animation: pulse-bg 2s ease-in-out infinite; }
.countdown-wrapper.final { background: var(--red); animation: heartbeat 0.8s ease-in-out infinite; }
.countdown-wrapper.endspurt::after {
  content: "ENDSPURT!";
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-top: 8px;
  animation: flash 1s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.01); box-shadow: 0 0 30px rgba(220,53,69,.3); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.03); }
  30% { transform: scale(1); }
  45% { transform: scale(1.03); }
}
@keyframes flash {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}

/* === Section Title === */
.section-title {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--green);
  border-radius: 2px;
}

/* === Jersey Grid === */
.jersey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.jersey-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: .25s;
  display: flex;
  flex-direction: column;
}
.jersey-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.jersey-card.bid-flash { animation: bid-flash 1s ease; }

@keyframes bid-flash {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,166,81,.6); }
  30% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(0,166,81,.3); }
  100% { transform: scale(1); box-shadow: var(--shadow); }
}

.jersey-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jersey-image img { width: 100%; height: 100%; object-fit: cover; }
.jersey-placeholder { font-size: 48px; opacity: .3; }
.jersey-placeholder-lg { font-size: 96px; }
.jersey-info { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.jersey-name { font-weight: 700; font-size: 16px; color: var(--blue); }
.jersey-number { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.jersey-bid { margin-top: auto; padding-top: 10px; }
.bid-label { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; }
.bid-amount { font-size: 22px; font-weight: 800; color: var(--green); display: block; }
.jersey-bids-count { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* === Jersey Detail === */
.jersey-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .jersey-detail { grid-template-columns: 1fr; }
}
.jersey-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jersey-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.jersey-detail-name { font-size: 28px; color: var(--blue); margin-bottom: 4px; }
.jersey-detail-number { font-size: 20px; color: var(--gray-500); margin-bottom: 12px; }
.jersey-detail-desc { color: var(--gray-700); margin-bottom: 20px; }

/* Current bid box */
.current-bid-box {
  background: var(--gray-50);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  transition: .3s;
}
.current-bid-box.bid-highlight {
  animation: bid-highlight .6s ease;
}
@keyframes bid-highlight {
  0% { background: rgba(0,166,81,.15); border-color: var(--green); transform: scale(1.02); }
  100% { background: var(--gray-50); transform: scale(1); }

}
.jersey-detail-image.bid-flash-img {
  animation: bid-flash-img .8s ease;
}
@keyframes bid-flash-img {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,166,81,.5); }
  25% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(0,166,81,.25); }
  100% { transform: scale(1); box-shadow: none; }
}
.current-bid-amount.bid-pop {
  animation: bid-pop .5s ease;
}
@keyframes bid-pop {
  0% { transform: scale(1); }
  30% { transform: scale(1.2); color: var(--green-light); }
  100% { transform: scale(1); }
}
.current-bid-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; }
.current-bid-amount { font-size: 36px; font-weight: 800; color: var(--green); margin: 4px 0; }
.current-bid-count { font-size: 13px; color: var(--gray-500); }

/* Bid form */
.bid-form { margin-bottom: 16px; }
.bid-input-group {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
  transition: .2s;
}
.bid-input-group:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,166,81,.15); }
.bid-currency { padding: 14px 16px; font-size: 20px; font-weight: 700; color: var(--gray-500); background: var(--gray-50); }
.bid-input-group input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 24px;
  font-weight: 700;
  outline: none;
  min-width: 0;
}
.bid-hint { font-size: 13px; color: var(--gray-500); text-align: center; margin-top: 8px; }

/* Quick bid section */
.bid-section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 8px;
  font-weight: 600;
}
.quick-bids {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.quick-bid-btn {
  flex: 1;
  padding: 12px 8px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.quick-bid-btn:hover { background: rgba(0,69,120,.06); }
.qb-plus { font-size: 18px; font-weight: 800; }
.qb-total { font-size: 11px; opacity: .7; }
.qb-confirm { display: none; font-size: 14px; }

/* Confirmed state — green, shows "Abgeben!" */
.quick-bid-btn.confirmed {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,166,81,.3);
}
.quick-bid-btn.confirmed .qb-plus { display: none; }
.quick-bid-btn.confirmed .qb-total { display: none; }
.quick-bid-btn.confirmed .qb-confirm { display: block; font-size: 16px; font-weight: 800; }

.quick-bid-btn.sending {
  opacity: .6;
  pointer-events: none;
}

/* Divider between quick bids and manual form */
.bid-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray-300);
}
.bid-divider::before, .bid-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.bid-divider span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-500);
  white-space: nowrap;
}

.bid-login-prompt { text-align: center; margin: 16px 0; }
.bid-login-prompt p { margin-top: 8px; color: var(--gray-500); font-size: 14px; }
.bid-login-prompt a { color: var(--blue); }

/* Winner banner */
.winner-banner {
  background: linear-gradient(135deg, #ffd700, #ffb800);
  color: var(--gray-900);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 16px;
  margin-top: 16px;
}
.winner-trophy { font-size: 24px; margin-right: 8px; }

/* === Bid History === */
.bid-history {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.bid-history h3 { margin-bottom: 16px; color: var(--blue); }
.no-bids { color: var(--gray-500); font-style: italic; }
.bid-list { display: flex; flex-direction: column; gap: 0; }
.bid-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-100);
  gap: 12px;
}
.bid-item:last-child { border-bottom: none; }
.bid-item.bid-highest { background: rgba(0,166,81,.06); border-radius: 8px; }
.bid-item-name { font-weight: 600; flex: 1; }
.bid-item-amount { font-weight: 700; color: var(--green); font-size: 16px; min-width: 80px; text-align: right; }
.bid-item-time { font-size: 12px; color: var(--gray-500); min-width: 120px; text-align: right; }
.bid-item.new-bid-anim { animation: new-bid-slide .5s ease; }
@keyframes new-bid-slide {
  from { opacity: 0; transform: translateY(-10px); background: rgba(0,166,81,.2); }
  to { opacity: 1; transform: translateY(0); }
}

.back-link { display: inline-block; color: var(--blue); text-decoration: none; font-size: 14px; margin-bottom: 20px; }
.back-link:hover { text-decoration: underline; }

/* === Winners list === */
.winners-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.winner-item {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  gap: 16px;
}
.winner-jersey { font-weight: 700; color: var(--blue); flex: 1; }
.winner-name { font-weight: 600; }
.winner-amount { font-weight: 700; color: var(--green); }

/* === Auth Pages === */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-card-center { text-align: center; }
.auth-title { color: var(--blue); margin-bottom: 8px; font-size: 24px; }
.auth-subtitle { color: var(--gray-500); margin-bottom: 24px; font-size: 15px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-500); }
.auth-switch a { color: var(--blue); }
.auth-hint { margin-top: 16px; font-size: 14px; color: var(--gray-500); }
.auth-hint a { color: var(--blue); }
.check-email-icon { font-size: 48px; margin-bottom: 16px; }

/* === User Settings === */
.settings-section { margin-bottom: 24px; }
.toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: .2s;
}
.toggle-label:hover { border-color: var(--green); }
.toggle-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.toggle-text { display: flex; flex-direction: column; gap: 2px; }
.toggle-text strong { font-size: 15px; color: var(--gray-900); }
.toggle-text small { font-size: 13px; color: var(--gray-500); line-height: 1.4; }
.settings-info { margin-top: 16px; font-size: 13px; color: var(--gray-500); }
.settings-info ul { padding-left: 20px; margin-top: 4px; }
.settings-info li { line-height: 1.5; }

/* === Forms === */
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group textarea, .form-group select {
  padding: 10px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  transition: .2s;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,69,120,.1);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }

/* === Alerts === */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* === Admin === */
.admin-header { margin-bottom: 24px; }
.admin-header h1 { color: var(--blue); margin-bottom: 12px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  transition: .2s;
}
.admin-nav-link:hover { background: var(--gray-200); }
.admin-nav-link.active { background: var(--blue); color: #fff; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-value { font-size: 28px; font-weight: 800; color: var(--blue); }
.stat-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

.admin-actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }

.admin-table-wrap { overflow-x: auto; margin-bottom: 24px; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.admin-table th {
  background: var(--blue);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.admin-table .amount { font-weight: 700; color: var(--green); white-space: nowrap; }
.admin-table .ip { font-size: 12px; color: var(--gray-500); font-family: monospace; }
.admin-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }

.admin-form { max-width: 600px; }
.admin-form .form-group { margin-bottom: 16px; }
.admin-form .current-image img { max-width: 200px; border-radius: 8px; margin-bottom: 8px; }

/* === Footer === */
.main-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.8);
  text-align: center;
  padding: 20px 16px;
  font-size: 14px;
  margin-top: auto;
}
.main-footer strong { color: #fff; }
.footer-sub { font-size: 12px; opacity: .6; margin-top: 4px; }

/* === Live indicator === */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* === Toast notifications === */
.toast-container {
  position: fixed;
  top: 70px;
  right: 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--white);
  border-left: 4px solid var(--green);
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  animation: toast-in .3s ease;
  max-width: 320px;
}
.toast-out { animation: toast-out .3s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { from { opacity: 1; } to { opacity: 0; transform: translateX(20px); } }
.toast-jersey { font-weight: 700; color: var(--blue); }
.toast-amount { font-weight: 700; color: var(--green); }

/* === Ergebnis === */
.ergebnis-hero {
  text-align: center;
  padding: 48px 20px 40px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: var(--radius);
}
.ergebnis-heart { font-size: 48px; margin-bottom: 8px; }
.ergebnis-hero h1 { font-size: 36px; margin-bottom: 4px; }
.ergebnis-subtitle { opacity: .9; font-size: 16px; margin-bottom: 24px; }
.ergebnis-total { font-size: 64px; font-weight: 900; line-height: 1.1; }
.ergebnis-total-label { font-size: 14px; opacity: .85; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
.ergebnis-count { margin-top: 16px; font-size: 15px; opacity: .8; }
.ergebnis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.ergebnis-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ergebnis-card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ergebnis-card-image img { width: 100%; height: 100%; object-fit: cover; }
.ergebnis-card-info { padding: 14px; text-align: center; }
.ergebnis-card-name { font-weight: 700; color: var(--blue); font-size: 15px; }
.ergebnis-card-number { font-size: 13px; color: var(--gray-500); }
.ergebnis-card-price { font-size: 24px; font-weight: 800; color: var(--green); margin: 8px 0 4px; }
.ergebnis-card-winner { font-size: 13px; color: var(--gray-700); }

/* === Responsive === */
@media (max-width: 600px) {
  .jersey-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cd-num { font-size: 24px; min-width: 40px; }
  .countdown-sm .cd-num { font-size: 20px; }
  .jersey-detail-name { font-size: 22px; }
  .current-bid-amount { font-size: 28px; }
  .header-inner { min-height: 52px; }
  .logo-icon { font-size: 22px; }
  .logo strong { font-size: 14px; }
  .bid-item { flex-wrap: wrap; }
  .bid-item-time { min-width: auto; text-align: left; flex-basis: 100%; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
