@font-face{
  font-family:Dugout;
  src:url('./game-ui/nunito.ttf') format('truetype');
  font-weight:200 1000;
  font-style:normal;
  font-display:swap}

:root{
  --ink:#fff8ed;
  --accent:#f6c95b;
  --club:#2cdbef;
  --game-blue:#39dff4;
  --game-orange:#ffad55}

body,button,a{
  font-family:var(--font-ui)}
button{
  font-weight:600;
  -webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible{
  outline:3px solid #fff;
  outline-offset:4px}
button:disabled{
  filter:saturate(.2);
  opacity:.52}

.game-icon{
  width:25px;
  height:25px;
  flex:none;
  vertical-align:middle;
  filter:drop-shadow(0 1px 1px #10172788)}

/* One set of authored raised bezels, shared across every playable menu. */
:is(.pill,.primary,.round,.tab,.option){
  --bezel:url('./game-ui/premium/slate-bezel.svg');
  background:var(--bezel) center/100% 100% no-repeat;
  border:0!important;
  color:#fffaf0!important;
  box-shadow:none!important;
  min-height:49px;
  padding:11px 22px 15px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:16px;
  line-height:1.15;
  text-shadow:0 1px 2px #14284b80;
  transition:transform .14s,filter .14s}

:is(.pill,.primary,.round,.tab,.option)[data-tone=blue]{
  --bezel:url('./game-ui/premium/blue-bezel.svg')}

:is(.pill,.primary,.round,.tab,.option)[data-tone=orange]{
  --bezel:url('./game-ui/premium/orange-bezel.svg')}

:is(.pill,.primary,.round,.tab,.option)[data-tone=purple]{
  --bezel:url('./game-ui/premium/purple-bezel.svg')}

:is(.pill,.primary,.round,.tab,.option):active{
  transform:translateY(2px) scale(.98)}

.round{
  width:52px;
  height:52px;
  padding:12px 12px 16px;
  border-radius:50%;
  background:linear-gradient(#54627c,#263044 70%);
  border:2px solid #8c9baf!important;
  box-shadow:0 4px 0 #141b28,0 5px 10px #0005,inset 0 2px 2px #ffffff8c!important}

.round .game-icon{
  width:26px;
  height:26px}
.primary{
  --bezel:url('./game-ui/premium/orange-bezel.svg');
  font-size:17px}

.tab{
  min-height:40px;
  font-size:13px;
  padding:9px 19px 13px;
  opacity:.84}
.tab[aria-pressed=true],.pill.active{
  --bezel:url('./game-ui/premium/blue-bezel.svg');
  opacity:1}
.tab::after{
  display:none}

.game-top{
  padding:14px var(--right) 0 var(--edge);
  background:linear-gradient(#111a2c77,transparent);
  align-items:start;
  gap:16px;
  pointer-events:none!important}

.game-top .brand{
  position:relative;
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:325px;
  max-width:410px;
  width:34vw;
  min-height:88px;
  padding:5px 32px 10px 10px;
  border:0;
  border-radius:0;
  background:url('./game-ui/premium/blue-bezel.svg') center/100% 100% no-repeat;
  color:white;
  text-align:left;
  text-shadow:0 2px 1px #163579;
  filter:drop-shadow(0 3px 4px #10132080)}

.crest-mount{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  flex:none;
  filter:drop-shadow(0 3px 1px #14213799)}
.game-top .brand .club-crest{
  display:block;
  width:74px;
  height:74px;
  object-fit:contain;
  opacity:0;
  transition:opacity .2s}
.game-top .brand .club-crest.ready{
  opacity:1}
.club-name{
  display:flex;
  flex-direction:column;
  line-height:1.07;
  min-width:0;
  flex:1}
.game-top .brand strong{
  font-size:clamp(20px,2.05vw,28px);
  font-weight:850;
  letter-spacing:0;
  line-height:1.07;
  text-shadow:0 1px 1px #08265e88}
.game-top .brand small{
  font-size:11.5px;
  font-weight:600;
  letter-spacing:0.035em;
  margin-top:5px;
  color:#c9eaff;
  white-space:nowrap;
  line-height:1.25}

.game-top .numbers{
  display:flex;
  gap:12px;
  align-items:start;
  pointer-events:auto}
.game-stat{
  display:flex;
  align-items:center;
  gap:7px;
  padding:12px 17px 17px 14px;
  min-height:80px;
  min-width:150px;
  border:0;
  background:url('./game-ui/premium/gold-bezel.svg') center/100% 100% no-repeat;
  filter:drop-shadow(0 3px 3px #111a2880)}
.game-stat .stat-icon .game-icon{
  width:30px;
  height:32px;
  color:#ffea95}
.stat-copy{
  display:flex;
  flex-direction:column;
  align-items:start}
.game-stat .stat-copy>span{
  font-size:13px;
  font-weight:850;
  letter-spacing:0;
  color:#fff9e5}
.game-stat .stat-copy>b{
  font-size:30px;
  line-height:1.1;
  letter-spacing:0;
  color:#ffe3a1;
  font-weight:850}
.game-stat.funds-stat{
  background-image:url('./game-ui/premium/mint-bezel.svg')}
.game-stat.funds-stat .game-icon,.game-stat.funds-stat b{
  color:#a5ffe2}

.homebar{
  padding-top:45px;
  gap:14px;
  background:linear-gradient(transparent,#101628b8 70%);
  align-items:end}
.homebar .left,.homebar .right{
  align-items:center;
  gap:9px}
.homebar .left>.pill[data-tone=blue],.homebar .left>.pill[data-tone=orange],.homebar .right>.pill[data-tone=purple]{
  min-height:63px;
  font-size:21px;
  padding:14px 26px 19px}
.homebar .right .round{
  flex:none}
.homebar .right>.pill[data-tone=purple]{
  min-width:174px}

.homecopy{
  bottom:96px;
  left:var(--edge);
  padding-left:4px;
  max-width:65%;
  text-shadow:0 2px 3px #071528,0 0 12px #071528}
.homecopy h1{
  font-weight:850;
  font-size:23px}
.homecopy p{
  font-size:13px;
  font-weight:600;
  color:white}
.homebar .visit-button{
  font-size:14px;
  min-height:49px;
  padding-inline:15px}

.pin{
  --pin:#89d9ff;
  background:linear-gradient(#657b94,#31445e 24%,#20324c 68%,#16253b);
  border:1px solid #b3c4d6!important;
  box-shadow:0 3px 0 #101b2e,0 4px 8px #07132270,inset 0 1px 1px #ffffff75!important;
  color:#fff!important;
  text-shadow:0 1px 2px #07192c99;
  min-height:43px;
  font-family:var(--font-ui);
  font-size:14px;
  font-weight:850;
  padding:9px 17px;
  border-radius:25px}

.pin:not(.corner)::before{
  content:'';
  position:absolute;
  left:calc(50% - 5px);
  top:-12px;
  width:10px;
  height:10px;
  border:2px solid white;
  border-radius:50%;
  background:var(--pin);
  box-shadow:0 0 8px var(--pin)}
.pin.built{
  border-bottom:2px solid #a8b7c8}
.pin.empty{
  --pin:#ffc572}
.pin.corner{
  width:34px;
  height:34px;
  min-height:34px;
  padding:7px;
  border-radius:50%;
  opacity:.9}
.pin.corner .game-icon{
  width:19px;
  height:19px}
.pin.corner.locked{
  opacity:.45}
.estate-pin.owned{
  --pin:#ffb268}
.estate-pin.owned::before{
  margin:0;
  display:block}
.estate-pin.available{
  --pin:#a3ffe0;
  background:linear-gradient(#416e79,#203f4c);
  border-style:dashed!important}
.estate-pin.occupied,.estate-pin.protected{
  opacity:.78}

.edit-caption,.estate-caption,.works-caption{
  font-weight:600;
  text-shadow:0 2px 3px #08121d,0 0 10px #08121d99}
.edit-caption h1,.estate-caption h1,.works-caption h1{
  font-weight:850;
  letter-spacing:0}
.edit-caption p,.estate-caption p,.works-caption p{
  font-weight:600;
  color:#f3f6ff}
.capacity{
  background:url('./game-ui/premium/gold-bezel.svg') center/100% 100% no-repeat;
  padding:10px 19px 14px;
  min-width:114px;
  text-align:center}
.capacity b{
  color:#ffe38c;
  font-weight:850}
.capacity span{
  font-weight:600}

.build-tool{
  background:linear-gradient(#566c88,#26364e 75%);
  border:1px solid #b1c2d4;
  box-shadow:inset 0 2px 1px #ffffff8c,0 4px 0 #101c2d}
.build-tool[aria-pressed=true]{
  background:linear-gradient(#52e7fb,#2463ce 80%);
  border-color:#b0f6ff;
  color:white}
.tool-fan{
  background:#17273df5;
  border:2px solid #849ab4;
  box-shadow:inset 0 1px #e2edff,0 6px 0 #0d1628;
  border-radius:22px;
  padding:10px}
.tool-fan .tool-category{
  font-family:var(--font-ui);
  font-weight:600}

.model-choice .choice-model{
  filter:drop-shadow(0 4px 3px #0610207a)}
.model-choice[aria-pressed=true] .choice-model{
  filter:drop-shadow(0 3px 3px #06102080) brightness(1.08)}
.model-choice .model-name{
  font-family:var(--font-ui);
  font-weight:850;
  font-size:14px;
  letter-spacing:0;
  text-shadow:0 1px 3px #051324}
.model-choice[aria-pressed=true]::after{
  height:3px;
  background:#8ae6ff;
  box-shadow:0 1px 4px #34c8ff55;
  border-radius:4px}
.selector-title{
  font-family:var(--font-ui);
  font-weight:850;
  font-size:16px}
.model-tray{
  gap:8px}
.model-choice[aria-pressed=true] .model-name{
  color:#b8f7ff}
.review-orb{
  color:white!important;
  background:radial-gradient(circle at 35% 12%,#ffc67c,#ee903f 40%,#ca6236 78%,#9b4030)!important;
  border:2px solid #ffe0a5!important;
  box-shadow:inset 0 1px 1px #fff5da,0 4px 0 #713c39,0 5px 14px #0b122d70!important;
  text-shadow:0 1px 2px #8b351c}
.review-orb small{
  color:white}
.quote-price strong,.estate-quote>b{
  font-weight:850;
  color:#ffdfa0}

.confirm-circle{
  background:conic-gradient(#64eaff var(--sweep,0%),#7e99b3 0);
  box-shadow:0 7px 0 #101a2d,0 8px 25px #080e27aa,inset 0 2px 2px #e7f5ff}
.confirm-circle::before{
  background:radial-gradient(circle at 40% 20%,#ffcb61,#ed853f 64%,#bb4735);
  border:2px solid #ffe9b3}
.confirm-label b,.confirm-label span{
  color:white!important;
  text-shadow:0 2px 2px #973b20}
.confirm-label b{
  font-weight:850}
.confirm-circle.holding{
  box-shadow:0 0 0 6px #6de9ff30,0 0 38px #42c5ff99}
.build-decision strong{
  font-weight:850}
.decision-cost strong{
  color:#ffe5a4}
.decision-consequence strong{
  color:#c1f4ff}
.commit-funds strong{
  color:#a5ffe2}
.phase{
  gap:5px}
.phase i,.estate-progress i{
  height:6px;
  border-radius:5px;
  border:1px solid #9faab8}
.phase .on,.estate-progress .on{
  background:#54dcf2;
  box-shadow:0 0 5px #54dcf266}

.sheet-shade{
  background:linear-gradient(#0a112169,#0e182de8 35%,#111d32f7);
  backdrop-filter:blur(3px);
  display:flex;
  align-items:center;
  justify-content:center}
.sheet{
  position:relative;
  inset:auto;
  width:min(100% - 40px,1080px);
  max-height:calc(100% - 35px);
  overflow:auto;
  padding:23px 30px 27px;
  background:radial-gradient(ellipse at 30% 0,#49678b55,transparent 65%),linear-gradient(145deg,#2e4563f5,#14253ef7);
  border:1px solid #9eb3cd;
  border-radius:28px;
  box-shadow:inset 0 2px 1px #c2d7f582,0 8px 0 #0b1426,0 15px 35px #060b1c99}
.sheet h1{
  font-size:28px;
  font-weight:850;
  color:#d9f7ff;
  letter-spacing:0}
.sheet>p{
  font-weight:600}
.sheet .tabs{
  justify-content:flex-start;
  gap:8px}
.sheet .group{
  gap:8px}
.sheet .links{
  margin-top:15px;
  font-size:13px}
.sheet .links a{
  color:#b8dfff}
.scenario-choices{
  display:grid;
  grid-template-columns:repeat(var(--ground-count,4),minmax(0,1fr));
  gap:12px;
  margin:15px 0}
.scenario-choices .option{
  white-space:normal;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  text-align:left;
  border:1px solid #7890ae!important;
  background:linear-gradient(#344e6c,#1d304c);
  border-radius:19px;
  box-shadow:0 4px 0 #0d192e!important;
  padding:7px 7px 11px;
  gap:5px;
  line-height:1.1;
  font-size:16px}
.scenario-choices .option[aria-pressed=true]{
  border-color:#8aecff!important;
  box-shadow:0 0 0 1px #94eaff,0 4px 0 #0d192e!important}
.ground-preview{
  display:block;
  width:100%;
  aspect-ratio:1.8;
  object-fit:cover;
  border-radius:11px;
  border:1px solid #9bb2cd66}
.scenario-choices .option small{
  font-size:11.5px;
  line-height:1.2;
  color:#dce9f7;
  padding-inline:4px}
.scenario-choices .ground-name{
  padding:2px 4px;
  font-weight:850}

.estate-game-top .brand{
  min-width:275px;
  width:300px;
  min-height:67px;
  padding-block:5px 12px}
.estate-game-top .brand .crest-mount{
  width:59px;
  height:59px}
.estate-game-top .brand .club-crest{
  width:57px;
  height:57px}
.estate-game-top .brand strong{
  font-size:20px}
.estate-game-top .game-stat{
  min-height:67px;
  min-width:150px;
  padding:10px 14px 14px}
.estate-game-top .game-stat b{
  font-size:27px}
.estate-caption{
  top:94px;
  left:var(--edge);
  max-width:min(66vw,620px)}
.estate-caption h1{
  font-size:26px}
.estate-caption p{
  font-size:13px}
.estate-game-top .brand small{
  font-size:11.5px}
.estate-caption+.back,.estate-back{
  top:103px}
.estate-facility-detail{
  top:160px;
  left:var(--edge);
  max-width:70%}
.estate-note{
  top:201px;
  left:var(--edge)}
.estate-progress{
  top:160px;
  left:var(--edge)}
.estate-summary>b{
  color:#bdf8ff;
  font-weight:850}
.estate-after{
  font-weight:600;
  color:#a5ffe2}
.estate-bar .left>.pill,.estate-bar .right>.pill{
  min-height:46px;
  font-size:14px;
  padding:11px 17px 15px}
.estate-bar .right>.pill[data-tone=purple]{
  min-width:130px}
.estate-bar .round{
  width:46px;
  height:46px}

/* A visit uses the actual paths and buildings, with destinations always visible. */
.visit-caption{
  position:absolute;
  top:110px;
  left:var(--edge);
  z-index:3;
  max-width:480px;
  text-shadow:0 2px 4px #061326,0 0 12px #061326}
.visit-caption .eyebrow{
  font-size:11.5px;
  font-weight:850;
  letter-spacing:0.035em;
  color:#9feaff}
.visit-caption h1{
  font-size:30px;
  line-height:1.1;
  margin:3px 0 6px;
  font-weight:850}
.visit-caption p{
  font-size:13px;
  font-weight:600;
  max-width:390px;
  margin:0}
.visit-destinations{
  position:absolute;
  right:var(--right);
  top:115px;
  z-index:4;
  display:flex;
  flex-direction:column;
  gap:7px}
.visit-destinations .pill{
  font-size:13px;
  min-height:40px;
  padding:9px 19px 13px}
.visit-destinations .pill[aria-pressed=true]{
  background:var(--bezel) center/100% 100% no-repeat;
  --bezel:url('./game-ui/premium/blue-bezel.svg')}
.visit-progress{
  display:flex;
  gap:4px;
  margin-top:13px}
.visit-progress i{
  height:5px;
  width:18px;
  background:#b7c6d166;
  border-radius:5px}
.visit-progress i.on{
  background:#7cf1ff;
  box-shadow:0 0 5px #54d8ff}
.visit-step{
  font-size:13px;
  font-weight:600;
  padding-inline:7px;
  color:#c5efff}
.visit-bar .left,.visit-bar .right{
  align-items:center}
.visit-bar .pill{
  min-height:49px!important;
  font-size:15px!important;
  padding:12px 20px 16px!important}

#loading,#notice{
  font-family:var(--font-ui);
  font-weight:600;
  border:1px solid #9db7d5;
  background:linear-gradient(#415572f0,#1a2942f0);
  box-shadow:0 4px 0 #101a2c;
  border-radius:20px;
  color:#fff6df}

@media(max-width:1050px){
  .game-top .brand{
  min-width:265px;
  width:31vw;
  min-height:72px;
  padding-inline:8px 22px}
.game-top .brand strong{
  font-size:23px}
.crest-mount{
  width:60px;
  height:60px}
.game-top .brand .club-crest{
  width:57px;
  height:57px}
.game-stat{
  min-width:130px;
  min-height:70px;
  padding:10px 12px 15px}
.game-stat .stat-copy>b{
  font-size:28px}
.game-top .numbers{
  gap:8px}
.game-stat .stat-icon .game-icon{
  width:26px}
.homebar .left>.pill[data-tone=blue],.homebar .left>.pill[data-tone=orange],.homebar .right>.pill[data-tone=purple]{
  font-size:18px;
  padding-inline:22px;
  min-height:57px}
.homebar .right>.pill[data-tone=purple]{
  min-width:145px}
.homebar .left,.homebar .right{
  gap:7px}
.homecopy{
  bottom:85px}
.homecopy h1{
  font-size:20px}
.homebar .visit-button{
  padding-inline:14px;
  font-size:13px}
.game-top .brand small{
  font-size:11.5px}
}

@media(max-height:450px) and (orientation:landscape){
  .game-top{
  padding-top:8px}
.game-top .brand{
  min-height:62px;
  min-width:252px;
  width:29vw;
  padding:4px 22px 11px 8px}
.game-top .brand strong{
  font-size:20px}
.game-top .brand .club-crest{
  width:48px;
  height:48px}
.crest-mount{
  width:50px;
  height:50px}
.game-stat{
  min-height:61px;
  min-width:119px;
  padding:9px 12px 13px}
.game-stat .stat-copy>b{
  font-size:25px}
.game-stat .stat-copy>span{
  font-size:13px}
.game-stat .stat-icon .game-icon{
  width:24px;
  height:26px}
.homebar{
  padding-top:20px}
.homebar .left>.pill[data-tone=blue],.homebar .left>.pill[data-tone=orange],.homebar .right>.pill[data-tone=purple]{
  min-height:50px;
  font-size:17px;
  padding:11px 21px 15px}
.homebar .right>.pill[data-tone=purple]{
  min-width:135px}
.homebar .round{
  height:44px;
  width:44px;
  padding:9px 9px 13px}
.homebar .visit-button{
  min-height:44px;
  padding:10px 13px 14px}
.homecopy{
  bottom:70px}
.homecopy h1{
  font-size:18px;
  margin-bottom:2px}
.homecopy p{
  font-size:13px}
.pin{
  min-height:37px;
  font-size:13px;
  padding:8px 13px}
.pin.corner{
  width:29px;
  height:29px;
  min-height:29px;
  padding:5px}
.pill,.primary{
  min-height:43px;
  font-size:14px;
  padding:10px 18px 14px}
.sheet{
  max-height:calc(100% - 20px);
  padding:12px 23px 17px}
.sheet h1{
  font-size:24px;
  margin-bottom:3px}
.sheet>p{
  font-size:13px;
  margin:4px 0 8px}
.sheet .tab{
  min-height:34px;
  font-size:13px;
  padding:8px 16px 11px}
.scenario-choices{
  gap:10px;
  margin:8px 0 10px}
.scenario-choices .option{
  white-space:normal;
  font-size:13px;
  padding:5px 5px 8px}
.ground-preview{
  aspect-ratio:2.5}
.scenario-choices .option small{
  font-size:11.5px}
.sheet .group .pill{
  min-height:37px;
  font-size:13px;
  padding:9px 17px 12px}
.sheet .links{
  margin-top:6px;
  font-size:13px}
.estate-caption{
  top:76px;
  left:76px}
.estate-caption h1{
  font-size:22px}
.estate-caption p{
  font-size:13px}
.estate-back{
  top:77px}
.estate-facility-detail{
  top:128px;
  left:76px}
.estate-note{
  top:160px;
  left:76px}
.estate-progress{
  top:131px;
  left:76px}
.estate-bar .left,.estate-bar .right{
  gap:5px}
.estate-bar .pill{
  min-height:44px!important;
  font-size:13px!important;
  padding:9px 13px 13px!important}
.estate-bar .right>.pill[data-tone=purple]{
  min-width:110px}
.estate-bar .round{
  width:41px;
  height:41px}
.visit-caption{
  top:84px;
  max-width:55%}
.visit-caption h1{
  font-size:24px}
.visit-caption p{
  font-size:13px}
.visit-destinations{
  top:85px;
  gap:4px}
.visit-destinations .pill{
  min-height:33px;
  padding:7px 15px 11px;
  font-size:13px}
.visit-progress{
  margin-top:8px}
}

@media(orientation:portrait){
  .game-top{
  padding:11px 10px 0;
  gap:7px;
  flex-wrap:wrap}
.game-top .brand{
  width:100%;
  min-width:0;
  max-width:none;
  min-height:71px;
  justify-content:start;
  padding:5px 20px 12px 12px}
.game-top .brand strong{
  font-size:23px}
.game-top .numbers{
  width:100%;
  justify-content:flex-end;
  gap:8px}
.game-stat{
  min-width:125px;
  min-height:58px;
  padding:8px 15px 12px}
.game-stat .stat-copy>b{
  font-size:25px}
.game-stat .stat-copy>span{
  font-size:13px}
.game-stat .stat-icon .game-icon{
  width:24px;
  height:25px}
.game-top .brand .club-crest{
  width:61px;
  height:61px}
.crest-mount{
  width:64px;
  height:64px}
.club-name{
  padding-left:3px}
.homebar{
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  padding-top:38px}
.homebar .left,.homebar .right{
  width:100%;
  justify-content:space-between;
  gap:6px}
.homebar .left>.pill[data-tone=blue],.homebar .left>.pill[data-tone=orange]{
  flex:1;
  min-height:53px;
  padding:12px 14px 16px;
  font-size:18px}
.homebar .left>.visit-button{
  width:48px;
  height:48px;
  min-height:48px;
  font-size:0;
  padding:11px}
.homebar .left>.visit-button .game-icon{
  width:26px;
  height:26px}
.homebar .right>.pill[data-tone=purple]{
  min-height:53px;
  flex:1;
  max-width:220px;
  font-size:19px}
.homebar .right .round{
  width:46px;
  height:46px;
  padding:10px 10px 14px}
.homecopy{
  bottom:143px;
  max-width:95%;
  left:12px}
.homecopy h1{
  font-size:20px}
.homecopy p{
  font-size:13px;
  max-width:340px}
.pin{
  font-size:13px;
  padding:8px 13px;
  min-height:38px}
.pin.corner{
  width:30px;
  height:30px;
  min-height:30px;
  padding:5px}
.sheet{
  width:calc(100% - 20px);
  padding:18px 15px;
  max-height:calc(100% - 25px);
  border-radius:24px}
.sheet h1{
  font-size:26px}
.sheet>p{
  font-size:13px}
.sheet .tabs{
  justify-content:space-between;
  gap:4px}
.sheet .tab{
  font-size:13px;
  padding:10px 12px 14px}
.scenario-choices{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px}
.scenario-choices .option{
  white-space:normal;
  font-size:14px}
.scenario-choices .option small{
  font-size:11.5px}
.sheet .group{
  flex-wrap:wrap}
.sheet .group .pill{
  font-size:13px;
  min-height:42px;
  padding:10px 15px 14px}
.sheet .links{
  display:flex;
  flex-wrap:wrap;
  font-size:13px;
  gap:10px}
.estate-game-top .brand{
  min-height:62px}
.estate-game-top .brand strong{
  font-size:20px}
.estate-game-top .numbers{
  position:absolute;
  top:81px;
  right:11px;
  width:auto}
.estate-game-top .game-stat{
  min-width:128px;
  min-height:53px;
  padding:7px 12px 11px}
.estate-game-top .game-stat b{
  font-size:23px}
.estate-caption{
  top:150px;
  left:70px;
  max-width:calc(100% - 82px)}
.estate-caption h1{
  font-size:24px}
.estate-caption p{
  font-size:13px}
.estate-back{
  top:152px}
.estate-facility-detail{
  top:230px;
  left:12px;
  max-width:calc(100% - 24px);
  font-size:13px}
.estate-note{
  top:276px;
  left:12px}
.estate-progress{
  top:231px;
  left:70px}
.estate-bar .left,.estate-bar .right{
  justify-content:space-between}
.estate-bar .left .pill{
  flex:1;
  min-height:45px!important;
  font-size:13px!important;
  padding:10px 12px 14px!important}
.estate-bar .right .pill{
  font-size:13px!important;
  min-height:44px!important;
  padding:10px 13px 14px!important}
.estate-bar .right .pill[data-tone=purple]{
  max-width:none}
.estate-bar .right .round{
  width:44px;
  height:44px}
.estate-selector{
  bottom:calc(var(--bottom) + 148px)}
.estate-summary{
  bottom:calc(var(--bottom) + 170px)}
.estate-quote{
  bottom:calc(var(--bottom) + 68px)}
.estate-quote .review-orb{
  width:70px;
  height:70px}
.estate-decision{
  top:49%}
.visit-caption{
  top:161px;
  left:12px;
  max-width:calc(100% - 24px)}
.visit-caption h1{
  font-size:27px}
.visit-caption p{
  font-size:13px;
  max-width:340px}
.visit-destinations{
  top:auto;
  bottom:139px;
  left:12px;
  right:12px;
  flex-direction:row;
  flex-wrap:wrap;
  gap:5px}
.visit-destinations .pill{
  min-height:36px;
  font-size:13px;
  padding:8px 13px 12px;
  flex:1}
.visit-bar .left,.visit-bar .right{
  width:100%}
.visit-bar .left .pill{
  min-height:43px!important;
  font-size:13px!important;
  padding:10px 15px 14px!important}
.visit-bar .right .pill{
  flex:1}
.visit-step{
  font-size:13px}
.visit-bar{
  gap:6px}
.visit-progress{
  margin-top:8px}
}

@media(prefers-reduced-motion:reduce){
  button{
  transition:none!important}
}


.pill[aria-pressed="true"],.estate-bar .pill.active{
  background:var(--bezel) center/100% 100% no-repeat;
  --bezel:url('./game-ui/premium/blue-bezel.svg')}

.brand-edit{
  position:absolute;
  bottom:14px;
  right:14px;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#102f7188;
  border:1px solid #b5dcff66;
  color:#e7f6ff}
.brand-edit .game-icon{
  width:12px;
  height:12px}

.compare-switch{
  border:1px solid #a8bfd488;
  background:linear-gradient(#38506dec,#192c46f5);
  box-shadow:inset 0 1px 1px #d1e3f577,0 3px 0 #101929}
.compare-switch button[aria-pressed="true"]{
  background:linear-gradient(#5bc6f6,#3069c9);
  color:white;
  box-shadow:inset 0 1px #d8f5ff88,0 1px 3px #061d3e66}
.compare-switch button[aria-pressed="true"] small{
  color:#e8f9ff}

.game-pictogram{
  filter:drop-shadow(0 1px 1px #0c1a2c50)}
.homebar .game-pictogram{
  width:31px;
  height:31px}
.game-stat .stat-icon .game-pictogram{
  width:35px;
  height:35px}
.button-label{
  position:relative;
  z-index:1;
  min-width:0}
.review-orb .game-icon{
  width:31px;
  height:31px}
.review-orb .review-label{
  font-size:13px;
  font-weight:600;
  line-height:1.2}
.estate-quote .review-orb{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  font-size:14px}

.preview-tool,.model-page-button{
  background:linear-gradient(#4b617b,#243954 65%,#1a2c45);
  border:1px solid #afc5db88;
  box-shadow:inset 0 1px 1px #e1f1ff66,0 3px 0 #101d32;
  color:#e9f5ff}
.preview-tool[aria-pressed="true"]{
  background:linear-gradient(#59cef8,#2e6acb);
  color:white;
  border-color:#b8eeff}
.fan-tool svg{
  background:linear-gradient(#4c6580,#213751);
  box-shadow:inset 0 1px #b5d1e84d,0 2px 2px #0d1a3159}
.fan-tool[aria-pressed="true"] svg{
  background:linear-gradient(#58ceef,#2f6dc8)}
.fan-close{
  color:#ecf5ff;
  border:1px solid #8babc655;
  background:linear-gradient(#425a75,#203650);
  box-shadow:0 2px 0 #0d1a2c}
.model-page-button[aria-disabled="true"]{
  opacity:.5}
.model-reason{
  font-weight:650;
  line-height:1.2;
  color:#f0d5be}
.model-choice .model-name{
  line-height:1.2;
  min-height:30px}
.estate-option-detail{
  font-weight:600;
  line-height:1.2}
.model-choice[aria-pressed="true"] .model-name{
  color:#c4f1ff}

#loading::before{
  content:'';
  display:inline-block;
  width:14px;
  height:14px;
  border:2px solid #90b4d180;
  border-top-color:#daf6ff;
  border-radius:50%;
  margin-right:9px;
  vertical-align:-3px;
  animation:scene-load .8s linear infinite}
#notice{
  line-height:1.35;
  padding:13px 19px;
  font-weight:750;
  max-width:min(90%,650px)}

.sheet h1{
  line-height:1.15;
  margin-bottom:8px}
.sheet>p{
  line-height:1.5;
  color:#d1e0ed}
.ground-name{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px}
.scenario-choices .option[aria-pressed="true"] .ground-name::after{
  content:'●';
  font-size:13px;
  color:#9ce8ff}
.ground-preview{
  border:1px solid #b3c9dc55;
  box-shadow:inset 0 0 0 1px #122c44}
.history-list{
  display:grid;
  gap:0;
  margin:12px 0 18px;
  padding:0;
  list-style:none}
.history-row{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:13px 0;
  border-bottom:1px solid #bdd8ee22}
.history-order{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#183d57;
  border:1px solid #7fced455;
  color:#a2f1df;
  font-size:13px}
.history-copy b{
  display:block;
  line-height:1.25;
  font-weight:600;
  font-size:16px}
.history-copy small{
  display:block;
  font-size:11.5px;
  color:#bed2e2;
  margin-top:4px}
.history-cost{
  font-size:17px;
  color:#a7e8d4;
  font-weight:600;
  white-space:nowrap}
.opening-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border:1px solid #9ce6c266;
  border-radius:20px;
  background:#174637ce;
  color:#c6ffe4;
  font-size:13px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:0;
  margin-bottom:7px}
.opening-status::before{
  content:'';
  width:6px;
  height:6px;
  background:#94efbd;
  border-radius:50%}
.works-caption,.estate-caption{
  animation:hud-in .2s ease-out}
.sheet{
  animation:sheet-in .24s cubic-bezier(.2,.8,.2,1)}

@keyframes scene-load{
  to{
  transform:rotate(1turn)}
}
@keyframes hud-in{
  from{
  opacity:0;
  translate:0 4px}
to{
  opacity:1;
  translate:0 0}
}
@keyframes sheet-in{
  from{
  opacity:0;
  translate:0 12px}
to{
  opacity:1;
  translate:0 0}
}

@media(hover:hover){
  .pill:not(:disabled):hover,.primary:not(:disabled):hover,.option:not(:disabled):hover{
  filter:brightness(1.07)}
.pin:hover{
  filter:brightness(1.1)}
.brand:hover .brand-edit{
  background:#3c80bfaa}
}

@media(max-height:450px) and (orientation:landscape){
  .visit-destinations{
  display:grid;
  grid-template-columns:repeat(2,minmax(100px,1fr));
  max-width:270px}
.visit-destinations .pill{
  font-size:13px;
  min-height:44px;
  padding:7px 12px 11px}
.homebar .game-pictogram{
  width:27px;
  height:27px}
.game-stat .stat-icon .game-pictogram{
  width:29px;
  height:29px}
.history-row{
  padding-block:8px}
.history-copy b{
  font-size:14px}
.history-cost{
  font-size:15px}
.history-list{
  margin:7px 0 12px}
}

@media(orientation:portrait){
  .estate-bar .left>.pill{
  font-size:13px!important;
  min-width:0!important;
  padding:9px 5px 13px!important;
  gap:4px;
  white-space:nowrap}
.estate-bar .left>.pill .game-icon{
  width:21px;
  height:21px}
.game-top .brand small{
  max-width:235px;
  overflow:hidden;
  text-overflow:ellipsis}
.history-row{
  grid-template-columns:30px minmax(0,1fr);
  gap:9px}
.history-cost{
  grid-column:2;
  font-size:15px;
  margin-top:-4px}
.history-copy b{
  font-size:15px}
.homebar .visit-button .game-pictogram{
  width:29px;
  height:29px}
}

@media(prefers-reduced-motion:reduce){
  .club-crest,.sheet,.works-caption,.estate-caption,#loading::before{
  animation:none!important;
  transition:none!important}
}


#game[data-mode="project"] .options {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(650px,72vw)}
#game[data-mode="project"] .priced-choice {white-space:normal;display:flex;flex-direction:column;justify-content:start;gap:6px;min-width:0;padding:6px 6px 13px;border:1px solid #8eacc488!important;border-radius:18px;background:linear-gradient(#3d5570,#1e324c);font-size:14px;text-align:center;box-shadow:0 3px 0 #0c192c!important}
#game[data-mode="project"] .priced-choice[aria-pressed="true"] {border-color:#a1e9ff!important;box-shadow:0 0 0 1px #a1e9ff,0 3px 0 #0c192c!important}
.identity-preview {display:block;width:100%;aspect-ratio:1.95;object-fit:cover;border-radius:12px}
#game[data-mode="project"] .priced-choice .choice-price {font-weight:600;font-size:13px;color:#bfe4f3}
.estate-complete .opening-status {margin-top:8px}
@media(max-height:450px) and (orientation:landscape){#game[data-mode="project"] .options {width:min(590px,68vw);gap:9px}#game[data-mode="project"] .priced-choice {font-size:13px;padding-bottom:10px}.identity-preview {aspect-ratio:2.6}}
@media(orientation:portrait){#game[data-mode="project"] .options {width:100%;gap:7px}#game[data-mode="project"] .priced-choice {font-size:13px;padding:4px 4px 10px;line-height:1.2;border-radius:14px}#game[data-mode="project"] .priced-choice .choice-price {font-size:13px}.identity-preview {aspect-ratio:1.6;border-radius:10px}}

@media(max-width:359px) and (orientation:portrait){
 .homebar .left>.pill[data-tone=blue],.homebar .left>.pill[data-tone=orange]{min-width:0;min-height:51px;font-size:15px;gap:5px;padding:11px 10px 15px;flex:1 1 0}
 .homebar .left>.pill .game-pictogram{width:24px;height:24px}
 .homebar .left>.visit-button{width:44px;min-width:44px;height:46px;min-height:46px;padding:9px;flex:none}
 .homecopy h1{font-size:18px}.homecopy p{font-size:13px}
 .game-top .brand strong{font-size:21px}.game-top .brand small{font-size:11.5px}
 .game-top .brand .club-crest{width:55px;height:55px}.game-top .crest-mount{width:57px;height:57px}
 .game-stat{min-width:114px;padding-inline:11px}.game-stat .stat-copy>b{font-size:23px}.game-stat .stat-icon .game-pictogram{width:27px;height:27px}
 .visit-destinations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;bottom:136px}
 .visit-destinations .pill{min-width:0;min-height:44px;font-size:13px;padding:7px 5px 11px;white-space:normal}
 .visit-caption h1{font-size:24px}.visit-caption p{font-size:13px}
}
.ground-preview,.identity-preview{position:relative;overflow:hidden;flex:none}
.preview-capture{display:block;width:100%;height:100%;object-fit:cover;object-position:left top}
.preview-capture.capture-wide{position:absolute;inset:0 auto auto 0;width:189.3056%;max-width:none;height:auto;object-fit:fill}
/* Identity samples concentrate on the exterior, rather than repeat the roof. */
#game[data-mode="project"] .identity-preview{aspect-ratio:2.6}
.identity-preview .preview-capture.capture-wide{width:212.96875%;left:-5.46875%;top:-62.96875%;height:auto}

.sheet-history{width:min(calc(100% - 40px),640px)}.sheet-reset{width:min(calc(100% - 40px),570px)}.history-list{align-self:stretch;width:100%}
#loading[data-state="error"]::before{content:'!';animation:none;border:1px solid #eac494;border-radius:50%;background:#805333;color:#fff2d3;line-height:14px;font-size:13px;text-align:center;vertical-align:-1px}
@media(orientation:portrait){.sheet-history,.sheet-reset{width:calc(100% - 20px)}}

/* Main navigation: reduce the oversize controls while keeping an even label
   baseline and a 44px minimum touch target. Keep each authored bezel intact. */
:is(.homebar,.estate-bar,.visit-bar,.visit-destinations,.trade-bar) :is(.pill,.primary){
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1.1;
  padding-block:0!important;
  min-height:44px!important;
}
:is(.homebar,.estate-bar,.visit-bar,.trade-bar) .pill{
  padding-inline:clamp(10px,1.8vw,20px)!important;
  font-size:clamp(13px,1.35vw,18px)!important;
  gap:7px;
}
.homebar .left>.pill[data-tone=blue],
.homebar .left>.pill[data-tone=orange],
.homebar .right>.pill[data-tone=purple]{
  min-height:56px!important;
  font-size:clamp(15px,1.75vw,19px)!important;
  padding-inline:clamp(12px,2vw,23px)!important;
}
.homebar .visit-button{
  min-width:44px;
  min-height:44px!important;
  padding-inline:12px!important;
  font-size:13px!important;
}
:is(.estate-bar,.trade-bar) .left>.pill,
:is(.estate-bar,.trade-bar) .right>.pill{
  min-height:44px!important;
  font-size:clamp(13px,1.2vw,15px)!important;
  padding-inline:clamp(8px,1.4vw,15px)!important;
}
.visit-destinations .pill{
  min-height:44px!important;
  font-size:clamp(13px,1vw,13px)!important;
  padding-inline:clamp(9px,1.3vw,15px)!important;
  padding-block:0!important;
}
.visit-bar .pill{
  min-height:44px!important;
  font-size:clamp(13px,1.2vw,14px)!important;
  padding-inline:clamp(10px,1.5vw,17px)!important;
}
:is(.homebar,.estate-bar,.trade-bar) .round{
  box-sizing:border-box;
  width:44px!important;
  height:44px!important;
  min-width:44px;
  min-height:44px!important;
  padding:0!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
:is(.homebar,.estate-bar,.trade-bar) .game-icon,
:is(.homebar,.estate-bar,.trade-bar) .game-pictogram,
.visit-destinations .game-icon,
.visit-destinations .game-pictogram,
.visit-bar .game-icon,
.visit-bar .game-pictogram{
  flex:none;
  display:block;
  vertical-align:middle;
}
:is(.homebar,.estate-bar,.visit-bar,.visit-destinations,.trade-bar) .button-label{
  display:block;
  line-height:1.1;
  text-align:center;
}
@media(max-height:450px) and (orientation:landscape){
  .homebar .left>.pill[data-tone=blue],
  .homebar .left>.pill[data-tone=orange],
  .homebar .right>.pill[data-tone=purple]{min-height:44px!important}
}
/* The SVG face sits above its lower shadow lip; centre content on that face. */
:is(.homebar,.estate-bar,.visit-bar,.visit-destinations,.trade-bar) :is(.pill,.primary){padding-block:0 4px!important}
.homebar .left>.pill[data-tone=blue],.homebar .left>.pill[data-tone=orange],.homebar .right>.pill[data-tone=purple]{min-width:0}
.homebar .right>.pill[data-tone=purple]{min-width:157px}
:is(.homebar,.estate-bar,.visit-bar,.visit-destinations,.trade-bar) .game-pictogram{width:28px!important;height:28px!important}
:is(.homebar,.estate-bar,.visit-bar,.visit-destinations,.trade-bar) .game-icon{width:23px;height:23px}
@media(orientation:portrait){
 .homebar .left>.visit-button .button-label{display:none}
 .homebar .left>.visit-button{padding-inline:0!important;gap:0}
}
@media(max-height:450px) and (orientation:landscape){
 :is(.homebar,.estate-bar,.visit-bar,.visit-destinations,.trade-bar) .game-pictogram{width:25px!important;height:25px!important}
}
