/* Mobile geometry follows interface home.png (970px inner reference width). */
.player-detail>span{display:flex;flex-direction:column;align-items:center;justify-content:center;width:54px;height:54px;flex-shrink:0;border:2px solid transparent;border-radius:50%}
.player-detail>span.selected-stat{background:var(--green);border-color:var(--green)}
.points-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;width:54px;height:54px;border:2px solid transparent;border-radius:50%}
.points-stat.selected-stat{background:var(--green);border-color:var(--green)}
.focus{display:flex;flex-direction:column}
.focus #weekly-focus{display:block;flex:1;min-height:0;width:100%;border:0;border-radius:10px;resize:none;outline-offset:0;background:transparent;color:var(--cream);padding:12px 4px;margin-top:5px;font:18px/1.4 'Patrick Hand',cursive}
.focus #weekly-focus:focus-visible{outline:2px solid var(--green)}
.focus-status{display:block;min-height:12px;font:9px/1.3 Nunito,sans-serif;color:var(--green);padding-bottom:6px}
.pill.loss,.stat-summary>div.loss{background:#f5bdc5;color:#63232e}
.stat-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.game-notes{margin-top:14px}.game-notes label{display:block;font-weight:800;font-size:13px;margin-bottom:7px}
.game-notes textarea{display:block;width:100%;min-height:100px;border:2px solid var(--line);border-radius:12px;background:var(--cream);padding:12px;font:14px/1.5 Nunito,sans-serif;color:var(--ink);resize:vertical}
.game-note-status{display:block;font-size:10px;color:#647064;line-height:1.4;margin-top:5px}
.half-score-wrap{margin:15px 0 18px;border:1px solid #dce0d3;border-radius:13px;overflow:hidden;background:white}
.half-scores{width:100%;table-layout:fixed;font-size:12px}.half-scores caption{text-align:left;padding:10px 12px;font-size:12px;font-weight:900;background:#e9e8f7}.half-scores th,.half-scores td{padding:10px 6px;text-align:center;border-bottom:1px solid #e5e8dd;background:transparent}.half-scores thead th{font-size:10px;font-weight:800;color:#52604d}.half-scores th:first-child{width:48%;text-align:left;padding-left:12px}.half-scores tbody th{font-size:11px;font-weight:800}.half-scores td{font-size:17px;font-weight:900}.half-scores .half-our-row{background:var(--green)}.half-scores tr:last-child>*{border-bottom:0}
.game-stats-link{display:block;color:inherit;text-decoration:none;border-radius:10px}.game-stats-link:hover .view-game-stats{text-decoration:underline}.view-game-stats{display:inline-block;color:var(--blue);font-size:13px;font-weight:900;margin-top:12px}
.home-grid a.result{color:inherit;text-decoration:none}
.player-name-link{color:inherit;text-decoration:none}.player-name-link:hover,.player-name-link:focus-visible{text-decoration:underline;text-decoration-color:var(--blue);text-underline-offset:4px}
.player-profile-heading{display:flex;align-items:center;gap:12px;background:var(--lav);border:2px solid var(--line);border-radius:20px;padding:18px;margin-bottom:22px}.player-profile-heading h1{font:900 25px Nunito,sans-serif;flex:1}.player-profile-heading .number{min-width:42px}.profile-section-title{font:24px 'Patrick Hand',cursive;margin:18px 0 12px}
.player-game-values{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;border-top:1px solid #dfe3d6;padding-top:14px;margin-top:14px;text-align:center}.player-game-values b{display:block;font-size:19px;line-height:1.4}.player-game-values span{font-size:11px}.player-season-shots{background:var(--green);border-radius:18px;padding:12px;margin-bottom:22px}.player-season-shots .player-game-values{border:0;margin:0;padding:0}.unrecorded{font-size:12px!important;color:#647064;margin-top:10px}
.back-link{margin-bottom:12px;padding-left:0}.game-score-banner{background:var(--green);border-radius:18px;text-align:center;padding:16px;margin-bottom:16px}.game-score-banner h2{font-size:20px}.game-score-banner>p:last-child{margin-top:7px;font-size:15px}
@media all{
 body{background:var(--cream);color:#080908}
 .app{container-type:inline-size;display:flex;flex-direction:column;width:calc(100% - 24px);max-width:390px;margin:6px auto;min-height:min(calc(100dvh - 12px),740px);border:7px solid #000;border-radius:28px;overflow:clip}
 header{height:15.9cqw;min-height:15.9cqw;padding:0;border-radius:0 0 2.5cqw 2.5cqw;display:flex;align-items:center;justify-content:center}
 header img{width:24cqw;height:15cqw;display:block}header span{display:none}
 main{padding:5cqw 2.2cqw 7cqw;flex:1}
 main[data-page=home]{padding:4.3cqw 2.2cqw 1cqw;display:flex;flex-direction:column}
 main[data-page=home]>.source{display:none}
 .home-grid{display:flex;flex-direction:column;gap:0;min-height:149cqw;flex:1}
 .home-grid .next{flex:43.6;min-height:43.6cqw}
 .home-grid .duo{flex:52.4;min-height:52.4cqw;margin-top:1.5cqw}
 .home-grid .result{flex:21.2;min-height:21.2cqw;margin-top:4.8cqw}
 .home-grid .season{flex:21.4;min-height:21.4cqw;margin-top:4.8cqw}
 .home-grid .panel{margin:0;border-width:.7cqw;border-radius:7.4cqw;padding:0;min-width:0}
 .home-grid .section-heading{font-size:5.4cqw;line-height:1.1;padding:.8cqw 2.8cqw 1.2cqw;left:5cqw;top:-3.5cqw;border-radius:5cqw;white-space:nowrap}
 .home-grid .next{display:flex;align-items:center;flex-direction:column;justify-content:center;padding:7cqw 5.2cqw 2cqw}
 .next>.eyebrow,.next>.actions{display:none}
 .next .match-title{display:block;width:100%;border:0;font-family:Graduate,Georgia,serif;font-weight:900;font-size:4.5cqw;line-height:1.1;white-space:nowrap;letter-spacing:-.15cqw;border-radius:2.2cqw;padding:1.4cqw .7cqw;margin-bottom:3cqw;background:var(--green);color:#000;min-height:8.5cqw}
 .next .versus{display:inline;font:inherit;letter-spacing:inherit;margin:0 .7cqw}
 .next .time{font-size:5.8cqw;line-height:1.18;margin:0 0 1.2cqw;white-space:nowrap;color:#000}
 .next .location{font-size:5.6cqw;line-height:1.15;white-space:nowrap}
 .next .court{font:5.6cqw/1.15 'Patrick Hand',cursive;border:0;padding:0;margin:.7cqw 0 0;border-radius:0}
 .home-grid .duo{display:grid;grid-template-columns:37% 60%;justify-content:space-between;gap:0;margin:1.5cqw 1.5cqw 0;min-height:52.4cqw}
 .jersey,.focus{border-radius:7.5cqw;padding:1.5cqw 1.5cqw 0;min-height:0;overflow:hidden}
 .jersey h2,.focus h2{font:4.8cqw/1.2 'Patrick Hand',cursive;white-space:nowrap;text-align:center;margin:.4cqw 0 0}
 .jersey{display:flex;flex-direction:column}.jersey img{display:block;width:100%;height:0;flex:1;min-height:0;margin:2.5cqw auto 1.5cqw;object-fit:contain}.jersey p{display:none}
 .focus{padding:2cqw 2.5cqw;color:var(--cream)}
 .focus .focus-big{font:6cqw/1.05 'Patrick Hand',cursive;margin:6cqw 0 2cqw;color:var(--green)}
 .focus p:not(.focus-big):not(.eyebrow){font:3.3cqw/1.4 Nunito,sans-serif;margin:0}
 .focus .eyebrow{display:none}
 .home-grid .result{margin:4.8cqw 1.5cqw 0;display:flex;align-items:center;justify-content:space-between;gap:1cqw;padding:4cqw 4.5cqw 0}
 .result .section-heading{left:2.5cqw}
 .result .team-name{font:4.4cqw/1.1 'Patrick Hand',cursive;max-width:none;white-space:nowrap}
 .result .score{font:5.3cqw/1 Graduate,Georgia,serif;font-weight:900;border-radius:2.2cqw;padding:1.3cqw 2cqw}
 .result .win{font:900 4cqw/1 Nunito,sans-serif;padding:1.5cqw 1.7cqw;top:1.2cqw;right:2cqw;border-radius:2cqw}
 .home-grid .season{margin:4.8cqw 1.5cqw 0;border-color:var(--purple);padding:7.2cqw 3.5cqw 1cqw}
 .season .section-heading{left:2.5cqw;background:var(--purple);font-size:5.2cqw}
 .metrics{height:auto;align-items:start}.metric+.metric{border-left:.6cqw solid var(--purple)}
 .metric b{font:900 5.8cqw/1 Graduate,Georgia,serif;border-radius:2cqw;padding:1cqw 2cqw;white-space:nowrap}
 .metric span{font:3.8cqw/1.1 'Patrick Hand',cursive;margin-top:.5cqw}
 nav{position:sticky;left:auto;bottom:0;transform:none;width:100%;min-height:20.2cqw;height:20.2cqw;flex-shrink:0;align-items:center;padding:1.4cqw 2cqw max(1.2cqw,env(safe-area-inset-bottom));border-radius:10cqw 10cqw 0 0;box-shadow:none;margin-top:auto}
 nav a{padding:0 0 2.5cqw;gap:.6cqw;color:var(--green);height:100%;justify-content:center}
 nav svg{width:8.5cqw;height:8.5cqw;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
 nav a:first-child svg{fill:none;stroke-width:1.8}
 nav a[href="#enemies"] svg{stroke-width:1}
 nav a[href="#enemies"] svg path:nth-child(-n+2){fill:currentColor}
 nav a[href="#stats"] svg{fill:currentColor;stroke-width:1.2}
 nav a[aria-current=page]{color:var(--green)}nav span{font:3.2cqw/1 'Patrick Hand',cursive}
 nav a[aria-current=page]:after{height:1.5cqw;width:9.5cqw;border-radius:0;bottom:0}
 .page-heading{padding:3cqw;border-radius:5cqw;margin-bottom:3cqw}.page-heading h1{font-size:6cqw}.page-heading p{font-size:3.3cqw}
 .stack.players{grid-template-columns:1fr}
 .enemy-grid{grid-template-columns:1fr;gap:2cqw}.enemy-card{border-radius:5cqw;grid-template-columns:19cqw 1fr 3cqw;padding:2.5cqw;gap:2cqw}.enemy-card img{width:19cqw;height:19cqw}.enemy-card h2{font-size:4cqw;margin-bottom:2cqw}.enemy-info{gap:1cqw}.enemy-info>div{padding:1.5cqw}.enemy-info b{font-size:4cqw}.enemy-info span{font-size:2.2cqw}
}
