/* Enabled by interface.js only when the visitor explicitly uses the phone UI. */
:root{--phone-width:620px;--phone-green:#285e48;--phone-ink:#243e34;--phone-line:#d5e0cd;--phone-bottom:136px;--phone-safe:env(safe-area-inset-bottom,0px);--shadow:0 2px 0 #dfe7d8}
html{background:#e4ecdf;scroll-padding-top:88px;scroll-padding-bottom:160px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",sans-serif;font-size:16px;line-height:1.65;background:#f3f6ed;background-image:none;color:var(--phone-ink);margin:auto;max-width:var(--phone-width);min-height:100vh;min-height:100dvh;padding-bottom:calc(var(--phone-bottom) + var(--phone-safe));overflow-wrap:anywhere}
button,input,select,textarea{font:inherit;touch-action:manipulation}button,a,summary{-webkit-tap-highlight-color:#40664e22}button,summary{min-height:48px}button{transition:background .12s}button:active{transform:none}button:disabled{opacity:.55}
button:focus-visible,summary:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d9a044;outline-offset:3px}
input,select,textarea{font-size:16px!important;line-height:1.5;min-height:50px;border-radius:12px;padding:13px 14px;max-width:100%;background:#fffef8;border:1px solid #bdcdb8}textarea{min-height:104px;resize:vertical}
input[type=checkbox],input[type=radio]{min-height:22px;width:22px;height:22px;flex-shrink:0}label{font-size:13px;line-height:1.5;letter-spacing:0;color:#425e4b;margin-bottom:8px}small,.tiny{font-size:13px;line-height:1.6}.muted{color:#5b7060}.note{font-size:14px;line-height:1.65;padding:13px 14px;border-radius:12px;color:#4a6351}.eyebrow{font-size:11px;letter-spacing:1px}
h2{font-size:24px;letter-spacing:-.5px;line-height:1.35}h3{font-size:18px;line-height:1.4}h4{font-size:16px}.money{font-variant-numeric:tabular-nums}.btn,.btn.small{font-size:14px;line-height:1.45;min-height:48px;padding:12px 15px;border-radius:12px;box-shadow:none;gap:7px;max-width:100%;border-width:1px}.btn.small{padding:11px 13px}.btn>.pixel-art{width:24px;height:24px}.btn.outline{background:#fffef7;border-color:#bdcfad;color:#315b43}.btn.secondary{background:#e7eee0;color:#365740}.btn.wide{width:100%}.textbtn{font-size:13px;min-height:44px}.badge,.pill,.planned-tag{font-size:12px;line-height:1.5}
.topbar.mobile-header{min-height:72px;height:auto;max-width:var(--phone-width);margin:auto;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top,0px));gap:10px;display:flex;flex-wrap:nowrap;background:#fffdf6f5;border-bottom:1px solid var(--phone-line);box-shadow:0 2px 0 #dfe7d83b;position:sticky;top:0;z-index:24;backdrop-filter:blur(10px)}
.mobile-header .brand{gap:8px;min-width:0;flex-shrink:1}.mobile-header .brandmark{width:34px;height:38px;border:0;box-shadow:none;background:transparent}.mobile-header .brandmark .pixel-art{width:34px;height:34px}.mobile-header .brandname{font-size:19px;letter-spacing:-.6px;white-space:nowrap;line-height:1.25}.mobile-header .brandcaption{display:block;font-size:8px;letter-spacing:.45px;line-height:1.5;margin-top:3px}.mobile-header .topright{margin-left:auto;gap:6px;flex-wrap:nowrap;width:auto;flex-shrink:0}.mobile-header .topright .btn{font-size:13px;padding:10px 11px;min-height:44px;gap:5px}.mobile-header .topright .pixel-art{display:none}.topnav,.worldlabel{display:none}
.app-layout{display:block;max-width:var(--phone-width);padding:0 16px;margin:14px auto 0;gap:0}.maincol{min-width:0}.leftcol,.rightcol{display:none}.card{border:1px solid var(--phone-line);padding:18px;border-radius:16px;background:#fffef8;box-shadow:var(--shadow);min-width:0}.section-gap{margin-bottom:18px}.pagehead{margin:18px 0}.pagehead h2{font-size:25px;line-height:1.32}.pagehead p,.hero-life p{font-size:15px;line-height:1.65;margin-top:9px}.pagehead .period{font-size:12px;margin-top:9px}.row,.flex{min-width:0;gap:10px}.row{flex-wrap:wrap}.row>*{min-width:0}.grid2,.grid3{gap:10px}.grid3{grid-template-columns:1fr 1fr}.grid3>.kpi:last-child:nth-child(odd){grid-column:1/-1}.grid2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.mobile-profile{border:1px solid var(--phone-line);background:#fffdf6;border-radius:16px;margin-bottom:14px;box-shadow:var(--shadow);overflow:hidden}.mobile-profile>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:13px 14px;gap:10px;min-height:80px}.mobile-person{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.mobile-person>.pixel-person{width:33px;height:44px;flex-shrink:0}.mobile-person strong{display:block;font-size:15px;line-height:1.4}.mobile-person small{display:block;font-size:12px;color:#5c735e;margin-top:3px}.mobile-wallet{flex:0 1 47%;text-align:right}.mobile-wallet strong{display:block;font-size:15px;line-height:1.4}.mobile-wallet small{font-size:11px;display:block;color:#5c735e}.mobile-profile[open]>summary{border-bottom:1px solid var(--phone-line)}.mobile-profile-body{padding:14px}.mobile-profile-body .sidebar-profile{border:0;box-shadow:none;background:transparent;margin:0 0 12px;padding:0;display:block}.mobile-profile-body .avatar,.mobile-profile-body .profile-name,.mobile-profile-body .agebar{display:none}.mobile-profile-body .profile-sub{font-size:14px;margin-bottom:8px}.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding-top:8px}.profile-stats .statline{margin:0}.profile-stats .statline .row{font-size:12px}.mobile-health{display:none}
.ux-next{padding:16px;border-radius:16px;margin-bottom:18px;border:1px solid #bcccab;box-shadow:none}.ux-next-top{font-size:10px;letter-spacing:.6px}.ux-next-top small{font-size:12px}.ux-next-row{display:flex;flex-direction:column;align-items:stretch;gap:14px}.ux-next h3{font-size:18px;line-height:1.4}.ux-next p{font-size:14px;line-height:1.65}.ux-next .btn{max-width:none;width:100%}.ux-fold,.ux-catalog-group,.ux-catalog-more{border:1px solid var(--phone-line);border-radius:14px;box-shadow:none;margin-bottom:16px;background:#fffef8}.ux-fold>summary,.ux-catalog-more>summary{padding:16px;gap:12px;min-height:62px}.ux-fold>summary strong,.ux-catalog-more>summary strong{font-size:16px}.ux-fold>summary small,.ux-catalog-group>summary small,.ux-catalog-more>summary small{font-size:12px;line-height:1.6}.ux-fold>.ux-fold-body>.card{padding:16px}.ux-catalog-group{background:#f3f7ed;margin:0}.ux-catalog-group>summary{padding:14px;min-height:60px}.ux-catalog-group>summary strong{font-size:15px}.ux-catalog-group>.ux-fold-body{padding:0 14px}.ux-inline-fold>summary{font-size:14px;min-height:48px}.ux-catalog-more>.ux-fold-body{padding:14px}.ux-view-options{grid-template-columns:1fr}.ux-view-option{border-radius:14px;padding:17px}.ux-view-option strong{font-size:17px}.ux-view-option span{font-size:14px}
.mobile-navigation.ux-navigation{display:block;position:fixed;inset:0;z-index:60;border:0;background:none;margin:0;border-radius:0;pointer-events:none}.mobile-navigation:not([open]){height:0;inset:auto;overflow:hidden}.mobile-menu-sr{display:none}.mobile-navigation[open]{pointer-events:auto}.mobile-menu-backdrop{position:absolute;inset:0;background:#193a31a8;backdrop-filter:blur(3px);touch-action:none}.mobile-menu-panel{position:absolute;bottom:0;left:0;right:0;margin:auto;max-width:var(--phone-width);background:#fffdf5;border-radius:24px 24px 0 0;border:1px solid #d8e1d1;max-height:91vh;max-height:91dvh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -8px 30px #203b3525}.mobile-menu-head{padding:19px 18px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--phone-line)}.mobile-menu-head small{font-size:10px;letter-spacing:1px;color:#66795f}.mobile-menu-head h2{font-size:21px;margin-top:4px}.close{min-width:48px;min-height:48px;font-size:26px;background:#e9efe0;border-radius:14px;color:#355743;flex-shrink:0}.mobile-menu-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;padding:8px 12px calc(20px + var(--phone-safe))}.mobile-menu-panel .sidenav{display:block!important;position:static;border:0;box-shadow:none;background:transparent;padding:0!important;margin:0}.ux-nav-group>summary{padding:13px 8px;min-height:70px}.ux-nav-title>.pixel-art{width:34px;height:34px}.ux-nav-title strong{font-size:16px}.ux-nav-title small{font-size:12px;line-height:1.5}.ux-nav-group>div{padding:0 0 10px 6px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.sidenav button{font-size:14px;min-height:52px;padding:12px 10px;background:#f1f5e8;border:1px solid #e1e7d8;border-radius:12px}.sidenav button.active{box-shadow:none;background:#e1ecd5;border-color:#b9cdab}.sidenav button .arrow{margin-left:auto}.mobile-menu-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 4px 14px}.mobile-menu-tools>.wide{grid-column:1/-1}.mobile-menu-scroll>.note{margin:4px}
.mobile-dock.ux-mobile-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;max-width:var(--phone-width);margin:auto;z-index:30;background:#fffdf6f7;border-top:1px solid var(--phone-line);padding:6px 8px calc(6px + var(--phone-safe));gap:3px;box-shadow:none;backdrop-filter:blur(10px)}.mobile-dock button{min-height:60px;font-size:11px;font-weight:650;border-radius:13px;padding:5px 0;gap:3px;color:#5b6d55}.mobile-dock .pixel-art{width:28px;height:28px}.mobile-dock button[aria-current=page]{background:#e5efd9;color:#254f3a}.mobile-turnbar{position:fixed;bottom:calc(73px + var(--phone-safe));left:0;right:0;max-width:var(--phone-width);margin:auto;background:#edf3e4f5;border-top:1px solid #d0ddc5;padding:8px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:29;min-height:64px;backdrop-filter:blur(10px)}.mobile-turnbar small{font-size:11px;display:block;color:#5b7155;line-height:1.4}.mobile-turnbar strong{font-size:13px;display:block;line-height:1.5}.mobile-turnbar .btn{background:#386947;color:#fff;box-shadow:0 2px 0 #244a34;border:0;min-height:46px;font-size:14px;padding:11px 18px}.mobile-keyboard .mobile-turnbar,.mobile-keyboard .mobile-dock{display:none}.mobile-keyboard body{padding-bottom:20px}.mobile-quarter-readout{background:#eef4e5;border-radius:14px;padding:10px 14px;margin:15px 0}.mobile-plan-list{padding-left:22px;font-size:15px;line-height:1.75}
.tutorial-card{border:1px solid #baceaa;border-radius:16px;padding:17px;margin-bottom:18px;box-shadow:none}.tutorial-card h3{font-size:20px;line-height:1.35}.tutorial-card p{font-size:15px;line-height:1.65}.tutorial-top{font-size:11px}.tutorial-progress{margin:13px 0}.tutorial-quick{display:flex;flex-direction:column;gap:9px}.tutorial-quick .btn{width:100%;min-width:0;min-height:52px;font-size:15px}.tutorial-actions{display:flex;flex-wrap:wrap;gap:8px}.tutorial-secondary{font-size:13px;min-height:44px;padding:8px 4px}.tutorial-skip{display:flex;flex-wrap:wrap;gap:4px 10px}.tutorial-skip button{min-height:44px;font-size:12px;padding:8px 0}.tutorial-why>summary{font-size:13px;min-height:44px;display:flex;align-items:center}.tutorial-why p{font-size:14px}.tutorial-guide-link{padding:14px;min-height:66px;border-radius:12px}.tutorial-guide-link strong{font-size:15px}.tutorial-guide-link small{font-size:12px}.tutorial-target{outline-offset:3px!important;scroll-margin:100px 0 170px}
.town-shell{border-radius:16px;border:1px solid #bcccaa;box-shadow:var(--shadow);margin-bottom:18px}.town-toolbar{padding:12px 13px;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:1px solid #cedbbe}.town-toolbar strong{font-size:15px}.town-toolbar>div{display:flex;gap:7px}.town-toolbar .btn{font-size:12px;min-height:44px;padding:9px 10px}.town-scene{aspect-ratio:1.55;cursor:default;touch-action:pan-y}.map-player .pixel-person{width:31px;height:42px}.map-player span{font-size:9px;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-weather{font-size:10px;max-width:calc(100% - 20px);padding:5px 7px}.mobile-map-marker{position:absolute;transform:translate(-50%,-50%);z-index:3;display:grid;place-items:center;width:25px;height:25px;border:1px solid #486c51;border-radius:7px;color:#325541;background:#fff9e9f0;font-size:11px;font-weight:750;box-shadow:1px 2px 0 #35564265;pointer-events:none}.mobile-places{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:13px;background:#f4f6e9}.mobile-place{display:flex;align-items:center;gap:8px;text-align:left;min-height:54px;border:1px solid #ced9bf;border-radius:12px;background:#fffdf2;color:#3c5d45;font-size:14px;padding:10px;min-width:0}.mobile-place .pixel-art{width:26px;height:26px;flex-shrink:0}.mobile-place strong{font-size:13px;line-height:1.35}.mobile-place-number{font-size:10px;color:#667a5e;width:12px;flex-shrink:0}.town-caption{font-size:12px;line-height:1.65;padding:13px 14px;background:#eef2e1}
.nextcard{display:flex;flex-direction:column;align-items:stretch;padding:18px;gap:14px;margin:18px 0;border-radius:16px;border:1px solid #d6c99d}.nextcard h3{font-size:17px}.nextcard p{font-size:14px;line-height:1.65;margin-top:5px}.nextcard .btn{width:100%;font-size:15px;min-height:50px;box-shadow:0 2px 0 #936733;border-width:1px;padding:12px 15px}.kpi{padding:15px}.kpi strong{font-size:20px;line-height:1.4}.kpi .label,.kpi .sub{font-size:12px;line-height:1.55}.kpi .label{margin-bottom:5px}.kpi .sub{margin-top:6px}
.listitem{padding:16px 0}.listitem strong{font-size:16px;line-height:1.45}.listitem .sub,.listitem .tiny,.listitem .meta{font-size:14px;line-height:1.6}.listitem>.row,.listitem.row{align-items:flex-start;gap:12px}.listitem>.row>.flex{width:100%;flex-basis:100%;align-items:flex-start}.listitem>.row>.btn{margin-left:0;width:100%}.listitem .flex>div{min-width:0}.listitem>.row>.btn,.listitem>.row>.flex+.btn{margin-top:2px}.listitem .row>.btn{flex-shrink:0}.flex:has(>.btn){flex-wrap:wrap}.pillbar{gap:8px;margin:16px 0}.pillbar>.btn,.pill{min-height:44px;font-size:13px;padding:10px 12px;border-radius:11px}.contact-actions{gap:8px}.contact-actions .btn{flex:1 1 140px}
.destination-grid,.people-grid,.task-grid,.item-grid,.trip-grid,.experience-grid,.bank-grid,.v3-inventory{grid-template-columns:1fr!important;gap:12px}.destination{font-size:15px;min-height:65px;border-radius:12px;padding:14px;text-align:left}.destination .pixel-art{width:34px;height:34px;flex-shrink:0}.destination small{font-size:13px;line-height:1.6}.person-card{border-radius:14px;padding:15px;gap:15px;text-align:left;min-height:108px}.person-card strong{font-size:18px}.person-card small,.people-grid .person-card small{font-size:13px;line-height:1.55}.person-card .pixel-person{width:48px;height:64px}.task-tile,.asset-tile,.trip-tile,.experience-tile,.v3-choice{padding:17px;border-radius:14px}.task-tile h4,.asset-tile h3,.trip-tile strong,.experience-tile strong{font-size:17px;line-height:1.4}.task-tile p,.task-tile small,.asset-tile p,.trip-tile small,.experience-tile small{font-size:14px;line-height:1.6}.task-tile .btn,.asset-tile .btn,.trip-tile .btn,.experience-tile .btn,.v3-choice .btn{width:100%;font-size:14px;min-height:48px}.asset-tile .price{font-size:22px}.v3-owned{border-radius:12px;min-width:0}.v3-owned .flex{flex-wrap:wrap}.v3-owned small{font-size:13px}
.phone-shell{max-width:100%;border:1px solid #bbcdb0;border-radius:17px;box-shadow:var(--shadow);margin:0 0 18px;background:#fffdf4}.phone-status{font-size:11px;padding:10px 14px;background:#3b6452}.phone-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:9px 6px;background:#e8efdd;border-bottom:1px solid #ccd8bd}.phone-tabs button{font-size:10px;min-height:62px;padding:6px 2px;line-height:1.4;border-radius:10px;min-width:0}.phone-tabs .pixel-art{width:25px;height:25px}.phone-tabs button.active{outline:none;border:1px solid #bacaad;background:#fffef6}.phone-screen{padding:15px;min-height:300px}.phone-welcome{padding:8px 0}.phone-apps{gap:10px}.phone-apps button{border-radius:14px;min-height:90px;font-size:13px}.phone-note{font-size:14px}.contacts-strip{gap:9px;scroll-snap-type:x proximity}.contacts-strip button{min-width:70px;border-radius:12px;padding:9px;scroll-snap-align:start}.contacts-strip span{font-size:12px}.chat-thread{max-height:44vh;max-height:44dvh;border-radius:14px;border-width:1px;padding:12px;gap:12px;overscroll-behavior:contain}.chat-bubble{max-width:94%;padding:12px;border-radius:13px;border-width:1px;box-shadow:none}.chat-bubble p{font-size:15px;line-height:1.65}.chat-bubble small{font-size:11px}.chat-compose{display:flex;flex-direction:column;gap:10px}.chat-compose textarea{width:100%}.chat-compose .btn{min-height:48px;width:100%}.message-preview{border-radius:12px;padding:14px;min-height:68px}.message-preview small,.social-post small{font-size:12px}.bank-card{border-radius:15px;padding:18px}.bank-card .btn{font-size:13px}.bank-card .row span{font-size:12px}.bank-detail,.bank-rules,.npc-memories{font-size:14px;line-height:1.7;border-radius:12px}.bank-rules,.npc-memories{border-width:1px}.npc-memories p{font-size:14px}.npc-memories small{font-size:12px}
.mobile-table-scroll{overflow-x:auto;max-width:100%;margin:12px 0;overscroll-behavior-x:contain}.mobile-table-scroll table{min-width:350px;width:100%;font-size:13px}.data-table th,.data-table td{padding:12px 9px;font-size:13px;white-space:normal}.data-table th{font-size:12px}.summary-line{font-size:14px;line-height:1.6;gap:12px;align-items:flex-start;padding:12px 0;min-width:0}.summary-line>span{flex:1;min-width:0}.summary-line>strong{max-width:48%;text-align:right;flex-shrink:0}.report-grid{grid-template-columns:1fr 1fr;gap:9px}.reportcell{padding:13px;border-radius:12px}.reportcell small{font-size:12px;line-height:1.5}.reportcell strong{font-size:15px;line-height:1.5}.wealthcard .money{font-size:27px}.wealthcard svg{width:100%;max-width:100%}.wealthcard .wealth-breakdown{font-size:14px}.worldstat,.cash-flow-note{font-size:14px}.entry h4,.entry p{font-size:15px;line-height:1.65}.entry .date{font-size:12px}.feedtitle{align-items:flex-start}.feedtitle .tiny{font-size:12px}.forecast-card,.social-group{border-radius:12px;border-width:1px;padding:15px}.contact-meta{font-size:13px}.quick-actions button{font-size:14px;min-height:52px;border-radius:12px}
.overlay{padding:16px 0 0;align-items:flex-end;z-index:70;background:#17392da8;backdrop-filter:blur(3px);overscroll-behavior:contain}.modal,.modal.large{width:100%;max-width:var(--phone-width);margin:0 auto;max-height:94vh;max-height:94dvh;border-radius:23px 23px 0 0;border:1px solid #d1dcc4;box-shadow:0 -10px 40px #20392d25;display:flex;flex-direction:column;overflow:hidden}.modal-head{padding:17px 18px 14px;align-items:center;gap:12px;flex-shrink:0;background:#f1f5e7;border-bottom:1px solid #d8e0cb}.modal-head h2{font-size:21px;line-height:1.4}.modal-body{padding:18px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.modal-footer{padding:12px 16px calc(14px + var(--phone-safe));border-top:1px solid #d4dfc9;display:flex;flex-wrap:wrap;gap:9px;flex-shrink:0;background:#fffdf5}.modal-footer>.btn{flex:1 1 130px;min-height:50px;font-size:14px}.modal-body .grid2{grid-template-columns:1fr}.modal-body .pillbar>.btn{flex:1 1 130px}.modal-body .row>.flex{flex-wrap:wrap}.modal-body .sidebar-profile{margin-bottom:15px;padding:16px;grid-template-columns:44px minmax(0,1fr)}.modal-body .sidebar-profile .agebar{grid-column:1/-1}.modal-body .profile-stats{grid-column:1/-1}.modal-body .profile-name{font-size:17px}.modal-body .profile-sub{font-size:13px}.modal-body .agebar{font-size:13px}.modal-body .agebar strong{font-size:16px}.modal-body .schedule-mini{font-size:14px;padding:17px}.modal-body .schedule-mini .tiny{font-size:13px}.modal-body .card{margin-bottom:16px}.eventhero h2{font-size:24px}.eventhero p{font-size:16px;line-height:1.7}.choice{padding:17px 15px;border-radius:14px;min-height:80px;margin:10px 0;max-width:100%}.choice strong{font-size:16px;line-height:1.5}.choice small{font-size:14px;line-height:1.65}.choice-impact{gap:6px}.choice-impact span{font-size:12px;line-height:1.6;white-space:normal;border-radius:7px;padding:5px 7px}.choicearrow{font-size:20px}.eventhero .event-person{font-size:14px}.save-slot{gap:12px;align-items:flex-start;margin:10px 0}.save-slot>div:first-child{flex:1 1 100%}.save-slot>.flex{width:100%;display:flex}.save-slot>.flex>.btn{flex:1}.manual p,.manual li,.new-guide p{font-size:15px;line-height:1.7}.manual h3{font-size:18px}.source-link{font-size:14px}.toast{bottom:calc(149px + var(--phone-safe));max-width:calc(100% - 28px);width:calc(var(--phone-width) - 36px);font-size:14px;padding:13px 15px;border-radius:14px;z-index:90}.mobile-keyboard .toast{bottom:18px}
.onboard{padding:18px 16px 30px;max-width:var(--phone-width);margin:0 auto}.welcome-grid{display:flex;flex-direction:column;gap:18px}.welcome-copy{padding:23px 20px 18px;border-radius:19px!important;border-width:1px!important;box-shadow:var(--shadow);gap:0}.welcome-copy h1{font-size:32px;line-height:1.22;letter-spacing:-1px;margin:11px 0 12px}.welcome-copy h1 br{display:none}.welcome-copy h1 br:after{content:' '}.welcome-copy h1 span{display:block}.welcome-copy p{font-size:15px;line-height:1.65;max-width:none;margin:0 0 14px}.welcome-copy .eyebrow{font-size:10px;letter-spacing:1px}.pixel-skyline{height:126px;margin:0;border:1px solid #c1d0af;border-radius:12px;overflow:hidden}.pixel-skyline img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.welcome-copy .tagline{font-size:12px;line-height:1.6;padding-top:12px}.welcome-form{border-radius:18px;padding:20px 17px}.welcome-form h2{font-size:23px;line-height:1.4}.welcome-form .subtitle{font-size:14px;line-height:1.65;margin-top:9px}.welcome-form .grid2{grid-template-columns:1fr}.welcome-form .grid2>div+div{margin-top:5px}.formgap{margin:18px 0}.trait-picker{gap:8px}.trait-choice{font-size:13px;border-radius:12px;min-height:48px;padding:10px 11px}.trait-choice.active{border-width:1px}.start-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0}.start-stats>div{padding:12px;border-radius:11px}.start-stats small{font-size:12px}.start-stats strong{font-size:17px}.welcome-form .btn[type=submit]{min-height:54px;font-size:16px}.welcome-form .tiny{font-size:13px}.features{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.features .feature{font-size:12px;line-height:1.6;padding:12px}.features .pixel-art{width:28px;height:28px}.welcome-footer{font-size:12px;line-height:1.7}.footer-note{font-size:12px;line-height:1.7;margin:24px 0 12px}.footer-note .btn{font-size:12px;min-height:44px;margin-top:8px}.hero-life{padding:22px 18px}.hero-life h2{font-size:25px}.ending{padding:22px 18px}
@media(max-width:359px){.app-layout,.onboard{padding-left:12px;padding-right:12px}.mobile-header.topbar{padding-left:12px;padding-right:12px}.mobile-header .brandmark{display:none}.mobile-header .brandname{font-size:18px}.mobile-header .topright .btn{padding:10px 9px;font-size:12px}.card{padding:16px}.grid2,.report-grid{grid-template-columns:1fr}.mobile-menu-tools{grid-template-columns:1fr}.mobile-menu-tools>.wide{grid-column:auto}.mobile-place{gap:6px;padding:9px}.mobile-place .pixel-art{width:23px;height:23px}.mobile-place strong{font-size:12px}.mobile-profile>summary{gap:7px;padding:12px}.mobile-person{gap:7px}.mobile-person strong,.mobile-wallet strong{font-size:14px}.mobile-turnbar{padding:8px 12px}.phone-tabs button{font-size:9px}.phone-screen{padding:12px}}
@media(min-width:540px){.app-layout,.onboard{padding-left:24px;padding-right:24px}.mobile-header.topbar{padding-left:24px;padding-right:24px}.destination-grid,.people-grid,.item-grid{grid-template-columns:1fr 1fr!important}.phone-screen{padding:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Phone density: shorter labels and modest type, with comfortable touch areas. */
body{font-size:14px;line-height:1.6}p{line-height:1.65}h2{font-size:22px}h3{font-size:16px}h4{font-size:15px}.card{padding:16px}.pagehead{margin:15px 0}.pagehead h2{font-size:22px}.pagehead p,.hero-life p{font-size:14px;line-height:1.6}.pagehead .eyebrow{font-size:10px}.note{font-size:13px}.btn,.btn.small{font-size:13px;min-height:46px}.tiny{font-size:12px}.mobile-header .brandname{font-size:18px}.mobile-header.topbar{min-height:64px;padding-top:max(10px,env(safe-area-inset-top,0px));padding-bottom:10px}.mobile-profile>summary{min-height:72px;padding-top:11px;padding-bottom:11px}.mobile-profile{margin-bottom:10px}.mobile-person strong,.mobile-wallet strong{font-size:14px}.mobile-person small{font-size:11px}.mobile-profile .pixel-person{height:39px;width:29px}
.mobile-route{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 10px;margin-bottom:3px}.mobile-route>span{min-width:0}.mobile-route small{display:block;font-size:9px;letter-spacing:.7px;color:#6d8066}.mobile-route strong{display:block;font-size:13px;color:#3d5a46}.mobile-route>div{display:flex;gap:5px;align-items:center}.mobile-back,.mobile-pin{font-size:11px;min-height:44px;background:transparent;color:#5d735b;padding:6px 8px;border-radius:10px}.mobile-back{max-width:145px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mobile-pin{border:1px solid #ccd9be;white-space:nowrap}.mobile-pin.active{background:#e3edd8;border-color:#b8caaa;color:#31543f}.mobile-overlay-open{overflow:hidden;overscroll-behavior:none}
.mobile-menu-head h2{font-size:20px}.close{font-size:13px;min-width:54px;min-height:44px;padding:9px 11px}.mobile-search-label{font-size:12px;margin:11px 5px 7px}.mobile-menu-scroll input[type=search]{margin:0 0 12px;min-height:48px}.mobile-shortcuts{padding:5px 4px 13px;border-bottom:1px solid var(--phone-line)}.mobile-shortcuts h3{font-size:13px;margin:4px 0 10px}.mobile-shortcuts>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mobile-shortcut{min-height:57px;padding:10px;display:flex;align-items:center;gap:8px;background:#eaf1e1;border:1px solid #d1dfc3;border-radius:12px;text-align:left;color:#3b5d44;min-width:0}.mobile-shortcut .pixel-art{width:26px;height:26px;flex-shrink:0}.mobile-shortcut strong{font-size:12px;line-height:1.4;display:block}.mobile-shortcut small{font-size:10px;color:#6d7f60;display:block}.mobile-shortcuts p{font-size:11px;color:#687d60;margin:10px 0 0}.mobile-search-hit{display:flex;align-items:center;gap:10px;text-align:left;min-height:67px;background:#edf3e5;padding:12px;border-radius:12px;margin:8px 0;width:100%;color:#3c5c47}.mobile-search-hit>.pixel-art{width:28px;height:28px;flex-shrink:0}.mobile-search-hit>span:first-of-type{flex:1;min-width:0}.mobile-search-hit strong{font-size:14px;display:block}.mobile-search-hit small{font-size:12px;color:#6a7c60;display:block}.ux-nav-group>summary{min-height:65px;padding:11px 8px}.ux-nav-title strong{font-size:14px}.ux-nav-title small{font-size:11px}.sidenav button{font-size:13px;min-height:48px;padding:10px}.mobile-menu-tools{gap:7px;margin-top:13px}
.tutorial-card{padding:14px;border-radius:14px;margin-bottom:15px}.tutorial-card h3{font-size:17px;line-height:1.35}.tutorial-card p{font-size:13px;line-height:1.6;margin-bottom:8px}.tutorial-top{font-size:10px;margin-bottom:7px}.tutorial-progress{height:3px;margin:9px 0}.tutorial-quick{gap:7px;margin:10px 0}.tutorial-quick .btn{min-height:46px;font-size:13px}.tutorial-actions{margin:7px 0;gap:6px}.tutorial-secondary{font-size:12px}.tutorial-tag{font-size:9px}.tutorial-why>summary{font-size:12px;min-height:42px}.tutorial-why p{font-size:13px}.mobile-tutorial-tools{border-top:1px solid #d7e0cd;margin-top:5px}.mobile-tutorial-tools>summary{font-size:11px;color:#687d60;min-height:42px;display:flex;align-items:center;cursor:pointer}.tutorial-skip button{font-size:12px;min-height:44px;padding:8px 5px}.tutorial-quick+.tutorial-actions:empty{display:none}
.ux-next h3{font-size:16px}.ux-next p{font-size:13px}.ux-next{padding:14px}.ux-fold>summary strong,.ux-catalog-more>summary strong{font-size:14px}.ux-fold>summary,.ux-catalog-more>summary{padding:14px;min-height:57px}.ux-fold>summary small,.ux-catalog-group>summary small{font-size:11px}.ux-catalog-group>summary strong{font-size:14px}.listitem strong{font-size:14px}.listitem .sub,.listitem .tiny,.listitem .meta{font-size:13px}.listitem{padding:14px 0}.kpi strong{font-size:18px}.kpi .label,.kpi .sub{font-size:11px}.person-card strong{font-size:16px}.person-card small,.people-grid .person-card small{font-size:12px}.task-tile h4,.asset-tile h3,.trip-tile strong,.experience-tile strong{font-size:15px}.task-tile p,.task-tile small,.asset-tile p,.trip-tile small,.experience-tile small{font-size:13px}.task-tile .btn,.asset-tile .btn,.trip-tile .btn,.experience-tile .btn{font-size:13px}.nextcard h3{font-size:16px}.nextcard p{font-size:13px}.nextcard .btn{font-size:14px;min-height:48px}.entry h4,.entry p{font-size:14px}.chat-bubble p{font-size:14px}.phone-note,.bank-detail,.bank-rules,.npc-memories,.npc-memories p{font-size:13px}.summary-line{font-size:13px}.reportcell strong{font-size:14px}.choice strong{font-size:15px}.choice small{font-size:13px}.eventhero h2{font-size:22px}.eventhero p{font-size:14px;line-height:1.7}.modal-head h2{font-size:19px}.modal-body{font-size:14px}.choice-impact span{font-size:11px}.modal-footer>.btn{font-size:13px}.manual p,.manual li,.new-guide p{font-size:14px}.manual h3{font-size:16px}
body:has(.onboard){padding-bottom:0}.welcome-copy h1{font-size:27px;line-height:1.25}.welcome-copy p{font-size:14px}.welcome-form h2{font-size:21px}.welcome-form .subtitle{font-size:13px}.welcome-copy{padding:19px 18px 15px}.pixel-skyline{height:110px}.welcome-form .btn[type=submit]{font-size:15px;min-height:51px}.start-stats strong{font-size:16px}.hero-life h2{font-size:23px}

/* Keep the first visit light; optional details stay discoverable. */
.mobile-start-options,.mobile-about,.mobile-page-help{border-top:1px solid #d5dfca;margin:14px 0 0;padding-top:6px}
.mobile-start-options>summary,.mobile-about>summary,.mobile-page-help>summary{font-size:13px;min-height:44px;display:flex;flex-wrap:wrap;align-items:center;gap:5px;color:#486744}
.mobile-start-options>summary small{display:block;font-size:11px;font-weight:400;flex-basis:100%;color:#687c61}
.mobile-page-help{margin-top:4px;padding-top:0;border-top:0}.mobile-page-help>summary{font-size:12px}.mobile-page-help p{font-size:13px;line-height:1.6}
.welcome-copy .tagline{display:none}.welcome-form .start-stats{background:transparent;padding:0}.welcome-form .start-stats>div{background:#edf3e6}
.mobile-menu-tools>.interface-button{min-height:46px}.mobile-about .features{margin:12px 0}.mobile-about .welcome-footer{margin-top:12px}
@media(max-width:359px){.mobile-route{align-items:flex-start}.mobile-route>div{gap:3px}.mobile-back{max-width:115px}.mobile-turnbar .btn{padding-left:12px;padding-right:12px}}

/* Gentle first two years: navigation stays in the same places. */
html[data-beginner=true] .pagehead .eyebrow,html[data-beginner=true] .pagehead .period{display:none}
html[data-beginner=true] .pagehead{margin:12px 0}html[data-beginner=true] .pagehead h2{font-size:20px;line-height:1.4}
html[data-beginner=true] .tutorial-top>span:last-child{font-size:10px}html[data-beginner=true] .year-tutorial{padding:13px;margin-bottom:13px}
html[data-beginner=true] .year-tutorial h3{font-size:16px}html[data-beginner=true] .year-tutorial p{font-size:13px;line-height:1.55}
.year-controls{gap:3px 13px;padding-top:5px}.year-controls button{font-size:11px;min-height:40px}.year-controls button:last-child{display:none}
.mobile-optional{border:1px solid #d3dec8;border-radius:12px;background:#fffdf3;margin-bottom:14px}.mobile-optional>summary{padding:12px;font-size:12px;min-height:45px}.mobile-optional>.card{border:0;box-shadow:none;margin-bottom:0}
.year-hub-row{font-size:13px;padding:11px}.year-hub-row span{font-size:11px}.year-directory p{font-size:13px}.year-directory>div{padding:10px}
.support-overview>summary{padding:12px;flex-wrap:wrap;gap:5px}.support-overview>summary strong{font-size:14px}.support-overview>summary small{font-size:11px}
.support-overview p,.support-person small{font-size:12px;line-height:1.6}.support-loan-row strong{font-size:13px}.support-loan-row small{font-size:11px}.support-loan-row .btn{font-size:12px;padding:10px}
html[data-beginner=true] .mobile-profile>summary{min-height:67px}html[data-beginner=true] .mobile-route{padding-bottom:7px}

#tutorial-menu:empty{display:none}.mobile-menu-scroll #tutorial-menu .tutorial-card{margin:0 0 15px}.mobile-quarter-result{margin-bottom:15px}.mobile-quarter-result h3{font-size:18px}.support-overview-body .support-loan-row{flex-wrap:wrap}#support-repay-form{margin-top:15px}#support-repay-form .btn{margin-top:10px}
