/* FANGST v248: Garmin consistency pass. Scope EVERY change to Garmin.
   The original Garmin reference bitmap, exact home layout and 44-frame logo
   remain unchanged. There is no global reset and no Supabase change. */
body.fangst-garmin{
 --garmin-panel:#0c1c27;--garmin-panel-hi:#172d3a;
 --garmin-outline:#426f86;--garmin-ink:#f2f8fd;--garmin-subtle:#c6dae5;
 color-scheme:dark;
}
/* The real public Pundinger list follows the reference artwork, rather than
   occupying the embedded image or replacing the dynamic competition tile. */
body.fangst-garmin #main>.garmin-reference-home .garmin-pundinger-home{
 position:relative;padding:17px clamp(12px,4.2vw,22px) 118px;
 background:radial-gradient(ellipse at 90% 0%,#084b6c26,transparent 55%),#02090e;
 color:var(--garmin-ink);min-width:0;
}
body.fangst-garmin .garmin-pundinger-home .v92-pundings{margin:0;min-width:0}
body.fangst-garmin .garmin-pundinger-home .v92-punding-title{margin:0 0 13px}
body.fangst-garmin .garmin-pundinger-home .v92-punding-title h2{
 font-size:clamp(17px,4.8vw,23px);line-height:1.3;color:var(--garmin-ink)!important;
}
body.fangst-garmin .garmin-pundinger-home .v92-punding-title p{font-size:13px;line-height:1.5;color:var(--garmin-subtle)!important}
body.fangst-garmin .garmin-pundinger-home .v92-empty{
 padding:15px;border:1px solid var(--garmin-outline);border-radius:13px;
 background:linear-gradient(125deg,#112735,#09151e)!important;color:var(--garmin-subtle)!important;
}
body.fangst-garmin .garmin-pundinger-home .fangst-fish-grid{
 display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:12px;
}
body.fangst-garmin .garmin-pundinger-home .fangst-fish-card{
 min-width:0;max-width:100%;overflow-wrap:break-word;
 background:linear-gradient(140deg,#152935,#07141d)!important;
 border:1px solid #3a7897!important;box-shadow:0 4px 14px #000a!important;
}
body.fangst-garmin .garmin-pundinger-home img{max-width:100%;height:auto;object-fit:contain}
/* FIX: profiles, create-competition wizard, water/explore and older feature
   modules used white controls even though they live inside the Garmin theme. */
body.fangst-garmin :is(
 .v57-profile-action,.v57-action,.v57-event,.v57-explore,.v57-settings,
 .v57-tool-accordion,.v57-catch-split,.v57-secondary-actions button,
 .v57-featured,.v68-create-steps span,.v68-more-create,.v68-create-icon,
 .v68-home-create,.v68-create-card,.v68-create-banner,.v68-create,
 .v66-shortcuts button,.v66-more-grid button,.v67-home-links button,
 .v67-tabs button,.v80-close,.v80-video-card,.v80-video-home,
 .v46-tab-button,.v46-photo-panel,.v46-await,.v46-empty,.v46-gps-auto,
 .v88-dismiss,.v88-feed-status,.v88-pending,.v89-speed,
 .v69-water-temperature,.v69-water-edit,.v70-hydro-label,
 .v70-hydro-row,.v70-hydro-row.is-stale,.v51-rule,.v51-status,
 .v54-countdown,.v54-builder,.v53-gps-help,.fr131-invites,.fr131-message,
 .fr-entry,.fr120-entry,.v74-moon,.fa-news-card,.fa-news-empty,
 .fa-news-loading,.v92-k-inline,.v92-k-output,.v92-punding-choice,
 .fangst-language-panel,.fangst-language-choice,.fangst-language-choice.selected,
 .fangst-language-close,.fangst-rule-language-notice,
 .fq-item,.fq-trigger,.fq-panel,.fq-menu,.v57-map-shortcut,
 .admin-card-actions,.admin-review-card .admin-card-actions,
 .v88-board-row,.v75-number-box,.v75-roster-row,
 .fangst-club-home-open,.fangst-club-tabs button,
 .fangst-wall-compose,.fangst-wall-comment-form,
 .v80-video-card,.wr-water-tile,.wr-rule-panel,
 .v41-warning,.event-management-row,.event-delete-btn,
 .pf-entry,.pf-placeholder,.chat-card,.fangst-shared-feed,
 .fangst-fish-card,.v95-edit-dialog,.v95-edit-dialog .field
 ){
 background:linear-gradient(145deg,#142a38,#07141e)!important;
 color:var(--garmin-ink)!important;
 border-color:var(--garmin-outline)!important;
 box-shadow:0 5px 15px #0007!important;
}
/* Keep primary buttons recognizably cyan, without losing legibility. */
body.fangst-garmin :is(.v68-home-create,.v57-profile-action,.v57-secondary-actions button,.v66-shortcuts button,.v66-more-grid button,.v67-tabs button,.v68-more-create,.v46-tab-button,.fangst-language-choice){
 border:1px solid #4b8097!important;border-radius:11px;color:#effaff!important;
}
body.fangst-garmin :is(.v68-create-steps span,.v57-secondary-actions button,.v57-profile-action,.v68-home-create,.v68-more-create){
 font-weight:700;line-height:1.4;min-width:0;overflow-wrap:break-word;
}
body.fangst-garmin :is(.v68-create-text small,.v57-profile-action small,.v57-action small,.v57-event small,.v68-create-footer,.v66-more-grid button small){color:#cfdeeb!important;opacity:1}
body.fangst-garmin :is(.v68-create-icon,.v80-home-icon){color:#bfefff!important;border:1px solid #2b7a9d!important}
body.fangst-garmin :is(.v68-create-steps span,.v57-tool-accordion>summary,.v57-settings>summary,.v57-explore>summary){color:#effaff!important}
/* Form controls and choices: remove default white backgrounds, while
   retaining accessible native focus and select/checkbox behavior. */
body.fangst-garmin :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select,.field input,.field select,.field textarea,#tip-form input,#tip-form textarea,#tip-form select,#fr131-chat-text,.v95-edit-dialog input,.v95-edit-dialog select,.v95-edit-dialog textarea,.pf-screen input,.pf-screen select,.pf-screen textarea){
 background:#071b28!important;color:#f4faff!important;border:1px solid #5b8ca4!important;
 box-shadow:none!important;caret-color:#6edaff;color-scheme:dark;
}
body.fangst-garmin :is(select,option,optgroup){background-color:#071b28!important;color:#f4faff!important;color-scheme:dark}
body.fangst-garmin :is(input[type="checkbox"],input[type="radio"]){accent-color:#00baff}
body.fangst-garmin input[type="file"]::file-selector-button{background:#102f43!important;border:1px solid #4f9abc!important;color:#f5faff!important;border-radius:9px;padding:8px 12px}
body.fangst-garmin :is(label,.field label,.setting label,.v57-settings label,.v68-create-card label){color:#ecf5fe!important}
body.fangst-garmin :is(input,textarea)::placeholder{color:#b4cbd9!important;opacity:1}
/* Real dialog surfaces, drop-down choices, chat, public overlay and toast. */
body.fangst-garmin :is(dialog,[role="dialog"],.popover,.dropdown,.dropdown-menu,.menu-panel,.drawer,.sheet,.modal,.modal-content,.sheet-content,#fr131-chat-panel,#fr-panel,#fr120-panel,#olav-dialog,#toast){
 background:#0c1d29!important;color:#f4faff!important;border-color:#46809b!important;
}
body.fangst-garmin :is(#fr131-chat-text,.fangst-language-panel,.fangst-language-choice,.v88-review-dialog,.v95-edit-dialog){color-scheme:dark}
body.fangst-garmin :is(.v46-tab-button.active,.v67-tabs button.active,.fangst-language-choice.selected,[aria-selected="true"],.tab.active,.chip.selected){background:linear-gradient(180deg,#076997,#064566)!important;color:#fff!important;border-color:#21c8ff!important}
/* Avoid legacy white gradients behind sticky judge actions. */
body.fangst-garmin .admin-card-actions{background:linear-gradient(180deg,#07141e00,#0b1b26 25%,#0b1b26)!important}
body.fangst-garmin :is(.warning,.info.warning,.v41-warning,.v89-speed-warning){background:#342618!important;color:#ffe3b5!important;border-color:#b99557!important}
body.fangst-garmin :is(.success,.catch-feedback.success,.v51-status,.v46-gps-auto){color:#c7fff1!important}
body.fangst-garmin :is(button,input,select,textarea,a,[role="button"]):focus-visible{outline:3px solid #4cd4ff!important;outline-offset:2px!important}
@media(max-width:390px){
 body.fangst-garmin :is(.v68-create-steps,.v57-profile-actions,.v66-more-grid,.two){min-width:0}
 body.fangst-garmin :is(.v68-create-steps>*,.v57-profile-actions>*,.v66-more-grid>*,.two>*){min-width:0}
}

/* FANGST v250 – fix the unreadable light push-notification info card on Min side.
   push-v123.js sets a pale background inline, and the Garmin theme gives
   its paragraph light text. Override BOTH in Garmin only; leave push logic,
   checkboxes and all other themes unchanged. */
body.fangst-garmin #fangst-push-settings .fangst-start-phone {
  background:linear-gradient(145deg,#132c3a 0%,#0b1c28 100%)!important;
  border:1px solid #5088a4!important;
  border-radius:12px!important;
  color:#f0f8ff!important;
  box-shadow:inset 0 1px 0 #9ddfff1b,0 4px 12px #0005!important;
  color-scheme:dark;
}
body.fangst-garmin #fangst-push-settings .fangst-start-phone strong {
  color:#f6fbff!important;
  opacity:1!important;
}
body.fangst-garmin #fangst-push-settings .fangst-start-phone p {
  color:#d6e7f2!important;
  opacity:1!important;
}
