#together-title{font-size:clamp(1.6rem,4vw,2.2rem);word-break:keep-all}#pair-birth{border:0;margin:1rem 0;padding:0}#pair-birth legend{font-weight:700;margin-bottom:.8rem}#share-panel,#pair-result,#together-history,#invite-notice,#together-error{max-width:100%;margin:1.5rem auto;line-height:1.7}#pair-title{font-size:clamp(1.4rem,4vw,1.8rem);line-height:1.4;word-break:keep-all}.share-preview,.pair-next,.board-card{padding:1.2rem;border:1px solid var(--skin-border-subtle);border-radius:14px;background:var(--skin-surface-subtle);margin:1rem 0}.share-buttons{display:flex;flex-wrap:wrap;gap:.7rem}.pair-next a{margin:.5rem .5rem .5rem 0}.board-card h3{font-size:1.1rem}.board-pairs{display:grid;gap:.7rem;margin:1rem 0}.board-pairs button,#my-participations button{text-align:left;white-space:normal;line-height:1.7;padding:1rem}.badge{font-size:.8rem;color:var(--skin-ink);font-weight:700}.shared-side h3{margin:.5rem 0}#pair-sides article{overflow-wrap:anywhere}#share-copy{overflow-wrap:anywhere;word-break:break-all}#reinvite{white-space:normal}#rejoin-label[hidden]{display:none!important}@media(max-width:600px){.board-card,.share-preview,.pair-next{padding:1rem}.share-buttons button{width:100%}}
/* Identity stays consistent: self is round; friends are rounded boxes. */
.pair-identity{display:flex;align-items:center;justify-content:center;gap:16px;margin:8px 0 28px}.pair-self-card,.pair-friend-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:none;width:100px;height:100px;padding:10px;border:1.5px solid var(--skin-border-subtle);background:var(--skin-surface);color:var(--skin-ink);font:inherit;text-align:center;line-height:1.3;box-shadow:0 4px 14px rgba(229,107,111,0.06)}.pair-self-card{border-radius:50%;border-color:var(--skin-border);background:var(--skin-surface-subtle);cursor:pointer;transition:background .2s,box-shadow .2s}.pair-friend-card{border-radius:18px}.pair-self-card svg,.pair-friend-card svg{width:24px;height:24px;color:var(--skin-accent)}.pair-self-card strong,.pair-friend-card strong{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.pair-self-card small,.pair-friend-card small{font-size:12px;color:var(--skin-subtle)}.pair-self-card:hover{background:var(--skin-surface-subtle);box-shadow:0 0 0 4px rgba(229,107,111,0.15)}.pair-self-card:focus-visible{outline:2px solid var(--skin-focus);outline-offset:3px}.pair-identity-line{width:clamp(16px,5vw,40px);height:1px;background:var(--skin-surface-subtle);flex-shrink:1}@media(max-width:380px){.pair-identity{gap:8px}.pair-self-card,.pair-friend-card{width:88px;height:88px;padding:8px}}@media(prefers-reduced-motion:reduce){.pair-self-card{transition:none}}
/* The relationship loop uses a compact mobile shell and a full-height reading sheet. */
body>header{padding-block:8px}body>header .brand span{display:none}.header-map-link{color:var(--skin-ink);text-decoration:none;font-size:13px;padding:12px 0}.form-section{max-width:690px;margin-inline:auto;padding-top:12px}#share-panel,#together-history{max-width:100%}.map-toolbar{max-width:100%;margin:0 auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.map-toolbar button{font-size:13px;min-height:42px;padding:8px 12px}.map-toolbar p{font-size:13px;width:100%;margin:0}.map-toolbar p:empty{display:none}#share-title{font-size:1.4rem;line-height:1.4}#share-description{font-size:14px}#owner-map{margin-block:16px}.relationship-map-wrap{border:1px solid var(--skin-border-subtle);border-radius:24px;background:radial-gradient(ellipse at 50% 48%,var(--skin-surface),var(--skin-surface-subtle));padding:16px;color:var(--skin-ink);box-shadow:0 8px 28px rgba(229,107,111,0.06)}.map-caption{display:flex;align-items:center;justify-content:space-between;gap:8px}.map-caption h3{margin:0;font-size:15px}.map-caption>span{font-size:12px}.relationship-map{position:relative;min-height:360px;width:100%;max-width:440px;margin:auto}.map-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#f6e8e8;stroke-width:.8;pointer-events:none}.map-lines ellipse{stroke-dasharray:1 2;opacity:.6}.map-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:86px;min-height:86px;background:#E56B6F;color:#ffffff;border:1px solid var(--skin-border-subtle);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;box-sizing:border-box;line-height:1.35;box-shadow:0 0 0 6px rgba(229,107,111,0.12)}.map-center svg{width:22px;height:22px;color:#ffffff}.map-center strong{max-width:68px;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-center small{font-size:11px;opacity:.9}.map-person{position:absolute;left:var(--node-x);top:var(--node-y);transform:translate(-50%,-50%);width:84px;max-width:29%;min-height:86px;padding:6px 3px;border:1px solid var(--skin-border-subtle);border-radius:16px;background:var(--skin-surface);color:var(--skin-ink);display:flex;align-items:center;flex-direction:column;gap:3px;font:inherit;line-height:1.3;box-shadow:0 4px 14px rgba(0,0,0,0.04);white-space:normal}.map-person:hover,.map-person:focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}.node-symbol{width:26px;height:26px;display:grid;place-items:center;color:var(--skin-accent)}.node-symbol svg{width:22px;height:22px}.map-person strong{font-size:12px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.node-role{font-size:11px;word-break:keep-all}.node-new{position:absolute;top:-10px;background:#E56B6F;color:#ffffff;border-radius:20px;padding:2px 6px;font-size:10px;white-space:nowrap}.is-new{border-color:var(--skin-border)}.map-empty{position:absolute;top:69%;width:100%;text-align:center;font-size:13px;line-height:1.6}.map-hint{font-size:12px;line-height:1.6;margin:4px 0 0;word-break:keep-all}.map-pages{display:flex;justify-content:center;align-items:center;gap:14px}.map-pages button{min-height:40px;font-size:13px;padding:6px 12px}.map-list{margin-top:12px;font-size:13px}.map-list summary{min-height:42px;cursor:pointer;align-content:center}.map-list>div{display:grid;gap:8px;padding-top:8px}.map-list button{display:flex;justify-content:space-between;gap:8px;min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere}.map-list button span{color:var(--skin-subtle);font-size:12px}#send-map{min-height:48px;margin-block:6px 12px}.share-options{margin-block:8px}#pair-sheet{border:1px solid var(--skin-border-subtle);border-bottom:0;border-radius:24px 24px 0 0;background:var(--skin-surface);color:var(--skin-ink);padding:0 18px 24px;width:min(580px,100%);max-width:100%;height:90dvh;max-height:90dvh;margin:auto auto 0;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain}#pair-sheet::backdrop{background:rgba(0,0,0,0.4)}
#pair-sheet[open]{animation:drawerSlideUp .28s cubic-bezier(0.16,1,0.3,1)}
#pair-sheet[open]::backdrop{animation:drawerFadeIn .22s ease-out}
@media(prefers-reduced-motion:reduce){#pair-sheet[open],#pair-sheet[open]::backdrop,.drawer-content,.drawer-modal::backdrop{animation:none}}.sheet-top{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,0.96);border-bottom:1px solid var(--skin-border-subtle);padding:8px 0;gap:12px}.sheet-top>span{font-size:13px}.sheet-top button{min-width:48px;min-height:40px;padding:6px 10px;font-size:13px;border:1px solid var(--skin-border);border-radius:10px;background:var(--skin-surface)}#pair-result{margin:16px auto 0;outline:none}#pair-title{margin:8px 0 16px;line-height:1.4}#pair-sides{display:block}#pair-sides .shared-side{margin:24px 0}#pair-sides .guide-conversation{margin-bottom:16px}.role-heading{display:flex;gap:10px;align-items:center;margin:16px 0}.role-heading svg{width:26px;height:26px;flex:none;color:var(--skin-accent)}.role-heading h3{margin:0;font-size:20px}.role-heading p{margin:2px 0 0;font-size:13px}.pair-perspective{font-size:12px;color:var(--skin-accent);margin:0}.role-scene{font-size:15px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}#pair-connection .relationship-map{min-height:240px}#pair-connection .map-caption,#pair-connection .map-list{display:none}#pair-connection .map-person{min-height:70px;pointer-events:none}#pair-connection .map-person strong{font-size:12px}#pair-connection .map-center{min-height:68px;width:72px}#pair-connection .map-hint{font-size:12px}#pair-connection .map-person{--node-y:20%}#pair-sides .guide-sentence{font-size:15px;line-height:1.8}.pair-next{background:var(--skin-surface-subtle)}.pair-next .primary{width:100%;box-sizing:border-box;text-align:center;min-height:46px}.pair-next h3{line-height:1.4}.map-toolbar [hidden],#profile-field[hidden],#pair-time-field[hidden]{display:none!important}@media(max-width:600px){main{padding-inline:16px}.form-section{padding-inline:0}.relationship-map-wrap{padding:12px}.relationship-map{min-height:340px}#pair-sheet{padding-inline:16px}.map-caption{flex-wrap:wrap}#share-panel,#together-history{margin-top:20px}.form-section>h2{font-size:20px}}

body[data-site-shell]>main{padding-block:28px 48px}
@media(max-width:600px){body[data-site-shell]>main{padding-block:20px 40px;padding-inline:16px}}
.wunchin-intro{display:flex;flex-direction:column;gap:20px;width:100%;max-width:100%;margin:0 auto 28px;box-sizing:border-box}
.wunchin-intro #wunchin-preview{width:100%;max-width:100%;box-sizing:border-box}
.wunchin-intro .fortune-preview{width:100%;box-sizing:border-box}
.wunchin-intro .intro-text{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:24px 20px;background:var(--skin-surface-subtle);border:1px solid var(--skin-border-subtle);border-radius:22px;box-sizing:border-box;width:100%}
.wunchin-intro .eyebrow{color:var(--skin-accent);font-size:13px;letter-spacing:-0.01em;margin:0;font-weight:700}
.wunchin-intro h1{font-size:24px;line-height:1.35;margin:0;font-weight:800;color:var(--skin-ink);letter-spacing:-0.02em;word-break:keep-all}
.wunchin-intro h1 em{font-style:normal;color:var(--skin-accent)}
.wunchin-intro p{font-size:14.5px;line-height:1.6;margin:0;color:var(--skin-subtle);word-break:keep-all}
.wunchin-intro .note{font-size:13px;color:var(--skin-subtle);margin-top:2px;line-height:1.5}

/* Fixed positions also work under the strict production CSP. */
.map-position-0{--node-x:50%;--node-y:14%}.map-position-1{--node-x:81%;--node-y:32%}.map-position-2{--node-x:81%;--node-y:68%}.map-position-3{--node-x:50%;--node-y:86%}.map-position-4{--node-x:19%;--node-y:68%}.map-position-5{--node-x:19%;--node-y:32%}

#pair-connection{border:1px solid var(--skin-border-subtle);border-radius:18px;padding:16px 12px;background:var(--skin-surface);box-shadow:0 4px 16px rgba(0,0,0,0.03)}.pair-people{display:flex;align-items:center;justify-content:center;gap:10px}.pair-people>div{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;min-width:0;text-align:center}.pair-people svg{width:28px;height:28px;color:var(--skin-accent)}.pair-people strong{font-size:14px;overflow-wrap:anywhere}.pair-people div>span{font-size:12px;word-break:keep-all;overflow-wrap:anywhere}.pair-people-line{width:28px;height:1px;background:var(--skin-surface-subtle);flex:none}#pair-connection>.map-hint{text-align:center;margin-top:14px}

.relationship-offers{margin:24px 0;border-top:1px solid var(--skin-border-subtle);padding-top:20px}.relationship-offers .offer-label{display:inline-block;border:1px solid var(--skin-border-subtle);border-radius:20px;padding:2px 8px;font-size:11px;color:var(--skin-accent);margin:0}.relationship-offers h3{font-size:19px;margin:10px 0 6px;word-break:keep-all}.offer-intro,.offer-footnote{font-size:13px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}.offer-footnote{font-size:12px;color:var(--skin-subtle)}.relationship-offer-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:14px}.relationship-offer-cards article{display:flex;gap:10px;padding:16px;border:1px solid var(--skin-border-subtle);border-radius:14px;background:var(--skin-surface);box-shadow:0 4px 14px rgba(0,0,0,0.03)}.relationship-offer-cards svg{width:24px;height:24px;flex:none;color:var(--skin-accent)}.relationship-offer-cards h4{margin:0;font-size:15px;word-break:keep-all}.relationship-offer-cards p{font-size:13px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}.relationship-offer-cards .button{font-size:13px;min-height:42px;padding:8px;white-space:normal}.relationship-offer-cards article>div{min-width:0}@media(max-width:600px){.relationship-offer-cards{grid-template-columns:1fr}}

/* Recipient first for either participant, with full names available at 320px. */
.pair-directions{display:grid;gap:12px}.pair-direction{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0}.pair-direction+.pair-direction{border-top:1px solid var(--skin-border-subtle)}.direction-icon svg{width:26px;height:26px;color:var(--skin-accent)}.pair-direction p{font-size:12px;margin:0 0 4px;color:var(--skin-subtle)}.direction-names{font-size:14px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}.pair-direction>b{font-size:17px;color:var(--skin-ink);white-space:nowrap}.role-heading p{word-break:keep-all;overflow-wrap:anywhere}#pair-sides.daily-grid{grid-template-columns:minmax(0,1fr)}

.invite-og-preview{margin:0 0 20px}.invite-og-preview img{display:block;width:100%;height:auto;border-radius:12px}.invite-og-preview figcaption{font-size:12px;line-height:1.6;margin-top:8px;word-break:keep-all}

/* The invitation starts with an understandable result, before the form. */
#wunchin-preview .fortune-example-story h3{font-family:inherit}#together-start{scroll-margin-top:100px;background:var(--skin-surface);border:1px solid var(--skin-border-subtle);border-radius:24px;padding:24px 20px;margin:24px auto 32px;box-sizing:border-box;width:100%;box-shadow:0 12px 32px rgba(229,107,111,0.05)}#together-start>h2{margin-top:0;margin-bottom:18px;font-size:21px;font-weight:800;color:var(--skin-ink);letter-spacing:-0.02em;word-break:keep-all}#together-form .form-grid label{font-size:14px;font-weight:600;color:var(--skin-ink)}#together-form input[type="text"],#together-form input[type="time"],#together-form select{min-height:48px;border-radius:12px;border:1.2px solid var(--skin-border);font-size:15px;padding:10px 14px}#together-form input[type="text"]:focus,#together-form input[type="time"]:focus,#together-form select:focus{border-color:var(--skin-border);box-shadow:none;outline:none}#together-form .note{font-size:13px;color:var(--skin-subtle);line-height:1.55}#together-form>.primary{min-height:52px;font-size:16px;font-weight:700;border-radius:14px;background:#E56B6F;box-shadow:0 4px 16px rgba(229,107,111,0.35);transition:all .2s}#together-form>.primary:hover{background:#d85a5f;transform:translateY(-1px);box-shadow:0 6px 20px rgba(229,107,111,0.45)}.relationship-map-wrap{background:radial-gradient(ellipse at 50% 48%,var(--skin-surface),var(--skin-surface-subtle));border-radius:20px;padding:16px;border:1px solid var(--skin-border-subtle)}.map-caption h3{font-size:16px}.map-caption>span{font-size:12px}.map-center{width:86px;min-height:86px;box-shadow:0 0 0 6px rgba(229,107,111,0.12);background:#E56B6F}.map-center strong{font-size:13px;max-width:68px;color:#ffffff}.map-center small{font-size:11px;color:#ffffff;opacity:0.9}.map-person{width:84px;min-height:86px;border-radius:16px;background:var(--skin-surface);padding:6px 4px;box-shadow:0 4px 14px rgba(0,0,0,0.04);border:1px solid var(--skin-border-subtle)}.node-symbol{width:26px;height:26px;border-radius:8px;background:var(--skin-surface-subtle)}.node-role{font-size:11px;font-weight:700;color:var(--skin-accent)}.map-person strong{font-size:12px}.node-new{font-size:10px;top:-10px;padding:2px 6px}.map-hint{font-size:12px;line-height:1.6}.map-empty{top:70%;font-size:13px}.map-caption{margin-bottom:12px}.map-empty-places{position:absolute;inset:0;pointer-events:none}.map-empty-place{position:absolute;left:var(--node-x);top:var(--node-y);transform:translate(-50%,-50%);width:76px;height:68px;border:1px dashed var(--skin-border-subtle);border-radius:16px;background:rgba(253,246,246,0.6);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;color:var(--skin-accent)}.map-empty-place svg{width:20px;height:20px}.map-empty-places .map-position-0{--node-y:17%}.map-empty-places .map-position-1{--node-y:39%}.map-empty-places .map-position-5{--node-y:39%}#share-title{font-size:20px}#share-description{font-size:14px;line-height:1.6}#send-map{background:#E56B6F;color:#ffffff;min-height:48px;font-size:15px;border-radius:12px;border:none;box-shadow:0 4px 16px rgba(229,107,111,0.25)}.pair-direction{padding:12px 0}.pair-direction p{font-size:13px}.direction-names{font-size:14px}.pair-direction>b{font-size:16px}.pair-next{padding:18px;background:var(--skin-surface-subtle);border-radius:16px}.pair-next h3{font-size:17px;color:var(--skin-accent)}.pair-next p{font-size:14px;line-height:1.6}#pair-sides .guide-sentence,.role-scene{font-size:14px;line-height:1.75}.role-heading h3{font-size:18px}.role-heading p{font-size:13px}#pair-sheet .role-scene h4{font-size:16px}.map-person:hover,.map-person:focus-visible{background:var(--skin-surface-subtle);border-color:var(--skin-border)}
@media(max-width:760px){.wunchin-intro{margin:8px auto 20px;gap:16px}.wunchin-intro .intro-text{padding:18px 14px;border-radius:18px}.wunchin-intro h1{font-size:21px}#together-start{padding:20px 16px;border-radius:20px;margin:16px auto 28px}#together-start>h2{font-size:19px;margin-bottom:14px}.relationship-map-wrap{padding:14px 10px}.relationship-map{min-height:340px}.map-center{width:80px;min-height:80px}.map-person{width:80px;min-height:82px;max-width:28%}.map-person strong{font-size:12px}.node-role{font-size:10px}.map-caption h3{font-size:15px}.map-caption>span{font-size:11px}.map-hint{font-size:12px}#share-title{font-size:18px}#share-description{font-size:13px}.pair-direction{grid-template-columns:22px minmax(0,1fr);gap:8px}.pair-direction>b{grid-column:2;font-size:15px}.direction-names{font-size:13px}.pair-direction p{font-size:12px}#pair-title{font-size:18px}.role-heading h3{font-size:18px}.map-empty-place{width:64px}.map-empty{font-size:12px}.pair-next{padding:16px}}

.relationship-map-wrap.fantasy-map .map-caption h3{color:var(--skin-ink)}.relationship-map-wrap.fantasy-map .map-caption>span{color:var(--skin-subtle)}.map-direction-guide{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;border-bottom:1px solid var(--skin-border-subtle);padding:0 0 14px}.map-direction-guide p{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;color:var(--skin-subtle)}.map-direction-guide strong{color:var(--skin-accent);font-size:14px}.map-direction-guide p+p strong{color:var(--skin-accent)}.fantasy-map .relationship-map{min-height:380px;max-width:440px;background:radial-gradient(ellipse at 50% 45%,#2a1628 0%,#1a0f1c 55%,#100812 100%);border:1px solid var(--skin-border-subtle);border-radius:28px;box-shadow:0 16px 36px rgba(18,6,22,0.25),inset 0 0 60px rgba(229,107,111,0.15);overflow:hidden}.fantasy-map .map-center{z-index:2;background:radial-gradient(circle at 35% 30%,#FF6584,#D8435F);border:1.5px solid var(--skin-border-subtle);color:#ffffff;box-shadow:0 0 0 8px rgba(255,101,132,0.22),0 0 35px rgba(255,101,132,0.6)}.fantasy-map .map-person{min-height:92px;max-width:29%;width:88px;border-radius:18px;background:var(--skin-surface);border:1.5px solid var(--skin-border-subtle);color:var(--skin-ink);gap:3px;box-shadow:0 8px 24px rgba(0,0,0,0.35),0 0 14px rgba(255,117,143,0.25);z-index:2}.fantasy-map .map-person:is(:hover,:focus-visible){outline:2px solid var(--skin-focus);background:var(--skin-surface);box-shadow:none}.fantasy-map .node-role{color:var(--skin-accent);font-size:12px;font-weight:700}.node-direction{font-size:11px;color:var(--skin-subtle);margin-top:2px}.node-outgoing{font-size:10px;color:var(--skin-subtle);border-top:1px solid var(--skin-border-subtle);margin-top:3px;padding-top:4px;width:100%;text-align:center}.node-outgoing b{display:block;font-size:12px;color:var(--skin-accent)}.fantasy-map .node-symbol{background:var(--skin-surface-subtle);color:var(--skin-accent);width:26px;height:26px;border-radius:8px}.fantasy-map .node-symbol svg{width:20px;height:20px}.fantasy-map .map-person>strong{font-size:13px}.fantasy-map .map-lines{stroke:rgba(255,175,195,0.4)}.fantasy-map .map-lines ellipse{stroke:rgba(255,175,195,0.35);stroke-width:1.5;stroke-dasharray:4 6;opacity:1}.fantasy-map .map-flow-in{stroke:#FF758F!important;stroke-width:2.2!important;stroke-dasharray:4 8!important;stroke-linecap:round;filter:drop-shadow(0 0 6px #FF758F) drop-shadow(0 0 12px rgba(255,117,143,0.8))!important}.fantasy-map .map-magic-ring{width:76%;border-color:var(--skin-border-subtle)!important;box-shadow:0 0 35px rgba(229,107,111,0.3),inset 0 0 35px rgba(229,107,111,0.3)!important}.fantasy-map .map-magic-ring:before,.fantasy-map .map-magic-ring:after{border-color:var(--skin-border-subtle)!important}.fantasy-map .map-stardust{opacity:.9!important;background:radial-gradient(circle at 9% 24%,#ffffff 0 1.2px,transparent 2.2px),radial-gradient(circle at 78% 47%,#FFD166 0 1.5px,transparent 2.8px),radial-gradient(circle at 32% 10%,#FFA8BA 0 1.2px,transparent 2.5px),radial-gradient(circle at 56% 86%,#ffffff 0 1px,transparent 2px),radial-gradient(circle at 94% 78%,#FF758F 0 1.5px,transparent 3px),radial-gradient(circle at 19% 81%,#FFD166 0 1.2px,transparent 2.5px),radial-gradient(circle at 45% 72%,#ffffff 0 1px,transparent 2px),radial-gradient(circle at 62% 22%,#FFA8BA 0 1.2px,transparent 2.5px)!important}.fantasy-map .map-hint,.fantasy-map .map-empty{color:var(--skin-subtle)}.fantasy-map .map-empty-place{color:var(--skin-accent);background:rgba(253,246,246,0.6);border-color:var(--skin-border)}.fantasy-map .map-list{color:var(--skin-ink);font-size:13px}.fantasy-map .map-list button{font-size:13px}.fantasy-map .map-pages span{color:var(--skin-ink)}.fantasy-map .map-pages button{background:var(--skin-surface);color:var(--skin-ink);border-color:var(--skin-border)}
@media(max-width:600px){.fantasy-map .relationship-map{min-height:360px}.fantasy-map .map-person{width:82px;min-height:86px;padding:6px 2px}.fantasy-map .node-role{font-size:11px}.fantasy-map .map-person>strong{font-size:12px}.map-direction-guide{gap:8px}.map-direction-guide p{font-size:12px}.map-direction-guide strong{font-size:13px}.fantasy-map .map-center{width:78px;min-height:78px}.fantasy-map .map-center strong{max-width:62px;font-size:12px}}
.primary-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 16px}.primary-share-actions .primary{margin:0!important}.twitter-share{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0f1419;color:#ffffff;border:none;border-radius:12px;padding:12px 18px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;text-decoration:none;box-shadow:0 4px 14px rgba(15,20,25,0.15)}.twitter-share:hover{background:#272c30;transform:translateY(-1px)}.twitter-share:active{transform:translateY(0)}@media(max-width:600px){.primary-share-actions{grid-template-columns:1fr;gap:8px}}

/* Names stay on the people; fortunes sit on the connecting edges. */
#share-panel:has(.map-network){max-width:100%}.map-network .map-viewport{height:min(78dvh,600px);min-height:460px}.map-network .map-list summary{color:var(--skin-ink)}.map-network .map-list button.secondary{color:var(--skin-ink);background:var(--skin-surface);border-color:var(--skin-border)}.map-network .map-list button.secondary span{color:var(--skin-accent)}.map-network .map-list button.secondary:hover{background:var(--skin-surface-subtle)}.map-network-world.has-active-edge [data-edge-index]{opacity:.2}.map-network-world.has-active-edge [data-edge-index].is-active{opacity:1}.map-network-world.has-active-edge path.is-active{stroke:#E56B6F;stroke-width:var(--map-line-width,1.2px)}@media(max-width:600px){.map-network .map-viewport,.map-viewport{height:460px!important;border-radius:18px}}
.map-zoom-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:12px 0 8px}.map-zoom-controls button{min-width:38px;min-height:38px;padding:6px 10px;background:var(--skin-surface);border:1px solid var(--skin-border);border-radius:10px;color:var(--skin-ink);font:inherit;font-size:15px;cursor:pointer}.map-zoom-controls button:disabled{opacity:.4;cursor:default}.map-zoom-controls output{min-width:36px;text-align:center;font-size:13px;color:var(--skin-subtle)}.map-viewport{position:relative;overflow:auto;overscroll-behavior:contain;height:480px;width:100%;margin:12px 0;border:1px solid var(--skin-border-subtle);border-radius:18px;background:radial-gradient(ellipse at center,var(--skin-surface),var(--skin-surface-subtle));cursor:grab;scrollbar-color:#E56B6F #ffffff;scrollbar-width:thin}.map-viewport:focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}.map-viewport.is-dragging{cursor:grabbing;user-select:none}.map-stage{position:relative;min-width:100%;min-height:100%}.map-network-world{position:absolute;transform-origin:0 0;isolation:isolate}.map-network-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;pointer-events:none;overflow:visible;color:var(--skin-accent)}.map-network-track{stroke:transparent!important;stroke-width:1.2;opacity:.85}.map-network-flow{stroke:#ed92ab;stroke-width:var(--map-line-width,1.2px);stroke-dasharray:var(--map-dash,3px) var(--map-gap,9px);stroke-linecap:round;opacity:.75;animation:map-network-flow 8s linear infinite}.map-network-flow.is-giving{animation-direction:reverse}@keyframes map-network-flow{to{stroke-dashoffset:var(--map-flow-offset,-60px)}}.map-network .map-person{box-sizing:border-box;width:82px!important;height:80px!important;min-height:80px!important;max-width:none;border-radius:16px!important;padding:6px 4px!important;gap:2px}.map-network .map-person strong{font-size:13px}.map-network .map-center{width:88px!important;height:88px!important;min-height:88px!important;border-radius:50%;z-index:2}.map-network .map-edge-label{box-sizing:border-box;max-width:68px;font-size:11px;padding:3px 6px}.map-network .map-magic-ring{width:90%;pointer-events:none}.map-network .map-stardust{pointer-events:none}.map-network .map-list>div{max-height:360px;overflow:auto;overscroll-behavior:contain}.map-network .map-list button[hidden]{display:none!important}.map-search-label{display:block;color:var(--skin-ink);font-size:14px;margin:12px 0 6px}.map-search-label input{display:block;box-sizing:border-box;width:100%;margin-top:6px;font:inherit;font-size:15px;min-height:44px;padding:8px 12px;border-radius:10px;border:1px solid var(--skin-border);background:var(--skin-surface);color:var(--skin-ink)}.map-network [data-map-search-status]{color:var(--skin-subtle);font-size:13px;margin:6px 0}.map-network [data-map-search-status]:empty{display:none}@media(max-width:600px){.map-zoom-controls{justify-content:center}.map-zoom-controls button{font-size:14px}.map-network .map-list>div{max-height:280px}}@media(prefers-reduced-motion:reduce){.map-network-flow{animation:none!important}}
.map-direction-controls{display:flex;gap:8px;flex-wrap:wrap}.map-direction-controls button{flex:1;min-width:0;min-height:42px;border-radius:20px;border:1px solid var(--skin-border);background:var(--skin-surface);color:var(--skin-ink);font:inherit;font-size:14px;font-weight:600;padding:8px 12px;cursor:pointer;word-break:keep-all}.map-direction-controls button[aria-pressed=true]{background:var(--skin-surface-subtle);color:var(--skin-accent);border-color:var(--skin-border)}.map-direction-controls button:focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}.map-with-edge-labels .map-person{width:76px;min-height:76px;padding:6px 4px;border-radius:18px;gap:4px}.map-with-edge-labels .node-new{font-size:10px;top:-10px;padding:2px 5px}.map-with-edge-labels .node-symbol{width:24px;height:24px}.map-with-edge-labels .map-center{width:78px;min-height:78px}.map-with-edge-labels .map-center strong{font-size:13px;max-width:60px}.map-edge-label{position:absolute;transform:translate(-50%,-50%);z-index:2;border:1.2px solid var(--skin-border-subtle);border-radius:14px;background:var(--skin-surface);color:var(--skin-accent);font-size:11.5px;font-weight:700;line-height:1.4;padding:3px 8px;white-space:nowrap;pointer-events:none;box-shadow:0 2px 8px rgba(0,0,0,0.06)}.map-edge-position-0{left:50%;top:31%}.map-edge-position-1{left:65%;top:40%}.map-edge-position-2{left:65%;top:60%}.map-edge-position-3{left:50%;top:69%}.map-edge-position-4{left:35%;top:60%}.map-edge-position-5{left:35%;top:40%}.map-lines .map-edge-track{stroke:#f6e8e8;stroke-width:.5;fill:none;color:var(--skin-accent)}.map-with-edge-labels .relationship-map{min-height:400px;max-width:100%}
@media(max-width:600px){.map-with-edge-labels .map-person{width:68px;min-height:70px;max-width:26%;padding:5px 2px}.map-with-edge-labels .map-person>strong{font-size:11.5px}.map-with-edge-labels .map-center{width:68px;min-height:68px}.map-edge-label{font-size:10.5px;padding:2px 6px}.map-with-edge-labels .relationship-map{min-height:380px}.map-direction-controls button{font-size:13px}}

/* History & relationship records section */
#together-history{
  background:var(--skin-surface);
  border:1px solid var(--skin-border-subtle);
  border-radius:24px;
  padding:28px 24px;
  margin:24px auto 0;
  box-sizing:border-box;
  width:100%;
  box-shadow:0 12px 32px rgba(229,107,111,0.05);
  line-height:1.6;
}
#together-history .eyebrow{
  color:var(--skin-accent);
  font-size:13px;
  font-weight:700;
  letter-spacing:-0.01em;
  margin:0 0 6px;
}
#together-history h2{
  margin:0 0 20px;
  font-size:21px;
  font-weight:800;
  color:var(--skin-ink);
  letter-spacing:-0.02em;
  font-family:inherit;
  word-break:keep-all;
}
#together-history h3{
  margin:26px 0 12px;
  font-size:16px;
  font-weight:700;
  color:var(--skin-ink);
  font-family:inherit;
  word-break:keep-all;
}
#my-boards{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0 0 4px;
}
#my-boards>p,
#my-participations>p{
  background:var(--skin-surface-subtle);
  border:1px dashed var(--skin-border);
  border-radius:16px;
  padding:20px 16px;
  color:var(--skin-subtle);
  font-size:14px;
  text-align:center;
  margin:0;
  line-height:1.6;
  word-break:keep-all;
}
.board-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:var(--skin-surface);
  border:1.2px solid var(--skin-border-subtle);
  border-radius:18px;
  padding:18px 20px;
  margin:0;
  box-shadow:0 4px 16px rgba(229,107,111,0.04);
  transition:border-color .2s,box-shadow .2s;
}
.board-card:hover{
  border-color:var(--skin-border);
  box-shadow:0 6px 20px rgba(229,107,111,0.1);
}
.board-card>div{
  min-width:0;
  flex:1;
}
.board-card .eyebrow{
  color:var(--skin-accent);
  font-size:12px;
  font-weight:700;
  margin:0 0 4px;
}
.board-card h3{
  font-size:17px;
  font-weight:700;
  color:var(--skin-ink);
  margin:0 0 4px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.board-card p{
  font-size:13.5px;
  color:var(--skin-subtle);
  margin:0;
  line-height:1.5;
}
.board-card button{
  flex-shrink:0;
  border-radius:12px;
  font-size:14px;
  font-weight:600;
  padding:8px 16px;
  min-height:42px;
  margin:0;
}
#my-participations.library-grid{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
}
#my-participations button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  text-align:left;
  font-size:14px;
  font-weight:600;
  color:var(--skin-ink);
  padding:14px 18px;
  border:1.2px solid var(--skin-border);
  border-radius:14px;
  background:var(--skin-surface);
  transition:all .2s;
  cursor:pointer;
  line-height:1.5;
}
#my-participations button:hover{
  border-color:var(--skin-border);
  background:var(--skin-surface-subtle);
  color:var(--skin-accent);
}
@media(max-width:760px){
  #together-history{
    padding:20px 16px;
    border-radius:20px;
    margin:16px auto 0;
  }
  #together-history h2{
    font-size:19px;
    margin-bottom:16px;
  }
}

/* Friends are identified by name; fortunes stay on the connecting lines. */
.fantasy-map .map-person{justify-content:center;padding:10px 6px}
.fantasy-map .map-person>strong{font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.map-network .map-viewport{background:radial-gradient(ellipse at 50% 45%,#2a1628 0%,#1a0f1c 55%,#100812 100%);border-color:var(--skin-border-subtle);box-shadow:inset 0 0 60px rgba(229,107,111,.15);scrollbar-color:#d985a0 #1a0f1c}

/* Match the renewed preview nodes without moving their connection anchors. */
.fantasy-map .map-person{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background-color .2s ease}
.fantasy-map .map-person:focus-visible{transform:translate(-50%,-50%) scale(1.08);border-color:var(--skin-border);box-shadow:none;z-index:3}
@media(hover:hover) and (pointer:fine){.fantasy-map .map-person:hover{transform:translate(-50%,-50%) scale(1.08);border-color:var(--skin-border);box-shadow:0 0 24px rgba(255,101,132,.6);z-index:3}}
.fantasy-map .map-person:active{background:var(--skin-surface-subtle);border-color:var(--skin-border)}
@media(prefers-reduced-motion:reduce){.fantasy-map .map-person{transition:none}.fantasy-map .map-person:is(:hover,:focus-visible){transform:translate(-50%,-50%)}}

/* Owner workspace: renewal palette, clear hierarchy and a map-first flow. */
body.has-owner-map[data-site-shell]>main{width:100%;max-width:var(--site-content-width,540px);margin-inline:auto;padding:32px 28px 72px;box-sizing:border-box}
.has-owner-map #share-panel{margin:16px 0 0;padding:0;border:0;background:none;box-shadow:none;outline:none}
.owner-heading{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:28px}
.owner-heading .eyebrow{margin:0 0 10px;color:var(--skin-accent);font-size:14px;font-weight:700;letter-spacing:.06em}
#share-title{font-size:clamp(28px,3.5vw,42px);line-height:1.25;margin:0 0 14px;word-break:keep-all;overflow-wrap:anywhere}
#share-description{font-size:18px;line-height:1.75;color:var(--skin-subtle);max-width:36em;margin:0}
.owner-stats{display:flex;flex-shrink:0;gap:32px;margin:0;padding:0}
.owner-stats>div{display:flex;flex-direction:column;gap:8px}.owner-stats dt{font-size:13px;color:var(--skin-subtle)}.owner-stats dd{margin:0;font-size:28px;font-weight:700;color:var(--skin-accent)}
.owner-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.owner-workspace #owner-map{min-width:0;margin:0}
.owner-workspace .relationship-map-wrap{padding:0;border:0;background:transparent;box-shadow:none}
.owner-workspace .map-caption{display:none}
.owner-workspace .map-direction-controls{margin:0 0 16px}
.owner-workspace .map-viewport{height:570px;min-height:0;border-radius:24px;margin:14px 0 18px}
.owner-workspace .relationship-map{max-width:none;min-height:440px}
.owner-workspace .map-hint{font-size:14px;color:var(--skin-subtle);line-height:1.6}
.owner-workspace .map-list{font-size:16px;margin-top:20px}.owner-workspace .map-list summary{font-weight:600}.owner-workspace .map-list button{font-size:16px;padding:12px 14px;border-radius:12px}.owner-workspace .map-list button span{font-size:14px}
.owner-invite{padding:24px;border:1px solid var(--skin-border-subtle);border-radius:24px;background:linear-gradient(145deg,#fff,#fff2f5);box-sizing:border-box;position:static}
.owner-invite .eyebrow{font-size:13px;color:var(--skin-accent);font-weight:700;margin:0 0 12px}
#owner-invite-title{font-family:inherit;font-size:24px;line-height:1.5;font-weight:700;margin:0 0 16px;word-break:keep-all}
.owner-invite-description{font-size:16px;line-height:1.8;color:var(--skin-subtle);margin-bottom:20px}.owner-invite-description br{display:none}
.owner-invite .invite-og-preview-card{margin:0 0 16px;padding:0;border:1px solid var(--skin-border-subtle);border-radius:18px;overflow:hidden;background:var(--skin-surface);box-shadow:0 6px 20px rgba(229,107,111,0.08)}
.owner-invite .invite-og-preview-card img{display:block;width:100%;height:auto;border-radius:0}
:is(.owner-invite,.share-preview) .primary-share-actions{display:flex;flex-direction:column;gap:10px;margin:0 0 14px}
:is(.owner-invite,.share-preview) .primary-share-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:0;min-height:50px;border-radius:14px;font-size:16px;font-weight:700;padding:12px;cursor:pointer;transition:transform .2s,background .2s,box-shadow .2s;box-shadow:0 4px 14px rgba(0,0,0,0.06)}
:is(.owner-invite,.share-preview) .kakao-share{background:#FEE500;color:#191919;border:1px solid #FEE500}
:is(.owner-invite,.share-preview) .kakao-share:hover:not(:disabled){background:#f2da00;border-color:#f2da00;transform:translateY(-1px);box-shadow:0 6px 18px rgba(254,229,0,0.35)}
:is(.owner-invite,.share-preview) .kakao-share:active:not(:disabled){transform:translateY(0)}
:is(.owner-invite,.share-preview) .kakao-share svg{width:20px;height:20px;flex:none}
:is(.owner-invite,.share-preview) .primary-share{background:#e06d75;color:#ffffff;border:1px solid var(--skin-border-subtle)}
:is(.owner-invite,.share-preview) .primary-share:hover:not(:disabled){background:#d85a63;border-color:var(--skin-border-subtle);transform:translateY(-1px);box-shadow:0 6px 18px rgba(224,109,117,0.35)}
:is(.owner-invite,.share-preview) .primary-share:active:not(:disabled){transform:translateY(0)}
:is(.owner-invite,.share-preview) .primary-share svg{width:20px;height:20px;flex:none}
.owner-free-note{font-size:13px;line-height:1.65;color:var(--skin-subtle);margin:4px 0 18px;text-align:center;word-break:keep-all}
.owner-invite .information{padding-block:16px;margin:0;border-color:var(--skin-border)}.owner-invite summary{font-size:15px}.owner-invite textarea{font-size:15px;line-height:1.7}.owner-invite .share-buttons{display:flex;flex-wrap:wrap;gap:8px}.owner-invite .share-buttons button{font-size:13px;min-height:40px}
.owner-invite #share-status,.owner-invite #relationship-link-note{font-size:13px;line-height:1.6;word-break:keep-all}.owner-invite #share-status:empty{display:none}
.has-owner-map .map-toolbar{justify-content:flex-end;padding:0;margin:0}.has-owner-map .map-toolbar button{border-radius:20px;font-size:14px;padding:8px 16px}.has-owner-map #map-refresh-status:empty{display:none}
.has-owner-map #together-history{margin:40px 0 0;padding:28px 0;border:0;border-top:1px solid var(--skin-border-subtle);border-radius:0;background:none;box-shadow:none}.has-owner-map #together-history h2{font-size:26px}.has-owner-map #my-boards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.has-owner-map .board-card{margin:0}.has-owner-map #map-offers{margin-top:32px}
@media(max-width:850px){.owner-workspace{grid-template-columns:minmax(0,1fr)}.owner-invite{position:static}.owner-heading{align-items:flex-start;flex-direction:column;gap:18px}.owner-stats{padding:0;gap:32px}:is(.owner-invite,.share-preview) .primary-share-actions{grid-template-columns:1fr}}
@media(max-width:600px){body.has-owner-map[data-site-shell]>main{padding:20px 16px 100px}.owner-heading{margin-bottom:24px}#share-title{font-size:30px}#share-description{font-size:17px}.owner-stats dd{font-size:24px}.owner-workspace{gap:24px}.owner-invite{padding:22px 20px}:is(.owner-invite,.share-preview) .primary-share-actions{grid-template-columns:1fr}.owner-workspace .relationship-map{min-height:380px}.has-owner-map #my-boards{grid-template-columns:1fr}.has-owner-map .map-toolbar{justify-content:flex-start}.owner-workspace .map-list button{font-size:15px}}

/* Compact sharing and secondary controls within the established page width. */
.owner-invite .share-options{border:0;border-top:1px solid var(--skin-border);margin-top:14px;padding:0}
.owner-invite .share-options>summary{padding:14px 0;font-weight:600;font-size:15px;cursor:pointer;color:var(--skin-subtle)}
.owner-invite .share-options label{font-size:14px;color:var(--skin-subtle)}
.owner-invite #share-copy{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:14px 16px;border:1px solid var(--skin-border-subtle);border-radius:14px;background:var(--skin-surface);line-height:1.75;font-size:15px;resize:vertical;word-break:keep-all;overflow-wrap:anywhere}
.owner-invite .share-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}
.owner-invite .share-buttons button{min-height:46px;margin:0;border-radius:12px;font-size:15px}
.owner-settings{margin-top:28px;border:1px solid var(--skin-border-subtle);border-radius:20px;padding:20px;background:var(--skin-surface-subtle)}
.owner-settings>h2{font-family:inherit;font-size:18px;font-weight:700;margin:0 0 8px}
.owner-settings>.information{margin:0;padding:14px 0;border:0;border-bottom:1px solid var(--skin-border-subtle)}.owner-settings>.information:last-child{border:0;padding-bottom:0}.owner-settings summary{font-size:16px;font-weight:500}.owner-settings p{font-size:14px;line-height:1.75;color:var(--skin-subtle)}
.has-owner-map #together-history{margin-top:28px;padding-top:24px}.has-owner-map #together-history h2{font-size:22px;margin:0 0 18px}.has-owner-map #my-boards{gap:10px}
.has-owner-map .board-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-radius:16px;box-shadow:none;background:var(--skin-surface-subtle)}
.has-owner-map .board-card>div{min-width:0}.has-owner-map .board-card h3{font-size:16px;line-height:1.5;margin:0;overflow-wrap:anywhere;word-break:keep-all}.has-owner-map .board-card p{font-size:14px;margin:6px 0 0;line-height:1.6}.has-owner-map .board-card button{flex-shrink:0;min-height:44px;margin:0;padding:8px 14px;border-radius:12px}
#map-offers .relationship-offers{margin-top:28px}#map-offers .relationship-offers>h3{font-size:22px;margin:8px 0}#map-offers .offer-intro{font-size:14px;color:var(--skin-subtle);margin:0 0 16px}#map-offers .relationship-offer-cards article{padding:20px;border-radius:18px;box-shadow:none}#map-offers .relationship-offer-cards h4{margin:0 0 8px;font-size:18px}#map-offers .relationship-offer-cards p{font-size:16px;line-height:1.75;margin:0 0 14px}

/* Typography roles shared by the renewed form, map and relationship reader. */
body.together-page{--together-body:18px;--together-label:16px;--together-caption:14px;--together-heading:24px}
body.together-page .header-map-link{font-size:14px}
body.together-page #share-description,
body.together-page .owner-invite-description,
body.together-page #pair-sides .guide-sentence,
body.together-page .role-scene,
body.together-page #map-offers .relationship-offer-cards p{font-size:var(--together-body);line-height:1.75;word-break:keep-all;overflow-wrap:anywhere}
body.together-page #owner-invite-title,
body.together-page #together-history h2,
body.together-page #map-offers .relationship-offers>h3{font-size:var(--together-heading);line-height:1.45}
body.together-page #together-form :is(label,summary),
body.together-page .owner-settings :is(label,summary),
body.together-page .owner-invite :is(summary,label,textarea),
body.together-page .owner-invite button,
body.together-page #together-history .board-card h3{font-size:var(--together-label);line-height:1.65}
body.together-page .owner-free-note,
body.together-page .owner-stats dt,
body.together-page .owner-settings p,
body.together-page #relationship-link-note,
body.together-page #share-status,
body.together-page #map-offers .offer-intro,
body.together-page #together-history .board-card p,
body.together-page #together-form .note{font-size:var(--together-caption);line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
@media(min-width:851px){body.together-page{--together-body:20px;--together-label:17px;--together-caption:15px;--together-heading:26px}body.together-page .header-map-link{font-size:15px}}

/* One count summary and readable, numbered friend rows. */
.together-page .map-list>div{display:grid;grid-template-columns:1fr;gap:8px}
.together-page .map-list .friend-list-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;text-align:left;background:var(--skin-surface);border:1px solid var(--skin-border-subtle);border-radius:16px}
.together-page .map-list .friend-list-row .friend-number{display:grid;place-items:center;flex:0 0 30px;width:30px;min-width:30px;max-width:30px;height:30px;box-sizing:border-box;padding:0;aspect-ratio:1;border-radius:50%;background:var(--skin-surface-subtle);color:var(--skin-subtle);font-size:14px;text-align:center;line-height:1}
.together-page .map-list .friend-name{flex:1;min-width:0;font-size:var(--together-label);overflow-wrap:anywhere}
.together-page .map-list .friend-fortune{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:70px;box-sizing:border-box;border-radius:99px;background:var(--skin-surface-subtle);color:var(--skin-accent);padding:5px 11px;font-size:14px;text-align:center;white-space:nowrap}
.together-page .map-list .friend-unread{width:6px;min-width:6px;max-width:6px;height:6px;padding:0;border-radius:50%;background:#ed6888;flex:0 0 6px}
.together-page .map-unread-count{font-size:var(--together-caption);color:var(--skin-subtle);font-weight:400}

/* Shared map identity and screen-sized strokes, including maps of 1–6 friends. */
.together-page .owner-workspace .map-caption{display:flex;margin-bottom:16px}
.together-page .owner-workspace .map-caption h3{font-family:inherit;font-size:var(--together-heading);line-height:1.4;overflow-wrap:anywhere}
.together-page #share-panel{scroll-margin-top:110px}
.together-page .share-buttons button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.together-page .share-buttons button svg{width:20px;height:20px;flex:0 0 20px}
.together-page .map-list .friend-unread{background:#b52b60}
.together-page .fantasy-map .map-lines .map-flow-in{vector-effect:non-scaling-stroke;stroke-width:1.2px!important;stroke-dasharray:3 9!important;filter:none!important}
.together-page .fantasy-map .map-lines .map-edge-track{vector-effect:non-scaling-stroke;stroke:transparent!important;stroke-width:1.2px!important}
.together-page .fantasy-map .map-lines ellipse{vector-effect:non-scaling-stroke;stroke-width:1px!important;stroke-dasharray:3 9!important;opacity:.35}

#together-form>#create-or-join.kakao-login{background:#FEE500;color:#191919;border-color:#FEE500;box-shadow:0 4px 16px rgba(254,229,0,.2)}
#together-form>#create-or-join.kakao-login:hover:not(:disabled){background:#f2da00;border-color:#f2da00;box-shadow:0 6px 20px rgba(254,229,0,.28)}
#together-form>#create-or-join.kakao-login:focus-visible{outline:2px solid var(--skin-focus);outline-offset:3px}

.profile-auto-badge{display:inline-flex;align-items:center;gap:6px;background:var(--skin-surface-subtle);border:1px solid var(--skin-border-subtle);color:var(--skin-subtle);font-size:13.5px;font-weight:600;padding:6px 14px;border-radius:20px;margin:4px 0 16px}
.profile-auto-badge[hidden]{display:none!important}

.new-map-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:48px;font-size:15px;font-weight:700;border-radius:14px;background:var(--skin-surface);border:1.5px dashed var(--skin-border);color:var(--skin-accent);margin-top:10px;margin-bottom:28px;cursor:pointer;transition:background .2s,border-color .2s}
.new-map-btn:hover{background:var(--skin-surface-subtle);border-color:var(--skin-border)}
.new-map-btn:focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}
.new-map-btn[hidden]{display:none!important}

.friend-list-empty{padding:20px 14px;text-align:center;background:var(--skin-surface);border:1px dashed var(--skin-border-subtle);border-radius:16px}
.friend-list-empty .note{margin:0;font-size:13.5px;color:var(--skin-subtle);line-height:1.6}

.profile-auto-badge .badge-icon{font-size:14px}

/* New Map Drawer Modal (Bottom-up Drawer) */
.drawer-modal:not([open]){display:none!important}
.drawer-modal[open]{position:fixed;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;padding:0;margin:0;border:none;background:transparent;display:flex;flex-direction:column;justify-content:flex-end;z-index:100}
.drawer-modal::backdrop{background:rgba(30,20,24,0.45);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:drawerFadeIn .22s ease-out}
.drawer-content{background:var(--skin-surface);width:100%;max-width:var(--site-content-width,540px);margin:0 auto;padding:14px 22px calc(24px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;box-shadow:0 -10px 40px rgba(229,107,111,0.12),0 -2px 10px rgba(0,0,0,0.05);border-top:1px solid var(--skin-border-subtle);box-sizing:border-box;animation:drawerSlideUp .28s cubic-bezier(0.16,1,0.3,1)}
@keyframes drawerFadeIn{from{opacity:0}to{opacity:1}}
@keyframes drawerSlideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.drawer-handle{width:38px;height:4.5px;border-radius:3px;background:var(--skin-surface-subtle);margin:0 auto 16px}
.drawer-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.drawer-header h2{font-size:20px;font-weight:700;color:var(--skin-ink);margin:0;line-height:1.35}
.drawer-close{background:none;border:none;padding:8px;color:var(--skin-subtle);cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:color .15s,background-color .15s}
.drawer-close:hover{color:var(--skin-ink);background-color:var(--skin-surface-subtle)}
.drawer-close:focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}
.drawer-description{font-size:14px;color:var(--skin-subtle);margin:0 0 20px;line-height:1.55;word-break:keep-all}
.drawer-subnote{font-size:12.5px;color:var(--skin-subtle)}
.drawer-fields{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}
.drawer-fields label{font-size:14px;font-weight:600;color:var(--skin-ink);display:flex;flex-direction:column;gap:6px}
.drawer-fields input{font-size:15px;padding:13px 14px;border:1.5px solid var(--skin-border);border-radius:12px;background:var(--skin-surface);color:var(--skin-ink);box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
.drawer-fields input:focus{border-color:var(--skin-border);outline:none;box-shadow:none}
.drawer-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:10px}
.drawer-actions button{min-height:48px;font-size:15px;font-weight:700;border-radius:12px}

#together-login-note{margin-top:8px;text-align:center}
/* Reserve the action's space, but never flash the wrong CTA before auth resolves. */
#together-form[data-entry-pending] #create-or-join{visibility:hidden;pointer-events:none}

/* Screenshot-matched owner view; do not resize the zoomable network world. */
body.together-page.has-owner-map{--together-body:16px;--together-label:13px;--together-caption:12px;--together-heading:22px}
body.together-page.has-owner-map[data-site-shell]>main{padding:24px 22px 80px}
.has-owner-map .owner-workspace{gap:24px}
.together-page .owner-workspace .map-caption{flex-wrap:nowrap;align-items:center;gap:16px;margin-bottom:16px}
.together-page .owner-workspace .map-caption h3{font-size:22px;line-height:1.4}
.owner-workspace .map-caption>span{flex-shrink:0;font-size:11px}
.owner-workspace .map-direction-controls{gap:6px;margin:0 0 14px}
.owner-workspace .map-direction-controls button{min-height:36px;padding:6px 10px;font-size:12px}
.owner-workspace .map-with-edge-labels .relationship-map{min-height:360px;max-width:100%;border-radius:24px;box-sizing:border-box}
.owner-workspace .map-with-edge-labels .map-center{width:64px;min-height:64px;padding:6px;box-shadow:0 0 0 7px rgba(255,101,132,.22),0 0 32px rgba(255,101,132,.5)}
.owner-workspace .map-with-edge-labels .map-center svg{width:18px;height:18px}
.owner-workspace .map-with-edge-labels .map-center strong{font-size:12px;max-width:52px}
.owner-workspace .map-empty-place{width:62px;min-height:56px;padding:7px;box-sizing:border-box;border-radius:13px;font-size:10px}
.owner-workspace .map-empty{top:72%;font-size:11px;color:var(--skin-subtle)}
.owner-workspace .map-hint{font-size:12px;margin-top:4px}
.owner-workspace .map-list{margin-top:14px;font-size:13px}
.owner-workspace .map-list summary{font-weight:400}
.owner-workspace .friend-list-empty{padding:18px 12px;border-radius:14px}
.owner-workspace .friend-list-empty .note{font-size:12px}
.has-owner-map .owner-invite{padding:20px;border-radius:22px;background:linear-gradient(145deg,#fffafb,#fff4f7)}
.has-owner-map .owner-invite .eyebrow{font-size:11px;letter-spacing:.1em;margin-bottom:10px}
.has-owner-map #owner-invite-title{margin-bottom:16px}
.has-owner-map .owner-invite-description{margin:0 0 20px}
.has-owner-map .owner-invite .invite-og-preview-card{border-radius:16px;margin-bottom:12px}
.has-owner-map :is(.owner-invite,.share-preview) .primary-share-actions{gap:12px;margin-bottom:20px}
.has-owner-map :is(.owner-invite,.share-preview) .primary-share-actions button{min-height:44px;padding:10px;border-radius:12px}
.has-owner-map :is(.owner-invite,.share-preview) .primary-share-actions svg{width:16px;height:16px}
.has-owner-map .owner-free-note{margin-bottom:18px}
.has-owner-map .owner-invite .share-options>summary{font-size:12px}
.has-owner-map #map-offers{margin-top:24px}
.has-owner-map #map-offers .relationship-offers{margin:0;padding-top:20px}
.has-owner-map #map-offers .relationship-offer-cards article{padding:18px;border-radius:16px}
.has-owner-map #map-offers .relationship-offer-cards h4{font-size:15px}
.has-owner-map .owner-settings{margin-top:24px;padding:16px;border-radius:18px}
.has-owner-map .owner-settings>h2{font-size:16px}
.has-owner-map #together-history{margin-top:24px;padding-top:20px}
.has-owner-map #together-history h2{margin-bottom:18px}
.has-owner-map .board-card{padding:20px 14px;border-radius:14px;min-height:96px;box-sizing:border-box}
.has-owner-map .board-card button{font-size:12px;padding:8px 12px;border-radius:10px;min-height:38px}
.has-owner-map #together-history>h3{font-size:13px;margin:24px 0 12px}
.has-owner-map .new-map-btn{min-height:48px;font-size:12px;margin:8px 0 24px;border-radius:12px}
.has-owner-map #my-participations>p:only-child{margin:0;padding:18px 12px;border:1px dashed var(--skin-border-subtle);border-radius:14px;background:var(--skin-surface-subtle);text-align:center;font-size:12px;color:var(--skin-subtle)}
@media(max-width:360px){
 body.together-page.has-owner-map[data-site-shell]>main{padding-inline:14px}
 .together-page .owner-workspace .map-caption{flex-wrap:wrap;gap:4px}
 .together-page .owner-workspace .map-caption h3{font-size:20px}
 .has-owner-map .owner-invite{padding:16px}
}

.share-preview .invite-og-preview-card{margin:0 0 16px;overflow:hidden;border:1px solid var(--skin-border-subtle);border-radius:18px;background:var(--skin-surface-subtle)}.share-preview .invite-og-preview-card img{display:block;width:100%;height:auto}.share-preview .primary-share-actions button:disabled{cursor:default}

.together-page :is(.intro-text h1,.intro-text h2,.owner-invite h2,.owner-settings h3){color:var(--skin-ink)}
.together-page :is(.owner-invite-description,.owner-free-note,.owner-settings p,.share-options label){color:var(--skin-subtle)}
.together-page :is(.intro-text,.relationship-map-wrap){border-color:var(--skin-border)}
/* Wunchin P0: flowers appear only for server confirmed relationships. */
.garden-teaser{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:16px;border:1px solid var(--skin-border);border-radius:16px;background:linear-gradient(110deg,#291a34,#563452);color:#fff}.garden-teaser>span{font-size:30px;color:#ffd69a}.garden-teaser strong,.garden-teaser small{display:block}.garden-teaser small{font-size:12px;opacity:.85}.relationship-flower{display:block;color:#d95179;font-size:28px;line-height:1;text-shadow:0 1px 5px #ffb9c9}.map-person .relationship-flower{flex:none}.visit-share{padding:14px;border:1px solid var(--skin-border);border-radius:14px;background:var(--skin-surface-subtle);margin:12px 0 18px}.visit-share button{min-height:44px;width:100%;white-space:normal}.visit-share p{font-size:13px;line-height:1.5;margin:8px 0}.visit-share[hidden]{display:none}
/* The small map is a quiet pond; relationship data stays in real buttons and list rows. */
.together-page.has-owner-map .owner-workspace{gap:14px}
.together-page.has-owner-map .garden-teaser{min-height:72px;box-sizing:border-box;border:1px solid #dbd1e5;border-radius:22px;background:radial-gradient(circle at 82% 15%,#f7eac5 0 6%,transparent 6.5%),linear-gradient(125deg,#2d304e,#565077 65%,#777393);box-shadow:0 10px 24px #372b4b22}
.together-page .pond-map .map-caption{display:flex}
.together-page .pond-map .relationship-map{isolation:isolate;min-height:480px;max-width:100%;box-sizing:border-box;overflow:hidden;border:1px solid #d9dbbd;border-radius:28px;background:radial-gradient(ellipse 56% 37% at 54% 53%,#b8dad0 0 54%,#8ebfb6 69%,transparent 70%),radial-gradient(ellipse at 51% 49%,#d9e6bd 0 65%,#e9e1b9 78%,#f7edcd 100%);box-shadow:inset 0 0 30px #688e8044,0 12px 28px #6b815222}
.together-page .pond-map .relationship-map::before{content:"";position:absolute;inset:8% 4%;z-index:-1;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse 12% 5% at 29% 28%,#f9fff9a8 0 70%,transparent 75%),radial-gradient(ellipse 13% 5% at 72% 64%,#f9fff9a8 0 70%,transparent 75%),radial-gradient(ellipse 14% 8% at 26% 72%,#669b6b90 0 65%,transparent 70%),radial-gradient(ellipse 12% 7% at 79% 22%,#62936c88 0 65%,transparent 70%)}
.together-page .pond-map .relationship-map::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(74deg,transparent 0 8%,#607c4b88 8.2% 8.6%,transparent 8.8%),linear-gradient(97deg,transparent 0 88%,#607c4b88 88.2% 88.6%,transparent 88.8%);opacity:.32}
.together-page .pond-map .map-lines,.together-page .pond-map .map-magic-ring,.together-page .pond-map .map-stardust{display:none}
.together-page .pond-map .map-center{width:66px;min-height:66px;background:#fff9e9;color:#516051;border:2px solid #d4bea0;box-shadow:0 4px 14px #52696144}
.together-page .pond-map .map-center svg{color:#a47884}.together-page .pond-map .map-center strong,.together-page .pond-map .map-center small{color:#475748}
.together-page .pond-map .map-person{width:92px;min-height:96px;max-width:28%;box-sizing:border-box;justify-content:center;gap:5px;padding:6px;border:1px solid #dfcbbf;border-radius:18px;background:#fffaf1;color:#503f4b;box-shadow:0 5px 13px #52696140}
.together-page .pond-map .map-person>strong{max-width:100%;font-size:13px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.together-page .pond-map .map-edge-label{z-index:3;max-width:88px;overflow:hidden;text-overflow:ellipsis;border-color:#dbcfab;background:#fff8e3;color:#5b5847;box-shadow:0 2px 7px #52696130}
.together-page .pond-map .map-edge-position-0{top:28%}.together-page .pond-map .map-edge-position-1{left:63%;top:38%}.together-page .pond-map .map-edge-position-2{left:63%;top:63%}.together-page .pond-map .map-edge-position-3{top:73%}.together-page .pond-map .map-edge-position-4{left:37%;top:63%}.together-page .pond-map .map-edge-position-5{left:37%;top:38%}
.together-page .pond-map .relationship-flower{position:relative;width:34px;height:33px;filter:drop-shadow(0 2px 2px #a05c7777)}
.together-page .pond-map .relationship-flower i{position:absolute;left:11px;top:2px;width:13px;height:26px;border:1px solid #c66788;border-radius:80% 5% 80% 5%;background:linear-gradient(#fff5fa,#ec8dab);transform-origin:50% 90%}
.together-page .pond-map .relationship-flower i:first-child{transform:rotate(-45deg)}.together-page .pond-map .relationship-flower i:nth-child(2){transform:rotate(0deg)}.together-page .pond-map .relationship-flower i:last-child{transform:rotate(45deg)}
.together-page .pond-map .map-empty{top:74%;padding:0 16px;box-sizing:border-box;color:#354e48;font-weight:600;text-shadow:0 1px #fff9}
.together-page .pond-map .map-hint{margin-top:12px;color:#655b54}.together-page .pond-map .map-list{padding:10px 14px;border:1px solid #eadfc9;border-radius:18px;background:#fffdf7}
.together-page .pond-map .map-direction-controls button[aria-pressed=true]{background:#e5f0e6;color:#355f56;border-color:#93b8a2}
.together-page .garden-invite-shortcut{display:none}
.together-page.has-owner-map #pair-sheet{background:#fffaf1}.together-page #pair-sheet .shared-side{padding:16px;border:1px solid #eddfd1;border-radius:18px;background:#fffdf8}.together-page #pair-sheet .sheet-top{background:#fffaf1}
@media(max-width:600px){
 .together-page.has-owner-map .owner-workspace{gap:12px}
 .together-page .pond-map .relationship-map{min-height:440px}
 .together-page .pond-map .map-person{width:76px;min-height:86px;max-width:25%;padding:5px 3px}
 .together-page .pond-map .map-person>strong{font-size:11px}
 .together-page .pond-map .map-edge-label{display:none}
 .together-page .pond-map .map-center{width:58px;min-height:58px}
 .together-page .garden-invite-shortcut{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:12px 20px;border:1px solid #d6b836;border-radius:17px;background:#ffe36a;color:#3d301d;box-shadow:0 7px 20px #705c2d55;font:inherit;font-weight:800;cursor:pointer}
 .together-page .garden-invite-shortcut:disabled{opacity:.55;cursor:not-allowed}
 .together-page .garden-invite-shortcut:focus-visible{outline:3px solid #6454a1;outline-offset:2px}
 .together-page .owner-invite{margin-top:8px}
 .together-page.has-owner-map #pair-sheet{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media(max-width:380px){.together-page .pond-map .map-person{width:67px;min-height:82px}.together-page .pond-map .map-edge-label{max-width:59px;padding:2px 4px}.together-page .pond-map .map-edge-position-1,.together-page .pond-map .map-edge-position-2{left:65%}.together-page .pond-map .map-edge-position-4,.together-page .pond-map .map-edge-position-5{left:35%}}
@media(prefers-reduced-motion:reduce){.together-page .pond-map .map-person{transition:none}}
.together-page .pond-map .relationship-map::before{z-index:0}.together-page .pond-map .relationship-map::after{z-index:1}.together-page .pond-map .map-empty{z-index:2}
.map-network .relationship-flower{display:block;width:24px;height:24px;position:relative;flex:none}.map-network .relationship-flower i{position:absolute;top:2px;left:8px;width:9px;height:18px;border-radius:80% 5% 80% 5%;background:#ed9bb4;border:1px solid #c66788;transform-origin:50% 90%}.map-network .relationship-flower i:first-child{transform:rotate(-45deg)}.map-network .relationship-flower i:last-child{transform:rotate(45deg)}
/* Cream garden surfaces keep dark text even when the site uses Midnight Library. */
:root[data-skin="midnight-library"] body.together-page :is(.owner-invite,#pair-sheet,.pond-map .map-list){--skin-ink:#2d2830;--skin-ink-strong:#241f28;--skin-subtle:#5f5861;--skin-surface:#fffaf1;--skin-surface-subtle:#f7efdf;--skin-border:#d6c8b8;--skin-border-subtle:#e8dac9;--skin-accent:#74536d;--skin-focus:#594b9a;color:var(--skin-ink)}
:root[data-skin="midnight-library"] body.together-page #pair-sheet{background:#fffaf1}
:root[data-skin="midnight-library"] body.together-page #pair-sheet .sheet-top{color:#2d2830}
:root[data-skin="midnight-library"] body.together-page .owner-invite{background:#fffaf1}

/* Relationship entry: one decision at a time, with the original consent and form data. */
body.together-page .pair-step[hidden]{display:none!important}body.together-page .pair-step-count{font-size:13px;font-weight:700;color:var(--skin-accent);margin:0 0 16px}body.together-page .pair-step-controls{display:flex;gap:10px;margin:18px 0}body.together-page .pair-step-controls button{min-height:46px;flex:1;touch-action:manipulation}body.together-page #create-or-join:not([hidden]){margin-top:8px}body.together-page #together-start{border-color:var(--skin-border);box-shadow:0 12px 35px rgba(45,106,79,.09)}body.together-page #together-start h2{color:var(--skin-ink)}body.together-page #together-form input:focus-visible,body.together-page #together-form select:focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}body.together-page .pair-step .information{margin-top:12px}body.together-page #together-form :is(input,select,textarea){font-size:max(16px,1em)}

body.together-page .group-create-inline[hidden]{display:none!important}body.together-page .group-create-inline{max-width:690px;margin:20px auto;padding:0;border:0;background:transparent}body.together-page .group-create-inline .drawer-content{width:100%;max-width:none;margin:0;padding:22px;border:1px solid var(--skin-border);border-radius:22px;box-shadow:0 10px 28px rgba(45,106,79,.08);animation:none}body.together-page .group-create-inline .drawer-description{margin:6px 0 18px}body.together-page .group-create-inline .drawer-fields{display:block}body.together-page .group-create-inline input[name=title]{font-size:16px;min-height:48px}body.together-page .group-create-inline input[name=alias]{display:none}
body.together-page #create-options .share-preview{display:none}body.together-page #create-options{margin-bottom:14px}

.together-page .pair-garden-cta[hidden]{display:none!important}
.together-page .pair-garden-cta{margin:24px 0;padding:18px 20px;border:1px solid var(--skin-border);border-radius:18px;background:var(--skin-surface-subtle);color:var(--skin-ink)}
.together-page .pair-garden-cta p{margin:0 0 12px;line-height:1.55}
.together-page .pair-garden-cta .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.together-page .pair-garden-cta .pair-garden-eyebrow{margin:0 0 6px;color:var(--skin-accent);font-size:12px;font-weight:800;letter-spacing:.08em}
.together-page .pair-garden-cta h3{margin:0 0 8px;color:var(--skin-ink);font-size:clamp(19px,4vw,25px);line-height:1.35}
.together-page .pair-garden-cta ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:12px 0 18px}
.together-page .pair-garden-cta li{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 10px;border:1px solid var(--skin-border);border-radius:10px;background:var(--skin-surface);font-size:13px;font-weight:700}
.together-page .pair-garden-cta li small{color:var(--skin-subtle);font-size:11px;white-space:nowrap}
.together-page .pair-garden-cta .button{background:#5a3d5a;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#5a3d5a;font-weight:700}
.together-page .pair-garden-cta .button:hover{background:#493149;color:#fff}
.together-page .pair-garden-cta li:last-child{grid-column:1/-1}
.together-page .pair-garden-cta li span{min-width:0;overflow-wrap:anywhere}
.together-page .pair-garden-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.together-page .pair-garden-actions :is(a,button){min-height:44px;margin:0}
.together-page .pair-garden-actions button:disabled{opacity:.68;cursor:not-allowed}
.together-page .pair-garden-status{margin:10px 0 0;color:var(--skin-subtle);font-size:12px}
.together-constellation-intro,.together-constellation-view{max-width:100%;margin:0 auto 18px;padding:20px;border:1px solid var(--skin-border-subtle);border-radius:22px;background:var(--skin-surface-subtle);box-sizing:border-box;text-align:center}
.together-constellation-intro .eyebrow{margin:0 0 8px;color:var(--skin-accent);font-weight:700}.together-constellation-intro h2{margin:0 0 8px;font-size:clamp(20px,3vw,28px);color:var(--skin-ink)}.together-constellation-intro p:last-child{margin:0;color:var(--skin-subtle)}
.together-constellation-view{background:transparent;padding:0;border:0;border-radius:0}.together-constellation-view button{position:relative;width:100%;padding:0;border:0;border-radius:16px;overflow:hidden;background:#101b29;cursor:pointer}.together-constellation-view img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.together-constellation-view button span{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);padding:8px 14px;border-radius:999px;background:#142335e8;border:1px solid #e2c88a;color:#ffeac0;white-space:nowrap}.together-constellation-view>p{margin:10px 0 0;padding:0 2px;color:var(--skin-subtle);font-size:12px}
#together-example-dialog{width:min(92vw,760px);max-width:760px;max-height:90dvh;margin:auto;padding:0;border:1px solid #c8a46c;border-radius:20px;background:#0b1723;color:#f7efdf;overflow:auto}#together-example-dialog::backdrop{background:#01050bc7}#together-example-dialog canvas{display:block;width:100%;height:min(55dvh,460px);margin:14px 0;border-radius:14px;background:#071321;touch-action:manipulation}#together-example-dialog button{border:1px solid #d4bb83;border-radius:999px;background:#1b2d41;color:#f8e4b9;padding:8px 12px;cursor:pointer}#together-example-dialog .constellation-example-shell{padding:16px}#together-example-dialog :is(.constellation-example-header,.constellation-example-footer){display:flex;align-items:center;justify-content:space-between;gap:12px}#together-example-dialog .constellation-example-header p{margin:0;color:#ead093;font-size:12px}#together-example-dialog h3{margin:0;font-size:18px}
@media(max-width:480px){.together-constellation-intro{padding:14px}.together-constellation-view img{aspect-ratio:4/3}}
.together-constellation-view img{height:auto}
#together-history{display:grid;gap:20px}.owned-groups,.joined-groups{padding:22px;border:1px solid var(--skin-border-subtle);border-radius:20px;background:var(--skin-surface-subtle)}.owned-groups>.eyebrow,.joined-groups>.eyebrow{margin:0 0 4px;color:var(--skin-accent);font-weight:700;font-size:12px}.owned-groups h2,.joined-groups h2{margin:0 0 18px;font-size:22px;color:var(--skin-ink)}.owned-groups .board-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px}.board-card .board-garden-link{color:var(--skin-ink);text-decoration:none;border-bottom:1px solid var(--skin-accent)}.board-card .board-garden-link:focus-visible{outline:2px solid var(--skin-focus);outline-offset:3px}.board-card [data-board-invite]{grid-column:1/-1;justify-self:stretch;background:var(--skin-accent);color:#fff;border-color:var(--skin-accent);font-weight:700}.joined-groups #my-participations{margin-top:0}@media(max-width:600px){.owned-groups,.joined-groups{padding:16px}.owned-groups h2,.joined-groups h2{font-size:19px}}
.together-example-still{position:relative;margin:0;overflow:hidden;border-radius:16px;background:#05070d}.together-example-still img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.together-constellation-view[hidden]{display:none}@media(max-width:480px){.together-example-still img{aspect-ratio:4/3}}
.board-card .group-more{grid-column:2;grid-row:1;position:relative;justify-self:end}.group-more summary{list-style:none;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--skin-border-subtle);border-radius:12px;color:var(--skin-ink);cursor:pointer;font-size:24px;line-height:1}.group-more summary::-webkit-details-marker{display:none}.group-more summary:focus-visible{outline:2px solid var(--skin-focus)}.group-more[open]{z-index:3}.group-more-menu>button{display:block;min-width:145px;margin:4px 0 0 auto;background:var(--skin-surface);color:var(--skin-ink);border:1px solid var(--skin-border-subtle)}.group-more-menu>button:disabled{opacity:.48;cursor:not-allowed}.board-card [data-board-invite]{grid-row:3}#group-rename-dialog{width:min(92vw,420px);margin:auto;padding:22px;border:1px solid var(--skin-border);border-radius:18px;background:var(--skin-surface);color:var(--skin-ink)}#group-rename-dialog::backdrop{background:#080b16b8}#group-rename-dialog form{display:grid;gap:14px}#group-rename-dialog h2{font-size:20px;margin:0}#group-rename-dialog label{display:grid;gap:7px}#group-rename-dialog input{min-height:44px;padding:8px 10px;box-sizing:border-box;border:1px solid var(--skin-border);border-radius:9px;background:var(--skin-surface-subtle);color:var(--skin-ink);font:inherit}.group-rename-actions{display:flex;justify-content:flex-end;gap:8px}

.member-constellation{max-width:100%;margin:0 auto 18px;padding:14px;border:1px solid var(--skin-border-subtle);border-radius:22px;background:var(--skin-surface);box-sizing:border-box}.member-constellation[hidden],.member-constellation-stage[hidden]{display:none}.member-constellation-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0 0 10px}.member-constellation-title{margin:0;color:var(--skin-ink);font-size:15px;font-weight:700}.member-constellation-hint{margin:0;color:var(--skin-subtle);font-size:12px}.member-constellation-stage{position:relative;min-height:360px;border-radius:16px;overflow:hidden;background:#101b2b}.member-constellation-stage canvas{display:block;width:100%;height:360px;touch-action:none;cursor:grab}.member-constellation-stage>:not(canvas):not(.constellation-back-wrap){display:none!important}.member-constellation-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}.member-constellation-controls button{width:44px;height:44px;border:1px solid var(--skin-border);border-radius:12px;background:var(--skin-surface-subtle);color:var(--skin-ink);font-size:28px}.member-constellation-controls select{min-width:0;max-width:320px;flex:1;min-height:44px;border:1px solid var(--skin-border);border-radius:10px;background:var(--skin-surface-subtle);color:var(--skin-ink);font:inherit}@media(max-width:480px){.member-constellation{padding:10px}.member-constellation-stage,.member-constellation-stage canvas{height:clamp(360px,92vw,460px);min-height:360px}}
.member-constellation .member-constellation-controls button{display:grid;place-items:center;padding:0;line-height:1;font-family:Arial,sans-serif;font-size:28px}

.together-example-still canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:manipulation}.together-example-still canvas[hidden],.together-example-still img[hidden]{display:none!important}
.together-example-still{aspect-ratio:16/9}

.together-example-still .constellation-example-fallback{position:absolute;inset:0;display:grid;place-items:center;padding:24px;background:#101b2b;color:#ffeac0;text-align:center}.together-example-still .constellation-example-fallback[hidden]{display:none!important}
@media(max-width:600px){body.together-page #together-form .form-grid,body.together-page #together-form .form-grid>label{width:100%;min-width:0;box-sizing:border-box}body.together-page #together-form input[name=title]{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}}
body.together-page #together-history h2{font-size:clamp(20px,2.1vw,22px)}
body.together-page #together-form #owner-group-consent{font-size:14px;line-height:1.5;margin:4px 0 2px}
@media(max-width:600px){body.together-page #together-form #owner-group-consent{font-size:clamp(11px,3.05vw,12px);letter-spacing:-.035em;gap:4px;max-width:100%;overflow-wrap:anywhere}body.together-page #together-form #owner-group-consent input{flex:none}}
@media(min-width:350px) and (max-width:600px){body.together-page #together-form #owner-group-consent{margin-inline:-16px;width:calc(100% + 32px);max-width:calc(100% + 32px)}}

/* Keep both group name fields full width and consent close to the create action. */
body.together-page #together-form .pair-step[data-pair-step="1"] .form-grid{grid-template-columns:minmax(0,1fr)}
body.together-page #together-form input[name="title"],body.together-page #new-map-form input[name="title"]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
body.together-page #new-map-form .drawer-fields{margin-bottom:8px}
body.together-page #new-map-form>.check{display:flex;align-items:flex-start;gap:7px;margin:0 0 8px;line-height:1.5}
body.together-page #new-map-form>.check input{flex:none;margin-top:.25em}
body.together-page #new-map-form .drawer-actions{margin-top:0}
@media(max-width:600px){
 body.together-page #together-form #owner-group-consent{margin-top:8px;margin-bottom:8px}
 body.together-page #new-map-form>.check{font-size:clamp(11px,3.05vw,12px);letter-spacing:-.035em}
}

/* Mobile: the guest 3D stage fills the page width and keeps a taller frame. */
@media(max-width:600px){
 .together-constellation-view{margin-inline:-16px;margin-bottom:18px;max-width:none}
 .together-constellation-view>p{padding-inline:18px}
 .together-example-still{border-radius:0}
}
@media(max-width:640px){.together-example-still{aspect-ratio:4/3}}
@media(max-width:480px){.together-example-still{aspect-ratio:1/1}}

/* Mobile: the group card keeps one tight column from its title to its single action. */
@media(max-width:600px){
 body.together-page #together-start{margin:12px auto 20px;padding:20px 20px 16px}
 body.together-page #together-start>h2{margin-bottom:22px}
 body.together-page #together-form .pair-step-controls:not(:has(>button:not([hidden]))){display:none}
 body.together-page #together-form #owner-group-consent{margin-top:10px;margin-bottom:0}
 body.together-page #together-form>#create-or-join:not([hidden]){margin-top:8px}
 body.together-page #together-login-note{margin-top:6px}
}

/* The garden invitation uses a clean capture of the actual 3D garden. */
.together-page #garden-entry.garden-teaser{position:relative;isolation:isolate;overflow:hidden;min-height:112px;background:#102130 url('/naver-cover-clean-no-char.png') center 55%/cover no-repeat;color:#fff7e9;box-shadow:inset 0 0 0 1px #fff4}
.together-page #garden-entry.garden-teaser::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071321e8 0%,#071321a8 54%,#07132133 100%)}
.together-page #garden-entry .garden-teaser-art{width:28px;flex:none}
/* Keep the authenticated group picker below the WebGL scene. */
.member-constellation-controls{overflow:hidden;touch-action:pan-y}
.member-constellation-controls button{min-width:48px;width:25%;max-width:112px;overflow:hidden;text-overflow:clip;white-space:nowrap;color:var(--skin-subtle);font-size:14px!important;font-weight:500;mask-image:linear-gradient(to right,transparent,#000 24%,#000 76%,transparent)}
.member-constellation-controls select{flex:1;max-width:240px;text-align:center;text-align-last:center;font-size:clamp(17px,4.8vw,22px);font-weight:800;color:var(--skin-accent);border:0;background:transparent}
.member-constellation-stage canvas{touch-action:pan-y}
@media(max-width:480px){.member-constellation-controls{gap:2px}.member-constellation-controls button{min-width:40px;width:22%;padding:0 4px}}

.group-more summary{list-style:none;cursor:pointer;padding:8px}.group-more summary svg{fill:currentColor}.group-more summary::-webkit-details-marker{display:none}.board-card{flex-wrap:wrap}.board-card>div{min-width:0;flex:1}.board-card h3{overflow-wrap:anywhere}

/* Group picker shows one group name with directional controls, not three names. */
.member-constellation-controls button{flex:0 0 44px;min-width:44px;width:44px;max-width:44px;font-size:28px!important;mask-image:none}
#member-constellation{scroll-margin-top:100px}

/* Compact group library: a name-and-count column, one invite action and one menu. */
body.together-page #together-history{gap:clamp(28px,5vw,44px)}
body.together-page #together-history .together-group-section{min-width:0}
body.together-page #together-history .together-group-section>h2{
 margin:0 0 12px;color:var(--skin-ink);font-size:clamp(18px,3vw,24px);line-height:1.35;letter-spacing:-.025em
}
body.together-page #my-boards,
body.together-page #my-participations.library-grid{gap:8px;margin:0}
body.together-page #my-boards .board-card{
 display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;
 gap:8px;padding:8px 10px 8px 14px;min-height:66px;
 border:1px solid var(--skin-border-subtle);border-radius:14px;background:var(--skin-surface);
 box-shadow:none;transition:none
}
body.together-page #my-boards .board-identity{min-width:0}
body.together-page #my-boards .board-card h3{margin:0;font-size:clamp(15px,2.55vw,17px);line-height:1.25}
body.together-page #my-boards .board-name{
 display:grid;align-content:center;gap:4px;width:100%;min-width:0;min-height:44px;
 margin:0;padding:2px 0;border:0;border-radius:7px;background:none;box-shadow:none;
 color:var(--skin-ink);font:inherit;font-weight:760;text-align:left;white-space:normal
}
body.together-page #my-boards .board-name>.board-name-label{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
 overflow-wrap:anywhere;line-height:1.25;letter-spacing:-.014em
}
body.together-page #my-boards .board-meta{
 display:flex;align-items:center;flex-wrap:wrap;column-gap:7px;row-gap:2px;
 font-size:12px;line-height:1.35;font-weight:500;color:var(--skin-subtle)
}
body.together-page #my-boards .board-count{font-weight:700;font-variant-numeric:tabular-nums}
body.together-page #my-boards .board-meta>span+span::before{content:"·";margin-inline-end:6px}
body.together-page #my-boards .board-card>button{
 grid-column:auto;grid-row:auto;display:inline-flex;align-items:center;justify-content:center;gap:5px;
 margin:0;min-height:44px;min-width:44px;padding:0 10px;border:1px solid var(--skin-border);
 border-radius:10px;background:var(--skin-surface-subtle);color:var(--skin-ink);box-shadow:none;
 font-size:12px;font-weight:700;white-space:nowrap;touch-action:manipulation
}
body.together-page #my-boards [data-board-invite]>svg{flex:none;width:15px;height:15px}
body.together-page #my-boards .board-card .group-more{grid-column:auto;grid-row:auto;min-width:0}
body.together-page #my-boards .group-more-trigger{
 display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;margin:0;padding:0;
 border:1px solid var(--skin-border);border-radius:10px;background:var(--skin-surface-subtle);
 color:var(--skin-ink);box-shadow:none;touch-action:manipulation
}
body.together-page #my-boards .group-more-trigger svg{width:20px;height:20px;fill:currentColor}
body.together-page #my-boards .group-more-menu[popover]{
 position:fixed;inset:auto;box-sizing:border-box;margin:0;min-width:0;width:166px;
 overflow:auto;overscroll-behavior:contain;padding:4px;color:var(--skin-ink);
 background:var(--skin-surface);border:1px solid var(--skin-border);border-radius:12px;
 box-shadow:0 6px 22px #24162a30
}
body.together-page #my-boards .group-more-menu:popover-open{display:grid;gap:4px}
body.together-page #my-boards .group-more-menu [data-group-name]:empty{display:none}
body.together-page #my-boards .group-more-menu :is(a,button){
 display:flex;align-items:center;min-width:0;min-height:44px;margin:0;padding:8px 12px;font-size:13px
}
body.together-page #my-participations button{
 min-height:48px;padding:10px 14px;border:1px solid var(--skin-border-subtle);border-radius:14px;
 color:var(--skin-ink);background:var(--skin-surface);font-size:14px;touch-action:manipulation
}
body.together-page #together-history #new-map{min-height:44px;margin:10px 0 0}
body.together-page #my-boards :is(button,summary):focus-visible,
body.together-page #my-participations button:focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}
@media(hover:hover) and (pointer:fine){
 body.together-page #my-boards .board-name:hover:not(:disabled) .board-name-label{text-decoration:underline;text-underline-offset:3px}
 body.together-page #my-boards .board-card>button:hover:not(:disabled),
 body.together-page #my-boards .group-more-trigger:hover,
 body.together-page #my-participations button:hover{border-color:var(--skin-border);color:var(--skin-accent)}
}
@media(max-width:360px){
 body.together-page #my-boards .board-card{gap:5px;padding-inline:9px 5px}
 body.together-page #my-boards .board-card>button{padding-inline:7px}
}
body.together-page .member-constellation-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:48px}
body.together-page .member-constellation-controls>:is(button,select){box-sizing:border-box;margin:0;min-height:48px;height:48px;max-width:none;width:100%;align-self:center}
body.together-page .member-constellation-controls select{padding:0 6px;font-size:18px;line-height:1.3}

/* Restore the requested swipe strip: neighbouring names peek beside the current name. */
body.together-page .member-constellation-controls{grid-template-columns:minmax(40px,20%) minmax(0,1fr) minmax(40px,20%);gap:4px}
body.together-page .member-constellation-controls>button{width:100%;max-width:none;font-size:12px!important;font-weight:500;border:0;background:transparent;white-space:nowrap;overflow:hidden;text-overflow:clip;mask-image:linear-gradient(to right,transparent,#000 18%,#000 82%,transparent)}
.constellation-picker{position:relative;display:grid;place-items:center;min-width:0;min-height:48px;text-align:center}
#constellation-group-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:1.3;font-size:18px;font-weight:800;color:var(--skin-accent);pointer-events:none}
body.together-page .constellation-picker select{position:absolute;inset:0;width:100%;height:100%;min-height:48px;margin:0;opacity:0;cursor:pointer}
.constellation-picker:focus-within{outline:2px solid var(--skin-focus);outline-offset:2px;border-radius:8px}

body.together-page .member-constellation-controls:has(>button[hidden]){grid-template-columns:minmax(0,1fr)}

body.together-page #together-entry-feedback{margin:0 auto}
body.together-page #together-entry-feedback #entry-status:empty{display:none}

/* Participation rows use the same visual size, but never display owner actions. */
body.together-page #my-participations .joined-group-row{
 display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:12px;align-items:center;
 min-height:66px;padding:8px 13px 8px 14px
}
body.together-page #my-participations .joined-group-identity{display:grid;gap:4px;min-width:0}
body.together-page #my-participations .joined-group-name{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;
 color:var(--skin-ink);font-size:clamp(15px,2.55vw,17px);font-weight:760;line-height:1.25;letter-spacing:-.014em
}
body.together-page #my-participations .joined-group-meta{
 color:var(--skin-subtle);font-size:12px;font-weight:600;line-height:1.35;font-variant-numeric:tabular-nums
}
body.together-page #my-participations .joined-group-chevron{justify-self:center;color:var(--skin-subtle)}
body.together-page #my-participations .joined-legacy{min-width:0;margin-top:3px}
body.together-page #my-participations .joined-legacy summary{
 display:list-item;align-content:center;min-height:44px;color:var(--skin-subtle);font-size:13px;cursor:pointer
}
body.together-page #my-participations .joined-legacy>div{display:grid;gap:8px}

/* Group identity is separate from the invite's calculation and consent form. */
#together-name-start{
 width:100%;max-width:none;margin:0 auto 18px;padding:clamp(16px,4vw,26px);box-sizing:border-box;
 border:1px solid var(--skin-border);border-radius:18px;background:var(--skin-surface);color:var(--skin-ink)
}
#together-name-start h2{margin:0 0 18px;font-size:clamp(19px,4vw,24px);line-height:1.3}
#name-group-form{display:grid;gap:8px}
#name-group-form .name-group-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,2vw,16px)}
#name-group-form label{display:grid;gap:6px;min-width:0;font-size:14px;font-weight:700;color:var(--skin-ink)}
#name-group-form input{
 box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:8px 12px;
 border:1px solid var(--skin-input-border);border-radius:10px;background:var(--skin-input-surface);
 color:var(--skin-ink);font:inherit;font-size:16px
}
#name-group-submit{min-height:48px;margin:5px 0 0;border-radius:11px;touch-action:manipulation}
#name-group-error{margin:0;color:var(--skin-danger);overflow-wrap:anywhere}
#name-group-form :is(input,button):focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}
#name-group-form[aria-busy="true"] button{cursor:progress}

#name-group-form #name-group-submit.kakao-login{
 background:#FEE500!important;color:#191919!important;border-color:#FEE500!important;box-shadow:none
}
@media(hover:hover) and (pointer:fine){
 #name-group-form #name-group-submit.kakao-login:hover:not(:disabled){background:#F2DA00!important}
}
@media(max-width:360px){#name-group-form input{padding-inline:8px}}
