/* Fixed Nokia slot; the results track retains its twenty matches. */
.home-results-frame{--home-result-height:207px;display:grid;grid-template-columns:calc((100% - 72px)/10) minmax(0,1fr);gap:8px;align-items:start}
/* Reserve card, padding and scrollbar space even before the first API response. */
.home-results-frame #homeResultsTrack{min-width:0;box-sizing:border-box;height:calc(var(--home-result-height) + 26px);grid-auto-rows:var(--home-result-height);grid-auto-columns:calc((100% - 64px)/9);overflow-y:hidden}
#comp-home .v15-topline{display:none!important}
#comp-home .home-results-heading{justify-content:flex-end;gap:12px}
#comp-home .home-results-heading h2{font-weight:300!important}
#comp-home .home-results-heading>div{display:flex;flex-shrink:0}
.home-nokia{position:relative;box-sizing:border-box;min-width:0;align-self:start;margin:2px 0 8px;aspect-ratio:1283 / 2140;overflow:hidden;border-radius:20% 20% 0 0 / 9% 9% 0 0;background:transparent}
.phone-original-face{position:absolute;inset:0;background:url('nokia_3310_original.svg?v=20260928-webp-optimize-v1') top center / 100% 100% no-repeat}
.phone-lcd{position:absolute;top:37.8%;left:13.7%;width:72.1%;height:31%;box-sizing:border-box;border-radius:5% / 7%;background:#9fad78;box-shadow:inset 0 1px 4px #26361c88;overflow:hidden;color:#263819;transition:background .3s,box-shadow .3s}
.phone-lit .phone-lcd{background:#c3d88c;box-shadow:inset 0 1px 5px #26361c66,0 0 9px #c3e48b55}
@media(hover:hover){.home-nokia:hover .phone-lcd{background:#bed184;box-shadow:inset 0 1px 5px #26361c66,0 0 7px #c3e48b40}}
.phone-rating{position:absolute;inset:0;padding:4px 2px;display:grid;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr);grid-template-rows:1fr}
.home-nokia [hidden]{display:none!important}
.phone-player{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:0}
.home-nokia .phone-player small{font:400 6px/1.1 'Courier New',monospace!important}
.home-nokia .phone-player b{font:700 8px/1 'Courier New',monospace!important;letter-spacing:.5px}
.home-nokia .phone-player strong{position:relative;display:block;width:100%;max-width:90px;margin:2px 0;color:#263819;line-height:1}
.phone-player strong svg{display:block;fill:currentColor;width:100%;height:auto;max-height:25px}
.home-nokia [data-crt-delta]{font:700 7px/1.1 'Courier New',monospace!important;white-space:nowrap;color:#263819}
.phone-vs{display:flex;align-items:center;gap:0;justify-content:center;font:700 6px/1 'Courier New',monospace!important;color:#455630}
.phone-vs:before,.phone-vs:after{display:none}
.phone-ghost{position:absolute;inset:0;pointer-events:none;animation:phone-trail .6s ease-out forwards}
@keyframes phone-trail{0%{opacity:.45;transform:translate(1px,1px)}100%{opacity:0;transform:translate(1px,2px)}}
@keyframes phone-up{50%{transform:translateY(-2px)}}
@keyframes phone-down{50%{transform:translateY(2px)}}
.phone-updated [data-direction=up]{animation:phone-up .4s ease-out}
.phone-updated [data-direction=down]{animation:phone-down .4s ease-out}
.phone-controls{position:absolute;inset:0;pointer-events:none}
.home-nokia .phone-key{position:absolute;pointer-events:auto;min-width:0;min-height:0;margin:0;padding:0;border:0;box-shadow:none;background:transparent!important;color:transparent!important;cursor:pointer;font-size:0!important}
.home-nokia .phone-navi{left:28%;top:73.5%;width:43%;height:8%;border-radius:50%}
.home-nokia .phone-back{left:13%;top:77%;width:22%;height:10%;transform:rotate(35deg);border-radius:35%}
.home-nokia .phone-arrows{left:56%;top:77%;width:31%;height:13%;transform:rotate(-30deg);border-radius:35%}
.home-nokia .phone-key:focus-visible{outline:2px solid #5d742b;outline-offset:-2px;background:#d8ee9040!important}
.home-nokia .phone-key:active{background:#20382020!important}
.phone-message{position:absolute;right:3px;top:1px;z-index:2;font:12px/1 monospace!important;color:#263819;pointer-events:none}
.phone-day{position:absolute;inset:0;padding:2px;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;text-align:center;gap:3px;font:700 7px/1.15 'Courier New',monospace!important}
.home-nokia .phone-day b,.home-nokia .phone-day strong,.home-nokia .phone-day span,.home-nokia .phone-day time,.home-nokia .phone-day small{font-family:'Courier New',monospace!important;color:#263819}
.phone-day b{font-size:7px!important}.phone-day small{font-size:6px!important}.phone-day div{display:flex;flex-direction:row;gap:4px}.phone-day strong{font-size:8px!important;white-space:nowrap}
@media(max-width:1400px){.home-results-frame{grid-template-columns:calc((100% - 32px)/5) minmax(0,1fr)}.home-results-frame #homeResultsTrack{grid-auto-columns:calc((100% - 24px)/4)}}
@media(max-width:700px){
 .home-results-frame{display:flex;flex-direction:column}
 .home-results-frame #homeResultsTrack{grid-auto-columns:calc((100% - 16px)/3)}
 .home-nokia{width:220px;height:auto;flex:none;align-self:center;margin:2px 0 8px}
 .home-nokia .phone-player small{font-size:8px!important}
 .home-nokia .phone-player b{font-size:11px!important}
 .home-nokia [data-crt-delta]{font-size:9px!important}
 .phone-player strong svg{max-height:26px}
 .phone-day{font-size:10px!important}.phone-day b{font-size:11px!important}.phone-day strong{font-size:12px!important}.phone-day small{font-size:8px!important}
}
@media(max-width:440px){.home-results-frame #homeResultsTrack{grid-auto-columns:calc((100% - 8px)/2)}}
@media(prefers-reduced-motion:reduce){.home-nokia *{animation:none!important;transition:none!important}.phone-ghost{display:none}}

/* Match the phone bounds to the neighbouring result cards. */
@media(min-width:701px){.home-results-frame>.home-nokia{height:var(--home-result-height);aspect-ratio:auto;border-radius:0}}

/* Reuse the NHL statistics logo animation in the Home results carousel. */

/* Three editorial columns below the Home banner; only the first is populated. */
#comp-home .home-editorial-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:32px 0 40px;align-items:start}
#comp-home .home-philosophy{min-width:0;color:#343e48}
#comp-home .home-philosophy h2{font-family:Oswald,"Arial Narrow",sans-serif!important;font-size:26px;font-weight:400;line-height:1.2;margin:0 0 20px;color:#081218}
#comp-home .home-philosophy p{font-family:Oswald,sans-serif!important;font-weight:300;font-size:17px;line-height:1.55;text-align:justify;text-align-last:left;hyphens:auto;-webkit-hyphens:auto;margin:0 0 16px;overflow-wrap:break-word}
#comp-home .home-philosophy .home-philosophy-signoff{margin:24px 0 0}
@media(max-width:900px){#comp-home .home-editorial-columns{grid-template-columns:1fr;gap:24px;margin-top:24px}}

/* Shared subtle section frames on Home. */
#comp-home .home-results,#comp-home .home-featured,#comp-home .home-philosophy{box-sizing:border-box;border:1px solid #cbd5df;border-radius:8px;padding:18px;min-width:0}
#comp-home .home-results{width:100%}
#comp-home .home-philosophy em{font-family:Oswald,sans-serif!important;font-weight:300}
@media(max-width:700px){
 #comp-home .home-results,#comp-home .home-featured,#comp-home .home-philosophy{padding:12px;border-radius:6px}
}

/* Beliefs section: three equally tall framed columns. */
#comp-home .home-beliefs{margin:32px 0 40px;min-width:0}
#comp-home .home-beliefs .home-results-heading{justify-content:flex-end}
#comp-home .home-beliefs .home-editorial-columns{margin:0;align-items:stretch;grid-auto-rows:1fr}
@media(max-width:900px){#comp-home .home-beliefs{margin-top:24px}}

/* Shared compact geometry for every tournament, including two-line team names.
   Font loading, SOG fields and later NHL responses must not resize this row. */
#comp-home .home-result-card{box-sizing:border-box;height:var(--home-result-height);display:grid;grid-template-rows:29px 60px 60px 38px}
#comp-home .home-result-card header{box-sizing:border-box;min-width:0}
#comp-home .home-result-card header b,#comp-home .home-result-card time{line-height:12px!important}
#comp-home .home-result-team{box-sizing:border-box;min-height:0;grid-template-rows:33px 12px;row-gap:2px;padding:6px 0}
#comp-home .home-result-name small{line-height:10px!important}
#comp-home .home-result-owner{line-height:8px!important}
#comp-home .home-result-team>img,#comp-home .home-result-team>.home-result-flag{grid-column:1;grid-row:1 / 3;align-self:center}
#comp-home .home-result-name{grid-column:2;grid-row:1;min-width:0}
#comp-home .home-result-owner{grid-column:2;grid-row:2;align-self:start}
#comp-home .home-result-team>strong{grid-column:3;grid-row:1 / 3}
#comp-home .home-result-name b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#comp-home .home-result-card>button{box-sizing:border-box;height:30px;min-height:0;padding:4px 2px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.25!important}
