/* v3-2-3: member-facing presentation and isolated review annotations. */
.review-note{display:none!important}
[data-review-notes="on"] .review-note{display:revert!important}
.review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px max(20px,calc((100vw - 1216px)/2));background:#f4f1e9;border-bottom:1px solid #e3ddcf;color:#786d58;font-size:11px}
.review-toolbar>div{min-width:0;flex:1}.review-toolbar b{font-size:11px;font-weight:600}.review-toolbar b span{display:inline-block;margin-left:8px;padding:1px 6px;border:1px solid #d3c9b7;border-radius:3px;font-size:10px}.review-toolbar small{display:block;font-size:10px;line-height:1.6;margin-top:3px}.review-toolbar button,.review-toolbar>a{font-size:10px;white-space:nowrap;border:1px solid #d6ccbb;padding:6px 9px;background:#fff9;border-radius:3px;color:#786d58;min-height:31px}
.review-links{margin:0 auto 24px;max-width:1216px;padding:14px 20px;background:#f4f1e9;gap:12px;align-items:center;flex-wrap:wrap;font-size:11px;color:#786d58}
[data-review-notes="on"] .review-links{display:flex!important}.review-links strong{width:100%;font-size:11px}.review-links button{font-size:11px;border:1px solid #d9cfbf;padding:6px 10px;background:white;border-radius:3px}
body[data-variant="3-2"] .member-header .header-inner{min-height:78px;gap:16px;padding-top:0;padding-bottom:0}
body[data-variant="3-2"] .member-header .main-nav{gap:14px;min-width:0}.member-header .main-nav a{font-size:13px;white-space:nowrap}.member-header .header-actions{margin-left:auto;gap:9px;flex-shrink:0}
.member-header .header-actions .login-btn,.member-header .header-actions .signup-btn{display:inline-flex!important;min-height:44px;font-size:13px;padding:10px 15px;white-space:nowrap}.member-header .login-btn{border:1px solid #bfcfdd;color:#204e71;background:#fff}.member-header .menu-button{flex:none}
.prediction-key{display:flex;align-items:center;gap:10px;padding:10px 14px;margin:15px 0 16px;border:1px solid #dce5ed;border-radius:5px;background:#f9fbfe;color:#617b90;font-size:12px;line-height:1.8}.prediction-key p{margin:0;font-size:12px}.prediction-key b{font-weight:600;color:#335c7d}.ft-key-badge{background:#173f60;color:#fff;border-radius:3px;padding:2px 6px;font:600 11px/1.5 -apple-system,sans-serif;flex:none}
.ft-mark-badge{display:inline-flex;align-items:center;gap:7px;padding:3px 8px;border:1px solid #d6e3ed;border-radius:4px;background:#edf4fa;color:#416780;font-size:12px;line-height:1.6;margin-top:4px;white-space:nowrap}.ft-mark-badge b{font-size:16px;line-height:1.2;color:#8c6b36}.pedigree-horse>.ft-mark-badge{margin-left:auto;margin-top:0}
.bloodline-context p{font-size:13px;line-height:1.9}.bloodline-opinion-head .bloodline-status{margin-top:5px}.bloodline-conditions span{font-size:12px}.stella-reading-label{font-size:11px;font-weight:600;color:#91754b;margin-top:22px;letter-spacing:.03em}
.horizontal-shell{position:relative;min-width:0;overflow:hidden}.race-strip-scroll{flex:1}.race-number-switch .race-number-track{position:relative;display:flex;gap:6px;width:100%;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:2px;scroll-behavior:auto}.race-tab-scroll{width:100%}.race-detail-tabs{position:relative;min-width:0;overflow-x:auto;scrollbar-width:thin;scroll-behavior:auto}
.horizontal-hint{position:absolute;top:0;bottom:0;z-index:4;width:27px;height:100%;min-height:0;padding:0;display:none;align-items:center;justify-content:center;border:0;border-radius:0;color:#356a91;cursor:pointer}.horizontal-hint svg{width:16px;height:16px}.hint-left{left:0;background:linear-gradient(90deg,#fff 45%,#ffffff10)}.hint-right{right:0;background:linear-gradient(270deg,#fff 45%,#ffffff10)}.horizontal-shell.has-left>.hint-left,.horizontal-shell.has-right>.hint-right{display:flex}
.program-context,.sticky-context{top:var(--site-header-height,78px)!important}.race-workspace{scroll-margin-top:calc(var(--site-header-height,78px) + 12px)}
.odds-rank-1{color:#bb4645!important}.odds-rank-2{color:#245f9c!important}.odds-rank-3{color:#287447!important}.odds-rank-other{color:#2e577a!important}
.combination{display:flex;flex-direction:column;align-items:center;justify-content:center}.combo-numbers{display:flex;align-items:center;justify-content:center;gap:5px}.combination.with-single-odds{align-items:stretch;padding:12px}.combo-single-odds{display:flex;flex-direction:column;gap:2px;margin-top:9px;padding-top:7px;border-top:1px solid #e4ebf2;font-size:12px;font-weight:400;color:#698093;line-height:1.7}.combo-single-odds>small{font-size:10px;color:#7e92a2;margin-bottom:3px}.combo-single-odds span{display:flex;justify-content:space-between;gap:6px}.combo-single-odds b{font-size:12px;font-weight:600;white-space:nowrap}.combination-odds-note{font-size:12px;line-height:1.8;color:#698093;margin:17px 0 0}
.auth-preview-info{padding:10px 13px;background:#f4f1e9;border:1px solid #e0d6c4;border-radius:4px;color:#827153;font-size:11px;line-height:1.8;margin-bottom:20px}.auth-form .field{margin:0 0 16px}.auth-form .field label{display:block;font-weight:600;font-size:13px;margin-bottom:6px}.auth-form .field input{width:100%;min-height:45px;padding:11px 13px;border:1px solid #cad8e4;background:white;border-radius:4px;font-size:15px}.auth-form .field-hint{font-size:11px;color:#708698;margin:-7px 0 17px}.auth-check{display:flex;align-items:start;gap:9px;font-size:12px;line-height:1.9;margin:12px 0}.auth-check input{width:17px;height:17px;accent-color:#245e88;flex:none;margin-top:3px}.auth-text-button{border:0;background:transparent;color:#2c6892;text-decoration:underline;text-underline-offset:3px;font-size:inherit;padding:0;cursor:pointer}.auth-side{text-align:right;margin:5px 0 18px;font-size:12px}.auth-submit{width:100%;margin-top:16px;min-height:47px}.auth-bottom{text-align:center;margin-top:20px;color:#71879a;font-size:12px}.auth-progress{display:flex;gap:8px;justify-content:space-between;list-style:none;padding:0;margin:0 0 22px;color:#8c9dad;font-size:11px}.auth-progress li{flex:1;text-align:center;padding-bottom:8px;border-bottom:2px solid #e4ebf2}.auth-progress li.active{color:#28618b;border-color:#28618b}
@media(max-width:1100px){
 .member-header .main-nav{display:none}.member-header .menu-button{display:flex}.member-header .mobile-nav{display:flex}.member-header.mobile-open .main-nav{display:grid;position:absolute;top:100%;left:0;right:0;padding:10px 20px 20px;background:#fff;z-index:60;box-shadow:0 14px 24px #203d5415;border-bottom:1px solid #dce5ed;gap:0}.member-header.mobile-open .main-nav a{height:45px;font-size:14px}.member-header.mobile-open .main-nav a.active:after{display:none}.member-header .mobile-nav a{min-height:41px}
}
@media(min-width:701px) and (max-width:1100px){
 .member-header .mobile-nav{gap:0;border-top:1px solid #f0f2f5;background:#fff}
 .member-header .mobile-nav a{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;font-weight:700;white-space:nowrap;border-bottom:2px solid transparent}
 .member-header .mobile-nav a.active{color:var(--blue);border-bottom-color:var(--blue)}
}
@media(max-width:700px){
 .review-toolbar{padding:8px 12px;gap:8px;flex-wrap:wrap}.review-toolbar>div{flex-basis:100%}.review-toolbar small{font-size:9px}.review-toolbar b span{font-size:9px}.review-toolbar button,.review-toolbar>a{min-height:28px;font-size:10px;padding:4px 8px}.review-toolbar button{margin-left:auto}.review-toolbar>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.review-toolbar small{max-width:166px;line-height:1.5;margin:0}.review-toolbar b{max-width:160px;line-height:1.5}.review-toolbar b span{margin-left:0;margin-top:2px}
 body[data-variant="3-2"] .member-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px 10px;padding:10px 16px;min-height:0}.member-header .brand{grid-column:1;grid-row:1;min-width:0}.member-header .brand svg{width:25px;height:25px}.member-header .wordmark{font-size:21px}.member-header .brand-sub{display:block;font-size:9px;line-height:1.5;letter-spacing:.025em}.member-header .menu-button{grid-column:2;grid-row:1;width:36px;height:36px;min-height:36px;padding:6px}.member-header .header-actions{grid-column:1/-1;grid-row:2;display:flex;margin:0;gap:8px}.member-header .header-actions .login-btn,.member-header .header-actions .signup-btn{flex:1;min-height:35px;padding:7px 10px;font-size:12px}.member-header .mobile-nav a{font-size:11px;min-height:38px}
 .race-number-switch .race-number-track{gap:4px;scrollbar-width:none}.race-detail-tabs{scrollbar-width:none}.horizontal-hint{width:25px}.horizontal-hint svg{width:14px;height:14px}.prediction-key{padding:9px 11px;gap:8px;margin:12px 0;font-size:11px}.prediction-key p{font-size:11px;line-height:1.8}.ft-key-badge{font-size:10px}.ft-mark-badge{font-size:12px}.bloodline-conditions span{font-size:11px}.bloodline-context p{font-size:12px}
 .combination.with-single-odds{padding:10px 7px}.combo-numbers{gap:3px}.combo-single-odds{font-size:11px;line-height:1.7;margin-top:8px;gap:3px}.combo-single-odds b{font-size:11px}.combo-single-odds>small{font-size:10px}.combination-odds-note{font-size:11px}.auth-form .field input{font-size:16px}.auth-check{font-size:11px}.auth-preview-info{font-size:10px}.review-links{margin:0 12px 20px}
}
@media(max-width:360px){.member-header .wordmark{font-size:19px}.member-header .brand svg{width:24px;height:24px}.review-toolbar small{max-width:145px;font-size:9px}.review-toolbar b{font-size:10px}.combination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.review-toolbar,.review-note,.review-links,.horizontal-hint,.prediction-key{display:none!important}}

.race-going-label{margin-left:7px}@media(max-width:700px){.race-going-label{display:block;margin:3px 0 0;white-space:nowrap;font-size:11px}}

.site-utility{height:28px;display:flex;align-items:center;justify-content:center;background:#132c43;color:#d5e1ec;font-size:11px;letter-spacing:.04em;overflow:hidden}
.site-utility span{display:block;max-width:100%;padding:0 12px;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.maintenance-banner{background:#f6f1e6;color:#5c4b34;font-size:13px;line-height:1.65;text-align:center;padding:10px 16px;border-bottom:1px solid #e6dccb;overflow-wrap:anywhere}
.privileged-note{margin:0 0 16px;font-size:13px;line-height:1.7;color:#3d5d78;overflow-wrap:anywhere}
.member-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 18px}
.member-status-card{display:flex;flex-direction:column;gap:8px;padding:20px 22px;min-width:0;color:inherit}
.member-status-card span{font-size:12px;color:#758da1}
.member-status-card b{font-size:16px;line-height:1.55;font-weight:700;color:#2d6289;overflow-wrap:anywhere}
.member-status-card b small{font-size:13px;margin-left:4px;font-weight:500}
.ledger-row,.notice-row{display:flex;gap:12px;align-items:flex-start;padding:16px 20px;border-bottom:1px solid #e4ecf3;min-width:0}
.ledger-row:last-child,.notice-row:last-child{border-bottom:0}
.ledger-row>div{min-width:0;flex:1}
.ledger-row b{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.ledger-delta{flex:none;min-width:4.2em;font-variant-numeric:tabular-nums;font-weight:700;color:#2d6289}
.ledger-delta.plus{color:#23745f}
.ledger-delta.minus{color:#b64147}
.notice-row{align-items:center;color:inherit}
.notice-row>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.5}
.notice-pill{flex:none;max-width:8em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4;padding:2px 8px;border-radius:99px;background:#edf4fa;color:#416780;border:1px solid #d6e3ed}
.notice-row svg{width:15px;height:15px;flex:none;color:#7d93a6}
.selection-note{margin:0;padding:2px 20px 16px;font-size:12px;line-height:1.75;color:#698094;overflow-wrap:anywhere}
@media(max-width:700px){
 .member-status-grid{grid-template-columns:1fr;gap:10px}
 .member-status-card{padding:16px}
 .ledger-row,.notice-row{padding:14px 16px;gap:10px}
 .selection-note{padding:2px 12px 14px;font-size:11px}
 .site-utility{font-size:10px;letter-spacing:.02em}
 .maintenance-banner{font-size:12px;padding:8px 12px;text-align:left}
}
@media print{.site-utility,.maintenance-banner{display:none!important}}

.header-logout{margin:0}
.header-logout .logout-btn{min-height:44px;padding:10px 12px;border:1px solid #bfcfdd;background:#fff;color:#204e71;font-size:13px}
.page-head .logout-form{align-self:center}
.page-head .logout-btn{min-height:44px}
.main-nav .nav-logout{display:none;margin:0}
@media(max-width:1100px){
  .member-header.mobile-open .main-nav .nav-logout{display:block}
  .member-header.mobile-open .main-nav .nav-logout .logout-btn{width:100%;min-height:45px;justify-content:flex-start;border:0;background:transparent;padding:0;font-size:14px;font-weight:700;color:inherit}
}
@media(max-width:700px){
  .header-actions .header-logout{display:none}
  .page-head:has(.logout-form){flex-wrap:wrap}
  .page-head:has(.logout-form)>div:first-child{flex:1 0 100%}
}

@media (min-width: 1101px) {
  body[data-variant="3-2"] .member-header .main-nav:has(a[data-nav="win5"]) { gap: 11px }
  .member-header .main-nav:has(a[data-nav="win5"]) a { font-size: 12px }
  .member-header:has(a[data-nav="win5"]) .header-actions .login-btn,
  .member-header:has(a[data-nav="win5"]) .header-actions .signup-btn,
  .member-header:has(a[data-nav="win5"]) .header-actions .mypage-btn { padding-inline: 11px }
}
@media (max-width: 1100px) {
  .member-header .mobile-nav:has(a[data-nav="win5"]) { overflow-x: hidden }
  .member-header .mobile-nav:has(a[data-nav="win5"]) a { min-width: 0; flex: 1 1 0; padding-inline: 4px; font-size: 12px; letter-spacing: 0 }
}
@media (max-width: 700px) {
  .member-header .mobile-nav:has(a[data-nav="win5"]) a { padding-inline: 2px; font-size: 11px }
}
@media (max-width: 390px) {
  .member-header .mobile-nav:has(a[data-nav="win5"]) a { padding-inline: 0; font-size: 10px }
}
