/* Approved synastry prototype styles, preserved in cascade order. Runtime asset paths only. */

/* style.css */
:root{--night:#0e1220;--panel:#1a2233;--panel-deep:#121a2b;--gold:#c9a85c;--gold-light:#ead298;--moon:#e8e4d8;--muted:#aeb8ca;--line:rgba(201,168,92,.25);--green:#b4d1ba;--red:#efb6a7;--serif:"Noto Serif SC","Songti SC","STSong",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--z-header:2;--z-toast:5}
*{box-sizing:border-box}html{background:var(--night);scroll-behavior:smooth}body{margin:0;color:var(--moon);font:16px/1.85 var(--sans);background:radial-gradient(ellipse at 50% 18%,#1a244033,transparent 60%),var(--night);min-height:100vh}body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.18;background-image:radial-gradient(circle,#e8e4d8 0 .6px,transparent 1px),radial-gradient(circle,#c9a85c 0 .7px,transparent 1px);background-size:211px 199px,307px 277px;background-position:37px 62px,140px 22px;z-index:-1}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit}button,a,summary,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{border:0}button:disabled{opacity:.5;cursor:not-allowed}button:hover:not(:disabled),a:hover{filter:brightness(1.12)}button:active:not(:disabled){transform:translateY(1px)}:focus-visible{outline:2px solid var(--gold-light);outline-offset:5px}main:focus{outline:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:600;text-wrap:balance}h1{font-size:42px;line-height:1.5;color:#f2e6c5}h2{font-size:28px;line-height:1.6}h3{font-size:22px;line-height:1.65}p{text-wrap:pretty}strong{font-weight:600}.gold{color:var(--gold-light)}.muted{color:var(--muted)}.fine{font-size:13px;color:var(--muted);line-height:1.8}.center{text-align:center}.full{width:100%}.skip{position:fixed;top:8px;left:8px;transform:translateY(-150%);background:var(--gold-light);color:var(--night);padding:10px;z-index:var(--z-toast)}.skip:focus{transform:none}.preview-strip{background:#1b2333;border-bottom:1px solid #364055;font-size:12px;color:#c8d0df}.strip-inner{max-width:1080px;margin:auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:42px}.strip-inner>span{display:flex;align-items:center;gap:7px}.status-dot{width:5px;height:5px;display:inline-block;background:var(--gold);border-radius:50%}.strip-inner button{min-height:42px;padding:0 4px;white-space:nowrap;background:none;font-size:12px;color:#e5dbbf}.preview-settings{background:#1b2333;border-bottom:1px solid #364055}.settings-inner{display:flex;align-items:center;gap:26px;max-width:1080px;margin:auto;padding:18px 24px 24px}.settings-inner>div{min-width:235px}.settings-inner label{display:block;font-size:13px;margin-bottom:6px;color:var(--gold-light)}select{background:var(--night);color:var(--moon);border:1px solid var(--line);border-radius:7px;padding:8px 12px;width:100%;min-height:44px}.settings-inner p{font-size:13px;color:var(--muted);max-width:440px}.settings-inner .text-button{white-space:nowrap}.site-wrap{width:min(100% - 48px,1000px);margin:0 auto}.site-header{display:flex;justify-content:space-between;align-items:center;padding:27px 0 20px}.brand{font-family:var(--serif);font-size:28px;letter-spacing:.16em;color:var(--gold-light);line-height:1.3}.brand>span{margin-left:5px}.brand small{font:11px/1.4 var(--sans);letter-spacing:.1em;display:block;margin-top:7px;color:var(--muted)}.my-pair-link{font-size:14px;min-height:44px;display:flex;align-items:center;gap:15px;color:#d6c8a4}.prototype-nav{display:flex;justify-content:flex-end;gap:28px;border-bottom:1px solid var(--line);font-size:13px}.prototype-nav a{padding:10px 0 14px;position:relative;min-height:44px;color:var(--muted)}.prototype-nav a[aria-current=page]{color:var(--gold-light)}.prototype-nav a[aria-current=page]:after{content:"";height:2px;background:var(--gold);position:absolute;bottom:-1px;left:0;right:0}main{padding:48px 0 0;min-height:560px;animation:enter .25s ease-out}main.route-changing{animation:none}.back-link{font-size:13px;color:var(--muted);display:inline-flex;align-items:center;min-height:44px;gap:9px;margin-top:-20px;margin-bottom:17px}.back-link:hover{color:var(--gold-light)}.page-intro{max-width:740px;margin:0 auto 36px;text-align:center}.page-intro p{margin-top:15px;color:var(--muted);font-size:16px;max-width:580px;margin-left:auto;margin-right:auto}.page-intro .small-tag{margin-bottom:18px}.small-tag{display:inline-flex;gap:9px;align-items:center;padding:3px 12px;border:1px solid var(--line);border-radius:99px;color:var(--gold-light);font-size:12px}.primary,.secondary,.danger{min-height:50px;border-radius:8px;padding:12px 22px;display:inline-flex;gap:22px;align-items:center;justify-content:center;font-size:15px;font-weight:600;line-height:1.7;transition:background .16s,color .16s}.primary{background:var(--gold-light);color:#201d15}.primary:hover{background:#f1da9e}.secondary{background:transparent;border:1px solid #a98c51;color:var(--gold-light)}.danger{background:#502c29;color:#ffddd2}.text-button{min-height:44px;background:none;padding:8px 0;font-size:14px;text-decoration:underline;text-underline-offset:4px;color:var(--gold-light)}.text-link{font-size:14px;display:inline-flex;align-items:center;gap:14px;min-height:44px;color:var(--gold-light)}.personal-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.personal-head h1{font-size:28px}.personal-head p{font-size:15px;color:var(--muted);margin-top:6px}.delivered{color:var(--green);font-size:12px;white-space:nowrap;display:flex;align-items:center;gap:7px}.delivered:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.feature{background:linear-gradient(90deg,rgba(16,24,42,.84),rgba(16,24,42,.2)),url('./media/idiom-star-sea.webp') center/cover;border:1px solid var(--line);border-radius:14px;position:relative;display:grid;grid-template-columns:1.35fr 1fr;overflow:hidden;padding:48px 48px 42px;align-items:center;min-height:350px}.feature:after{content:"";position:absolute;left:48px;right:48px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#c9a85c88,transparent)}.feature-copy{position:relative;z-index:1}.feature h2{font-size:39px;color:#f2e5bf;margin-bottom:18px}.feature-copy>p{max-width:400px;color:#c3cad5;font-size:16px;line-height:2}.feature .primary{margin-top:29px}.feature-note{margin-top:15px;font-size:12px!important;color:var(--muted)!important}.orbit{position:relative;width:300px;height:250px;margin:auto;color:var(--gold);opacity:.9;flex-shrink:0}.orbit svg{width:100%;height:100%;position:absolute;inset:0;fill:none;stroke:currentColor;stroke-width:.8}.orbit .stem-orb{position:absolute;display:flex;align-items:center;justify-content:center;width:88px;height:88px;border:1px solid #c9a85c91;border-radius:50%;font:40px/1 var(--serif);background:#141e31;color:#e4d0a0;top:86px;left:43px}.orbit .stem-orb:last-child{left:170px;top:48px;background:#16292d;color:#c4d8cc;border-color:#b6cebd8a}.orbit .stem-orb small{font:10px var(--sans);position:absolute;top:100px;white-space:nowrap;color:var(--muted)}.orbit .stem-orb:last-child small{top:101px}.home-existing{margin:35px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:32px}.existing-item{padding:20px 0;border-bottom:1px solid var(--line)}.existing-title{display:flex;align-items:center;gap:13px;margin-bottom:8px;color:var(--gold-light)}.existing-title svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.4}.existing-title h3{font-size:20px}.existing-item p{font-size:14px;color:var(--muted)}.section-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:44px 0 20px}.section-line h2{font-size:24px;color:var(--gold-light)}.empty-connection{border-top:1px solid var(--line);padding:23px 0;display:flex;align-items:center;justify-content:space-between;gap:22px}.empty-connection p{font-size:14px;color:var(--muted)}.type-list{max-width:800px;margin:auto;padding:0;list-style:none;border-top:1px solid var(--line)}.type-row{border-bottom:1px solid var(--line)}.type-toggle{width:100%;display:grid;grid-template-columns:40px 58px 1fr 30px;gap:19px;align-items:center;text-align:left;background:none;padding:26px 4px}.rank-number{font-family:var(--serif);font-size:25px;color:#c7b17e}.stem-seal{display:grid;place-items:center;width:55px;height:61px;border:1px solid var(--line);border-radius:8px;font:30px var(--serif);color:var(--gold-light);background:#1a223388}.stem-seal.wood{color:#c1d6b8;border-color:#6e92785c}.stem-seal.fire{color:#e4b0a0;border-color:#b281625c}.stem-seal.water{color:#b7c6de;border-color:#789bbc5c}.type-name{display:block;font-size:19px;color:#efe2c0;font-family:var(--serif)}.type-name small{font:13px var(--sans);color:var(--muted);margin-left:12px}.type-headline{display:block;font-size:15px;color:#c2c9d6;margin-top:6px;line-height:1.8}.type-arrow{color:var(--gold);font-size:20px;transition:transform .18s}.type-toggle[aria-expanded=true] .type-arrow{transform:rotate(90deg)}.type-toggle[aria-expanded=true] .type-name{color:var(--gold-light)}.type-detail{margin:0 0 28px 120px;max-width:580px;padding-right:32px}.type-detail h3{font-family:var(--sans);font-size:13px;color:var(--gold-light);margin-bottom:6px}.type-detail p{font-size:15px;color:#c8cfdb}.type-detail .friction{margin-top:16px}.ranking-note{margin:23px auto 0;max-width:770px}.invite-band{max-width:800px;margin:40px auto 0;background:#1a2233;border-radius:12px;padding:28px 34px;display:flex;align-items:center;justify-content:space-between;gap:25px}.invite-band h2{font-size:24px;color:var(--gold-light)}.invite-band p{font-size:14px;color:var(--muted);margin-top:8px}.invite-band .primary{white-space:nowrap}.narrow{max-width:680px;margin:auto}.invite-composition{padding:20px 0 35px;text-align:center}.invite-composition .orbit{transform:scale(1.05);margin:0 auto 16px}.invite-composition>p{max-width:470px;margin:15px auto 24px;color:var(--muted)}.quiet-box{padding:24px 28px;border:1px solid var(--line);border-radius:12px;background:#161e2e}.quiet-box h3{font-size:20px;color:var(--gold-light);margin-bottom:12px}.quiet-box p{font-size:14px;color:#c4ccd9}.quiet-box ul{margin:12px 0 0;padding-left:19px;font-size:14px;color:#c4ccd9}.quiet-box li{padding:4px 0}.preview-perspective{font-size:12px;text-align:center;color:var(--muted);margin:-9px 0 20px}.participants{display:flex;align-items:center;justify-content:center;gap:34px;margin:26px auto 34px}.participant{text-align:center;min-width:128px}.participant .person-seal{margin:0 auto 12px;border:1px solid var(--line);background:var(--panel);border-radius:50%;width:68px;height:68px;font:31px var(--serif);display:grid;place-items:center;color:var(--gold-light)}.participant.partner .person-seal{color:#c7d5bb;border-color:#b6cebd66;background:#1a272b}.participant strong{display:block;font-size:15px}.participant small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.between{color:var(--gold);font:24px var(--serif);margin-top:-32px}.report-status{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}.report-status li{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 3px;border-bottom:1px solid var(--line)}.report-status strong{font-size:15px}.report-status small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.state-label{font-size:12px;color:var(--green);white-space:nowrap}.state-label.waiting{color:var(--gold-light)}.expiry{margin:22px 0;font-size:13px;color:var(--muted);text-align:center}.expiry strong{color:var(--gold-light);font-weight:500}.expiry.urgent{color:#e5c59b;text-align:left;padding:16px 20px;background:#2d281f;border-radius:8px;border:1px solid #90774977}.expiry.urgent strong{display:block;font-size:15px;margin-bottom:7px}.consent{display:flex;align-items:flex-start;gap:12px;margin:24px 0;font-size:14px;color:#c8cfdb;cursor:pointer}.consent input{accent-color:var(--gold);width:19px;height:19px;flex:0 0 19px;margin:4px 0 0}.consent small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.purchase-intro{padding:26px 0 23px}.purchase-intro h2{font-size:24px;color:var(--gold-light)}.purchase-intro p{font-size:14px;color:var(--muted);margin:9px 0}.report-outline{display:flex;flex-wrap:wrap;gap:15px;font-size:13px;color:#c3b38c;margin-top:15px}.purchase-price{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid var(--line);padding:23px 0}.purchase-price strong{font-size:29px;color:var(--gold-light);font-weight:500}.purchase-price small{font-size:13px;margin-left:6px;color:var(--muted)}.checkout-notice{font-size:13px;color:var(--muted);margin:20px 0}.link-row{display:flex;justify-content:center;gap:28px;margin:16px 0}.loading-page{text-align:center;padding:75px 0 80px}.loading-orbits{position:relative;width:110px;height:110px;margin:0 auto 35px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--gold-light);font:30px var(--serif)}.loading-orbits:after{content:"";position:absolute;inset:10px;border:1px solid var(--line);border-top-color:var(--gold);border-radius:50%;animation:rotate 1.5s linear infinite}.loading-page p{font-size:15px;color:var(--muted);margin:15px auto;max-width:420px}.loading-page h1{font-size:28px}.loading-page .secondary{margin-top:25px}.result-hero{max-width:800px;margin:auto;text-align:center}.result-hero h1{font-size:36px;line-height:1.65}.result-hero>p{max-width:560px;margin:19px auto 25px;color:#bdc6d5}.result-hero .participants{margin:20px auto 32px}.reading-nav{display:flex;justify-content:center;gap:25px;border-bottom:1px solid var(--line);margin:30px 0 0}.reading-nav a{min-height:48px;font-size:13px;color:var(--gold-light);display:flex;align-items:center}.reading{max-width:690px;margin:auto}.reading-section{padding:40px 0 35px;border-bottom:1px solid var(--line);scroll-margin-top:24px}.reading-section h2{font-size:27px;line-height:1.7;color:var(--gold-light);margin-bottom:23px}.reading-section>p{font-size:17px;line-height:2.1;color:#d2d7e0;margin:0 0 18px}.reading-section>p:last-of-type{margin-bottom:0}.source-detail{margin-top:24px;background:#141b2a;padding:0 16px;border-radius:8px}.source-detail summary{font-size:12px;min-height:44px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);cursor:pointer;list-style:none}.source-detail summary::-webkit-details-marker{display:none}.source-detail summary span{color:var(--gold-light)}.source-detail[open] summary span:after{content:"收起"}.source-detail:not([open]) summary span:after{content:"点击查看 +"}.source-detail ul{margin:0;padding:0 0 16px 18px;font-size:12px;color:var(--muted)}.action-pair{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding-top:22px}.person-action{padding-top:18px;border-top:1px solid var(--line)}.person-action>span{font-size:12px;color:var(--muted)}.person-action h3{font-size:19px;color:var(--gold-light);margin:10px 0}.person-action p{font-size:15px;line-height:1.95;color:#c8cfdb}.closing-quote{font-family:var(--serif);color:var(--gold-light);font-size:23px;text-align:center;padding:44px 0 20px}.reading-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);margin-top:27px;padding-top:18px;font-size:12px;color:var(--muted)}.connection-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--panel-deep)}.connection-card h2{font-size:25px;color:var(--gold-light)}.connection-card p{font-size:14px;color:var(--muted);margin:6px 0}.connection-card .text-link{white-space:nowrap}.empty-page{padding:50px 0 75px;text-align:center}.empty-page .orbit{opacity:.75;margin-bottom:15px}.empty-page p{color:var(--muted);font-size:15px;margin:17px auto 26px;max-width:430px}.site-footer{text-align:center;color:#a7afbf;font-size:12px;padding:55px 0 25px;max-width:660px;margin:auto}.site-footer>span{color:#c6b990;letter-spacing:.1em}.site-footer p{margin-top:10px;font-size:11px;color:#a7afbf}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px;font-size:13px}dialog{background:#182132;color:var(--moon);border:1px solid #a48d58;border-radius:14px;width:min(100% - 36px,510px);padding:28px;max-height:calc(100dvh - 32px);overflow-y:auto}dialog::backdrop{background:#050811cf}dialog h2{font-size:25px;color:var(--gold-light);margin-bottom:16px}dialog>p{font-size:15px;color:#c6cedb}dialog .fine{margin-top:15px;font-size:12px}.icon-button{width:44px;height:44px;background:none;font-size:25px;color:var(--muted);border-radius:50%}.invitation-slip{padding:24px 0;margin:22px 0;border-block:1px solid var(--line)}.invitation-slip strong,.invitation-slip span,.invitation-slip small{display:block}.invitation-slip strong{font-size:16px;color:var(--gold-light);margin-bottom:8px}.invitation-slip span{font-size:14px}.invitation-slip small{color:var(--muted);font-size:12px;margin-top:8px}.dialog-actions{display:flex;justify-content:flex-end;gap:14px;margin-top:25px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#e9d49b;color:#252013;padding:11px 20px;border-radius:8px;font-size:14px;max-width:calc(100% - 32px);z-index:var(--z-toast);transition:opacity .18s,transform .18s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.noscript{text-align:center;color:var(--gold-light)}
@keyframes enter{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes rotate{to{transform:rotate(360deg)}}
@media(min-width:1500px){.site-wrap{width:min(100% - 80px,1050px)}.feature{min-height:380px}}
@media(max-width:760px){h1{font-size:34px}.site-wrap{width:calc(100% - 40px)}main{padding-top:34px}.feature{grid-template-columns:1.4fr 1fr;padding:32px 28px;min-height:310px}.feature h2{font-size:31px}.feature-copy>p{font-size:15px}.feature .orbit{width:215px;height:205px;transform:scale(.83);transform-origin:center}.feature .primary{font-size:14px;padding:11px 15px;gap:15px}.settings-inner{flex-wrap:wrap;gap:16px}.settings-inner p{max-width:none;flex:1;min-width:180px}.personal-head h1{font-size:24px}.type-toggle{gap:14px;grid-template-columns:28px 50px 1fr 24px}.stem-seal{width:48px;height:55px;font-size:27px}.type-detail{margin-left:107px;padding-right:10px}.invite-band{padding:25px;flex-wrap:wrap}.invite-band .primary{width:100%}.result-hero h1{font-size:31px}.reading-section h2{font-size:25px}.reading-section>p{font-size:16px}.strip-detail{display:none}}
@media(max-width:520px){.site-wrap{width:calc(100% - 36px)}.strip-inner{padding:0 18px}.site-header{padding:22px 0 16px}.brand{font-size:26px}.brand small{font-size:10px}.my-pair-link{font-size:12px;gap:8px}.prototype-nav{justify-content:space-between;gap:8px;font-size:12px}.prototype-nav a{padding-bottom:12px}.personal-head{gap:12px;align-items:flex-start;margin-bottom:24px}.personal-head h1{font-size:22px}.personal-head p{font-size:12px;margin-top:8px}.delivered{font-size:10px;padding-top:8px}.feature{grid-template-columns:1fr;padding:28px 24px 30px;min-height:auto}.feature-copy{text-align:left}.feature h2{font-size:32px;margin-bottom:13px}.feature .orbit{position:absolute;right:-53px;bottom:14px;transform:scale(.55);opacity:.35;transform-origin:right bottom}.feature-copy>p{max-width:245px;font-size:14px}.feature .primary{margin-top:26px;padding:12px 16px;font-size:14px;position:relative}.feature-note{font-size:11px!important;max-width:none!important}.feature:after{left:24px;right:24px}.home-existing{grid-template-columns:1fr;margin-top:16px;gap:0}.existing-item{padding:20px 0}.existing-title{margin-bottom:5px}.existing-item p{font-size:13px}.section-line{margin-top:32px}.section-line h2{font-size:22px}.empty-connection{display:block;padding:18px 0}.empty-connection .text-link{margin-top:6px}.page-intro{margin-bottom:25px}.page-intro h1{font-size:32px}.page-intro p{font-size:14px;margin-top:13px}.page-intro .small-tag{margin-bottom:14px}.type-toggle{grid-template-columns:23px 42px 1fr 18px;gap:12px;padding:22px 0}.rank-number{font-size:22px}.stem-seal{width:42px;height:48px;font-size:25px}.type-name{font-size:18px}.type-name small{margin-left:7px;font-size:11px}.type-headline{font-size:13px;margin-top:4px}.type-arrow{font-size:17px}.type-detail{margin:0 0 24px 35px;padding:0 4px 0 0}.type-detail p{font-size:14px}.ranking-note{font-size:12px}.invite-band{margin-top:30px;padding:24px 22px;gap:20px}.invite-band h2{font-size:23px}.invite-band p{font-size:13px}.invite-composition{padding-top:0}.invite-composition .orbit{transform:scale(.85);margin-top:-15px;margin-bottom:-5px}.invite-composition h1{font-size:30px}.invite-composition>p{font-size:14px}.quiet-box{padding:21px}.participants{gap:16px;margin:22px auto 26px}.participant{min-width:110px}.participant .person-seal{width:60px;height:60px;font-size:29px}.participant strong{font-size:14px}.participant small{font-size:11px}.between{font-size:20px}.report-status li{gap:12px;padding:18px 0}.report-status strong{font-size:14px}.report-status small{font-size:11px}.state-label{font-size:11px}.consent{font-size:13px}.primary,.secondary,.danger{font-size:14px;padding:12px 17px}.expiry{font-size:12px}.expiry.urgent{padding:14px 17px}.expiry.urgent strong{font-size:14px}.result-hero h1{font-size:29px}.result-hero>p{font-size:14px;line-height:1.95}.reading-nav{gap:24px;margin-top:23px}.reading-nav a{font-size:12px}.reading-section{padding:31px 0}.reading-section h2{font-size:24px;line-height:1.7;margin-bottom:20px}.reading-section>p{font-size:15px;line-height:2.1}.action-pair{grid-template-columns:1fr;gap:12px;padding-top:13px}.person-action{padding-top:16px}.person-action h3{font-size:20px}.person-action p{font-size:14px}.closing-quote{font-size:21px;padding-top:34px}.reading-bottom{display:block}.reading-bottom .text-button{margin-top:6px;font-size:12px}.connection-card{display:block;padding:23px}.connection-card h2{font-size:23px}.connection-card .text-link{margin-top:14px}.site-footer{padding-top:42px}.site-footer p{font-size:10px}.settings-inner{padding:15px 18px 20px}.settings-inner>div{width:100%}.settings-inner p{font-size:12px}.settings-inner .text-button{font-size:12px}dialog{padding:22px}dialog h2{font-size:24px}.dialog-top{margin-bottom:13px}.dialog-actions{gap:10px}.dialog-actions>button{flex:1;padding-left:10px;padding-right:10px}}
@media(max-width:520px){.feature .orbit{width:300px;height:250px;right:17px;bottom:17px;transform:scale(.44);transform-origin:bottom right;opacity:.3}.feature .orbit small{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Gift flow: same report, separate payer and recipient. */
.gift-entry{margin-top:14px}.gift-paper{display:flex;align-items:center;gap:25px;padding:28px;background:linear-gradient(120deg,#1c293a,#17202f);border:1px solid var(--line);border-radius:12px}.gift-word{font:45px var(--serif);color:var(--gold-light);width:78px;height:100px;display:grid;place-items:center;border:1px solid #ac914f88;border-radius:6px;flex-shrink:0}.gift-paper h2{font-size:25px;color:var(--gold-light)}.gift-paper p{font-size:15px;color:#c9d0db;margin-top:9px}.gift-paper .fine{display:block;margin-top:13px}.gift-ownership{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:23px 0 0}.gift-ownership strong{color:var(--gold-light);font-size:15px}.gift-ownership p{color:var(--muted);font-size:14px;margin-top:4px}.gift-next{text-align:center;margin-top:30px}.gift-next .fine{margin:12px 0}.gift-rules{margin-top:23px}.recipient-fixture{padding:26px 0 0}.recipient-fixture h3{font-size:21px;color:var(--gold-light)}.recipient-fixture>p{font-size:14px;color:var(--muted);margin-top:10px}.recipient-fixture .source-detail{margin-top:12px}.gift-pair-choice{margin-top:31px;padding-top:28px;border-top:1px solid var(--line)}.gift-pair-choice h2{font-size:25px;color:var(--gold-light)}.gift-pair-choice>p{font-size:15px;color:var(--muted);margin:12px 0}.gift-pair-choice .text-button{margin-top:9px}.gift-rules li{margin:5px 0}
@media(max-width:520px){.gift-paper{padding:21px;gap:17px}.gift-word{font-size:33px;width:50px;height:80px}.gift-paper h2{font-size:20px}.gift-paper p{font-size:13px}.gift-paper .fine{font-size:11px}.gift-ownership{gap:17px}.gift-ownership p{font-size:13px}.gift-pair-choice h2{font-size:23px}.gift-pair-choice>p{font-size:14px}}

/* design.css */
/* Selected Product Design concept 1, applied to the existing prototype. */
:root {
  --muted: #b7becd;
  --line: rgba(182, 183, 195, .22);
  --gold-light: #ead298;
  --z-header: 2;
  --z-dock: 3;
  --z-toast: 5;
}
body { background: var(--night); }
body::before { display: none; }
.site-wrap { width: min(100% - 64px, 1000px); }
.site-header { padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
.brand { font-size: 29px; font-weight: 500; }
.brand small { font-size: 12px; margin-top: 4px; }
.my-pair-link { color: var(--moon); font-size: 15px; gap: 12px; }
.my-pair-link span { font-size: 24px; }
.prototype-context { min-height: 30px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; gap: 12px; }
.prototype-context button { background: transparent; min-height: 44px; padding: 0; color: var(--muted); font-size: 12px; }
.prototype-context button span { display: inline-block; margin-left: 5px; }
.prototype-context button[aria-expanded=true] span { transform: rotate(90deg); }
.preview-settings { border-bottom: 1px solid var(--line); background: #182131; }
.settings-inner { padding: 22px; align-items: flex-start; }
.settings-inner > div { min-width: 190px; }
.settings-inner p { min-width: 0; }
.prototype-nav { padding: 0 22px; justify-content: flex-start; gap: 26px; }
.prototype-nav a { font-size: 14px; }
main { padding-top: 22px; }
.primary { background: #ead298; border: 1px solid #eedbac; border-radius: 9px; min-height: 50px; }
.secondary { border-color: #8a7950; }
.text-link, .text-button { font-size: 14px; }
.back-link { margin-top: -6px; margin-bottom: 18px; font-size: 14px; }
.site-footer { font-size: 13px; line-height: 1.8; }
.site-footer p { font-size: 12px; }
dialog .fine { font-size: 13px; }
.reading-section:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 8px; }
body[data-route=rank] main { max-width: 880px; margin: auto; padding-top: 34px; padding-bottom: 150px; animation: none; }
.rank-intro { position: relative; padding: 0 0 20px; background: url('./media/synastry/rank-sky.webp') right 13% / 480px auto no-repeat; }
.rank-context { font-size: 16px; color: #c5ccd8; }
.rank-intro h1 { font-size: 49px; line-height: 1.3; margin: 10px 0; letter-spacing: .015em; color: #f3e4ba; }
.rank-subtitle { font: 23px/1.6 var(--serif); color: #e9dab7; }
.rank-disclosure { margin-top: 10px; font-size: 13px; color: var(--muted); }
.rank-about { display: inline-flex; align-items: center; gap: 16px; background: none; color: #c5cad6; font-size: 14px; min-height: 44px; padding: 0; margin-top: 8px; }
.rank-about span { font-size: 22px; }
.type-list { max-width: none; border-top: 0; }
.type-row { position: relative; border-bottom: 1px solid var(--line); }
.type-row.featured-type { background: #1a202b; border-top: 1px solid #786b4e; border-radius: 10px; }
.type-toggle { grid-template-columns: 36px 54px minmax(0, 1fr) 72px; gap: 22px; padding: 21px 16px; min-height: 114px; }
.rank-number { font-size: 28px; color: #929bae; font-variant-numeric: tabular-nums; }
.featured-type .rank-number { color: #d7b86f; }
.stem-seal { border-radius: 9px; width: 51px; height: 59px; font-size: 35px; background: #1b212b; border: 1px solid #78818e; color: #f0e5c8; }
.stem-seal.wood { color: #e6e4c5; background: #172b2a; border-color: #5e8d76; }
.stem-seal.fire { color: #f0ddc2; background: #362320; border-color: #9d6251; }
.stem-seal.water { color: #e0decc; background: #172536; border-color: #6284a5; }
.type-name { font-size: 24px; font-weight: 500; color: #f1e4c4; line-height: 1.5; }
.type-name small { font: 15px/1.5 var(--sans); color: #d1d3db; margin-left: 5px; white-space: nowrap; }
.type-headline { margin-top: 4px; font-size: 15px; line-height: 1.65; color: #bdc5d5; }
.type-affordance { display: flex; align-items: center; justify-content: flex-end; gap: 11px; font-size: 15px; color: var(--gold-light); }
.type-action { white-space: nowrap; flex-shrink: 0; }
.type-arrow { font-size: 23px; display: inline-block; color: var(--gold-light); }
.type-toggle[aria-expanded=true] .type-arrow { transform: rotate(90deg); }
.type-toggle[aria-expanded=true] { border-bottom: 0; }
.type-toggle:focus-visible { outline-offset: -3px; border-radius: 8px; }
.type-detail { margin: 0 0 26px 150px; padding: 0 70px 0 0; max-width: none; }
.type-detail h3 { font-size: 14px; margin-bottom: 7px; }
.type-detail p { font-size: 15px; line-height: 1.9; }
.type-detail p + p { margin-top: 9px; }
.rank-dock { position: fixed; z-index: var(--z-dock); bottom: 0; left: 0; right: 0; background: var(--night); border-top: 1px solid #374052; padding: 17px 32px max(20px, env(safe-area-inset-bottom)); }
.rank-dock-inner { max-width: 880px; margin: auto; display: flex; align-items: center; gap: 26px; }
.rank-dock p { font-size: 14px; color: #c1c7d3; flex: 1; }
.rank-dock p span { display: block; margin-top: 2px; }
.rank-dock .primary { width: auto; min-width: 350px; font-size: 16px; }
body[data-route=rank] .site-footer { padding: 0 0 140px; }
body[data-route=rank] .toast { bottom: 136px; }
@media (max-width: 760px) {
  .site-wrap { width: calc(100% - 40px); }
  .site-header { padding: 15px 0; }
  .settings-inner { flex-wrap: wrap; gap: 16px; }
  .settings-inner > div { width: 100%; }
  .type-toggle { grid-template-columns: 28px 48px minmax(0, 1fr) 50px; gap: 14px; padding: 17px 10px; min-height: 96px; }
  .type-name { font-size: 22px; }
  .type-name small { font-size: 13px; }
  .type-headline { font-size: 14px; }
  .rank-dock { padding: 14px 24px max(18px, env(safe-area-inset-bottom)); }
  .rank-dock-inner { display: block; }
  .rank-dock p { text-align: center; font-size: 13px; margin-bottom: 12px; }
  .rank-dock p span { display: inline; margin-left: 5px; }
  .rank-dock .primary { width: 100%; min-width: 0; }
}
@media (max-width: 520px) {
  .site-wrap { width: calc(100% - 36px); }
  .site-header { padding: 7px 0 6px; }
  .brand { font-size: 24px; letter-spacing: .14em; }
  .brand small { font-size: 10px; line-height: 1.4; letter-spacing: .04em; margin-top: 2px; }
  .my-pair-link { font-size: 13px; gap: 7px; }
  .my-pair-link span { font-size: 22px; }
  .prototype-context { font-size: 11px; }
  .prototype-context button { font-size: 12px; }
  .prototype-nav { padding: 0 16px; gap: 12px; justify-content: space-between; }
  .prototype-nav a { font-size: 12px; }
  .settings-inner { padding: 18px 16px; }
  body[data-route=rank] main { padding-top: 18px; padding-bottom: 24px; }
  .rank-intro { padding-bottom: 6px; background-size: 290px auto; background-position: right 14%; }
  .rank-context { font-size: 14px; line-height: 1.5; }
  .rank-intro h1 { font-size: 38px; margin: 8px 0 5px; line-height: 1.25; letter-spacing: 0; }
  .rank-subtitle { font-size: 17px; line-height: 1.7; }
  .rank-disclosure { font-size: 11px; line-height: 1.8; margin-top: 6px; max-width: 100%; }
  .rank-about { font-size: 13px; line-height: 1.5; min-height: 36px; margin-top: 0; gap: 12px; }
  .type-toggle { grid-template-columns: 25px 44px minmax(0, 1fr) 41px; gap: 10px; padding: 10px 7px; min-height: 89px; }
  .type-name { font-size: 20px; line-height: 1.4; white-space: nowrap; }
  .type-name small { margin-left: 3px; font-size: 11px; }
  .type-headline { font-size: 13px; line-height: 1.65; margin-top: 3px; }
  .rank-number { font-size: 22px; }
  .stem-seal { width: 43px; height: 50px; font-size: 30px; border-radius: 8px; }
  .type-affordance { font-size: 12px; gap: 7px; }
  .type-arrow { font-size: 20px; }
  .type-row.featured-type { border-radius: 8px; }
  .type-detail { margin: 0 14px 24px 43px; padding: 0; }
  .type-detail h3 { font-size: 13px; }
  .type-detail p { font-size: 14px; }
  .rank-dock { padding: 12px 18px max(17px, env(safe-area-inset-bottom)); background: var(--night) url('./media/synastry/rank-sky.webp') center bottom / 100% auto no-repeat; }
  .rank-dock p { font-size: 11px; line-height: 1.7; margin-bottom: 10px; }
  .rank-dock .primary { font-size: 15px; min-height: 49px; padding: 11px 10px; gap: 14px; }
  body[data-route=rank] .site-footer { padding: 14px 0 132px; }
  body[data-route=rank] .toast { bottom: 118px; }
  .site-footer, .site-footer p { font-size: 12px; }
}
@media (max-width: 359px) {
  .type-toggle { grid-template-columns: 22px 34px minmax(0, 1fr) 35px; gap: 7px; padding-inline: 5px; }
  .stem-seal { width: 34px; height: 44px; font-size: 25px; }
  .type-name { font-size: 18px; }
  .type-name small { font-size: 11px; }
  .rank-intro h1 { font-size: 34px; }
  .rank-subtitle { font-size: 16px; }
  .type-affordance { gap: 3px; }
  .rank-dock p span { display: block; margin-left: 0; }
  .rank-dock .primary { font-size: 14px; gap: 10px; }
}

.header-links { display: flex; align-items: center; gap: 18px; }
.preview-trigger { background: transparent; color: var(--muted); font-size: 12px; min-height: 44px; padding: 0 3px; }
.preview-trigger[aria-expanded=true] { color: var(--gold-light); }
body[data-route=rank] .prototype-context { display: none; }
@media (min-width: 960px) {
  body[data-route=rank] main { max-width: 1000px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; padding-top: 44px; align-items: start; }
  .rank-intro { padding-top: 22px; padding-bottom: 100px; background-size: 370px auto; background-position: right 7%; }
  .rank-intro h1 { font-size: 43px; margin: 15px 0; }
  .rank-subtitle { font-size: 21px; }
  .rank-disclosure { margin-top: 17px; }
  .rank-about { margin-top: 14px; }
  .type-list { width: 100%; }
  .type-toggle { min-height: 104px; padding: 15px 12px; grid-template-columns: 27px 50px minmax(0, 1fr) 50px; gap: 16px; }
  .type-name { font-size: 23px; }
  .type-name small { font-size: 13px; }
  .type-headline { font-size: 14px; }
  .rank-number { font-size: 24px; }
  .type-affordance { font-size: 14px; gap: 8px; }
  .type-detail { margin-left: 105px; padding-right: 24px; }
  .rank-dock-inner { max-width: 1000px; }
}
@media (max-width: 520px) {
  .header-links { gap: 13px; }
  .preview-trigger { font-size: 11px; }
}
@media (min-width: 960px) and (max-height: 780px) {
  body[data-route=rank] main { padding-top: 28px; }
  .rank-intro { padding-top: 10px; }
  .type-toggle { min-height: 88px; padding-block: 11px; }
}

/* flow-design.css */
/* Scheme 1 flow continuation. Route-scoped; no content or state changes. */
body[data-route='invite'] #app,
body[data-route='join'] #app,
body[data-route='checkout'] #app,
body[data-route='gift'] #app,
body[data-route='gift-sent'] #app,
body[data-route='gift-receive'] #app,
body[data-route='gift-report'] #app,
body[data-route='result'] #app,
body[data-route='sample'] #app,
body[data-route='connections'] #app {
  --line: rgba(174, 188, 214, .2);
  --gold-light: #ead7a9;
  --muted: #b6bdcb;
  font-size: 15px;
  overflow-wrap: break-word;
}

body[data-route='invite'] .narrow,
body[data-route='join'] .narrow,
body[data-route='checkout'] .narrow,
body[data-route='gift'] .narrow,
body[data-route='gift-sent'] .narrow,
body[data-route='gift-receive'] .narrow,
body[data-route='gift-report'] .narrow,
body[data-route='result'] .narrow,
body[data-route='sample'] .narrow,
body[data-route='connections'] .narrow {
  width: 100%;
  max-width: 640px;
}

body[data-route='invite'] #app h1,
body[data-route='join'] #app h1,
body[data-route='checkout'] #app h1,
body[data-route='gift'] #app h1,
body[data-route='gift-sent'] #app h1,
body[data-route='gift-receive'] #app h1,
body[data-route='gift-report'] #app h1,
body[data-route='result'] #app h1,
body[data-route='sample'] #app h1,
body[data-route='connections'] #app h1 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .015em;
  color: #f0e5cb;
}

body[data-route='invite'] #app .fine,
body[data-route='join'] #app .fine,
body[data-route='checkout'] #app .fine,
body[data-route='gift'] #app .fine,
body[data-route='gift-sent'] #app .fine,
body[data-route='gift-receive'] #app .fine,
body[data-route='gift-report'] #app .fine,
body[data-route='result'] #app .fine,
body[data-route='sample'] #app .fine,
body[data-route='connections'] #app .fine {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

body[data-route='invite'] .small-tag,
body[data-route='join'] .small-tag,
body[data-route='checkout'] .small-tag,
body[data-route='gift'] .small-tag,
body[data-route='gift-sent'] .small-tag,
body[data-route='gift-receive'] .small-tag,
body[data-route='gift-report'] .small-tag,
body[data-route='result'] .small-tag,
body[data-route='sample'] .small-tag,
body[data-route='connections'] .small-tag {
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: .05em;
  color: #d1ba84;
}

body[data-route='invite'] .primary,
body[data-route='join'] .primary,
body[data-route='checkout'] .primary,
body[data-route='gift'] .primary,
body[data-route='gift-sent'] .primary,
body[data-route='gift-receive'] .primary,
body[data-route='gift-report'] .primary,
body[data-route='result'] .primary,
body[data-route='sample'] .primary,
body[data-route='connections'] .primary {
  min-height: 54px;
  padding: 14px 20px;
  gap: 14px;
  border: 1px solid #ead59d;
  border-radius: 10px;
  background: #ead298;
  color: #1c1b18;
  font-size: 15px;
  line-height: 1.7;
}

body[data-route='invite'] .secondary,
body[data-route='join'] .secondary,
body[data-route='checkout'] .secondary,
body[data-route='gift'] .secondary,
body[data-route='gift-sent'] .secondary,
body[data-route='gift-receive'] .secondary,
body[data-route='gift-report'] .secondary,
body[data-route='result'] .secondary,
body[data-route='sample'] .secondary,
body[data-route='connections'] .secondary {
  min-height: 52px;
  padding: 13px 20px;
  gap: 14px;
  border: 1px solid #697082;
  border-radius: 10px;
  background: rgba(196, 208, 228, .025);
  color: #dcd8ce;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

/* Invitations retain a modest illustration and give the choices room. */
body[data-route='invite'] .invite-composition {
  max-width: 560px;
  margin: auto;
  padding: 0 0 28px;
}
body[data-route='invite'] .invite-composition .orbit,
body[data-route='connections'] .empty-page .orbit {
  width: 250px;
  height: 184px;
  max-width: 100%;
  margin: 0 auto 15px;
  transform: none;
  opacity: .85;
}
body[data-route='invite'] .orbit .stem-orb,
body[data-route='connections'] .orbit .stem-orb {
  width: 64px;
  height: 64px;
  top: 64px;
  left: 30px;
  font-size: 32px;
  background: #151e30;
}
body[data-route='invite'] .orbit .stem-orb:last-child,
body[data-route='connections'] .orbit .stem-orb:last-child {
  left: 157px;
  top: 34px;
  background: #17252b;
}
body[data-route='invite'] .orbit .stem-orb small,
body[data-route='connections'] .orbit .stem-orb small {
  top: 76px;
  font-size: 11px;
}
body[data-route='invite'] .invite-composition h1 { font-size: clamp(29px, 4vw, 36px); }
body[data-route='invite'] .invite-composition > p:not(.fine) {
  max-width: 430px;
  margin: 14px auto 26px;
  font-size: 15px;
  line-height: 1.95;
  color: #c4cad5;
}
body[data-route='invite'] .gift-entry { margin-top: 12px; justify-content: space-between; }
body[data-route='invite'] .gift-entry > span { color: #d4bd88; font-weight: 600; white-space: nowrap; }
body[data-route='invite'] .invite-composition > .fine { margin: 11px auto 0; }
body[data-route='invite'] .link-row { margin-top: 16px; }

body[data-route='invite'] .quiet-box,
body[data-route='join'] .quiet-box,
body[data-route='checkout'] .quiet-box,
body[data-route='gift-report'] .quiet-box,
body[data-route='result'] .quiet-box {
  padding: 24px 0;
  border: 0;
  border-block: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
body[data-route='invite'] .quiet-box h3,
body[data-route='join'] .quiet-box h3,
body[data-route='checkout'] .quiet-box h3,
body[data-route='gift-report'] .quiet-box h3,
body[data-route='result'] .quiet-box h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 500;
  color: #e8ddc5;
}
body[data-route='invite'] .quiet-box :is(p, ul),
body[data-route='join'] .quiet-box :is(p, ul),
body[data-route='checkout'] .quiet-box :is(p, ul),
body[data-route='gift-report'] .quiet-box :is(p, ul),
body[data-route='result'] .quiet-box :is(p, ul) {
  font-size: 15px;
  line-height: 1.95;
  color: #c7ceda;
}

/* Payment and receiving screens share the same readable hierarchy. */
body[data-route='join'] .page-intro,
body[data-route='checkout'] .page-intro,
body[data-route='gift'] .page-intro,
body[data-route='gift-sent'] .page-intro,
body[data-route='gift-receive'] .page-intro,
body[data-route='gift-report'] .page-intro,
body[data-route='connections'] .page-intro {
  margin-bottom: 30px;
}
body[data-route='join'] .page-intro p,
body[data-route='checkout'] .page-intro p,
body[data-route='gift'] .page-intro p,
body[data-route='gift-sent'] .page-intro p,
body[data-route='gift-receive'] .page-intro p,
body[data-route='gift-report'] .page-intro p,
body[data-route='connections'] .page-intro p {
  max-width: 520px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.95;
  color: #c1c8d4;
}
body[data-route='join'] .preview-perspective,
body[data-route='checkout'] .preview-perspective,
body[data-route='gift'] .preview-perspective,
body[data-route='gift-sent'] .preview-perspective,
body[data-route='gift-receive'] .preview-perspective,
body[data-route='gift-report'] .preview-perspective {
  margin: -4px 0 22px;
  font-size: 13px;
  line-height: 1.8;
  color: #aeb8c9;
}

body[data-route='join'] .participants,
body[data-route='result'] .participants,
body[data-route='sample'] .participants { gap: 22px; margin: 24px auto 30px; }
body[data-route='join'] .participant,
body[data-route='result'] .participant,
body[data-route='sample'] .participant { flex: 1; min-width: 0; max-width: 164px; }
body[data-route='join'] .person-seal,
body[data-route='result'] .person-seal,
body[data-route='sample'] .person-seal {
  width: 64px;
  height: 70px;
  border-radius: 11px;
  border-color: #5b6b86;
  background: #182133;
  font-size: 33px;
}
body[data-route='join'] .participant strong,
body[data-route='result'] .participant strong,
body[data-route='sample'] .participant strong { font-size: 15px; }
body[data-route='join'] .participant small,
body[data-route='result'] .participant small,
body[data-route='sample'] .participant small { font-size: 13px; line-height: 1.7; }

body[data-route='join'] .report-status li,
body[data-route='gift'] .report-status li,
body[data-route='gift-sent'] .report-status li { padding: 20px 0; gap: 16px; align-items: flex-start; }
body[data-route='join'] .report-status li > div,
body[data-route='gift'] .report-status li > div,
body[data-route='gift-sent'] .report-status li > div { min-width: 0; flex: 1; }
body[data-route='join'] .report-status strong,
body[data-route='gift'] .report-status strong,
body[data-route='gift-sent'] .report-status strong { font-size: 15px; color: #e1e1dc; }
body[data-route='join'] .report-status small,
body[data-route='gift'] .report-status small,
body[data-route='gift-sent'] .report-status small { font-size: 13px; line-height: 1.85; margin-top: 6px; }
body[data-route='join'] .state-label { padding-top: 2px; font-size: 13px; }
body[data-route='gift'] .report-status .gold,
body[data-route='gift-sent'] .report-status .gold { flex-shrink: 0; font-size: 20px; font-variant-numeric: tabular-nums; }

body[data-route='join'] .expiry,
body[data-route='checkout'] .expiry,
body[data-route='gift'] .expiry,
body[data-route='gift-report'] .expiry {
  margin: 24px 0;
  padding: 14px 17px;
  border: 0;
  border-left: 2px solid #877653;
  border-radius: 0;
  background: rgba(112, 132, 167, .065);
  color: #c0c7d3;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}
body[data-route='join'] .expiry.urgent,
body[data-route='checkout'] .expiry.urgent,
body[data-route='gift'] .expiry.urgent,
body[data-route='gift-report'] .expiry.urgent {
  border-left-color: #d0af73;
  background: rgba(192, 148, 73, .08);
  color: #e3c89e;
}
body[data-route='join'] .expiry strong,
body[data-route='checkout'] .expiry strong,
body[data-route='gift'] .expiry strong,
body[data-route='gift-report'] .expiry strong { font-size: inherit; color: #e5d1a0; font-weight: 600; }

body[data-route='join'] .consent,
body[data-route='gift-receive'] .consent {
  gap: 13px;
  margin: 25px 0;
  font-size: 15px;
  line-height: 1.9;
  color: #d3d8e0;
}
body[data-route='join'] .consent span,
body[data-route='gift-receive'] .consent span { min-width: 0; }
body[data-route='join'] .consent small,
body[data-route='gift-receive'] .consent small { margin-top: 7px; font-size: 13px; line-height: 1.9; color: #b7bfce; }
body[data-route='join'] .consent input,
body[data-route='gift-receive'] .consent input { width: 20px; height: 20px; flex-basis: 20px; margin-top: 5px; }

body[data-route='checkout'] .purchase-price,
body[data-route='gift'] .purchase-price { padding: 22px 0; gap: 18px; }
body[data-route='checkout'] .purchase-price > span,
body[data-route='gift'] .purchase-price > span { font-size: 15px; color: #d7dbe3; }
body[data-route='checkout'] .purchase-price strong,
body[data-route='gift'] .purchase-price strong { font-size: 32px; white-space: nowrap; font-variant-numeric: tabular-nums; }
body[data-route='checkout'] .purchase-price small,
body[data-route='gift'] .purchase-price small { font-size: 13px; }
body[data-route='checkout'] .checkout-notice,
body[data-route='gift'] .checkout-notice { margin: 20px 0; font-size: 14px; line-height: 1.95; color: #c2c9d5; }
body[data-route='checkout'] .report-outline { gap: 12px 22px; margin-top: 17px; font-size: 14px; }

/* One restrained gift panel; ownership remains distinct beneath it. */
body[data-route='gift'] .gift-paper,
body[data-route='gift-receive'] .gift-paper,
body[data-route='join'] .gift-paper {
  padding: 24px;
  gap: 22px;
  border-color: rgba(193, 184, 157, .27);
  border-radius: 12px;
  background: linear-gradient(125deg, rgba(173, 185, 207, .085), rgba(31, 42, 61, .2));
}
body[data-route='gift'] .gift-paper > div,
body[data-route='gift-receive'] .gift-paper > div,
body[data-route='join'] .gift-paper > div { min-width: 0; }
body[data-route='gift'] .gift-word,
body[data-route='gift-receive'] .gift-word,
body[data-route='join'] .gift-word {
  width: 62px;
  height: 84px;
  border-color: #927e52;
  border-radius: 7px;
  background: rgba(195, 170, 113, .04);
  font-size: 37px;
}
body[data-route='gift'] .gift-paper h2,
body[data-route='gift-receive'] .gift-paper h2,
body[data-route='join'] .gift-paper h2 { font-size: 24px; line-height: 1.6; font-weight: 500; color: #e8ddc5; }
body[data-route='gift'] .gift-paper p,
body[data-route='gift-receive'] .gift-paper p,
body[data-route='join'] .gift-paper p { font-size: 15px; line-height: 1.9; color: #c6ccd7; }
body[data-route='gift'] .gift-ownership { gap: 0; padding-top: 24px; }
body[data-route='gift'] .gift-ownership > div { min-width: 0; padding-right: 20px; }
body[data-route='gift'] .gift-ownership > div + div { padding-left: 22px; padding-right: 0; border-left: 1px solid var(--line); }
body[data-route='gift'] .gift-ownership strong { font-size: 15px; color: #e5d3aa; }
body[data-route='gift'] .gift-ownership p { font-size: 14px; line-height: 1.9; margin-top: 5px; color: #c1c8d4; }
body[data-route='gift'] .gift-next,
body[data-route='gift-sent'] .gift-next { margin-top: 28px; }
body[data-route='gift-receive'] .recipient-fixture,
body[data-route='join'] .recipient-fixture { padding-top: 28px; }
body[data-route='gift-receive'] .recipient-fixture h3,
body[data-route='join'] .recipient-fixture h3 { font-size: 22px; font-weight: 500; color: #e8ddc5; }
body[data-route='gift-receive'] .recipient-fixture > p,
body[data-route='join'] .recipient-fixture > p { font-size: 15px; color: #c7ceda; }
body[data-route='gift-report'] .gift-pair-choice,
body[data-route='gift-receive'] .gift-pair-choice,
body[data-route='join'] .gift-pair-choice { margin-top: 30px; padding-top: 28px; }
body[data-route='gift-report'] .gift-pair-choice h2,
body[data-route='gift-receive'] .gift-pair-choice h2,
body[data-route='join'] .gift-pair-choice h2 { font-size: 27px; font-weight: 500; line-height: 1.65; color: #e8ddc5; }
body[data-route='gift-report'] .gift-pair-choice > p,
body[data-route='gift-receive'] .gift-pair-choice > p,
body[data-route='join'] .gift-pair-choice > p { font-size: 15px; line-height: 1.95; color: #c3cad6; }
body[data-route='gift-report'] .gift-pair-choice .text-button,
body[data-route='gift-receive'] .gift-pair-choice .text-button,
body[data-route='join'] .gift-pair-choice .text-button { margin-top: 13px; font-size: 14px; }

body[data-route='gift'] .source-detail,
body[data-route='gift-receive'] .source-detail,
body[data-route='join'] .source-detail,
body[data-route='result'] .source-detail,
body[data-route='sample'] .source-detail {
  padding: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
body[data-route='gift'] .source-detail summary,
body[data-route='gift-receive'] .source-detail summary,
body[data-route='join'] .source-detail summary,
body[data-route='result'] .source-detail summary,
body[data-route='sample'] .source-detail summary { min-height: 52px; padding: 10px 0; gap: 14px; font-size: 13px; line-height: 1.8; color: #b9c2d1; }
body[data-route='gift'] .source-detail summary span,
body[data-route='gift-receive'] .source-detail summary span,
body[data-route='join'] .source-detail summary span,
body[data-route='result'] .source-detail summary span,
body[data-route='sample'] .source-detail summary span { flex-shrink: 0; font-size: 12px; color: #cdb884; }
body[data-route='gift'] .source-detail ul,
body[data-route='gift-receive'] .source-detail ul,
body[data-route='join'] .source-detail ul,
body[data-route='result'] .source-detail ul,
body[data-route='sample'] .source-detail ul { font-size: 13px; line-height: 1.9; color: #b9c2d1; padding: 0 0 17px 19px; }

/* Continuous reading, with chapter divisions rather than nested cards. */
body[data-route='result'] .result-hero,
body[data-route='sample'] .result-hero { max-width: 780px; }
body[data-route='result'] .result-hero h1,
body[data-route='sample'] .result-hero h1 { margin-top: 26px; line-height: 1.65; }
body[data-route='result'] .result-hero > p,
body[data-route='sample'] .result-hero > p { max-width: 570px; margin: 18px auto; font-size: 15px; line-height: 2; color: #c2cad7; }
body[data-route='result'] .reading-nav,
body[data-route='sample'] .reading-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 31px; }
body[data-route='result'] .reading-nav a,
body[data-route='sample'] .reading-nav a { min-height: 54px; justify-content: center; text-align: center; font-size: 14px; line-height: 1.75; color: #d9c79e; }
body[data-route='result'] .reading,
body[data-route='sample'] .reading { max-width: 680px; }
body[data-route='result'] .reading-section,
body[data-route='sample'] .reading-section { padding: 42px 0 35px; scroll-margin-top: 24px; }
body[data-route='result'] .reading-section h2,
body[data-route='sample'] .reading-section h2 { margin-bottom: 21px; font-size: 28px; line-height: 1.65; font-weight: 500; color: #eadcc0; }
body[data-route='result'] .reading-section > p,
body[data-route='sample'] .reading-section > p { margin-bottom: 20px; font-size: 17px; line-height: 2.05; color: #d0d6e0; }
body[data-route='result'] .action-pair,
body[data-route='sample'] .action-pair { gap: 28px; padding-top: 23px; }
body[data-route='result'] .person-action > span,
body[data-route='sample'] .person-action > span { font-size: 13px; color: #b9c2d1; }
body[data-route='result'] .person-action h3,
body[data-route='sample'] .person-action h3 { font-size: 22px; font-weight: 500; color: #dfd0ae; }
body[data-route='result'] .person-action p,
body[data-route='sample'] .person-action p { font-size: 15px; line-height: 1.95; color: #c8d0dd; }
body[data-route='result'] .closing-quote,
body[data-route='sample'] .closing-quote { padding: 43px 0 25px; font-size: 25px; line-height: 1.8; color: #e5d4ac; }
body[data-route='result'] .reading-bottom,
body[data-route='sample'] .reading-bottom { font-size: 13px; line-height: 1.85; padding-top: 19px; }
body[data-route='result'] .reading-bottom .text-button { font-size: 13px; }

body[data-route='connections'] .connection-card {
  padding: 26px 0;
  border: 0;
  border-block: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
body[data-route='connections'] .connection-card h2 { margin-top: 5px; font-size: 28px; font-weight: 500; color: #eadcc0; }
body[data-route='connections'] .connection-card p { font-size: 15px; line-height: 1.95; margin: 8px 0; }
body[data-route='connections'] .empty-page { padding: 10px 0 48px; }
body[data-route='connections'] .empty-page h2 { font-size: 28px; font-weight: 500; color: #eadcc0; }
body[data-route='connections'] .empty-page p { font-size: 15px; line-height: 1.95; }

@media (max-width: 520px) {
  body[data-route='invite'] .invite-composition .orbit { margin-top: -12px; margin-bottom: 8px; }
  body[data-route='invite'] .invite-composition { padding-bottom: 26px; }
  body[data-route='invite'] .quiet-box h3,
  body[data-route='checkout'] .quiet-box h3,
  body[data-route='gift-report'] .quiet-box h3 { font-size: 21px; }
  body[data-route='join'] .page-intro,
  body[data-route='checkout'] .page-intro,
  body[data-route='gift'] .page-intro,
  body[data-route='gift-sent'] .page-intro,
  body[data-route='gift-receive'] .page-intro,
  body[data-route='gift-report'] .page-intro { margin-bottom: 25px; }
  body[data-route='join'] .participants,
  body[data-route='result'] .participants,
  body[data-route='sample'] .participants { gap: 16px; }
  body[data-route='join'] .report-status li,
  body[data-route='gift'] .report-status li,
  body[data-route='gift-sent'] .report-status li { padding: 18px 0; gap: 12px; }
  body[data-route='gift'] .gift-paper,
  body[data-route='gift-receive'] .gift-paper,
  body[data-route='join'] .gift-paper { padding: 20px 18px; gap: 16px; }
  body[data-route='gift'] .gift-word,
  body[data-route='gift-receive'] .gift-word,
  body[data-route='join'] .gift-word { width: 48px; height: 74px; font-size: 33px; }
  body[data-route='gift'] .gift-paper h2,
  body[data-route='gift-receive'] .gift-paper h2,
  body[data-route='join'] .gift-paper h2 { font-size: 22px; }
  body[data-route='gift'] .gift-paper p,
  body[data-route='gift-receive'] .gift-paper p,
  body[data-route='join'] .gift-paper p { font-size: 14px; }
  body[data-route='gift-report'] .gift-pair-choice h2,
  body[data-route='gift-receive'] .gift-pair-choice h2,
  body[data-route='join'] .gift-pair-choice h2 { font-size: 25px; }
  body[data-route='result'] .reading-nav,
  body[data-route='sample'] .reading-nav { gap: 10px; margin-top: 24px; }
  body[data-route='result'] .reading-section,
  body[data-route='sample'] .reading-section { padding: 32px 0 29px; }
  body[data-route='result'] .reading-section h2,
  body[data-route='sample'] .reading-section h2 { font-size: 25px; margin-bottom: 18px; }
  body[data-route='result'] .reading-section > p,
  body[data-route='sample'] .reading-section > p { font-size: 15px; line-height: 2.05; margin-bottom: 19px; }
  body[data-route='result'] .action-pair,
  body[data-route='sample'] .action-pair { grid-template-columns: 1fr; gap: 20px; padding-top: 21px; }
  body[data-route='result'] .closing-quote,
  body[data-route='sample'] .closing-quote { font-size: 23px; padding-top: 35px; }
  body[data-route='connections'] .connection-card h2 { font-size: 26px; }
}

@media (max-width: 360px) {
  body[data-route='invite'] #app h1,
  body[data-route='join'] #app h1,
  body[data-route='checkout'] #app h1,
  body[data-route='gift'] #app h1,
  body[data-route='gift-sent'] #app h1,
  body[data-route='gift-receive'] #app h1,
  body[data-route='gift-report'] #app h1,
  body[data-route='result'] #app h1,
  body[data-route='sample'] #app h1,
  body[data-route='connections'] #app h1 { font-size: 28px; }
  body[data-route='gift'] .gift-paper,
  body[data-route='gift-receive'] .gift-paper,
  body[data-route='join'] .gift-paper { padding: 18px 14px; gap: 13px; }
  body[data-route='gift'] .gift-word,
  body[data-route='gift-receive'] .gift-word,
  body[data-route='join'] .gift-word { width: 40px; height: 65px; font-size: 30px; }
  body[data-route='gift'] .gift-paper h2,
  body[data-route='gift-receive'] .gift-paper h2,
  body[data-route='join'] .gift-paper h2 { font-size: 21px; }
  body[data-route='gift'] .gift-ownership { grid-template-columns: 1fr; gap: 15px; }
  body[data-route='gift'] .gift-ownership > div { padding: 0; }
  body[data-route='gift'] .gift-ownership > div + div { border-left: 0; border-top: 1px solid var(--line); padding: 15px 0 0; }
  body[data-route='checkout'] .purchase-price,
  body[data-route='gift'] .purchase-price { gap: 12px; }
  body[data-route='checkout'] .purchase-price strong,
  body[data-route='gift'] .purchase-price strong { font-size: 29px; }
  body[data-route='result'] .reading-nav a,
  body[data-route='sample'] .reading-nav a { font-size: 13px; }
}

/* entry-design.css */
/* Entry, invitation and saved relationship pages. Load after flow-design.css. */
body:is([data-route='home'], [data-route='invite'], [data-route='connections']) #app {
  --entry-line: rgba(174, 188, 214, .22);
  --entry-ink: #f0e3c4;
  --entry-copy: #c3cbd8;
  padding-top: 28px;
  overflow-wrap: break-word;
}
body:is([data-route='home'], [data-route='invite'], [data-route='connections']) .entry-eyebrow {
  display: block;
  color: #b3bdd0;
  font: 12px/1.7 var(--sans);
  letter-spacing: .09em;
}
body:is([data-route='home'], [data-route='invite'], [data-route='connections']) .entry-record-label {
  color: #c7b58b;
  font-size: 12px;
  letter-spacing: .035em;
}
body:is([data-route='home'], [data-route='invite'], [data-route='connections']) .primary {
  min-height: 53px;
  padding: 13px 21px;
  border-radius: 9px;
  font-size: 15px;
  line-height: 1.7;
}
body:is([data-route='home'], [data-route='invite'], [data-route='connections']) .secondary {
  min-height: 53px;
  padding: 13px 19px;
  border: 1px solid #777565;
  border-radius: 9px;
  background: transparent;
  color: #e3d6b8;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

/* Home: compact identity, one main value, then a visible relationship collection. */
body[data-route='home'] .entry-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--entry-line);
}
body[data-route='home'] .entry-identity > div { display: flex; align-items: baseline; gap: 17px; min-width: 0; }
body[data-route='home'] .entry-identity-label { font-size: 12px; color: #abb5c6; }
body[data-route='home'] .entry-identity strong { font: 19px/1.65 var(--serif); font-weight: 500; color: #e4dac3; }
body[data-route='home'] .entry-identity .delivered { padding-top: 4px; font-size: 12px; }
body[data-route='home'] .entry-identity > p { grid-column: 1 / -1; margin: 0; color: #aeb9ca; font-size: 13px; }
body[data-route='home'] .entry-value {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  grid-template-areas: 'heading visual' 'body visual';
  column-gap: 32px;
  padding: 46px 0 40px;
  align-items: start;
}
body[data-route='home'] .entry-value-heading { grid-area: heading; }
body[data-route='home'] .entry-value-heading h1 { margin-top: 12px; font-size: clamp(44px, 5vw, 58px); font-weight: 500; line-height: 1.27; letter-spacing: .02em; color: var(--entry-ink); }
body[data-route='home'] .entry-value-heading h1 br { display: none; }
body[data-route='home'] .entry-pair-visual { grid-area: visual; align-self: center; min-width: 0; margin: 0 -14px 0 0; }
body[data-route='home'] .entry-pair-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
body[data-route='home'] .entry-pair-visual figcaption { margin: 9px 0 0; text-align: center; color: #aab5c8; font: 12px/1.8 var(--sans); }
body[data-route='home'] .entry-value-body { grid-area: body; padding-top: 19px; }
body[data-route='home'] .entry-value-lead { color: var(--entry-copy); font-size: 16px; line-height: 1.95; }
body[data-route='home'] .entry-actions { display: flex; gap: 12px; align-items: stretch; margin-top: 27px; }
body[data-route='home'] .entry-actions > a { min-width: 0; gap: 13px; white-space: nowrap; }
body[data-route='home'] .entry-actions > .primary { flex: 1.35; }
body[data-route='home'] .entry-actions > .secondary { flex: 1; padding-inline: 13px; }
body[data-route='home'] .entry-value-note { margin-top: 13px; color: #aeb9ca; font-size: 12px; }
body[data-route='home'] .entry-lower { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 46px; border-top: 1px solid var(--entry-line); padding-top: 27px; }
body[data-route='home'] .entry-lower > * { min-width: 0; }
body[data-route='home'] .entry-collection .section-line { margin: 0 0 15px; }
body[data-route='home'] .entry-collection .section-line h2 { font-size: 27px; font-weight: 500; color: var(--entry-ink); }
body[data-route='home'] .entry-collection .section-line .text-link { font-size: 13px; }
body[data-route='home'] .entry-collection .empty-connection { display: block; border: 0; padding: 16px 0 0; }
body[data-route='home'] .entry-collection .empty-connection p { margin: 9px 0 7px; font-size: 14px; line-height: 1.95; color: var(--entry-copy); }
body[data-route='home'] .entry-collection .connection-card { display: block; padding: 17px 0 0; border: 0; border-radius: 0; background: transparent; }
body[data-route='home'] .entry-collection .connection-card .small-tag { padding: 0; border: 0; color: #b9ad8e; }
body[data-route='home'] .entry-collection .connection-card h2 { font-size: 25px; font-weight: 500; margin-top: 7px; }
body[data-route='home'] .entry-collection .connection-card p { font-size: 14px; line-height: 1.9; margin: 7px 0; }
body[data-route='home'] .entry-collection .connection-card .text-link { margin-top: 8px; }
body[data-route='home'] .entry-personal { border-left: 1px solid var(--entry-line); padding-left: 32px; }
body[data-route='home'] .entry-personal > .entry-eyebrow { padding: 5px 0 2px; }
body[data-route='home'] .entry-personal .existing-item { border-bottom: 0; padding: 15px 0; }
body[data-route='home'] .entry-personal .existing-item + .existing-item { border-top: 1px solid var(--entry-line); }
body[data-route='home'] .entry-personal .existing-title { margin-bottom: 5px; gap: 15px; align-items: baseline; }
body[data-route='home'] .entry-personal .existing-title h3 { font-size: 22px; font-weight: 500; }
body[data-route='home'] .entry-personal .existing-title span { font-size: 11px; color: #9eacc1; }
body[data-route='home'] .entry-personal .existing-item p { font-size: 13px; line-height: 1.9; color: #b5c0d0; }

/* Invitation: image and signed letter first; eligibility stays open beneath it. */
body[data-route='invite'] .invitation-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: 54px; align-items: center; padding: 6px 0 42px; }
body[data-route='invite'] .invitation-portrait { margin: 0; min-width: 0; align-self: start; padding-top: 22px; }
body[data-route='invite'] .invitation-portrait > .entry-eyebrow { padding-left: 7px; }
body[data-route='invite'] .invitation-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-top: 17px; }
body[data-route='invite'] .invitation-portrait figcaption { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; padding: 20px 0; border-block: 1px solid var(--entry-line); }
body[data-route='invite'] .invitation-portrait figcaption > span { min-width: 0; text-align: center; }
body[data-route='invite'] .invitation-portrait figcaption strong { display: block; color: #e4d8bb; font: 20px/1.65 var(--serif); font-weight: 500; }
body[data-route='invite'] .invitation-portrait figcaption small { display: block; margin-top: 4px; color: #acb9cc; font-size: 11px; }
body[data-route='invite'] .invitation-between { color: #bba571; font: 18px/1.7 var(--serif); }
body[data-route='invite'] .invitation-letter { min-width: 0; padding: 10px 0 0; }
body[data-route='invite'] .invitation-salutation { color: #b3bccc; font-size: 12px; margin-bottom: 17px; }
body[data-route='invite'] #app .invitation-letter h1 { margin: 0; font-size: clamp(32px, 3.6vw, 40px); font-weight: 500; line-height: 1.55; letter-spacing: .025em; color: var(--entry-ink); }
body[data-route='invite'] .invitation-message { margin-top: 20px; font-size: 16px; line-height: 1.95; color: var(--entry-copy); }
body[data-route='invite'] .invitation-signature { margin: 20px 0 25px; color: #b9aa87; font: 14px/1.9 var(--serif); }
body[data-route='invite'] #app .invitation-demo { margin-top: 10px; font-size: 12px; text-align: center; }
body[data-route='invite'] .invitation-gift { margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--entry-line); }
body[data-route='invite'] .invitation-gift .gift-entry { margin: 0; min-height: 46px; padding: 9px 0; border: 0; border-radius: 0; justify-content: space-between; }
body[data-route='invite'] .invitation-gift .gift-entry > span { font-size: 14px; color: #dfc996; font-weight: 500; }
body[data-route='invite'] .invitation-gift .gift-entry > span:last-child { white-space: nowrap; }
body[data-route='invite'] .invitation-gift .gift-entry > span:last-child > span { margin-left: 9px; }
body[data-route='invite'] #app .invitation-gift > .fine { margin-top: 3px; font-size: 12px; }
body[data-route='invite'] .invitation-terms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 54px; border-top: 1px solid var(--entry-line); padding-top: 31px; }
body[data-route='invite'] .invitation-terms-heading h2 { margin-top: 13px; font-size: 28px; font-weight: 500; line-height: 1.65; color: var(--entry-ink); }
body[data-route='invite'] .invitation-free { display: inline-block; font-size: 13px; color: #d7bf84; border-bottom: 1px solid #77684a; padding-bottom: 5px; margin-top: 18px; }
body[data-route='invite'] .invitation-condition { font-size: 16px; line-height: 1.95; color: #ded9cd; }
body[data-route='invite'] .invitation-rules { list-style: none; margin: 17px 0 0; padding: 0; }
body[data-route='invite'] .invitation-rules li { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 19px; border-top: 1px solid var(--entry-line); padding: 13px 0; }
body[data-route='invite'] .invitation-rules li > span { padding-top: 2px; font-size: 12px; color: #c9b783; }
body[data-route='invite'] .invitation-rules li p { font-size: 14px; line-height: 1.85; color: var(--entry-copy); }
body[data-route='invite'] .invitation-terms .expiry { margin: 12px 0 0; padding: 13px 0 0; border-top: 1px solid var(--entry-line); text-align: left; font-size: 12px; line-height: 1.85; }
body[data-route='invite'] .invitation-terms .expiry.urgent { padding: 13px 16px; background: #24221e; border: 1px solid #7d6a40; border-radius: 0; color: #d6c39b; }
body[data-route='invite'] .invitation-terms .expiry.urgent strong { font-size: 14px; }
body[data-route='invite'] .invitation-preview-link { display: flex; justify-content: flex-end; margin-top: 18px; }
body[data-route='invite'] .invitation-preview-link .text-button { font-size: 13px; color: #c4b68e; }

/* Saved connections: an archive index and an open record, with each state intact. */
body[data-route='connections'] .archive-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 12px 0 31px; }
body[data-route='connections'] #app .archive-heading h1 { margin-top: 9px; font-size: 45px; line-height: 1.35; color: var(--entry-ink); }
body[data-route='connections'] .archive-heading > p { color: var(--entry-copy); font-size: 15px; line-height: 1.9; text-align: right; }
body[data-route='connections'] .archive-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 39px; border-top: 1px solid var(--entry-line); }
body[data-route='connections'] .archive-index { padding: 29px 0; }
body[data-route='connections'] .archive-index h2 { margin-top: 8px; color: #dfd0af; font-size: 26px; font-weight: 500; }
body[data-route='connections'] .archive-index dl { margin: 26px 0 21px; }
body[data-route='connections'] .archive-index dl > div + div { margin-top: 20px; }
body[data-route='connections'] .archive-index dt { color: #aeb9cb; font-size: 12px; }
body[data-route='connections'] .archive-index dd { margin: 6px 0 0; color: #d8c395; font: 40px/1.2 var(--serif); font-variant-numeric: tabular-nums; }
body[data-route='connections'] .archive-index dd span { font: 12px/1.7 var(--sans); color: #b1bbcd; }
body[data-route='connections'] .archive-index dd.archive-date { font: 13px/1.8 var(--sans); color: #d4d0c4; }
body[data-route='connections'] #app .archive-index > .fine { font-size: 12px; line-height: 1.85; }
body[data-route='connections'] .archive-content { min-width: 0; padding: 28px 0 0; }
body[data-route='connections'] .archive-record { min-width: 0; border-left: 1px solid var(--entry-line); padding-left: 32px; }
body[data-route='connections'] .archive-record-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 2px 0 19px; border-bottom: 1px solid var(--entry-line); }
body[data-route='connections'] .archive-record-top .state-label { font-size: 12px; }
body[data-route='connections'] .archive-record .connection-card { border: 0; padding: 23px 0 20px; gap: 20px; background: transparent; border-radius: 0; }
body[data-route='connections'] .archive-record .connection-card .small-tag { margin-bottom: 4px; font-size: 12px; color: #a9b5c8; }
body[data-route='connections'] .archive-record .connection-card h2 { color: var(--entry-ink); font-size: 31px; font-weight: 500; }
body[data-route='connections'] .archive-record .connection-card p { font-size: 15px; line-height: 1.9; }
body[data-route='connections'] .archive-record .connection-card > .text-link { margin: 0; font-size: 14px; }
body[data-route='connections'] #app .archive-record-note { padding: 17px 0; border-top: 1px solid var(--entry-line); font-size: 12px; color: #abb7ca; }
body[data-route='connections'] .archive-record-actions { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 9px; }
body[data-route='connections'] .archive-record-actions > .text-button { font-size: 13px; }
body[data-route='connections'] .archive-record-actions > button { color: #abb8ca; }
body[data-route='connections'] .archive-state-body { min-width: 0; padding: 22px 0 18px; }
body[data-route='connections'] .archive-state-body h2 { color: var(--entry-ink); font-size: 29px; line-height: 1.6; font-weight: 500; }
body[data-route='connections'] .archive-state-body > p { margin: 13px 0 24px; max-width: 470px; color: var(--entry-copy); font-size: 15px; line-height: 1.95; }
body[data-route='connections'] .archive-open-record { display: grid; grid-template-columns: 1fr; }
body[data-route='connections'] .archive-open-record > img { display: block; width: 100%; max-width: 410px; height: 210px; object-fit: contain; object-position: center; margin: 14px 0 0; }
body[data-route='connections'] .archive-open-record .archive-state-body { padding-top: 17px; }
body[data-route='connections'] .archive-revoke { margin-top: 9px; }
body[data-route='connections'] .archive-revoke .text-button { font-size: 13px; color: #b4c0d2; }

@media (max-width: 820px) {
  body[data-route='home'] .entry-value { grid-template-columns: 1.15fr 1fr; column-gap: 16px; padding-top: 34px; }
  body[data-route='home'] .entry-value-heading h1 { font-size: 45px; }
  body[data-route='home'] .entry-value-heading h1 br { display: block; }
  body[data-route='home'] .entry-actions { gap: 10px; }
  body[data-route='home'] .entry-actions > a { font-size: 13px; padding: 12px 10px; gap: 10px; }
  body[data-route='home'] .entry-lower { gap: 30px; }
  body[data-route='home'] .entry-personal { padding-left: 24px; }
  body[data-route='invite'] .invitation-layout { gap: 29px; }
  body[data-route='invite'] #app .invitation-letter h1 { font-size: 31px; }
  body[data-route='invite'] .invitation-portrait figcaption { gap: 8px; }
  body[data-route='invite'] .invitation-portrait figcaption strong { font-size: 17px; }
  body[data-route='invite'] .invitation-portrait figcaption small { font-size: 10px; }
  body[data-route='invite'] .invitation-terms { gap: 30px; }
  body[data-route='invite'] .invitation-terms-heading h2 { font-size: 25px; }
  body[data-route='connections'] .archive-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 25px; }
  body[data-route='connections'] .archive-record { padding-left: 24px; }
  body[data-route='connections'] .archive-record .connection-card { display: block; }
  body[data-route='connections'] .archive-record .connection-card > .text-link { margin-top: 13px; }
}

@media (max-width: 620px) {
  body:is([data-route='home'], [data-route='invite'], [data-route='connections']) #app { padding-top: 21px; }
  body[data-route='home'] .entry-identity { gap: 6px 10px; padding-bottom: 19px; }
  body[data-route='home'] .entry-identity > div { display: block; }
  body[data-route='home'] .entry-identity-label { display: none; }
  body[data-route='home'] .entry-identity strong { font-size: 17px; }
  body[data-route='home'] .entry-identity .delivered { padding-top: 3px; font-size: 10px; }
  body[data-route='home'] .entry-identity > p { font-size: 12px; }
  body[data-route='home'] .entry-value { grid-template-columns: 1fr 1fr; grid-template-areas: 'heading visual' 'body body'; gap: 0 0; padding: 26px 0 28px; align-items: center; }
  body[data-route='home'] .entry-value-heading .entry-eyebrow { font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  body[data-route='home'] .entry-value-heading h1 { margin-top: 10px; font-size: 40px; line-height: 1.28; letter-spacing: .015em; }
  body[data-route='home'] .entry-pair-visual { margin: 18px -7px 0 0; width: calc(100% + 7px); }
  body[data-route='home'] .entry-pair-visual img { height: 136px; aspect-ratio: auto; object-fit: cover; object-position: 51% center; }
  body[data-route='home'] .entry-pair-visual figcaption { display: none; }
  body[data-route='home'] .entry-value-body { padding-top: 19px; }
  body[data-route='home'] .entry-value-lead { font-size: 15px; line-height: 1.9; }
  body[data-route='home'] .entry-actions { margin-top: 23px; gap: 10px; }
  body[data-route='home'] .entry-actions > a { min-height: 51px; font-size: 13px; padding-inline: 10px; gap: 11px; }
  body[data-route='home'] .entry-value-note { margin-top: 11px; font-size: 11px; }
  body[data-route='home'] .entry-lower { grid-template-columns: 1fr; gap: 25px; padding-top: 22px; }
  body[data-route='home'] .entry-collection .section-line { margin-bottom: 9px; }
  body[data-route='home'] .entry-collection .section-line h2 { font-size: 25px; }
  body[data-route='home'] .entry-collection .empty-connection { padding-top: 8px; }
  body[data-route='home'] .entry-personal { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--entry-line); }
  body[data-route='home'] .entry-personal > .entry-eyebrow { grid-column: 1 / -1; padding: 0 0 4px; }
  body[data-route='home'] .entry-personal .existing-item { padding: 11px 0 0; }
  body[data-route='home'] .entry-personal .existing-item + .existing-item { border-top: 0; }
  body[data-route='home'] .entry-personal .existing-title { display: block; }
  body[data-route='home'] .entry-personal .existing-title h3 { font-size: 22px; }
  body[data-route='home'] .entry-personal .existing-title span { display: none; }
  body[data-route='home'] .entry-personal .existing-item p { font-size: 12px; }

  body[data-route='invite'] .back-link { margin-bottom: 8px; font-size: 13px; }
  body[data-route='invite'] .invitation-layout { grid-template-columns: 1fr; gap: 22px; padding: 0 0 30px; }
  body[data-route='invite'] .invitation-portrait { padding-top: 0; }
  body[data-route='invite'] .invitation-portrait > .entry-eyebrow { padding-left: 0; font-size: 11px; }
  body[data-route='invite'] .invitation-portrait img { margin-top: 8px; height: 160px; aspect-ratio: auto; object-fit: cover; object-position: center 50%; }
  body[data-route='invite'] .invitation-portrait figcaption { padding: 13px 0; }
  body[data-route='invite'] .invitation-portrait figcaption strong { font-size: 18px; }
  body[data-route='invite'] .invitation-portrait figcaption small { font-size: 11px; }
  body[data-route='invite'] .invitation-letter { padding: 0; }
  body[data-route='invite'] .invitation-salutation { font-size: 11px; margin-bottom: 9px; }
  body[data-route='invite'] #app .invitation-letter h1 { font-size: 33px; line-height: 1.45; letter-spacing: .01em; }
  body[data-route='invite'] .invitation-message { margin-top: 14px; font-size: 15px; line-height: 1.85; }
  body[data-route='invite'] .invitation-signature { margin: 14px 0 20px; font-size: 13px; }
  body[data-route='invite'] .invitation-gift { margin-top: 17px; padding-top: 12px; }
  body[data-route='invite'] .invitation-gift .gift-entry { min-height: 44px; }
  body[data-route='invite'] #app .invitation-gift > .fine { font-size: 11px; line-height: 1.85; }
  body[data-route='invite'] .invitation-terms { grid-template-columns: 1fr; gap: 20px; padding-top: 25px; }
  body[data-route='invite'] .invitation-terms-heading { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 14px; }
  body[data-route='invite'] .invitation-terms-heading .entry-eyebrow { grid-column: 1 / -1; font-size: 11px; }
  body[data-route='invite'] .invitation-terms-heading h2 { margin-top: 10px; font-size: 25px; line-height: 1.55; }
  body[data-route='invite'] .invitation-free { margin-top: 8px; align-self: end; font-size: 11px; padding-bottom: 4px; }
  body[data-route='invite'] .invitation-condition { font-size: 15px; line-height: 1.9; }
  body[data-route='invite'] .invitation-rules { margin-top: 15px; }
  body[data-route='invite'] .invitation-rules li { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 12px 0; }
  body[data-route='invite'] .invitation-rules li > span { font-size: 12px; }
  body[data-route='invite'] .invitation-rules li p { font-size: 13px; }
  body[data-route='invite'] .invitation-preview-link { justify-content: flex-start; }

  body[data-route='connections'] .archive-heading { display: block; padding: 4px 0 24px; }
  body[data-route='connections'] #app .archive-heading h1 { margin-top: 7px; font-size: 36px; }
  body[data-route='connections'] .archive-heading > p { margin-top: 12px; font-size: 14px; line-height: 1.85; text-align: left; }
  body[data-route='connections'] .archive-layout { grid-template-columns: 1fr; gap: 0; }
  body[data-route='connections'] .archive-index { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; padding: 19px 0; }
  body[data-route='connections'] .archive-index > .entry-eyebrow { grid-column: 1; font-size: 11px; }
  body[data-route='connections'] .archive-index h2 { grid-column: 1; margin-top: 5px; font-size: 24px; }
  body[data-route='connections'] .archive-index dl { grid-column: 2; grid-row: 1 / 4; margin: 0; text-align: right; }
  body[data-route='connections'] .archive-index dt { font-size: 10px; }
  body[data-route='connections'] .archive-index dd { margin-top: 3px; font-size: 31px; }
  body[data-route='connections'] .archive-index dl > div + div { margin-top: 12px; }
  body[data-route='connections'] .archive-index dd.archive-date { font-size: 11px; }
  body[data-route='connections'] #app .archive-index > .fine { grid-column: 1; margin-top: 8px; font-size: 11px; }
  body[data-route='connections'] .archive-content { padding-top: 4px; }
  body[data-route='connections'] .archive-record { border-left: 0; padding-left: 0; }
  body[data-route='connections'] .archive-record-top { border-block: 1px solid var(--entry-line); padding: 14px 0; }
  body[data-route='connections'] .archive-record-top .entry-record-label,
  body[data-route='connections'] .archive-record-top .state-label { font-size: 11px; }
  body[data-route='connections'] .archive-record .connection-card { padding: 23px 0 19px; }
  body[data-route='connections'] .archive-record .connection-card h2 { font-size: 29px; }
  body[data-route='connections'] .archive-record .connection-card p { font-size: 14px; }
  body[data-route='connections'] .archive-record-actions { padding-top: 4px; }
  body[data-route='connections'] .archive-state-body { padding-top: 22px; }
  body[data-route='connections'] .archive-state-body h2 { font-size: 27px; line-height: 1.55; }
  body[data-route='connections'] .archive-state-body > p { margin: 12px 0 23px; font-size: 14px; line-height: 1.9; }
  body[data-route='connections'] .archive-open-record > img { height: 139px; margin-top: 12px; }
  body[data-route='connections'] .archive-open-record .archive-state-body { padding-top: 17px; }
  body[data-route='connections'] .archive-state-body .primary { width: 100%; }
  body[data-route='connections'] .archive-revoke { text-align: center; margin-top: 7px; }
}

@media (max-width: 359px) {
  body[data-route='home'] .entry-identity strong { font-size: 15px; }
  body[data-route='home'] .entry-identity .delivered { font-size: 9px; }
  body[data-route='home'] .entry-value-heading h1 { font-size: 36px; }
  body[data-route='home'] .entry-actions > a { font-size: 12px; padding-inline: 8px; gap: 7px; }
  body[data-route='invite'] #app .invitation-letter h1 { font-size: 30px; }
  body[data-route='invite'] .invitation-portrait figcaption strong { font-size: 16px; }
  body[data-route='invite'] .invitation-portrait figcaption small { font-size: 10px; }
  body[data-route='invite'] .invitation-terms-heading h2 { font-size: 23px; }
  body[data-route='connections'] .archive-index h2 { font-size: 22px; }
}

/* gift-design.css */
/* Scheme 1 gift redesign. #join can render giftReceive(); scope that route to this subtree only. */
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign {
  --gift-line: rgba(188, 199, 219, .22);
  --gift-ink: #eee1c3;
  --gift-body: #c7cfdb;
  --gift-muted: #aeb8ca;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  color: var(--gift-body);
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign :is(h1,h2,h3) { color: var(--gift-ink); font-weight: 500; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) #app .gift-redesign h1 { font-size: clamp(31px, 3.9vw, 44px); line-height: 1.5; letter-spacing: .025em; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign h2 { font-size: 25px; line-height: 1.6; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign h3 { font-size: 18px; line-height: 1.7; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign p { font-size: 15px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-perspective { margin: 0 0 28px; color: var(--gift-muted); font-size: 13px; line-height: 1.8; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-eyebrow { margin: 0 0 15px; color: #d8bd83; font-size: 13px; line-height: 1.8; letter-spacing: .08em; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-lead { margin-top: 19px; max-width: 520px; color: #c5cddd; line-height: 2; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign :is(.gift-small-note,.gift-demo-note,.gift-letter-signoff) { color: var(--gift-muted); font-size: 13px; line-height: 1.9; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-demo-note { margin: 12px 0 0; text-align: center; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign :is(.primary,.secondary) { min-height: 54px; max-width: 100%; padding: 13px 17px; font-size: 15px; line-height: 1.8; gap: 12px; border-radius: 9px; white-space: normal; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .primary { color: #211e15; background: #ead298; border: 1px solid #ead59d; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .secondary { background: transparent; border: 1px solid #8a816c; color: #e3d5b4; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .text-button { min-height: 44px; font-size: 14px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign :is(.gift-shop-grid,.gift-claim-grid) { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 72px); align-items: start; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign :is(.gift-shop-grid,.gift-claim-grid,.gift-log-grid,.gift-choice-grid) > * { min-width: 0; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-letter-image { margin: 30px 0 15px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-letter-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 5px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-letter-image figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--gift-line); color: #c7b58d; font-family: var(--serif); font-size: 14px; letter-spacing: .12em; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-order { padding: 27px 28px 17px; border: 1px solid rgba(189, 169, 123, .29); border-radius: 12px; background: rgba(29, 39, 57, .62); }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-section-label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; color: var(--gift-muted); font-size: 13px; line-height: 1.8; letter-spacing: .055em; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-section-label h2 { font: inherit; color: var(--gift-ink); }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-order-description { margin-top: 10px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-price-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; margin-top: 21px; padding: 18px 0 22px; border-top: 1px solid var(--gift-line); border-bottom: 1px solid var(--gift-line); }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-price-row > span { font-size: 14px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-price-row strong { color: #ecd8a6; font-size: 34px; font-weight: 500; line-height: 1.35; white-space: nowrap; font-variant-numeric: tabular-nums; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-price-row small { margin-left: 6px; color: var(--gift-muted); font-size: 13px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-owner-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 23px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-owner-columns > div + div { border-left: 1px solid var(--gift-line); padding-left: 18px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-owner-role { color: var(--gift-muted); font-size: 13px; line-height: 1.85; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-owner-columns h3 { margin: 5px 0; font-size: 19px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-owner-columns p { font-size: 14px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-privacy-note { margin-top: 23px; font-size: 14px; color: #c5cddd; line-height: 1.95; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .expiry { padding: 14px 0 14px 15px; margin: 22px 0; border: 0; border-left: 2px solid #9c8860; border-radius: 0; background: transparent; color: #bac4d4; font-size: 14px; line-height: 1.9; text-align: left; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .expiry.urgent { padding-right: 12px; background: rgba(181, 138, 62, .08); color: #e0c49a; border-left-color: #d8ad69; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .expiry strong { font-size: inherit; color: #e4cfa0; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .source-detail { margin-top: 21px; padding: 0; border: 0; border-top: 1px solid var(--gift-line); border-radius: 0; background: transparent; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .source-detail summary { min-height: 52px; padding: 10px 0; gap: 12px; color: #c0c9d8; font-size: 13px; line-height: 1.85; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .source-detail summary span { font-size: 13px; flex-shrink: 0; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .source-detail ul { padding: 0 0 15px 18px; color: #bec7d7; font-size: 13px; line-height: 1.9; }

/* Order status is a factual, state-derived record; there are no invented timestamps or pending steps. */
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-log-head { max-width: 730px; margin: 6px 0 37px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-log-head .gift-eyebrow > span { padding: 0 9px; color: #7d889b; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-log-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-progress { border-top: 1px solid var(--gift-line); padding-top: 21px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-timeline { padding: 0; margin: 0; list-style: none; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-timeline li { position: relative; display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: baseline; gap: 17px; padding: 18px 0 26px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-timeline li:not(:last-child)::after { position: absolute; content: ""; left: 13px; top: 53px; bottom: -8px; width: 1px; background: var(--gift-line); }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-event-index { color: #929caf; font: 22px/1.5 var(--serif); font-variant-numeric: tabular-nums; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-timeline .is-current .gift-event-index { color: #e5c98e; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-redesign .gift-timeline h3 { margin-bottom: 7px; font-size: 22px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-redesign .gift-timeline p { color: #b8c3d5; font-size: 14px; line-height: 1.95; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-current-label { color: #d2bd89; font-size: 13px; white-space: nowrap; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-log-order { padding: 24px 25px; border: 1px solid var(--gift-line); background: rgba(28, 38, 56, .44); border-radius: 11px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-mini-product { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 19px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-mini-product img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-redesign .gift-mini-product h2 { margin: 3px 0; font-size: 21px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-mini-product strong { color: #e6cd98; font-size: 22px; font-weight: 500; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-fact-list { margin: 24px 0 16px; padding: 15px 0; border-block: 1px solid var(--gift-line); font-size: 14px; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-fact-list > div { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 7px 0; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-fact-list dt { color: var(--gift-muted); }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-fact-list dd { margin: 0; color: #d1d6df; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-redesign .gift-next { margin: 22px 0 0; text-align: center; }
body:is([data-route="gift"],[data-route="gift-sent"]) .gift-next .text-button { margin-top: 10px; }

/* Receiving: the gift stays on one side, account/data/one separate consent stay on the other. */
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receive-includes { padding-top: 3px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receive-includes p { margin-top: 8px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-claim-form { padding-top: 19px; border-top: 1px solid var(--gift-line); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-recipient-account { display: grid; grid-template-columns: 53px minmax(0, 1fr) auto; gap: 15px; align-items: center; padding: 5px 0 23px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-recipient-name { display: grid; place-items: center; width: 53px; height: 59px; border: 1px solid #648176; background: #192b2f; color: #dedac0; border-radius: 8px; font: 30px var(--serif); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-recipient-account h2 { font-size: 25px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-recipient-account p { margin-top: 2px; font-size: 13px; color: var(--gift-muted); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-account-mark { font-size: 13px; color: #cdb886; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-confirm-data { padding: 23px 0 0; border-top: 1px solid var(--gift-line); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-confirm-data h3 { font-family: var(--sans); font-size: 15px; color: #d6d8dc; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-birth-data { margin-top: 12px; color: #e2d4b2; font-size: 21px; line-height: 1.8; font-family: var(--serif); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-claim-consent { margin: 25px 0; padding-top: 22px; border-top: 1px solid var(--gift-line); gap: 12px; font-size: 15px; line-height: 1.9; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-claim-consent input { width: 20px; height: 20px; flex: 0 0 20px; margin: 5px 0 0; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-claim-consent > span { min-width: 0; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-claim-consent small { display: block; margin-top: 9px; font-size: 13px; line-height: 1.95; color: #bac4d4; }

/* Delivery: a receipt followed by two explicit choices. */
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-delivery-head { max-width: 750px; margin-bottom: 33px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-delivery-receipt { padding: 26px 29px; border: 1px solid rgba(195, 177, 130, .35); border-radius: 10px; background: rgba(28, 39, 56, .58); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receipt-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receipt-title .gift-eyebrow { margin-bottom: 7px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receipt-title h2 + p { margin-top: 7px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-delivered-label { padding: 4px 0 4px 18px; border-left: 1px solid var(--gift-line); font-size: 14px; color: #b9d0b9; white-space: nowrap; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receipt-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 24px 0 17px; padding-top: 19px; border-top: 1px solid var(--gift-line); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receipt-facts dt { margin-bottom: 4px; font-size: 13px; color: var(--gift-muted); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receipt-facts dd { margin: 0; font-size: 15px; color: #e1d9c9; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 37px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-choice-grid > section { padding-top: 19px; border-top: 1px solid var(--gift-line); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-choice-number { margin-bottom: 18px; color: #ccb17c; font: 24px/1.5 var(--serif); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-choice-number span { margin-left: 12px; font: 13px var(--sans); color: var(--gift-muted); }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-choice-grid h2 + p { margin-top: 13px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-private-choice .secondary { margin-top: 25px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-private-choice .gift-small-note { margin-top: 12px; }
body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-joint-choice .expiry { margin-block: 19px 24px; }

body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-unavailable { max-width: 690px; padding: 53px 0 80px; text-align: center; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-unavailable > p:not(.gift-eyebrow) { margin: 19px auto 28px; }
body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-working-image { display: block; width: min(320px, 100%); height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 18px auto 29px; border-radius: 5px; }

@media (max-width: 800px) {
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign { max-width: 640px; }
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign :is(.gift-shop-grid,.gift-claim-grid,.gift-log-grid,.gift-choice-grid) { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-letter-image { max-width: 470px; margin: 23px 0 12px; }
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-letter-image img { max-height: 250px; object-fit: contain; object-position: left center; }
  body:is([data-route="gift"],[data-route="gift-sent"]) .gift-log-head { margin-bottom: 28px; }
  body:is([data-route="gift"],[data-route="gift-sent"]) .gift-log-order { padding: 24px; }
  body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-choice-grid { margin-top: 30px; }
}
@media (max-width: 420px) {
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) #app .gift-redesign h1 { font-size: 30px; }
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign h2 { font-size: 23px; }
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-perspective { margin-bottom: 22px; }
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-order { padding: 22px 17px 14px; }
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-owner-columns { gap: 12px; }
  body:is([data-route="gift"],[data-route="gift-sent"],[data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-redesign .gift-owner-columns > div + div { padding-left: 12px; }
  body:is([data-route="gift"],[data-route="gift-sent"]) .gift-timeline li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  body:is([data-route="gift"],[data-route="gift-sent"]) .gift-current-label { grid-column: 2; margin-top: -8px; }
  body:is([data-route="gift"],[data-route="gift-sent"]) .gift-log-order { padding: 22px 17px; }
  body:is([data-route="gift"],[data-route="gift-sent"]) .gift-mini-product { grid-template-columns: 79px minmax(0, 1fr); gap: 13px; }
  body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-recipient-account { grid-template-columns: 48px minmax(0, 1fr); gap: 13px; }
  body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-account-mark { grid-column: 2; margin-top: -13px; }
  body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-recipient-name { width: 48px; height: 56px; }
  body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-delivery-receipt { padding: 23px 18px; }
  body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receipt-title { align-items: flex-start; gap: 12px; }
  body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-delivered-label { padding-left: 11px; }
  body:is([data-route="gift-receive"],[data-route="gift-report"],[data-route="join"]) .gift-receipt-facts { grid-template-columns: minmax(0, 1fr); gap: 15px; }
}

/* journey-design.css */
/* Persistent navigation and the invitation-to-reading journey. */
.site-wrap > .prototype-nav { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; padding: 0; background: #161e2d; border-bottom: 1px solid #434957; }
.site-wrap > .prototype-nav a { display: flex; justify-content: center; align-items: center; min-height: 56px; padding: 12px 3px; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.site-wrap > .prototype-nav a[aria-current=page]:after { height: 3px; left: 18%; right: 18%; }
.journey-page { max-width: 1000px; margin: auto; }
.journey-heading { margin: 8px 0 35px; }
.journey-heading h1 { margin: 14px 0 17px; }
.journey-heading > p { font-size: 16px; line-height: 1.95; color: #c3cbd8; }
.journey-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); gap: 56px; align-items: start; }
.journey-art { display: block; width: 100%; height: auto; }
.journey-decision { padding: 30px; border: 1px solid #444a55; background: #171f2e; border-radius: 12px; }
.step-caption { color: #d2bb88; font-size: 13px; letter-spacing: .035em; }
body[data-route=join] .join-portrait .participants { margin: -8px auto 0; }
.join-portrait .participants .person-seal { display: none; }
.join-promise { text-align: center; font: 16px/1.9 var(--serif); color: #afbbcd; margin: 35px 0; }
.join-promise strong { font-size: 25px; font-weight: 500; color: #e3d4b2; }
body[data-route=join] .journey-decision .report-status { margin: 7px 0 0; }
body[data-route=join] .journey-decision .report-status li { flex-wrap: wrap; gap: 8px; }
body[data-route=join] .journey-decision .report-status li > div { flex-basis: 210px; }
.journey-decision .decision-note { margin-top: 13px; text-align: center; }
.decline-button { display: block; margin: 12px auto 0; }
.report-product-title { display: flex; gap: 22px; align-items: center; padding: 8px 0 22px; }
.product-seal { display: grid; place-items: center; width: 55px; height: 69px; flex-shrink: 0; border: 1px solid #6b887b; color: #d8d9bc; background: #182a28; font: 36px var(--serif); border-radius: 7px; }
.report-product-title h2 { font-size: 25px; font-weight: 500; }
.report-product-title p { font-size: 14px; color: #b7c2d4; margin-top: 6px; }
.chapter-outline { margin: 0; padding: 0; list-style: none; }
.chapter-outline li { display: grid; grid-template-columns: 26px 50px 1fr; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); align-items: center; }
.chapter-numeral { font: 20px var(--serif); color: #8796ad; }
.chapter-outline strong { font: 20px var(--serif); color: #decda8; }
.chapter-outline li > span:last-child { font-size: 14px; color: #c0cad8; }
.product-gift { padding: 23px 0; border-top: 1px solid var(--line); }
.product-gift strong { font-weight: 500; color: #dfc997; display: block; }
.product-gift > span { display: block; margin-top: 6px; font-size: 14px; color: #b7c2d4; }
.pair-bonus { border-top: 1px solid var(--line); padding-top: 23px; }
.pair-bonus > span { font-size: 12px; color: #b9c5d5; }
.pair-bonus h3 { font-size: 23px; color: #e1cfa7; font-weight: 500; margin: 6px 0 10px; }
.pair-bonus p { font-size: 14px; color: #bfc8d5; }
.journey-state { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 40px; padding: 35px 0; min-height: 470px; }
.state-art { display: block; width: 100%; height: auto; }
.journey-state h1 { margin: 20px 0; font-size: 36px; font-weight: 500; }
.journey-state > div > p:not(.small-tag):not(.fine) { font-size: 16px; color: #bdc9d9; line-height: 2; margin-bottom: 24px; }
.journey-state .small-tag { background: none; border: 0; padding: 0; border-radius: 0; }
.state-links { display: flex; gap: 25px; margin-top: 18px; flex-wrap: wrap; }
.state-progress { height: 2px; background: #273245; width: 200px; margin: 26px 0 16px; overflow: hidden; }
.state-progress span { display: block; height: 100%; width: 45%; background: var(--gold); animation: processing 1.4s ease-in-out infinite; }
@keyframes processing { from {transform: translateX(-100%)} to {transform: translateX(240%)} }
.pair-report-cover { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 35px; align-items: center; padding: 18px 0 15px; }
body:is([data-route=result],[data-route=sample]) .pair-report-cover h1 { font-size: clamp(28px,3vw,37px); line-height: 1.65; margin: 23px 0; text-wrap: initial; }
.report-cover-lead { color: #c2cbd9; font-size: 16px; line-height: 2; }
.report-perspective { margin-top: 25px; color: #d5c39f; font-size: 13px; }
.report-perspective span { display: block; color: #aab9cd; margin-top: 4px; }
.report-cover-visual > img { display: block; width: 100%; height: auto; }
body:is([data-route=result],[data-route=sample]) .report-cover-visual .participants { margin: -8px auto 15px; gap: 10px; }
.report-cover-visual .person-seal { display: none; }
.report-sample-note { margin: 5px 0 26px; }
.report-chapters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid #75674d; border-bottom: 1px solid #454c59; }
.report-chapters a { display: flex; align-items: center; gap: 16px; min-height: 70px; padding: 12px 22px; }
.report-chapters a + a { border-left: 1px solid var(--line); }
.report-chapters a > span:first-child { font: 23px var(--serif); color: #9c997f; }
.report-chapters a > strong { font-size: 16px; color: #e0cfab; font-weight: 500; }
.report-chapters a > span:last-child { margin-left: auto; font-size: 15px; color: #c9b781; }
.report-reading { max-width: 820px; margin: auto; }
.report-chapter { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 24px; padding: 58px 0 45px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.report-chapter:focus { outline: none; }
.report-chapter:focus-visible { outline: 1px solid var(--gold); outline-offset: 8px; }
.chapter-margin > span { display: block; font: 39px/1.5 var(--serif); color: #baa87d; }
.chapter-margin > small { color: #9daac0; font-size: 13px; }
.chapter-body h2 { font-size: 29px; font-weight: 500; color: #e6d5b1; line-height: 1.6; margin-bottom: 26px; }
.chapter-body > p { margin-bottom: 22px; color: #ced6e1; font-size: 17px; line-height: 2.05; }
.report-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.report-action { padding: 21px; background: #182233; border-radius: 9px; border-top: 1px solid #8e7b51; }
.report-action > span { color: #b5c2d3; font-size: 13px; }
.report-action h3 { margin: 10px 0 13px; color: #e0cda4; font-size: 21px; font-weight: 500; }
.report-action p { font-size: 15px; color: #c7d0dc; line-height: 1.95; }
.report-closing { text-align: center; padding: 45px 0; }
.report-closing > p:first-child { font: 28px/1.85 var(--serif); color: #e5d2a4; margin-bottom: 25px; }
.report-closing .fine { margin-top: 13px; }
@media (max-width: 760px) {
  .site-wrap > .prototype-nav a { font-size: 15px; min-height: 52px; }
  .journey-grid { gap: 30px; grid-template-columns: 1fr; }
  .journey-heading { margin-bottom: 22px; }
  .join-portrait { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  body[data-route=join] .join-portrait .participants { margin: 0; gap: 5px; width: 100%; }
  body[data-route=join] .join-portrait .participant { min-width: 0; }
  body[data-route=join] .join-portrait .participant strong { font-size: 14px; }
  body[data-route=join] .join-portrait .participant small { font-size: 12px; }
  .join-promise { display: none; }
  .journey-decision { padding: 24px; }
  .journey-state { gap: 15px; grid-template-columns: 1fr; max-width: 480px; margin: auto; padding-top: 0; }
  .state-art { max-height: 230px; object-fit: cover; }
  .pair-report-cover { gap: 15px; grid-template-columns: 1fr; padding-top: 0; }
  .report-cover-visual { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .report-cover-visual > img { max-height: 190px; object-fit: cover; }
  body:is([data-route=result],[data-route=sample]) .report-cover-visual .participants { margin: 0; }
  .report-chapters a { padding: 13px 10px; gap: 9px; min-height: 62px; }
  .report-chapters a > strong { font-size: 14px; }
  .report-chapters a > span:first-child { font-size: 19px; }
  .report-chapters a > span:last-child { display: none; }
  .report-chapter { grid-template-columns: 42px minmax(0,1fr); gap: 17px; padding: 38px 0; }
  .chapter-margin > span { font-size: 30px; }
  .chapter-body h2 { font-size: 25px; }
  .report-actions { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-wrap > .prototype-nav { margin-inline: -18px; padding-inline: 12px; }
  .site-wrap > .prototype-nav a { font-size: 14px; min-height: 50px; }
  .journey-heading > p { font-size: 15px; }
  .journey-decision { padding: 22px 18px; }
  .join-portrait { grid-template-columns: .9fr 1.3fr; }
  .journey-state h1 { font-size: 29px; }
  .journey-state > div > p:not(.small-tag):not(.fine) { font-size: 15px; }
  body:is([data-route=result],[data-route=sample]) .pair-report-cover h1 { font-size: 27px; line-height: 1.65; margin: 16px 0 18px; }
  .report-cover-lead { font-size: 15px; }
  .report-perspective { margin-top: 18px; }
  .report-cover-visual { display: block; border-block: 1px solid var(--line); padding: 19px 0; margin: 6px 0 10px; }
  .report-cover-visual > img { display: none; }
  body:is([data-route=result],[data-route=sample]) .report-cover-visual .participant { max-width: none; }
  body:is([data-route=result],[data-route=sample]) .report-cover-visual .participant strong { font-size: 14px; }
  body:is([data-route=result],[data-route=sample]) .report-cover-visual .participant small { font-size: 12px; }
  .report-chapters a { flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 10px; }
  .report-chapters a > strong { font-size: 13px; }
  .report-chapter { display: block; padding: 31px 0; }
  .chapter-margin { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
  .chapter-margin > span { font-size: 26px; }
  .chapter-body h2 { font-size: 24px; margin-bottom: 21px; }
  .chapter-body > p { font-size: 16px; line-height: 2.05; }
  .report-closing > p:first-child { font-size: 25px; }
  .report-product-title { gap: 17px; }
  .report-product-title h2 { font-size: 23px; }
  .chapter-outline li { gap: 10px; grid-template-columns: 24px 45px 1fr; }
  .chapter-outline li > span:last-child { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .state-progress span { animation: none; width: 70%; } }

/* Four-chapter reading layout. Scoped to the revised report only. */
.pair-report.report-v2 {
  --report-rule: rgba(169, 184, 207, .22);
  --report-ink: #cdd5e1;
  --report-quiet: #adb9cb;
  --report-accent: #d2bd8c;
  color: var(--report-ink);
}

.pair-report.report-v2 :is(.report-cover-copy, .chapter-body) {
  min-width: 0;
  overflow-wrap: break-word;
}

.pair-report.report-v2 .pair-report-cover {
  gap: 36px;
  padding-bottom: 24px;
}

body:is([data-route='result'], [data-route='sample']) .pair-report.report-v2 .pair-report-cover h1 {
  margin: 20px 0;
  font-size: clamp(29px, 3.2vw, 39px);
  font-weight: 500;
  line-height: 1.55;
  color: #efe4cb;
}

.pair-report.report-v2 .report-cover-lead {
  max-width: 38em;
  font-size: 16px;
  line-height: 1.95;
  color: #c8d1de;
}

.pair-report.report-v2 .report-perspective {
  margin-top: 21px;
  font-size: 13px;
  line-height: 1.85;
  color: #d3c29e;
}

.pair-report.report-v2 .report-perspective span {
  margin-top: 3px;
  color: var(--report-quiet);
}

.pair-report.report-v2 .report-sample-note {
  max-width: 66em;
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.85;
}

/* Four persistent chapter choices; subtitles describe what each chapter does. */
.pair-report.report-v2 .report-chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #857453;
  border-bottom: 1px solid var(--report-rule);
}

.pair-report.report-v2 .report-chapters a {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 88px;
  padding: 18px 16px;
  border: 0;
  background: transparent;
  text-align: left;
}

.pair-report.report-v2 .report-chapters a + a {
  border-left: 1px solid var(--report-rule);
}

.pair-report.report-v2 .report-chapters a > span:first-child {
  font: 22px/1.4 var(--serif);
  color: #a89d80;
  font-variant-numeric: tabular-nums;
}

.pair-report.report-v2 .report-chapters a > div { min-width: 0; }

.pair-report.report-v2 .report-chapters strong {
  display: block;
  font: 500 18px/1.55 var(--serif);
  color: #e7d9bc;
}

.pair-report.report-v2 .report-chapters small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: #b6c0d0;
}

.pair-report.report-v2 .report-chapters a > span:last-child {
  display: block;
  margin: 0;
  font-size: 15px;
  color: var(--report-accent);
}

.pair-report.report-v2 .report-chapters a:hover {
  background: rgba(175, 191, 215, .045);
}

/* A readable text measure, with the chapter index outside the prose. */
.pair-report.report-v2 .report-reading { max-width: 840px; }

.pair-report.report-v2 .report-chapter {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
  padding: 56px 0 46px;
  border-bottom: 1px solid var(--report-rule);
  scroll-margin-top: 86px;
}

.pair-report.report-v2 .chapter-margin > span {
  font-size: 38px;
  line-height: 1.4;
  color: #b7a780;
  font-variant-numeric: tabular-nums;
}

.pair-report.report-v2 .chapter-margin > small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--report-quiet);
}

.pair-report.report-v2 .chapter-body h2 {
  margin: 0 0 17px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.6;
  color: #eadcc0;
}

.pair-report.report-v2 .chapter-body > p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2;
  color: var(--report-ink);
}

.pair-report.report-v2 .chapter-body > .chapter-deck,
.pair-report.report-v2 .chapter-deck {
  margin: 0 0 29px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  color: #e4ddcd;
}

/* Scenes are prose in a quiet inset, not another card. */
.pair-report.report-v2 .pair-scene {
  margin: 27px 0 30px;
  padding: 0 0 0 20px;
  border-left: 2px solid #6e6b5e;
}

.pair-report.report-v2 .scene-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: .035em;
  color: #b9b39f;
}

.pair-report.report-v2 .pair-scene p {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: #cbd3df;
}

/* Distinct needs are easy to compare without two filled boxes. */
.pair-report.report-v2 .pair-perspectives {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 30px 0;
}

.pair-report.report-v2 .pair-perspectives > div {
  min-width: 0;
  padding-top: 17px;
  border-top: 1px solid var(--report-rule);
}

.pair-report.report-v2 .pair-perspectives > div > span {
  display: block;
  font-size: 13px;
  line-height: 1.75;
  color: var(--report-accent);
}

.pair-report.report-v2 .pair-perspectives h3 {
  margin: 7px 0 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  color: #e1ddcf;
}

.pair-report.report-v2 .pair-perspectives p {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: #c3ccda;
}

.pair-report.report-v2 .chapter-body > .pair-mechanism,
.pair-report.report-v2 .pair-mechanism {
  margin: 24px 0;
  font-size: 16px;
  line-height: 2;
  color: #c5cedc;
}

/* The counter and connecting rule communicate the actual order of reactions. */
.pair-report.report-v2 .friction-loop {
  counter-reset: pair-reaction;
  list-style: none;
  margin: 29px 0 32px;
  padding: 0;
}

.pair-report.report-v2 .friction-loop li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 15px;
  min-width: 0;
  padding: 0 0 23px;
}

.pair-report.report-v2 .friction-loop li:last-child { padding-bottom: 0; }

.pair-report.report-v2 .friction-loop li::before {
  counter-increment: pair-reaction;
  content: counter(pair-reaction, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  align-self: start;
  width: 30px;
  height: 30px;
  border: 1px solid #626d80;
  border-radius: 50%;
  color: #c4b794;
  font: 13px/1 var(--serif);
  font-variant-numeric: tabular-nums;
}

.pair-report.report-v2 .friction-loop li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 37px;
  bottom: 7px;
  left: 14px;
  width: 1px;
  background: #354052;
}

.pair-report.report-v2 .friction-loop small {
  grid-column: 2;
  margin: 1px 0 4px;
  font-size: 13px;
  line-height: 1.75;
  color: #b5c0d1;
}

.pair-report.report-v2 .friction-loop p {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: #d0d7e1;
}

/* One clear action is the chapter's visual destination. */
.pair-report.report-v2 .pair-takeaway {
  margin: 32px 0 24px;
  padding: 23px 0 0;
  border-top: 2px solid #9c885d;
}

.pair-report.report-v2 .pair-takeaway > span {
  display: block;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: .05em;
  color: var(--report-accent);
}

.pair-report.report-v2 .pair-takeaway h3 {
  margin: 9px 0 12px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  color: #ead8ae;
}

.pair-report.report-v2 .pair-takeaway p {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: #ced6e1;
}

.pair-report.report-v2 .pair-observe {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--report-rule);
}

.pair-report.report-v2 .pair-observe > span {
  font-size: 13px;
  line-height: 1.9;
  color: #aebbcf;
}

.pair-report.report-v2 .pair-observe p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #b9c5d7;
}

.pair-report.report-v2 .source-detail {
  margin-top: 27px;
  border-top-color: var(--report-rule);
}

.pair-report.report-v2 .source-detail summary {
  font-size: 13px;
  line-height: 1.8;
  color: #aebbd0;
}

.pair-report.report-v2 .report-closing { padding: 42px 0 35px; }
.pair-report.report-v2 .reading-bottom { font-size: 13px; line-height: 1.85; }

@media (max-width: 900px) {
  .pair-report.report-v2 .report-chapters a { gap: 9px; padding-inline: 12px; }
  .pair-report.report-v2 .report-chapters strong { font-size: 17px; }
}

@media (max-width: 760px) {
  .pair-report.report-v2 .pair-report-cover { gap: 18px; }
  .pair-report.report-v2 .report-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pair-report.report-v2 .report-chapters a { padding: 17px 20px; min-height: 88px; }
  .pair-report.report-v2 .report-chapters a:nth-child(odd) { border-left: 0; }
  .pair-report.report-v2 .report-chapters a:nth-child(n + 3) { border-top: 1px solid var(--report-rule); }
  .pair-report.report-v2 .report-chapter { grid-template-columns: 42px minmax(0, 1fr); gap: 22px; padding: 40px 0; }
  .pair-report.report-v2 .chapter-margin > span { font-size: 31px; }
  .pair-report.report-v2 .chapter-body h2 { font-size: 27px; }
  .pair-report.report-v2 .pair-perspectives { grid-template-columns: 1fr; gap: 19px; }
  .pair-report.report-v2 .pair-perspectives > div { padding-top: 16px; }
  .pair-report.report-v2 .pair-perspectives h3 { margin-bottom: 8px; }
}

@media (max-width: 520px) {
  body:is([data-route='result'], [data-route='sample']) .pair-report.report-v2 .pair-report-cover h1 {
    font-size: 28px;
    line-height: 1.6;
    margin: 16px 0 17px;
  }
  .pair-report.report-v2 .pair-report-cover { padding-bottom: 19px; }
  .pair-report.report-v2 .report-cover-lead { font-size: 15px; }
  .pair-report.report-v2 .report-perspective { margin-top: 18px; }
  .pair-report.report-v2 .report-sample-note { margin-bottom: 21px; }
  .pair-report.report-v2 .report-chapters a {
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 15px 12px;
    min-height: 90px;
  }
  .pair-report.report-v2 .report-chapters a > span:first-child { margin-top: 2px; font-size: 18px; }
  .pair-report.report-v2 .report-chapters a > span:last-child { position: absolute; top: 18px; right: 12px; font-size: 13px; }
  .pair-report.report-v2 .report-chapters strong { padding-right: 14px; font-size: 17px; }
  .pair-report.report-v2 .report-chapters small { margin-top: 5px; font-size: 13px; }
  .pair-report.report-v2 .report-chapter { display: block; padding: 34px 0; }
  .pair-report.report-v2 .chapter-margin { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .pair-report.report-v2 .chapter-margin > span { font-size: 27px; }
  .pair-report.report-v2 .chapter-margin > small { margin-top: 0; }
  .pair-report.report-v2 .chapter-body h2 { font-size: 25px; margin-bottom: 15px; line-height: 1.65; }
  .pair-report.report-v2 .chapter-body > p { font-size: 15px; line-height: 1.95; }
  .pair-report.report-v2 .chapter-body > .chapter-deck,
  .pair-report.report-v2 .chapter-deck { margin-bottom: 25px; font-size: 16px; line-height: 1.9; }
  .pair-report.report-v2 .pair-scene { margin: 24px 0 26px; padding-left: 15px; }
  .pair-report.report-v2 .pair-scene p { font-size: 15px; line-height: 1.95; }
  .pair-report.report-v2 .pair-perspectives { margin: 26px 0; }
  .pair-report.report-v2 .pair-perspectives h3 { font-size: 20px; }
  .pair-report.report-v2 .chapter-body > .pair-mechanism,
  .pair-report.report-v2 .pair-mechanism { font-size: 15px; line-height: 1.95; }
  .pair-report.report-v2 .friction-loop { margin: 26px 0 28px; }
  .pair-report.report-v2 .friction-loop li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; padding-bottom: 21px; }
  .pair-report.report-v2 .friction-loop li:last-child { padding-bottom: 0; }
  .pair-report.report-v2 .pair-takeaway { margin-top: 28px; padding-top: 20px; }
  .pair-report.report-v2 .pair-takeaway h3 { font-size: 22px; }
  .pair-report.report-v2 .pair-takeaway p { font-size: 15px; }
  .pair-report.report-v2 .pair-observe { grid-template-columns: 1fr; gap: 7px; margin-top: 21px; padding-top: 16px; }
  .pair-report.report-v2 .source-detail { margin-top: 24px; }
  .pair-report.report-v2 .report-closing { padding: 33px 0 28px; }
}

@media (max-width: 360px) {
  .pair-report.report-v2 .report-chapters a { grid-template-columns: 18px minmax(0, 1fr); gap: 8px; padding: 14px 10px; min-height: 95px; }
  .pair-report.report-v2 .report-chapters a > span:last-child { right: 10px; top: 17px; }
  .pair-report.report-v2 .report-chapters strong { font-size: 16px; }
  .pair-report.report-v2 .report-chapters small { line-height: 1.6; }
  .pair-report.report-v2 .chapter-body h2 { font-size: 24px; }
  .pair-report.report-v2 .pair-scene { padding-left: 13px; }
}

/* A private invitation, using the generated artwork as its only illustration. */
body[data-route='invite'] .invitation-layout.invitation-atmosphere {
  --fate-ink: #f0dfbc;
  --fate-copy: #c4c4d2;
  --fate-rose: #c8aaa9;
  display: grid;
  grid-template-columns: minmax(0, 424px) minmax(0, 1fr);
  gap: clamp(34px, 5.4vw, 66px);
  align-items: center;
  padding: 8px 0 52px;
}

.invitation-atmosphere .fate-portrait {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0b1020;
  border: 1px solid #b79a6440;
  border-radius: 3px;
}

.invitation-atmosphere .fate-portrait::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #080e1b91 0%, #080e1b16 38%, #080e1b00 56%, #080e1b9c 76%, #080e1bf2 100%);
}

.invitation-atmosphere .fate-portrait-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.invitation-atmosphere .fate-portrait-copy {
  position: relative;
  z-index: 1;
  padding: 31px 26px 0;
  text-align: center;
}

.invitation-atmosphere .fate-kicker {
  margin: 0;
  color: #d9c5ac;
  font: 11px/1.7 var(--sans);
  letter-spacing: .17em;
}

.invitation-atmosphere .fate-inscription {
  margin: 17px 0 0;
  color: #f5e5c8;
  font: 500 clamp(25px, 2.5vw, 32px)/1.7 var(--serif);
  letter-spacing: .055em;
  text-wrap: balance;
  text-shadow: 0 2px 18px #070b18d9;
}

.invitation-atmosphere .fate-identities {
  position: absolute;
  z-index: 1;
  left: 25px;
  right: 25px;
  bottom: 26px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) auto minmax(0, 1.3fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid #d1b9854f;
}

.invitation-atmosphere .fate-identities > span { min-width: 0; text-align: center; }
.invitation-atmosphere .fate-identities strong { display: block; color: #ebddbf; font: 500 20px/1.6 var(--serif); }
.invitation-atmosphere .fate-identities small { display: block; color: #b9bbcb; font: 11px/1.65 var(--sans); margin-top: 5px; }
.invitation-atmosphere .fate-identities .invitation-between { color: #c9a77f; font: 20px/1.7 var(--serif); }

body[data-route='invite'] .invitation-atmosphere .invitation-letter { min-width: 0; padding: 5px 0; }
body[data-route='invite'] .invitation-atmosphere .invitation-salutation { margin: 0 0 21px; color: var(--fate-rose); font-size: 12px; letter-spacing: .13em; }
body[data-route='invite'] #app .invitation-atmosphere .invitation-letter h1 { margin: 0; color: var(--fate-ink); font: 500 clamp(30px, 3.2vw, 39px)/1.55 var(--serif); letter-spacing: .015em; }
body[data-route='invite'] .invitation-atmosphere .invitation-message { margin: 24px 0 0; color: var(--fate-copy); font-size: 16px; line-height: 2; }
body[data-route='invite'] .invitation-atmosphere .invitation-signature { margin: 23px 0 27px; color: #c0a89b; font: 14px/1.9 var(--serif); }
body[data-route='invite'] .invitation-atmosphere #create-invite { min-height: 52px; background: #e8cfa0; border: 1px solid #efdab7; border-radius: 5px; color: #26202a; letter-spacing: .035em; }
body[data-route='invite'] #app .invitation-atmosphere .invitation-demo { margin-top: 11px; color: #a9afc1; font-size: 11px; }
body[data-route='invite'] .invitation-atmosphere .invitation-gift { margin-top: 24px; padding-top: 15px; border-color: #b59a7940; }
body[data-route='invite'] .invitation-atmosphere .invitation-gift .gift-entry { min-height: 46px; }
body[data-route='invite'] .invitation-atmosphere .invitation-gift .gift-entry > span { color: #dbc29e; }
body[data-route='invite'] #app .invitation-atmosphere .invitation-gift > .fine { color: #a9afc1; }

/* The invitation preview is a portrait letter; all terms and controls scroll together. */
#invite-dialog.fate-dialog {
  width: min(480px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0d1221;
  color: #e6dcc9;
  border: 1px solid #ab927966;
  border-radius: 10px;
  box-shadow: 0 22px 80px #0007;
  scrollbar-width: thin;
  scrollbar-color: #706456 #111625;
}

#invite-dialog.fate-dialog::backdrop { background: #050710de; backdrop-filter: blur(5px); }

#invite-dialog.fate-dialog .fate-dialog-art-wrap {
  position: relative;
  height: 248px;
  isolation: isolate;
  overflow: hidden;
  background: #0a0f1c;
}

#invite-dialog.fate-dialog .fate-dialog-art-wrap::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #080d19a3 0%, #0d122100 34%, #0d12210d 62%, #0d1221 100%);
}

#invite-dialog.fate-dialog .fate-dialog-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

#invite-dialog.fate-dialog .dialog-top {
  position: absolute;
  z-index: 1;
  left: 25px;
  right: 17px;
  top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0;
  min-height: 44px;
}

#invite-dialog.fate-dialog .fate-dialog-brand { color: #e0cdaa; font: 12px/1.7 var(--sans); letter-spacing: .14em; }
#invite-dialog.fate-dialog .icon-button { flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; background: #10162585; color: #e1d5be; font-size: 28px; line-height: 1; }

#invite-dialog.fate-dialog .fate-share-copy {
  position: relative;
  z-index: 1;
  margin-top: -30px;
  padding: 0 31px 27px;
  text-align: center;
}

#invite-dialog.fate-dialog .fate-kicker { margin: 0 0 13px; color: #c9aeaa; font: 11px/1.7 var(--sans); letter-spacing: .15em; }
#invite-dialog.fate-dialog #invite-title { margin: 0; color: #f1dfbe; font: 500 32px/1.55 var(--serif); letter-spacing: .035em; text-wrap: balance; }
#invite-dialog.fate-dialog .fate-share-message { max-width: 345px; margin: 18px auto 0; color: #c8c3d0; font-size: 14px; line-height: 1.95; text-wrap: pretty; }

#invite-dialog.fate-dialog .fate-share-signature { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 17px; margin: 23px 0 0; padding: 0 0 21px; }
#invite-dialog.fate-dialog .fate-share-signature span { color: #e8d4ad; font: 500 21px/1.6 var(--serif); }
#invite-dialog.fate-dialog .fate-share-signature em { color: #b69b9e; font: normal 11px/1.7 var(--sans); letter-spacing: .14em; }

#invite-dialog.fate-dialog .invitation-slip { margin: 0 0 21px; padding: 18px 0 0; border: 0; border-top: 1px solid #b396703d; }
#invite-dialog.fate-dialog .invitation-slip strong { margin: 0; color: #d7cfbd; font: 500 13px/1.9 var(--sans); }
#invite-dialog.fate-dialog .invitation-slip span { display: block; margin-top: 5px; color: #aeb3c3; font: 12px/1.8 var(--sans); }
#invite-dialog.fate-dialog #guest-preview { min-height: 50px; width: 100%; padding: 12px 16px; background: #e6cda0; color: #211e27; border: 1px solid #efdab5; border-radius: 5px; font-size: 14px; letter-spacing: .015em; }
#invite-dialog.fate-dialog .fine.center { margin: 11px 0 0; color: #a5aabb; font-size: 11px; line-height: 1.8; }

@media (max-width: 920px) and (min-width: 681px) {
  body[data-route='invite'] .invitation-layout.invitation-atmosphere { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 31px; }
  .invitation-atmosphere .fate-portrait-copy { padding: 25px 18px 0; }
  .invitation-atmosphere .fate-inscription { font-size: 25px; margin-top: 13px; }
  .invitation-atmosphere .fate-identities { left: 18px; right: 18px; bottom: 20px; gap: 9px; }
  .invitation-atmosphere .fate-identities strong { font-size: 17px; }
  .invitation-atmosphere .fate-identities small { font-size: 10px; }
  body[data-route='invite'] #app .invitation-atmosphere .invitation-letter h1 { font-size: 31px; }
  body[data-route='invite'] .invitation-atmosphere .invitation-message { font-size: 14px; margin-top: 18px; }
  body[data-route='invite'] .invitation-atmosphere .invitation-signature { font-size: 13px; margin: 17px 0 21px; }
}

@media (max-width: 680px) {
  body[data-route='invite'] .invitation-layout.invitation-atmosphere { grid-template-columns: minmax(0, 1fr); gap: 29px; padding: 0 0 36px; }
  .invitation-atmosphere .fate-portrait { max-width: 424px; justify-self: center; }
  .invitation-atmosphere .fate-portrait-copy { padding: 26px 22px 0; }
  .invitation-atmosphere .fate-inscription { font-size: 29px; line-height: 1.65; margin-top: 15px; }
  .invitation-atmosphere .fate-identities { left: 21px; right: 21px; bottom: 23px; gap: 11px; padding-top: 16px; }
  .invitation-atmosphere .fate-identities strong { font-size: 18px; }
  .invitation-atmosphere .fate-identities small { font-size: 10px; }
  body[data-route='invite'] .invitation-atmosphere .invitation-letter { padding: 0; }
  body[data-route='invite'] .invitation-atmosphere .invitation-salutation { margin-bottom: 14px; font-size: 11px; }
  body[data-route='invite'] #app .invitation-atmosphere .invitation-letter h1 { font-size: 33px; line-height: 1.5; }
  body[data-route='invite'] .invitation-atmosphere .invitation-message { font-size: 15px; margin-top: 17px; }
  body[data-route='invite'] .invitation-atmosphere .invitation-signature { margin: 19px 0 23px; font-size: 13px; }
  body[data-route='invite'] .invitation-atmosphere .invitation-gift { margin-top: 19px; }
  #invite-dialog.fate-dialog { max-height: calc(100dvh - 24px); }
  #invite-dialog.fate-dialog .fate-dialog-art-wrap { height: 218px; }
  #invite-dialog.fate-dialog .dialog-top { top: 9px; left: 22px; right: 12px; }
  #invite-dialog.fate-dialog .fate-share-copy { margin-top: -24px; padding: 0 24px 23px; }
  #invite-dialog.fate-dialog #invite-title { font-size: 30px; line-height: 1.55; }
  #invite-dialog.fate-dialog .fate-share-message { font-size: 14px; margin-top: 16px; }
  #invite-dialog.fate-dialog .fate-share-signature { margin-top: 20px; padding-bottom: 19px; }
  #invite-dialog.fate-dialog .invitation-slip { padding-top: 16px; margin-bottom: 18px; }
}

@media (max-width: 360px) {
  .invitation-atmosphere .fate-portrait-copy { padding: 22px 17px 0; }
  .invitation-atmosphere .fate-kicker { font-size: 10px; }
  .invitation-atmosphere .fate-inscription { font-size: 25px; margin-top: 13px; }
  .invitation-atmosphere .fate-identities { left: 17px; right: 17px; bottom: 18px; gap: 8px; padding-top: 13px; }
  .invitation-atmosphere .fate-identities strong { font-size: 16px; }
  .invitation-atmosphere .fate-identities small { font-size: 9px; }
  body[data-route='invite'] #app .invitation-atmosphere .invitation-letter h1 { font-size: 30px; }
  #invite-dialog.fate-dialog .fate-dialog-art-wrap { height: 194px; }
  #invite-dialog.fate-dialog .fate-share-copy { padding: 0 20px 21px; }
  #invite-dialog.fate-dialog #invite-title { font-size: 27px; }
  #invite-dialog.fate-dialog .fate-share-message { font-size: 13px; }
  #invite-dialog.fate-dialog .fate-dialog-brand { font-size: 11px; }
  #invite-dialog.fate-dialog #guest-preview { font-size: 13px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .invitation-atmosphere *,
  .invitation-atmosphere *::before,
  .invitation-atmosphere *::after,
  #invite-dialog.fate-dialog *,
  #invite-dialog.fate-dialog *::before,
  #invite-dialog.fate-dialog *::after { animation: none !important; transition: none !important; }
}

/* Local reader preview controls and person-specific advice. */
.pair-report .reader-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 26px;
  padding: 18px 0 20px;
  margin-bottom: 30px;
  border-block: 1px solid #a3936745;
}
.pair-report .reader-control-heading > span { display: block; color: #dac69c; font-size: 14px; }
.pair-report .reader-control-heading small { display: block; margin-top: 4px; font-size: 12px; color: #afbbca; }
.pair-report .reader-controls > p { grid-column: 1 / -1; color: #a6b0bf; font-size: 11px; line-height: 1.7; }
.pair-report .reader-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pair-report .reader-options button {
  min-height: 46px;
  padding: 9px 19px;
  border: 1px solid #8993a14f;
  border-radius: 4px;
  color: #bfc8d5;
  background: #111827;
  font-size: 14px;
  white-space: nowrap;
}
.pair-report .reader-options button[aria-pressed='true'] { color: #f0dfb4; background: #c9a85c20; border-color: #c9a85c; box-shadow: inset 0 -2px #c9a85c; }
.pair-report .reader-options button:focus-visible { outline: 2px solid #efdab0; outline-offset: 4px; }
.pair-report.report-v2 .reader-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 30px 0 24px; }
.pair-report.report-v2 .reader-action { min-width: 0; border-top: 1px solid var(--report-rule); padding: 19px 0 0; }
.pair-report.report-v2 .reader-action > span { color: #b8c4d3; font-size: 12px; line-height: 1.75; }
.pair-report.report-v2 .reader-action-self > span { color: #dfc995; }
.pair-report.report-v2 .reader-action h3 { margin: 9px 0 12px; font-size: 21px; font-weight: 500; line-height: 1.65; color: #e6dbc5; }
.pair-report.report-v2 .reader-action p { margin: 0; font-size: 15px; line-height: 1.95; color: #c8d2df; }
.pair-report.report-v2 .reader-actions + .pair-takeaway { margin-top: 25px; }
.archive-heading .archive-reader { margin-top: 8px; font-size: 12px; color: #cbb990; }
@media (max-width: 680px) {
  .pair-report .reader-controls { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 23px; padding: 16px 0; }
  .pair-report .reader-options { width: 100%; }
  .pair-report .reader-options button { padding-inline: 12px; }
  .pair-report .reader-control-heading small { font-size: 12px; }
  .pair-report.report-v2 .reader-actions { grid-template-columns: minmax(0, 1fr); gap: 21px; margin-top: 25px; }
  .pair-report.report-v2 .reader-action { padding-top: 16px; }
  .pair-report.report-v2 .reader-action h3 { font-size: 21px; }
}

/* Delivery states in the local prototype; preserves the four permanent entries. */
.home-return-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}
.home-return-bar a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;color:var(--gold-light)}
.home-return-bar a:last-child{font-size:12px;color:var(--muted)}
.report-readiness{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:24px 28px;margin:0 0 40px;border:1px solid var(--line);border-radius:12px;background:var(--panel-deep)}
.readiness-label{font-size:12px;color:var(--gold-light)}
.report-readiness h2{font-size:24px;color:var(--moon);margin:7px 0}
.report-readiness p{max-width:570px;font-size:14px;color:var(--muted);line-height:1.9}
.report-readiness .secondary{flex-shrink:0}
.delivered.waiting{color:var(--gold-light)}
.delivery-page{max-width:740px;margin:auto;padding-bottom:24px}
.delivery-page h1{font-size:clamp(28px,4vw,40px);margin:22px 0 16px;line-height:1.6}
.delivery-lead{font-size:16px;color:var(--muted);line-height:2;margin-bottom:30px}
.delivery-page .report-status{margin-top:30px}
.delivery-actions{display:flex;gap:16px;flex-wrap:wrap;margin:28px 0 20px}
.delivery-simulator{border-top:1px dashed var(--line);margin-top:36px;padding-top:22px;color:var(--muted);font-size:13px}
.delivery-simulator strong{color:var(--gold-light);font-size:12px}
.delivery-simulator p{margin:7px 0}
@media(max-width:640px){
  .report-readiness{display:block;padding:20px;margin-bottom:32px}
  .report-readiness h2{font-size:22px}
  .report-readiness .secondary{margin-top:18px;width:100%}
  .delivery-actions>*{width:100%}
  .delivery-page .report-status li{align-items:flex-start;gap:12px}
  .delivery-page .state-label{white-space:normal;text-align:right;max-width:82px;flex-shrink:0}
}

/* Full-bleed invitation artwork; the chat card is explicitly a local mockup. */
#invite-dialog.fate-dialog{width:min(480px,calc(100% - 24px));padding:0;border-color:#a88b6355;background:#0d1221;border-radius:8px}
.fate-sheet{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;width:100%;min-height:690px;padding:22px 30px 24px;background:#0c1120;color:#f4e5c9;box-sizing:border-box}
.fate-sheet-backdrop{position:absolute;z-index:-2;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 46%}
.fate-sheet::after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(180deg,#080d1940 0%,#080d191a 30%,#080d1900 57%,#090e1ba6 83%,#0b1020d1 100%)}
.fate-sheet-top{display:flex;justify-content:space-between;align-items:center;min-height:36px;color:#e7d2aa;font:12px/1.7 var(--sans);letter-spacing:.13em}
.fate-sheet-top .icon-button{margin-right:-15px;flex:0 0 44px;color:#e7d2aa;font-size:30px;background:#0b102044}
.fate-sheet .fate-sheet-title,#invite-dialog.fate-dialog #invite-title{position:relative;margin:35px -10px 0;color:#f5e4c4;text-align:center;font:500 clamp(27px,5.4vw,35px)/1.7 var(--serif);letter-spacing:.04em;text-shadow:0 2px 16px #070b18b3}
.fate-sheet-title>span{display:block;white-space:nowrap}
.fate-sheet-bottom{margin-top:auto;padding-top:230px;text-align:center}
.fate-sheet-signature{display:flex;justify-content:center;align-items:baseline;gap:18px;margin:0 0 22px;color:#f2dfbc;font:500 25px/1.6 var(--serif)}
.fate-sheet-signature em{font:normal 12px/1.6 var(--sans);color:#cdb9b5;letter-spacing:.15em}
.fate-sheet .fate-sheet-action,#invite-dialog.fate-dialog #guest-preview{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 14px;border:1px solid #ddc29c99;border-radius:4px;background:#e6cca0e8;color:#27202a;font:500 14px/1.7 var(--sans);letter-spacing:.025em}
.fate-sheet-secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:none;padding:8px;color:#e8d1b6;font-size:12px}
.fate-sheet-note{display:block;margin:12px 0 0;color:#bcc1d0;font:11px/1.7 var(--sans)}
.fate-sheet-secondary+.fate-sheet-note{margin-top:0}
.received-invitation{max-width:480px;margin:auto;text-align:center}
.received-invitation .fate-sheet{border:1px solid #a88b633d;border-radius:6px}
.share-preview-caption{margin:0 0 18px;color:var(--muted);font:12px/1.9 var(--sans);text-align:center}
.received-invitation>.text-link{margin:12px 0 0;font-size:12px}
.wechat-preview{max-width:550px;margin:auto;text-align:center}
.wechat-preview>header{margin:0 0 32px}
.wechat-preview h1{font-size:clamp(28px,5vw,38px);margin:10px 0 14px;line-height:1.6}
.wechat-preview>header>p:last-child{font-size:15px;line-height:1.9;color:var(--muted)}
.wechat-phone{width:min(100%,390px);margin:0 auto 18px;background:#ededed;color:#171717;border:1px solid #656b7466;border-radius:16px;overflow:hidden;box-shadow:0 12px 50px #0003;text-align:left}
.wechat-top{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #d8d8d8;font-family:var(--sans)}
.wechat-top strong{font-size:17px;font-weight:500}.wechat-top>span{font-size:26px}
.wechat-chat{min-height:260px;padding:22px 14px 45px}.wechat-time{display:block;text-align:center;font-size:11px;color:#929292;margin:0 0 26px}
.wechat-message{display:flex;gap:10px;align-items:flex-start}.wechat-avatar{width:35px;height:35px;flex:0 0 35px;border-radius:5px;display:grid;place-items:center;background:#1a263b;color:#e4c999;font:18px/1 var(--serif)}
.wechat-link-card{position:relative;min-width:0;flex:1;padding:13px 12px 0;background:#fff;color:#1b1b1b;border:0;border-radius:5px;text-align:left;font-family:var(--sans)}
.wechat-link-card::before{content:"";position:absolute;left:-5px;top:15px;width:10px;height:10px;background:#fff;transform:rotate(45deg)}
.wechat-link-card:hover{filter:none;background:#fafafa}.wechat-link-card:focus-visible{outline:3px solid #927b46}
.wechat-card-content{display:grid;grid-template-columns:minmax(0,1fr) 55px;gap:10px;align-items:start;padding-bottom:12px}
.wechat-card-content strong{display:block;font-size:14px;font-weight:500;line-height:1.6}.wechat-card-content p{color:#888;font-size:11px;line-height:1.5;margin:7px 0 0}
.wechat-card-content img{width:55px;height:55px;object-fit:cover;object-position:center}
.wechat-card-source{display:block;border-top:1px solid #ededed;padding:5px 0;color:#929292;font-size:10px;line-height:1.7}
.share-channel-note{font-size:12px;line-height:1.9;color:var(--muted);margin-top:22px}
@media(max-width:520px){
  .fate-sheet{min-height:640px;padding:18px 22px 22px}
  .fate-sheet .fate-sheet-title,#invite-dialog.fate-dialog #invite-title{font-size:29px;margin-top:30px;letter-spacing:.025em}
  .fate-sheet-bottom{padding-top:235px}
  .received-invitation{margin-inline:-6px}
  .fate-sheet-signature{font-size:23px;margin-bottom:20px}
  .wechat-chat{padding-inline:10px}
}
@media(max-width:360px){
  .fate-sheet{padding-inline:18px;min-height:610px}
  .fate-sheet .fate-sheet-title,#invite-dialog.fate-dialog #invite-title{font-size:25px}
  .fate-sheet-bottom{padding-top:220px}
  .fate-sheet .fate-sheet-action,#invite-dialog.fate-dialog #guest-preview{font-size:12px;gap:10px}
  .wechat-card-content{grid-template-columns:minmax(0,1fr) 44px;gap:7px}
  .wechat-card-content img{width:44px;height:44px}
  .wechat-card-content strong{font-size:12px}.wechat-avatar{width:29px;height:29px;flex-basis:29px}
}

/* invite-channels.css */
.invite-channel-page,.channel-internal-page,.channel-inbox{max-width:860px;margin:auto}
.channel-heading{margin-bottom:32px}.channel-heading h1{font-size:clamp(30px,4vw,43px);line-height:1.55;margin:12px 0 18px}.channel-heading>p:last-child{font-size:15px;line-height:1.9;color:var(--muted)}
.invite-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.channel-choice{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;min-height:340px;padding:32px;border:1px solid #b99a604f;border-radius:12px;background:#141d2e}
.channel-external::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#10182cc2,#10172cea),url('./media/synastry/invitation-fate.webp') center/cover;opacity:.9}
.channel-mark{display:grid;place-items:center;width:40px;height:40px;margin-bottom:26px;border:1px solid #c7a96763;border-radius:50%;color:#e8d3a1;font:23px/1 var(--serif)}
.channel-kicker{font-size:12px;color:#c2ad80}.channel-choice h2{font-size:29px;color:#ead9b3;margin:10px 0 14px}.channel-choice>p{font-size:15px;color:#bfc6d3;line-height:1.95;margin-bottom:28px}
.channel-choice-action{display:flex;justify-content:space-between;align-items:center;width:100%;padding-top:20px;border-top:1px solid #c9a85c33;margin-top:auto;color:#e6d1a1;font-size:15px}.channel-choice:hover{border-color:#d4b574}
.channel-shared-rule{font-size:13px;line-height:1.9;color:var(--muted);margin:26px 0 0}
.channel-access{max-width:600px;margin:auto}.channel-access h1{font-size:clamp(28px,4vw,38px);line-height:1.65;margin:24px 0 16px}.channel-lead{font-size:16px;line-height:2;color:var(--muted)}
.channel-access-steps{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 0;margin:20px 0 26px;border-block:1px solid var(--line);color:#d6c59f;font-size:13px}.channel-access-steps i{font-style:normal;color:#778399}
.channel-access>.fine{margin-top:16px;font-size:12px}.channel-profile{padding:24px;margin:26px 0;background:#151d2e;border:1px solid var(--line);border-radius:10px}.channel-profile>strong{color:#e2c995}.channel-profile h2{font-size:24px}.channel-profile p{font-size:14px;color:var(--muted);margin-top:12px}
.channel-profile dl{margin:18px 0 0}.channel-profile dl>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-top:1px solid #ffffff0c;font-size:14px}.channel-profile dt{color:#abb5c5}.channel-profile dd{margin:0;color:#dfdccf;text-align:right}
.internal-search{max-width:650px;padding:24px;border:1px solid var(--line);background:#151d2e;border-radius:10px}.internal-search label{display:block;color:#dbc49a;font-size:14px;margin-bottom:12px}.internal-search>div{display:flex;gap:12px}.internal-search input{min-width:0;flex:1;min-height:50px;padding:10px 14px;color:var(--moon);background:#0c1322;border:1px solid #667087;border-radius:6px;font-size:16px}.internal-search input::placeholder{color:#8f9aad}.internal-search .fine{margin-top:12px}.internal-search-error{font-size:13px;color:#edc5ac;line-height:1.8;margin:0}.internal-search-error:not(:empty){margin-top:10px}
.internal-person{display:flex;align-items:center;gap:18px;padding:26px 0;margin-top:24px;border-block:1px solid var(--line)}.internal-person h2{font-size:25px}.internal-person p{font-size:13px;color:#b5becc}.internal-person small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.internal-person>a,.internal-person>button{margin-left:auto}
.internal-avatar{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;background:#253447;border:1px solid #ba9e5f5e;border-radius:10px;color:#e4c992;font:24px/1 var(--serif)}
.inbox-invitation{display:flex;gap:22px;padding:28px;background:#151d2e;border:1px solid var(--line);border-radius:12px}.inbox-invitation h2{font-size:27px;color:#e5d4ac;line-height:1.7;margin:12px 0}.inbox-invitation p{font-size:14px;line-height:1.9;color:var(--muted);margin-bottom:24px}.channel-inbox>.fine{margin-top:22px}
.channel-context{display:block;color:#b5a17f;font-size:12px;margin-bottom:18px;letter-spacing:.08em}
@media(max-width:640px){.invite-channel-grid{grid-template-columns:1fr;gap:16px}.channel-choice{min-height:0;padding:24px}.channel-mark{margin-bottom:18px}.channel-choice h2{font-size:26px}.channel-choice>p{margin-bottom:22px}.channel-access-steps{font-size:11px;gap:6px}.internal-search{padding:20px}.internal-search>div{gap:8px}.internal-search button{padding-inline:18px}.internal-person{flex-wrap:wrap}.internal-person>a,.internal-person>button{margin:4px 0 0;width:100%}.inbox-invitation{padding:24px 20px;gap:14px}.inbox-invitation h2{font-size:24px}.channel-profile{padding:20px}.channel-profile dl>div{font-size:13px}}

/* Keep both sending methods easy to discover on a phone. */
@media(max-width:640px){
  .invite-channel-page .channel-heading{margin-bottom:24px}
  .invite-channel-page .channel-heading h1{line-height:1.4;margin:8px 0 12px}
  .invite-channel-page .channel-heading>p:last-child{font-size:14px}
  .invite-channel-page .channel-mark{position:absolute;right:22px;top:22px;width:32px;height:32px;font-size:20px;margin:0}
  .invite-channel-page .channel-choice{padding:22px 24px}
  .invite-channel-page .channel-choice h2{margin:8px 0 10px;font-size:25px}
  .invite-channel-page .channel-choice>p{font-size:14px;line-height:1.7;margin-bottom:16px}
  .invite-channel-page .channel-choice-action{padding-top:13px;font-size:14px}
}

/* account-identity.css */
.star-account{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;margin:0 0 28px;border:1px solid #c9a85c35;border-radius:10px;background:#151d2e;color:#e8e4d8}
.star-account-person{display:flex;align-items:center;gap:14px;min-width:0}.star-account-mark{flex:0 0 40px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #c9a85c54;border-radius:50%;font:21px/1 var(--serif);color:#dcca9f;background:#c9a85c08}.star-account-person>div{min-width:0}.star-account-person strong{display:block;font-size:16px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.star-account-person p{margin:3px 0 0;font-size:12px;line-height:1.7;color:#aeb9c8;overflow-wrap:anywhere}.star-account-number{margin-left:5px;color:#e1cea5;letter-spacing:.07em;font-variant-numeric:tabular-nums}
.star-account-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.star-account-actions button{min-height:44px;margin:0;padding:8px 12px;border-radius:5px;font:400 13px/1.5 var(--sans);white-space:nowrap;cursor:pointer}.star-account-copy{color:#e2c999;background:#c9a85c0d;border:1px solid #c9a85c52}.star-account-help{border:1px solid transparent;background:transparent;color:#b8c1cf}.star-account-help span{margin-left:5px}.star-account-actions button:hover{border-color:#c9a85c8c;color:#f2dfb7}.star-account-actions button:focus-visible,.star-account-explanation button:focus-visible{outline:2px solid #e7c77c;outline-offset:3px}
.star-account-compact{padding:14px 18px;margin:0 0 24px;background:#101827}.star-account-compact .star-account-mark{display:none}
.star-account-explanation{max-width:520px}.star-account-help-top{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#cdb582;font-size:12px;letter-spacing:.08em}.star-account-close{display:grid;place-items:center;flex:0 0 44px;width:44px;min-height:44px;padding:0;background:transparent;border:1px solid transparent;border-radius:50%;color:#d6ccbb;font:300 28px/1 var(--sans);cursor:pointer}.star-account-close:hover{background:#ffffff08;border-color:#c9a85c44}.star-account-explanation h2{margin:18px 0 12px;font:500 clamp(23px,5vw,29px)/1.6 var(--serif);color:#ead6ab}.star-account-help-lead{margin:0 0 20px;font-size:14px;line-height:1.85;color:#bcc5d3}
.star-account-rules{margin:0}.star-account-rules>div{padding:15px 0;border-top:1px solid #c9a85c26}.star-account-rules dt{margin:0 0 6px;font-size:14px;font-weight:600;color:#dfc797}.star-account-rules dd{margin:0;font-size:13px;line-height:1.9;color:#bfc8d5}.star-account-demo-note{font-size:11px;line-height:1.8;color:#8f9cae;margin:14px 0 20px}.star-account-dismiss{width:100%;min-height:48px;padding:12px 16px;border:1px solid #d6bd88;border-radius:5px;background:#e4cc9d;color:#27232b;font:500 14px/1.5 var(--sans);cursor:pointer}
@media(max-width:560px){.star-account{flex-wrap:wrap;gap:12px;padding:16px 18px;margin-bottom:24px}.star-account-person{gap:12px}.star-account-actions{width:100%;justify-content:flex-end;flex-wrap:wrap;gap:4px 8px;border-top:1px solid #c9a85c1f;padding-top:8px}.star-account-actions button{font-size:12px}.star-account-compact{gap:8px;padding:13px 16px}.star-account-explanation h2{margin-top:12px}.star-account-rules>div{padding:12px 0}}

/* invite-sharing.css */
.invite-send-page{max-width:870px;margin:auto}.send-heading{margin:22px 0 28px}.send-heading h1{font:500 clamp(30px,4vw,42px)/1.45 var(--serif);color:#efddbb;margin:12px 0 15px}.send-heading>p:last-child{font-size:15px;color:#b7c0d0;line-height:1.8}
.send-content{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}.send-note{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;min-height:340px;border:1px solid #b8a07655;border-radius:8px;background:#101625;padding:28px}.send-note>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 50%}.send-note::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,#08101ff5 0%,#08101f70 55%,#08101f00)}.send-note span{font-size:12px;color:#d6c29e}.send-note h2{font:500 27px/1.7 var(--serif);color:#f2dfbc;margin:14px 0}.send-note p{font:500 21px/1.5 var(--serif);color:#ead5af;margin:0}
.send-actions{padding:14px 0}.send-actions h2{font-size:23px;color:#dfca9c;margin-bottom:12px}.send-actions>p:first-of-type{font-size:15px;line-height:1.9;color:#b6c0d0;margin-bottom:26px}.send-actions button,.send-actions .invite-gift-action{min-height:50px;margin:0 0 12px}.send-actions .invite-gift-action{display:flex;align-items:center;justify-content:center}.send-local-note{font-size:12px;line-height:1.8;color:#a8b4c6;margin:8px 0 0}.send-copy-feedback{font-size:13px;line-height:1.8;color:#e6d3ac;margin-top:12px;overflow-wrap:anywhere}.send-next{margin:28px 0;padding:22px 0;border-top:1px solid #c9a85c30}.send-next p{font-size:14px;line-height:1.9;color:#c0c6d2;margin-bottom:12px}.send-next a{font-size:13px}
.fate-sheet-introduced .fate-sheet-title{margin-top:28px}.fate-sheet-intro{position:relative;text-align:center;padding:16px 12px 20px;margin:18px -12px 0;border-radius:5px;background:linear-gradient(90deg,#08101b22,#08101b94 35%,#08101b94 65%,#08101b22)}.fate-sheet-intro h2{font:500 15px/1.6 var(--serif);color:#e1c99f;margin:0 0 9px}.fate-sheet-intro p{font:400 13px/1.9 var(--sans);color:#e3e2df;margin:0}.fate-sheet-intro p+p{margin-top:10px;color:#c9d0db}.fate-sheet-introduced .fate-sheet-bottom{padding-top:150px}.fate-sheet-introduced{min-height:740px}.fate-sheet-introduced .fate-sheet-note{font-size:11px;line-height:1.85}
#wechat-send-dialog,#star-id-dialog,#copy-value-dialog{width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:26px;border:1px solid #b89b624d;border-radius:10px;background:#141c2c;color:#e8e4d8}#wechat-send-dialog::backdrop,#star-id-dialog::backdrop,#copy-value-dialog::backdrop{background:#070b16bd;backdrop-filter:blur(4px)}.send-help-top{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#d4bd93;font-size:12px}.send-help-top button{font-size:27px;min-height:44px;min-width:44px}.wechat-send-help h2{font:500 29px/1.5 var(--serif);color:#ead6ab;margin:16px 0 24px}.wechat-send-help ol{padding:0;list-style:none;margin:0 0 24px}.wechat-send-help li{display:flex;gap:16px;padding:18px 0;border-top:1px solid #c9a85c2b}.wechat-send-help li>span{font:15px/1.8 var(--serif);color:#c5aa77}.wechat-send-help strong{font-size:15px;color:#e6d6b9}.wechat-send-help li p{font-size:13px;line-height:1.8;color:#b5bdcc;margin-top:6px}.wechat-send-help>.primary{margin-top:24px}.prototype-review-links{display:flex;gap:12px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #c9a85c26}.prototype-review-links a{font-size:12px;color:#c7b182;min-height:36px;display:flex;align-items:center}
#copy-value-dialog textarea{width:100%;min-height:120px;padding:12px;margin:18px 0;background:#0c1321;border:1px solid #778297;color:#ddd;font:14px/1.7 var(--sans);resize:vertical;overflow-wrap:anywhere}
@media(max-width:640px){.send-content{grid-template-columns:1fr;gap:16px}.send-heading{margin:12px 0 22px}.send-heading h1{font-size:31px}.send-note{min-height:165px;padding:20px 24px}.send-note>img{object-position:center 50%}.send-note::after{background:linear-gradient(90deg,#08101ff0,#08101f50 90%)}.send-note h2{font-size:24px;margin:8px 0}.send-note p{font-size:18px}.send-actions{padding:8px 0}.send-actions h2{font-size:22px}.send-actions>p:first-of-type{font-size:14px;margin-bottom:18px}.send-next{margin-top:12px}.fate-sheet-introduced .fate-sheet-title{font-size:28px;margin-top:20px}.fate-sheet-intro{margin-top:16px;padding-inline:2px}.fate-sheet-intro p{font-size:12px}.fate-sheet-introduced .fate-sheet-bottom{padding-top:150px}.fate-sheet-introduced{min-height:720px}#wechat-send-dialog,#star-id-dialog,#copy-value-dialog{padding:22px}.wechat-send-help h2{font-size:27px}}
@media(max-width:360px){.fate-sheet-introduced .fate-sheet-title{font-size:24px}.fate-sheet-intro p{font-size:11px}.send-note h2{font-size:22px}.send-note{padding:18px}.fate-sheet-introduced .fate-sheet-bottom{padding-top:130px}}

/* Approved invite-poster.css */
#invite-poster-dialog{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:1px solid #bd9f625c;border-radius:10px;background:#111a2b;color:#e8e4d8}
#invite-poster-dialog::backdrop{background:#060a15d9;backdrop-filter:blur(5px)}.invite-poster-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.invite-poster-header h2{font:500 20px/1.6 var(--serif);color:#ead5aa;margin:0}.invite-poster-header .icon-button{width:44px;min-height:44px;font-size:28px;color:#e3d3b5;background:transparent}
.invite-poster-view{min-height:200px;display:grid;place-items:center;background:#090f1d;border:1px solid #aa90593d;border-radius:5px;overflow:hidden}.invite-poster-view img{display:block;max-height:calc(100dvh - 250px);width:100%;height:auto;object-fit:contain}.invite-poster-view img[hidden],.invite-poster-loading[hidden]{display:none}.invite-poster-loading{padding:70px 20px;color:#bcbfc8;font-size:14px;text-align:center}
.invite-poster-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.invite-poster-actions button{min-height:48px;font-size:14px}.invite-poster-actions button:disabled{opacity:.45;cursor:wait}.invite-poster-note{font-size:11px;line-height:1.8;color:#9fabbf;text-align:center;margin:12px 0 0}.invite-poster-feedback{font-size:12px;line-height:1.8;color:#e4d2ad;text-align:center;margin:10px 0 0}.invite-poster-feedback:empty{display:none}
@media(max-width:520px){#invite-poster-dialog{padding:14px}.invite-poster-header{margin-bottom:10px}.invite-poster-actions{gap:10px;margin-top:14px}.invite-poster-view img{max-height:calc(100dvh - 250px)}}

/* brand-refresh.css */
/* Local brand candidates, separate from the established report artwork. */
.display-name-label{display:block;margin:20px 0;color:#ddd3bd}
.display-name-label input{display:block;box-sizing:border-box;width:100%;height:50px;margin:10px 0;padding:12px;border:1px solid #746245;border-radius:7px;background:#151e2d;color:#ece5d6;font:inherit}
#display-name-error{color:#efb5a6;min-height:20px}
.gift-name-field{grid-column:1/-1}
.gift-name-field small{font-size:12px;color:#aeb4c0;font-weight:400}
.star-account-person strong,.gift-onboarding-account h2,.gift-recipient-account h2{overflow-wrap:anywhere}
.star-account-actions{flex-wrap:wrap}
.gift-next h2{font:24px/1.5 'Songti SC',serif}
.gift-next [role=status]{font-size:13px;color:#ddc497;line-height:1.7}
.gift-next>a,.gift-next>button{margin-top:12px}
.gift-onboarding-account button{margin-top:8px}

/* Card layout is proportional to its 1080 x 1620 export, at every viewport size. */
.celestial-card{position:relative;isolation:isolate;container-type:inline-size;width:100%;aspect-ratio:2/3;margin:0;overflow:hidden;background:#0e1220;color:#ede6d5;border:1px solid #cab17c40;box-shadow:0 24px 65px #0005}
.celestial-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.celestial-card figcaption{position:absolute;inset:0;text-align:center}
.celestial-card-content{position:absolute;top:77cqw;left:8%;right:8%;display:flex;flex-direction:column;align-items:center}
.celestial-lockup{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-align:left;color:#e4c992}
.celestial-lockup>img{width:42px;height:42px;object-fit:contain}
.celestial-lockup>span{font:29px/1.05 'Songti SC','STSong',serif;letter-spacing:7px}
.celestial-lockup small{display:block;margin-top:7px;font:9px/1.4 'PingFang SC',sans-serif;letter-spacing:1px;color:#cbc4b3}
.celestial-card .celestial-lockup{gap:2.2cqw}
.celestial-card .celestial-lockup>img{width:10cqw;height:10cqw}
.celestial-card .celestial-lockup>span{font-size:6.1cqw;letter-spacing:1.5cqw}
.celestial-card .celestial-lockup small{font-size:1.85cqw;letter-spacing:.2cqw;margin-top:1.05cqw}
.celestial-card-copy{width:100%;margin-top:3.2cqw}
.celestial-kicker{font:10px/1.7 'PingFang SC',sans-serif;letter-spacing:3px;color:#cbb683}
.celestial-card-copy>.celestial-kicker{margin:0;font-size:2.2cqw;line-height:1.6;letter-spacing:.6cqw}
.celestial-card-copy>h2{font:500 7cqw/1.55 'Songti SC','STSong',serif;letter-spacing:.6cqw;color:#eee4d1;margin:2.5cqw 0 0}
.celestial-card-copy>.celestial-subtitle{font:2.8cqw/1.8 'PingFang SC',sans-serif;color:#c1c4c8;letter-spacing:.2cqw;margin:2cqw 0 0}
.celestial-card-copy>.celestial-signature{font:4.1cqw/1.5 'Songti SC','STSong',serif;color:#dfc38e;overflow-wrap:anywhere;margin:3.6cqw 0 0}
.celestial-signature span{font:2.2cqw 'PingFang SC',sans-serif;color:#929bad;margin-right:1.6cqw}
.celestial-card.long-signature .celestial-signature{font-size:3.3cqw}
.celestial-card-footer{position:absolute;bottom:3.3%;left:0;right:0;font:2cqw/1.4 sans-serif;letter-spacing:.4cqw;color:#87909f}
.celestial-switch{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:20px 0;color:#bfc2c9;font:12px/1.7 sans-serif}
.celestial-switch a{color:#b9b7ac;margin-left:auto}

.send-content{grid-template-columns:minmax(270px,460px) minmax(260px,1fr);gap:60px}
.send-actions{align-self:center}
.send-actions .secondary,.send-actions .primary{margin-top:12px}
.celestial-receive{display:grid;grid-template-columns:minmax(280px,490px) minmax(300px,1fr);gap:70px;align-items:center;margin:36px 0 64px}
.celestial-receive-body h1{font:500 clamp(30px,3.6vw,46px)/1.55 'Songti SC','STSong',serif;letter-spacing:3px;margin:15px 0 24px}
.celestial-receive-body>p{font-size:15px;line-height:2;color:#b9c0cb}
.celestial-receive-body>p.fine{font-size:12px;line-height:1.9;margin-top:18px}
.celestial-steps{list-style:none;padding:0;margin:26px 0;color:#c8ae77;font:12px/1.7 sans-serif}
.celestial-steps li{padding:12px 0;border-bottom:1px solid #bca47625}
.celestial-steps span{color:#d0d1d4;margin-left:18px;font-size:14px}
.celestial-receive-body .text-link{font-size:13px}
.invite-poster-panel{max-width:480px}
.invite-poster-view{min-height:0;max-height:none;overflow:hidden}
.invite-poster-view img{width:100%;height:auto;max-height:calc(100dvh - 250px);object-fit:contain}
.gift-send-art{max-width:420px;margin:20px auto}
.gift-log-order .gift-next{border-top:1px solid #cbb17c40;padding-top:20px}
.gift-recipient-name{font-size:20px!important}

.gift-send-ready{padding:8px 0 50px}
.gift-send-heading h1{font:500 clamp(31px,4vw,48px)/1.45 'Songti SC',serif;letter-spacing:3px;margin:18px 0 30px}
.gift-send-grid{display:grid;grid-template-columns:minmax(270px,1fr) minmax(270px,430px);gap:65px;align-items:start}
.gift-send-actions h2{font:25px/1.6 'Songti SC',serif}
.gift-send-actions>p{font-size:14px;line-height:1.9;color:#bbc2cb}
.gift-send-actions>.primary,.gift-send-actions>.secondary{margin-top:12px;min-height:54px}
.gift-send-actions>.gift-demo-note{font-size:11px;margin-top:20px;color:#8f9caf}
.gift-send-signature{display:flex;justify-content:space-between;gap:15px;align-items:center}
.gift-send-signature button{font-size:12px}
.gift-send-order{border-top:1px solid #c1a67744;padding-top:18px;margin-top:28px;font-size:12px;color:#a8b4c6;line-height:2}
.gift-send-order summary{cursor:pointer;color:#d7c197;padding:8px 0}
.gift-send-actions [role=status]:empty{display:none}
@media(max-width:700px){
  .send-content,.celestial-receive{display:block}
  .send-actions{margin-top:30px}
  .celestial-receive{margin:18px 0 35px}
  .celestial-receive-body{padding:32px 10px 0}
  .celestial-receive-body h1{font-size:31px}
  .celestial-card{max-width:460px;margin:auto}
  .celestial-switch{margin:16px 0}
  .star-account{gap:12px;align-items:flex-start}
  .star-account-actions{max-width:112px}
  .gift-next h2{font-size:23px}
  .celestial-receive-body>.primary{min-height:54px}
  .gift-send-grid{display:flex;flex-direction:column;gap:28px}
  .gift-send-actions,.gift-send-preview{width:100%}
  .gift-send-heading h1{font-size:32px;margin-bottom:22px}
  .gift-send-actions h2{font-size:23px;margin-top:0}
  .gift-send-preview{max-width:460px}
  .gift-send-order{margin-top:20px}
  .gift-send-ready{padding-top:0}
}
@media(max-width:360px){
  .star-account{flex-wrap:wrap}
  .star-account-actions{max-width:none}
}

/* Runtime state surfaces retain the approved type and space system. */
.synastry-state{padding:20px 0;color:var(--muted);font-size:14px;line-height:1.9}.synastry-state .text-link{display:block;margin-top:8px}.synastry-account-name{overflow-wrap:anywhere}.type-about{font-size:14px;line-height:1.9}.type-about p+p{margin-top:14px}.synastry-status-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.gift-service-note{margin:18px 0;color:var(--gold-light);font-size:13px}.social-dialog .dialog-top h2{margin:0}.social-dialog .dialog-top{position:sticky;top:-28px;background:#182132;padding:8px 0;z-index:2}.social-dialog{width:min(100% - 28px,680px)}

/* Five recommendations share equal visual weight; codes express their different relationship patterns. */
.type-list--codenames .type-row{border:1px solid var(--line);border-radius:10px;margin:16px 0;background:linear-gradient(120deg,#1a2233c7,#121a29aa);overflow:hidden}
.type-list--codenames .type-toggle{grid-template-columns:54px minmax(0,1fr) 72px;padding:22px;gap:20px}
.type-list--codenames .type-detail{margin:0;padding:0 28px 22px}
.type-list--codenames .type-headline{color:#c8b890;font-family:var(--serif);font-size:16px;margin-top:7px}
.rank-basis{margin:26px 0 10px;border-top:1px solid var(--line);padding-top:6px}
.rank-basis summary{padding:12px 0;min-height:44px;cursor:pointer;color:#c5b78f}
.rank-basis p{margin:7px 0 12px}
@media(max-width:620px){
  .type-list--codenames .type-toggle{grid-template-columns:43px minmax(0,1fr) 47px;gap:12px;padding:20px 14px}
  .type-list--codenames .stem-seal{width:41px;height:48px;font-size:28px}
  .type-list--codenames .type-name{font-size:21px}
  .type-list--codenames .type-name small{font-size:12px;margin-left:3px}
  .type-list--codenames .type-headline{font-size:14px}
  .type-list--codenames .type-affordance{gap:5px;font-size:12px}
  .type-list--codenames .type-detail{padding:0 18px 18px}
}
@media(max-width:359px){.type-list--codenames .type-toggle{grid-template-columns:38px minmax(0,1fr) 40px;padding-inline:11px;gap:9px}.type-list--codenames .stem-seal{width:37px;height:43px;font-size:25px}.type-list--codenames .type-name{font-size:19px}.type-list--codenames .type-name small{font-size:11px}.type-list--codenames .type-detail{padding-inline:13px}}
