:root{--wca-pink:#d72f78;--wca-dark:#121722;--wca-border:#d9e1ee;--wca-soft:#f6f8fb;--wca-text:#07111f;--wca-muted:#657187;--wca-green:#15803d;--wca-red:#b91c1c;}
.wca-v5{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--wca-text);max-width:1180px;margin:0 auto;padding:12px}.wca-v5 *{box-sizing:border-box}.wca-v5-hero{display:flex;justify-content:space-between;gap:14px;align-items:center;background:linear-gradient(135deg,#121722,#333b4b);color:#fff;border-radius:18px;padding:18px 20px;margin-bottom:12px;box-shadow:0 12px 28px rgba(0,0,0,.16)}.wca-v5 h1{font-size:clamp(28px,4vw,46px);line-height:1;margin:0 0 4px;font-weight:950}.wca-v5-hero p{margin:0;font-size:clamp(16px,2vw,21px);font-weight:850;color:#f5f7fb}.wca-v5-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.wca-v5-stats span{background:#fff;color:#111827;border-radius:999px;padding:9px 12px;font-weight:900;font-size:13px;white-space:nowrap}.wca-v5-toolbar{margin:0 0 12px}.wca-v5-toolbar input{width:100%;min-height:50px;border:1px solid #cbd5e1;border-radius:14px;padding:13px 14px;font-size:17px;box-shadow:0 8px 18px rgba(30,41,59,.07)}.wca-v5-notice{border-radius:12px;padding:12px 14px;margin:0 0 12px;font-weight:850}.wca-v5-notice.success{background:#ecfdf5;border:1px solid #bbf7d0;color:var(--wca-green)}.wca-v5-notice.error{background:#fef2f2;border:1px solid #fecaca;color:var(--wca-red)}
.wca-v5-grid{display:grid;grid-template-columns:1fr;gap:8px}.wca-v5-card{display:grid;grid-template-columns:minmax(230px,1.2fr) 170px minmax(360px,1.4fr);align-items:center;gap:12px;background:#fff;border:1px solid var(--wca-border);border-radius:14px;padding:10px 12px;box-shadow:0 6px 16px rgba(30,41,59,.06)}.wca-v5-card:target{outline:3px solid #fbbf24}.wca-v5-player h2{font-size:18px;line-height:1.15;margin:0 0 6px;font-weight:950}.wca-v5-meta{display:flex;gap:6px;flex-wrap:wrap}.wca-v5-meta span{background:#f1f5f9;color:#475569;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:900;text-transform:uppercase}.wca-v5-meta strong{color:#0f172a}.wca-v5-highest{border-left:1px solid #eef2f7;padding-left:12px}.wca-v5-highest .label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--wca-muted);font-weight:950}.wca-v5-highest strong{display:block;font-size:20px;line-height:1.1;font-weight:950}.wca-v5-highest em{display:block;font-size:13px;color:var(--wca-muted);font-style:normal;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wca-v5-bidrow{display:grid;grid-template-columns:100px 1fr 105px;gap:7px;align-items:center}.wca-v5-bidrow select,.wca-v5-bidrow input{width:100%;height:42px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:8px 10px;font-size:15px}.wca-v5-bidrow select{font-weight:950}.wca-v5-bidrow button{height:42px;border:0;border-radius:10px;background:var(--wca-pink);color:#fff;font-weight:950;text-transform:uppercase;cursor:pointer}.wca-v5-bidrow button:disabled{background:#777}.wca-v5-closed{padding:12px;border-radius:10px;background:#fff7ed;color:#9a3412;font-weight:900;text-align:center}
@media(max-width:760px){.wca-v5{padding:10px 8px}.wca-v5-hero{display:block;border-radius:16px;padding:15px;margin-bottom:10px}.wca-v5 h1{font-size:29px}.wca-v5-hero p{font-size:16px;margin-bottom:10px}.wca-v5-stats{justify-content:flex-start}.wca-v5-toolbar input{font-size:16px}.wca-v5-grid{display:block}.wca-v5-card{display:block;padding:13px;margin:0 0 10px;border-radius:16px}.wca-v5-player h2{font-size:20px;margin-bottom:8px}.wca-v5-meta{margin-bottom:10px}.wca-v5-meta span{font-size:12px;padding:6px 9px}.wca-v5-highest{border-left:0;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;padding:10px 0;margin:0 0 10px;display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center}.wca-v5-highest .label{grid-column:1/2}.wca-v5-highest strong{grid-column:2/3;grid-row:1/3;font-size:22px;text-align:right}.wca-v5-highest em{grid-column:1/2;font-size:13px;white-space:normal}.wca-v5-bidrow{display:grid;grid-template-columns:110px 1fr;gap:8px}.wca-v5-bidrow select{height:48px;font-size:18px}.wca-v5-bidrow input{height:48px;font-size:17px}.wca-v5-bidrow button{grid-column:1/-1;height:50px;font-size:17px}.wca-v5-notice{position:sticky;top:0;z-index:10}}
@media(max-width:390px){.wca-v5-bidrow{grid-template-columns:1fr}.wca-v5-bidrow button{grid-column:auto}.wca-v5 h1{font-size:26px}}

/* V5.1 visual cleanup */
.wca-v5{padding-top:6px}.wca-v5-hero{display:none!important}.wca-v5-compact-stats{display:flex;justify-content:flex-end;gap:8px;margin:0 0 8px}.wca-v5-compact-stats span{background:#f1f5f9;border:1px solid #dbe4f0;border-radius:999px;color:#344055;font-size:12px;font-weight:900;padding:6px 10px}.wca-v5-card{grid-template-columns:minmax(220px,1.05fr) 150px minmax(350px,1.25fr);padding:8px 12px}.wca-v5-player h2{font-size:16px;line-height:1.15;margin-bottom:4px}.wca-v5-meta span{font-size:11px;padding:4px 7px}.wca-v5-highest strong{font-size:18px}.wca-v5-highest em{font-size:12px}.wca-v5-bidrow button{background:#c91f2f!important;color:#fff}.wca-v5-bidrow button:hover{background:#a81725!important}.wca-v5-bidrow button:disabled{background:#777!important}.wca-v5-bidrow select,.wca-v5-bidrow input,.wca-v5-bidrow button{height:38px}.wca-v5-bidrow{grid-template-columns:95px 1fr 95px}.wca-v5-toolbar input{min-height:44px;font-size:15px;padding:10px 12px}
@media(max-width:760px){.wca-v5-compact-stats{justify-content:flex-start}.wca-v5-card{padding:11px 12px}.wca-v5-player h2{font-size:22px;line-height:1.1}.wca-v5-bidrow select,.wca-v5-bidrow input,.wca-v5-bidrow button{height:46px}.wca-v5-bidrow button{font-size:16px}.wca-v5-compact-stats span{font-size:12px}}
/* V6 live refresh additions */
.wca-v5-card{transition:background-color .35s ease, box-shadow .35s ease, border-color .35s ease}.wca-v5-card.wca-v5-updated{background:#ecfdf5;border-color:#86efac;box-shadow:0 0 0 3px rgba(34,197,94,.18)}.wca-v5-inline-msg{grid-column:1/-1;font-size:12px;font-weight:900;line-height:1.2;min-height:14px;margin-top:2px}.wca-v5-inline-msg.success{color:#15803d}.wca-v5-inline-msg.error{color:#b91c1c}.wca-v5-bidrow{align-items:start}.wca-v5-bidrow button{white-space:nowrap}
@media(max-width:760px){.wca-v5-inline-msg{font-size:13px;margin-top:0}.wca-v5-bidrow{align-items:stretch}}

/* V6.1: make active highest bid amount bold red */
.wca-v5-highest strong[data-highest-amount]{
  color:#c91f2f !important;
  font-weight:950 !important;
}
.wca-v5-card[data-highest-amount="0"] .wca-v5-highest strong[data-highest-amount],
.wca-v5-highest strong[data-highest-amount]:empty{
  color:#64748b !important;
}
@media(max-width:760px){
  .wca-v5-highest strong[data-highest-amount]{
    font-size:26px !important;
  }
}

/* V6.2: force highest bid amount to show bold red, even if theme styles override it */
.wca-v5 .wca-v5-highest strong.wca-highest-amount.is-active,
.wca-v5 .wca-v5-card .wca-v5-highest strong.wca-highest-amount.is-active,
#whampions-app .wca-v5-highest strong.wca-highest-amount.is-active,
#whampions-app [data-highest-amount].wca-highest-amount.is-active {
  color: #c91f2f !important;
  font-weight: 950 !important;
  font-size: 22px !important;
  line-height: 1.05 !important;
}
.wca-v5 .wca-v5-highest strong.wca-highest-amount.is-empty,
#whampions-app [data-highest-amount].wca-highest-amount.is-empty {
  color: #64748b !important;
  font-weight: 900 !important;
}
@media (max-width: 760px) {
  #whampions-app .wca-v5-highest strong.wca-highest-amount.is-active {
    color: #c91f2f !important;
    font-size: 34px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }
  #whampions-app .wca-v5-highest strong.wca-highest-amount.is-empty {
    font-size: 22px !important;
  }
}

/* V6.4: Total Pot display */
.wca-v5-compact-stats span[data-total-pot]{
  background:#111827!important;
  border-color:#111827!important;
  color:#fff!important;
  font-size:14px;
}

/* V6.6: Auction countdown timer */
.wca-v6-countdown{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
  border-radius:14px;
  padding:10px 14px;
  margin:0 0 10px;
  box-shadow:0 6px 14px rgba(30,41,59,.05);
}
.wca-v6-countdown-label{
  font-size:13px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.wca-v6-countdown strong{
  display:inline-block;
  min-width:150px;
  color:#c91f2f;
  font-size:28px;
  font-weight:950;
  line-height:1;
  text-align:center;
  font-variant-numeric:tabular-nums;
}
.wca-v6-countdown[data-countdown-mode="start"]{
  background:#eff6ff;
  border-color:#bfdbfe;
  color:#1e3a8a;
}
.wca-v6-countdown[data-countdown-mode="start"] strong{
  color:#1d4ed8;
}
.wca-v6-countdown[data-countdown-mode="ended"]{
  background:#fef2f2;
  border-color:#fecaca;
  color:#991b1b;
}
@media(max-width:760px){
  .wca-v6-countdown{
    justify-content:space-between;
    padding:11px 12px;
    gap:8px;
  }
  .wca-v6-countdown-label{
    font-size:12px;
  }
  .wca-v6-countdown strong{
    min-width:120px;
    font-size:24px;
  }
}
.wca-v5-bidder-label{
  font-size:12px;
  color:#374151;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:8px;
  padding:9px 10px;
  line-height:1.2;
}

/* Auction Results */
.wca-results-wrap{
  max-width:1100px;
  margin:0 auto;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.wca-results-wrap h2{
  margin:0 0 14px;
  font-size:32px;
}
.wca-results-wrap h3{
  margin:24px 0 10px;
  font-size:20px;
}
.wca-results-summary{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:12px 14px;
  margin:0 0 16px;
}
.wca-results-table-scroll{
  overflow-x:auto;
  border:1px solid #d1d5db;
  border-radius:10px;
  background:#fff;
}
.wca-results-table{
  width:100%;
  border-collapse:collapse;
  min-width:680px;
  font-size:15px;
}
.wca-results-table th,
.wca-results-table td{
  padding:10px 12px;
  border-bottom:1px solid #e5e7eb;
  text-align:left;
  vertical-align:middle;
}
.wca-results-table th{
  background:#f3f4f6;
  font-weight:700;
}
.wca-results-table tr:last-child td{
  border-bottom:0;
}
.wca-results-table td:nth-child(2),
.wca-results-table td:nth-child(3),
.wca-results-table td:nth-child(5),
.wca-results-table th:nth-child(2),
.wca-results-table th:nth-child(3),
.wca-results-table th:nth-child(5){
  text-align:right;
}
.wca-results-totals td:nth-child(2),
.wca-results-totals td:nth-child(3),
.wca-results-totals th:nth-child(2),
.wca-results-totals th:nth-child(3){
  text-align:right;
}
.wca-results-button{
  display:inline-block;
  margin-top:10px;
  padding:10px 14px;
  border-radius:8px;
  background:#14532d;
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
}
@media(max-width:760px){
  .wca-results-wrap h2{font-size:26px;}
  .wca-results-table{font-size:14px;}
  .wca-results-table th,.wca-results-table td{padding:9px 10px;}
}

/* First Year Players */
.wca-first-year-player{
  color:#b91c1c;
  font-weight:700;
}
