
:root{
  --pv-bg:#060914;
  --pv-panel:#0d1526;
  --pv-panel-2:#111b2e;
  --pv-border:rgba(148,163,184,.20);
  --pv-text:#f8fafc;
  --pv-muted:#98a6bd;
  --pv-blue:#38bdf8;
  --pv-purple:#8b5cf6;
  --pv-purple-2:#6d28d9;
}
*{box-sizing:border-box}
body.pvpium-shell{
  margin:0;
  padding:0 0 32px;
  min-height:100vh;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 18% 0%,rgba(124,58,237,.22),transparent 34rem),
    radial-gradient(circle at 90% 15%,rgba(14,165,233,.18),transparent 32rem),
    var(--pv-bg);
  color:var(--pv-text);
}
.pvpium-notification-button{position:relative;width:38px;min-width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;padding:0;border:1px solid rgba(148,163,184,.25);border-radius:9px;background:#111827;color:#e0f2fe;cursor:pointer;font-size:18px;line-height:1}.pvpium-notification-badge{position:absolute;top:-6px;right:-6px;min-width:18px;padding:2px 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:900}.pvpium-notification-panel{position:absolute;z-index:1000;top:58px;right:18px;width:min(360px,calc(100vw - 24px));border:1px solid rgba(148,163,184,.25);border-radius:12px;background:#0b1220;box-shadow:0 18px 48px rgba(0,0,0,.38);overflow:hidden}.pvpium-notification-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid rgba(148,163,184,.16);color:#f8fafc}.pvpium-notification-panel-head button{border:0;background:transparent;color:#93c5fd;cursor:pointer;font-size:12px}.pvpium-notification-list{display:grid;max-height:420px;overflow:auto}.pvpium-notification-item{display:grid;gap:4px;padding:12px 14px;border-bottom:1px solid rgba(148,163,184,.12);color:#cbd5e1;text-decoration:none}.pvpium-notification-item:hover,.pvpium-notification-item.unread{background:rgba(37,99,235,.14)}.pvpium-notification-item strong{color:#f8fafc;font-size:13px}.pvpium-notification-item span{font-size:12px;line-height:1.4}.pvpium-notification-item small,.pvpium-notification-empty,.pvpium-push-status{color:#94a3b8;font-size:11px}.pvpium-notification-empty{padding:18px;text-align:center}.pvpium-push-status{display:block;font-weight:700}
@media(max-width:760px){.pvpium-notification-panel{position:fixed;top:70px;right:12px}.pvpium-header-actions{position:relative}}
.pvpium-notification-prompt{position:fixed;z-index:1100;right:18px;bottom:18px;width:min(420px,calc(100vw - 36px));display:grid;gap:10px;padding:16px;border:1px solid rgba(125,211,252,.32);border-radius:12px;background:#0b1220;color:#f8fafc;box-shadow:0 18px 48px rgba(0,0,0,.38)}.pvpium-notification-prompt span{color:#cbd5e1;font-size:13px;line-height:1.45}.pvpium-notification-prompt div{display:flex;gap:8px;flex-wrap:wrap}.pvpium-notification-prompt button{padding:9px 12px;border:1px solid rgba(148,163,184,.3);border-radius:8px;background:#172033;color:#f8fafc;cursor:pointer;font-weight:800}.pvpium-notification-prompt [data-notification-enable]{background:#2563eb;border-color:#2563eb}
.pvpium-global-header{
  max-width:1180px;
  margin:18px auto 0;
  padding:14px 16px;
  border:1px solid var(--pv-border);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(13,21,38,.92),rgba(8,13,24,.92));
  box-shadow:0 18px 60px rgba(0,0,0,.28), inset 0 -1px 0 rgba(139,92,246,.32);
  display:flex;
  align-items:center;
  gap:20px;
  position:relative;
  z-index:20;
}
.pvpium-announcement{
  width:100%;
  min-height:38px;
  overflow:hidden;
  display:flex;
  align-items:center;
  background:#0b1220;
  border-bottom:1px solid rgba(56,189,248,.38);
  color:#f8fafc;
  position:relative;
  z-index:30;
}
.pvpium-announcement-track{
  display:flex;
  align-items:center;
  width:max-content;
  animation:pvpium-announcement-scroll 24s linear infinite;
  will-change:transform;
}
.pvpium-announcement-item{
  min-width:100vw;
  padding:9px 32px;
  color:inherit;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
  font-size:14px;
  line-height:20px;
  font-weight:850;
}
.pvpium-announcement a:hover{text-decoration:underline;color:#7dd3fc}
.pvpium-announcement + .pvpium-global-header{margin-top:14px}
@keyframes pvpium-announcement-scroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
  .pvpium-announcement-track{width:100%;animation:none}
  .pvpium-announcement-item{display:none;white-space:normal}
  .pvpium-announcement-item:first-child{display:block;width:100%;min-width:0}
}
@media(max-width:620px){
  .pvpium-announcement-item{padding:8px 20px;font-size:13px}
}
.pvpium-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:210px;
  text-decoration:none;
  color:#fff;
}
.pvpium-mark{
  width:48px;height:48px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(139,92,246,.24),rgba(56,189,248,.12));
  border:1px solid rgba(167,139,250,.45);
  color:#c4b5fd;
  font-weight:1000;
  font-size:22px;
  box-shadow:0 0 24px rgba(139,92,246,.18);
}
.pvpium-brand strong{display:block;font-size:25px;letter-spacing:-.04em;line-height:1;color:#c4b5fd}
.pvpium-brand span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#cbd5e1;margin-top:4px}
.pvpium-global-nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex:1;
  justify-content:center;
}
.pvpium-global-nav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  color:#e5e7eb;
  text-decoration:none;
  font-weight:900;
  font-size:14px;
  white-space:nowrap;
}
.pvpium-global-nav a:hover,
.pvpium-global-nav a.active{
  background:rgba(139,92,246,.16);
  color:#fff;
}
.pvpium-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.pvpium-header-actions .pvpium-notification-button,
.pvpium-header-actions .pvpium-account-link{
  margin-top:0;
}
.pvpium-account-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 13px;
  border:1px solid var(--pv-border);
  border-radius:8px;
  background:#172033;
  color:#f8fafc;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
}
.pvpium-account-link:hover{filter:brightness(1.1)}
.pvpium-guide-search{
  position:relative;
}
.pvpium-guide-search input{
  width:220px;
  padding:11px 42px 11px 14px;
  border-radius:999px;
  border:1px solid var(--pv-border);
  background:#111827;
  color:#f8fafc;
  outline:none;
}
.pvpium-guide-search input:focus{
  border-color:rgba(56,189,248,.65);
  box-shadow:0 0 0 3px rgba(56,189,248,.12);
}
.pvpium-guide-search button{
  position:absolute;
  right:4px;
  top:4px;
  width:34px;height:34px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#cbd5e1;
  cursor:pointer;
  font-size:16px;
}
.pvpium-global-footer{
  max-width:1180px;
  margin:34px auto 18px;
  border:1px solid var(--pv-border);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(13,21,38,.92),rgba(8,13,24,.92));
  overflow:hidden;
  box-shadow:0 18px 60px rgba(0,0,0,.24);
}
.pvpium-footer-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr .8fr;
  gap:26px;
  padding:28px;
}
.pvpium-footer-brand strong{
  display:block;font-size:28px;color:#c4b5fd;letter-spacing:-.04em;margin-bottom:4px;
}
.pvpium-footer-brand span{display:block;color:#cbd5e1;font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px}
.pvpium-footer-brand p{color:var(--pv-muted);line-height:1.55;max-width:260px}
.pvpium-footer-socials{display:flex;gap:10px;margin-top:16px}
.pvpium-footer-socials a{width:34px;height:34px;border-radius:999px;background:#172033;color:#e5e7eb;display:grid;place-items:center;text-decoration:none}
.pvpium-footer-col h3{font-size:13px;text-transform:uppercase;letter-spacing:.09em;color:#cbd5e1;margin-bottom:14px}
.pvpium-footer-col a{display:block;color:#dbeafe;text-decoration:none;margin:10px 0;font-size:14px}
.pvpium-footer-col a:hover{color:#7dd3fc}
.pvpium-footer-bottom{
  padding:14px 28px;
  border-top:1px solid var(--pv-border);
  color:var(--pv-muted);
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:13px;
}
@media(max-width:980px){
  .pvpium-global-header{align-items:flex-start;flex-direction:column}
  .pvpium-global-nav{justify-content:flex-start;flex-wrap:wrap}
  .pvpium-header-actions{width:100%}
  .pvpium-guide-search{flex:1}.pvpium-guide-search input{width:100%}
  .pvpium-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .pvpium-global-header,.pvpium-global-footer{margin-left:12px;margin-right:12px}
  .pvpium-footer-grid{grid-template-columns:1fr;padding:22px}
}


/* v161: old per-page hero/navigation blocks removed in favor of global header */
.legacy-hero,
.old-hero-nav{display:none!important}
.pvpium-global-header + main,
.pvpium-global-header + .app,
.pvpium-global-header + .container,
.pvpium-global-header + .page,
.pvpium-global-header + section{margin-top:24px}


/* v170 precise home alignment */
:root{--pvpium-page-width:1180px}
body.pvpium-shell .pvpium-global-header,
body.pvpium-shell .pvpium-global-footer{
    max-width:var(--pvpium-page-width)!important;
}
body.pvpium-shell > .container,
body.pvpium-shell > main,
body.pvpium-shell > .app,
body.pvpium-shell .container,
body.pvpium-shell .app,
body.pvpium-shell .main,
body.pvpium-shell .main-content,
body.pvpium-shell .content,
body.pvpium-shell .layout,
body.pvpium-shell .grid,
body.pvpium-shell .tool-grid,
body.pvpium-shell .main-grid,
body.pvpium-shell .checker-grid,
body.pvpium-shell .ranker-grid,
body.pvpium-shell .calculator-grid,
body.pvpium-shell .calculator-layout,
body.pvpium-shell .calculator-shell,
body.pvpium-shell .app-container,
body.pvpium-shell .main-container,
body.pvpium-shell .home-container{
    max-width:var(--pvpium-page-width)!important;
    width:calc(100% - 36px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
body.pvpium-shell .guides-section,
body.pvpium-shell .home-guides,
body.pvpium-shell .pvpium-guides,
body.pvpium-shell .guide-promo,
body.pvpium-shell .guides-card,
body.pvpium-shell .guides-panel{
    max-width:var(--pvpium-page-width)!important;
    width:calc(100% - 36px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
body.pvpium-shell .checker-card,
body.pvpium-shell .input-card,
body.pvpium-shell .result-card,
body.pvpium-shell .results-card{
    min-width:0!important;
}
@media(max-width:760px){
  body.pvpium-shell > .container,
  body.pvpium-shell > main,
  body.pvpium-shell > .app,
  body.pvpium-shell .container,
  body.pvpium-shell .app,
  body.pvpium-shell .main,
  body.pvpium-shell .main-content,
  body.pvpium-shell .content,
  body.pvpium-shell .layout,
  body.pvpium-shell .grid,
  body.pvpium-shell .tool-grid,
  body.pvpium-shell .main-grid,
  body.pvpium-shell .checker-grid,
  body.pvpium-shell .ranker-grid,
  body.pvpium-shell .calculator-grid,
  body.pvpium-shell .calculator-layout,
  body.pvpium-shell .calculator-shell,
  body.pvpium-shell .app-container,
  body.pvpium-shell .main-container,
  body.pvpium-shell .home-container,
  body.pvpium-shell .guides-section,
  body.pvpium-shell .home-guides,
  body.pvpium-shell .pvpium-guides,
  body.pvpium-shell .guide-promo,
  body.pvpium-shell .guides-card,
  body.pvpium-shell .guides-panel{
      width:calc(100% - 24px)!important;
  }
}

/* v173 header logo */
.pvpium-brand{
  min-width:214px;
}
.pvpium-logo-img{
  display:block;
  width:214px;
  height:auto;
  max-height:56px;
  object-fit:contain;
  filter:drop-shadow(0 0 14px rgba(139,92,246,.22));
  transition:transform .18s ease, filter .18s ease;
}
.pvpium-brand:hover .pvpium-logo-img{
  transform:translateY(-1px);
  filter:drop-shadow(0 0 18px rgba(56,189,248,.32));
}
.pvpium-mark{
  display:none!important;
}
@media(max-width:760px){
  .pvpium-brand{min-width:auto}
  .pvpium-logo-img{width:178px;max-height:48px}
}

/* v231: keep the shared header usable after adding more nav items */
body.pvpium-shell .pvpium-global-header{
  width:calc(100% - 36px);
  max-width:var(--pvpium-page-width)!important;
  gap:10px;
  padding:12px 14px;
}
body.pvpium-shell .pvpium-global-header .pvpium-brand{
  flex:0 0 auto;
  min-width:168px;
}
body.pvpium-shell .pvpium-global-header .pvpium-logo-img{
  width:clamp(168px,13vw,196px);
}
body.pvpium-shell .pvpium-global-nav{
  min-width:0;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:5px;
}
body.pvpium-shell .pvpium-global-nav a{
  padding:8px 10px;
  font-size:13px;
  line-height:1.1;
}
@media(min-width:1101px){
  body.pvpium-shell .pvpium-global-header{
    align-items:center;
    flex-direction:row;
  }
  body.pvpium-shell .pvpium-header-actions{
    width:auto;
    margin-left:auto;
  }
}
@media(min-width:621px) and (max-width:1100px){
  body.pvpium-shell .pvpium-global-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:10px 16px;
  }
  body.pvpium-shell .pvpium-global-nav{
    grid-column:1 / -1;
    width:100%;
  }
  body.pvpium-shell .pvpium-header-actions{
    width:auto;
    justify-content:flex-end;
    grid-column:2;
    grid-row:1;
  }
}
@media(max-width:620px){
  body.pvpium-shell .pvpium-global-header{
    align-items:flex-start;
    flex-direction:column;
  }
  body.pvpium-shell .pvpium-global-nav{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
    overflow:visible;
    padding-bottom:0;
  }
  body.pvpium-shell .pvpium-global-nav a{
    flex:0 1 auto;
  }
}
@media(max-width:620px){
  body.pvpium-shell .pvpium-global-header{
    width:calc(100% - 24px);
    padding:10px;
    gap:10px;
    border-radius:14px;
  }
  body.pvpium-shell .pvpium-global-header .pvpium-brand{
    width:100%;
    justify-content:center;
  }
  body.pvpium-shell .pvpium-global-header .pvpium-logo-img{
    width:156px;
    max-height:42px;
  }
  body.pvpium-shell .pvpium-global-nav{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
  }
  body.pvpium-shell .pvpium-global-nav a{
    min-width:0;
    min-height:48px;
    justify-content:center;
    flex-direction:column;
    gap:2px;
    padding:7px 5px;
    border-radius:12px;
    white-space:normal;
    text-align:center;
    font-size:10px;
    line-height:1.05;
  }
  body.pvpium-shell .pvpium-global-nav .nav-icon{
    display:block;
    font-size:16px;
    line-height:1;
  }
  body.pvpium-shell .pvpium-global-nav .nav-label{
    display:block;
    max-width:100%;
    white-space:normal;
  }
  body.pvpium-shell .pvpium-header-actions{
    width:100%;
    justify-content:flex-end;
  }
}

/* v252: keep the notification drawer in the mobile header flow */
@media(max-width:760px){
  body.pvpium-shell .pvpium-header-actions{
    grid-column:1 / -1;
    grid-row:auto;
    width:100%;
    flex-wrap:wrap;
    justify-content:flex-end;
    position:relative;
    z-index:2;
  }
  body.pvpium-shell .pvpium-notification-panel{
    position:static;
    order:10;
    flex:0 0 100%;
    width:100%;
    max-width:none;
    margin-top:8px;
  }
  body.pvpium-shell .pvpium-notification-list{
    max-height:min(360px, calc(100vh - 280px));
  }
}

.scroll-top-btn{
  position:fixed;
  right:18px;
  bottom:58px;
  width:46px;
  height:46px;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid rgba(125,211,252,.48);
  border-radius:999px;
  background:linear-gradient(135deg,#0f172a,#12304a 54%,#155e75);
  color:#e0f2fe;
  box-shadow:0 14px 34px rgba(8,13,24,.34),0 0 0 1px rgba(139,92,246,.12) inset;
  font-size:22px;
  font-weight:950;
  line-height:1;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  transition:opacity .18s ease, transform .18s ease, border-color .18s ease, filter .18s ease;
}
.scroll-top-btn.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.scroll-top-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(34,211,238,.75);
  filter:brightness(1.08);
}
@media(max-width:760px){
  .scroll-top-btn{
    right:12px;
    bottom:58px;
    width:42px;
    height:42px;
    font-size:20px;
  }
}

/* Community tournaments */
.community-shell{max-width:1180px;width:calc(100% - 36px);margin:24px auto 0}.community-shell.narrow{max-width:620px}
.community-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:30px;border:1px solid var(--pv-border);border-radius:18px;background:linear-gradient(135deg,rgba(17,24,39,.96),rgba(14,23,42,.9));box-shadow:0 18px 60px rgba(0,0,0,.22);margin-bottom:18px}.community-account-bar{display:flex;justify-content:flex-end;padding:14px 0 18px}.community-hero.compact{align-items:center}.community-hero h1{max-width:760px;margin:8px 0 10px;font-size:clamp(32px,5vw,58px);line-height:1.02;letter-spacing:0}.community-hero p,.community-muted{color:var(--pv-muted);line-height:1.55}.community-kicker{display:inline-flex;color:#7dd3fc;font-weight:950;text-transform:uppercase;letter-spacing:.08em;font-size:12px}.community-actions,.community-card-actions,.score-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.community-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 14px;border:1px solid rgba(148,163,184,.22);border-radius:10px;background:#172033;color:#f8fafc;text-decoration:none;font-weight:900;cursor:pointer}.community-btn.primary{background:#2563eb;border-color:#60a5fa}.community-btn.danger{background:#7f1d1d;border-color:#f87171}.community-btn:hover{filter:brightness(1.08)}
.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.community-main,.community-side,.community-form-panel,.community-table-panel,.match-room-card,.chat-panel{border:1px solid var(--pv-border);border-radius:18px;background:rgba(13,21,38,.92);padding:20px}.community-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.community-section-head h1,.community-section-head h2{margin:0}.page-head{padding:22px;border:1px solid var(--pv-border);border-radius:18px;background:rgba(13,21,38,.82)}
.tournament-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.tournament-card{display:grid;gap:14px;padding:18px;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:#0f172a}.tournament-card-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.tournament-card h3{margin:0;font-size:22px}.tournament-card h3 a{color:#fff;text-decoration:none}.tournament-card p{margin:0;color:var(--pv-muted);line-height:1.5}.community-status,.community-chip{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;background:rgba(148,163,184,.16);color:#dbeafe;font-size:12px;font-weight:950;text-transform:uppercase}.community-status.open,.community-status.approved,.community-status.confirmed,.community-alert.success{background:rgba(34,197,94,.14);color:#bbf7d0}.community-status.active,.community-status.reported{background:rgba(56,189,248,.14);color:#bae6fd}.community-status.disputed,.community-alert.error{background:rgba(239,68,68,.16);color:#fecaca}.community-status.pending{background:rgba(250,204,21,.14);color:#fde68a}
.community-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0}.community-meta div{padding:10px;border-radius:10px;background:#111827}.community-meta dt{font-size:11px;text-transform:uppercase;color:#94a3b8;font-weight:900}.community-meta dd{margin:4px 0 0;font-weight:900}.community-alert{padding:13px 15px;border:1px solid rgba(255,255,255,.12);border-radius:12px;margin-bottom:14px;font-weight:800}.community-empty{padding:18px;color:#94a3b8;text-align:center}.leaderboard-list,.participant-list{display:grid;gap:9px;margin:0;padding:0;list-style:none}.leaderboard-list{max-height:620px;overflow:auto;padding-right:4px;scrollbar-width:thin}.leaderboard-list li,.participant-list>div,.participant-list>a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;padding:12px;border-radius:12px;background:#0f172a;color:#f8fafc;text-decoration:none}.leaderboard-list li span{grid-row:1/3;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#1e293b;font-weight:950}.leaderboard-list small,.participant-list small,.community-table small,.match-row small,.match-versus small{display:block;color:#94a3b8;margin-top:4px}
.community-form{display:grid;gap:14px;margin-top:18px}.community-form label,.score-form label{display:grid;gap:7px;color:#cbd5e1;font-weight:900}.community-form label span{color:#94a3b8;font-weight:700}.community-form input,.score-form input,.chat-form textarea{width:100%;padding:12px 13px;border:1px solid rgba(148,163,184,.22);border-radius:10px;background:#0f172a;color:#f8fafc}.community-link{color:#93c5fd;text-decoration:none;font-weight:800}.community-table-panel{overflow:auto}.community-table{width:100%;border-collapse:collapse;min-width:720px}.community-table th,.community-table td{padding:13px 14px;border-bottom:1px solid rgba(148,163,184,.14);text-align:left}.community-table th{color:#94a3b8;text-transform:uppercase;font-size:12px;letter-spacing:.08em}
.match-round-list{display:grid;gap:16px}.match-round-group{display:grid;gap:10px;padding:12px;border:1px solid rgba(148,163,184,.12);border-radius:14px;background:rgba(15,23,42,.55)}.match-round-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.match-round-head h3{margin:0;color:#f8fafc}.match-round-head span{color:#94a3b8;font-weight:900}.match-list{display:grid;gap:10px}.match-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:14px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:#0f172a}.bye-row{background:rgba(34,197,94,.08)}.match-score{font-size:24px;font-weight:950;color:#bfdbfe}.match-versus{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center}.match-versus>span{font-size:34px;font-weight:950;color:#bfdbfe;text-align:center}.match-player-card{display:grid;gap:7px;min-width:0;padding:12px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:#0f172a}.friend-code-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.friend-code-row small{margin:0}.friend-code-row span{color:#e0f2fe;font-weight:950;letter-spacing:.04em}.copy-friend-code{min-height:30px;padding:5px 9px;border:1px solid rgba(125,211,252,.32);border-radius:8px;background:#172033;color:#bfdbfe;font-weight:950;cursor:pointer}.copy-friend-code:hover{filter:brightness(1.12)}.chat-panel{margin-top:18px}.chat-log{display:grid;gap:10px;margin:12px 0}.chat-message{max-width:78%;padding:12px;border-radius:12px;background:#111827}.chat-message.mine{margin-left:auto;background:#14305f}.chat-message p{margin:6px 0;color:#e5e7eb;line-height:1.45}.chat-message small{color:#94a3b8}.chat-form,.score-form{display:grid;gap:10px}.score-actions{margin-top:12px}.score-actions .community-btn{flex:1}
@media(max-width:900px){.community-hero,.community-section-head.page-head{align-items:flex-start;flex-direction:column}.community-layout{grid-template-columns:1fr}.match-row{grid-template-columns:1fr}.match-versus{grid-template-columns:1fr;text-align:left}.match-versus span{text-align:left}.community-meta{grid-template-columns:1fr}.chat-message{max-width:100%}}
@media(max-width:620px){.community-shell{width:calc(100% - 24px)}.community-hero,.community-main,.community-side,.community-form-panel,.community-table-panel,.match-room-card,.chat-panel{padding:16px}.community-hero h1{font-size:34px}.community-actions .community-btn{width:100%}}
.community-actions .community-btn,.community-card-actions .community-btn{white-space:normal;text-align:center}.community-side{min-width:0}.tournament-card,.match-row,.participant-list>a,.participant-list>div{min-width:0}.tournament-card h3,.participant-list strong,.leaderboard-list strong{overflow-wrap:anywhere}.team-entry-input{max-width:100%}.participant-list.dashboard-stats-list{grid-template-columns:1fr}.participant-list>.dashboard-stat-card{grid-template-columns:1fr;gap:12px}.dashboard-stat-rank{font-size:18px;line-height:1.2}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dashboard-stat-grid span{min-width:0;padding:9px;border:1px solid rgba(148,163,184,.12);border-radius:10px;background:rgba(17,24,39,.72)}.dashboard-stat-grid b,.dashboard-stat-grid small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-stat-grid b{color:#f8fafc;font-size:15px;line-height:1.15}.dashboard-stat-grid small{margin-top:4px;color:#94a3b8;font-size:11px}
.participant-list.dashboard-tournament-list>a{grid-template-columns:minmax(0,1fr);gap:6px}.dashboard-tournament-list>a>small{grid-column:1;grid-row:2;min-width:0;margin:0;line-height:1.4;overflow-wrap:anywhere}
@media(min-width:901px) and (max-width:1100px){.community-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:760px){.community-layout{grid-template-columns:1fr}.community-account-bar{justify-content:stretch}.community-account-bar .community-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.community-card-actions form,.community-card-actions .community-btn{width:100%}.community-table{min-width:640px}.leaderboard-list{max-height:440px}}
.tournament-hero{align-items:stretch}.tournament-hero>div:first-child{display:flex;flex-direction:column;justify-content:center}.tournament-hero-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.tournament-command-card{width:min(430px,100%);display:grid;gap:12px;align-content:center;padding:18px;border:1px solid rgba(125,211,252,.26);border-radius:16px;background:#0b1220;box-shadow:inset 0 0 0 1px rgba(37,99,235,.12)}.tournament-command-card strong{font-size:22px}.tournament-command-card small{color:#94a3b8}.round-countdown{padding:14px 16px;border-radius:12px;background:linear-gradient(135deg,#172033,#12304a);color:#e0f2fe;font-size:34px;font-weight:950;letter-spacing:0;text-align:center}.round-countdown.ended{background:#3b1620;color:#fecaca}.tournament-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.tournament-stats article{padding:16px;border:1px solid var(--pv-border);border-radius:14px;background:rgba(13,21,38,.92)}.tournament-stats small{display:block;color:#7dd3fc;font-size:11px;text-transform:uppercase;font-weight:950;letter-spacing:.08em}.tournament-stats strong{display:block;margin-top:8px;font-size:28px;line-height:1}.tournament-stats span{display:block;margin-top:6px;color:#94a3b8}.tournament-empty-state{display:grid;gap:6px}.tournament-empty-state strong{color:#f8fafc;font-size:18px}.tournament-empty-state span{color:#94a3b8}.team-entry-input{width:100%;min-width:220px;margin:8px 0;padding:10px 12px;border:1px solid rgba(148,163,184,.22);border-radius:10px;background:#0f172a;color:#f8fafc;resize:vertical}.team-entry-builder{display:grid;gap:10px;max-height:520px;overflow:auto;padding-right:4px;scrollbar-width:thin}.team-slot{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;padding:10px;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#111827}.team-slot>strong{grid-row:1/5;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#1e293b;color:#bfdbfe}.team-slot select{width:100%;min-width:0;padding:9px 10px;border:1px solid rgba(148,163,184,.22);border-radius:9px;background:#0f172a;color:#f8fafc}.pokemon-select-native{display:none}.pokemon-picker{position:relative;min-width:0}.pokemon-picker-current{width:100%;min-height:46px;display:flex;align-items:center;gap:10px;padding:7px 10px;border:1px solid rgba(148,163,184,.24);border-radius:10px;background:#0f172a;color:#f8fafc;text-align:left;cursor:pointer}.pokemon-picker-current:after{content:"⌄";margin-left:auto;color:#93c5fd;font-weight:950}.pokemon-picker-current img,.pokemon-picker-option img{width:34px;height:34px;object-fit:contain;flex:0 0 auto}.pokemon-picker-current span,.pokemon-picker-option span{min-width:0;display:grid;gap:1px}.pokemon-picker-current strong,.pokemon-picker-option strong{display:block;width:auto;height:auto;border-radius:0;background:transparent;color:#f8fafc;place-items:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pokemon-picker-current small,.pokemon-picker-option small{color:#94a3b8;font-size:12px}.pokemon-picker-empty{color:#94a3b8;font-weight:900}.pokemon-picker-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;padding:8px;border:1px solid rgba(125,211,252,.28);border-radius:12px;background:#08111f;box-shadow:0 18px 42px rgba(0,0,0,.42)}.pokemon-picker-search{width:100%;padding:9px 10px;border:1px solid rgba(148,163,184,.26);border-radius:9px;background:#0f172a;color:#f8fafc}.pokemon-picker-list{display:grid;gap:4px;max-height:260px;overflow:auto;margin-top:8px;scrollbar-width:thin}.pokemon-picker-option{width:100%;display:flex;align-items:center;gap:10px;padding:7px 8px;border:0;border-radius:9px;background:transparent;color:#f8fafc;text-align:left;cursor:pointer}.pokemon-picker-option:hover,.pokemon-picker-option.active{background:#172033}.pokemon-picker-no-results{padding:12px;color:#94a3b8;text-align:center}.team-preview{grid-column:1/-1;display:grid;gap:6px;margin-top:8px}.team-preview article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:8px;align-items:center;padding:8px;border-radius:9px;background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.12)}.team-preview-img{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.28))}.team-preview span{min-width:0;display:grid;gap:2px}.team-preview strong,.team-preview small,.team-preview em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-preview strong{overflow-wrap:anywhere}.team-preview em{font-style:normal;color:#7dd3fc;font-size:11px;font-weight:900}.team-preview small{line-height:1.35;color:#94a3b8}
.tournament-description-section{margin-bottom:18px}.tournament-description{margin:0;white-space:pre-line;overflow-wrap:anywhere;line-height:1.6;color:var(--pv-muted)}
.tournament-podium-section{margin:0 0 18px;padding:20px;border:1px solid rgba(125,211,252,.22);border-radius:18px;background:linear-gradient(180deg,rgba(13,21,38,.96),rgba(10,15,28,.96));overflow:hidden}.tournament-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.podium-card{position:relative;display:grid;grid-template-rows:auto auto minmax(58px,auto) auto;gap:13px;min-width:0;padding:16px;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:#0f172a;box-shadow:inset 0 -16px 0 rgba(15,23,42,.86)}.podium-card.place-1{min-height:260px;order:2;border-color:rgba(250,204,21,.42);background:linear-gradient(180deg,rgba(55,48,18,.72),#0f172a)}.podium-card.place-2{min-height:220px;order:1;border-color:rgba(203,213,225,.36);background:linear-gradient(180deg,rgba(51,65,85,.62),#0f172a)}.podium-card.place-3{min-height:195px;order:3;border-color:rgba(251,146,60,.36);background:linear-gradient(180deg,rgba(67,38,18,.58),#0f172a)}.podium-trophy{width:74px;height:74px;justify-self:center;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(0,0,0,.34))}.place-1 .podium-trophy{width:92px;height:92px}.podium-rank{display:flex;align-items:center;gap:10px;min-width:0}.podium-rank span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#1e293b;color:#f8fafc;font-size:22px;font-weight:950}.place-1 .podium-rank span{background:#facc15;color:#111827}.place-2 .podium-rank span{background:#cbd5e1;color:#0f172a}.place-3 .podium-rank span{background:#fb923c;color:#111827}.podium-rank strong{min-width:0;color:#e0f2fe;font-size:13px;text-transform:uppercase;overflow-wrap:anywhere}.podium-player{display:grid;align-content:start;gap:4px;min-width:0}.podium-player strong{min-width:0;color:#f8fafc;font-size:22px;line-height:1.1;overflow-wrap:anywhere}.podium-player small{color:#cbd5e1}.podium-card dl{align-self:end;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.podium-card dl div{min-width:0;min-height:68px;display:grid;grid-template-rows:24px 1fr;align-items:center;padding:9px;border:1px solid rgba(148,163,184,.13);border-radius:10px;background:rgba(2,6,23,.34)}.podium-card dt{min-width:0;color:#94a3b8;font-size:10px;line-height:1.15;font-weight:950;text-transform:uppercase;text-align:center;overflow-wrap:anywhere}.podium-card dd{margin:0;color:#f8fafc;font-size:18px;line-height:1;font-weight:950;text-align:center}
.standing-row>span{grid-row:1/4;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#1e293b;color:#bfdbfe;font-weight:950}.standing-row strong,.standing-row small{min-width:0}.public-teams-section,.team-vs-team-board{margin-top:18px}.public-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.public-team-card{display:grid;gap:10px;min-width:0;padding:14px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:#0f172a}.public-team-card>div strong,.public-team-card>div small{display:block}.public-team-card>div small{color:#94a3b8;margin-top:4px}.public-team-card .team-preview{margin-top:0}.team-preview.pokemon-only{grid-template-columns:repeat(auto-fit,minmax(116px,1fr));margin-top:8px}.team-preview.pokemon-only article{grid-template-columns:34px minmax(0,1fr);padding:7px}.team-preview.pokemon-only .team-preview-img{width:34px;height:34px}.team-preview.pokemon-only strong{font-size:13px}.match-player-card .team-preview{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:6px}.match-player-card .team-preview article{padding:7px}.match-player-card .team-preview small{white-space:normal}.team-scoreboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.team-scoreboard article{padding:16px;border:1px solid rgba(125,211,252,.18);border-radius:14px;background:#0f172a}.team-scoreboard small{display:block;color:#7dd3fc;text-transform:uppercase;font-size:12px;font-weight:950;letter-spacing:.08em}.team-scoreboard strong{display:block;margin-top:8px;font-size:36px;line-height:1}.team-pair-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.team-pair-column{display:grid;gap:10px;min-width:0}.team-pair-column h3{margin:0;color:#f8fafc}.team-pair-box{display:grid;gap:9px;padding:12px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:#0f172a}.team-pair-box>strong{color:#bfdbfe}.team-pair-player{display:grid;gap:3px;padding:10px;border-radius:10px;background:#111827}.team-pair-player span{font-weight:950;color:#f8fafc}.team-pair-player small{color:#94a3b8}
.my-team-section,.my-squad-section{margin-bottom:18px}.team-editor-form{display:grid;gap:14px}.team-entry-builder.full{max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));padding-right:0}.team-editor-actions{justify-content:flex-end}.team-editor-actions .community-btn{min-width:160px}.squad-pair-form{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto;gap:12px;align-items:end}.squad-pair-form label{display:grid;gap:7px;color:#cbd5e1;font-weight:900}.squad-pair-form input,.squad-pair-form select{width:100%;min-width:0;padding:11px 12px;border:1px solid rgba(148,163,184,.22);border-radius:10px;background:#0f172a;color:#f8fafc}.squad-pair-summary{display:grid;gap:4px;padding:14px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:#0f172a}.squad-pair-summary span{color:#94a3b8}
@media(max-width:760px){.team-entry-builder.full,.squad-pair-form,.team-scoreboard,.team-pair-board{grid-template-columns:1fr}.team-editor-actions .community-btn,.squad-pair-form .community-btn{width:100%}}
@media(max-width:900px){.tournament-hero{flex-direction:column}.tournament-command-card{width:100%}.tournament-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.match-round-head{align-items:flex-start;flex-direction:column}.match-row .community-btn,.match-row .community-chip{width:100%}.match-score{justify-self:start}.public-team-grid{grid-template-columns:1fr}.team-preview.pokemon-only{grid-template-columns:repeat(2,minmax(0,1fr))}.match-player-card .team-preview{grid-template-columns:1fr}}
@media(max-width:620px){.community-shell{width:calc(100% - 20px);margin-top:16px}.community-hero,.community-main,.community-side,.community-form-panel,.community-table-panel,.match-room-card,.chat-panel,.match-round-group,.tournament-podium-section{border-radius:14px}.community-section-head{align-items:flex-start;flex-direction:column}.tournament-stats{grid-template-columns:1fr}.tournament-podium{grid-template-columns:1fr}.podium-card,.podium-card.place-1,.podium-card.place-2,.podium-card.place-3{min-height:0;order:initial}.podium-card dl{grid-template-columns:1fr 1fr 1fr}.round-countdown{font-size:28px}.tournament-hero-buttons .community-btn{width:100%}.match-round-group,.match-row{padding:12px}.team-entry-builder.full,.team-entry-builder{max-height:none}.team-slot{grid-template-columns:28px minmax(0,1fr);padding:9px}.team-slot>strong{width:26px;height:26px}.team-preview.pokemon-only{grid-template-columns:1fr}}
@media(max-width:430px){.podium-card dl{grid-template-columns:1fr}.podium-card dl div{min-height:58px;grid-template-rows:auto auto}.podium-card dt,.podium-card dd{text-align:left}}
.tournament-bracket-section{margin-bottom:18px}.tournament-bracket{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;align-items:start}.bracket-column{display:grid;gap:10px;min-width:0}.bracket-column h3{margin:0;color:#f8fafc}.bracket-match{display:grid;gap:7px;min-width:0;padding:12px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:#0f172a}.bracket-match.confirmed{border-color:rgba(34,197,94,.28)}.bracket-match small{color:#7dd3fc;font-weight:950;text-transform:uppercase}.bracket-player{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:8px;align-items:center;padding:8px 10px;border-radius:9px;background:#111827}.bracket-player span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e5e7eb;font-weight:850}.bracket-player strong{text-align:center;color:#bfdbfe}.bracket-player.winner{background:rgba(34,197,94,.14)}.bracket-player.winner span,.bracket-player.winner strong{color:#bbf7d0}.bracket-player.waiting span{color:#94a3b8}@media(max-width:900px){.tournament-bracket{grid-template-columns:1fr}}
.public-team-grid{grid-template-columns:1fr}.public-team-card{padding:16px}.public-team-card .team-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.public-team-card .team-preview article{grid-template-columns:50px minmax(0,1fr);min-height:92px;padding:11px;border-color:rgba(125,211,252,.16);background:#111827}.public-team-card .team-preview-img{width:50px;height:50px}.public-team-card .team-preview strong{font-size:15px;line-height:1.15}.public-team-card .team-preview em{font-size:11px}.public-team-card .team-preview small{white-space:normal;font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:760px){.public-team-card .team-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.public-team-card .team-preview{grid-template-columns:1fr}}
.match-room-card .match-player-card .team-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.match-room-card .match-player-card .team-preview article{display:flex;min-width:0;min-height:112px;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 6px;text-align:center;border-color:rgba(125,211,252,.16);background:#111827}.match-room-card .match-player-card .team-preview-img{width:56px;height:56px}.match-room-card .match-player-card .team-preview span{display:block;width:100%;min-width:0}.match-room-card .match-player-card .team-preview strong{font-size:15px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}.match-room-card .match-player-card .team-preview small{white-space:normal;line-height:1.35}@media(max-width:900px){.match-room-card .match-versus{grid-template-columns:1fr}.match-room-card .match-versus>span{justify-self:center;text-align:center}.match-room-card .match-player-card .team-preview,.match-room-card .match-player-card .team-preview.pokemon-only{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:380px){.match-room-card .match-player-card .team-preview,.match-room-card .match-player-card .team-preview.pokemon-only{gap:8px}.match-room-card .match-player-card .team-preview article{padding:9px 4px}.match-room-card .match-player-card .team-preview-img{width:50px;height:50px}}
.team-preview article.no-pokemon-image{grid-template-columns:minmax(0,1fr)}.team-preview article.no-pokemon-image span{grid-column:1}
.my-team-section,.my-team-section .team-entry-builder,.my-team-section .team-slot{overflow:visible}.my-team-section .pokemon-picker-menu{z-index:1000}
.my-team-section .team-slot>strong{grid-column:1;grid-row:1;align-self:start}
.my-team-section .team-slot>select,.my-team-section .team-slot>.pokemon-picker{grid-column:2;min-width:0;width:100%}
.my-team-section .pokemon-picker-current{min-width:0}
.my-team-section .pokemon-picker-current>span{flex:1 1 auto}
@media(max-width:620px){.my-team-section .pokemon-picker-current strong{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}}
.my-team-section .pokemon-picker-current strong,.my-team-section .pokemon-picker-option strong,.my-team-section .team-preview strong{font-size:16px;font-weight:800;line-height:1.3}
.my-team-section .pokemon-picker-current small,.my-team-section .pokemon-picker-option small,.my-team-section .team-preview small{font-size:13px;line-height:1.35;color:#cbd5e1}
.my-team-section .team-preview em{font-size:13px;line-height:1.35;color:#cbd5e1}
.my-team-section .pokemon-picker-current strong,.my-team-section .pokemon-picker-option strong{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.team-save-inline-status{display:inline-flex;align-items:center;min-height:40px;padding:0 10px;color:#bbf7d0;font-weight:950}
/* Keep tournament team previews centred and large enough for their cards. */
:is(.my-team-section,.public-teams-section) .team-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
:is(.my-team-section,.public-teams-section) .team-preview article{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:140px;padding:12px;text-align:center}
:is(.my-team-section,.public-teams-section) .team-preview .team-preview-img{width:60px;height:60px;max-width:100%;object-fit:contain;object-position:center}
:is(.my-team-section,.public-teams-section) .team-preview span{width:100%;justify-items:center;gap:6px}
:is(.my-team-section,.public-teams-section) .team-preview strong{font-size:16px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
:is(.my-team-section,.public-teams-section) .team-preview em{font-size:13px;line-height:1.35}
:is(.my-team-section,.public-teams-section) .team-preview small{display:block;font-size:13px;line-height:1.4;white-space:normal;overflow:visible;-webkit-line-clamp:unset}
.my-team-section .team-slot{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}
.my-team-section .team-slot>strong{position:absolute;top:24px;left:24px;z-index:1;grid-column:auto;grid-row:auto}
.my-team-section .team-slot>select,.my-team-section .team-slot>.pokemon-picker{grid-column:1}
.my-team-section .team-slot>select{text-align:center;text-align-last:center;min-height:44px}
.my-team-section .pokemon-picker-current{position:relative;flex-direction:column;justify-content:center;gap:8px;min-height:140px;padding:12px 40px;text-align:center}
.my-team-section .pokemon-picker-current img{width:60px;height:60px;max-width:100%;object-fit:contain;object-position:center}
.my-team-section .pokemon-picker-current>span{flex:0 1 auto;width:100%;justify-items:center;gap:5px}
.my-team-section .pokemon-picker-current strong{font-size:16px;line-height:1.3}
.my-team-section .pokemon-picker-current:after{position:absolute;top:14px;right:14px;margin:0}
@media(max-width:760px){:is(.my-team-section,.public-teams-section) .team-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){:is(.my-team-section,.public-teams-section) .team-preview{grid-template-columns:1fr}}
.tournament-standings-list{overflow-y:auto;align-content:start;scrollbar-width:thin}
.tournament-main-layout{grid-template-columns:minmax(0,1fr) 380px}.participant-list .standing-row{grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:start;padding:12px;border:1px solid rgba(148,163,184,.12);background:linear-gradient(180deg,rgba(17,24,39,.95),rgba(15,23,42,.92))}.standing-row>span{grid-column:1;grid-row:1;width:34px;height:34px;background:#20314c;color:#bfdbfe}.standing-info{grid-column:2;min-width:0;display:grid;gap:5px}.standing-info strong{display:block;min-width:0;color:#f8fafc;font-size:15px;line-height:1.18;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standing-info small{display:block;margin:0;color:#94a3b8;font-size:12px;line-height:1.35}.standing-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}.standing-tags em{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:999px;background:rgba(125,211,252,.11);color:#bae6fd;font-size:10px;font-style:normal;font-weight:950;text-transform:uppercase}.standing-tags em:first-child{background:rgba(34,197,94,.12);color:#bbf7d0}@media(max-width:1000px){.tournament-main-layout{grid-template-columns:1fr}.participant-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.participant-list{grid-template-columns:1fr}.standing-info strong{white-space:normal}}
.match-round-head{cursor:pointer;list-style:none}.match-round-head::-webkit-details-marker{display:none}.match-round-head:after{content:"+";display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#172033;color:#dbeafe;font-size:21px;font-weight:950;flex:0 0 auto}.match-round-group[open]>.match-round-head:after{content:"−"}
/* Keep the six Pokémon in public teams on one desktop row; reduce columns on smaller screens. */
.public-teams-section .team-preview{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:900px){.public-teams-section .team-preview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.public-teams-section .team-preview{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;max-width:100%;overflow:visible}}
