/* FANGST v181 — centralized God Jul marine palette.
   All rules are scoped: other themes and user content are unchanged. */
body.fangst-christmas {
 --jul-bg:#021529;--jul-surface:#052a45;--jul-panel:#073755;--jul-field:#061d33;
 --jul-action:#005ce8;--jul-hover:#176bc5;--jul-text:#e5f3ff;--jul-muted:#b8d2e7;
 --jul-border:#51cbff;--jul-link:#80d9ff;
 --bg:var(--jul-bg);--background:var(--jul-bg);--surface:var(--jul-surface);--card:var(--jul-surface);
 --navy:var(--jul-bg);--navy2:var(--jul-surface);--white:var(--jul-surface);
 --text:var(--jul-text);--ink:var(--jul-text);--muted:var(--jul-muted);
 --primary:var(--jul-action);--accent:var(--jul-link);--turq:var(--jul-action);--turq2:var(--jul-hover);
 --stroke:var(--jul-border);--border:var(--jul-border);
 color-scheme:dark;background:var(--jul-bg)!important;color:var(--jul-text);
}
body.fangst-christmas .app-shell {background:var(--jul-bg)!important;min-height:100dvh}
body.fangst-christmas .screen {position:relative;isolation:isolate;background:transparent!important;color:var(--jul-text)}
/* Shared components plus the legacy feature surfaces identified in the source audit. */
body.fangst-christmas :is(.card,.panel,.tile,.home-card,.stat,.hero,.profile-hero,.detail-top,.info,.setting,.modal,.sheet,.bottomnav,.tabs,.filters,.empty,.dashed,.upload,.searchbox,.auth-panel,.install-panel,details,summary,.alert,.chat-line,.admin-card-actions,.catch-feedback,.fangst-participant-row,.v75-number-box,.v75-roster-row,.v87-details,.v88-feed-item,.v88-feed-clickable,.v88-review-dialog,.v88-pending,.v46-history,.v46-empty,.v46-photo-panel,.v53-gps-help,.v74-moon,.fa-news-card,.fa-news-empty,.fa-news-loading,.v70-hydro-label,.v70-hydro-row,.v54-countdown,.v54-builder,.v43-evidence,.v51-rule,.v51-status,.v89-judge-evidence,.v89-speed,.v80-video-card,.wr-rule-panel,.v67-judge-context,.v67-weather-current>div,.v69-water-temperature,.v69-water-edit,.v57-explore,.v57-settings,.v57-catch-split,.v57-tool-accordion,.fr131-invites,.fr131-message,#fr131-chat-panel,#fr-panel,#fr120-panel,.fangst-finn-bubble) {
 background:var(--jul-surface)!important;color:var(--jul-text)!important;border-color:var(--jul-border)!important;
}
body.fangst-christmas :is(button,.btn,[role="button"],.tab,.chip,.pill,.medal,.v46-await,.v49-chip,.v49-map-meta,.v46-gps-auto,.v88-feed-status,.v68-create-steps span,.v80-home-icon,.water-icon,.uicon,.v57-featured,.v57-event,.v57-admin-entry,.v68-home-create,.v68-create-card,.v68-create-banner,.v68-create,.fr-entry,.fr120-entry) {
 background:var(--jul-panel)!important;color:var(--jul-text)!important;border-color:var(--jul-border)!important;
}
body.fangst-christmas :is(.btn:not(.outline):not(.secondary):not(.ghost):not(.transparent),button.primary,.btn-primary,.tab.active,.chip.selected,.v46-tab-button.active,[aria-selected="true"],[aria-pressed="true"]):not(:disabled):not([aria-disabled="true"]) {
 background:var(--jul-action)!important;color:#fff!important;border-color:#73b5ef!important;
}
body.fangst-christmas :is(.textlink,.back,.install-link) {background:transparent!important;color:var(--jul-link)!important}
body.fangst-christmas :is(input,select,textarea,option) {background:var(--jul-field)!important;color:var(--jul-text)!important;border-color:var(--jul-border)!important;accent-color:var(--jul-action)}
body.fangst-christmas input::file-selector-button {background:var(--jul-panel);color:var(--jul-text);border:1px solid var(--jul-border);border-radius:8px;padding:8px}
body.fangst-christmas :is(input,textarea)::placeholder {color:var(--jul-muted);opacity:1}
body.fangst-christmas :is(h1,h2,h3,h4,strong,b,label,p,li,dt,dd,span,small) {color:inherit}
body.fangst-christmas :is(.muted,.subtitle,.footnote,.foot,.micro,.count,.hint,.eyebrow,.fa-news-bottom,.v68-create-text small,.v57-action small,.ranking small,.cardline small) {color:var(--jul-muted)!important}
body.fangst-christmas :is(a,.textlink,.back,.chevron,.v57-arrow,.fq-arrow) {color:var(--jul-link)!important}
body.fangst-christmas :is(.warning,.info.warning,.v41-warning,.v89-speed-warning,.catch-feedback,.pill.red,.event-delete-btn) {background:#17364e!important;color:#ffe1b0!important;border-color:#a18457!important}
body.fangst-christmas :is(.catch-feedback.success,.v46-gps-auto,.pill.green) {background:#103d50!important;color:#b8ffe8!important;border-color:#559a96!important}
body.fangst-christmas .catch-feedback.progress {background:var(--jul-panel)!important;color:var(--jul-text)!important}
body.fangst-christmas :is(button,input,select,textarea,a,[role="button"]):focus-visible {outline:3px solid var(--jul-link)!important;outline-offset:3px}
body.fangst-christmas :is(button,.btn,input,select,textarea):disabled,body.fangst-christmas [aria-disabled="true"] {opacity:1!important;background:#1d354a!important;color:#bfd0de!important;border-color:#61788a!important;cursor:not-allowed;box-shadow:none!important}
@media(hover:hover){body.fangst-christmas :is(button,.btn,[role="button"]):not(:disabled):not([aria-disabled="true"]):hover{background:var(--jul-hover)!important;color:#fff!important}}
body.fangst-christmas :is(button,.btn,[role="button"]):not(:disabled):active {background:#174d83!important;color:#fff!important}
/* Navigation, header and branded instrument effects. No filtering of photos or maps. */
body.fangst-christmas .navitem {background:transparent!important;color:var(--jul-muted)!important}
body.fangst-christmas .navitem.active {background:var(--jul-panel)!important;color:var(--jul-link)!important}
body.fangst-christmas :is(header,.topbar,.lowrance-brand-header,.lowrance-instrument-strip) {background:var(--jul-bg)!important;color:var(--jul-text)!important;border-color:var(--jul-border)!important}
body.fangst-christmas .topbar {background:#fff!important;color-scheme:light;display:flex!important;justify-content:center!important;position:relative!important;height:108px!important;overflow:hidden;border-bottom:3px solid #1671ff!important}
body.fangst-christmas .topbar .brand.v105-brand {width:min(75%,420px)!important;max-width:75%!important;height:96px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.fangst-christmas .topbar img.v105-header-logo {width:100%!important;height:96px!important;max-height:96px!important;object-fit:contain!important;filter:none!important;animation:none!important}
body.fangst-christmas .topbar .iconbtn {position:absolute;right:10px;top:38px}
body.fangst-christmas :is(.card,.panel,.tile) {position:relative;box-shadow:0 6px 20px #00122655!important}
/* Layout resilience is scoped to the theme; allow long Norwegian labels to wrap. */
body.fangst-christmas :is(button,.btn,label,.card,.panel,.v75-roster-row) {overflow-wrap:anywhere;min-width:0}
body.fangst-christmas :is(input,select,textarea) {max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:600px){body.fangst-christmas .theme-buttons{display:flex;flex-wrap:wrap;gap:8px}body.fangst-christmas .topbar{height:92px!important}body.fangst-christmas .topbar .brand.v105-brand,body.fangst-christmas .topbar img.v105-header-logo{height:80px!important}body.fangst-christmas .topbar .iconbtn{top:30px}}
@media(prefers-reduced-motion:reduce){body.fangst-christmas *,body.fangst-christmas *::before,body.fangst-christmas *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Legacy modules set their own ink colors rather than inheriting --text. */
body.fangst-christmas :is(.v54-clock,.v54-current,.v60-fish-quote,.v60-quote-symbol,.v75-roster-number,.v75-number-box strong,.v87-details>summary,.v88-approved,.v88-review-cta,.v88-empty,.v74-moon-heading>span,.v74-moon-main>span,.v66-live-button,.fa-news-copy h3,.fr-entry strong,.fr120-entry strong,.fr-speaking strong,.fr120-speaker b,.fangst-participant-number,.v69-water-value,.v69-water-description,.v80-video-card,.v80-youtube-link,.photo-note b,.feed-item strong,.ranking .points,.gps-old-alert,.gps-old-panel) {color:var(--jul-text)!important}
body.fangst-christmas :is(.v88-feed-item small,.fr-entry small,.fr120-entry small,.fr-speaking small,.fr120-speaker small,.fr131-invite small,.v67-home-links small,.v67-weather-current small,.v69-water-source,.v74-moon-main>span) {color:var(--jul-muted)!important}
body.fangst-christmas .wr-rules-screen :is(.wr-water-tile,.wr-rule-panel,.wr-water-tile.is-active) {background:var(--jul-surface)!important;color:var(--jul-text)!important;border-color:var(--jul-border)!important}
body.fangst-christmas .wr-rules-screen :is(.wr-water-tile span,.wr-water-tile svg,.wr-rule-panel h2,.wr-rule-panel h3,.wr-rule-points,.wr-rule-points li,.wr-rule-panel p,.wr-rule-panel strong) {color:var(--jul-text)!important}
body.fangst-christmas :is(.v60-fish-quote,.gps-old-alert,.gps-old-panel) {background:var(--jul-panel)!important;border-color:var(--jul-border)!important}
body.fangst-christmas :is(.v68-create-arrow,.v90-video-icon,.v90-video-arrow,.v112-judge-icon,.v110-judge-icon,.v80-home-icon,.fa-news-source,.fa-news-bottom span,.v66-contact a,.wr-show,.wr-status,.wr-rule-sources a,.v67-nve a,.v70-hydro-row a) {color:var(--jul-link)!important}
@media(max-width:600px){body.fangst-christmas .v88-live-head{flex-wrap:wrap}body.fangst-christmas .v88-live-controls{flex-wrap:wrap;gap:8px}body.fangst-christmas .v60-clock-and-quote .v54-clock{font-size:clamp(22px,6vw,36px);letter-spacing:0;white-space:normal;overflow-wrap:anywhere}}
/* v192: reference artwork is split into decoration-only assets. No baked UI or username. */
body.fangst-christmas{--jul-border:#54ceff;--jul-muted:#d6eaf6;--jul-link:#97e5ff;background:#00182d!important;font-family:Arial,Helvetica,sans-serif}
body.fangst-christmas .app-shell{background:linear-gradient(#00172a44,#00172ae8),url('god-jul-sky-v192.webp') center top/100% auto repeat-y!important}
body.fangst-christmas .topbar{height:auto!important;min-height:0!important;aspect-ratio:641/161;display:block!important;position:relative!important;background:#00182d!important;overflow:visible!important;border:0!important;color-scheme:dark;padding:0!important}
body.fangst-christmas .topbar .brand.v105-brand{width:100%!important;max-width:none!important;height:100%!important;margin:0!important;display:block!important}
body.fangst-christmas .topbar img.v105-header-logo{width:100%!important;height:100%!important;max-height:none!important;object-fit:fill!important;filter:none!important;animation:none!important}
body.fangst-christmas .topbar .iconbtn{right:8px;bottom:0;top:auto!important;width:28px;height:28px;opacity:.85}
body.fangst-christmas .screen{padding:12px 19px 105px!important;background:transparent!important;overflow:visible!important}
body.fangst-christmas .v57-welcome{padding:0!important;margin:0!important;min-height:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.fangst-christmas .v57-welcome h1{font-size:clamp(24px,6.5vw,42px)!important;line-height:1.18!important;color:#fff!important;text-shadow:0 2px 5px #001020;margin:0 0 25px!important}
body.fangst-christmas .v57-welcome>p{font-size:clamp(19px,4.7vw,30px)!important;font-weight:750!important;line-height:1.2!important;margin:15px 5px 16px!important;padding:0 0 8px;position:relative;color:#fff!important}
body.fangst-christmas .v57-welcome>p::after{content:'';position:absolute;height:3px;bottom:0;left:8%;right:12%;background:linear-gradient(90deg,transparent,#ff2731,#ff6d69,#e71825,transparent);box-shadow:0 0 5px #fa1d19;pointer-events:none}
body.fangst-christmas :is(.card,.panel,.modal,.sheet,dialog,.v66-water-hero,.v68-home-create,.v90-video-home,.v112-judge-home,.v57-action){background:linear-gradient(115deg,#032742eb,#002138ee)!important;border:1px solid #57cfff!important;box-shadow:inset 0 0 10px #25b6ff22,0 0 8px #19baff77!important;color:#fff!important;border-radius:16px!important;position:relative}
body.fangst-christmas .jul-home :is(.fangst-club-entry-home,.v66-water-hero,.v68-home-create,.v90-video-home,.v112-judge-home,.v57-action){overflow:visible!important;isolation:isolate}
body.fangst-christmas .jul-home :is(.fangst-club-entry-home,.v66-water-hero,.v68-home-create,.v90-video-home,.v112-judge-home,.v57-action)::before{content:'';position:absolute;inset:-9px -5px -5px;pointer-events:none;border:solid transparent;border-width:19px 15px 13px;border-image:url('god-jul-frame-v192.webp') 23 18 17 18 stretch;z-index:2;background:none!important;height:auto!important}
body.fangst-christmas .fangst-club-entry-home{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;column-gap:11px!important;row-gap:12px!important;padding:21px 15px 13px!important;margin:0 0 16px!important;min-height:0!important}
body.fangst-christmas .fangst-club-home-symbol{font-size:32px!important;align-self:center!important;width:auto!important;background:transparent!important}
body.fangst-christmas .fangst-club-home-text{padding-right:0!important}
body.fangst-christmas .fangst-club-home-text .eyebrow{font-size:clamp(9px,2.5vw,15px)!important;letter-spacing:.24em!important;margin-bottom:6px!important;color:#e5f2ff!important}
body.fangst-christmas .fangst-club-home-text h2{font-size:clamp(21px,4.7vw,30px)!important;line-height:1.1!important;margin:0 0 6px!important;color:white!important}
body.fangst-christmas .fangst-club-home-text p{font-size:clamp(14px,3.4vw,22px)!important;line-height:1.3!important;color:#dfecf8!important;margin:0!important}
body.fangst-christmas .fangst-club-home-open{grid-column:1/-1!important;width:100%!important;min-height:44px!important;font-size:clamp(17px,4vw,26px)!important;font-weight:800!important;border-radius:17px!important;background:linear-gradient(#0966ff,#0044cc)!important;box-shadow:0 0 9px #067fff!important;margin:3px 0 0!important}
body.fangst-christmas .fangst-club-entry-home::after{content:'';position:absolute;right:-5px;top:-25px;width:110px;height:65px;background:url('god-jul-bells-v192.webp') center/contain no-repeat;pointer-events:none;z-index:3;mask-image:radial-gradient(ellipse,#000 56%,transparent 75%)}
body.fangst-christmas :is(.v66-water-hero,.v68-home-create){min-height:67px!important;width:100%!important;padding:11px 13px!important;margin:13px 0 15px!important;gap:12px!important;display:flex!important;align-items:center!important}
body.fangst-christmas :is(.v66-water-hero,.v68-home-create) strong{font-size:clamp(18px,4.2vw,27px)!important;line-height:1.15!important}
body.fangst-christmas :is(.v66-water-hero,.v68-home-create) small{font-size:clamp(12px,3vw,19px)!important;line-height:1.25!important;color:#d8e8f7!important}
body.fangst-christmas :is(.v66-water-hero>span:first-child,.v68-create-icon){flex:0 0 44px!important;width:44px!important;height:44px!important;font-size:34px!important;background:transparent!important}
body.fangst-christmas .v112-home-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:6px 0 16px!important}
body.fangst-christmas :is(.v90-video-home,.v112-judge-home){min-height:109px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:7px!important;padding:12px 9px!important;margin:0!important}
body.fangst-christmas :is(.v90-video-icon,.v112-judge-icon){font-size:30px!important;width:34px!important;height:32px!important;background:transparent!important;color:#22dfff!important}
body.fangst-christmas :is(.v90-video-home,.v112-judge-home,.v57-action) strong{font-size:clamp(15px,3.7vw,24px)!important;line-height:1.12!important;color:#fff!important}
body.fangst-christmas :is(.v90-video-home,.v112-judge-home,.v57-action) small{font-size:clamp(11px,2.9vw,18px)!important;line-height:1.25!important;color:#dfedf7!important}
body.fangst-christmas :is(.v90-video-arrow,.v112-judge-arrow){position:absolute;right:10px;bottom:5px!important;font-size:25px!important}
body.fangst-christmas .v57-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 14px!important;margin:0!important}
body.fangst-christmas .v57-action{min-height:91px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;padding:12px 9px!important;gap:6px!important;width:100%!important}
body.fangst-christmas .v57-action-icon{font-size:30px!important;height:33px!important;background:none!important}
body.fangst-christmas :is(.v90-video-home,.v112-judge-home,.v57-action)::after{content:'';position:absolute;right:-3px;top:-6px;width:63px;height:39px;background:url('god-jul-sprig-v192.webp') center/contain no-repeat;pointer-events:none;z-index:3;mask-image:radial-gradient(ellipse,#000 50%,transparent 74%)}
body.fangst-christmas .jul-foreground{height:auto;aspect-ratio:641/207;margin:8px -19px 22px;background:url('god-jul-landscape-v192.webp') center/100% 100% no-repeat;pointer-events:none}
body.fangst-christmas .bottomnav{background:linear-gradient(#032b49,#001c32)!important;border:1px solid #4fc4ff!important;border-radius:19px!important;box-shadow:0 -2px 11px #36bbff66!important;bottom:calc(5px + env(safe-area-inset-bottom))!important;left:6px!important;right:6px!important;width:calc(100% - 12px)!important;padding-top:8px!important;isolation:isolate;overflow:visible!important}
body.fangst-christmas .bottomnav::before{content:'';position:absolute;top:-9px;left:3%;right:3%;height:14px;background:url('god-jul-snow-edge-v192.webp') center/100% 100% no-repeat;pointer-events:none}
body.fangst-christmas .bottomnav .navitem{min-height:48px!important;background:transparent!important;color:#f1f9ff!important}
body.fangst-christmas .bottomnav .navitem.active{background:radial-gradient(ellipse,#006bff88,transparent)!important;color:#fff!important;filter:drop-shadow(0 0 7px #2599ff)}
body.fangst-christmas .bottomnav .navitem.capture svg{background:none!important;border:0!important;box-shadow:none!important}
#jul-snow{position:fixed;inset:0;overflow:hidden;pointer-events:none!important;z-index:80;contain:strict}
#jul-snow i{position:absolute;left:var(--x);top:-12px;width:3px;height:3px;border-radius:50%;background:#e0f6ff;opacity:.5;animation:jul-snow var(--speed) var(--delay) linear infinite}
@keyframes jul-snow{to{transform:translate3d(24px,105vh,0)}}
body.jul-paused #jul-snow i{animation-play-state:paused!important}
body.fangst-christmas :focus-visible{outline:3px solid #ffe78d!important;outline-offset:3px}
@media(min-width:700px){body.fangst-christmas .topbar{max-height:190px;aspect-ratio:auto;height:190px!important}body.fangst-christmas .topbar img.v105-header-logo{object-fit:contain!important}body.fangst-christmas .jul-home{max-width:760px;margin:auto}body.fangst-christmas .jul-foreground{max-height:260px}body.fangst-christmas .bottomnav{max-width:760px;margin:auto}body.fangst-christmas .fangst-club-home-open{min-height:55px!important}}
@media(prefers-reduced-motion:reduce){#jul-snow{display:none}}
body.fangst-christmas .topbar::after{content:'';position:absolute;top:5%;left:1%;right:1%;height:14%;pointer-events:none;background:radial-gradient(circle at 3% 50%,#ffe87a88,transparent 3%),radial-gradient(circle at 97% 50%,#ffe87a88,transparent 3%);animation:jul-twinkle 4s ease-in-out infinite alternate}
body.fangst-christmas .jul-home{isolation:isolate;position:relative}
body.fangst-christmas .jul-home::before{content:'';position:absolute;pointer-events:none;inset:0 0 auto;height:120px;z-index:-1;background:radial-gradient(ellipse at 85% 0%,#32f5ae38,transparent 65%);animation:jul-twinkle 12s ease-in-out infinite alternate}
@keyframes jul-twinkle{to{opacity:.35}}
body.jul-paused .topbar::after,body.jul-paused .jul-home::before{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){body.fangst-christmas .topbar::after,body.fangst-christmas .jul-home::before{animation:none!important}}
/* Override legacy inline feature styles without changing other themes. */
body.fangst-christmas .app-shell header.topbar .brand.v105-brand img.v105-header-logo{height:100%!important;min-height:100%!important;max-height:none!important;object-fit:fill!important;position:absolute!important;inset:0!important}
body.fangst-christmas .app-shell .screen.jul-home .v112-home-tools :is(.v90-video-home,.v112-judge-home){min-height:101px!important;height:auto!important;padding:12px 9px!important;background:linear-gradient(115deg,#032742eb,#002138ee)!important}
body.fangst-christmas .app-shell .screen.jul-home :is(.v66-water-hero,.v68-home-create,.v57-action){background:linear-gradient(115deg,#032742eb,#002138ee)!important}
body.fangst-christmas .app-shell .screen.jul-home .fangst-club-home-text p{font-weight:400!important}
body.fangst-christmas .jul-home :is(.v66-water-hero,.v68-home-create,.v90-video-home,.v112-judge-home,.v57-action)>span{background:transparent!important}
@media(min-width:700px){body.fangst-christmas .app-shell header.topbar .brand.v105-brand img.v105-header-logo{object-fit:contain!important}}
body.fangst-christmas .app-shell{background:linear-gradient(#00172ac9,#00172ade),url('god-jul-landscape-v192.webp') center top/auto 100vh fixed no-repeat!important}
body.fangst-christmas .jul-home :is(.v57-action-icon,.v90-video-icon,.v112-judge-icon,.v68-create-icon,.fangst-club-home-symbol){filter:none!important}
body.fangst-christmas .v90-video-icon{font-family:Arial,sans-serif!important;color:#00e0ff!important;text-shadow:0 0 8px #00caff}
