/* Front-page backdrop shared by all four customer channel pages, in both themes. */
html[data-customer-theme] body.customer-page{background:radial-gradient(ellipse at 50% 15%,#4d0710 0%,#280309 48%,#160205 100%)!important;background-attachment:fixed!important;min-height:100vh;min-height:100dvh}
html[data-customer-theme] body.customer-page .channel-photo-nav{background:linear-gradient(135deg,#4d0710,#280309)!important;border-color:#b88b4c80!important;box-shadow:0 6px 20px #0003}
html[data-customer-theme=light] body.customer-page .customer-theme-control{color:#ffe6a8}
@media(max-width:767px) and (orientation:portrait){html[data-customer-theme] body.customer-page{background-attachment:scroll!important;background-color:#280309!important}}

/* Shared customer layout: burgundy, warm gold and readable form surfaces. */
html[data-customer-theme] body.customer-page{--channel-gold:#edc779;--channel-line:#b9915266;--channel-panel:#25161c;--channel-text:#fff5e5;--channel-muted:#cdbbc0;--channel-input:#190e13;color:var(--channel-text)!important;line-height:1.55}
html[data-customer-theme=light] body.customer-page{--channel-panel:#fffaf2;--channel-text:#322129;--channel-muted:#75616a;--channel-input:#fff}
.customer-page .wrap{width:100%;max-width:900px;padding:22px 18px 48px}
html[data-customer-theme] .customer-page .card{background:var(--channel-panel)!important;color:var(--channel-text)!important;border:1px solid var(--channel-line)!important;border-radius:20px;padding:25px;margin-bottom:18px;box-shadow:0 14px 35px #09000430}
.customer-page .card h2{margin:0 0 19px;font-size:23px;line-height:1.4;letter-spacing:-.3px}
html[data-customer-theme=dark] .customer-page .card h2{color:var(--channel-gold)}
.customer-page .hero{padding:24px;gap:25px;overflow:hidden}
.customer-page .customer-photo-frame{border-radius:14px;box-shadow:0 4px 18px #0002}
.customer-page .hero h1{line-height:1.2;margin-bottom:14px}
.customer-page .hero b{margin-top:15px}
html[data-customer-theme] .customer-page .muted{color:var(--channel-muted)!important}
.customer-page .form{gap:13px}
html[data-customer-theme] .customer-page .form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html[data-customer-theme] .customer-page .form textarea,html[data-customer-theme] .customer-page .form select{background:var(--channel-input)!important;color:var(--channel-text)!important;border:1px solid #9b7b655e!important;border-radius:11px;padding:13px 15px;font-size:16px;min-height:48px;font-family:inherit;box-shadow:inset 0 1px 2px #00000006}
html[data-customer-theme] .customer-page input::placeholder,html[data-customer-theme] .customer-page textarea::placeholder{color:var(--channel-muted)!important}
.customer-page .form label{font-weight:700;font-size:15px}
.customer-page .form p{margin:3px 0 9px}
html[data-customer-theme] .customer-page .primary{background:linear-gradient(135deg,#f4d795,#d6a84e)!important;color:#342008!important;border:1px solid #f3d591;border-radius:11px;padding:14px 19px;font:700 16px/1.4 Arial,sans-serif;min-height:50px;box-shadow:0 4px 10px #0002;transition:filter .15s,transform .15s}
.customer-page .primary:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px)}
.customer-page .primary:disabled{opacity:.45;box-shadow:none}
html[data-customer-theme] .customer-page .selected-summary{background:var(--channel-input)!important;color:var(--channel-text)!important;border:1px solid var(--channel-line);border-radius:12px;padding:16px;line-height:1.7}
.customer-page .guess-row{gap:12px;padding:13px;border:1px solid var(--channel-line);border-radius:12px;margin:12px 0;grid-template-columns:minmax(0,1fr) minmax(75px,.6fr) 38px}
.customer-page .guess-number{font-size:21px;font-variant-numeric:tabular-nums}
.customer-page .guess-row>button{width:38px;min-height:38px;font-size:23px;line-height:1;border-radius:10px}
.customer-page .remaining-badge{font-size:13px;min-width:76px;padding:7px 9px}
.customer-page .grid{gap:7px;padding-top:6px}
html[data-customer-theme] .customer-page .num{background:var(--channel-input);color:var(--channel-text);border:1px solid var(--channel-line);border-radius:9px;font-size:15px;min-width:0;transition:background .12s,box-shadow .12s}
html[data-customer-theme] .customer-page .num.selected,html[data-customer-theme] .customer-page .num:not(.taken):hover{background:#e4bb67!important;color:#30200b!important;outline-color:#f5d896;box-shadow:0 2px 8px #0002}
.customer-page .channel-home{background:linear-gradient(135deg,#54212b,#30101b);border-color:#caa158;min-height:46px;padding:11px 18px;border-radius:12px}
.customer-page .customer-theme-control{color:#ffe6a8!important;margin-bottom:18px}
.customer-page .channel-photo-nav{margin-bottom:25px}
.customer-page :is(input,textarea,select,button,a):focus-visible{outline:3px solid #e9bd65!important;outline-offset:3px}
@media(max-width:600px){.customer-page .wrap{padding:14px 12px 32px}.customer-page .card{padding:19px!important;border-radius:16px!important}.customer-page .card h2{font-size:21px}.customer-page .hero{gap:14px}.customer-page .grid{gap:5px}.customer-page .num{font-size:13px!important}.customer-page .guess-row{padding:10px;gap:8px}.customer-page .guess-number-label{gap:5px}.customer-page .remaining-badge{min-width:65px;font-size:12px;padding:6px}.customer-page .hero h1{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.customer-page .primary,.customer-page .num{transition:none}.customer-page .primary:not(:disabled):hover{transform:none}}
