:root{--paper:#f7f5ef;--ink:#293c34;--muted:#788077;--gold:#ad8750;--line:#dedfd4;--light:#efeee5;--serif:'Cormorant Garamond',Georgia,serif;--thai:'Noto Sans Thai',Tahoma,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--thai);font-size:14px;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ae8d55;outline-offset:4px}button:disabled{cursor:default;opacity:.45}.site-header{max-width:1320px;margin:auto;padding:27px 52px 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px}.brand-symbol{font-size:38px;line-height:1;color:var(--gold)}.brand>span:last-child{font-family:var(--serif);font-size:26px;line-height:.95}.brand b{font-weight:600}.brand small{font-family:var(--thai);display:block;font-size:7px;letter-spacing:2.2px;margin-top:9px}.site-header nav{display:flex;align-items:center;gap:30px;font-size:12px}.site-header nav button{padding:7px 0}.site-header nav button span{color:var(--gold);margin-left:8px}.nav-divider{width:1px;height:16px;background:var(--line)}.lang{font-size:10px;letter-spacing:1px}.lang span{margin-left:6px;color:var(--muted)}#app{max-width:1216px;margin:auto;padding:0 0 45px}.eyebrow{font-size:9px;font-weight:500;letter-spacing:2px;line-height:1.7;color:var(--muted)}.gold{color:var(--gold)}.hero{display:grid;grid-template-columns:1.08fr 1fr;gap:65px;padding:58px 0 39px;align-items:center}.hero-copy{padding:6px 0}.hero .eyebrow{display:flex;align-items:center;gap:9px}.tiny-rule{width:24px;height:1px;background:var(--gold)}.hero h1{font-family:var(--serif);font-size:clamp(72px,8vw,116px);font-weight:400;letter-spacing:-5px;line-height:1.03;margin:24px 0 11px}.hero h1 em{font-style:normal;color:var(--gold)}.hero h2{font-size:27px;font-weight:500;line-height:1.6;margin:16px 0 18px;letter-spacing:-.5px}.hero h2 span{display:block;color:var(--gold)}.hero-description{font-size:13px;line-height:2.05;color:#73776e;max-width:450px;margin:0}.hero-footnote{font-size:9px;color:#92968c;margin-top:21px;line-height:1.8}.hero-footnote a{border-bottom:1px solid #beb8a9}.hero-art{height:405px;position:relative;margin:0 0 0 0}.photo-wrap{height:100%;width:100%;position:relative;padding:9px;border:1px solid #d9d8cb;border-radius:160px 160px 4px 4px}.photo-wrap:before{content:'';position:absolute;inset:20px;border:1px solid #ffffff6b;border-radius:145px 145px 0 0;z-index:1;pointer-events:none}.photo-wrap img{width:100%;height:100%;object-fit:cover;object-position:49% 55%;border-radius:151px 151px 0 0;filter:saturate(.6) contrast(.91) brightness(1.04)}.photo-wrap:after{content:'';position:absolute;inset:9px;background:linear-gradient(0deg,#192c25a8,transparent 65%);border-radius:151px 151px 0 0}.photo-caption{position:absolute;bottom:39px;left:35px;color:#fff;z-index:2}.photo-caption>span{font-size:9px;letter-spacing:2.6px;color:#e9ddc0}.photo-caption p{font-family:var(--serif);font-size:27px;font-style:italic;margin:7px 0}.photo-caption small{font-size:10px;color:#e5e6da}.art-star{position:absolute;right:-23px;top:26px;font-size:60px;line-height:1;color:var(--gold);z-index:3}.guarantee{position:absolute;right:-19px;bottom:29px;width:116px;height:116px;border-radius:50%;background:var(--paper);border:1px solid #ccb98f;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:3;box-shadow:0 0 0 7px var(--paper)}.guarantee small{font-size:8px;letter-spacing:1.3px}.guarantee b{font-family:var(--serif);font-size:38px;font-weight:400;line-height:1.05;color:var(--gold)}.guarantee span{font-size:9px;margin-top:5px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 0 17px}.section-heading h3{font-size:16px;font-weight:500;margin:0;display:flex;align-items:center;gap:13px}.step-no{font-family:var(--serif);font-size:17px;color:var(--gold)}.section-heading p{margin:0;font-size:10px;color:var(--muted)}.setup-card{background:#fffef97a;border:1px solid var(--line);padding:27px 30px 26px;display:grid;grid-template-columns:1.15fr 1fr;gap:32px}.setup-label{font-size:12px;display:flex;align-items:center;gap:8px;margin:0 0 14px}.setup-label svg{width:16px;height:16px;color:var(--gold)}.duration-group{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.duration{padding:18px 5px 16px;border:1px solid var(--line);position:relative;transition:.2s;text-align:center;background:var(--paper)}.duration:hover{border-color:var(--gold)}.duration.selected{border-color:var(--ink);background:#e9ede5}.duration .radio{position:absolute;top:9px;right:9px;width:10px;height:10px;border:1px solid #b8bbaf;border-radius:50%}.duration.selected .radio{border:3px solid var(--ink)}.duration b{font-family:var(--serif);font-weight:500;font-size:31px;line-height:1.15}.duration .unit{font-size:10px;margin-left:3px}.duration small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.small-note{font-size:9px;color:var(--muted);line-height:1.85;margin:11px 0 0}.setup-right{border-left:1px solid var(--line);padding-left:32px}.name-row{display:flex;gap:10px}.name-input{height:42px;min-width:0;width:100%;border:1px solid var(--line);border-radius:0;background:var(--paper);padding:0 13px;font-size:12px;color:var(--ink)}.dice{height:42px;width:43px;flex-shrink:0;background:var(--light);border:1px solid var(--line);font-size:21px}.birth-assurance{margin:14px 0 0;display:flex;align-items:center;gap:9px;font-size:10px;color:#71806b}.birth-assurance .check{height:17px;width:17px;background:#e5ebdd;border-radius:50%;display:grid;place-items:center;font-size:10px}.start-row{display:flex;justify-content:space-between;align-items:center;padding-top:21px;gap:20px}.start-note{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:9px}.start-note svg{width:15px;height:15px}.primary-btn{background:var(--ink);color:#faf9f1;padding:15px 27px;min-width:240px;display:inline-flex;align-items:center;justify-content:space-between;gap:25px;font-size:12px;transition:background .2s}.primary-btn:hover{background:#40584b}.primary-btn>span:last-child{font-size:19px;line-height:1}.secondary-btn{padding:12px 18px;border:1px solid var(--line);font-size:12px;background:#ffffff48}.resume-banner{margin-bottom:24px;background:#e9ede4;border:1px solid #d7ddcf;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:15px}.resume-banner button{font-weight:500;text-decoration:underline;text-underline-offset:4px}.site-footer{max-width:1216px;margin:0 auto;border-top:1px solid var(--line);padding:21px 0 26px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:9px;color:#8b9086}.site-footer>span:first-child{font-size:8px;letter-spacing:1.7px}.site-footer i{font-size:16px;color:var(--gold);font-style:normal;margin-left:9px}.site-footer button{font-size:9px;padding:0}.icon-btn{font-size:26px;color:var(--muted);line-height:1}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:var(--ink);padding:13px 22px;color:white;opacity:0;pointer-events:none;transition:.2s;z-index:10;font-size:12px;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{max-width:650px;width:calc(100% - 36px);padding:28px 32px;border:1px solid var(--line);color:var(--ink);background:var(--paper);max-height:85dvh}dialog::backdrop{background:#182b2666;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}dialog h2{font-size:24px;font-weight:500;margin:10px 0 20px}dialog p,dialog li{font-size:13px;line-height:2;color:#657063}dialog ol,dialog ul{padding-left:22px}dialog a{color:var(--gold);text-decoration:underline}dialog .primary-btn{margin-top:15px}dialog .modal-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.modal-actions .primary-btn{margin-top:0;min-width:0}.note-box{padding:15px 18px;border:1px solid var(--line);background:var(--light);font-size:12px;line-height:1.9}.game-top{display:flex;align-items:center;justify-content:space-between;padding:29px 0 23px;gap:20px}.game-top h1{margin:5px 0 0;font-size:24px;font-weight:500}.game-tools{display:flex;gap:9px;align-items:center}.game-tools button{border:1px solid var(--line);padding:9px 12px;font-size:10px;display:flex;align-items:center;gap:6px}.game-tools svg{width:14px;height:14px}.chapter-track{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:24px}.chapter-stop{padding:15px 10px;display:flex;align-items:center;justify-content:center;gap:9px;color:#959a8e;font-size:10px}.chapter-stop span{font-family:var(--serif);font-size:14px}.chapter-stop.active{color:var(--ink);box-shadow:inset 0 -2px var(--gold)}.chapter-stop.past{color:var(--gold)}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:25px;align-items:start}.story-card{border:1px solid var(--line);background:#fffef980;padding:32px 36px}.story-kicker{display:flex;justify-content:space-between;gap:15px;align-items:center}.story-kicker>span:last-child{font-size:10px;color:var(--muted)}.story-card h2{font-size:26px;font-weight:500;line-height:1.65;margin:20px 0 18px;letter-spacing:-.5px}.story-text{font-size:15px;line-height:2.1;color:#646e61}.story-text p{margin:0 0 17px}.birth-scene{padding:18px 20px;background:#eceee4;border-left:2px solid var(--gold);font-size:13px;line-height:1.9;color:#64715f;margin:20px 0}.chapter-divider{display:flex;align-items:center;gap:12px;font-size:10px;color:var(--gold);margin:26px 0 14px}.chapter-divider:after{content:'';flex:1;height:1px;background:var(--line)}.choices{display:grid;gap:10px}.choice{display:grid;grid-template-columns:28px 1fr 16px;gap:12px;padding:17px;text-align:left;border:1px solid var(--line);background:#f8f7f0;align-items:start;transition:.15s}.choice:hover:not(:disabled){border-color:var(--gold);background:#f0efe4;transform:translateX(2px)}.choice-key{height:26px;width:26px;border:1px solid #d6d8cc;display:grid;place-items:center;font-family:var(--serif);font-size:15px;color:var(--gold)}.choice b{font-size:13px;font-weight:500;display:block;line-height:1.7}.choice small{display:block;font-size:11px;line-height:1.8;color:var(--muted);margin-top:3px}.choice-arrow{color:var(--gold);font-size:18px;padding-top:2px}.choice.chosen{border-color:var(--ink);background:#e9ede3;opacity:1}.choice:disabled:not(.chosen){opacity:.45}.result-box{margin-top:20px;background:#e9ede3;border:1px solid #d4dccb;padding:20px}.result-box .eyebrow{color:#738565}.result-box p{font-size:13px;line-height:2;margin:10px 0;color:#56644f}.effect-pills{display:flex;gap:7px;flex-wrap:wrap}.effect-pill{font-size:10px;background:#ffffff70;padding:4px 9px;color:#5b7758}.effect-pill.negative{color:#9a6e54}.next-row{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:20px}.next-row .primary-btn{min-width:190px}.next-row>span{font-size:10px;color:var(--muted);line-height:1.8}.sidebar-card{border:1px solid var(--line);padding:22px;margin-bottom:15px;background:#fffef94d}.profile-top{display:flex;gap:14px;align-items:center}.avatar{width:47px;height:47px;display:grid;place-items:center;background:#e9e8dc;border-radius:50%;color:var(--gold);font-family:var(--serif);font-size:25px}.profile-top h3{font-size:15px;font-weight:500;margin:0 0 2px}.profile-top small{font-size:10px;color:var(--muted)}.profile-meta{font-size:10px;line-height:2;margin:17px 0 0;color:#7d8376}.wealth{margin-top:17px;padding-top:16px;border-top:1px solid var(--line)}.wealth>small{font-size:9px;color:var(--muted)}.wealth p{font-family:var(--serif);font-size:35px;font-weight:500;margin:2px 0}.wealth p span{font-family:var(--thai);font-size:11px;color:var(--muted);margin-left:6px}.stat{margin-top:16px}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:11px}.stat-label>span:first-child{display:flex;align-items:center;gap:8px}.stat-label svg{width:13px;height:13px;color:var(--gold)}.stat-label>span:last-child{font-size:10px;color:var(--muted)}.stat-track{margin-top:8px;height:4px;background:#e7e8dd}.stat-track i{display:block;background:#7b8d70;height:100%;transition:width .3s}.stats-help{font-size:9px;color:var(--muted);line-height:1.9;margin:18px 0 0}.life-progress{height:3px;background:var(--line);margin:15px 0 9px}.life-progress i{display:block;height:100%;background:var(--gold);transition:width .3s}.progress-meta{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--muted)}.sidebar-quote{padding:8px 10px 0;font-size:12px;line-height:1.9;color:#8d8d7c}.sidebar-quote span{font-family:var(--serif);font-size:38px;line-height:1;color:var(--gold)}.journal-head{display:flex;justify-content:space-between;align-items:center}.journal-head h3{font-size:12px;font-weight:500;margin:0}.journal-head button{font-size:10px;color:var(--gold);padding:0}.journal-preview{font-size:11px;line-height:1.8;color:var(--muted);margin-top:14px}.journal-preview b{display:block;color:#667460;font-size:10px;font-weight:400;margin-bottom:4px}.journal-item{padding:16px 0;border-bottom:1px solid var(--line)}.journal-item small{font-size:9px;color:var(--gold)}.journal-item h3{font-weight:500;font-size:14px;margin:5px 0}.journal-item p{font-size:12px;margin:4px 0}.end-screen{max-width:800px;margin:45px auto 15px;text-align:center}.end-symbol{font-size:48px;color:var(--gold);margin-bottom:18px}.end-screen h1{font-size:34px;font-weight:500;line-height:1.6;margin:15px 0}.end-description{font-size:15px;color:#6f7769;line-height:2.1;max-width:640px;margin:20px auto}.end-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;margin:30px 0}.end-stats b{display:block;font-family:var(--serif);font-size:34px;font-weight:500;color:var(--gold)}.end-stats small{font-size:10px;color:var(--muted)}.end-screen .note-box{text-align:left;margin-bottom:25px}.end-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.end-actions .primary-btn{min-width:0}.game-save-info{font-size:9px;color:var(--muted);margin:20px 0 0;text-align:center}.hidden{display:none!important}@media(min-width:1500px){.hero{padding-top:68px;padding-bottom:48px}.hero-art{height:450px}}@media(max-width:1320px){#app,.site-footer{margin-left:52px;margin-right:52px}.hero{gap:50px}.hero-art{margin-right:16px}.hero h1{font-size:100px}}@media(max-width:1000px){.site-header{padding-left:30px;padding-right:30px}#app,.site-footer{margin-left:30px;margin-right:30px}.hero{gap:30px;padding-top:40px}.hero h1{font-size:80px}.hero h2{font-size:23px}.hero-art{height:370px}.guarantee{width:100px;height:100px;right:-10px}.guarantee b{font-size:31px}.setup-card{gap:24px;padding:22px}.setup-right{padding-left:24px}.game-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.story-card{padding:26px}.sidebar-card{padding:18px}.game-top h1{font-size:21px}.chapter-stop{gap:6px;padding:13px 3px;font-size:9px}}@media(max-width:740px){.site-header{padding:20px 22px}.site-header nav{gap:18px}.site-header nav button{font-size:10px}.nav-divider,.lang{display:none}.brand>span:last-child{font-size:22px}.brand-symbol{font-size:31px}.brand small{font-size:5.5px;letter-spacing:1.5px}#app,.site-footer{margin-left:22px;margin-right:22px}.hero{grid-template-columns:1fr;gap:25px;padding:35px 0 29px}.hero-copy{padding:0}.hero h1{font-size:89px;margin-top:20px}.hero h2{font-size:25px;margin-top:12px}.hero-description{font-size:12px;max-width:unset}.hero-description br{display:none}.hero-footnote{margin-top:13px}.hero-art{height:260px;margin:0 12px 0 0}.photo-wrap{border-radius:120px 120px 4px 4px}.photo-wrap img,.photo-wrap:after{border-radius:112px 112px 0 0}.photo-wrap:before{border-radius:100px 100px 0 0}.photo-wrap img{object-position:center 56%}.art-star{font-size:48px;top:7px;right:-18px}.photo-caption{bottom:29px;left:29px}.photo-caption p{font-size:24px}.guarantee{bottom:22px}.section-heading{align-items:start;gap:10px}.section-heading h3{font-size:15px}.section-heading p{font-size:9px;padding-top:4px}.setup-card{grid-template-columns:1fr;gap:22px;padding:21px}.setup-right{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:20px}.duration{padding:18px 5px 15px}.start-row{flex-direction:column-reverse;align-items:stretch;gap:15px}.start-row .primary-btn{width:100%;justify-content:space-between}.start-note{justify-content:center;font-size:9px}.site-footer{flex-wrap:wrap;justify-content:center;text-align:center;padding-top:17px;gap:12px}.site-footer>span:nth-child(2){display:none}.site-footer>span:first-child{font-size:7px}.site-footer button{font-size:8px}.game-top{align-items:start;padding-top:24px}.game-top h1{font-size:19px}.game-tools{gap:6px}.game-tools button{padding:8px;font-size:0}.game-tools svg{width:17px;height:17px}.chapter-track{grid-template-columns:repeat(6,1fr);margin-bottom:18px}.chapter-stop{flex-direction:column;gap:3px;font-size:8px;padding:10px 0}.game-layout{display:flex;flex-direction:column;gap:15px}.game-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;order:-1}.sidebar-card{margin-bottom:0;padding:15px}.profile-card{grid-column:1}.stats-card{grid-column:2;grid-row:1}.journal-card,.progress-card,.sidebar-quote{display:none}.profile-top{gap:8px}.avatar{width:32px;height:32px;font-size:20px;flex-shrink:0}.profile-top h3{font-size:12px}.profile-top small{font-size:8px}.profile-meta{font-size:9px;margin-top:9px;line-height:1.8}.wealth{margin-top:9px;padding-top:9px}.wealth p{font-size:25px;line-height:1.1;margin:5px 0}.wealth p span{font-size:8px}.wealth>small{font-size:8px}.stat{margin-top:10px}.stat:first-child{margin-top:0}.stat-label{font-size:9px}.stat-label>span:last-child{font-size:8px}.stat-label>span:first-child{gap:4px}.stat-track{height:3px;margin-top:5px}.stat-label svg{width:10px;height:10px}.stats-help{display:none}.story-card{padding:22px 20px;width:100%}.story-card h2{font-size:23px;margin:17px 0}.story-text{font-size:14px;line-height:2.05}.story-kicker .eyebrow{font-size:8px;letter-spacing:1px}.story-kicker>span:last-child{font-size:9px}.choice{padding:13px;gap:9px;grid-template-columns:25px 1fr 12px}.choice b{font-size:12px}.choice small{font-size:10px}.choice-key{width:23px;height:23px}.next-row .primary-btn{min-width:155px;padding:13px 17px;gap:15px}.next-row>span{font-size:9px}dialog{padding:23px}.end-screen{margin-top:30px}.end-screen h1{font-size:26px}.end-description{font-size:13px}.end-stats{grid-template-columns:1fr 1fr;gap:20px}.end-stats b{font-size:30px}.end-actions{flex-direction:column}.resume-banner{font-size:10px;padding:12px;gap:10px}.resume-banner button{flex-shrink:0;font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.game-top>div:first-child,.profile-top>div:last-child{min-width:0}.game-top h1,.profile-top h3{overflow-wrap:anywhere}.memory-echo{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:20px 0}.memory-echo p{font-size:12px;color:var(--muted);line-height:1.95;margin:6px 0 0}@media(max-width:740px){.game-layout aside .progress-card{display:block;grid-column:1/-1;padding:13px 15px}.progress-card .eyebrow{display:none}.progress-card .life-progress{margin:0 0 8px}.progress-card .small-note{margin-top:6px}.progress-card label.small-note{margin-top:7px!important}.profile-meta{overflow-wrap:anywhere}.game-tools{flex-shrink:0}.game-top h1{font-size:18px}}
:root{--thai:'Noto Sans Thai','UI Symbols',Tahoma,sans-serif}.brand-symbol{width:36px;height:36px;display:block;flex-shrink:0}.brand-symbol svg{width:100%;height:100%}.end-symbol{font-family:'UI Symbols',serif}@media(max-width:740px){.brand-symbol{width:29px;height:29px}}
