/* The paper, jade and illustrated world belong to 50 Tahun. */
.novice-masthead{min-height:76px;padding-block:17px;align-items:center;background:var(--navy);}
.novice-masthead h1{font-size:28px;letter-spacing:-.02em;}
.novice-masthead h1::before{content:none;}
.novice-welcome,.novice-game,.novice-checkpoint{max-width:1160px;margin:0 auto;padding:36px clamp(18px,4vw,44px) 72px;}
.novice-welcome{max-width:1240px;padding-top:52px;}
.novice-intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:52px;align-items:center;}
.novice-intro h1{font-family:var(--serif);font-size:clamp(36px,4.2vw,58px);line-height:1.13;letter-spacing:-.025em;white-space:pre-line;text-wrap:balance;margin:0 0 20px;max-width:15ch;}
.novice-intro-lede{font-size:17px;line-height:1.7;max-width:47ch;margin:0 0 15px;color:var(--ink-soft);}
.novice-duration{font-size:14px;font-weight:650;color:var(--jade);margin:0 0 25px;}
.novice-start-context{padding:17px 0;border-block:1px solid var(--paper-line);margin-bottom:22px;}
.novice-start-context b,.novice-start-context span{display:block;}
.novice-start-context b{font-size:16px;line-height:1.5;}
.novice-start-context span{font-size:13px;color:var(--ink-soft);line-height:1.5;margin-top:4px;}
.novice-start-btn{padding:14px 26px;min-height:52px;font-size:17px;min-width:230px;background:var(--jade);border-color:var(--jade);border-radius:8px;}
.novice-intro-art{margin:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;}
.novice-intro-art img{width:100%;height:385px;object-fit:cover;object-position:center;border-radius:48% 48% 12px 12px;display:block;}
.novice-intro-art figcaption{font-family:var(--serif);font-size:17px;color:var(--ink-soft);line-height:1.6;margin:18px 10px 0;text-align:center;}
.novice-save-caption{font-size:13px;color:var(--ink-soft);line-height:1.6;margin:8px 0 0;}
.novice-customize,.novice-replace-save{margin-top:18px;font-size:14px;}
.novice-customize summary,.novice-replace-save summary,.novice-detail>summary{cursor:pointer;color:var(--navy);font-weight:600;min-height:44px;padding:12px 0;line-height:1.5;}
.novice-customize p,.novice-replace-save p{font-size:13px;line-height:1.6;color:var(--ink-soft);max-width:55ch;margin:8px 0;}
.novice-setup-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px;}
.novice-setup-fields label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--ink-soft);}
.novice-setup-fields label:last-child{grid-column:1/-1;max-width:240px;}
.novice-setup-fields select{width:100%;min-height:46px;font:inherit;font-size:15px;color:var(--ink);background:var(--panel);border:1px solid var(--panel-edge);padding:9px;border-radius:6px;}
.novice-welcome-foot{border-top:1px solid var(--paper-line);margin-top:44px;padding-top:20px;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;}
.novice-welcome-foot p{font-size:12px;color:var(--ink-soft);line-height:1.6;max-width:55ch;margin:0;}
.novice-back-link{font:inherit;font-size:13px;color:var(--navy);background:transparent;border:0;padding:10px 0;min-height:44px;text-align:left;text-decoration:underline;text-underline-offset:4px;line-height:1.5;}
.novice-chapter-progress{display:flex;gap:10px 22px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--ink-soft);margin-bottom:22px;}
.novice-chapter-progress b{margin-left:auto;color:var(--navy);font-weight:600;}
.novice-chapter-progress progress{width:100%;height:5px;appearance:none;border:0;border-radius:0;background:var(--paper-line);}
.novice-chapter-progress progress::-webkit-progress-bar{background:var(--paper-line);}
.novice-chapter-progress progress::-webkit-progress-value{background:var(--jade);}
.novice-chapter-progress progress::-moz-progress-bar{background:var(--jade);}
.novice-dashboard{display:grid;grid-template-columns:.9fr 1.05fr 1.05fr;gap:20px;padding:0 0 24px;margin:0;border-bottom:1px solid var(--paper-line);}
.novice-dashboard>div{min-width:0;}
.novice-dashboard dt{font-size:12px;color:var(--ink-soft);line-height:1.5;margin-bottom:6px;}
.novice-dashboard dd{font-family:var(--sans);font-variant-numeric:tabular-nums;margin:0;color:var(--navy);font-size:clamp(20px,2.7vw,29px);font-weight:700;letter-spacing:-.025em;line-height:1.2;}
.novice-dashboard>div:first-child dd{font-size:clamp(19px,2.3vw,25px);font-weight:600;}
.novice-goal{padding:26px 0 18px;max-width:75ch;}
.novice-goal h1{font-family:var(--serif);font-size:clamp(24px,3vw,33px);letter-spacing:-.02em;line-height:1.25;text-wrap:balance;margin:0 0 10px;}
.novice-goal p{font-size:15px;color:var(--ink-soft);line-height:1.65;margin:0;max-width:67ch;}
.novice-goal .novice-paused{margin-top:12px;padding:10px 13px;background:color-mix(in srgb,var(--brass) 13%,var(--panel));border-radius:6px;color:var(--ink);font-weight:600;font-size:13px;}
.novice-goal .novice-future-note{font-size:12px;margin-top:9px;}
.novice-first-coach{display:flex;align-items:center;gap:11px;margin-top:14px;max-width:57ch;}
.novice-first-coach-photo{width:40px;height:40px;object-fit:cover;object-position:center 24%;border-radius:50%;flex:none;}
.novice-first-coach p{font-size:12px;line-height:1.55;color:var(--jade);}
.novice-purchase-controls .field:first-of-type{margin-top:12px;}
.novice-property-source .tip{font-size:13px;line-height:1.6;}
.novice-play-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:32px;align-items:start;}
.novice-main-column{min-width:0;}
.novice-coach-column{padding-top:4px;min-width:0;}
.novice-world .world-card{margin:0 0 22px;}
.novice-world .world-scene{height:220px;}
.novice-world .world-copy{padding:12px 15px;}
.novice-world .world-copy h3{font-size:18px;}
.novice-world .world-copy p{font-size:13px;}
.novice-budget-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:4px 0 26px;max-width:850px;}
.novice-budget-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:18px 20px;border:1px solid var(--navy-soft);background:var(--panel);border-radius:12px;gap:9px;font-size:13px;line-height:1.6;color:var(--ink-soft);box-shadow:none;}
.novice-budget-choice .novice-choice-title{color:var(--navy);font-size:17px;font-weight:700;line-height:1.4;}
.novice-budget-choice:hover,.novice-home-choice:hover{background:color-mix(in srgb,var(--jade) 7%,var(--panel));border-color:var(--jade);}
.novice-budget-choice.selected{border:2px solid var(--jade);padding:17px 19px;background:color-mix(in srgb,var(--jade) 6%,var(--panel));}
.novice-choice-math{margin-top:auto;padding-top:5px;}
.novice-choice-math b{display:block;font-size:23px;color:var(--jade);font-variant-numeric:tabular-nums;line-height:1.4;}
.novice-choice-action{font-size:13px;color:var(--navy);font-weight:700;text-decoration:underline;text-underline-offset:3px;display:block;padding-top:3px;}
.novice-choice-action::after{content:' →';}
.novice-decisions{margin:8px 0 30px;}
.novice-decisions h2,.novice-summary h2,.novice-recap-outcomes h2{font-family:var(--serif);font-size:22px;letter-spacing:-.015em;line-height:1.3;margin:0 0 12px;}
.novice-action-list{border-top:1px solid var(--paper-line);}
.novice-action-list>button{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%;border:0;border-bottom:1px solid var(--paper-line);background:transparent;padding:15px 2px;text-align:left;min-height:58px;line-height:1.5;}
.novice-action-list>button:hover{background:color-mix(in srgb,var(--jade) 7%,transparent);}
.novice-action-list>button b{color:var(--navy);font-size:15px;font-weight:650;flex:1;}
.novice-action-list>button span{font-size:12px;color:var(--ink-soft);max-width:45%;text-align:right;}
.novice-action-list>button::after{content:'→';color:var(--navy);font-size:18px;}
.novice-unlock-note{color:var(--ink-soft);font-size:12px;line-height:1.6;margin:12px 0;}
.novice-summary{padding:25px 0 12px;border-top:1px solid var(--paper-line);margin-top:24px;}
.novice-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:16px;}
.novice-section-heading h2{margin:0;}
.novice-section-heading>span{font-size:12px;color:var(--ink-soft);}
.novice-cash-equation{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:9px;margin:0 0 18px;}
.novice-cash-equation>div{min-width:0;}
.novice-cash-equation dt{font-size:10px;color:var(--ink-soft);line-height:1.5;margin-bottom:5px;}
.novice-cash-equation dd{font-size:15px;font-variant-numeric:tabular-nums;margin:0;font-weight:650;white-space:nowrap;letter-spacing:-.02em;}
.novice-cash-equation>span{font-size:16px;color:var(--ink-soft);}
.novice-equation-total dd{color:var(--jade);}
.novice-event-list{list-style:none;padding:0;margin:14px 0;}
.novice-event-list li{padding:10px 0;font-size:13px;line-height:1.6;border-bottom:1px solid var(--paper-line);}
.novice-event-list li:last-child{border-bottom:0;}
.novice-event-list li>span{display:block;font-size:11px;color:var(--ink-soft);margin-bottom:3px;}
.novice-summary-note,.novice-detail p{font-size:13px;line-height:1.65;color:var(--ink-soft);max-width:70ch;}
.novice-detail{margin:12px 0;border-bottom:1px solid var(--paper-line);}
.novice-detail>summary{font-size:13px;}
.novice-detail[open]{padding-bottom:13px;}
.novice-help{margin-top:16px;}
.novice-help .simulation-note{font-size:11px;}
.novice-month-entry{border-bottom:1px solid var(--paper-line);padding:0 0 5px;margin:0;}
.novice-month-entry>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;padding:12px 0;min-height:44px;font-size:13px;}
.novice-month-entry>summary b{font-variant-numeric:tabular-nums;font-weight:600;color:var(--jade);}
.novice-month-entry dl{margin:4px 0 14px;}
.novice-month-entry dl>div{display:flex;gap:15px;justify-content:space-between;padding:5px 0;font-size:12px;line-height:1.5;}
.novice-month-entry dt{color:var(--ink-soft);}
.novice-month-entry dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap;}
.novice-turnbar{position:fixed;inset:auto 0 0;background:var(--panel);box-shadow:0 -4px 22px rgba(22,35,47,.1);z-index:35;padding:12px clamp(18px,4vw,44px);padding-bottom:max(12px,env(safe-area-inset-bottom));}
.novice-turnbar>div{max-width:1072px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.novice-turnbar span{font-size:13px;color:var(--ink-soft);line-height:1.4;}
.novice-turnbar .btn{background:var(--jade);border-color:var(--jade);border-radius:7px;min-height:48px;min-width:210px;}
.novice-game{padding-bottom:120px;}
.novice-context-note{padding:12px 14px;background:color-mix(in srgb,var(--jade) 8%,var(--panel));border-radius:7px;color:var(--ink);font-size:13px;line-height:1.65;}
.novice-home-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0;}
.novice-home-choice{display:flex;flex-direction:column;text-align:left;gap:10px;background:var(--panel);border:1px solid var(--panel-edge);border-radius:12px;padding:18px;line-height:1.5;}
.novice-home-kind{color:var(--ink-soft);font-size:11px;}
.novice-home-choice>b{font-family:var(--serif);font-size:19px;line-height:1.3;color:var(--navy);}
.novice-home-choice>span:not(.novice-home-kind):not(.novice-choice-action){font-size:12px;color:var(--ink-soft);}
.novice-home-choice>strong{font-size:21px;font-variant-numeric:tabular-nums;margin-top:auto;color:var(--navy);}
button.listing{width:100%;text-align:left;background:transparent;color:var(--ink);font-family:var(--sans);}
.novice-checkpoint{max-width:900px;}
.novice-recap-intro{max-width:68ch;margin:8px 0 27px;}
.novice-recap-intro h1{font-family:var(--serif);font-size:clamp(31px,4.8vw,47px);line-height:1.16;letter-spacing:-.025em;margin:0 0 16px;text-wrap:balance;}
.novice-recap-intro p{font-size:15px;line-height:1.75;color:var(--ink-soft);margin:10px 0;}
.novice-recap-intro .novice-recap-route{color:var(--jade);font-weight:650;}
.novice-recap-scene .world-card{margin:0 0 28px;}
.novice-recap-outcomes{padding:25px 0;border-top:1px solid var(--paper-line);border-bottom:1px solid var(--paper-line);margin-bottom:24px;}
.novice-recap-outcomes dl{margin:18px 0;}
.novice-recap-outcomes dl>div{display:grid;grid-template-columns:1fr 1.1fr;gap:24px;padding:11px 0;border-bottom:1px solid var(--paper-line);font-size:14px;line-height:1.6;}
.novice-recap-outcomes dl>div:last-child{border-bottom:0;}
.novice-recap-outcomes dt{color:var(--ink-soft);}
.novice-recap-outcomes dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;}
.novice-recap-outcomes p{font-size:14px;line-height:1.7;max-width:72ch;color:var(--ink-soft);margin:18px 0 0;}
.novice-recap-actions{margin:30px 0;}
.novice-recap-actions>.btn{margin:0 10px 10px 0;min-height:48px;border-radius:7px;}
.novice-recap-actions>.btn:not(.ghost){background:var(--jade);border-color:var(--jade);}
.novice-recap-actions>p{font-size:13px;color:var(--ink-soft);line-height:1.65;max-width:65ch;}
.novice-recap-actions .novice-saved-result{color:var(--jade);font-weight:700;font-size:16px;}
.novice-chapter-record .novice-summary{margin:12px 0;}
.novice-game .negative,.novice-checkpoint .negative,.novice-budget-options .negative{color:var(--alarm)!important;}
.novice-welcome button:focus-visible,.novice-game button:focus-visible,.novice-checkpoint button:focus-visible,.novice-turnbar button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--brass);outline-offset:4px;}
@media(min-width:1100px){.novice-coach-column{position:sticky;top:22px;}}
@media(max-width:850px){
  .novice-welcome{padding-top:34px;}
  .novice-intro{gap:28px;grid-template-columns:1.15fr .85fr;}
  .novice-intro-art img{height:330px;}
  .novice-intro-art figcaption{font-size:15px;}
  .novice-play-layout{grid-template-columns:minmax(0,1fr) 245px;gap:22px;}
  .novice-cash-equation{grid-template-columns:1fr 1fr;gap:15px;}
  .novice-cash-equation>span{display:none;}
  .novice-cash-equation dd{font-size:17px;}
  .novice-action-list>button{align-items:flex-start;flex-wrap:wrap;position:relative;padding-right:22px;}
  .novice-action-list>button b{flex:1 1 100%;}
  .novice-action-list>button span{text-align:left;max-width:100%;}
  .novice-action-list>button::after{position:absolute;right:2px;top:16px;}
}
@media(max-width:650px){
  .novice-masthead{min-height:64px;padding:13px 18px;}
  .novice-masthead h1{font-size:24px;}
  .novice-masthead .langtoggle button{min-height:34px;padding-inline:12px;}
  .novice-welcome,.novice-game,.novice-checkpoint{padding-inline:20px;}
  .novice-welcome{padding-top:29px;}
  .novice-intro{display:block;}
  .novice-intro h1{font-size:36px;max-width:18ch;margin-bottom:15px;}
  .novice-intro-lede{font-size:15px;line-height:1.65;}
  .novice-duration{font-size:12px;margin-bottom:18px;}
  .novice-start-context{padding:13px 0;margin-bottom:18px;}
  .novice-start-context b{font-size:15px;}
  .novice-start-context span{font-size:12px;}
  .novice-start-btn{width:100%;font-size:16px;}
  .novice-intro-art{display:none;}
  .novice-customize,.novice-replace-save{margin-top:8px;}
  .novice-setup-fields{grid-template-columns:1fr;gap:12px;}
  .novice-setup-fields label:last-child{grid-column:auto;max-width:none;}
  .novice-welcome-foot{display:block;margin-top:28px;padding-top:17px;}
  .novice-welcome-foot p{font-size:11px;}
  .novice-welcome-foot .novice-back-link{margin-top:5px;font-size:12px;}
  .novice-game{padding-top:20px;padding-bottom:140px;}
  .novice-chapter-progress{font-size:11px;gap:8px;margin-bottom:18px;}
  .novice-chapter-progress b{font-size:11px;}
  .novice-dashboard{gap:12px;padding-bottom:19px;grid-template-columns:.9fr 1fr 1fr;}
  .novice-dashboard dt{font-size:10px;margin-bottom:6px;}
  .novice-dashboard dd,.novice-dashboard>div:first-child dd{font-size:17px;line-height:1.3;letter-spacing:-.025em;}
  .novice-dashboard>div:first-child dd{font-size:16px;}
  .novice-goal{padding-top:22px;padding-bottom:18px;}
  .novice-goal h1{font-size:26px;line-height:1.25;}
  .novice-goal p{font-size:14px;line-height:1.65;}
  .novice-play-layout{display:flex;flex-direction:column;gap:12px;}
  .novice-main-column,.novice-coach-column{width:100%;}
  .novice-coach-column{display:contents;}
  .novice-coach-column>.novice-coach,.novice-coach-column>.tristan-v2,.novice-coach-column>.tristan-card{order:-1;width:100%;}
  .novice-main-column{order:0;}
  .novice-help{order:1;width:100%;}
  .novice-world .world-scene{height:168px;}
  .novice-world .world-card{margin-bottom:22px;}
  .novice-world .world-copy{padding:10px 12px;}
  .novice-world .world-copy p{font-size:12px;}
  .novice-budget-options{grid-template-columns:1fr;gap:10px;margin:0 0 23px;}
  .novice-budget-choice{padding:15px 17px;gap:6px;}
  .novice-budget-choice.selected{padding:14px 16px;}
  .novice-budget-choice .novice-choice-title{font-size:16px;}
  .novice-choice-math{padding-top:0;}
  .novice-choice-math b{display:inline;margin-left:7px;font-size:19px;}
  .novice-choice-action{padding-top:0;font-size:12px;}
  .novice-action-list>button{gap:3px;padding-block:13px;min-height:66px;}
  .novice-action-list>button span{font-size:12px;}
  .novice-cash-equation{grid-template-columns:1fr 1fr;row-gap:14px;}
  .novice-cash-equation dt{font-size:11px;}
  .novice-cash-equation dd{font-size:18px;}
  .novice-equation-total{border-top:1px solid var(--paper-line);padding-top:8px;margin-top:-8px;}
  .novice-turnbar{padding:10px 20px;padding-bottom:max(12px,env(safe-area-inset-bottom));}
  .novice-turnbar>div{display:block;}
  .novice-turnbar span{display:block;text-align:center;font-size:11px;margin-bottom:7px;}
  .novice-turnbar .btn{width:100%;font-size:15px;min-height:48px;}
  .novice-home-choices{grid-template-columns:1fr;}
  .novice-home-choice{gap:7px;padding:16px;}
  .novice-home-choice>strong{font-size:20px;}
  .novice-checkpoint{padding-top:28px;}
  .novice-recap-intro h1{font-size:33px;}
  .novice-recap-intro p{font-size:14px;}
  .novice-recap-outcomes dl>div{grid-template-columns:1fr;gap:5px;padding:13px 0;}
  .novice-recap-outcomes dd{font-size:15px;}
  .novice-recap-actions>.btn{width:100%;margin-right:0;font-size:14px;}
}
@media(prefers-reduced-motion:no-preference){.novice-intro-art img{animation:noviceArtArrive .7s cubic-bezier(.16,1,.3,1) both;}@keyframes noviceArtArrive{from{clip-path:inset(0 0 12% 0 round 48% 48% 12px 12px);}to{clip-path:inset(0 round 48% 48% 12px 12px);}}}
