.mobile-menu-button{display:none;position:relative}
.mobile-menu-button-label{display:none}
.mobile-menu-hint{display:none;position:absolute;z-index:2;top:46px;right:-4px;width:max-content;padding:6px 9px;border:1px solid rgba(7,24,39,.12);border-radius:8px;background:#fff;color:#092033;font-size:9px;font-weight:850;line-height:1;letter-spacing:.01em;white-space:nowrap;box-shadow:0 8px 22px rgba(7,24,39,.24);pointer-events:none;opacity:0;transform:translateY(-4px);transition:opacity .18s ease,transform .18s ease}
.mobile-menu-hint:before{content:"";position:absolute;top:-5px;right:14px;width:9px;height:9px;border-top:1px solid rgba(7,24,39,.12);border-left:1px solid rgba(7,24,39,.12);background:#fff;transform:rotate(45deg)}
.mobile-menu-hint.is-visible{opacity:1;transform:translateY(0)}
.site-header{position:sticky;top:0;z-index:110}
.race-strip:not([hidden]){position:sticky;top:64px;z-index:109;box-shadow:0 8px 20px rgba(7,24,39,.12)}
.preferences-body fieldset:has([data-preference-club-picker]){display:none}
.menu-club-highlight{margin:0 0 12px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--teal) 26%,var(--line));border-radius:11px;background:color-mix(in srgb,var(--teal) 6%,var(--surface));display:grid;gap:7px}
.menu-club-highlight>span{color:var(--link);display:flex;align-items:center;gap:7px;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.menu-club-highlight svg{width:14px;color:#dda81f}
.menu-club-highlight select{width:100%;min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font-size:10px;font-weight:750;outline:0}
.menu-club-highlight select:focus{border-color:var(--teal);box-shadow:0 0 0 3px color-mix(in srgb,var(--teal) 15%,transparent)}
body.preference-menu-club-hidden .menu-club-highlight{display:none!important}
.preference-swimmer-highlight{position:relative;background:linear-gradient(90deg,rgba(115,225,231,.25),rgba(235,252,252,.68))!important;box-shadow:inset 4px 0 #0fa7af!important}
.preference-swimmer-highlight td{background:transparent!important}
.preference-swimmer-highlight td:first-child,.preference-swimmer-highlight strong{color:#075f66!important}
.preference-swimmer-highlight[data-result-swimmer] td:first-child:after{content:"★";margin-left:5px;color:#d8a313;font-size:.72em}
.result-table tr.preference-club-highlight>td{background:linear-gradient(90deg,rgba(255,209,72,.22),rgba(255,247,210,.56))!important}
.result-table tr.preference-club-highlight>td:first-child{box-shadow:inset 4px 0 #efb91e!important}
.result-table tr.preference-club-highlight[data-result-club] td:nth-child(n){color:#5f4900}
.preference-club-highlight.preference-swimmer-highlight{background:linear-gradient(90deg,rgba(115,225,231,.26),rgba(255,241,175,.4))!important;box-shadow:inset 4px 0 #0fa7af,inset 8px 0 #efb91e!important}
.start-list-table .result-competitor-number{width:1%;padding-left:.4rem!important;padding-right:.4rem!important;text-align:center;white-space:nowrap}
.competitor-number-mobile{display:none}
.footer-announcer-link{flex:0 0 auto;width:34px;height:34px;margin-left:2px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--teal) 8%,var(--surface));color:var(--link);display:grid;place-items:center;transition:transform .16s ease,border-color .16s ease,background .16s ease}
.footer-announcer-link svg{width:16px;height:16px}
.footer-announcer-link:hover{border-color:var(--teal);background:color-mix(in srgb,var(--teal) 16%,var(--surface));transform:translateY(-1px)}
.preferences-shell{max-height:calc(100dvh - 28px);display:flex;flex-direction:column}
.preferences-body{overflow-y:auto}
.preferences-shell>footer{flex:0 0 auto}
.preferences-tool-button{min-height:66px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--teal) 34%,var(--line));border-radius:15px;background:linear-gradient(120deg,color-mix(in srgb,var(--teal) 10%,var(--surface)),var(--surface));color:var(--ink);display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;text-decoration:none;box-shadow:0 7px 18px rgba(7,24,39,.06);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.preferences-tool-button:hover{border-color:var(--teal);box-shadow:0 10px 22px rgba(7,24,39,.1);transform:translateY(-1px)}
.preferences-tool-icon{width:42px;height:42px;border-radius:12px;background:var(--teal);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:900;box-shadow:0 6px 14px color-mix(in srgb,var(--teal) 26%,transparent)}
.preferences-tool-button>span:nth-child(2){min-width:0}
.preferences-tool-button strong{display:block;font-size:11px;line-height:1.2}
.preferences-tool-button small{display:block;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.35}
.preferences-tool-button>b{color:var(--link);font-size:8px;white-space:nowrap}
@media(max-width:900px){
  .mobile-menu-button{display:flex;width:auto!important;min-width:72px;padding:0 10px;align-items:center;justify-content:center;gap:6px}
  .mobile-menu-button svg{width:16px;flex:0 0 auto}
  .mobile-menu-button-label{display:inline;color:#fff;font-size:10px;font-weight:800;line-height:1}
  .mobile-menu-hint:not([hidden]){display:block}
  .mobile-console-bar{display:none!important}
  .mobile-menu-button[aria-expanded=true]{border-color:#79dce3;background:rgba(20,168,177,.22)}
  .meet-menu{z-index:131;top:0;bottom:0;height:100dvh}
  .menu-scrim{z-index:130}
}
@media(max-width:640px){
  .footer-announcer-link{margin-top:7px}
  .preferences-tool-button{grid-template-columns:38px minmax(0,1fr);padding:10px}
  .preferences-tool-icon{width:38px;height:38px}
  .preferences-tool-button>b{display:none}
  .race-strip:not([hidden]){top:66px}
  .race-strip{min-height:68px!important;padding:8px 14px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:2px!important;align-content:center}
  .race-strip-label{grid-row:auto!important;min-width:0;font-size:8px!important;letter-spacing:.09em}
  .race-strip strong{grid-column:1!important;min-width:0;max-width:100%;font-size:11px!important;line-height:1.25;white-space:normal!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .detail-body{padding-left:6px!important;padding-right:6px!important}
  .detail-body .result-table-wrap{border:0!important;border-radius:0!important;box-shadow:none!important}
  .detail-body .result-table{font-size:calc(12px - 1pt)}
  .detail-body .result-table td{padding:7px 6px;border-bottom:0!important}
  .detail-body .result-table tr:first-child td{font-size:calc(9px - 1pt)}
  .detail-body .result-table tr:not(:first-child):nth-child(even) td{background-color:rgba(231,239,242,.32)}
  .start-list-table .result-competitor-number{max-width:38px;padding-left:.22rem!important;padding-right:.22rem!important;font-size:.64rem}
  .competitor-number-full{display:none}
  .competitor-number-mobile{display:inline}
  .meet-menu{top:0;height:100dvh}
  .header-meet-logo{display:none}
  .header-actions{gap:6px}
  .mobile-menu-button,.preferences-button,.icon-button{width:36px;height:36px}
  .mobile-menu-button{width:auto!important;min-width:72px}
  .menu-club-highlight{position:sticky;top:-20px;z-index:2;margin-left:-20px;margin-right:-20px;padding:10px 20px;border-width:1px 0;border-radius:0;background:rgba(247,251,251,.97);backdrop-filter:blur(8px)}
}
@media(max-width:360px){
  .site-header .brand>span:last-child{display:none}
}
