/* FIX79 — stable FIX78 baseline; focused, restrained upgrades only. */
/* Logo + navigation: remove the two text slogans without leaving an empty brand row. */
@media(max-width:900px){
 .v370Header{display:flex!important;align-items:center!important;gap:6px!important;min-height:51px!important;padding:5px 8px!important}
 .v370Header .v370Brand{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 39px!important;margin:0!important;padding:0!important;min-width:0!important}
 .v370Header .v370BrandMark{width:38px!important;height:38px!important;flex:0 0 38px!important;font-size:19px!important}
 .v370Header .v370BrandText{display:none!important}
 .v370Header .v370Tabs{flex:1 1 auto!important;min-width:0!important;margin:0!important;overflow-x:auto!important;padding:0!important}
 .v370Header .v370Tab{min-height:39px!important;padding:6px 9px!important}
}

@media(max-width:700px){
 .app .sidebar{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;padding:9px 9px!important}
 .app .sidebar .brand{grid-column:1!important;grid-row:1!important;padding:0!important;margin:0!important;min-width:0!important;justify-content:center!important}
 .app .sidebar .brandMark{width:39px!important;height:39px!important;border-radius:12px!important;font-size:20px!important}
 .app .sidebar nav{grid-column:2!important;grid-row:1!important;display:flex!important;gap:3px!important;overflow-x:auto!important;min-width:0!important;padding:2px 0!important;scrollbar-width:none}
 .app .sidebar nav::-webkit-scrollbar{display:none}
 .app .sidebar nav .navItem{flex:0 0 auto!important;padding:9px 9px!important;min-height:37px!important;font-size:12px!important;border-radius:10px!important}
}
@media(min-width:701px){.app .sidebar .brand{padding-bottom:10px!important}}

/* 2×2 saved state: calm, lighter mist-blue slate with a thin champagne accent.
   No dark brown fill; navy for unsaved or confirmed editing. */
.v57Live .v55InputCard.v70SavedFields .v55FourFields>.v55Field{
 background:#526b83!important;border:1px solid #91aabd!important;
 box-shadow:inset 0 0 0 1px rgba(235,217,173,.23)!important;
}
.v57Live .v55InputCard.v70SavedFields .v55Field label{color:#f0f5fb!important}
.v57Live .v55InputCard.v70SavedFields .v55Step b{color:#fff!important}
.v57Live .v55InputCard.v70EditingFields .v55FourFields>.v55Field,
.v57Live .v55InputCard.v70NewFields .v55FourFields>.v55Field{background:#243958!important;border-color:#4a6082!important;box-shadow:none!important}

/* Status, grey vertical separator, GIR, and expanded final action on one aligned row. */
.v57Live .v55InputCard .v72ActionRow{
 display:grid!important;grid-template-columns:auto minmax(0,1fr) 1px auto minmax(85px,108px)!important;
 align-items:center!important;gap:7px!important;
}
.v57Live .v55InputCard .v72LeftActions{grid-column:1!important;grid-row:1!important;justify-self:start!important;gap:5px!important}
.v57Live .v55InputCard .v72SaveState{grid-column:2!important;grid-row:1!important;justify-self:center!important;margin:0!important;white-space:nowrap!important;font-size:clamp(11px,3vw,14px)!important}
.v57Live .v55InputCard .v72RightActions{display:contents!important}
.v57Live .v55InputCard .v79StatusDivider{grid-column:3!important;grid-row:1!important;display:block!important;width:1px!important;height:23px!important;background:#6d7d95!important;opacity:.8!important}
.v57Live .v55InputCard .v72Gir{grid-column:4!important;grid-row:1!important;justify-self:center!important;margin:0!important;font-size:clamp(10px,2.6vw,13px)!important;white-space:nowrap!important}
.v57Live .v55InputCard .v72RightActions .v55ActionButton{grid-column:5!important;grid-row:1!important;justify-self:stretch!important;width:100%!important;min-width:0!important;min-height:43px!important;padding:8px 6px!important;text-align:center!important;font-size:clamp(11px,3.1vw,14px)!important}
@media(max-width:370px){
 .v57Live .v55InputCard .v72ActionRow{gap:3px!important;grid-template-columns:auto minmax(0,1fr) 1px auto 74px!important}
 .v57Live .v55InputCard .v72LeftActions{gap:2px!important}
 .v57Live .v55InputCard .v72LeftActions .v55Memo,.v57Live .v55InputCard .v72LeftActions .v55Reset{padding:6px 3px!important;font-size:10px!important}
 .v57Live .v55InputCard .v72SaveState{font-size:10px!important;letter-spacing:-.6px!important}
 .v57Live .v55InputCard .v72Gir{font-size:10px!important}
 .v57Live .v55InputCard .v72RightActions .v55ActionButton{font-size:11px!important}
}
/* narrow-phone fallback: keep touch targets and status readable instead of overflowing. */
@media(max-width:320px){
 .v57Live .v55InputCard .v72ActionRow{grid-template-columns:auto minmax(0,1fr) 1px auto 66px!important;gap:2px!important}
 .v57Live .v55InputCard .v72SaveState{font-size:9px!important}
 .v57Live .v55InputCard .v72LeftActions .v55Memo,.v57Live .v55InputCard .v72LeftActions .v55Reset{font-size:9px!important}
}

/* Completed on THIS player's device: light blue; current hole is always royal blue. */
.v57Live .v57HoleDot.mine-saved:not(.current),
.v57Live .v57HoleDot.done:not(.current){background:#d9eaff!important;color:#234e91!important;border:1px solid #a6c5eb!important;box-shadow:none!important}
.v57Live .v57HoleDot.current{background:#2454e0!important;color:#fff!important;border-color:#2454e0!important}
.v57Live .v57HoleDot.mine-saved:not(.current) .v57Tick{background:#5486c7!important;color:#fff!important;border-color:#fff!important}

/* Shared bottom-sheet title should just be a plain heading, not another rectangular card. */
#modalBox.v390BottomSheet:has(.v43320Settlement)>.modalHead,
#modalBox.v390BottomSheet:has(.v43320RankSheet)>.modalHead,
#modalBox.v390BottomSheet:has(.v43318Sheet) .v43318Header,
#modalBox.v390BottomSheet:has(.v43320Settlement) .v370SheetHead,
#modalBox.v390BottomSheet:has(.v43320RankSheet) .v370SheetHead{
 background:transparent!important;border:0!important;box-shadow:none!important;
 border-radius:0!important;min-height:0!important;margin:0 0 8px!important;
 padding:4px 4px 7px!important;display:flex!important;align-items:center!important;
}
#modalBox.v390BottomSheet:has(.v43320Settlement) .modalHead .eyebrow,
#modalBox.v390BottomSheet:has(.v43320RankSheet) .modalHead .eyebrow{display:none!important}
#modalBox.v390BottomSheet:has(.v43320Settlement) .modalHead h2,
#modalBox.v390BottomSheet:has(.v43320RankSheet) .modalHead h2,
#modalBox.v390BottomSheet:has(.v43318Sheet) .v43318Header h2{
 color:#16191e!important;font-size:clamp(18px,4.6vw,21px)!important;
 font-weight:900!important;line-height:1.2!important;margin:0!important;
}
#modalBox.v390BottomSheet:has(.v43320Settlement) .modalHead .iconBtn,
#modalBox.v390BottomSheet:has(.v43320RankSheet) .modalHead .iconBtn,
#modalBox.v390BottomSheet:has(.v43318Sheet) .v43318Header .iconBtn{
 background:#f1f2f4!important;color:#242830!important;border:1px solid #e3e6eb!important;
 width:35px!important;height:35px!important;border-radius:11px!important;font-size:21px!important;
}

/* All rank columns: headings and values share the same grid and vertical centering. */
#modalBox.v390BottomSheet .v43320RankSheet .v390RankHead,
#modalBox.v390BottomSheet .v43320RankSheet .v390RankRow{
 display:grid!important;grid-template-columns:32px minmax(65px,1.35fr) 34px minmax(49px,.88fr) minmax(53px,.95fr)!important;
 column-gap:5px!important;align-items:center!important;padding:0 9px!important;
}
#modalBox.v390BottomSheet .v43320RankSheet .v390RankHead{min-height:37px!important}
#modalBox.v390BottomSheet .v43320RankSheet .v390RankRow{min-height:47px!important}
#modalBox.v390BottomSheet .v43320RankSheet .v390RankHead>*,
#modalBox.v390BottomSheet .v43320RankSheet .v390RankRow>*{
 display:flex!important;align-items:center!important;justify-content:center!important;
 align-self:stretch!important;margin:0!important;padding:0!important;text-align:center!important;
 min-width:0!important;font-variant-numeric:tabular-nums!important;
}
#modalBox.v390BottomSheet .v43320RankSheet .v390RankHead>span:nth-child(2),
#modalBox.v390BottomSheet .v43320RankSheet .v390RankRow>strong{
 justify-content:flex-start!important;text-align:left!important;padding-left:3px!important;
}
@media(max-width:350px){
 #modalBox.v390BottomSheet .v43320RankSheet .v390RankHead,
 #modalBox.v390BottomSheet .v43320RankSheet .v390RankRow{grid-template-columns:26px minmax(58px,1.3fr) 29px minmax(44px,.9fr) minmax(45px,.95fr)!important;gap:2px!important;padding-inline:5px!important}
}

/* Settlement 3 columns align exactly, including header baselines and numeric cells. */
#modalBox.v390BottomSheet .v43320Settlement .v349SetHead,
#modalBox.v390BottomSheet .v43320Settlement .v349SetRow{
 display:grid!important;grid-template-columns:minmax(75px,1.15fr) minmax(82px,1fr) minmax(72px,1fr)!important;
 column-gap:4px!important;align-items:center!important;min-height:45px!important;padding:0 12px!important;
}
#modalBox.v390BottomSheet .v43320Settlement .v349SetHead{min-height:38px!important}
#modalBox.v390BottomSheet .v43320Settlement .v349SetHead>*,
#modalBox.v390BottomSheet .v43320Settlement .v349SetRow>*{
 align-self:stretch!important;display:flex!important;align-items:center!important;min-width:0!important;
 margin:0!important;padding:0!important;font-variant-numeric:tabular-nums!important;
}
#modalBox.v390BottomSheet .v43320Settlement .v349SetHead>*:first-child,
#modalBox.v390BottomSheet .v43320Settlement .v349SetRow>*:first-child{justify-content:flex-start!important;text-align:left!important}
#modalBox.v390BottomSheet .v43320Settlement .v349SetHead>*:not(:first-child),
#modalBox.v390BottomSheet .v43320Settlement .v349SetRow>*:not(:first-child){justify-content:flex-end!important;text-align:right!important}

/* Record sheet: denser spacing; retain readable principal figures and the neutral palette. */
#modalBox.v390BottomSheet .v43318Sheet .v390PlayerTabs{margin:0 0 6px!important;gap:5px!important}
#modalBox.v390BottomSheet .v43318Sheet .v390PlayerTabs button{height:33px!important;min-height:33px!important;font-size:11px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Headline{min-height:47px!important;padding:6px 12px!important;margin-bottom:5px!important;border-radius:10px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Current strong{font-size:26px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43319CurrentValue em{font-size:15px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318StatGrid{margin-bottom:5px!important;border-radius:10px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318StatGrid .v43318Stat{height:48px!important;gap:2px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Stat b{font-size:18px!important;font-weight:850!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Types{margin-bottom:5px!important;border-radius:10px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Types>div{height:34px!important;gap:3px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Types b{font-size:16px!important;font-weight:850!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Scorecard{padding:8px 7px 7px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318CardTop{margin-bottom:6px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318CardTop b{font-size:14px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43317HalfTabs{margin-bottom:5px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43317HalfTabs button{min-height:30px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Table td,
#modalBox.v390BottomSheet .v43318Sheet .v43318Table th{height:29px!important;padding:3px 2px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Table .v43318ScoreRow td{height:37px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Table .v43318ScoreRow td strong{font-size:13px!important;font-weight:780!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Table .v43318ScoreRow td small{font-size:9px!important;margin-top:0!important}

/* Programmatic progress restoration must not animate at each real-time update. */
.v57Live .v57Track{scroll-behavior:auto!important}
