@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600&display=swap');

/* The header draws the gold emblem image only, with no legacy logo underneath. */
.appbar .brandmark{background:none}

/* One Boundary Lakes landscape, with a treatment for each presentation screen. */
.screen.welcomescreen:before,.screen.welcomescreen:after,.screen.thankyouscreen:before,.screen.thankyouscreen:after{display:none}
.screen.welcomescreen,.screen.thankyouscreen{background:#092d26}
.match-cover,.match-cover.thank-you-scene{height:100%;width:100%;display:block;padding:0;text-align:left;text-shadow:none;background:#092d26;color:#fff2d7}
.match-cover .lp-scene{position:relative;height:100%;display:flex;flex-direction:column;padding:3cqw 4.4cqw 2.4cqw;background:linear-gradient(180deg,#031c167a 0%,#031c1612 22%,#031c162b 42%,#031c1688 70%,#031c16ed 100%),url('lakes-landscape-sculpted.jpg') center/cover no-repeat;color:#fff2d7;overflow:hidden}
.match-cover header{display:flex;justify-content:space-between;gap:2cqw;font:1cqw Arial,Helvetica,sans-serif;letter-spacing:.16em;color:#f4ead5;flex-shrink:0;line-height:1.3}
.match-cover header>span:last-child{text-align:right;max-width:52%;overflow-wrap:anywhere}
.match-cover header i{font-style:normal;padding:0 .8cqw;color:#c7ad76}
.match-cover .lp-live-label{font:1.1cqw Arial,sans-serif;letter-spacing:.25em;color:#e8d4a9;text-align:center;margin:3cqw 0 1.5cqw;flex-shrink:0}
.match-cover .lp-fixture{position:relative;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr) 12cqw minmax(0,1fr);align-items:center;justify-items:center;gap:1cqw;width:94cqw;max-width:none;margin:auto 0;flex-shrink:0}
.match-cover .lp-team{width:100%;text-align:center;min-width:0}
.match-cover .lp-crest{width:12cqw;height:12cqw;margin:0 auto .8cqw;background-color:#f6efdf;border:1px solid #c7ad76;border-radius:50%;box-shadow:0 .5cqw 1.5cqw #031c1638;background-size:78% auto;background-position:center;background-repeat:no-repeat}
.match-cover .lp-lakes{background-image:url('lakes-logo.png')}
.match-cover .lp-visitor{display:grid;place-items:center;font:3.6cqw Georgia,serif;color:#173b32}
.match-cover .lp-team h2{font:600 var(--team-name-size,4.55cqw)/1 'Barlow Condensed','Arial Narrow',Arial,sans-serif;letter-spacing:-.02em;margin:0;color:#fff2d7;text-shadow:0 2px 18px #031c1677;text-transform:uppercase;white-space:nowrap}
.match-cover .lp-team-line{display:block;width:4cqw;height:.25cqw;margin:1.1cqw auto 0;background:#c14b48}
.match-cover .lp-away .lp-team-line{background:#4b81b6}
.match-cover .lp-middle{width:100%;display:flex;justify-content:center;align-items:center;text-align:center}
.match-cover .lp-versus{font:italic 4.5cqw Georgia,serif;color:#e2c993}
.match-cover .lp-goodbye .lp-fixture{grid-template-columns:minmax(0,1fr) 22cqw minmax(0,1fr)}
.match-cover .lp-score{display:flex;align-items:center;justify-content:center;gap:1cqw;white-space:nowrap}
.match-cover .lp-score strong{display:grid;place-items:center;min-width:8cqw;height:11cqw;font:600 10cqw/1 'Barlow Condensed','Arial Narrow',Arial,sans-serif;color:#fff2d7;text-shadow:0 2px 18px #031c1655;background:transparent;box-shadow:none}
.match-cover .lp-score i{font:2.4cqw Georgia,serif;font-style:normal;color:#e2c993}
.match-cover .lp-held{font:italic 2.5cqw/1.1 Georgia,serif;color:#f4ead5}
.match-cover .lp-bottom{text-align:center;margin-top:3cqw;flex-shrink:0}
.match-cover .lp-message{font:400 5.2cqw/1.05 Georgia,serif;letter-spacing:-.035em;color:#fff2d7;margin:0 auto 1.3cqw;max-width:91cqw;overflow-wrap:anywhere;text-shadow:0 .15cqw 1.1cqw #031c1699}
.match-cover .lp-support{font:1.25cqw/1.5 Arial,Helvetica,sans-serif;margin:0;color:#e1e5d8;overflow-wrap:anywhere}
.match-cover .lp-points{font:1cqw/1.4 Arial,sans-serif;margin:1.2cqw 0 0;color:#d4bf90;display:flex;gap:1cqw;flex-wrap:wrap;justify-content:center}
.match-cover .lp-points span{color:#f4ead5}.match-cover .lp-points i{font-style:normal}
.match-cover footer{margin-top:3cqw;padding-top:1.4cqw;border-top:1px solid #c7ad7644;display:flex;justify-content:space-between;align-items:center;gap:2cqw;font:.75cqw/1.35 Arial,sans-serif;letter-spacing:.13em;color:#c6cdbf;flex-shrink:0}
.match-cover footer>span:last-child{text-align:right;max-width:73%;overflow-wrap:anywhere}
.match-cover .lp-goodbye footer{margin-top:2cqw}
.match-cover .lp-compact .lp-live-label{margin-top:1.5cqw;margin-bottom:1cqw}
.match-cover .lp-compact .lp-crest{width:10cqw;height:10cqw}
.match-cover .lp-compact .lp-message{font-size:4cqw;margin-bottom:1cqw}
.match-cover .lp-compact .lp-support{font-size:1.05cqw;line-height:1.35}
.match-cover .lp-compact .lp-bottom{margin-top:1.5cqw}
.match-cover .lp-compact .lp-points{margin-top:.7cqw}
.match-cover .lp-compact footer{margin-top:1.2cqw;padding-top:1cqw}
.thank-you-points-toggle{display:flex!important;align-items:center;gap:10px!important}.thank-you-points-toggle input{width:auto;min-width:18px;height:18px}#thankyou-edit[hidden]{display:none}

/* Notices retain their reading panels; pairings use a quieter, deeper wash. */
.notice-scene{background:linear-gradient(180deg,#052a2377 0%,#052a232b 35%,#052a234d 65%,#052a23c9 100%),url('lakes-landscape-sculpted.jpg') center/cover no-repeat}
.pairing-scene{background:linear-gradient(180deg,#062a21b8,#062a2166 35%,#062a2177 70%,#062a21d9),url('lakes-landscape-sculpted.jpg') center/cover no-repeat}
.cup-main{background:linear-gradient(180deg,#08291e66 0%,#08291e55 24%,#08291e33 75%,#08291ed9 100%),url('lakes-landscape-sculpted.jpg') center/cover no-repeat}

/* Consistent crest backing for uploaded club identities and the gold Lakes emblem. */
.match-cover .lp-crest{display:grid;place-items:center}.match-cover .lp-lakes{background-image:none}.match-cover .lp-crest>img{display:block;width:82%;height:82%;object-fit:contain}.brandmark>img{width:85%;height:85%;object-fit:contain}.crest-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.crest-editor-side{min-width:0;border:1px solid #d3d8ce;padding:20px;border-radius:4px}.crest-editor-side h3{font-size:22px;overflow-wrap:anywhere}.crest-editor-disc{display:grid;place-items:center;width:150px;height:150px;max-width:100%;aspect-ratio:1;background:#f6efdf;border:1px solid #b99b5e;border-radius:50%;margin:20px auto;font:40px Georgia;color:#173b32}.crest-editor-disc>img{width:82%;height:82%;object-fit:contain}.crest-upload-label{display:grid;gap:8px;font-size:12px;color:#647561}.crest-upload-label input{font-size:12px;max-width:100%}.crest-status{font-size:12px;line-height:1.5;color:#647561;min-height:1.5em;margin:12px 0}.crest-editor-side>button{font-size:12px;min-height:44px}.viewtools{flex-wrap:wrap;justify-content:flex-end}@media(max-width:580px){.crest-editor-grid{grid-template-columns:1fr}.crest-editor-side{padding:16px}.viewhead{gap:12px;align-items:flex-start}.viewtools{gap:7px}.crest-upload-label input{font-size:16px}}

/* Crest selection belongs directly to its team in fixture setup. */
.fixture-team-field{min-width:0}.fixture-team-field>label{display:grid;gap:7px;font-size:11px;color:#6a796d}.fixture-crest-field{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:start;gap:12px;margin-top:14px}.fixture-crest-field .crest-editor-disc{width:66px;height:66px;margin:0;font-size:22px}.fixture-crest-field .crest-upload-label{font-size:11px}.fixture-crest-field input[type=file]{width:100%;font-size:11px;padding:8px 5px}.crest-inline-reset{font-size:10px;padding:7px 0;border:0;text-align:left;min-height:32px}.fixture-crest-field .crest-status{font-size:10px;margin:3px 0 0;min-height:1.5em}
.fixture-crest-choose{display:flex;align-items:center;gap:10px;width:100%;text-align:left;font-size:11px;margin-top:12px;padding:9px 10px;min-height:50px}.fixture-crest-thumb{width:34px;height:34px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#f6efdf;border:1px solid #b99b5e;font:13px Georgia;color:#173b32}.fixture-crest-thumb img{width:82%;height:82%;object-fit:contain}#crest-popup{max-width:420px}#crest-popup .modalhead h2{font-size:25px;overflow-wrap:anywhere}#crest-popup .crest-inline-reset{font-size:12px;min-height:44px}#crest-popup input[type=file]{font-size:14px}#crest-popup .crest-status{font-size:12px}@media(max-width:580px){#crest-popup{padding:22px}#crest-popup input[type=file]{font-size:16px}}

/* Per-team size and reversible local background cleanup. */
.match-cover .lp-crest,.crest-editor-disc,.fixture-crest-thumb{overflow:hidden}.crest-editor-disc{position:relative}.crest-editor-disc>img{flex-shrink:0}.crest-size-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:20px 0}.crest-size-control>label{grid-column:1/-1;display:flex;justify-content:space-between;font-size:12px;color:#647561}.crest-size-control input[type=range]{padding:0;accent-color:#123e34;width:100%;min-height:32px}.crest-size-control button{font-size:11px;padding:8px 10px;min-height:40px}#crest-remove-background{width:100%;min-height:44px;font-size:13px}.crest-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.crest-comparison[hidden]{display:none}.crest-comparison>button{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px 8px;font-size:12px}.crest-comparison img{width:75px;height:75px;object-fit:contain;background-color:#f6efdf;background-image:linear-gradient(45deg,#d8d8cb 25%,transparent 25%),linear-gradient(-45deg,#d8d8cb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d8d8cb 75%),linear-gradient(-45deg,transparent 75%,#d8d8cb 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0}.crest-comparison button[aria-pressed=true]{border-color:#997d41;box-shadow:inset 0 0 0 1px #997d41;background:#eee8d7}#crest-popup .modalactions{flex-wrap:wrap}

/* The header is the same saved home-team identity, including its chosen fit. */
.appbar .brandmark{width:58px;height:58px;border:1px solid #c7ad76;border-radius:50%;background:#f6efdf;overflow:hidden;flex-shrink:0}@media(max-width:740px){.appbar .brandmark{width:44px;height:44px}}
