/* Owner's responsive review, 12 Nov. Keeps approved artwork and live data. */
#announcements .migration-update > p:not(.beta-progress) {
  font-size:16px;
  line-height:1.65;
}
#overview #quakeLiveSteamCard > .ql-steam-logo-layer {
  opacity:1;
  filter:brightness(1.08) saturate(1.06);
  transition:filter .2s ease;
}
#overview #quakeLiveSteamCard > .ql-steam-shade { opacity:.12; }
#overview #quakeLiveSteamCard:is(:hover,:focus-within) > .ql-steam-shade { opacity:0; }
#overview #quakeLiveSteamCard:is(:hover,:focus-within) > .ql-steam-logo-layer {
  filter:brightness(1.2) saturate(1.12) drop-shadow(0 0 6px #69efff50);
}
#overview .hero-connect-panel > .current-build { margin-top:22px; }
#duelPodium .best-player {
  grid-template-rows:auto auto auto auto 1fr;
  row-gap:18px;
}
#duelPodium .duel-belt {
  display:block;
  align-self:center;
  justify-self:center;
  margin:4px auto 3px;
  max-width:100%;
}
#duelPodium .best-player-name {
  min-width:0;
  overflow-wrap:anywhere;
  line-height:1.3;
  padding-top:2px;
}
#mapRankBars .map-rank-track { height:12px; }
#mapRankBars .map-rank-track > i {
  background-color:var(--map-color,#53e5ed);
  background-image:repeating-linear-gradient(135deg,#ffffff40 0 4px,#09182742 4px 8px);
  background-size:12px 12px;
  box-shadow:inset 0 1px #ffffff45;
}
.site-country .country-neutral-flag {
  display:inline-block;
  width:24px;
  height:18px;
  object-fit:contain;
  flex-shrink:0;
}
@media(max-width:850px) {
  .rail .brand { margin-top:6px; margin-bottom:14px; }
}
@media(max-width:600px) {
  .handyman-card .handyman-intro {
    display:grid;
    grid-template-columns:minmax(0,1fr) 108px;
    grid-template-rows:auto auto auto auto auto;
    column-gap:12px;
    align-items:start;
    min-height:0;
    padding:4px 0 0;
  }
  .handyman-card .handyman-intro > .handyman-award {
    position:static!important;
    grid-column:2;
    grid-row:1 / 5;
    align-self:start;
    justify-self:end;
    width:108px!important;
    height:108px!important;
    margin:0!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }
  .handyman-card .handyman-intro > .section-label {
    grid-column:1;
    grid-row:1;
    padding-right:0!important;
    font-size:18px;
  }
  .handyman-card .handyman-intro > h3 {
    grid-column:1;
    grid-row:2;
    margin:10px 0 0;
    max-width:100%!important;
    padding-right:0!important;
    font-size:24px;
    line-height:1.25;
  }
  .handyman-card .handyman-intro > .handyman-name {
    grid-column:1;
    grid-row:3;
    margin-top:14px;
    font-size:32px;
    line-height:1.2;
  }
  .handyman-card .handyman-intro > p {
    grid-column:1;
    grid-row:4;
    margin:12px 0 0;
    font-size:17px;
    line-height:1.5;
  }
  .handyman-card .handyman-intro > small {
    grid-column:1 / -1;
    grid-row:5;
    margin:16px 0 0;
    font-size:11px;
  }
}
@media(max-width:380px) {
  .handyman-card .handyman-intro { grid-template-columns:minmax(0,1fr) 82px; column-gap:8px; }
  .handyman-card .handyman-intro > .handyman-award { width:82px!important; height:82px!important; }
  .handyman-card .handyman-intro > .section-label { font-size:16px; letter-spacing:.09em; }
  .handyman-card .handyman-intro > h3 { font-size:21px; }
  .handyman-card .handyman-intro > .handyman-name { font-size:28px; }
}
@media(prefers-reduced-motion:reduce) {
  #overview #quakeLiveSteamCard > .ql-steam-logo-layer { transition:none; }
}

/* Inspect the approved enamel belts without moving the card layout. */
#duelPodium .duel-belt { position:relative; transform-origin:center; transition:transform .22s ease; cursor:zoom-in; }
@media(hover:hover) and (pointer:fine) {
  #duelPodium .duel-belt:hover { transform:scale(1.25); z-index:2; }
}
#duelPodium .duel-belt:focus-visible { transform:scale(1.25); z-index:2; outline:1px solid #68e8df; outline-offset:4px; border-radius:4px; }
@media(prefers-reduced-motion:reduce) { #duelPodium .duel-belt { transition:none; } }

/* Owner: make the rules card copy readable without changing other panels. */
#network #serverRules > h3{font-size:20px}
#serverRules .rules-card > summary{font-size:16px}
#serverRules .rules-card > summary small{font-size:13px}
#serverRules .rules-card-body p,#serverRules .rules-card-body li{font-size:14px!important}
#serverRules .rules-card-body h4{font-size:16px!important}

/* Desktop only: center the award below the intro text, 96px -> 114px. */
@media(min-width:851px){
 .handyman-card .handyman-intro > .handyman-award{align-self:center; width:114px!important; height:114px!important; margin:18px auto!important}
}

/* The belt is an inspection hover, not an image-opening link. */
@property --podium-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
#duelPodium .duel-belt{cursor:default}
#duelPodium .duel-belt:focus-visible{outline:none}
#duelPodium .podium-card{position:relative;isolation:isolate}
#duelPodium .podium-card::after{content:"";position:absolute;inset:-1px;z-index:3;padding:2px;border-radius:inherit;pointer-events:none;opacity:0;background:conic-gradient(from var(--podium-angle),transparent 0 65%,var(--medal) 82%,#fff8dc 88%,var(--medal) 93%,transparent 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude}
#duelPodium .podium-card:has(>.duel-belt:is(:hover,:focus-visible)){box-shadow:0 0 17px color-mix(in srgb,var(--medal) 30%,transparent);border-color:var(--medal)}
#duelPodium .podium-card:has(>.duel-belt:is(:hover,:focus-visible))::after{opacity:1;animation:podium-perimeter 1.5s linear infinite}
#duelPodium .duel-belt:is(:hover,:focus-visible){filter:drop-shadow(0 0 6px color-mix(in srgb,var(--medal) 55%,transparent))}
@keyframes podium-perimeter{to{--podium-angle:360deg}}
@media(prefers-reduced-motion:reduce){#duelPodium .podium-card::after{animation:none!important}}

/* Brighter moving enamel-coloured edge, same hover geometry and timing. */
#duelPodium .podium-card::after{padding:3px;background:conic-gradient(from var(--podium-angle),transparent 0 69%,var(--medal) 82%,#fff 87% 89%,var(--medal) 94%,transparent 100%);filter:drop-shadow(0 0 4px var(--medal))}

/* Match details remain reachable before horizontal table scrolling. */
#liveMatches tr[data-match-id]{cursor:pointer}
#liveMatches .match-open-inline{display:none}
#liveMatches tr[data-match-id]:hover{background:#1d3b4f55}
@media(max-width:760px){#liveMatches .match-open-inline{display:block;margin:7px 0 0;padding:9px 11px;min-height:40px;font-size:13px;white-space:nowrap}}

/* Decorative belts: same approved bitmap, no native image-save sheet on touch. */
#duelPodium .duel-belt{background-position:center;background-repeat:no-repeat;background-size:contain;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;touch-action:manipulation}
