/* Original NFS event photography, cropped only. Text stays in the foreground. */
.photo-live{--event-photo:url('event-live.jpg');--event-position:55% 51%}
.photo-grip{--event-photo:url('event-podium.jpg');--event-position:56% 52%}
.photo-board{--event-photo:url('event-flag.jpg');--event-position:50% 65%}
.photo-link{position:relative;isolation:isolate;overflow:hidden;text-align:left;color:#fff!important;background:#121714!important;border:1px solid #55523f!important;border-radius:5px!important;min-width:0;min-height:110px;padding:17px!important;display:flex;align-items:flex-end;justify-content:space-between;box-shadow:none!important}
.photo-link:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background-image:var(--event-photo);background-size:cover;background-position:var(--event-position);transition:transform .25s}
.photo-link:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(0deg,#050807ed 0%,#080b0855 50%,#080b0810 100%)}
.photo-link:hover:before{transform:scale(1.025)}.photo-link:hover{border-color:#ddba63!important}
.photo-copy{min-width:0;text-shadow:0 1px 5px #000}.photo-copy small{display:block;font:9px Arial,sans-serif;letter-spacing:1.5px;color:#edd58e;margin-bottom:6px}.photo-copy b{display:block;font-size:19px;line-height:1.2;font-weight:700;white-space:normal}
.photo-arrow{margin-left:8px;font-size:20px;color:#f3d678;line-height:1}
.photo-link.selected{border-color:#e0b957!important;box-shadow:inset 0 -3px #e0b957!important}.photo-link.selected .photo-copy b{color:#ffe7a1}.photo-link:disabled{opacity:1;cursor:default}
.photo-entry-links{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid #3c4132}
.photo-entry-links .photo-link{min-height:90px;padding:14px!important}.photo-entry-links .photo-copy b{font-size:16px}.photo-entry-links .photo-copy small{font-size:8px;letter-spacing:1.1px}
.grip-result-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;background:none;overflow:visible;margin:8px 0 16px}
.grip-result-tabs .photo-link{min-height:125px}.grip-result-tabs .photo-copy b{font-size:22px}.grip-result-tabs .photo-link:before{background-size:auto 210%;background-position:right 44%;background-repeat:no-repeat}
.grip-result-tabs .photo-link:after{background:linear-gradient(90deg,#070a08f2 0%,#070a0866 45%,#070a0810 100%)}
.grip-result-tabs .photo-grip:before{background-size:auto 180%;background-position:right 50%}
.grip-heading{background:none;border:0;border-bottom:1px solid #424234;border-radius:0;min-height:0;padding:3px 0 12px;margin:0 0 12px}.grip-heading h1{font-size:22px}.grip-heading .eyebrow{font-size:9px;color:#a9a487;letter-spacing:1.3px}
.photo-page-title{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:center;min-height:105px;padding:19px 22px!important;border:1px solid #514c36;border-left:3px solid #d5ae4e;border-radius:5px;margin:0 0 18px;background:#111611}
.photo-page-title:before{content:"";position:absolute;z-index:-2;top:0;right:0;bottom:0;left:30%;background-image:var(--event-photo);background-size:cover;background-position:var(--event-position)}
.photo-page-title:after{content:"";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#0a0d0af5 0%,#0a0d0af0 30%,#0a0d0a44 75%,#0a0d0a33 100%)}
.photo-page-title:before{background-size:auto 220%;background-repeat:no-repeat;background-position:right 20%}
.photo-page-title.photo-live:before{background-size:auto 180%;background-position:right 55%}
.photo-page-title h1{font-size:26px;color:#fff;line-height:1.25;max-width:760px}.photo-page-title .eyebrow{font-size:10px;color:#ddbe70}.photo-page-title .quiet{position:relative;color:#ffe8a3;flex:none;text-shadow:0 1px 5px #000}
.scores-choice.photo-link{min-height:190px}.scores-choice.photo-link .photo-copy b{font-size:26px}
@media(min-width:800px){.photo-entry-links .photo-link:before{left:18%;background-position:50% 40%}.photo-entry-links .photo-link:after{background:linear-gradient(90deg,#070a08f5,#070a0866 70%,#070a0822)}}
@media(max-width:799px){.photo-entry-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.photo-entry-links .photo-grip{grid-column:1/-1;min-height:108px}.photo-entry-links .photo-grip:before{left:25%;background-size:auto 175%;background-position:right 44%;background-repeat:no-repeat}.photo-entry-links .photo-grip:after{background:linear-gradient(90deg,#070a08f5,#070a0855 80%,#070a0822)}.grip-result-tabs .photo-link{min-height:106px;padding:12px!important}.grip-result-tabs .photo-link:before{background-size:cover;background-position:var(--event-position)}.grip-result-tabs .photo-link:after{background:linear-gradient(0deg,#050807f5 0%,#080b0855 58%,#080b0800 100%)}.grip-result-tabs .photo-copy b{font-size:16px}.grip-result-tabs .photo-copy small{font-size:7px;letter-spacing:.7px;margin-bottom:5px}.grip-result-tabs .photo-arrow{font-size:17px}.photo-page-title{min-height:94px;padding:15px!important}.photo-page-title h1{font-size:21px;max-width:240px}.photo-page-title:before{left:12%}.grip-heading h1{font-size:19px}.grip-heading{padding-bottom:9px}.grip-heading .eyebrow{font-size:8px}}
@media(max-width:359px){.grip-result-tabs{gap:8px}.grip-result-tabs .photo-copy b{font-size:14px}.photo-copy small{letter-spacing:.5px}.photo-entry-links .photo-copy b{font-size:15px}.photo-page-title h1{font-size:19px;max-width:205px}}
@media(prefers-reduced-motion:reduce){.photo-link:before{transition:none}.photo-link:hover:before{transform:none}}
@media(max-width:799px){body.map-mode main{padding-bottom:105px;padding-bottom:calc(105px + var(--safe-bottom,0px))}}

/* Event images remain quiet behind the labels, on every viewport. */
.photo-link:before,.photo-page-title:before{filter:saturate(.18) contrast(.78) brightness(.82);opacity:.38}
.photo-link:hover:before{transform:none}

/* Customer results flow: two entrances, then dedicated result pages. */
.nfs-viewer #scoresPage .scores-heading{padding:6px 0 18px}.nfs-viewer #scoresPage .scores-heading h1{font-size:28px;margin:7px 0 0}.nfs-viewer #scoresPage .scores-heading .eyebrow{font-size:10px}
.nfs-viewer #scoresPage .scores-choices{gap:14px}.nfs-viewer #scoresPage .photo-link{min-height:190px}
.nfs-viewer .subpage-heading{display:flex;align-items:center;gap:12px;min-height:52px;margin:0 0 14px;padding:0 0 10px;border:0;border-bottom:1px solid #3c4132;border-radius:0;background:none}
.nfs-viewer .subpage-heading h1{font-size:23px;line-height:1.3;margin:0;letter-spacing:0}.nfs-viewer .subpage-heading>h1,.nfs-viewer .subpage-heading>div{flex:1;min-width:0}
.nfs-viewer .subpage-heading .subpage-back{display:flex!important;align-items:center;justify-content:center;flex:0 0 40px;min-width:40px;min-height:44px;margin:0;padding:0;border:0;background:transparent;font-size:34px;line-height:1;color:#d8b35f}
.nfs-viewer .subpage-heading>.quiet:not(.subpage-back){margin:0;flex:none}.nfs-viewer #scoresBoard{display:none}
@media(max-width:799px){.nfs-viewer #scoresPage .photo-link{min-height:160px}.nfs-viewer #scoresPage .photo-copy b{font-size:24px}.nfs-viewer .subpage-heading h1{font-size:21px}.nfs-viewer .subpage-heading{gap:8px;margin-bottom:12px}}
