:root{--bg:#f4f1eb;--paper:#fffdf8;--ink:#172d43;--muted:#5c6873;--line:#d9d6cd;--wine:#aa402d;--teal:#245e78;--soft:#e9e6dd;--gold:#9a6821;--shadow:0 12px 36px #172d430c;color:var(--ink);background:var(--bg)}[data-theme=dark]{--bg:#101c2b;--paper:#192a3d;--ink:#f3eee4;--muted:#b0bdc9;--line:#3c4c5e;--wine:#f1977d;--teal:#91c8e1;--soft:#25384d;--gold:#e7bc72;--shadow:0 12px 36px #0003}.home-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding-block:22px}.identity-wordmark{letter-spacing:-1px;white-space:nowrap;align-items:center;gap:10px;font:600 21px IBM Plex Sans,sans-serif;text-decoration:none;display:inline-flex}.identity-wordmark img{width:32px;height:32px}.hero{align-items:start;gap:54px;padding:54px 0 60px}.hero h1{letter-spacing:-.075em;margin:30px 0;font-family:IBM Plex Sans,sans-serif;font-size:clamp(70px,8.3vw,124px);font-weight:600;line-height:.96}.hero h1.localized-title{letter-spacing:-.045em;overflow-wrap:anywhere;font-size:clamp(48px,6vw,84px);line-height:1.15}.hero .eyebrow{letter-spacing:.07em;text-transform:uppercase;font:11px/1.8 IBM Plex Mono,monospace}.hero .intro{max-width:480px;font-size:17px;line-height:1.75}.hero-world{border:1px solid var(--line);background:var(--paper);box-shadow:9px 9px 0 var(--soft);border-radius:8px;padding:30px;position:relative;overflow:hidden}.hero-world:before{content:"1 / 8,000,000,000";letter-spacing:.18em;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:18px;font:11px IBM Plex Mono,monospace;display:block}.hero-world .world-map{color:var(--teal);opacity:.75;margin:22px 0 0}.identity-portraits{justify-content:center;gap:15px;margin:-8px 0 24px;display:flex;position:relative}.identity-portraits>span{background:var(--paper);border:1px solid var(--line);width:72px;padding:5px;display:block;transform:rotate(-7deg);box-shadow:0 5px 12px #172d4314}.identity-portraits>span:nth-child(2){transform:translateY(-10px)rotate(3deg)}.identity-portraits>span:nth-child(3){transform:rotate(9deg)}.identity-portraits svg{width:100%;height:auto;display:block}.hero-world .world-card{box-shadow:none;background:0 0;border:0;padding:0}.hero-world .world-caption{border-top:1px dashed var(--line);margin:0;padding:18px 0 12px}.hero-world .world-caption strong{font-family:Hahmlet,serif;font-size:20px}.hero-world .birth-distribution{background:0 0;border:0;padding:8px 0 0}.hero-world .birth-distribution i{background:var(--teal)}.world-counts{border-top:1px solid var(--line);gap:36px;margin-top:30px;padding-top:20px}.world-counts strong{font:500 29px IBM Plex Mono,monospace}.primary,[data-theme=dark] .primary{color:#fff;background:#aa402d;border-color:#aa402d;box-shadow:0 4px #742c20}.primary:hover,[data-theme=dark] .primary:hover{background:#913624;border-color:#913624}.primary.large{border-radius:8px;min-height:52px;padding:14px 24px}.panel{background:var(--paper);box-shadow:var(--shadow)}.setup{border-top:4px solid var(--ink);border-radius:8px}.three-cards{gap:20px}.three-cards article{border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:25px}.three-cards article>span{background:var(--soft);border-radius:50%;place-items:center;width:34px;height:34px;display:inline-grid}.life-book{border-bottom:4px solid var(--teal);border-radius:8px}.game-header{border-bottom:2px solid var(--ink);box-shadow:0 4px 16px #172d4309}.game-grid .panel{border-radius:10px}.passport-band{background:var(--ink);color:var(--paper);padding:12px;font-size:10px}.passport h2{letter-spacing:-.025em;font-family:IBM Plex Sans,sans-serif;font-weight:600}.mrz{border-top:1px dashed var(--line);background:var(--soft)}.birth-paper{border-top-color:var(--teal);border-radius:10px}.social-platforms a{box-shadow:0 3px 0 var(--soft);border-radius:8px}.social-platforms a:hover{transform:translateY(-2px)}.social-invitation{border:1px dashed var(--line);background:var(--paper);border-radius:8px;padding:16px}.share-preview img{border-radius:8px;box-shadow:0 16px 40px #172d4326}footer{border-top:2px solid var(--ink);margin-top:50px}@media (width<=900px){.hero{gap:30px}.hero-world{padding:22px}}@media (width<=700px){.home-top{padding-block:16px}.identity-wordmark{gap:7px;font-size:18px}.identity-wordmark img{width:28px;height:28px}.hero{gap:28px;padding:30px 0}.hero h1{margin:22px 0;font-size:clamp(68px,16vw,104px)}.hero .intro{font-size:16px}.hero-world{box-shadow:5px 5px 0 var(--soft);margin-right:5px}.hero-world .world-map{max-height:180px}.world-counts{gap:24px}.three-cards article{padding:20px}.setup{padding:24px}}@media (prefers-reduced-motion:reduce){.social-platforms a:hover{transform:none}}.musicbtn{color:var(--ink);border-color:var(--line)}@media (width<=700px){.home .hero{padding-top:30px}.section-heading{flex-wrap:wrap;gap:12px}.section-heading>div{flex-wrap:wrap;gap:8px;max-width:100%;display:flex}}.home .hero-memo{margin-block:0 28px}@media (width<=700px){.home .hero h1{font-size:clamp(68px,17vw,104px);line-height:1}.home .hero h1.localized-title{font-size:clamp(44px,12vw,72px);line-height:1.17}.hero-world .world-map{opacity:.75;display:block;position:static}.home .world-counts{grid-template-columns:1fr 1fr;gap:16px;display:grid}}.locale-flag{filter:saturate(.85);flex:none;font-size:20px;line-height:1}.languages .language-options{border-radius:16px;gap:5px;width:420px;max-width:calc(100vw - 32px);padding:10px;box-shadow:0 16px 48px #172d4320}.languages .language-options a{border-radius:9px;align-items:center;gap:10px;min-height:46px;padding:12px 10px;font-size:14px;display:flex}.languages .language-options a>span:nth-child(2){flex:1;min-width:0}.locale-check{flex:none;font-size:13px}.languages .language-options a[aria-current=page]{background:var(--ink);color:var(--paper)}@media (width<=700px){.home-top .language-options{width:auto;max-width:none;max-height:calc(100dvh - 100px);position:fixed;top:78px;left:16px;right:16px;transform:none}.languages .language-options a{gap:7px;padding:11px 8px;font-size:13px}.locale-flag{font-size:19px}}.site-header{justify-content:space-between;gap:16px;min-height:82px;display:flex}.site-header .identity-wordmark{flex:none;position:relative}.identity-wordmark small{letter-spacing:0;color:var(--muted);border-left:1px solid var(--line);margin-left:8px;padding-left:14px;font:11px IBM Plex Mono,monospace}.site-header-controls{min-width:0;margin-left:auto}.site-header-controls .languages{margin-left:auto}.birth-page{padding-block:32px 50px}.birth-paper{max-width:920px;padding:28px 40px;box-shadow:0 18px 50px #172d430d}.certificate-top{border-bottom:1px dashed var(--line);align-items:start;gap:20px;padding-bottom:20px;font-size:10px;line-height:1.8}.certificate-top>span:last-child{text-align:right;overflow-wrap:anywhere}.certificate-domain{letter-spacing:0;color:var(--teal);text-transform:none;font-size:12px;font-weight:500;display:block}.certificate-heading{text-align:left;grid-template-columns:92px minmax(0,1fr);align-items:center;column-gap:24px;padding:28px 0 18px;display:grid}.certificate-heading>.portrait{border:5px solid var(--paper);outline:1px solid var(--line);border-radius:6px;grid-row:1/4;width:88px;margin:0;box-shadow:0 7px 16px #172d4310}.certificate-heading>.eyebrow{margin:0 0 7px;font-size:11px}.certificate-heading>h1{overflow-wrap:anywhere;margin:0 0 8px;font-size:clamp(28px,4vw,45px);line-height:1.2}.certificate-heading>p:last-child{color:var(--muted);margin:0;font-size:14px}.birth-actions{grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 16px;display:grid}.birth-actions>button{border-radius:8px;min-height:52px;padding:12px 16px;font-size:15px}.birth-share-button{border-color:var(--teal);color:var(--teal);background:color-mix(in srgb,var(--teal) 5%,var(--paper))}.birth-share-button:hover{background:var(--soft)}.birth-share-hint{text-align:center;color:var(--muted);margin:0 0 26px;font-size:12px;line-height:1.7}.birth-share-hint span{color:var(--teal);white-space:nowrap;margin-left:6px;font-family:IBM Plex Mono,monospace}.birth-details{gap:20px 24px;padding-top:22px}.birth-details small{color:var(--muted);font-size:12px;line-height:1.5;display:block}.birth-details strong{overflow-wrap:anywhere;font-size:15px;line-height:1.5}.birth-probability{background:var(--soft);border:0;border-radius:8px;margin:24px 0;padding:20px}@media (width<=700px){.site-header{gap:8px;min-height:70px}.identity-wordmark small{display:none}.site-header .identity-wordmark{font-size:18px}.birth-page{padding-top:20px}.birth-paper{padding:20px}.certificate-top{gap:10px;font-size:9px}.certificate-heading{grid-template-columns:68px minmax(0,1fr);gap:6px 16px;padding-top:24px}.certificate-heading>.portrait{width:64px}.certificate-heading>h1{font-size:30px}.birth-actions{grid-template-columns:1fr;gap:10px}.birth-actions>button{width:100%;min-height:48px}.birth-share-hint{margin-bottom:20px}.birth-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}}.certificate-heading>svg.portrait{border:5px solid var(--paper);width:88px;height:auto;margin:0}@media (width<=700px){.certificate-heading>svg.portrait{width:64px;height:auto}}.hero .hero-setup{border:1px solid var(--line);border-top:4px solid var(--teal);background:var(--paper);min-width:0;box-shadow:8px 8px 0 var(--soft);border-radius:12px;flex-direction:column;gap:22px;margin:0;padding:28px;display:flex}.hero-setup h2{letter-spacing:-.035em;margin:8px 0 12px;font-family:Hahmlet,serif;font-size:27px;line-height:1.2}.hero-setup p{max-width:none;margin:0;font-size:14px}.hero-setup .eyebrow{color:var(--teal)}.hero-setup .setting{min-width:0;margin:0 0 20px}.hero-setup .segments{background:var(--bg);border-radius:9px;gap:4px}.hero-setup .segments button{white-space:normal;border-radius:6px;min-height:44px;padding:8px;font-size:13px;line-height:1.35}.hero-setup .segments button[aria-pressed=true]{background:var(--ink);color:var(--paper);box-shadow:0 2px 5px #172d431a}.hero-setup .setup-more{border-top:1px dashed var(--line);padding-top:16px}.hero-setup .setup-more summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:30px;font-size:14px;font-weight:600;list-style:none;display:flex}.hero-setup summary::-webkit-details-marker{display:none}.world-explore summary::-webkit-details-marker{display:none}.hero-setup .setup-more[open] summary svg{transform:rotate(180deg)}.hero-setup .setup-more-body{padding-top:20px}.hero-setup .toggles{grid-template-columns:1fr;gap:4px}.hero-setup .switch-row{margin:8px 0}.hero-setup .setup-launch{border-top:1px solid var(--line);padding-top:20px}.hero-setup .setup-launch>.primary{justify-content:center;width:100%;min-height:52px}.hero-setup .setup-launch p{color:var(--muted);margin-top:12px;font-size:12px}.world-explore{border-block:1px solid var(--line);margin:24px 0 44px}.world-explore>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:20px;min-height:76px;padding:16px 4px;list-style:none;display:flex}.world-explore>summary>span:last-child{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.world-explore .hero-world{box-shadow:none;background:0 0;border:0;grid-template-columns:1fr 1fr;gap:24px;padding:24px 0;display:grid}.world-explore .hero-world:before,.world-explore .identity-portraits{display:none}.world-explore .world-card{grid-area:1/2/span 2}.world-explore .world-caption{border-top:0;padding-top:0}@media (width<=900px){.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}.hero .hero-setup{padding:22px}.hero-setup h2{font-size:23px}}@media (width<=680px){.hero{grid-template-columns:minmax(0,1fr);gap:30px}.hero .hero-setup{margin-right:5px;padding:22px 18px}.hero-setup .segments button{padding:8px 5px;font-size:12px}.world-explore .hero-world{grid-template-columns:1fr}.world-explore .world-card{grid-area:auto}.world-explore>summary{flex-direction:column;align-items:flex-start;gap:6px}}.home .hero{gap:48px;padding-block:36px 40px}.home .hero h1{margin:24px 0;font-size:clamp(68px,7.5vw,108px)}.home .hero .intro{line-height:1.65}.home .hero-actions{margin-block:22px}.home .hero-customize{min-height:44px;color:var(--teal);text-underline-offset:5px;align-items:center;gap:8px;display:inline-flex}.home .daily-theme{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;font-size:12px;line-height:1.7}.home .presence-count{margin-top:12px;font-size:12px}.home .hero-setup{gap:18px;padding:24px}.home .hero-setup h2{margin:0 0 10px}.home .hero-setup .setting{margin-bottom:16px}.play-guidance{margin-top:18px}.play-guidance>summary{color:var(--muted);cursor:pointer;align-items:start;gap:8px;font-size:11px;line-height:1.6;list-style:none;display:flex}.play-guidance>summary svg{flex:none;margin-top:3px}.play-guidance .ratenote{margin-top:12px}.home .how{border-top:1px solid var(--line);margin:0 0 36px;padding-top:24px}.home .three-cards article{border:0;border-left:2px solid var(--line);background:0 0;border-radius:0;padding:8px 20px}.home .three-cards h3{margin:12px 0 8px;font-size:18px}.home .three-cards p{font-size:14px;line-height:1.65}.home .world-explore{margin-block:28px}.world-context{padding:0 4px 20px}.world-context .world-counts{border-top:0;margin-top:0;padding-top:8px}.save-transfer{justify-content:flex-end;margin:16px 0;display:flex}.save-transfer button{background:0 0;align-items:center;gap:8px;font-size:12px;display:inline-flex}.home .past-section{margin-block:36px}@media (width<=680px){.home .hero{gap:22px;padding-block:22px 28px}.home .hero h1{margin:16px 0;font-size:clamp(54px,13vw,78px);line-height:1}.home .hero h1.localized-title{font-size:clamp(36px,9vw,54px)}.home .hero .intro{margin-bottom:12px;font-size:15px}.home .hero-actions{gap:12px;margin-block:12px}.home .daily-theme{margin-top:12px;padding-top:12px}.home .daily-theme .td-note{display:none}.home .hero-setup{padding:20px 16px}.home .three-cards{grid-template-columns:1fr;gap:18px}.home .three-cards article{grid-template-columns:34px 1fr;gap:0 14px;padding:4px 12px;display:grid}.home .three-cards article>span{grid-row:1/3}.home .three-cards h3{margin:0 0 6px}.home .three-cards p{margin:0}.home .hero-memo{margin-block:0 20px}}.home .past-section{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:26px}.home .past-section>.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.home .past-section h2{margin:0;font-size:26px}.archive-tools{flex:none;position:relative}.archive-tools>summary,.personal-atlas>summary{cursor:pointer;min-height:44px;color:var(--teal);align-items:center;gap:10px;font-size:13px;list-style:none;display:flex}.archive-tools>summary{border:1px solid var(--line);border-radius:8px;padding:8px 14px}.archive-tools summary::-webkit-details-marker{display:none}.personal-atlas summary::-webkit-details-marker{display:none}.archive-tools-menu{background:var(--paper);border:1px solid var(--line);z-index:10;border-radius:10px;gap:4px;width:240px;max-width:calc(100vw - 60px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 30px #172d4320}.archive-tools-menu button{text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:8px;width:100%;margin:0;padding:12px;font-size:13px;display:flex}.archive-tools-menu button:hover{background:var(--soft)}.personal-atlas{border-top:1px solid var(--line);margin:0 0 18px}.home .past-section .life-shelf{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;display:grid}.home .past-section .life-book{text-align:left;background:var(--bg);border:1px solid var(--line);min-height:130px;box-shadow:none;border-radius:10px;grid-template-rows:auto auto auto;grid-template-columns:64px minmax(0,1fr);align-content:center;column-gap:16px;max-width:none;padding:18px;display:grid}.home .past-section .life-book svg.portrait{grid-area:1/1/4;align-self:center;width:64px;height:auto;margin:0}.home .past-section .life-book strong{overflow-wrap:anywhere;font-size:17px;line-height:1.4}.home .past-section .life-book span,.home .past-section .life-book small{overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}.home .past-section .life-book:hover{border-color:var(--teal);background:var(--soft);transform:translateY(-2px)}@media (width<=680px){.home .past-section{padding:18px}.home .past-section h2{font-size:22px}.home .past-section>.section-heading{align-items:flex-start}.home .past-section .life-shelf{grid-template-columns:1fr}.archive-tools>summary{padding:8px;font-size:12px}.archive-tools-menu{width:210px}}@media (prefers-reduced-motion:reduce){.home .past-section .life-book:hover{transform:none}}.modal{border-color:var(--line);overscroll-behavior:contain;scrollbar-width:thin;border-radius:18px;box-shadow:0 24px 80px #101c2b38}.modal::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#101c2b80}.modal>header{color:var(--ink);background:var(--paper);gap:16px;padding:16px 22px;font-size:16px;font-weight:600;line-height:1.4}.modal>header>button{background:var(--bg);border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.modal-body{padding:24px}.modal-body h2{letter-spacing:-.025em;line-height:1.35}.modal-body p{line-height:1.75}.modal-body .actions{flex-wrap:wrap;gap:10px}.modal-body .actions>button{white-space:normal;min-height:42px}:where(button,a,summary,input,select,textarea):focus-visible{outline:3px solid var(--teal);outline-offset:3px}:where(.modal-body,.game-grid) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea),.select-trigger,.currency-select{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:8px;max-width:100%;min-height:44px;padding:10px 12px}.modal-body textarea{resize:vertical;line-height:1.6}.select-popover{border-color:var(--line);border-radius:12px;box-shadow:0 14px 40px #172d4320}.game-grid .segments,.modal-body .segments{background:var(--bg);gap:4px;padding:4px}.game-grid .segments button,.modal-body .segments button{white-space:normal;border-radius:6px;min-height:40px;line-height:1.4}.choices button{border:1px solid var(--line);border-radius:10px;gap:12px;min-height:48px;line-height:1.55}.choices button:hover:not(:disabled){border-color:var(--teal);background:var(--soft)}.world-explore .together-section{background:var(--paper);border-radius:10px;margin:16px 0 24px;padding:20px}.world-explore .together-section table{font-variant-numeric:tabular-nums}@media (width<=680px){.modal{border-radius:14px;width:calc(100% - 20px);max-height:calc(100dvh - 24px)}.modal>header{padding:12px 16px;font-size:15px}.modal-body{padding:18px 16px}.modal-body .actions>button{flex:auto;min-height:44px}.modal-body :is(input,select,textarea){font-size:16px}.game-grid .segments button,.modal-body .segments button{min-height:44px}.world-explore .together-section{padding:14px;overflow-x:auto}}@media (prefers-reduced-motion:reduce){.modal[open],.toast{animation:none}}.world-heading{justify-content:space-between;align-items:center;gap:20px;padding:24px 0;display:flex}.world-heading h2,.home-faq h2{margin:0;font-family:Hahmlet,serif;font-size:26px;line-height:1.4}.world-heading>span{color:var(--muted);font-size:13px}.home-faq{border-top:1px solid var(--line);margin:40px 0;padding-top:28px}.home-faq .faq-list{grid-template-columns:1fr 1fr;align-items:start;gap:12px;margin:20px 0;display:grid}.home-faq .faq-item{border:1px solid var(--line);background:var(--paper);border-radius:10px;margin:0;padding:0}.home-faq summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:18px;font-size:15px;line-height:1.5;list-style:none;display:flex}.home-faq summary::-webkit-details-marker{display:none}.home-faq summary svg{flex:none}.home-faq details[open] summary svg{transform:rotate(180deg)}.home-faq .faq-item p{color:var(--muted);margin:0;padding:0 18px 18px;font-size:14px;line-height:1.75}.home-faq .actions{flex-wrap:wrap;gap:10px}@media (width<=680px){.world-heading{flex-direction:column;align-items:flex-start;gap:8px}.world-heading h2,.home-faq h2{font-size:23px}.home-faq .faq-list{grid-template-columns:1fr}}
