/* THE WOODSHED'S PLAYER CARD (js/woodshed-card.js): stars and numbers in the Barracks, and what the show's whole screen holds when a star moves. No boxes behind words, Barlow Condensed
   through the page's own --face. The stars read by shape and lightness, not hue: a filled gold star and a dim one. */
.ws-form{display:flex;flex-direction:column;gap:clamp(1px,.5vh,5px);font:600 clamp(17px,1.7vw,22px)/1.15 var(--face);color:#fff;text-shadow:0 1px 2px #05131f,0 0 6px #05131fcc}
.ws-form__wait{margin:6px 0 0;font-weight:800;letter-spacing:.04em;color:#fff}
.ws-form__top{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px}
.ws-form__word{font-weight:800;letter-spacing:.08em}
.ws-form__all{font:800 clamp(34px,4vw,52px)/1 var(--face);font-variant-numeric:tabular-nums;color:var(--key,#ffd23f)}
.ws-form__mood{margin:-2px 0 3px;font-size:.82em;font-weight:800;letter-spacing:.06em;color:var(--key,#ffd23f)}
.ws-stat{display:grid;grid-template-columns:minmax(0,1fr) auto 2.1em;align-items:center;gap:10px;min-height:1.45em}
.ws-stat__name{letter-spacing:.04em;color:#dfe3e6}
.ws-stat__num{font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.ws-form .bigs-stars,.ws-star-beat .bigs-stars{display:inline-block;color:#ffdc50;letter-spacing:1px;line-height:1;white-space:nowrap}
.ws-form .bigs-stars{font-size:.92em}
.ws-form__top .bigs-stars{font-size:1.3em}
.ws-form .bigs-stars i,.ws-star-beat .bigs-stars i{color:#7b8a96;font-style:normal;opacity:.55}
.ws-form .bigs-stars b,.ws-star-beat .bigs-stars b{margin-left:.35em;font-size:.72em;letter-spacing:.04em;color:#fff}

/* the show's whole screen stands under the Combat Center pages (2500), and a star can move with one of them open: while it holds a star it stands over them. Nothing else
   shares its layers then (the XP bar's confetti, which rank-ups need between them, has finished) */
body:has(.ws-promo:not([hidden]) .ws-star-beat) .ws-promo-back{z-index:2600}
body:has(.ws-promo:not([hidden]) .ws-star-beat) .ws-promo{z-index:2601}
.ws-star-beat{--row:clamp(26px,min(8vw,6.4vh),48px);position:relative;display:block;width:100%;height:100%}
/* the picture stands on the stars, never behind them */
.ws-star-beat img{display:block;width:100%;height:calc(100% - var(--row) - 4px);object-fit:contain}
/* a star lost: the man goes grey, as the show's grey emblem does, and the stars keep their gold and their dim so you can count them */
.ws-promo[data-down="1"] .ws-promo__emblem:has(.ws-star-beat){filter:drop-shadow(3px 5px 0 #000)}
.ws-promo[data-down="1"] .ws-star-beat img{filter:grayscale(1)}
.ws-star-beat .bigs-stars{position:absolute;left:50%;bottom:-2px;transform:translateX(-50%);font-size:var(--row);text-shadow:0 2px 0 #05131f,0 0 8px #05131f}
/* the upright phone: your card first, the words after it (Combat Center's own page has the words first; here the card is the thing) */
@media(max-width:600px) and (orientation:portrait){
  #ws-barracks:has(.ws-form){grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"head" "panel" "items" "foot"}
  #ws-barracks:has(.ws-form) .mw2-panel{padding-top:0;padding-bottom:6px}
}
