@import"https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Serif+KR:wght@400;500;600;700&display=swap";:root{font-family:Noto Sans KR,sans-serif;color:var(--ink-283330,#283330);background:var(--surface-f4f2ec,#f4f2ec);font-synthesis:none;--navy:#14242d;--gold:#af874a;--muted:#7b817b;--line:#e0ded4;--serif:"Noto Serif KR",Georgia,serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;transition:background .18s,border-color .18s,transform .18s}button:disabled{cursor:not-allowed;opacity:.44}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b89357;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}h1,h2{font-family:var(--serif);font-weight:600}h3{font-weight:600}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:var(--navy);color:#d0d7d5;display:flex;flex-direction:column;padding:36px 22px;z-index:30;background-image:radial-gradient(ellipse at 0 90%,#26373988,transparent 60%)}.brand{display:flex;gap:12px;align-items:center;text-align:left;background:none;border:0;color:#e4dcc6;padding:0 9px;font-family:var(--serif);font-size:25px;letter-spacing:3px}.brand-mark{font-size:43px;font-weight:400;color:var(--ink-bc995d,#bc995d)}.brand small{display:block;font:8px sans-serif;letter-spacing:3.1px;color:var(--ink-aeaa93,#aeaa93);margin-top:7px}.side-line{height:1px;background:var(--surface-72807833,#72807833);margin:33px 10px 25px}.nav-label{font-size:8px;letter-spacing:1.8px;padding:0 12px;color:var(--ink-758583,#758583)}.sidebar nav{margin-top:20px;display:grid;gap:8px}.sidebar nav button{display:flex;align-items:center;gap:13px;border:1px solid transparent;background:none;text-align:left;padding:14px 15px;border-radius:5px;color:#a8b4b1;font-size:13px}.sidebar nav button.active{background:var(--surface-b4965d15,#b4965d15);border-color:#b4965d25;color:#ddc493}.sidebar nav button:hover{background:var(--surface-ffffff08,#ffffff08)}.nav-dot{width:5px;height:5px;border-radius:50%;background:var(--surface-c8a563,#c8a563);margin-left:auto}.sidebar-bottom{margin-top:auto}.world-clock{padding:20px 11px;display:flex;gap:12px;align-items:center;font-size:12px}.tiny-star{color:var(--ink-bda46f,#bda46f);font-size:22px}.world-clock small{display:block;color:var(--ink-718581,#718581);font-size:10px;margin-top:6px}.settings-link{display:flex;align-items:center;gap:12px;width:100%;border:0;border-top:1px solid #70817b30;padding:23px 12px 0;background:none;color:var(--ink-99a7a4,#99a7a4);font-size:12px}.settings-link span{margin-left:auto;font-size:10px;color:var(--ink-627774,#627774)}.workspace{margin-left:228px}.topbar{height:72px;padding:0 42px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:var(--surface-f8f7f1aa,#f8f7f1aa)}.topbar>div{display:flex;align-items:center}.top-breadcrumb{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--ink-85877d,#85877d)}.top-right{font-size:10px;gap:9px;color:var(--ink-7b8378,#7b8378)}.online-dot{display:inline-block;width:5px;height:5px;background:var(--surface-7d9d85,#7d9d85);border-radius:50%}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;padding:9px;color:var(--ink-767e74,#767e74)}.top-right .icon-button{margin-left:18px}.mobile-menu{display:none!important}.home-page,.codex-page,.archive-page,.play-page{max-width:1380px;margin:auto;padding:43px 48px}.eyebrow{font-family:inherit;font-size:9px;letter-spacing:2.4px;color:var(--ink-a58452,#a58452);display:flex;align-items:center;gap:10px}.eyebrow>span{height:1px;width:20px;background:var(--surface-a58452,#a58452)}.hero{display:grid;grid-template-columns:1.07fr 1fr;gap:50px;margin-top:28px;align-items:center}.hero-copy{padding:10px 0}.chapter-label{color:var(--ink-8d816b,#8d816b);font-size:11px;letter-spacing:.6px}.hero h1{font-size:clamp(33px,3.6vw,58px);line-height:1.5;letter-spacing:-2.2px;margin:19px 0 22px;color:var(--ink-22342f,#22342f)}.hero h1 em{font-style:normal;color:var(--ink-a58452,#a58452)}.hero-copy>p{font-size:12px;line-height:2.2;color:var(--ink-7e837b,#7e837b);letter-spacing:-.15px}.hero-actions{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}.gold-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 20px;font-size:12px;border-radius:4px;min-height:47px}.gold-button{border:1px solid #aa834c;background:var(--surface-ad8951,#ad8951);color:#fffdf7;box-shadow:0 3px 8px #70572610}.gold-button:hover:not(:disabled){background:#997442;transform:translateY(-1px)}.outline-button{border:1px solid var(--edge-d4d0c1,#d4d0c1);background:transparent;color:var(--ink-647068,#647068)}.outline-button:hover:not(:disabled){background:var(--surface-ebe8dc,#ebe8dc)}.hero-note{margin-top:24px;display:flex;gap:8px;color:var(--ink-9b9e92,#9b9e92);font-size:10px}.hero-note span{color:var(--ink-a9905d,#a9905d)}.hero-art{position:relative;aspect-ratio:1/.99;max-height:480px;overflow:hidden;border-radius:180px 180px 7px 7px;box-shadow:0 16px 40px #1b352619}.landscape{width:100%;height:100%;object-fit:cover;display:block}.art-frame{position:absolute;top:10px;right:10px;bottom:10px;left:10px;border:1px solid var(--edge-eadab347,#eadab347);border-radius:inherit;pointer-events:none}.art-caption{position:absolute;inset:auto 0 29px;text-align:center;color:#e1d8bc}.art-caption span{font-size:8px;letter-spacing:3px}.art-caption p{font-family:var(--serif);font-size:15px;margin-top:12px;letter-spacing:1px}.art-corner{position:absolute;color:#d5bf8d;font-size:14px;bottom:19px}.tl{left:20px}.br{right:20px}.intro-strip{display:flex;justify-content:space-between;align-items:end;margin:52px 0 24px;padding-top:32px;border-top:1px solid var(--line)}.section-kicker{font-size:9px;color:var(--ink-a58a5c,#a58a5c);letter-spacing:1px}.intro-strip h2{font-size:23px;margin-top:8px;letter-spacing:-.8px}.intro-strip>p{font-size:11px;line-height:1.9;color:var(--ink-8c8f83,#8c8f83)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.feature-card{padding:23px;border:1px solid var(--line);border-radius:5px;background:var(--surface-fbfaf5,#fbfaf5)}.feature-head{display:flex;justify-content:space-between;color:var(--ink-9b865e,#9b865e)}.feature-head span{font:13px Georgia;color:#bbb8ab}.feature-card h3{font-size:12px;margin:21px 0 12px}.feature-card p{font-size:11px;line-height:1.9;color:var(--ink-8a8e83,#8a8e83)}.home-footer{display:flex;align-items:center;justify-content:space-between;padding:33px 0 2px;color:var(--ink-999b8e,#999b8e)}.home-footer>span{font-size:8px;letter-spacing:2px}.home-footer p{font-family:var(--serif);font-size:10px}.home-footer button{display:flex;align-items:center;gap:8px;border:0;background:none;font-size:10px;color:var(--ink-8c927f,#8c927f)}.page-heading{margin:0 0 32px}.page-heading h1{font-size:34px;margin:14px 0}.page-heading p{font-size:12px;color:var(--muted);line-height:1.8}.centered{text-align:center}.centered .eyebrow{justify-content:center}.play-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.play-heading h1{font-size:31px;margin:12px 0}.play-heading h1 span{font-family:Noto Sans KR,sans-serif;font-size:10px;font-weight:400;vertical-align:middle;color:var(--ink-8b9084,#8b9084);letter-spacing:0;margin-left:16px}.play-heading p{font-size:11px;color:var(--ink-858c80,#858c80)}.age-badge{text-align:right;border-left:1px solid var(--line);padding-left:30px}.age-badge strong{display:block;font:40px Georgia;color:var(--ink-987e52,#987e52)}.age-badge strong small{font:11px Noto Sans KR,sans-serif;margin-left:7px}.age-badge>span{font-size:10px;color:var(--ink-8b8d7e,#8b8d7e)}.game-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;align-items:start}.character-panel{background:var(--surface-eae9df,#eae9df);border:1px solid var(--edge-deded1,#deded1);border-radius:5px;padding:24px 21px;color:var(--ink-536257,#536257)}.profile-crest{margin:0 auto 13px;border:1px solid var(--edge-bdb69d,#bdb69d);width:66px;height:72px;display:flex;align-items:center;justify-content:center;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);background:var(--surface-dfdfcf,#dfdfcf);color:var(--ink-7f805e,#7f805e)}.character-title{text-align:center;padding-bottom:22px;border-bottom:1px solid var(--edge-d6d8c8,#d6d8c8)}.character-title h3{font:19px var(--serif);color:var(--ink-35463c,#35463c)}.character-title span{display:block;font-size:10px;margin-top:7px;color:var(--ink-92937f,#92937f)}.health-states{display:grid;gap:14px;margin:21px 0}.health-states>div>span{display:flex;align-items:center;gap:6px;font-size:10px;margin-bottom:7px}.health-states b{margin-left:auto;font-weight:500}.meter{height:4px;background:var(--surface-dadccf,#dadccf);overflow:hidden;border-radius:6px}.meter i{height:100%;display:block;background:var(--surface-a99875,#a99875);border-radius:6px}.status-0 i{background:var(--surface-8b9f82,#8b9f82)}.status-1 i{background:var(--surface-c4ae70,#c4ae70)}.status-2 i{background:var(--surface-a89486,#a89486)}.money-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-top:13px}.money-row span{display:flex;align-items:center;gap:7px}.money-row strong{font-size:16px;font-weight:500;color:var(--ink-7d704a,#7d704a)}.money-row strong small{font-size:10px}.ability-details{margin-top:22px;padding-top:19px;border-top:1px solid var(--edge-d6d8c8,#d6d8c8)}.ability-details summary{font-size:11px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;margin-bottom:16px}.ability-details summary span{font-size:7px;color:var(--ink-9b9d8d,#9b9d8d);letter-spacing:.8px}.stat-bars{display:grid;gap:14px}.stat-bars>div{display:flex;align-items:center;gap:12px;font-size:10px}.stat-bars span{width:33px;flex-shrink:0}.stat-bars .meter{flex:1;height:3px}.stat-bars b{width:19px;text-align:right;font-size:11px;font-weight:500;color:var(--ink-7c795e,#7c795e)}.race-note{display:flex;gap:7px;margin-top:23px;padding:12px 0;border-top:1px solid var(--edge-d6d8c8,#d6d8c8);font-size:9px;line-height:1.8;color:var(--ink-8f8b6f,#8f8b6f)}.race-note svg{flex-shrink:0;margin-top:2px}.panel-button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--edge-c8cbb9,#c8cbb9);background:transparent;border-radius:3px;padding:10px;width:100%;font-size:10px}.tabbar{display:flex;border-bottom:1px solid var(--line);gap:19px;margin-bottom:19px}.tabbar button{display:flex;gap:7px;align-items:center;padding:0 6px 16px;border:0;border-bottom:2px solid transparent;background:none;font-size:11px;color:var(--ink-97998c,#97998c)}.tabbar button.active{border-color:#aa8b51;color:var(--ink-8c7446,#8c7446)}.world-notice{display:flex;gap:9px;align-items:center;font-size:9px;color:var(--ink-8c9185,#8c9185);margin-bottom:16px}.world-notice strong{font-weight:500;color:var(--ink-767d69,#767d69);margin-left:auto}.paper{background:var(--surface-fffdf6,#fffdf6);border:1px solid var(--edge-e1ddce,#e1ddce);border-radius:5px;box-shadow:0 6px 18px #483a2110}.story-paper{padding:27px 34px 32px;position:relative;background-image:radial-gradient(ellipse at top,var(--surface-e4d6ac0d,#e4d6ac0d),transparent 80%)}.paper-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--ink-a2a18c,#a2a18c)}.pill{display:inline-flex;align-items:center;border:1px solid var(--edge-dfdac8,#dfdac8);padding:5px 8px;border-radius:3px;font-size:9px;color:var(--ink-94805d,#94805d);background:var(--surface-f3efe2,#f3efe2)}.pill.gold{border-color:var(--edge-cbb981,#cbb981);color:var(--ink-b19763,#b19763);background:#28372d55}.story-symbol{width:58px;height:58px;margin:29px auto 20px;display:flex;align-items:center;justify-content:center;border:1px solid var(--edge-dcd5bc,#dcd5bc);border-radius:50%;color:var(--ink-a18d60,#a18d60)}.story-paper h2{text-align:center;font-size:25px;letter-spacing:-.7px;line-height:1.6}.story-text{font-family:var(--serif);font-size:14px;line-height:2.25;color:var(--ink-6c705e,#6c705e);max-width:590px;margin:25px auto 27px;word-break:keep-all}.story-divider{display:flex;align-items:center;gap:20px;color:#c5b98e;margin:28px 0}.story-divider:before,.story-divider:after{content:"";height:1px;flex:1;background:var(--surface-e8e1cc,#e8e1cc)}.section-label{font-size:10px;color:var(--ink-a19a81,#a19a81);margin:19px 0 14px}.activity-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.activity-grid button{display:flex;text-align:left;align-items:center;gap:13px;border:1px solid var(--edge-e1ddcb,#e1ddcb);border-radius:4px;background:var(--surface-f9f7ed,#f9f7ed);padding:17px 14px;color:var(--ink-928568,#928568)}.activity-grid button>div{flex:1}.activity-grid strong{display:block;font-weight:500;font-size:12px;color:var(--ink-52604f,#52604f)}.activity-grid small{display:block;font-size:9px;line-height:1.7;margin-top:5px;color:var(--ink-989d87,#989d87)}.activity-grid button:hover:not(:disabled),.choices button:hover:not(:disabled){background:var(--surface-eee9d7,#eee9d7);border-color:#baa16c}.rule-info{display:flex;flex-direction:column;align-items:center;gap:6px;padding:13px;background:var(--surface-f3f0e5,#f3f0e5);border-radius:4px}.rule-info>span{display:flex;gap:6px;align-items:center;font-size:10px;color:var(--ink-8a815f,#8a815f)}.rule-info small{font-size:9px;color:var(--ink-a29d88,#a29d88)}.choices{display:grid;gap:11px}.choices button{display:flex;align-items:center;gap:16px;text-align:left;background:var(--surface-faf8ee,#faf8ee);border:1px solid var(--edge-dfd9c5,#dfd9c5);border-radius:4px;padding:17px}.choice-num{font:15px Georgia;color:var(--ink-ad9972,#ad9972)}.choice-copy{flex:1}.choice-copy strong{display:block;font-size:12px;font-weight:500;color:var(--ink-535d4b,#535d4b)}.choice-copy small{display:block;font-size:9px;margin-top:6px;color:var(--ink-9c9882,#9c9882)}.choices svg{color:var(--ink-ab9d7c,#ab9d7c)}.below-paper{display:flex;justify-content:space-between;color:var(--ink-9b9f8e,#9b9f8e);font-size:9px;padding:18px 3px}.result-paper{text-align:center}.result-paper .gold-button{margin:28px auto 18px}.delta-list{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.delta-list span{font-size:10px;border:1px solid var(--edge-d8decd,#d8decd);border-radius:3px;padding:6px 10px;background:var(--surface-edf0e4,#edf0e4);color:var(--ink-6d7b54,#6d7b54)}.activity-result{font-size:9px;color:var(--ink-93917a,#93917a);border-bottom:1px dashed var(--edge-dfd9c7,#dfd9c7);padding:12px 0}.activity-result summary{cursor:pointer}.activity-result .delta-list{margin-top:10px;justify-content:flex-start}.activity-result .delta-list span{font-size:8px}.birth-card{max-width:850px;margin:auto;background:var(--surface-fdfbf3,#fdfbf3);border:1px solid var(--edge-ded9c9,#ded9c9);border-radius:6px;overflow:hidden;box-shadow:0 12px 30px #4c452312}.birth-banner{text-align:center;background:#1d3439;color:#dfdfc8;padding:32px;background-image:radial-gradient(ellipse at 50% 0,#56736666,transparent 75%)}.birth-sigil{color:var(--ink-bea472,#bea472);margin-bottom:15px}.birth-banner h2{font-size:31px;margin:12px 0}.birth-banner p{font-size:11px;color:var(--ink-9eafa3,#9eafa3);margin:10px 0 18px}.birth-body{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;padding:32px}.birth-body h3{font-size:12px;display:flex;gap:8px;align-items:center;margin-bottom:20px}.birth-body p{font-size:11px;line-height:1.9}.family-line{display:flex;justify-content:space-between;gap:12px;font-size:10px;padding:11px 0;border-bottom:1px solid var(--edge-e8e3d5,#e8e3d5)}.family-line>span:last-child{color:var(--ink-9a9986,#9a9986)}.birth-body .stat-bars{gap:24px}.birth-footer{border-top:1px solid var(--edge-e1dccd,#e1dccd);display:flex;justify-content:space-between;align-items:center;padding:23px 32px}.birth-footer>span{font-size:10px;color:var(--ink-959681,#959681)}.muted{color:var(--ink-929682,#929682)!important}.small{font-size:10px!important;line-height:1.9}.mt{margin-top:25px!important}.section-title{font-size:23px;margin:38px 0 22px}.section-title span{font:9px Noto Sans KR,sans-serif;letter-spacing:2px;color:var(--ink-a59e86,#a59e86);margin-left:12px}.lore-intro{display:flex;align-items:center;gap:26px;border:1px solid var(--edge-d9dccf,#d9dccf);background:var(--surface-e9ece0,#e9ece0);padding:26px;color:var(--ink-6f8168,#6f8168);border-radius:5px}.lore-intro svg{flex-shrink:0}.lore-intro h3{font:19px var(--serif);margin-bottom:10px}.lore-intro p{font-size:11px;line-height:1.9;color:var(--ink-868d7a,#868d7a)}.codex-grid,.world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lore-card,.nation-card{position:relative;border:1px solid var(--edge-dcdccf,#dcdccf);background:var(--surface-fbfaf3,#fbfaf3);border-radius:5px;padding:24px}.lore-number{font:32px Georgia;color:#ddd9c7;position:absolute;top:20px;right:20px}.lore-card h3{font:21px var(--serif);margin:0 0 18px}.lore-card h3 span{display:block;font:10px Noto Sans KR,sans-serif;color:var(--ink-a19b80,#a19b80);margin-top:10px}.lore-card p,.nation-card p{font-size:11px;line-height:1.9;margin-bottom:9px;color:var(--ink-7e8777,#7e8777)}.trait{font-size:10px;color:var(--ink-9a8353,#9a8353);border-top:1px solid var(--edge-e3dfcf,#e3dfcf);padding-top:15px;margin-top:18px}.nation-top{display:flex;justify-content:space-between;align-items:center;color:var(--ink-9f906c,#9f906c);margin-bottom:18px}.nation-top span{font-size:9px}.nation-card h3{font:19px var(--serif);margin-bottom:15px}.industry{font-size:9px;color:var(--ink-a6946c,#a6946c);margin:15px 0}.nation-stats{display:flex;justify-content:space-between;gap:12px}.nation-stats>div{flex:1}.nation-stats span{display:block;font-size:9px;color:var(--ink-959b88,#959b88)}.nation-stats b{display:block;margin:7px 0;font:17px Georgia;color:var(--ink-7a8166,#7a8166)}.nation-bottom{display:flex;justify-content:space-between;font-size:9px;color:var(--ink-979b86,#979b86);border-top:1px solid var(--edge-e0dfd0,#e0dfd0);margin-top:20px;padding-top:15px}.nation-bottom b{font-weight:500;color:var(--ink-a3926c,#a3926c)}.nation-card.current{border-color:#b5ab7b;background:var(--surface-f8f6e9,#f8f6e9)}.nation-card details{font-size:10px;color:var(--ink-8b907a,#8b907a);margin-top:10px}.nation-card details p{margin-top:8px}.rules-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:24px}.rules-grid h3{font-size:12px;margin-bottom:10px}.rules-grid p{font-size:11px;color:var(--ink-868c7b,#868c7b);line-height:2}.subpage{padding:26px}.section-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:23px;border-bottom:1px solid var(--edge-e2decf,#e2decf);margin-bottom:22px}.section-heading h2{font-size:20px}.section-heading>span{font-size:10px;color:var(--ink-919881,#919881)}.personal-info{display:flex;flex-wrap:wrap;gap:18px;font-size:10px;color:var(--ink-939981,#939981);margin-bottom:24px}.personal-info b{font-weight:500;margin-left:8px;color:var(--ink-737e62,#737e62)}.people-grid{display:grid;gap:13px}.people-grid article{display:flex;gap:17px;border:1px solid var(--edge-e3e1d3,#e3e1d3);border-radius:4px;padding:16px;background:var(--surface-f7f7ec,#f7f7ec)}.person-avatar{width:45px;height:45px;border-radius:50%;background:var(--surface-e8eadb,#e8eadb);color:var(--ink-9ba484,#9ba484);display:flex;align-items:center;justify-content:center;flex-shrink:0}.people-grid h3{font-size:13px;margin:6px 0}.people-grid p{font-size:9px;color:var(--ink-90957e,#90957e)}.affection{display:flex;gap:5px;color:var(--ink-9e9378,#9e9378);font-size:9px;align-items:center;margin-top:10px}.people-grid details{font-size:9px;color:var(--ink-989b83,#989b83);margin-top:10px}.people-grid details small{display:block;padding-top:8px}.people-grid .deceased{opacity:.58}.timeline article{display:flex;gap:25px}.timeline-date{min-width:38px;text-align:right;font:14px Georgia;color:var(--ink-a28c61,#a28c61)}.timeline-date span{display:block;font:9px Noto Sans KR,sans-serif;margin-top:7px;color:var(--ink-a1a38e,#a1a38e)}.timeline article>div:last-child{position:relative;flex:1;border-left:1px solid var(--edge-e0ddca,#e0ddca);padding:0 0 27px 23px}.timeline-dot{position:absolute;left:-4px;top:5px;background:var(--surface-bbab7c,#bbab7c);width:7px;height:7px;border:2px solid var(--edge-fefcf3,#fefcf3);border-radius:50%}.timeline h3{font-size:11px;margin-bottom:8px}.timeline p{font-size:10px;line-height:1.9;color:var(--ink-90937e,#90937e);overflow-wrap:anywhere}.timeline .world h3{color:var(--ink-8a9984,#8a9984)}.ending-card{max-width:950px;margin:0 auto 28px;padding:40px;background:var(--surface-fbfaf2,#fbfaf2);border:1px solid var(--edge-dfdac5,#dfdac5);border-radius:6px;text-align:center}.ending-card .eyebrow{justify-content:center}.ending-symbol{font:55px Georgia;color:var(--ink-b59c68,#b59c68);margin:18px}.ending-card h1{font-size:35px}.life-dates{display:block;margin:15px;font-size:10px;letter-spacing:1px;color:var(--ink-a09878,#a09878)}.ending-card h2{font-size:21px;color:var(--ink-a08956,#a08956);margin-top:35px}.epitaph{font:italic 14px/2 var(--serif);color:var(--ink-95947c,#95947c);margin:20px auto 30px;max-width:520px}.ending-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--edge-e1ddc8,#e1ddc8);border-bottom:1px solid var(--edge-e1ddc8,#e1ddc8);padding:22px 0}.ending-stats span{font-size:9px;color:var(--ink-9a9e85,#9a9e85);display:block;margin-bottom:10px}.ending-stats b{font-size:13px;font-weight:500}.life-summary{font-size:11px;color:var(--ink-8b917b,#8b917b);line-height:2;margin:25px auto;max-width:600px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.archive-card{display:flex;align-items:center;flex-direction:column;text-align:center;padding:30px 18px;border:1px solid var(--edge-dcd7c3,#dcd7c3);background:var(--surface-fcfaf0,#fcfaf0);border-radius:6px;color:var(--ink-a08a5c,#a08a5c)}.archive-card>svg{margin-bottom:20px}.archive-card h2{font-size:24px;color:var(--ink-435343,#435343);margin:20px 0 10px}.archive-card p{font-size:10px;color:var(--ink-929681,#929681)}.archive-card h3{font-size:12px;font-weight:500;margin:24px 0}.text-link{display:flex;gap:9px;font-size:10px;align-items:center}.empty-state{text-align:center;padding:80px 20px;border:1px dashed var(--edge-d9d4bf,#d9d4bf);border-radius:8px;color:var(--ink-a1936a,#a1936a);background:var(--surface-fbfaf13d,#fbfaf13d)}.empty-state h2{font-size:24px;margin:23px 0 15px;color:var(--ink-67775f,#67775f)}.empty-state p{font-size:12px;line-height:2;color:var(--ink-9a9f88,#9a9f88);margin-bottom:25px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0e202abb;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:25px}.modal{position:relative;width:540px;max-width:100%;max-height:90vh;overflow:auto;background:var(--surface-f7f5eb,#f7f5eb);border:1px solid var(--edge-d7cda7,#d7cda7);border-radius:7px;padding:36px;box-shadow:0 25px 80px #0005}.modal.wide{width:1000px}.close{position:absolute;top:12px;right:12px}.modal h2{font-size:25px;margin:18px 0}.modal>p{font-size:12px;line-height:2;color:var(--ink-8b927c,#8b927c);margin-bottom:20px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--edge-dddac9,#dddac9);font-size:13px}.setting-row small{display:block;font-size:10px;color:var(--ink-9b9f88,#9b9f88);margin-top:7px}.setting-row input{width:21px;height:21px;accent-color:#a98a4e}.setting-info{display:flex;gap:12px;margin:24px 0;color:var(--ink-8f987e,#8f987e)}.setting-info strong{font-size:12px}.setting-info p{font-size:10px;line-height:1.9;margin-top:8px}.setting-info svg{flex-shrink:0}.destination-list{display:grid;gap:8px;margin:22px 0}.destination-list button{display:flex;align-items:center;justify-content:space-between;padding:13px;border:1px solid var(--edge-d9d8c4,#d9d8c4);border-radius:4px;background:transparent;font-size:12px}.destination-list small{font-size:9px;color:var(--ink-929a82,#929a82)}.destination-list button.selected{background:var(--surface-e3e4d0,#e3e4d0);border-color:#aeb27f}.jobs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.jobs-grid article{padding:20px;border:1px solid var(--edge-dbd9c5,#dbd9c5);border-radius:4px;background:var(--surface-fffdf3,#fffdf3)}.jobs-grid h3{display:flex;align-items:center;justify-content:space-between;font-size:16px;margin-bottom:13px}.jobs-grid p{font-size:10px;color:var(--ink-939b81,#939b81)}.job-facts{font-size:10px;display:grid;gap:9px;margin:16px 0}.job-facts span{display:flex;justify-content:space-between;color:var(--ink-939b82,#939b82)}.job-facts b{font-weight:500;color:var(--ink-869169,#869169)}.jobs-grid small{font-size:9px;line-height:1.8;display:block;color:var(--ink-a2a58a,#a2a58a)}.jobs-grid button{margin-top:18px;width:100%;border:1px solid var(--edge-c7caae,#c7caae);color:var(--ink-828a64,#828a64);background:var(--surface-f0f0e0,#f0f0e0);border-radius:3px;padding:10px;font-size:10px;min-height:40px}.text-button{display:flex;gap:8px;align-items:center;border:0;background:transparent;margin-bottom:20px;color:var(--ink-909a7d,#909a7d);font-size:11px}.save-error{padding:12px;background:var(--surface-f6e0b6,#f6e0b6);color:var(--ink-776136,#776136);font-size:12px}.large-text .story-text{font-size:18px}.large-text .story-copy,.large-text .choices strong{font-size:15px}.large-text .hero-copy>p,.large-text .feature-card p,.large-text .lore-card p,.large-text .nation-card p{font-size:14px}@media(min-width:1550px){.home-page{padding-top:65px}.hero{gap:80px}.hero-art{max-height:490px}.hero h1{font-size:58px}}@media(max-width:1150px){.sidebar{width:190px;padding:30px 15px}.workspace{margin-left:190px}.brand{font-size:22px;gap:8px}.brand-mark{font-size:35px}.nav-label{font-size:7px}.home-page,.codex-page,.archive-page,.play-page{padding:32px}.topbar{padding:0 32px}.hero{gap:25px}.hero h1{font-size:38px}.hero-copy>p{font-size:11px}.hero-art{aspect-ratio:.82}.game-layout{grid-template-columns:200px minmax(0,1fr);gap:20px}.character-panel{padding:22px 16px}.story-paper{padding:24px}.activity-grid button{gap:9px;padding:13px 9px}.activity-grid small{font-size:8px}.tabbar{gap:10px}.tabbar button{font-size:10px}.home-footer p{display:none}.feature-card{padding:18px}.jobs-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.sidebar{width:170px;padding:25px 10px}.workspace{margin-left:170px}.brand{font-size:20px;letter-spacing:1px}.brand small{font-size:7px;letter-spacing:2px}.sidebar nav button{padding:12px 10px;font-size:11px;gap:10px}.nav-label{letter-spacing:.7px}.home-page,.codex-page,.archive-page,.play-page{padding:26px}.topbar{padding:0 25px;height:62px}.top-right{font-size:8px}.hero{gap:22px}.hero h1{font-size:31px;letter-spacing:-1px}.chapter-label{font-size:9px}.hero-copy>p{font-size:10px}.hero-actions{margin-top:20px;gap:8px}.gold-button,.outline-button{padding:12px 14px;font-size:11px}.hero-art{aspect-ratio:.68}.hero-note{font-size:8px}.intro-strip>p{display:none}.intro-strip{margin-top:35px}.feature-grid{gap:10px}.feature-card{padding:15px}.feature-card h3{line-height:1.8;font-size:11px}.feature-card p{font-size:10px}.game-layout{grid-template-columns:1fr}.character-panel{display:grid;grid-template-columns:60px 1fr 1fr;gap:12px;align-items:center;padding:17px}.profile-crest{width:46px;height:54px;margin:0}.character-title{border:0;padding:0;text-align:left}.character-title h3{font-size:16px}.health-states{grid-column:1/4;display:flex;margin:0;gap:18px}.health-states>div{flex:1}.money-row{margin:0;grid-column:auto}.ability-details{grid-column:1/4;margin:0;padding:10px 0 0}.ability-details .stat-bars{grid-template-columns:repeat(3,1fr);gap:12px}.race-note{grid-column:1/4;margin:0;padding:8px 0;font-size:9px}.panel-button{grid-column:3;grid-row:1;font-size:9px}.character-panel .money-row:nth-of-type(4){grid-column:1/3}.story-column>.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.birth-body{gap:25px;padding:25px}.birth-footer{padding:23px}.birth-footer>span{font-size:9px}.codex-grid,.world-grid{gap:12px}.nation-card,.lore-card{padding:20px}.rules-grid{grid-template-columns:1fr;gap:20px}.archive-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.sidebar{transform:translate(-100%);width:230px;transition:transform .2s;box-shadow:20px 0 60px #0003}.sidebar.open{transform:translate(0)}.workspace{margin-left:0}.mobile-menu{display:inline-flex!important;margin-left:-7px;margin-right:8px}.topbar{padding:0 18px}.top-right .icon-button{margin-left:2px}.top-breadcrumb{font-size:10px;gap:7px}.home-page,.codex-page,.archive-page,.play-page{padding:28px 20px}.home-page>.eyebrow{font-size:8px;letter-spacing:1.8px}.hero{grid-template-columns:1fr;gap:29px;margin-top:23px}.hero-copy{padding:0}.hero h1{font-size:43px;line-height:1.4;margin:17px 0 20px}.chapter-label{font-size:10px}.hero-copy>p{font-size:12px;line-height:2}.hero-actions{margin-top:24px}.hero-note{font-size:9px;margin-top:18px}.hero-art{aspect-ratio:1.5;max-height:280px;border-radius:120px 120px 4px 4px}.hero-art svg{position:absolute;height:auto;top:-100px;min-height:400px}.art-caption{bottom:21px}.art-caption p{font-size:13px;margin-top:8px}.art-caption span{font-size:7px}.intro-strip{margin-top:32px;padding-top:26px;margin-bottom:18px}.intro-strip h2{font-size:23px}.feature-grid{grid-template-columns:1fr;gap:12px}.feature-card{padding:21px}.feature-head{float:left;display:block;margin-right:19px}.feature-head span{display:none}.feature-card h3{margin:0 0 8px;font-size:12px}.feature-card p{font-size:11px;padding-left:41px}.home-footer{padding-top:27px}.page-heading h1{font-size:30px}.page-heading p{font-size:11px}.play-heading h1{font-size:25px}.play-heading h1 span{display:block;margin:8px 0 0;font-size:10px}.play-heading{margin-bottom:24px}.play-heading p{font-size:10px}.age-badge{padding-left:18px}.age-badge strong{font-size:35px}.age-badge>span{font-size:9px}.game-layout{gap:24px}.character-panel{padding:15px}.tabbar{gap:0;justify-content:space-between}.tabbar button{font-size:10px;gap:5px;padding:0 3px 14px}.tabbar button svg{width:14px}.story-paper{padding:21px 20px 25px}.story-paper h2{font-size:24px}.story-symbol{margin:24px auto 18px;width:52px;height:52px}.story-text{font-size:14px;line-height:2.2;margin:21px auto}.activity-grid{gap:8px}.activity-grid button{padding:13px 10px;gap:9px}.activity-grid button>svg:first-child{width:19px}.activity-grid button>svg:last-child{display:none}.activity-grid strong{font-size:11px}.activity-grid small{font-size:8px;line-height:1.6}.rule-info small{font-size:8px;line-height:1.8;text-align:center}.choices button{padding:16px 12px;gap:12px;min-height:77px}.choice-copy strong{font-size:12px;line-height:1.8}.choice-copy small{font-size:9px}.below-paper{font-size:8px;gap:10px}.birth-body{grid-template-columns:1fr;padding:24px;gap:30px}.birth-body .stat-bars{gap:18px}.birth-footer{flex-direction:column;gap:18px;padding:21px}.birth-footer .gold-button{width:100%}.birth-banner{padding:29px 20px}.birth-banner h2{font-size:28px}.codex-grid,.world-grid,.story-column>.world-grid{grid-template-columns:1fr}.lore-intro{gap:16px;padding:21px}.lore-intro svg{display:none}.lore-intro h3{font-size:18px}.lore-intro p{font-size:11px}.section-title{font-size:23px;margin-top:30px}.lore-card,.nation-card{padding:24px}.rules-grid p{font-size:12px}.subpage{padding:22px 18px}.section-heading h2{font-size:19px}.section-heading>span{font-size:8px}.people-grid article{padding:13px;gap:12px}.people-grid h3{font-size:13px}.timeline article{gap:17px}.timeline h3{font-size:11px}.timeline p{font-size:10px}.ending-card{padding:30px 22px}.ending-card h1{font-size:30px}.ending-card h2{font-size:20px}.ending-stats{grid-template-columns:repeat(2,1fr);gap:22px}.epitaph{font-size:12px}.life-summary{font-size:11px;text-align:left}.archive-grid{grid-template-columns:1fr}.empty-state{padding:50px 20px}.empty-state h2{font-size:22px}.modal-backdrop{padding:13px}.modal{padding:29px 22px;max-height:92vh}.modal h2{font-size:23px;line-height:1.6}.modal-actions{flex-direction:column-reverse}.jobs-grid{gap:10px;grid-template-columns:1fr}.jobs-grid article{padding:19px}.jobs-grid small{font-size:10px}.jobs-grid button,.destination-list button{font-size:11px}.large-text .story-text{font-size:17px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.budget-panel{border:1px solid var(--edge-dedccd,#dedccd);border-radius:4px;background:var(--surface-eeede2,#eeede2);margin:0 0 17px;padding:12px 14px;font-size:10px;color:var(--ink-7a816e,#7a816e)}.budget-panel>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}.budget-panel>summary strong{font-weight:500}.budget-panel>summary>span{margin-left:auto;font-size:9px;color:var(--ink-938b6b,#938b6b)}.budget-content{padding-top:16px}.budget-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.budget-numbers span{font-size:9px;color:var(--ink-90957d,#90957d)}.budget-numbers b{display:block;margin-top:7px;font-size:14px;font-weight:500;color:var(--ink-746d4e,#746d4e)}.budget-content p{font-size:9px;line-height:1.9;margin:13px 0}.ledger-line{border-top:1px solid var(--edge-d7d8c7,#d7d8c7);padding-top:12px;font-size:9px;line-height:1.9}.budget-content .panel-button{margin-top:12px}.activity-estimate{font-size:8px!important;line-height:1.8!important;color:var(--ink-a69064,#a69064)!important;margin-top:8px!important}.career-level{font-size:9px;color:var(--ink-9c9578,#9c9578);display:block;margin:8px 0}.debt-row strong{color:var(--ink-a07959,#a07959)}.career-panel{padding:22px;background:var(--surface-efefe1,#efefe1);border:1px solid var(--edge-dbdcc8,#dbdcc8);border-radius:5px;margin:24px 0}.career-panel .section-heading{margin-bottom:17px;padding-bottom:16px}.career-panel .section-heading h2{font-size:19px;margin:0}.career-overview{display:flex;gap:17px;flex-wrap:wrap;font-size:10px;color:var(--ink-9a9d84,#9a9d84)}.career-overview b{font-weight:500;color:var(--ink-7e8866,#7e8866);margin-left:5px}.asset-list{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.asset-list span{border:1px solid var(--edge-d6d4b9,#d6d4b9);border-radius:3px;padding:6px 9px;font-size:9px;color:var(--ink-96804e,#96804e);background:var(--surface-f8f4df,#f8f4df)}.career-description{font-size:11px;line-height:1.9;color:var(--ink-8e967d,#8e967d);margin:20px 0}.career-chapters{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;list-style:none;margin:18px 0;padding:0}.career-chapters li{display:flex;align-items:center;gap:10px;opacity:.65}.career-chapters li.done{opacity:1}.career-chapters li>span{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid var(--edge-c8cbb4,#c8cbb4);border-radius:50%;color:var(--ink-929b7c,#929b7c);flex-shrink:0;font-size:10px}.career-chapters li.done>span{background:var(--surface-d8dec5,#d8dec5);color:var(--ink-6e7f56,#6e7f56)}.career-chapters strong{font-size:11px;font-weight:500}.career-chapters small{display:block;font-size:8px;margin-top:6px;color:var(--ink-9b9d83,#9b9d83)}.milestone-list{border-top:1px solid var(--edge-dbdcc6,#dbdcc6);margin-top:20px;padding-top:15px}.milestone-list h3{font-size:11px;margin-bottom:10px}.milestone-list p{font-size:10px;line-height:1.9;color:var(--ink-8b9177,#8b9177)}.career-history{display:flex;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--ink-999b82,#999b82);margin:15px 0}.relationship-actions{margin-top:13px!important}.relationship-actions>summary{display:flex;align-items:center;gap:5px;cursor:pointer;color:var(--ink-9c8868,#9c8868)}.relationship-actions p{font-size:9px!important;line-height:1.8;margin:10px 0}.relationship-actions>div{display:flex;flex-wrap:wrap;gap:7px}.relationship-actions button{background:var(--surface-f3f0e1,#f3f0e1);border:1px solid var(--edge-dcd6bd,#dcd6bd);border-radius:3px;padding:8px;text-align:left}.relationship-actions strong{display:block;font-size:10px;font-weight:500;color:var(--ink-8b805e,#8b805e)}.relationship-actions small{display:block;font-size:8px!important;line-height:1.7;margin-top:4px!important;padding:0!important}.people-grid article>div:last-child{min-width:0;flex:1}.event-person{display:flex;gap:7px;align-items:center;justify-content:center;font-size:10px;color:var(--ink-9c926e,#9c926e);margin-top:-10px}.life-portrait{padding:30px;margin:0 0 25px}.life-portrait h2{display:flex;align-items:center;gap:9px}.portrait-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.portrait-stats span{font-size:10px;color:var(--ink-929b80,#929b80)}.portrait-stats b{display:block;font-size:20px;margin-top:10px;color:var(--ink-928157,#928157);font-weight:500}.ending-reasons{margin-top:25px;padding:20px;background:var(--surface-efefdf,#efefdf);border-radius:4px}.ending-reasons h3{font-size:12px;margin-bottom:11px}.ending-reasons p{font-size:11px;line-height:2;color:var(--ink-8a9274,#8a9274)}.portrait-columns{display:grid;grid-template-columns:repeat(2,1fr);gap:25px;margin:25px 0}.portrait-columns h3,.highlights-heading{font-size:12px;color:var(--ink-7c8769,#7c8769);margin:18px 0 11px}.portrait-columns p{font-size:11px;line-height:2;color:var(--ink-959c83,#959c83)}.portrait-columns b{font-weight:500}.highlight{display:flex;gap:15px;border-left:1px solid var(--edge-d8d9bf,#d8d9bf);padding:4px 0 19px 15px}.highlight>span{font-size:10px;color:var(--ink-a09167,#a09167);min-width:35px}.highlight strong{font-size:11px;font-weight:500}.highlight p{font-size:10px;line-height:1.9;color:var(--ink-999d85,#999d85);margin-top:6px}.timeline-filter{display:flex;align-items:center;gap:12px;font-size:10px;color:var(--ink-92997f,#92997f);margin-bottom:23px}.timeline-filter select{border:1px solid var(--edge-d6d8c3,#d6d8c3);background:var(--surface-f2f2e6,#f2f2e6);border-radius:3px;padding:9px;color:var(--ink-86916d,#86916d);font:inherit;min-height:37px}.life-portrait .section-heading>span{font-size:9px}.life-portrait .text-button{margin:15px 0 0}.large-text .ending-reasons p,.large-text .portrait-columns p{font-size:14px}@media(max-width:650px){.budget-panel{padding:12px}.budget-panel>summary>span{font-size:8px}.career-panel{padding:18px}.career-panel .section-heading{flex-wrap:wrap;gap:10px}.career-chapters{grid-template-columns:1fr;gap:15px}.career-chapters small{font-size:9px}.career-overview{gap:12px;font-size:10px}.portrait-stats{grid-template-columns:repeat(2,1fr);gap:20px}.portrait-columns{grid-template-columns:1fr;gap:0}.life-portrait{padding:22px 18px}.life-portrait .section-heading{display:block}.life-portrait .section-heading>span{display:block;margin-top:12px}.ending-reasons{padding:16px}.activity-grid button{align-items:flex-start}.activity-grid button>svg:first-child{margin-top:2px}.activity-estimate{font-size:8px!important;overflow-wrap:anywhere}.relationship-actions button{min-height:48px}.relationship-actions small{font-size:9px!important}.character-panel .debt-row{grid-column:1/4;justify-content:flex-end;gap:20px}.career-level{font-size:8px}.highlight{gap:10px}}.activity-toolbar{padding:19px 20px;margin-bottom:25px;background:var(--surface-fbfaf1,#fbfaf1)}.activity-toolbar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.activity-toolbar-heading>span{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--ink-847753,#847753)}.activity-toolbar-heading small{font-size:9px;color:var(--ink-92947d,#92947d)}.activity-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.activity-shortcuts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:78px;border:1px solid var(--edge-dcd7c1,#dcd7c1);background:var(--surface-f4f1e4,#f4f1e4);border-radius:4px;padding:12px 5px;color:var(--ink-97865f,#97865f)}.activity-shortcuts button:hover:not(:disabled){background:var(--surface-eae4cf,#eae4cf);border-color:#ae955f}.activity-shortcuts strong{font-size:11px;font-weight:500;color:var(--ink-5b674f,#5b674f)}.activity-shortcuts small{font-size:8px;line-height:1.5;color:var(--ink-8e947c,#8e947c)}.activity-toolbar-note{font-size:9px;color:var(--ink-98997f,#98997f);line-height:1.8;margin-top:14px}.activity-costs{border-top:1px solid var(--edge-e3dfcc,#e3dfcc);margin-top:13px;padding-top:12px;font-size:9px;color:var(--ink-91947b,#91947b)}.activity-costs summary{cursor:pointer}.activity-costs p{display:flex;align-items:baseline;gap:12px;line-height:1.9;margin-top:9px}.activity-costs b{min-width:34px;font-weight:500;color:var(--ink-8d815c,#8d815c)}.pending-event{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:10px;color:var(--ink-9a8559,#9a8559);line-height:1.8}.pending-event button{display:flex;align-items:center;gap:7px;border:1px solid var(--edge-c9ba91,#c9ba91);background:var(--surface-eee7d2,#eee7d2);padding:8px 11px;border-radius:3px;color:var(--ink-8c7546,#8c7546);font-size:10px;flex-shrink:0}.event-dialog{position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;width:min(680px,calc(100vw - 32px));max-width:680px;max-height:calc(100dvh - 36px);padding:0;border:1px solid var(--edge-c9ba93,#c9ba93);border-radius:8px;background:var(--surface-fffdf6,#fffdf6);color:var(--ink-283330,#283330);box-shadow:0 20px 90px #071b2966;overflow:auto;overscroll-behavior:contain}.event-dialog::backdrop{background:#0e202abb;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.event-dialog-heading{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;background:var(--surface-f5f2e6,#f5f2e6);z-index:2;padding:9px 16px;border-bottom:1px solid var(--edge-dfd8c3,#dfd8c3)}.event-dialog-heading>span{font-size:10px;color:var(--ink-96835d,#96835d);letter-spacing:1px}.event-dialog .paper{border:0;border-radius:0;box-shadow:none}.event-dialog .story-paper{padding-top:22px}.event-dialog .story-symbol{margin-top:20px}.event-dialog .story-text{font-size:15px}.large-text .event-dialog .story-text{font-size:18px}@media(max-width:1050px){.activity-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.activity-toolbar{padding:16px;margin-bottom:23px}.activity-toolbar-heading{align-items:flex-start}.activity-toolbar-heading small{font-size:8px;line-height:1.8}.activity-shortcuts{gap:8px}.activity-shortcuts button{min-height:74px}.activity-shortcuts strong{font-size:12px}.activity-costs p{font-size:9px;gap:10px}.pending-event{flex-wrap:wrap}.event-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.event-dialog .story-paper{padding:20px 20px 26px}.event-dialog .story-text{font-size:14px}.event-dialog .choices button{min-height:72px}}.adventure-entry{padding:20px;background:var(--surface-e8ebdd,#e8ebdd);border:1px solid var(--edge-cbd1b7,#cbd1b7);border-radius:5px;margin:20px 0}.adventure-entry h3{display:flex;align-items:center;gap:9px;font:18px var(--serif);color:var(--ink-737e53,#737e53)}.adventure-entry p{font-size:11px;line-height:2;color:var(--ink-8b9276,#8b9276);margin:14px 0}.choices .fatal-warning{color:var(--ink-a84e35,#a84e35)!important;font-weight:600;line-height:1.8!important;font-size:10px!important;margin-top:9px!important}.boss-paper{background-image:radial-gradient(ellipse at top,var(--surface-b9603319,#b9603319),transparent 75%)}.boss-paper .pill{color:var(--ink-a45536,#a45536);background:var(--surface-f2e1ce,#f2e1ce);border-color:var(--edge-d7b392,#d7b392)}.boss-paper .story-symbol{color:var(--ink-ae6d3f,#ae6d3f);border-color:var(--edge-d2ad7c,#d2ad7c)}.boss-paper h2{color:var(--ink-8a4d31,#8a4d31)}.boss-paper .choices button:first-child{border-color:var(--edge-cf9b73,#cf9b73);background:var(--surface-fbefe0,#fbefe0)}.race-portrait{margin:0;position:relative;min-width:0}.race-portrait img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:1px solid #b9a06c;border-radius:6px;background:#23434a}.race-portrait figcaption{font-size:8px;line-height:1.6;text-align:center;letter-spacing:.4px;color:var(--ink-a29778,#a29778);margin-top:7px}.portrait-birth{width:170px;margin:0 auto 22px}.portrait-birth img{border-radius:80px 80px 6px 6px;border:2px solid #b5a274;box-shadow:0 8px 26px #071f2844}.portrait-birth figcaption{color:var(--ink-aaa98c,#aaa98c)}.portrait-character{width:150px;max-width:100%;margin:0 auto 19px}.portrait-character img{border-radius:65px 65px 5px 5px}.portrait-ending{width:140px;margin:24px auto}.portrait-ending img{border-radius:70px 70px 5px 5px}.portrait-archive{width:76px;margin-bottom:20px}.portrait-archive img{border-radius:40px 40px 4px 4px}.race-portrait-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 22px}.portrait-codex img{border-color:var(--edge-c4b48d,#c4b48d);border-radius:55px 55px 4px 4px}.portrait-codex figcaption{font-size:9px;margin-top:9px;color:var(--ink-908463,#908463)}.portrait-guide{font-size:11px;line-height:1.9;color:var(--ink-919781,#919781);margin:-4px 0 23px;max-width:750px}@media(max-width:850px){.portrait-character{width:60px;margin:0}.portrait-character img{border-radius:22px 22px 4px 4px}.portrait-character figcaption{font-size:7px;margin-top:4px;letter-spacing:0}.race-portrait-pair{gap:9px}.portrait-codex img{border-radius:40px 40px 4px 4px}}@media(max-width:650px){.portrait-birth{width:150px}.portrait-ending{width:120px}.race-portrait-pair{gap:13px}.portrait-codex figcaption{font-size:10px}.portrait-guide{font-size:10px}.portrait-character{width:55px}.portrait-character figcaption{font-size:7px}.lore-card .lore-number{z-index:1}}.ending-share{margin:24px 0;padding:24px;border:1px solid #9e88554d;border-radius:12px;background:var(--paper,var(--surface-f5efdf,#f5efdf));color:var(--ink-253c43,#253c43);text-align:center}.ending-share h3{margin:0 0 10px}.ending-share p{line-height:1.7}.share-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px}.share-actions a{text-decoration:none}.share-actions button,.share-actions a{min-height:44px}.share-help{font-size:13px}.ending-share-preview{display:block;width:min(100%,540px);height:auto;margin:18px auto 0;border-radius:8px}.share-actions button:disabled{opacity:.5;cursor:not-allowed}.reputation-guide{padding:16px 20px;margin:16px 0;font-size:14px;line-height:1.7}.reputation-guide summary{cursor:pointer;font-weight:700}.reputation-guide p{margin:10px 0}.battle-panel{padding:28px;color:#e7dec6;background:#132730;border-radius:14px}.battle-panel h2{color:#f2d399}.battle-arena{display:grid;grid-template-columns:1fr 32px 1fr;gap:12px;align-items:center;background:linear-gradient(#18333e 70%,#263c35 70%);padding:20px 12px;border:1px solid #577071;border-radius:10px}.battle-arena svg{width:100%;height:150px;image-rendering:pixelated;filter:drop-shadow(4px 6px 0 #0b1c23)}.battle-arena strong{display:block;font-size:15px}.battle-arena label{display:block;font-size:12px;margin-top:10px}.battle-arena progress{display:block;width:100%;height:12px;accent-color:#87b991}.battle-arena p{font-size:12px}.battle-vs{color:var(--ink-d7b574,#d7b574);text-align:center}.battle-danger{color:#ffad91!important;font-weight:700}.battle-note{font-size:13px;line-height:1.7}.battle-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.battle-actions button{flex:1 1 120px;min-height:66px;border:1px solid #9c8758;border-radius:8px;padding:12px;background:var(--surface-f5efdf,#f5efdf);color:var(--ink-263d43,#263d43)}.battle-actions small{display:block;font-size:12px;margin-top:6px;line-height:1.5}.battle-actions button:disabled{opacity:.45;cursor:not-allowed}.battle-log{background:#0c1c24;padding:12px 16px;border-radius:8px;font-size:13px;line-height:1.6}.battle-log p{margin:4px 0}.battle-reward{padding:16px;border:1px solid #ab8d56;border-radius:10px}@media(max-width:650px){.battle-panel{padding:18px 12px}.battle-arena{gap:5px;padding:14px 6px}.battle-arena svg{height:110px}.battle-actions button{flex-basis:40%}}.talent-panel{margin-top:18px;border-top:1px solid #b8a57655;padding-top:14px;font-size:12px}.talent-panel summary{cursor:pointer;font-weight:700;font-size:14px}.talent-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.talent-grid>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:8px;border:1px solid #b8a57655;border-radius:6px}.talent-grid small{font-weight:400;opacity:.6}.talent-dots{grid-column:1/-1;color:var(--ink-b99a55,#b99a55);letter-spacing:2px}.talent-panel p{font-size:12px;line-height:1.7;opacity:.85}.household-panel{padding:18px;margin:18px 0;border:1px solid #b8a57666;border-radius:10px;background:var(--surface-f0eadc,#f0eadc);color:var(--ink-29414a,#29414a)}.household-panel p{font-size:13px;line-height:1.7;margin:8px 0}.household-panel summary{cursor:pointer;font-weight:600}.household-panel .family-warning{padding:10px;border-radius:6px;background:var(--surface-f3d5c0,#f3d5c0);color:var(--ink-79391e,#79391e);font-weight:700}.pregnancy-note{padding:10px;border-left:3px solid #ad8750}.relationship-actions button:disabled{opacity:.55;cursor:not-allowed}.family-direct-actions{margin:14px 0}.family-direct-actions button{display:block;width:100%;text-align:left;padding:12px;border:1px solid #ac8c50;border-radius:8px;background:var(--surface-efe4cc,#efe4cc);color:var(--ink-263d43,#263d43);min-height:48px}.family-direct-actions small{display:block;line-height:1.6;margin-top:5px}.family-direct-actions button:disabled{opacity:.6;cursor:not-allowed}:root{color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--muted:#adb9b7;--line:#394c53;--paper:#1d3039;--gold:#d2b47f;--edge-bdb69d:#425157;--edge-c4b48d:#425157;--edge-c7caae:#425157;--edge-c8cbb4:#425157;--edge-c8cbb9:#425157;--edge-c9ba91:#425157;--edge-c9ba93:#425157;--edge-cbb981:#425157;--edge-cbd1b7:#425157;--edge-cf9b73:#425157;--edge-d2ad7c:#425157;--edge-d4d0c1:#425157;--edge-d6d4b9:#425157;--edge-d6d8c3:#425157;--edge-d6d8c8:#425157;--edge-d7b392:#425157;--edge-d7cda7:#425157;--edge-d7d8c7:#425157;--edge-d8d9bf:#425157;--edge-d8decd:#425157;--edge-d9d4bf:#425157;--edge-d9d8c4:#425157;--edge-d9dccf:#425157;--edge-dbd9c5:#425157;--edge-dbdcc6:#425157;--edge-dbdcc8:#425157;--edge-dcd5bc:#425157;--edge-dcd6bd:#425157;--edge-dcd7c1:#425157;--edge-dcd7c3:#425157;--edge-dcdccf:#425157;--edge-dddac9:#425157;--edge-ded9c9:#425157;--edge-dedccd:#425157;--edge-deded1:#425157;--edge-dfd8c3:#425157;--edge-dfd9c5:#425157;--edge-dfd9c7:#425157;--edge-dfdac5:#425157;--edge-dfdac8:#425157;--edge-e0ddca:#425157;--edge-e0dfd0:#425157;--edge-e1dccd:#425157;--edge-e1ddc8:#425157;--edge-e1ddcb:#425157;--edge-e1ddce:#425157;--edge-e2decf:#425157;--edge-e3dfcc:#425157;--edge-e3dfcf:#425157;--edge-e3e1d3:#425157;--edge-e8e3d5:#425157;--edge-eadab347:#42515747;--edge-fefcf3:#425157;--ink-22342f:#d1e1dc;--ink-253c43:#cadce2;--ink-263d43:#cadce1;--ink-283330:#d3ddda;--ink-29414a:#c8dae1;--ink-35463c:#cdd9d2;--ink-435343:#cad4ca;--ink-52604f:#c8d0c6;--ink-535d4b:#ccd2c7;--ink-536257:#c6cfc8;--ink-5b674f:#cad1c3;--ink-627774:#bfcbc9;--ink-647068:#c2c9c5;--ink-67775f:#c3ccbf;--ink-6c705e:#c9ccc2;--ink-6d7b54:#c9d1bc;--ink-6e7f56:#c7d1ba;--ink-6f8168:#c0c9bc;--ink-718581:#bcc6c4;--ink-737e53:#ccd2ba;--ink-737e62:#c5cbbd;--ink-746d4e:#d3cfbe;--ink-758583:#bcc4c3;--ink-767d69:#c5c8be;--ink-767e74:#c0c4bf;--ink-776136:#dfd2b8;--ink-79391e:#e9c4b4;--ink-7a8166:#c6cabc;--ink-7a816e:#c3c7bd;--ink-7b8378:#bfc3bd;--ink-7c795e:#cdcbbd;--ink-7c8769:#c4c9ba;--ink-7d704a:#d6cfb9;--ink-7e837b:#bfc1bd;--ink-7e8777:#bfc3bb;--ink-7e8866:#c5cbb9;--ink-7f805e:#cdcdbb;--ink-828a64:#c7ccb8;--ink-847753:#d2cbb8;--ink-85877d:#c0c1bc;--ink-858c80:#bdc1ba;--ink-868c7b:#bfc3ba;--ink-868d7a:#bfc3b9;--ink-869169:#c5cab6;--ink-86916d:#c3c8b6;--ink-8a4d31:#e3c0b0;--ink-8a815f:#cec9b7;--ink-8a8e83:#bdc0b9;--ink-8a9274:#c2c6b6;--ink-8a9984:#b8c1b4;--ink-8b805e:#cec9b7;--ink-8b8d7e:#c0c1b9;--ink-8b907a:#c1c3b8;--ink-8b9084:#bdc0b9;--ink-8b9177:#c2c5b7;--ink-8b917b:#c0c3b7;--ink-8b9276:#c2c5b6;--ink-8b927c:#bfc3b7;--ink-8c7446:#d9ccb3;--ink-8c7546:#d9cdb3;--ink-8c8f83:#bec0b9;--ink-8c9185:#bcbfb8;--ink-8c927f:#bfc2b7;--ink-8d815c:#cfc9b6;--ink-8d816b:#c9c3b8;--ink-8e947c:#c0c3b6;--ink-8e967d:#bfc3b5;--ink-8f8b6f:#c7c5b7;--ink-8f987e:#bec3b4;--ink-908463:#cdc6b6;--ink-90937e:#c1c2b7;--ink-90957d:#c0c3b6;--ink-90957e:#c0c3b6;--ink-909a7d:#bec4b3;--ink-91947b:#c2c4b6;--ink-919781:#bec2b5;--ink-919881:#bec2b5;--ink-928157:#d2c9b3;--ink-928568:#cbc4b5;--ink-92937f:#c1c2b7;--ink-92947d:#c2c3b6;--ink-929681:#bfc2b6;--ink-929682:#bfc1b6;--ink-92997f:#bfc3b4;--ink-929a82:#bdc2b4;--ink-929b7c:#bfc5b3;--ink-929b80:#bec3b3;--ink-938b6b:#c9c5b5;--ink-93917a:#c4c3b6;--ink-939981:#bfc2b4;--ink-939b81:#bec3b3;--ink-939b82:#bdc2b3;--ink-94805d:#cfc5b3;--ink-95947c:#c4c3b6;--ink-959681:#c1c2b6;--ink-959b88:#bcc0b4;--ink-959c83:#bec2b3;--ink-96804e:#d6cbb0;--ink-96835d:#d0c6b3;--ink-97865f:#cfc6b2;--ink-97998c:#bcbeb5;--ink-979b86:#bec1b4;--ink-987e52:#d5c7b0;--ink-98997f:#c3c3b4;--ink-989b83:#c0c2b3;--ink-989d87:#bec1b3;--ink-999b82:#c1c2b3;--ink-999b8e:#bcbdb5;--ink-999d85:#bfc2b2;--ink-99a7a4:#b0bbb9;--ink-9a8353:#d4c8b0;--ink-9a8559:#d2c7b0;--ink-9a9986:#c0c0b4;--ink-9a9d84:#c0c2b2;--ink-9a9e85:#bfc2b2;--ink-9a9f88:#bdc1b2;--ink-9b865e:#d0c5b1;--ink-9b9d83:#c1c2b2;--ink-9b9d8d:#bdbeb4;--ink-9b9e92:#babcb4;--ink-9b9f88:#bec1b2;--ink-9b9f8e:#bbbeb3;--ink-9ba484:#bec4af;--ink-9c8868:#ccc2b1;--ink-9c926e:#cac5b1;--ink-9c9578:#c6c2b2;--ink-9c9882:#c3c0b3;--ink-9e9378:#c7c0b1;--ink-9eafa3:#acbbb1;--ink-9f906c:#cbc3b0;--ink-a07959:#d2beae;--ink-a08956:#d3c8ae;--ink-a08a5c:#d1c6af;--ink-a09167:#cdc5af;--ink-a09878:#c7c3b0;--ink-a18d60:#cfc5ae;--ink-a1936a:#ccc5af;--ink-a19a81:#c4c0b0;--ink-a19b80:#c4c1b0;--ink-a1a38e:#bebfb0;--ink-a28c61:#cfc4ae;--ink-a29778:#c8c1af;--ink-a29d88:#c1beb0;--ink-a2a18c:#c0bfb1;--ink-a2a58a:#bfc1af;--ink-a3926c:#ccc3ae;--ink-a45536:#e2b8a7;--ink-a58452:#d5c5ab;--ink-a58a5c:#d1c4ac;--ink-a59e86:#c3beae;--ink-a69064:#cfc3ac;--ink-a6946c:#cdc3ac;--ink-a84e35:#e3b3a6;--ink-a9905d:#d2c5aa;--ink-aaa98c:#c2c1ac;--ink-ab9d7c:#c8bfaa;--ink-ad9972:#cdc0a8;--ink-ae6d3f:#dfbda5;--ink-aeaa93:#c0bdab;--ink-b19763:#d2c4a6;--ink-b59c68:#d2c3a3;--ink-b99a55:#d9c7a2;--ink-bc995d:#d7c39f;--ink-bda46f:#d3c29e;--ink-bea472:#d2c09e;--ink-d7b574:#ddc18b;--surface-72807833:#1b252b33;--surface-7d9d85:#1c262c;--surface-8b9f82:#1c262c;--surface-a58452:#1b252b;--surface-a89486:#1c272d;--surface-a99875:#1c262c;--surface-ad8951:#1b252b;--surface-b4965d15:#1b262c15;--surface-b9603319:#1b252a19;--surface-bbab7c:#1c272d;--surface-c4ae70:#1c272d;--surface-c8a563:#1c272d;--surface-d8dec5:#1e2a31;--surface-dadccf:#1f2a31;--surface-dfdfcf:#1f2a31;--surface-e3e4d0:#1f2b31;--surface-e4d6ac0d:#1e2a300d;--surface-e8e1cc:#1f2b31;--surface-e8eadb:#1f2b32;--surface-e8ebdd:#1f2b32;--surface-e9ece0:#1f2b32;--surface-eae4cf:#1f2b31;--surface-eae9df:#1f2b32;--surface-ebe8dc:#1f2b32;--surface-edf0e4:#202c32;--surface-eee7d2:#1f2b32;--surface-eee9d7:#1f2b32;--surface-eeede2:#1f2b32;--surface-efe4cc:#1f2b31;--surface-efefdf:#1f2b32;--surface-efefe1:#1f2b32;--surface-f0eadc:#1f2b32;--surface-f0f0e0:#1f2b32;--surface-f2e1ce:#1f2b32;--surface-f2f2e6:#202c32;--surface-f3d5c0:#1f2b31;--surface-f3efe2:#202c32;--surface-f3f0e1:#202c32;--surface-f3f0e5:#202c32;--surface-f4f1e4:#202c32;--surface-f4f2ec:#202c33;--surface-f5efdf:#202c32;--surface-f5f2e6:#202c33;--surface-f6e0b6:#1f2a31;--surface-f7f5eb:#202c33;--surface-f7f7ec:#202c33;--surface-f8f4df:#202c32;--surface-f8f6e9:#202c33;--surface-f8f7f1aa:#202c33aa;--surface-f9f7ed:#202c33;--surface-faf8ee:#202c33;--surface-fbefe0:#202c33;--surface-fbfaf1:#202c33;--surface-fbfaf13d:#202c333d;--surface-fbfaf2:#202c33;--surface-fbfaf3:#202c33;--surface-fbfaf5:#202c33;--surface-fcfaf0:#202c33;--surface-fdfbf3:#202c33;--surface-fffdf3:#202c33;--surface-fffdf6:#202d33;--surface-ffffff08:#202d3408}.setting-row select{font:inherit;max-width:48%;padding:10px;border:1px solid var(--line);border-radius:6px;background:transparent;color:inherit;min-height:44px}.setting-row option{background:#f4f2ec;color:#283330}select:focus-visible{outline:3px solid #b89357;outline-offset:3px}:root[data-theme=dark] .setting-row option{background:#1d3039;color:#e5e8df}:root[data-theme=dark] .gold-button{background:#c6a267;color:#14242d;border-color:#c6a267}:root[data-theme=dark] .gold-button:hover{background:#d8b67d}:root[data-theme=dark] .family-warning{background:#483023;color:#ffcead}:root[data-theme=dark] .battle-actions button{background:#233d46;color:#f0e5c9}:root[data-theme=dark] .ending-share{background:#1d3039;color:#e5e8df}:root[data-theme=dark] ::selection{background:#8d7148;color:#fff}html.large-text body{font-size:18px;line-height:1.7}html.large-text :is(p,.story-copy){font-size:18px!important;line-height:1.85!important}html.large-text :is(small,.small,figcaption,.choice-hint,.fatal-warning,.activity-estimate){font-size:16px!important;line-height:1.75!important;overflow-wrap:anywhere}html.large-text :is(button,select,input,summary,.setting-row){font-size:18px;line-height:1.65}html.large-text :is(button,select){min-height:48px;white-space:normal}html.large-text :is(.story-text,.event-dialog .story-text){font-size:22px!important;line-height:1.9!important}html.large-text :is(.choice-copy strong,.choices strong){font-size:20px;line-height:1.7}html.large-text .choices button{padding:18px 14px;gap:12px;align-items:flex-start;height:auto}html.large-text .choice-copy{min-width:0;flex:1;overflow-wrap:anywhere}html.large-text :is(.activity-shortcuts strong,.activity-grid strong,.timeline h3,.battle-arena strong){font-size:18px;line-height:1.65}html.large-text :is(.delta-list span,.activity-result .delta-list span,.stat-bars>div,.stat-bars b,.character-title span,.timeline-date,.timeline-date span,.event-dialog-heading>span,.activity-toolbar-heading>span,.activity-toolbar-note,.activity-costs,.activity-result,.timeline-filter,.section-label,.pill,.battle-arena label,.battle-log,.talent-panel,.top-breadcrumb,.top-right,.world-clock,.settings-link,.sidebar nav button){font-size:16px;line-height:1.7}html.large-text .stat-bars span{width:52px}html.large-text .stat-bars b{width:auto;min-width:32px;flex-shrink:0}html.large-text .stat-bars .meter{min-width:20px}html.large-text .stat-bars>div{min-width:0;gap:8px}html.large-text .activity-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}html.large-text :is(.activity-shortcuts button,.activity-grid button){height:auto;min-height:90px;padding:14px 10px}html.large-text :is(.activity-toolbar-heading,.timeline-filter,.setting-row){gap:12px;flex-wrap:wrap}html.large-text .timeline article>div:last-child{min-width:0}html.large-text .timeline article{gap:12px}html.large-text .delta-list span{padding:8px 12px;overflow-wrap:anywhere}html.large-text :is(.event-dialog,.modal){overflow-wrap:anywhere}html.large-text .event-dialog-heading{gap:12px}html.large-text .event-dialog-heading .icon-button{flex-shrink:0}html.large-text .ability-details .stat-bars{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){html.large-text :is(.activity-shortcuts,.activity-grid){grid-template-columns:repeat(2,minmax(0,1fr))}html.large-text .ability-details .stat-bars,html.large-text .talent-grid{grid-template-columns:minmax(0,1fr)}html.large-text .timeline article>div:last-child{padding-left:14px}html.large-text .event-dialog .story-paper{padding:24px 16px}html.large-text .battle-actions button{flex-basis:100%}html.large-text .topbar{height:auto;min-height:72px;padding-top:12px;padding-bottom:12px;gap:8px;flex-wrap:wrap}}
