/* Four-tab polish. Loaded after the existing Frost and clubhouse rules. */
.elf-w3.elf-frost-ui{--christmas-green:#22663e;--christmas-red:#b92f45;--gold:#22663e}
.elf-w3.elf-frost-ui .masthead{gap:7px;justify-content:space-between}
.elf-w3.elf-frost-ui .masthead #heroHow{flex:none;min-height:40px;padding:7px 10px;font-size:12px;white-space:nowrap;color:#22663e!important;background:linear-gradient(#fff,#cde6d5)!important;border:1px solid #8bb89a!important;border-bottom:3px solid #609773!important;border-image:none!important;border-radius:9px!important}
.elf-w3.elf-frost-ui .masthead .brand img.brand-logo{width:clamp(100px,35vw,195px);max-width:100%}
.elf-w3.elf-frost-ui .view>.page-banner,.elf-w3.elf-frost-ui .view>.clubhouse-banner{height:clamp(112px,18vw,170px)!important;min-height:0!important;max-height:none!important;display:flex;flex-direction:column;justify-content:center;padding:12px max(15px,calc((100vw - 1100px)/2))!important;box-sizing:border-box}
.elf-w3.elf-frost-ui .clubhouse-banner .wrap{margin:0;width:100%;max-width:none;padding:0}
.elf-w3.elf-frost-ui :is(.page-banner,.clubhouse-banner) h1{font:650 clamp(25px,5vw,44px)/1.08 Fredoka,system-ui,sans-serif!important;margin:4px 0!important}
.elf-w3.elf-frost-ui :is(.page-banner,.clubhouse-banner) .kicker{color:var(--christmas-green)!important}
.elf-w3.elf-frost-ui #homeView>.clubhouse-banner{background-image:linear-gradient(90deg,#3e251bed 0%,#573924bd 38%,#5739241a 72%),url("./clubhouse-cabin.svg")!important;background-size:cover!important;background-position:center 48%!important;border-bottom-color:#aa714a!important}
.elf-w3.elf-frost-ui #homeView>.clubhouse-banner :is(h1,p,.clubhouse-kicker){color:#fff4dc!important;text-shadow:0 2px 3px #402519!important}
.elf-w3.elf-frost-ui #homeView .clubhouse-panel{border-image:none!important;background:linear-gradient(#fff8eb,#f2e3ca)!important;border:1px solid #cead80!important;border-bottom:3px solid #bb9563!important;border-radius:13px!important;box-shadow:0 3px 8px #775d3024!important}
#homeView .clubhouse-panel-title h2,#homeView .clubhouse-board-heading h3{color:#654324!important}
#homeView .clubhouse-kicker{color:#22663e}
#homeView .clubhouse-event{background:#f6eedc;border-color:#d8bf94}
#homeView .clubhouse-board th{background:#ead8b7}
#homeView .clubhouse-board td{border-color:#ddcdb3}
#homeView .clubhouse-board tr.me{background:#e2edd9}
#homeView .clubhouse-bottom{display:none!important}
.elf-w3.elf-frost-ui #standingsView>.page-banner{background-image:linear-gradient(105deg,#fff5d8 0%,#f3dfad 42%,#dce4e9 70%,#ddb58d 100%)!important;border-bottom:2px solid #c59c53!important}
.elf-w3.elf-frost-ui #standingsView>.page-banner :is(h1,.kicker){color:#684a22!important}
.elf-w3.elf-frost-ui #standingsView>.content{min-width:0;max-width:1148px;overflow:visible}
.elf-w3.elf-frost-ui #standingsInfo{margin:0 0 7px;padding:0;color:#a22b3e;font-size:13px}
.elf-w3.elf-frost-ui #standingsInfo:empty{display:none!important}
.elf-w3.elf-frost-ui #overallTable{width:100%;min-width:0;max-width:100%;margin:0;padding:0!important;border:1px solid #d4ba82!important;border-image:none!important;border-radius:11px!important;background:#fffaf0!important;overflow:hidden;box-shadow:0 2px 6px #8b6b3720!important}
#overallTable table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse;font-size:clamp(12px,3.4vw,15px)}
#overallTable th,#overallTable td{padding:9px 5px!important;white-space:normal!important;overflow-wrap:anywhere;min-width:0;text-align:center;vertical-align:middle;color:#4c3d2c!important}
#overallTable th{font:700 11px/1.2 system-ui,sans-serif!important;letter-spacing:0!important;background:#e9d6a8!important;text-transform:none!important}
#overallTable th:nth-child(1){width:19%}#overallTable th:nth-child(2){width:45%;text-align:left}#overallTable th:nth-child(3){width:18%}#overallTable th:nth-child(4){width:18%}
#overallTable td:nth-child(2){text-align:left;font-weight:650}#overallTable td:nth-child(n+3){font-variant-numeric:tabular-nums}
#overallTable td{border-bottom:1px solid #e5d8bb!important}#overallTable .rank-cell{display:flex;justify-content:center;align-items:center;gap:2px;flex-wrap:wrap}
#overallTable .rank-cell .elf-icon{width:clamp(18px,5.5vw,27px);height:clamp(18px,5.5vw,27px);flex:none}
#overallTable .rank-cell .tie-mark{width:13px;height:13px;flex:none}
#overallTable tr[data-place="1"]{background:#fff0c4}#overallTable tr[data-place="2"]{background:#edf1f5}#overallTable tr[data-place="3"]{background:#f3e1d0}
#overallTable tr.me td:nth-child(2){box-shadow:inset 3px 0 #2a784d}
.elf-w3.elf-frost-ui #overallTable .empty{background:none!important;border:0!important;border-image:none!important;border-radius:0!important;padding:14px!important}
.elf-w3.elf-frost-ui #eventsView :is(.calendar-caption,.section-subtle,.section-title,.day-number,.event-num){color:#22663e!important}
.elf-w3.elf-frost-ui #eventsView .all-events button:nth-child(3n+1){border-image-source:var(--frost-panel-red,var(--frost-panel))!important}
.elf-w3.elf-frost-ui #eventsView .all-events button:nth-child(3n+2){border-image-source:var(--frost-panel-green,var(--frost-panel))!important}
.elf-w3.elf-frost-ui #eventsView .all-events button:nth-child(3n){border-image-source:var(--frost-panel-gold,var(--frost-panel))!important}
.elf-w3.elf-frost-ui #eventsView .all-events button:disabled{filter:drop-shadow(0 3px 3px #163a4c35)!important;opacity:.72!important}
.elf-w3.elf-frost-ui #eventsView .all-events button strong{color:#194b37!important;text-shadow:0 1px #ffffff66}
.elf-w3.elf-frost-ui #eventsView .all-events button small{color:#244c3d!important}
.elf-w3.elf-frost-ui #eventsView .all-events .tile-emblem{background:#ffffff95!important;color:#215c3b!important;border-color:#ffffffb0!important}
.elf-w3.elf-frost-ui #profileView .profile-card{padding:23px 18px 16px}
.profile-name-details{margin:12px 0;border:1px solid #9cbfd4;border-radius:10px;background:#f4fbff;color:#23415d}
.profile-name-details summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;font-weight:750}
.profile-name-details summary::-webkit-details-marker{display:none}
.profile-name-details summary:after{content:"▾";font-size:18px;color:#22663e}.profile-name-details[open] summary:after{content:"▴"}
.profile-name-details summary .profile-current-name{min-width:0;overflow-wrap:anywhere}
.elf-w3.elf-frost-ui .profile-edit{margin:0;border:0;border-top:1px solid #c1dbe9;border-radius:0 0 10px 10px;background:transparent;padding:12px}
#profileNameStatus:empty{display:none}#profileNameStatus[data-error="true"],#authStatus[data-error="true"]{color:#b21d32!important;font-weight:700!important}
.profile-account-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;border-top:1px solid #b9d2df;padding-top:13px}
.profile-account-row .profile-email{min-width:0;overflow-wrap:anywhere;font-size:12px;color:#42647a}.profile-account-row #signOut{flex:none;min-height:44px}
.elf-w3.elf-frost-ui #raceDialog .race-head #quitRace,.elf-w3.elf-frost-ui #raceDialog.sweets-race .race-head #quitRace{background:transparent!important;border:1px solid transparent!important;border-image:var(--frost-red) 40 40 32 40 fill / 11px 12px 10px 12px / 0 stretch!important;color:#fff!important;text-shadow:0 1px 2px #7c2434;min-height:44px!important;padding:10px 10px 13px!important}
.elf-w3.elf-frost-ui #raceDialog .race-head #quitRace:hover:not(:disabled){border-image-source:var(--frost-red-hover)!important}
.elf-w3.elf-frost-ui #raceDialog .race-head #quitRace:active:not(:disabled){border-image-source:var(--frost-red-pressed)!important}
.elf-w3.elf-frost-ui #raceDialog.results-active .race-head #quitRace{border-image-source:var(--frost-button)!important;color:#23415d!important;text-shadow:none}
.elf-w3.elf-frost-ui #raceDialog .race-head #raceSettings,.elf-w3.elf-frost-ui #raceDialog.sweets-race .race-head #raceSettings{background:transparent!important;border:1px solid transparent!important;border-image:var(--frost-green-normal,var(--frost-red)) 40 40 32 40 fill / 11px 12px 10px 12px / 0 stretch!important;border-radius:0!important;width:44px!important;min-width:44px!important;height:44px!important;padding:8px 8px 10px!important}
.elf-w3.elf-frost-ui #raceDialog .race-head #raceSettings:hover:not(:disabled){border-image-source:var(--frost-green-hover,var(--frost-green-normal,var(--frost-red)))!important}
.elf-w3.elf-frost-ui #raceDialog .race-head #raceSettings:active:not(:disabled){border-image-source:var(--frost-green-pressed,var(--frost-green-normal,var(--frost-red)))!important}
.elf-w3.elf-frost-ui:not([data-christmas-tints="ready"]) #raceDialog #raceSettings{filter:hue-rotate(112deg)}
#raceSettings .elf-icon{display:block;width:26px;height:26px;flex:none;filter:none}
#raceDialog #raceSettings[hidden]{display:none!important}
.elf-w3.elf-frost-ui #raceDialog .race-head{grid-template-columns:minmax(0,1fr) minmax(58px,88px) minmax(0,1fr)!important}
@media(max-width:420px){.elf-w3.elf-frost-ui .masthead{padding-inline:7px!important}.elf-w3.elf-frost-ui .masthead #heroHow{font-size:10px;padding:6px 5px}.elf-w3.elf-frost-ui .masthead .head-account{max-width:104px}.elf-w3.elf-frost-ui #raceDialog .race-head{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important}.elf-w3.elf-frost-ui #raceDialog .race-head #quitRace{padding-inline:6px!important;font-size:10px!important}.elf-w3.elf-frost-ui #raceDialog .race-head #raceSettings{width:40px!important;min-width:40px!important;padding:8px 5px 10px!important}.elf-w3.elf-frost-ui #homeView>.clubhouse-banner{background-position:61% center!important}}
