.icon{width:22px;height:22px;display:inline-block;flex-shrink:0;vertical-align:middle}.badges .icon{width:13px;height:13px}.badges>span{display:inline-flex;align-items:center;gap:4px}.bottom-nav .icon{width:24px;height:24px}.admin-link{min-width:44px;min-height:44px;display:grid;place-items:center}.parent-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch}.parent-actions a{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:7px;min-height:76px;padding:10px 5px;font-size:11px;line-height:1.3}.parent-actions a .icon{width:21px;height:21px}.player-picker{width:100%;min-height:64px;display:flex;align-items:center;gap:12px;background:#123e70;color:#fff;border:1px solid #55b9ff;border-radius:12px;padding:14px 16px;text-align:left;font:inherit;font-size:17px;font-weight:700}.player-picker>span:nth-child(2){flex:1}.player-picker>span:first-child{color:#8acfff}#player-dialog{position:fixed;inset:auto 0 0;width:min(100%,600px);max-height:85dvh;margin:0 auto;border:1px solid #37638c;border-radius:20px 20px 0 0;background:#082444;color:white;padding:20px 18px max(24px,env(safe-area-inset-bottom));overflow:auto;box-shadow:0 -20px 80px #0008}#player-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.sheet-heading h2{font-size:25px}.icon-button{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid #45688b;background:#14385d;color:white}#picker-options{margin-top:15px}.picker-option{width:100%;min-height:70px;display:flex;align-items:center;gap:13px;background:#12345a;border:1px solid #355879;color:white;padding:12px;margin:8px 0;border-radius:12px;text-align:left}.picker-option>span:nth-child(2){flex:1}.picker-option b{font-size:16px;display:block}.picker-option small{display:block;font-size:12px;color:#9bc7e9;margin-top:5px}.lineup-player{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #315476}.lineup-player:last-child{border:0}.lineup-player b{display:block;font-size:14px}.jersey-number{font-family:'Barlow Condensed',Impact,sans-serif;font-size:22px;color:#85caff;min-width:29px}.gold .jersey-number{color:#ffe344}.feed-card{display:flex;gap:14px;padding:18px 15px;margin:12px 0;background:#10335d;border:1px solid #2d5681;border-radius:12px}.feed-icon{display:grid;place-items:center;width:42px;height:42px;background:#1a4d80;color:#ffe344;border-radius:11px;flex-shrink:0}.feed-card small{color:#8cbce5;font-size:9px;letter-spacing:.6px}.feed-card h2{font-size:25px;margin:6px 0}.feed-card p{font-size:13px;line-height:1.5}.feed-card b{color:#ffe344}.feed-card div>span{font-size:11px;display:block;margin-top:6px;color:#a8c8e4}.sound-panel{padding:20px;background:#113360;border-radius:12px;margin-top:20px}.sound-panel h2{font-size:24px}.sound-panel p{font-size:12px;line-height:1.6;color:#b5cee8;margin:10px 0}.sound-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sound-buttons button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:52px;border:1px solid #5481ac;background:#0b254c;color:white;border-radius:8px;font:inherit;font-size:12px;padding:10px}.sound-buttons button[aria-pressed=true]{background:#55b9ff;color:#061c40}.scorekeeper-card{padding:20px;background:linear-gradient(135deg,#154f91,#10305c);border:1px solid #55b9ff66;border-radius:13px;margin:16px 0}.scorekeeper-card small{font-size:10px;letter-spacing:1px;color:#95d0ff}.scorekeeper-card h2{font-size:34px;margin:8px 0!important;overflow-wrap:anywhere}.scorekeeper-card p{font-size:13px;color:#c0d8ed}.scorekeeper-card .next-name{margin-top:14px;padding-top:12px;border-top:1px solid #466d94;font-size:12px}#result-points{font-size:44px;font-weight:800;text-align:center;height:86px;background:#041a37;border:2px solid #558abc}#result-form button[type=submit]{width:100%;min-height:60px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:18px}#result-form .actions{display:grid;grid-template-columns:1fr}#call-player{width:100%;min-height:56px;display:flex;justify-content:center;align-items:center;gap:10px}#call-player[hidden]{display:none!important}.admin-main details{padding:15px;border:1px solid #365878;border-radius:10px;margin:16px 0}.admin-main summary{cursor:pointer;min-height:36px;font-weight:700}.admin-main select{min-height:54px;font-size:17px}.admin-main .icon{width:19px;height:19px}.admin-main #game-summary{min-height:0;padding:6px 0}.score-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.score-tools button{display:flex;justify-content:center;align-items:center;gap:7px;min-height:50px;font-size:13px}.admin-main .admin-art{max-height:160px;object-fit:cover}.admin-main #message{position:sticky;top:0;z-index:5;background:#061c40;border-radius:8px}.admin-main #message:empty{display:none}@media(max-width:350px){.parent-actions a{font-size:10px}.sound-buttons{grid-template-columns:1fr}.feed-card{gap:10px;padding:14px 11px}}
.volume-control{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:18px 0 8px;font-size:13px;color:#d5e9ff}.volume-control input[type=range]{width:100%;min-height:44px;padding:0;accent-color:#55b9ff;cursor:pointer}.volume-control output{font-weight:700;color:#ffe344}.badges .reward-batter{background:#583d09;color:#ffe69b;border:1px solid #a17b25}.badges .reward-bowler{background:#502549;color:#ffd1ef;border:1px solid #9a5489}.badges .reward-keeper{background:#133c68;color:#b8dfff;border:1px solid #4a86bf}.badges .reward-allrounder{background:#382466;color:#e3d4ff;border:1px solid #8764bb}.badges .reward-captain{background:#ffe344;color:#302408;border:1px solid #ffe98a}.badges>span{padding:6px 8px;font-weight:700;box-shadow:0 2px 6px #0003}.feed-highlight{padding:20px;background:linear-gradient(120deg,#075fd0,#163b80);border-bottom:3px solid #ffe344;border-radius:12px;margin:16px 0}.feed-highlight small{font-size:10px;color:#ffe344;letter-spacing:1px}.feed-highlight h2{font-size:32px;margin:9px 0}.feed-highlight p{font-size:14px;font-weight:700}.feed-highlight>span{font-size:11px;display:block;margin-top:8px;color:#bdd8f1}#confetti-layer{position:fixed;inset:0;pointer-events:none;z-index:100;overflow:hidden}#confetti-layer i{position:absolute;top:-16px;width:8px;height:13px;animation:confetti-fall 2.4s linear forwards}@keyframes confetti-fall{to{transform:translate(var(--drift),105vh) rotate(720deg);opacity:.2}}@media(prefers-reduced-motion:reduce){#confetti-layer{display:none}}

/* Party actions fill the available row in two equal columns. */
#screen-party > .parent-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}

.bowling-plan{padding:18px;border-top:1px solid #315476}.bowling-plan h3{font-size:21px}.bowling-plan>p{font-size:10px;color:#a6c6e5;margin:7px 0 12px}.over-row{display:grid;grid-template-columns:75px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid #234667;align-items:center}.over-row:last-child{border:0}.over-row>span{font-size:10px;font-weight:800;color:#85caff;letter-spacing:.7px}.over-row>b{font-size:14px}.gold .over-row>span{color:#ffe344}#bowling-editors{display:grid;grid-template-columns:1fr 1fr;gap:15px}#bowling-editors h3{margin-top:18px}#bowling-editors select{font-size:15px}@media(max-width:350px){#bowling-editors{grid-template-columns:1fr}}

.party-activities{margin:26px 0}.party-activities>p{color:#bdcfe2;font-size:13px;line-height:1.7}.party-activity-grid{display:grid;gap:12px;margin:18px 0}.party-activity{display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid #246699;border-radius:14px;background:linear-gradient(120deg,#103b67,#092746)}.activity-symbol{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:12px;background:#168bd130;color:#66caff}.activity-symbol .icon{width:26px;height:26px}.party-activity:nth-child(even) .activity-symbol{color:#ffe600;background:#ffe60018}.party-activity h3{margin:0 0 6px;font-size:22px;color:#fff}.party-activity p{margin:0;color:#c6dbec;font-size:13px;line-height:1.65}.party-activities .activity-footnote{border-left:3px solid #ffe600;padding-left:12px}
.score-choice-grid,.ball-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.score-choice-grid button,.ball-choice-grid button{min-height:56px;white-space:normal;padding:12px 8px;font-size:15px}.score-choice-grid button[aria-pressed=true],.ball-choice-grid button[aria-pressed=true]{background:#ffe344;color:#061a37;outline:3px solid #fff}.score-choice-grid button[aria-pressed=false],.ball-choice-grid button[aria-pressed=false]{background:#144975;color:#fff;border:1px solid #63bfff}#activity-ball-buttons fieldset{margin:16px 0;padding:12px;border:1px solid #3978a5;border-radius:12px}#activity-ball-buttons legend{font-weight:800;padding:0 8px}.picker-option .picker-name{flex:1}.picker-team{flex-shrink:0;border-radius:18px;padding:6px 10px;font-size:12px;font-weight:800}.picker-team.blue{background:#72c6ff;color:#032b55}.picker-team.yellow{background:#ffe344;color:#342d00}.check-label{display:flex;gap:10px;align-items:center;margin:16px 0}.check-label input{width:22px;min-height:22px;flex-shrink:0}.crease-card{background:#103b61;border:1px solid #3d83b2;padding:14px;border-radius:12px;margin:14px 0}.crease-card p{margin:7px 0;font-size:14px}.cricket-public{padding:20px 18px;background:linear-gradient(130deg,#084a80,#081e3b);border:1px solid #469bd3;border-radius:15px;margin:14px 0}.cricket-public>small{color:#8bd3ff;font-weight:800}.cricket-public h2{font-size:28px;margin:12px 0;color:#ffe344}.cricket-public p{font-size:13px;line-height:1.6}.innings-total{display:grid;grid-template-columns:1fr auto;gap:6px;margin:16px 0}.innings-total b{font-size:30px}.innings-total small{grid-column:1/-1;color:#bbd8ef}.ball-history{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.ball-history span{display:grid;place-items:center;min-width:34px;min-height:34px;padding:4px 7px;border:1px solid #75c6ff;background:#082947;border-radius:8px;color:#fff;font-size:12px}.scorecard-scroll{overflow-x:auto}.cricket-public table{width:100%;border-collapse:collapse;font-size:12px}.cricket-public th,.cricket-public td{padding:10px 5px;border-bottom:1px solid #397099;text-align:left}.cricket-public th small{display:block;font-weight:400;color:#b3cfe7}.free-hit,.match-result{color:#ffe344;font-weight:800}#cricket-admin button{margin-top:6px}#cricket-admin>p{font-size:14px;line-height:1.6}#cricket-admin #save-ball{width:100%;min-height:58px}#cricket-admin .scorekeeper-card small{display:block;font-size:17px}button:disabled{opacity:.45;cursor:not-allowed}

.confirm-sheet{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:440px;border:1px solid #78bff4;border-radius:18px;padding:24px;background:#09294c;color:#fff;box-shadow:0 20px 80px #0009}.confirm-sheet::backdrop{background:#001023bb}.confirm-sheet p{font-size:16px;line-height:1.6;margin:18px 0}.confirm-sheet .actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.confirm-sheet button{min-height:52px}
.parent-access-pending .app{visibility:hidden}.access-loading{text-align:center;padding:25vh 20px;color:#cce5ff}.parent-gate{max-width:440px;margin:12vh auto;padding:28px 24px;border:1px solid #509ed6;border-radius:22px;background:#092b50;color:#fff}.parent-gate>.icon{width:42px;height:42px;color:#ffe344}.parent-gate h1{font-size:34px;margin:18px 0}.parent-gate p{font-size:14px;line-height:1.7;color:#d3e7fa}.parent-gate input{width:100%;min-height:60px;font-size:28px;letter-spacing:.4em;background:#061c36;color:#fff;border:1px solid #5daee8;border-radius:12px;padding:12px;margin:12px 0}.parent-gate button{width:100%;min-height:52px;border:0;border-radius:12px;background:#ffe344;color:#042344;font-weight:800}.memories-teaser{display:flex;gap:12px;text-decoration:none;background:#134c7b;border:1px solid #70beff;color:#fff;padding:16px;border-radius:14px;margin:18px 0}.memories-teaser .icon{color:#ffe344}.memories-teaser small{display:block;font-size:12px;line-height:1.6;margin-top:6px;color:#d6eaff}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-nav a{font-size:10px}.child-photo{width:48px;height:48px;object-fit:cover;border-radius:50%;display:inline-block;vertical-align:middle}.jersey-number,.player-avatar,.roster-photo{overflow:hidden}.jersey-number .child-photo,.player-avatar .child-photo{width:100%;height:100%;border-radius:inherit}.turn-photo{width:60px;height:60px;margin:8px auto}.highlight-photo,.scorekeeper-photo{width:90px;height:90px;float:right;margin:0 0 12px 12px}.feed-photo{width:40px;height:40px;float:right}.crease-photo,.scorecard-photo{width:34px;height:34px;margin-right:8px}.editor-photo{width:110px;height:110px;margin:12px 0}.gallery-tools{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.gallery-tools button,.gallery-tools a,.memory-download,#memory-full-download,#parent-signout{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 12px;border:1px solid #68bfff;border-radius:10px;background:#123e68;color:#fff;font:inherit;font-size:12px;text-decoration:none}.gallery-tools a{background:#ffe344;color:#052644;font-weight:800}.gallery-tools a[aria-disabled=true]{opacity:.5}.gallery-tools small{flex-basis:100%;font-size:11px;color:#bcd5ed}#memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-card{border:1px solid #3f739e;border-radius:14px;overflow:hidden;background:#0c3159}.memory-card img,.memory-card video{width:100%;aspect-ratio:1;object-fit:cover;display:block;background:#021b34}.memory-open{border:0;background:transparent;padding:0;width:100%;cursor:pointer}.memory-select{display:flex;gap:8px;align-items:center;min-height:44px;padding:8px;color:#d5e9fc;font-size:11px}.memory-select input{width:18px;height:18px}.memory-caption{padding:10px}.memory-caption p{font-size:13px;overflow-wrap:anywhere;margin:0 0 8px}.memory-caption small{font-size:10px;color:#b6cee4;display:block}.memory-download{margin-top:10px;font-size:11px;padding:8px;min-height:44px;width:100%}.memory-download .icon{width:17px;height:17px}#memory-viewer{max-width:95vw;width:680px;max-height:95dvh;background:#082746;color:#fff;border:1px solid #6ab9ee;border-radius:16px;padding:14px}#memory-viewer::backdrop,.player-edit-dialog::backdrop{background:#001125c9}#memory-full-image{display:block;width:100%;max-height:73dvh;object-fit:contain;margin:12px 0}#close-memory{float:right}.roster-team{border:1px solid #467eae;border-radius:14px;padding:10px;margin:18px 0;background:#0b284a}.roster-team h3{margin:8px;color:#a7dcff}.roster-team[data-roster-team="1"] h3{color:#ffe344}.roster-row{display:flex;align-items:center;gap:8px;padding:7px 4px;min-height:72px;border-bottom:1px solid #315979;background:#10345d}.roster-row:last-of-type{border:0}.roster-row .drag-handle{touch-action:none;user-select:none;cursor:grab;width:36px;min-width:36px;padding:8px 4px;background:transparent;color:#a9c9e4;border:0;box-shadow:none;margin:0;min-height:52px}.roster-photo{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;color:#91cbff}.roster-photo .child-photo{width:42px;height:42px}.roster-edit{flex:1;text-align:left;min-width:0;background:transparent!important;border:0!important;color:#fff!important;box-shadow:none!important;padding:10px 0!important;margin:0!important}.roster-edit small{display:block;font-size:10px;line-height:1.5;color:#aac9e3}.roster-edit b{font-size:15px;overflow-wrap:anywhere}.roster-row>.icon-button{width:36px;min-width:36px;padding:6px;background:transparent;box-shadow:none;border:0}.roster-row.dragging{opacity:.45}.drop-target{outline:3px dashed #ffe344;outline-offset:-3px}.drop-hint{font-size:11px;text-align:center;color:#9ebbd5;margin:12px}.player-edit-dialog{position:fixed;inset:auto 0 0;width:min(100% - 16px,560px);max-height:90dvh;margin:0 auto 8px;border:1px solid #6fb6f0;border-radius:20px;background:#09294d;color:#fff;padding:20px;overflow:auto}.player-edit-dialog input,.player-edit-dialog select{width:100%;min-height:48px}.player-edit-dialog .check-label input{width:22px;min-height:22px}.player-edit-dialog button{min-height:48px}.player-edit-dialog hr{border:0;border-top:1px solid #3c6c94;margin:22px 0}#admin-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-media-card{border:1px solid #3d729f;padding:10px;border-radius:12px;min-width:0}.admin-media-card img,.admin-media-card video{width:100%;height:150px;object-fit:cover;background:#06203a;border-radius:8px}.admin-media-card p{font-size:12px;overflow-wrap:anywhere}.admin-media-card small{display:block;font-size:10px;color:#b5cce1}.admin-media-card button{width:100%;min-height:44px}#upload-progress{width:100%;margin:14px 0}#event-files,#player-photo-file{font-size:12px;padding:12px 5px}#new-parent-code,#confirm-parent-code{letter-spacing:.35em;font-size:24px}@media(max-width:350px){#memory-grid,#admin-media-grid{grid-template-columns:1fr}.roster-photo{width:32px;flex-basis:32px}.roster-photo .child-photo{width:32px;height:32px}}

/* Shared R10 header mark for the parent app and scorekeeper. */
.wordmark{font-family:'Barlow Condensed',Impact,sans-serif;font-size:30px;font-style:italic;font-weight:900;display:flex;align-items:center;text-decoration:none}.wordmark span{color:var(--cyan)}.wordmark small{font-family:Barlow,Arial,sans-serif;letter-spacing:2px;font-size:9px;font-style:normal;margin-left:12px;border-left:1px solid #456078;padding-left:12px}
.wordmark{color:#fff}

.feed-memory>div{min-width:0;flex:1}.feed-memory .memory-open{width:100%;margin-top:12px}.feed-memory img,.feed-memory video{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:12px;background:#04132e}.feed-memory-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}.feed-memory-links a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--cyan);font-size:13px}

/* A scannable evening plan and concise parent guidance. */
.party-plan{margin-top:26px;border:1px solid #28547b;border-radius:18px;background:#0a2544;overflow:hidden}.party-plan-heading{display:flex;align-items:center;gap:10px;padding:18px 20px;color:#7dcbff;border-bottom:1px solid #28547b}.party-plan-heading h3{margin:0;font:800 15px Barlow,Arial,sans-serif;letter-spacing:1px}.party-plan-list{list-style:none;margin:0;padding:0 20px}.party-plan-list li{display:grid;grid-template-columns:128px 1fr;gap:16px;align-items:center;padding:20px 0;border-bottom:1px solid #ffffff12}.party-plan-list li:last-child{border:0}.party-plan-list time{font-size:15px;font-weight:800;color:#83cfff;line-height:1.5}.party-plan-list time small{display:block;font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:600;color:#a4bdd5}.party-plan-list b{display:block;font-size:15px;color:#fff;line-height:1.4}.party-plan-list span{display:block;font-size:12px;line-height:1.6;color:#a4bdd5;margin-top:3px}.party-plan-list li:last-child time{color:#ffe344}.party-brief{display:flex;gap:12px;align-items:flex-start;margin:22px 4px;color:#75c7ff}.party-brief>.icon{flex-shrink:0;width:22px;height:22px;margin-top:2px}.party-brief p{margin:0;line-height:1.6;font-size:12px;color:#a4bdd5}.party-brief b{display:block;color:#e3effb;font-size:13px;margin-bottom:4px}.party-brief p span{display:block}.party-follow{display:flex;gap:14px;align-items:center;text-decoration:none;padding:20px;border-radius:16px;background:linear-gradient(115deg,#145385,#0c365b);border:1px solid #408bc0}.party-follow-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#78caff20;color:#89d3ff}.party-follow b{display:block;font-size:15px;line-height:1.4;color:#fff}.party-follow small{display:block;margin-top:6px;line-height:1.6;font-size:12px;color:#c3ddf1}.party-follow-arrow{color:#ffe344;font-size:24px;margin-left:auto}.party-tiebreak{margin:16px 0 0!important;padding:0 4px!important;border:0!important;background:transparent!important}.party-tiebreak summary{font-size:12px;color:#a4bdd5;padding:12px 0;cursor:pointer}.party-tiebreak p{font-size:12px;line-height:1.7;color:#c3ddf1;margin:0 0 12px}@media(max-width:400px){.party-plan-list{padding:0 16px}.party-plan-list li{grid-template-columns:105px 1fr;gap:12px}.party-plan-list time{font-size:13px}.party-plan-list b{font-size:14px}.party-follow{padding:16px;gap:10px}}

/* Full-bleed artwork flows into overlapping app content sheets. */
.immersive-screen{padding:0;overflow:clip}.immersive-hero{position:relative;width:100%;height:min(66svh,150vw,620px);min-height:360px;background:#075aa5;overflow:hidden}.immersive-hero:after{content:"";position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#061c4070);pointer-events:none}.immersive-hero img,.immersive-hero .team-art,.immersive-hero .full-invite{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:0;aspect-ratio:auto;margin:0}.teams-hero{height:min(61svh,520px);min-height:320px}.teams-hero .team-art{object-position:center 65%}.hero-sheet{position:relative;z-index:1;margin-top:-44px;padding:0 20px 30px;background:linear-gradient(180deg,#0c2d52 0,#061c40 340px);border-radius:28px 28px 0 0;border-top:1px solid #7ac9ff66;box-shadow:0 -16px 40px #02122530}.hero-sheet:before{content:"";display:block;width:36px;height:4px;border-radius:4px;background:#8ecfff55;margin:12px auto 0}.hero-sheet>.page-heading{padding:22px 0 18px}.hero-sheet>.page-heading h1{margin:8px 0;font-size:38px}.hero-sheet>.page-heading p{margin-bottom:0}.poster.immersive-hero .event-chip{top:16px;bottom:auto;left:16px;z-index:1;border-radius:20px;background:#041b37e8;padding:8px 12px}.poster.immersive-hero:not([hidden])+.match-body{position:relative;z-index:1;margin-top:-44px;padding:0 18px}.poster.immersive-hero:not([hidden])+.match-body .welcome-card{margin-top:0;border-radius:24px;padding:23px 20px;background:linear-gradient(145deg,#124d83,#09294e);box-shadow:0 -12px 36px #02122544;border-color:#70c4ff88}.original-invite-link{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin-top:24px;font-size:13px;color:#8bd3ff;text-decoration:none;border-top:1px solid #2a5074;padding-top:18px}@media(max-width:400px){.hero-sheet{padding-left:16px;padding-right:16px}.hero-sheet>.page-heading h1{font-size:34px}.poster.immersive-hero:not([hidden])+.match-body{padding-left:12px;padding-right:12px}.immersive-hero{min-height:330px}}

.poster.immersive-hero{height:min(60svh,150vw,580px)}

/* Equal-width squads: readable rows and reward badges on both phones and desktop. */
#team-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}#team-cards .squad-card{min-width:0}#team-cards .squad-header{padding:16px 10px;gap:7px}#team-cards .squad-header .crest{width:30px;height:36px;font-size:18px;flex-shrink:0}#team-cards .squad-header small{font-size:7px;letter-spacing:.5px}#team-cards .squad-header h2{font-size:26px}#team-cards .squad-stats{padding:12px 6px;gap:5px}#team-cards .squad-stats span{font-size:7px;letter-spacing:.3px}#team-cards .squad-stats b{font-size:20px}#team-cards .squad-players{padding:12px 8px}#team-cards .lineup-player{gap:6px;padding:10px 0;align-items:flex-start}#team-cards .lineup-player>div{min-width:0}#team-cards .lineup-player b{font-size:13px;overflow-wrap:anywhere}#team-cards .jersey-number{width:25px;height:28px;min-width:25px;flex:0 0 25px}#team-cards .jersey-number .icon{width:18px;height:18px}#team-cards .badges{gap:3px}#team-cards .badges>span{font-size:8px;padding:4px;white-space:normal}#team-cards .badges .icon{width:12px;height:12px}
/* Photo-first gallery and feed with readable controls over the image. */
#screen-memories{padding:0 4px}#screen-memories .page-heading{padding:20px 12px 8px}#screen-memories .page-heading h1{font-size:30px;margin:6px 0}#screen-memories .page-heading>small{display:none}#screen-memories .page-heading p{margin:6px 0}#gallery-message{font-size:11px;margin:8px 12px;color:#9ec2df}#gallery-tools{margin:8px;padding:0;display:flex;gap:6px;flex-wrap:wrap}#gallery-tools button,#gallery-tools a{font-size:10px;padding:8px;min-height:36px}#memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.memory-card{position:relative;margin:0;border:0;border-radius:8px;overflow:hidden;background:#06172a}.memory-card .memory-open{display:block;width:100%;height:100%;padding:0;border:0;aspect-ratio:4/5;border-radius:0;position:relative;background:#06172a}.memory-card .memory-open img,.memory-card .memory-open video{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;border-radius:0;display:block;pointer-events:none}.memory-card .memory-select{position:absolute;z-index:2;top:8px;left:8px;margin:0;padding:0;background:none;width:auto}.memory-select input{width:22px;height:22px;min-height:22px;accent-color:#55b9ff;filter:drop-shadow(0 1px 4px #000)}.memory-card .memory-caption{position:absolute;bottom:0;left:0;right:0;padding:30px 10px 8px;display:flex;align-items:end;gap:5px;background:linear-gradient(transparent,#020b19e8);pointer-events:none}.memory-card .memory-caption p{font-size:11px;line-height:1.4;margin:0;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff}.memory-caption a{pointer-events:auto;display:grid;place-items:center;min-width:36px;min-height:36px;color:white}.memory-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid #ffffff88;background:#071a39aa;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;color:white;pointer-events:none}.feed-card.feed-memory{display:block;position:relative;padding:0;border-radius:16px;overflow:hidden}.feed-memory .memory-open{display:block;position:relative;margin:0;width:100%;padding:0;border:0;aspect-ratio:4/3;border-radius:0}.feed-memory .memory-open img,.feed-memory .memory-open video{width:100%;height:100%;max-height:none;aspect-ratio:4/3;object-fit:cover;border-radius:0;pointer-events:none}.feed-memory-overlay{position:absolute;inset:auto 0 0;padding:50px 16px 12px;background:linear-gradient(transparent,#020b19f2);pointer-events:none}.feed-memory-overlay small{color:#d1e9ff;font-size:9px}.feed-memory-overlay h2{font-size:21px;margin:7px 0;color:white}.feed-memory-overlay a{pointer-events:auto}.feed-memory-links{margin-top:0;justify-content:space-between}.feed-memory-links a{color:white;font-size:11px;min-height:38px}.viewing-memory{overflow:hidden}#memory-viewer.fullscreen-memory{position:fixed;inset:0;z-index:1000;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#000;color:white;display:flex;align-items:center;justify-content:center;overflow:hidden}#memory-viewer.fullscreen-memory img,#memory-viewer.fullscreen-memory video{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;margin:0;border-radius:0}#memory-viewer .memory-viewer-toolbar{position:absolute;z-index:2;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:max(12px,env(safe-area-inset-top)) 14px 35px;background:linear-gradient(#000c,transparent)}#memory-viewer .memory-viewer-toolbar a{position:static;display:flex;align-items:center;gap:8px;color:white;padding:10px;text-decoration:none;font-size:13px}#memory-viewer #close-memory{position:static;background:#172233bb;color:white}#memory-full-caption{position:absolute;bottom:70px;left:18px;right:18px;text-align:center;font-size:13px;pointer-events:none;text-shadow:0 2px 6px black}.reset-panel{width:100%;padding:18px;border:1px solid #b35f68;border-radius:12px;margin-top:18px}.reset-panel p{font-size:13px;line-height:1.6;color:#d1dceb}.reset-panel button{margin-top:12px}
.memory-card .memory-download{width:36px;height:36px;min-height:36px;flex:0 0 36px;padding:7px;margin:0;border:0;border-radius:50%;background:#06172a99}.memory-card .memory-caption p{min-width:0}.memory-card .memory-select{min-height:24px}

/* The connection beacon pulses only while polling is successful. */
#connection{display:inline-flex;align-items:center;gap:7px}#connection:before{content:"";display:block;width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#8da7c4}#connection[data-live="true"]:before{background:#78ceff;box-shadow:0 0 0 0 #78ceff66;animation:live-beacon 1.8s ease-out infinite}#connection[data-live="false"]:before{background:#ffe344;animation:none}@keyframes live-beacon{0%{box-shadow:0 0 0 0 #78ceff88;opacity:1}65%{box-shadow:0 0 0 6px #78ceff00;opacity:1}100%{box-shadow:0 0 0 0 #78ceff00;opacity:.7}}@media(prefers-reduced-motion:reduce){#connection[data-live="true"]:before{animation:none;box-shadow:0 0 5px #78ceff88}}

/* Branded selection with a generous touch target over every memory. */
.memory-card .memory-select{top:4px;left:4px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;cursor:pointer}.memory-card .memory-select input{appearance:none;-webkit-appearance:none;display:grid;place-content:center;width:28px;height:28px;min-height:28px;margin:0;padding:0;border:2px solid #9ad9ff;border-radius:9px;background:#062347dd;box-shadow:0 2px 10px #00132b66;filter:none;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.memory-card .memory-select input:before{content:"";width:11px;height:6px;border-left:3px solid #062347;border-bottom:3px solid #062347;transform:translateY(-2px) rotate(-45deg) scale(0);transition:transform .12s ease-out}.memory-card .memory-select input:checked{background:#ffe344;border-color:#ffe344;box-shadow:0 0 0 3px #ffe34425,0 2px 10px #00132b66}.memory-card .memory-select input:checked:before{transform:translateY(-2px) rotate(-45deg) scale(1)}.memory-card .memory-select input:focus-visible{outline:3px solid #fff;outline-offset:3px}.memory-card:has(.memory-select input:checked){box-shadow:inset 0 0 0 3px #ffe344}.memory-card:has(.memory-select input:checked):after{content:"";position:absolute;inset:0;z-index:1;border:2px solid #ffe344;border-radius:inherit;pointer-events:none}@media(prefers-reduced-motion:reduce){.memory-card .memory-select input,.memory-card .memory-select input:before{transition:none}}@media(forced-colors:active){.memory-card .memory-select input{appearance:auto}.memory-card .memory-select input:before{display:none}}

/* Preserve artwork text: landscape home hero and uncropped portrait invite. */
.poster.immersive-hero{height:auto;min-height:0}.poster.immersive-hero img{height:auto;aspect-ratio:3/2;object-fit:contain}.poster.immersive-hero:after{display:none}.poster.immersive-hero .event-chip{display:none}.poster.immersive-hero:not([hidden])+.match-body{margin-top:-20px}.party-hero{height:auto;min-height:0;padding-bottom:28px;background:#0c2d52}.party-hero .full-invite{height:auto;aspect-ratio:auto;object-fit:contain}.party-hero:after{display:none}.party-hero+.hero-sheet{margin-top:-28px;box-shadow:none}
