/* LifeLines — modular design system. No fonts, images or libraries required. */
:root{--canvas:#f4f7fb;--paper:#fff;--ink:#192b3a;--ink-strong:#10243b;--muted:#718092;--subtle:#8d9aab;--line:#e5ebf2;--line-dark:#d7e2ec;--teal:#087e7b;--teal-dark:#066562;--teal-light:#e6f6f2;--blue:#3776c9;--blue-light:#eaf1ff;--green:#24946f;--green-light:#e7f7ed;--amber:#d2943f;--amber-light:#fff6e2;--coral:#ce6975;--coral-light:#fff0ef;--purple:#9277c9;--purple-light:#f4efff;--shadow:0 8px 35px rgba(20,47,80,.045);--round:18px;--header:80px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}a,button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a5ddd6;outline-offset:2px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{color:var(--ink-strong)}svg{flex:none}small{font-size:11px}::selection{background:#bde9e1;color:#173f49}
/* Fixed global controls */
.shell-header{height:var(--header);position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:28px;justify-content:space-between;padding:0 max(26px,calc((100vw - 1540px)/2 + 24px));border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(15px);box-shadow:0 2px 15px #16335105}.header-brand,.brand-type,.header-controls,.header-timeline,.hstack{display:flex;align-items:center}.header-brand{gap:10px;min-width:225px}.brand-mark{height:39px;width:39px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(140deg,#0a827f,#0c5d73);color:#fff;box-shadow:0 5px 14px #087e7b2e}.brand-type{align-items:flex-start;flex-direction:column;line-height:1.12}.brand-type strong{font-size:23px;letter-spacing:-1.1px;color:#18384c;font-weight:850}.brand-type strong span{color:var(--teal)}.brand-type small{font-size:9px;letter-spacing:2px;color:var(--subtle);font-weight:750;margin-top:5px}.header-timeline{gap:18px;color:var(--ink)}.timeline-age{font-size:13px;color:var(--muted)}.timeline-age strong{font-size:25px;color:#142b42;line-height:1;vertical-align:middle;margin-left:5px}.header-divider{height:32px;width:1px;background:var(--line-dark)}.timeline-date{font-weight:730;font-size:13px;line-height:1.25}.timeline-date small{display:block;color:var(--muted);font-weight:450;font-size:11px;margin-top:3px}.header-controls{gap:8px}.action-balance{display:flex;align-items:center;gap:8px;margin-right:10px;color:var(--muted);font-size:10px;letter-spacing:.5px;font-weight:800}.action-balance b{color:var(--ink);font-size:12px;margin-right:8px;letter-spacing:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:9px 13px;border:1px solid var(--line-dark);border-radius:11px;background:var(--paper);color:var(--ink);font-weight:650;font-size:12px;line-height:1.25;transition:background .15s,border .15s,transform .15s,box-shadow .15s;max-width:100%;white-space:normal;text-align:center}.btn:hover:not(:disabled){border-color:#8abcb8;background:#f4fbfa}.btn:active:not(:disabled){transform:translateY(1px)}.btn.primary{background:var(--teal);color:white;border-color:var(--teal);box-shadow:0 4px 10px #087e7b22}.btn.primary:hover:not(:disabled){background:var(--teal-dark);color:white;border-color:var(--teal-dark)}.btn.secondary{background:white}.btn.danger{color:#ad4153;border-color:#f1ccd1;background:#fffafb}.btn.danger:hover{background:#ffeff1}.btn.ghost,.btn.text-btn{border-color:transparent;background:transparent;color:var(--teal)}.btn.text-btn{padding:7px 2px;min-height:29px}.btn.text-btn:hover{background:transparent;text-decoration:underline}.btn.mini{font-size:11px;min-height:30px;padding:6px 9px;border-radius:8px}.btn.icon-button{width:36px;height:36px;min-height:36px;padding:0;line-height:1;border-radius:10px}.btn.top-control{font-size:12px;border-color:var(--line);padding:9px 11px;background:#fff}.btn.age-button{font-size:13px;padding:11px 18px;min-height:43px;border-radius:11px}.btn.age-button span{white-space:nowrap}
/* Navigation */
.game-shell{display:grid;grid-template-columns:244px minmax(0,1fr);max-width:1540px;margin:auto;min-height:calc(100vh - var(--header))}.sidebar{border-right:1px solid var(--line);background:#fafcff}.sidebar-inner{position:sticky;top:var(--header);max-height:calc(100vh - var(--header));overflow:auto;display:flex;flex-direction:column;justify-content:space-between;min-height:calc(100vh - var(--header));padding:25px 14px 24px}.nav-group{margin-bottom:19px}.nav-group-title{padding:0 16px 9px;font-size:10px;letter-spacing:1.4px;font-weight:800;color:#9ba8b7}.btn.nav-link{width:100%;justify-content:flex-start;min-height:42px;border:0;border-radius:9px;margin:1px 0;padding:11px 14px;gap:12px;color:#586b81;font-size:13px;font-weight:630;background:transparent;text-align:left}.btn.nav-link svg{color:#8795a6}.btn.nav-link:hover{background:#eaf2f5;border:0}.btn.nav-link.active{background:#e4f4f1;color:#086b6b;font-weight:780}.btn.nav-link.active svg{color:var(--teal)}.nav-current{width:5px;height:20px;border-radius:8px;background:var(--teal);margin-left:auto}.sidebar-footer{margin:15px 14px 5px;color:#8494a4;font-size:11px}.sidebar-footer p{margin-top:6px;font-size:10px}.sidebar-version{display:flex;align-items:center;gap:6px;font-size:11px}.online-dot{display:inline-block;height:7px;width:7px;border-radius:50%;background:#2ab68b;box-shadow:0 0 0 3px #d7f5e8}.mobile-nav{display:none}.workspace{min-width:0;padding:32px 34px 110px}.workspace-label{font-size:10px;letter-spacing:1.5px;font-weight:820;color:var(--teal);margin-bottom:19px}.workspace-label span:last-child{color:#a1aebb}.workspace-separator{color:#c8d1dc;margin:0 9px}
/* General content */
.content-section{margin-bottom:24px}.section-heading{margin-bottom:19px}.section-heading h2{font-size:26px;letter-spacing:-.9px;line-height:1.25;font-weight:780}.section-heading p{margin-top:7px;color:var(--muted);font-size:13px;max-width:740px}.card{border:1px solid var(--line);border-radius:var(--round);background:var(--paper);box-shadow:var(--shadow);padding:21px;min-width:0}.card h3{font-weight:760;font-size:15px;letter-spacing:-.2px;margin:0 0 16px}.card p{font-size:13px}.stack{display:flex;flex-direction:column;gap:17px;min-width:0}.two-col{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);gap:18px;align-items:start}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}.metrics-grid.small-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{min-width:0;border:1px solid var(--line);border-radius:16px;background:white;padding:16px 17px;box-shadow:var(--shadow)}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#718294;font-size:11px;font-weight:620;gap:7px}.metric-icon{display:inline-flex;align-items:center;justify-content:center;height:30px;width:30px;border-radius:9px;background:#eff7f7;color:var(--teal)}.metric-value{font-size:25px;line-height:1.2;letter-spacing:-1px;font-weight:800;color:#18374b;margin:9px 0 7px;word-break:break-word}.metric-sub{font-size:10px;color:#8c9baa;line-height:1.35;min-height:14px}.hstack{gap:10px}.between{justify-content:space-between}.muted{color:var(--muted)!important}.block-gap{margin-bottom:16px!important}.minor-heading{font-size:12px;margin:22px 0 9px;color:#50647b;font-weight:800}.data-pair{display:flex;justify-content:space-between;align-items:start;gap:18px;padding:9px 0;border-bottom:1px solid #eef1f5;font-size:12px}.data-pair:last-child{border:0}.data-pair>span{color:#758395}.data-pair strong{color:#243b4f;font-size:12px;text-align:right;overflow-wrap:anywhere}.progress-row{margin:11px 0 17px}.progress-row:last-child{margin-bottom:0}.progress-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#64768b}.progress-head strong{color:#3f5266}.track{height:7px;background:#edf1f6;border-radius:20px;overflow:hidden;margin-top:7px}.fill{height:100%;border-radius:20px;background:var(--blue)}.fill.green{background:#2ca17e}.fill.amber{background:#e9b250}.fill.purple{background:#987ad5}.fill.coral{background:#e18591}.fill.blue{background:#5c96da}.badge{display:inline-flex;align-items:center;border-radius:100px;background:#f1f4f8;border:1px solid #e9eef4;color:#5c7185;font-size:10px;font-weight:750;padding:4px 9px;margin:2px 0;white-space:nowrap}.badge.positive{background:#e9f8f0;border-color:#d6efdf;color:#168160}.badge.negative{background:#fff0f1;border-color:#f9dee1;color:#bb5b67}.positive-text{color:#15996c!important}.negative-text{color:#c75c6b!important}.action-wrap{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 3px}.action-wrap .btn{flex:0 1 auto}.empty-state{padding:20px 8px;color:#9aa9ba;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.empty-state strong{font-size:13px;color:#63788f}.empty-state span{font-size:11px;max-width:230px}.info-note{margin:12px 0 8px;border-radius:11px;padding:10px 12px;font-size:11px;color:#56708b;line-height:1.55;background:#f1f6fb;border:1px solid #e5edf5}.form-field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#53687e;margin:13px 0}.form-field input,.form-field select{display:block;width:100%;height:43px;padding:10px 13px;border:1px solid #dbe5ee;border-radius:10px;background:#fff;color:#223c53;font-size:13px;font-weight:530;outline:none;min-width:0}.form-field input:focus,.form-field select:focus{border-color:#7ebbb7;box-shadow:0 0 0 3px #d6f0eb}.segmented{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 20px;padding:5px;border:1px solid #e9edf3;border-radius:13px;background:#eaf0f6;width:fit-content;max-width:100%}.segmented .btn{border:0;box-shadow:none;color:#697e93;background:transparent;font-size:12px;padding:9px 16px;min-height:34px}.segmented .btn.selected{background:white;color:#086e6e;box-shadow:0 2px 8px #182e450d}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.btn.quick-action{min-height:72px;justify-content:flex-start;flex-direction:column;align-items:flex-start;gap:9px;background:#f6f9fc;border:1px solid #edf1f5;font-size:12px;text-align:left}.btn.quick-action svg{color:var(--teal)}.btn.quick-action:hover{background:#eaf7f5}.relationship-highlight{display:flex;align-items:center;justify-content:space-between;gap:7px}.relationship-highlight div{display:flex;flex-direction:column}.relationship-highlight div strong{font-size:14px}.relationship-highlight div span{font-size:11px;color:var(--muted)}.card-foot{margin-top:14px}.timeline-item{display:flex;gap:11px;align-items:stretch;position:relative;padding-bottom:15px}.timeline-item:before{content:"";position:absolute;top:14px;bottom:0;left:5px;width:1px;background:#e3eaf1}.timeline-item:last-child:before{display:none}.timeline-dot{height:11px;width:11px;border-radius:50%;background:#94b4d4;border:3px solid #e7f1fb;z-index:1;flex:none;margin-top:2px}.timeline-dot.milestone,.timeline-dot.achievement{background:#2aaa85;border-color:#def8e9}.timeline-dot.relationship,.timeline-dot.family{background:#cc8194;border-color:#ffe8ee}.timeline-dot.finance{background:#e7ad5f;border-color:#fff2df}.timeline-item>div{min-width:0}.timeline-item small{display:block;color:#91a0b0;margin-bottom:3px;font-size:10px}.timeline-item p{color:#3d546a;font-size:12px;line-height:1.4}
/* Dashboard */
.welcome-banner{background:linear-gradient(115deg,#153d51,#0e6667 84%);color:#fff;min-height:156px;display:flex;justify-content:space-between;align-items:center;padding:25px 31px;border-radius:21px;margin-bottom:18px;overflow:hidden;position:relative}.welcome-banner h1{color:#fff;font-size:29px;font-weight:780;letter-spacing:-1px;margin:7px 0}.welcome-banner p{color:#bfdedb;font-size:13px}.welcome-banner .eyebrow{color:#96e2d6}.punctuation{color:#95eddb}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:850;color:var(--teal)}.banner-emblem{width:105px;height:105px;display:grid;place-items:center;color:#86e4d5;border:1px solid #7dc7c74d;border-radius:50%;background:#3b9c9630;box-shadow:0 0 0 15px #ffffff09;margin-right:15px;position:relative}.banner-emblem:after{content:"";position:absolute;inset:-25px;border:1px solid #ffffff19;border-radius:50%}
/* People */
.person-row{width:100%;border:0;border-bottom:1px solid #edf1f5;display:flex;align-items:center;gap:11px;text-align:left;min-height:66px;padding:8px 0;background:white;color:var(--ink)}.person-row:last-child{border-bottom:0}.person-row:hover{background:#f8fbfc}.avatar{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;font-weight:780;font-size:12px;letter-spacing:-.5px;background:#e5eff9;color:#386c9b}.avatar.coral{background:#fff0ef;color:#b76675}.avatar.blue{background:#e7f0fc;color:#4677b4}.avatar.xl{height:69px;width:69px;border-radius:21px;font-size:22px}.person-body{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}.person-body strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-body small{color:#8b9aab;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-bond{font-size:11px;color:#5e7f86}.person-row>svg{color:#91a0b0}.person-hero{display:flex;align-items:center;gap:18px;padding:20px;background:white;border:1px solid var(--line);border-radius:18px;margin:12px 0 18px}.person-hero h2{font-size:25px;letter-spacing:-.7px}.person-hero p{font-size:12px;color:var(--muted);margin-top:5px}.person-hero .eyebrow{margin-bottom:5px}.line-history{margin-bottom:11px!important;color:#5d7287}.compact-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #edf1f5;padding:11px 0;font-size:12px}.compact-row:last-child{border-bottom:0}.compact-row>div{display:flex;flex-direction:column;gap:3px}.compact-row small{display:block;color:var(--muted)}.compact-row>span:last-child{display:flex;gap:5px;align-items:center}
/* Education, Sport, University */
.grade-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:4px 0}.grade-item .progress-row{margin:8px 0}.skills-grid{display:grid;grid-template-columns:1fr;gap:7px}.skill-tile{border-bottom:1px solid #eef2f6;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.skill-tile:last-child{border:0}.skill-tile .progress-row{margin:8px 0 12px}.fixture{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #edf1f5}.fixture:last-child{border-bottom:0}.fixture>div:first-child{display:flex;flex-direction:column;min-width:0}.fixture strong{font-size:12px}.fixture span,.fixture small{font-size:10px;color:var(--muted);line-height:1.4}.fixture.played{background:#f9fbfd;padding:10px;margin:5px 0;border-radius:9px;border:0}.fixture-score{text-align:right;display:flex;align-items:flex-end;flex-direction:column;min-width:110px}.fixture-score small{color:#7a8a9e;font-size:10px;margin-top:3px}.stats-table{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.uni-row{display:flex;align-items:center;gap:11px;border-bottom:1px solid #edf1f5;padding:15px 0}.uni-row:last-child{border-bottom:0}.uni-icon{display:grid;place-items:center;color:#167a8d;background:#eaf4f5;border-radius:11px;height:39px;width:39px;flex:none}.uni-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.uni-info strong{font-size:12px}.uni-info small{color:var(--muted);font-size:10px}.uni-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end;max-width:145px}.scholarship{font-size:10px;color:#14866b;font-weight:750}.job-row{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f5}.job-row:last-child{border:0}.job-row>div{display:flex;flex-direction:column;gap:3px}.job-row strong{font-size:12px}.job-row small{color:var(--muted);font-size:10px}.business-card{border:1px solid #e9edf3;border-radius:13px;padding:13px;margin:12px 0}.business-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.business-head>div{display:flex;flex-direction:column}.business-head strong{font-size:13px}.business-head span{font-size:11px;color:var(--muted)}.business-kpis{display:grid;grid-template-columns:1fr 1fr;column-gap:17px}
/* Finance + other */
.transaction,.report-line{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #edf1f5;padding:11px 0}.transaction:last-child,.report-line:last-child{border:0}.transaction>div{display:flex;flex-direction:column;gap:3px}.transaction strong{font-size:11px;font-weight:650}.transaction small,.report-line small{color:var(--subtle);font-size:10px}.transaction>span{font-size:11px;font-weight:720;white-space:nowrap}.report-line span{font-size:11px}.report-line small{display:block}.report-line strong{font-size:11px}.loan-card{border:1px solid var(--line);padding:14px;border-radius:11px;margin-top:12px}.loan-card .form-field{margin-top:11px}.property-row,.pet-row,.legal-case{margin:9px 0;padding:12px;border:1px solid #edf1f5;border-radius:11px}.property-row>strong{font-size:12px}.hobby-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hobby-grid .btn{width:100%}.btn.active.small-btn{background:#e6f6f2;border-color:#b4e2d8;color:#0b756d}.btn.small-btn{padding:9px}.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.achievement{display:flex;align-items:center;gap:9px;border-radius:11px;background:#f2f8f7;padding:12px;color:#167d72}.achievement strong{font-size:11px;line-height:1.4}.tree{position:relative;margin-left:12px;border-left:2px solid #dbe9e9;padding-left:20px}.tree-node{display:flex;gap:9px;padding:13px;border:1px solid var(--line);background:#f9fbfd;border-radius:12px;margin:10px 0;position:relative}.tree-node:before{content:"";position:absolute;height:2px;width:18px;background:#dbe9e9;left:-20px;top:24px}.tree-node svg{color:var(--teal)}.tree-node>div{display:flex;flex-direction:column}.tree-node strong{font-size:12px}.tree-node span{color:var(--muted);font-size:10px}.tree-node.primary-node{background:#eaf7f5}.obituary{background:#f8f6f2;border:1px solid #e5ddd1;border-radius:12px;padding:15px}.obituary h3{margin-bottom:7px}.journal-panel{max-width:800px;background:white;border:1px solid var(--line);border-radius:var(--round);padding:10px 24px}.journal-entry{display:grid;grid-template-columns:105px 1fr;gap:14px;padding:18px 0;border-bottom:1px solid #edf1f5}.journal-entry:last-child{border:0}.journal-age{color:#8fa0b0;font-size:11px;font-weight:700}.journal-entry p{font-size:12px;color:#425b72;margin:7px 0 0}.journal-entry strong{font-size:12px}.journal-entry small{color:var(--muted)}.journal-tag{display:inline-block;color:#198a7d;background:#eaf7f3;padding:2px 7px;border-radius:6px;font-size:9px;text-transform:uppercase;letter-spacing:.5px;font-weight:800}
/* Modals, toast */
.overlay{position:fixed;inset:0;background:#081f30b8;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:60;padding:16px;overflow:auto}.dialog{background:white;width:100%;max-width:480px;padding:28px;border-radius:23px;box-shadow:0 25px 85px #00152638;max-height:calc(100vh - 32px);overflow:auto}.dialog h2{font-size:24px;letter-spacing:-.5px;margin:8px 0}.dialog p{color:var(--muted);font-size:13px;margin:7px 0 19px}.dialog .btn.wide{width:100%;margin-top:8px}.dialog-icon{width:49px;height:49px;border-radius:15px;background:#e6f5f1;color:var(--teal);display:grid;place-items:center;margin-bottom:16px}.dialog-icon.coral-bg{background:#ffefed;color:#bc6471}.event-dialog{max-width:540px}.event-dialog .event-prompt{font-size:18px;color:#243c50;line-height:1.52;margin-bottom:20px}.event-dialog>small{font-size:10px;color:#91a0ac;display:block;margin-top:13px}.choices{display:grid;gap:9px}.btn.choice-btn{display:flex;justify-content:flex-start;align-items:center;text-align:left;gap:12px;min-height:62px;background:#fbfcfd;border-color:#e6edf3;border-radius:12px;color:#294053;padding:11px 12px;font-size:13px}.btn.choice-btn:hover{background:#edfaf6;border-color:#9bcbbe}.btn.choice-btn>span:nth-child(2){flex:1}.choice-letter{border-radius:10px;background:#e9eff6;color:#356078;display:grid;place-items:center;width:33px;height:33px;font-size:12px;font-weight:850}.toast{position:fixed;bottom:22px;right:24px;z-index:56;max-width:420px;padding:12px 13px 12px 16px;display:flex;align-items:center;gap:11px;border:1px solid #cce8e0;background:#effaf6;border-radius:12px;box-shadow:0 11px 30px #17394a19;color:#206a5c;font-size:12px}.toast>span{flex:1}.toast.error{background:#fff1f2;border-color:#ffd9df;color:#ad4a57}.toast .btn.icon-button{width:25px;height:25px;min-height:25px;background:transparent;color:inherit;border:0}.save-slot{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:12px;padding:12px;margin:9px 0}.save-slot>div:first-child{display:flex;flex-direction:column;gap:3px}.save-slot strong{font-size:12px}.save-slot small{color:var(--muted)}.error-panel{margin:30px auto;max-width:600px;background:#fff;border:1px solid #f0d7d7;padding:30px;border-radius:16px;text-align:center}.error-panel h2{margin-bottom:11px}
/* Welcome experience */
.welcome-layout{max-width:1300px;margin:32px auto 50px;padding:0 25px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:25px}.welcome-main{min-height:700px;background:linear-gradient(147deg,#112e46 0%,#135961 68%,#0f7975 100%);border-radius:27px;position:relative;overflow:hidden;padding:65px 57px 360px;color:white}.welcome-kicker{font-size:10px;font-weight:800;letter-spacing:2px;color:#9ae3d6;margin-bottom:19px}.welcome-main h1{font-size:clamp(39px,5vw,67px);line-height:1.08;letter-spacing:-2.6px;font-weight:800;color:#fff;max-width:650px}.welcome-main h1 em{font-style:normal;color:#8be2d0}.welcome-lede{color:#c4e1e3;font-size:15px;line-height:1.8;margin-top:25px;max-width:520px}.features{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;max-width:560px}.features span{display:flex;align-items:center;gap:8px;font-size:11px;color:#ccece7;background:#ffffff12;border:1px solid #ffffff19;border-radius:50px;padding:9px 11px}.features svg{color:#8ae1d3}.welcome-art{position:absolute;inset:auto 0 0 0;height:310px;display:grid;place-items:center}.orbit{position:absolute;width:350px;height:350px;border-radius:50%;border:1px solid #cde9eb29;left:25%;top:0}.orbit-two{width:570px;height:570px;left:9%;top:-110px;border-color:#cde9eb16}.art-center{position:relative;z-index:1;height:124px;width:124px;border-radius:35px;background:linear-gradient(130deg,#208e8a,#1aa59a);display:grid;place-items:center;box-shadow:0 20px 90px #0c252d81,0 0 0 25px #ffffff0d;color:#adfbed;transform:rotate(-9deg)}.art-center svg{transform:rotate(9deg)}.art-pill{position:absolute;padding:10px 16px;background:#ffffff18;border:1px solid #ffffff2b;border-radius:50px;font-size:10px;letter-spacing:2px;font-weight:800;color:#b8f4e5}.art-pill.a{left:12%;top:55px;transform:rotate(-8deg)}.art-pill.b{right:10%;bottom:54px;transform:rotate(8deg)}.art-dot{width:12px;height:12px;background:#90ddce;border-radius:50%;position:absolute}.art-dot.one{top:51px;right:24%}.art-dot.two{bottom:35px;left:32%;height:6px;width:6px}.setup-card{background:white;border:1px solid var(--line);border-radius:27px;padding:48px 42px;box-shadow:0 20px 58px #122b4011;align-self:start;margin-top:54px}.setup-icon{height:64px;width:64px;display:grid;place-items:center;border-radius:19px;background:#e8f7f3;color:var(--teal);margin-bottom:28px}.setup-card h2{font-size:32px;letter-spacing:-1px;line-height:1.2;margin:10px 0}.setup-card p{color:#718295;font-size:13px;margin-bottom:29px}.setup-card .form-field{margin:19px 0}.btn.start-life{width:100%;min-height:52px;font-size:13px;margin-top:15px}.resume-panel{border-top:1px solid var(--line);padding-top:25px;margin-top:28px;display:flex;flex-direction:column;gap:9px}.resume-panel>span{font-size:11px;color:#6a7c90;font-weight:700}.btn.resume-btn{width:100%;background:#f3f8f9;border-color:#e2eeef;color:#1b7770}.setup-disclaimer{color:#9eaebc;font-size:10px;line-height:1.5;margin-top:32px}
/* Layout adapts fluidly from desktop to phone */
@media(max-width:1260px){.workspace{padding:27px 23px 90px}.game-shell{grid-template-columns:213px minmax(0,1fr)}.header-brand{min-width:200px}.header-timeline{gap:12px}.action-balance{display:none}.metrics-grid{gap:9px}.metric{padding:14px}.metric-value{font-size:22px}.two-col{gap:12px}.card{padding:16px}}
@media(max-width:950px){.game-shell{display:block}.sidebar{display:none}.workspace{padding:22px 23px 80px}.header-brand{min-width:0}.header-timeline{margin-left:auto}.mobile-nav{display:flex;overflow-x:auto;scrollbar-width:thin;gap:7px;margin-bottom:19px;padding-bottom:8px}.btn.mobile-tab{flex:none;min-height:38px;border-radius:11px;background:#fff;color:#678097;border-color:#e7ecf1;padding:9px 12px;font-size:12px;gap:7px}.btn.mobile-tab.active{background:#e4f4f1;color:#10746b;border-color:#bfe4db}.welcome-layout{grid-template-columns:1fr 360px;gap:15px}.welcome-main{padding:45px 32px 280px;min-height:640px}.setup-card{margin-top:35px;padding:34px 24px}}
@media(max-width:680px){:root{--header:73px}.shell-header{padding:0 13px;gap:8px}.brand-mark{height:35px;width:35px;border-radius:11px}.brand-type strong{font-size:18px}.brand-type small{font-size:7px;letter-spacing:1.2px}.header-timeline{margin-left:auto;gap:8px}.timeline-age{font-size:10px}.timeline-age strong{font-size:19px;margin-left:3px}.timeline-date,.header-divider{display:none}.header-controls{gap:5px}.btn.age-button{padding:10px 11px;min-height:40px;font-size:12px}.btn.age-button svg{height:16px;width:16px}.header-controls .top-control{display:none}.header-controls .icon-button{height:34px;width:34px;min-height:34px}.workspace{padding:18px 13px 80px}.workspace-label{margin-bottom:13px}.welcome-banner{padding:22px 19px;min-height:135px}.welcome-banner h1{font-size:24px}.welcome-banner p{font-size:11px;max-width:240px}.banner-emblem{height:65px;width:65px;margin-right:0}.banner-emblem svg{width:30px}.metrics-grid,.metrics-grid.small-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:12px 13px;border-radius:13px}.metric-value{font-size:20px;margin:6px 0}.metric-top{font-size:10px}.metric-icon{height:26px;width:26px}.metric-sub{font-size:9px}.two-col{grid-template-columns:1fr;gap:13px}.stack{gap:13px}.card{border-radius:15px;padding:16px}.section-heading h2{font-size:23px}.section-heading p{font-size:12px}.person-hero h2{font-size:21px}.event-dialog .event-prompt{font-size:16px}.dialog{padding:22px}.toast{bottom:12px;left:12px;right:12px;max-width:none}.stats-table{grid-template-columns:1fr 1fr}.journal-panel{padding:4px 13px}.journal-entry{grid-template-columns:78px 1fr;gap:9px}.welcome-layout{display:flex;flex-direction:column;margin:13px auto 36px;padding:0 13px;gap:15px}.welcome-main{padding:39px 27px 110px;min-height:390px;border-radius:20px}.welcome-main h1{font-size:38px;letter-spacing:-1.9px}.welcome-lede{font-size:12px;margin-top:18px}.features{gap:6px;margin-top:20px}.features span{font-size:9px;padding:7px 8px}.welcome-art{height:125px;opacity:.5;bottom:0}.orbit{width:190px;height:190px}.orbit-two{width:290px;height:290px;top:-90px}.art-center{width:58px;height:58px;border-radius:18px}.art-center svg{width:28px}.art-pill{display:none}.setup-card{margin-top:0;padding:26px 21px;border-radius:20px}.setup-card h2{font-size:26px}.setup-icon{height:50px;width:50px;margin-bottom:17px}.setup-card p{margin-bottom:16px}.mobile-nav{margin:0 -13px 16px;padding-left:13px;padding-right:13px}.nav-group{margin:0}}
@media(max-width:375px){.brand-type small{display:none}.brand-type strong{font-size:17px}.brand-mark{width:31px;height:31px}.header-brand{gap:5px}.btn.age-button{padding:9px}.btn.age-button span{font-size:11px}.metrics-grid{gap:7px}.metric-value{font-size:17px}.uni-row{align-items:flex-start}.uni-actions{max-width:80px}.uni-icon{display:none}.action-wrap .btn{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}

/* Year-by-year records */
.career-year{border:1px solid var(--border,#e2e8f0);border-radius:12px;padding:11px;margin:8px 0;display:grid;gap:6px}.career-year .stats-table{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:5px}.career-year .muted{font-size:12px}
