/* v19 screen layout. Values, access, sources and calculations remain server-owned. */
:root{--v19-bg:#fbf6f9;--v19-surface:#fff;--v19-border:#efe4ec;--v19-ink:#24222b;--v19-muted:#6b6573;--v19-accent:#4A1830;--v19-pink:#f9d7e3;--v19-soft:#f7f1f5;--v19-lilac:#eee9fb;--v19-violet:#5b3fa8}
:root[data-theme=dark]{--v19-bg:#191720;--v19-surface:#292536;--v19-border:#45404d;--v19-ink:#f6f0f5;--v19-muted:#c1b8c7;--v19-accent:#f4b4d0;--v19-pink:#513348;--v19-soft:#302a40;--v19-lilac:#342c47;--v19-violet:#d2bcff}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--v19-bg:#191720;--v19-surface:#292536;--v19-border:#45404d;--v19-ink:#f6f0f5;--v19-muted:#c1b8c7;--v19-accent:#f4b4d0;--v19-pink:#513348;--v19-soft:#302a40;--v19-lilac:#342c47;--v19-violet:#d2bcff}}
body.v22-active{background:var(--v19-bg);color:var(--v19-ink);--ink:var(--v19-ink);--text:var(--v19-ink);--muted:var(--v19-muted);--line:var(--v19-border);--line2:var(--v19-border);--surface:var(--v19-surface);--soft:var(--v19-soft);--accent:var(--v19-accent);--v22-card:var(--v19-surface);--v22-soft:var(--v19-soft);--v22-accent:var(--v19-accent)}
.v22-active .app-shell{padding:0;max-width:480px}
.v22-active #top{padding:6px 16px 0}.v22-view{gap:12px}.v22-view>.v22-card{border-radius:22px;padding:18px 20px;background:var(--v19-surface);border-color:var(--v19-border)}
.v22-active .topbar{gap:8px;padding:14px 16px 6px}.v22-active .topbar .brand{max-width:105px}.v22-active .topbar .icon-button{background:var(--v19-surface);border:1px solid var(--v19-border);box-shadow:none}
.v22-active .v22-primary{background:var(--v19-pink);color:var(--v19-accent);box-shadow:none}.v22-active .v22-nav{background:var(--v19-surface);border:1px solid var(--v19-border);box-shadow:0 10px 30px #24222b14}.v22-active .v22-tab[aria-current=page]{background:var(--v19-pink);box-shadow:none}
.v22-active .v22-view button,.v22-active .v22-view a{touch-action:manipulation}.v22-active .v22-view [hidden]{display:none!important}
.v22-active .v19-perspective-chip[aria-pressed=true]{background:var(--v19-ink);color:var(--v19-surface)}
.v22-active .v19-home-top{gap:8px}.v22-active .v19-home-top .v25-record-top{border:0;padding:0;background:none}
.v22-active .v19-full-dialog{background:var(--v19-bg)}
@media(max-width:350px){.v22-view>.v22-card{padding:16px 14px}.v22-active .app-shell{padding:0;max-width:480px}
.v22-active #top{padding-inline:12px}.v22-active .topbar{padding-inline:12px}.v22-active .topbar-actions{gap:4px}}

/* v19 page layout: all personal prose, dates and chart values stay server-owned. */
.v22-view[data-page=me],.v22-view[data-page=time],.v22-view[data-page=menu],.v22-view[data-page=relation]{gap:12px}
.v19-home-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.v19-record-entry{background:var(--v22-card,#fff);border:1px solid var(--line,#efe4ec);border-radius:22px;padding:0 14px;min-height:44px;white-space:nowrap;font-size:0.875rem;font-weight:500;color:var(--ink)}.v19-birth-edit{display:flex;align-items:center;gap:8px;min-height:44px;min-width:0;padding:0;border:0;background:none;color:var(--muted);font:inherit;font-size:0.875rem;text-align:right}.v19-birth-edit span{overflow-wrap:anywhere}.v19-birth-edit b{color:var(--v22-accent,#8c2a52);flex-shrink:0}
.v19-perspective{gap:10px;padding:18px 20px}.v19-perspective-intro{display:flex;align-items:center;gap:10px}.v19-orb{width:40px;height:40px;border-radius:50%;flex-shrink:0;background:radial-gradient(circle at 35% 30%,#fff 0 18%,#fbe3ee 40%,#e9e2fb 70%,#dcefea 100%);border:1px solid var(--line,#eaddf0)}.v19-perspective-tabs{display:flex;gap:6px}.v19-perspective-chip{flex:1;min-width:0;min-height:44px;padding:6px 4px;border-radius:22px;border:1px solid var(--line,#efe4ec);background:var(--v22-card,#fff);color:var(--ink);font:inherit;font-size:0.875rem;line-height:1.5}.v19-perspective-chip[aria-pressed=true]{color:var(--v22-primary-ink,#6e1a3d);background:var(--lg-pill-bg);border-color:transparent;font-weight:700}.v22-view .v19-perspective-text{font-size:1.5625rem;line-height:1.45;margin:2px 0 0}.v19-perspective-detail{width:100%;min-height:48px}.v19-perspective-reason{min-height:44px}.v19-perspective [hidden]{display:none!important}
.v19-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.v19-section-head h2,.v19-annual>h2{font-family:inherit;font-size:0.875rem;color:var(--muted)}.v19-section-head p{font-size:0.875rem}.v19-season-summary{gap:8px}.v22-view .v19-season-title{font-family:'Gowun Batang',serif;font-size:1.3125rem;line-height:1.5;font-weight:700}.v19-season-ribbon{display:flex;gap:4px;height:12px}.v19-season-ribbon span{flex:1;border-radius:7px;opacity:.45;background:#c9d4f0}.v19-season-ribbon [data-season=봄]{background:#bfe6d3}.v19-season-ribbon [data-season=여름]{background:#f7cdb7}.v19-season-ribbon [data-season=가을]{background:#efd8a5}.v19-season-ribbon .is-current{opacity:1;outline:1px solid var(--muted)}.v19-year{display:grid;grid-template-columns:minmax(85px,.8fr) minmax(0,1.2fr) 12px;align-items:center;gap:8px;padding:12px 0;min-height:48px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;font-size:0.9375rem;text-align:left}.v19-year:last-child{border-bottom:0}.v19-year span,.v19-year b{overflow-wrap:anywhere}.v19-reading-links{gap:0;padding:6px 20px}.v19-reading-links>.v22-link{border-bottom:1px solid var(--line);padding:10px 0}.v19-reading-links>.v22-link:last-child{border-bottom:0}.v19-time-needed{background:var(--v22-soft,#f7f1ff)}.v22-view .v19-time-needed h2{font-size:0.875rem}.v19-all-seasons>summary{font-size:0.9375rem;font-weight:700;min-height:44px}.v19-all-seasons[open]{display:flex;flex-direction:column;gap:14px}
.v19-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.v19-menu-heading button{min-width:44px;min-height:44px}.v19-menu-group{display:flex;flex-direction:column;gap:6px}.v22-view .v19-menu-group>h2{font-family:inherit;font-size:0.875rem;color:var(--muted);padding-left:6px}.v19-menu-rows{padding:4px 18px;gap:0}.v19-menu-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink);font-size:0.9375rem;font-weight:500}.v19-menu-row:last-child{border-bottom:0}.v19-menu-row>span{font-size:0.875rem;text-align:right}.v19-menu-rows .v22-check{min-height:48px}
.v19-relation-entries{gap:0}.v19-relation-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:78px;padding:14px 0;background:none;color:var(--ink);font:inherit;text-align:left;border:0;border-bottom:1px solid var(--line)}.v19-relation-entry:last-child{border-bottom:0}.v19-relation-entry>span:first-child{display:flex;flex-direction:column;gap:5px}.v19-relation-entry b{font-size:1.0625rem}.v19-chevron{color:var(--muted);font-size:1.25rem}.v19-known-people{gap:0;padding:12px 20px 6px}.v22-view .v19-known-people h2{font-family:inherit;font-size:0.875rem;color:var(--muted)}.v19-known-people>.v22-link{border-bottom:1px solid var(--line);font-size:0.9375rem;min-height:52px}.v19-known-people>.v22-link:last-child{border-bottom:0}.v19-secondary-details>summary{font-size:0.9375rem;font-weight:700}
.v19-share-preview{display:flex;flex-direction:column;gap:14px}.v19-share-visible,.v19-share-hidden{gap:8px;padding:14px 16px}.v19-share-visible{background:var(--v22-flower,#fff5f9)}.v19-share-hidden{background:var(--v22-soft,#f7f5f8)}.v19-share-preview h2,.v19-share-preview h3{font-size:0.9375rem;margin:0}.v19-share-preview p{font-size:0.9375rem;line-height:1.6;margin:0}.v19-share-actual{display:flex;flex-direction:column;gap:10px;border:1px dashed var(--line);border-radius:14px;padding:12px 14px}.v19-share-preview>.v22-primary{min-height:52px}
@media(max-width:350px){.v19-home-top{flex-wrap:wrap}.v19-birth-edit{font-size:0.875rem}.v19-perspective{padding:18px 14px}.v22-view .v19-perspective-text{font-size:1.4375rem}.v19-perspective-chip{font-size:0.875rem}.v19-section-head{gap:4px}}
.v19-menu-label{flex:1;min-width:0}.v19-menu-row>.v19-chevron{font-size:1.25rem;flex-shrink:0}.v19-menu-row>.v19-menu-label{text-align:left;color:var(--ink);font-size:0.9375rem}

/* v19 Records, ChatList, ChatRoom, ChatEnded and Compare. Local assets only. */
.v25-record-header{display:flex;align-items:center;gap:6px;margin:0 -4px}.v25-back{width:44px;height:44px;flex:none;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:inherit;font-family:inherit;font-size:2rem;line-height:1;cursor:pointer}.v25-record-header h1{font-size:1.5rem}
.v25-record-filters{display:flex;flex-wrap:wrap;gap:8px}.v25-record-filter{min-height:40px;padding:0 14px;border:1px solid var(--v19-border);border-radius:20px;background:var(--v19-surface);color:var(--v19-ink);font-family:inherit;font-size:0.875rem;line-height:1.5;cursor:pointer}.v25-record-filter[aria-pressed=true]{background:var(--v19-ink);color:var(--v19-surface);border-color:var(--v19-ink)}.v25-record-list{display:flex;flex-direction:column;gap:10px}.v25-record-entry{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;padding:14px 16px;background:var(--v19-surface);border:1px solid var(--v19-border);border-radius:18px;text-align:left;color:var(--v19-ink);font:inherit;cursor:pointer}.v25-record-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.v25-record-meta .v22-muted{font-size:0.875rem}.v25-record-tag{order:-1;flex:none;font-size:0.875rem;line-height:1.5;font-weight:700;padding:2px 8px;border-radius:9px;background:#ffede3;color:#8a3a12}.v25-record-tag[data-system=tarot]{background:#ffe8f1;color:var(--v19-accent)}.v25-record-tag[data-system=iching],.v25-record-tag[data-system=liuyao]{background:#e3f7f0;color:#1f6b4a}.v25-record-entry[data-kind=plan] .v25-record-tag{background:#fff1d6;color:#7a4b00}.v25-record-question{font-size:0.9375rem;line-height:1.55;font-weight:700;overflow-wrap:anywhere}.v25-record-summary{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:0.875rem;line-height:1.6;color:var(--v19-muted)}.v25-record-plan{font-size:0.875rem;line-height:1.6}.v25-record-footnote{padding:2px 4px;color:var(--v19-muted);font-size:0.875rem!important}
.v25-chat-list.v22-card{gap:0;padding:4px 20px;border-radius:22px}.v25-chat-row{padding:0;border-bottom:1px solid var(--v19-border)}.v25-chat-row:last-child{border-bottom:0}.v25-chat-link{display:flex;align-items:center;justify-content:flex-start;min-height:80px;padding:8px 0;gap:12px;cursor:pointer}.v25-chat-link>.v25-avatar:first-child{display:flex;justify-content:center;align-items:center;overflow:hidden;width:44px;height:44px;flex:none;border-radius:50%;background:var(--v19-pink);color:var(--v19-accent);font-size:1rem;font-weight:700}.v25-chat-row:nth-child(2n) .v25-avatar{background:var(--v19-lilac);color:var(--v19-violet)}.v25-chat-label{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.v25-chat-who{display:flex;align-items:center;gap:8px}.v25-chat-who b{font-size:1rem;overflow-wrap:anywhere}.v25-chat-who .v22-muted{font-size:0.875rem}.v25-chat-preview{font-size:0.875rem;color:var(--v19-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v25-chat-row .v25-state{font-size:0.875rem;margin:0 0 10px 56px}.v25-unread{min-width:24px;min-height:24px;padding:2px 6px;border-radius:10px;background:var(--y-pink-deep,#FF74AC);color:var(--y-on-pink,#4A1830);font-size:0.875rem;font-weight:700}.v25-invite-link{min-height:72px;font-size:0.875rem}.v25-chat-actions.v22-card{gap:0;padding:12px 20px;border-radius:22px}.v25-chat-actions h2{font-size:0.875rem;color:var(--v19-muted)}.v25-chat-actions .v22-link{border-radius:0;min-height:48px;border-bottom:1px solid var(--v19-border);color:var(--v19-ink);font-size:1rem;font-weight:400}.v25-chat-actions .v22-link:last-child{border-bottom:0}
.v25-conversation-header{display:flex;align-items:center;gap:6px;padding:10px 0;margin:0 -4px;background:var(--v19-surface);border-bottom:1px solid var(--v19-border)}.v25-conversation-who{flex:1;min-width:0}.v25-conversation-who h1.v25-chat-title{margin:0;font-family:inherit;font-size:1.0625rem;line-height:1.5;overflow-wrap:anywhere}.v25-conversation-who .v22-muted{font-size:0.875rem}.v25-chat-menu{position:relative;margin:0;flex:none}.v25-chat-menu>summary{display:flex;align-items:center;justify-content:center;max-width:88px;min-height:44px;padding:0 6px;font-size:0.875rem;list-style:none}.v25-chat-menu[open]{z-index:10}.v25-chat-menu[open]>button{position:relative;min-width:160px;background:var(--v19-surface)}.v25-chat-menu[open]{position:absolute;right:12px;top:12px;padding:6px 10px;border:1px solid var(--v19-border);background:var(--v19-surface);border-radius:18px;box-shadow:0 8px 24px #24222b12}
.v25-current-state.v22-card{gap:4px;padding:12px 14px;border-radius:16px;background:var(--v19-soft);border-color:#f6cadb}.v25-current-state h2{font-size:0.875rem;color:var(--v19-muted)}.v25-current-state p{font-size:0.9375rem;font-weight:700}.v25-current-state p.v22-muted{font-size:0.875rem;font-weight:400}.v25-compare-open{align-self:flex-end;min-height:40px;padding:0 14px;border:0;border-radius:20px;background:linear-gradient(180deg,var(--btn-a,#FFC8DE),var(--btn-b,#FFA4C9));color:var(--y-on-pink,#4A1830);font-family:inherit;font-size:0.875rem;line-height:1.5;font-weight:700;cursor:pointer}.v25-plan-strip{display:flex;align-items:center;gap:6px;width:100%;min-height:48px;padding:10px 14px;background:var(--v19-surface);border:1px solid var(--v19-border);border-radius:16px;text-align:left;color:var(--v19-ink);font-family:inherit;font-size:0.875rem;line-height:1.6;cursor:pointer}.v25-plan-strip span:first-of-type{flex:1}.v25-plan-strip span:last-child{font-size:1.375rem;color:var(--v19-accent)}.v25-messages{display:flex;flex-direction:column;gap:8px;min-height:180px;margin:0;padding:8px 0}.v25-message{max-width:76%;padding:10px 14px;border-radius:18px 18px 18px 4px;background:var(--v19-surface);border:1px solid var(--v19-border)}.v25-message p{margin:0;font-size:0.9375rem;line-height:1.5}.v25-message.is-me{border:0;border-radius:18px 18px 4px 18px;background:var(--v19-pink);color:var(--v19-ink)}.v25-event p{font-size:0.875rem;color:var(--v19-muted)}.v25-compose-dock{position:sticky;bottom:0;z-index:5;display:flex;align-items:flex-end;gap:8px;margin:0 -4px;padding:10px 0;background:var(--v19-surface);border-top:1px solid var(--v19-border)}.v25-compose-dock .v25-plus{position:relative;flex:none}.v25-plus>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#f6eef3;font-size:1.5rem;list-style:none}.v25-plus[open]>button{position:absolute;left:0;bottom:48px;width:160px;background:var(--v19-surface);border:1px solid var(--v19-border)}.v25-compose-dock .v25-compose{position:static;flex:1;min-width:0;gap:8px;padding:0;background:transparent;border-radius:0}.v25-compose .v22-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.v25-compose .v22-field textarea{height:44px;min-height:44px;max-height:132px;border-radius:22px;padding:10px 14px;resize:vertical}.v25-compose button{min-height:44px;padding:8px 12px;background:linear-gradient(180deg,var(--btn-a,#FFC8DE),var(--btn-b,#FFA4C9));color:var(--y-on-pink,#4A1830);box-shadow:none}.v25-context{position:static;z-index:auto}.v25-ended{display:flex;flex-direction:column;gap:10px;padding:16px 0 24px;border-top:1px solid var(--v19-border);background:var(--v19-surface)}.v25-ended h2{font-size:1rem}.v25-ended p{font-size:0.875rem}.v25-remaining-plans{display:flex;align-items:center;justify-content:center;min-height:50px;padding:10px 16px;border:0;border-radius:25px;background:var(--v19-pink);color:var(--v19-accent);font-family:inherit;font-size:1rem;line-height:1.5;font-weight:700;cursor:pointer}.v25-ended>.v22-link{text-align:center}
.v25-comparison.v22-card{padding:0;border:0;background:transparent;gap:10px}.v25-comparison>h2{font-size:1rem}.v25-answer-card{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border:1px solid var(--v19-border);border-radius:20px;background:var(--v19-surface)}.v25-answer-card h3{font-size:0.875rem;color:var(--v19-muted)}.v25-answer-card.is-skipped{background:var(--v19-soft)}.v25-answer-card.is-skipped p{font-size:0.875rem}.v25-answer-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v25-answer{display:flex;flex-direction:column;gap:2px;min-width:0;border-radius:12px;padding:8px 10px;font-size:0.875rem;line-height:1.45;overflow-wrap:anywhere}.v25-answer.is-me{background:var(--v19-pink)}.v25-answer.is-peer{background:var(--v19-lilac)}.v25-answer-who{font-size:0.875rem;color:var(--v19-accent)}.v25-answer.is-peer .v25-answer-who{color:var(--v19-violet)}.v25-comparison>.v22-primary{min-height:50px;background:linear-gradient(180deg,var(--btn-a,#FFC8DE),var(--btn-b,#FFA4C9));color:var(--y-on-pink,#4A1830);box-shadow:none}
@media(max-width:350px){.v25-chat-list.v22-card{padding:4px 14px}.v25-chat-who{gap:5px}.v25-answer-card{padding:12px}.v25-record-entry{padding:12px}.v25-record-meta .v22-muted{font-size:0.875rem}}

/* BirthInput.dc.html — controls retain the shared profile validator and state. */
/* The fixed app navigation remains outside this form's stacking context. */
html:has(.v19-birth) { scroll-padding-bottom: calc(var(--nav-h,76px) + max(12px,env(safe-area-inset-bottom)) + 84px); }
.screen .birth-card.v19-birth { --v19-birth-nav-space: calc(var(--nav-h,76px) + max(12px,env(safe-area-inset-bottom))); background: var(--bg); border: 0; border-radius: 0; padding: 6px 2px var(--v19-birth-nav-space); gap: 14px; box-shadow: none; }
.v19-birth > .v19-birth-head { display: flex; align-items: center; gap: 8px; }
.v19-birth-head h1 { font-family: var(--display); font-size: 1.375rem; line-height: 1.4; margin: 0; }
.v19-birth-close { min-height: 44px; min-width: 44px; padding: 8px; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; }
.v19-birth > .v19-birth-mode { width: min(220px,100%); align-self: start; }
.v19-birth .seg { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.v19-birth .seg button { flex: 1; min-width: 0; min-height: 44px; border-radius: 20px; font-size: 0.9375rem; padding: 6px; border: 0; background: transparent; color: var(--muted); }
.v19-birth .seg button[aria-pressed=true] { background: var(--soft); color: var(--ink); font-weight: 700; }
.v19-birth .v19-birth-mode-note { margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.v19-birth .bf-set { margin: 0; gap: 8px; }
.v19-birth .bf-set legend { font-size: 0.875rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.v19-birth .v19-birth-date legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.v19-birth .v19-birth-numbers { display: grid; gap: 8px; }
.v19-birth .v19-birth-date-numbers { grid-template-columns: repeat(3,minmax(0,1fr)); }
.v19-birth .v19-birth-time-numbers { grid-template-columns: repeat(2,minmax(0,1fr)); }
.v19-birth .v19-birth-number { display: flex; min-width: 0; flex-direction: column; gap: 4px; margin: 0; }
.v19-birth input.v19-birth-input { min-height: 52px; width: 100%; box-sizing: border-box; font-size: 1.125rem; text-align: center; padding: 0 8px; border: 1px solid var(--line2); border-radius: 14px; color: var(--ink); background: var(--surface); }
.v19-birth .v19-birth-unit { font-size: 0.875rem; color: var(--muted); text-align: center; }
.v19-birth .v19-birth-place-search { display: grid; gap: 6px; }
.v19-birth .v19-birth-search { box-sizing: border-box; min-height: 48px; width: 100%; min-width: 0; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line2); color: var(--ink); background: var(--surface); font-size: 0.9375rem; }
.v19-birth .v19-birth-place-matches:empty { display: none; }
.v19-birth .v19-birth-place-matches { display: grid; gap: 4px; }
.v19-birth .v19-birth-place-match { min-height: 44px; text-align: left; padding: 8px 12px; border-radius: 12px; font-size: 0.9375rem; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.v19-birth .v19-birth-range { font-size: 1rem; min-height: 48px; }
.v19-birth .v19-birth-actions { position: sticky; bottom: var(--v19-birth-nav-space); z-index: 3; padding: 12px 0 max(16px,env(safe-area-inset-bottom)); margin: 0; background: var(--bg); }
.v19-birth .v19-birth-actions button { scroll-margin-bottom: calc(var(--v19-birth-nav-space) + 32px); min-height: 52px; width: 100%; font-size: 1rem; border-radius: 26px; }
.v19-birth[data-input-mode=direct] .bf-set[data-field=date] > .wh-sum, .v19-birth[data-input-mode=direct] .bf-set[data-field=time] > .wh-sum { display: none; }
.v19-birth .bf-check[hidden], .v19-birth [hidden] { display: none !important; }
.v19-birth .small, .v19-birth .bf-err, .v19-birth summary { font-size: 0.875rem; line-height: 1.5; }
.v19-birth .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width:340px) { .v19-birth .seg button { font-size: 0.875rem; padding-inline: 4px; } }

/* 뽑기(4부 B4 · 시안 v9 shots/08): 머리 → 타로·주역·육효 유리 탭 → 결과가 먼저 → 아래 줄. 색은 yeon.css 토큰만 쓴다. */
.v19-draw { gap: 14px; }
.v19-draw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 0 4px; min-width: 0; }
.v19-draw-title { min-width: 0; }
/* 글자는 rem: 설정의 '크게'(data-fs=large, html 18px)에서 함께 커지고 줄을 바꾼다. */
.v19-draw-eyebrow, .v19-draw .v19-draw-eyebrow { margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--y-muted); }
.v19-draw-head h1 { margin: 4px 0 0; font-size: 1.625rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; color: var(--y-fg); overflow-wrap: anywhere; }
.v19-draw-head > button { min-height: 44px; padding: 0 2px; font-size: .875rem; font-weight: 700; white-space: nowrap; border: 0; background: none; color: var(--y-link);
  text-decoration: underline; text-decoration-color: var(--y-pink-deep); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.v19-draw .v19-draw-method { gap: 10px; }
/* 유리 탭 하나: 고른 칸 밑의 알약은 v22.js slideThumb(data-thumb)가 놓고 yeon.css가 옮긴다. */
.v19-draw-tabs.ij-seg { min-height: 0; padding: 4px; gap: 4px; border-radius: 24px; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: linear-gradient(180deg, var(--g-a), var(--g-b)); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  border: 1px solid var(--g-edge); box-shadow: inset 0 1px 0 var(--g-edge), var(--g-shadow); }
.v19-draw-tabs.y-thumbed { --y-pad: 4px; --y-gap: 4px; }
.v19-draw-tabs > .y-thumb { border-radius: 20px; }
.v19-draw-tabs > button { position: relative; z-index: 1; min-height: 44px; min-width: 0; padding: 0 4px; border: 0; border-radius: 20px; background: transparent; font-size: .9375rem; font-weight: 500; color: var(--y-muted); }
.v19-draw-tabs > button[aria-selected="true"] { color: var(--y-fg); font-weight: 700; background: var(--g-thumb); box-shadow: inset 0 0 0 1.5px var(--y-pink-deep), var(--g-glow); }
.v19-draw-tabs.y-sliding > button[aria-selected="true"] { background: transparent; box-shadow: none; }
.v19-draw-description, .v19-draw .v19-draw-description { margin: 0; padding: 0 4px; font-size: .875rem; line-height: 1.55; color: var(--y-muted); overflow-wrap: anywhere; }
.v19-draw .v19-draw-question { padding: 0 2px; gap: 8px; background: none; border: 0; box-shadow: none; }
.v19-draw-question-label { font-size: .875rem; font-weight: 500; color: var(--y-muted); }
.v19-draw-question-label > span { font-weight: 400; color: var(--y-muted); }
.v19-draw .ij-ask { min-height: 50px; border-radius: 16px; padding: 13px 16px; font-size: 1rem; line-height: 1.45; border: 1px solid var(--y-line); background: var(--y-surface); color: var(--y-fg); }
.v19-draw .ij-ask::placeholder { color: var(--y-muted); }
.v19-draw-question-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.v19-draw-question-chips .q-chip { flex: 0 1 auto; min-height: 40px; max-width: 100%; padding: 0 14px; font-size: .875rem; border-radius: 20px; white-space: nowrap;
  color: var(--y-fg); border: 1px solid var(--y-line); background: color-mix(in srgb, var(--y-surface) 78%, transparent); }
/* 카드·동전 카드: 읽는 카드는 불투명. 아직 뽑기 전의 카드 줄은 카드 틀 없이 바탕 위에 둔다. */
.v19-draw .ij-drawcard { border-radius: 22px; padding: 18px 16px; gap: 14px; background: var(--y-surface); border: 1px solid var(--y-line); box-shadow: var(--y-shadow-sm); color: var(--y-fg); min-width: 0; }
.v19-draw .ij-drawcard > h2 { margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--y-muted); }
.v19-draw .ij-drawcard.v19-draw-idle { padding: 4px 0 0; background: none; border: 0; box-shadow: none; }
.v19-draw .v19-draw-idle > h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.v19-draw .ij-drawcard .v35-chart-sheet-head { display: none; }
.v19-draw .v60-draw-question { margin: 0; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--y-line); background: var(--y-bg); font-family: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.5; color: var(--y-fg); }
/* 카드 뒷면: 시안의 깊이 있는 카드 줄(장식, aria-hidden). */
.v19-draw-backs { position: relative; height: 214px; perspective: 900px; isolation: isolate; }
.v19-draw-backs > span { position: absolute; left: 50%; top: 6px; width: 122px; height: 196px; margin-left: -61px; border-radius: 18px; box-sizing: border-box;
  border: 1px solid var(--y-sheen); box-shadow: var(--y-shadow); display: grid; place-items: center; color: var(--draw-back-ink);
  background: radial-gradient(circle at 50% 50%, var(--y-pearl-a), transparent 60%), repeating-conic-gradient(from 0deg at 50% 50%, var(--draw-back-a) 0 6deg, var(--y-pearl-b) 6deg 12deg); }
.v19-draw-backs > span::after { content: '✦'; font-size: 2.125rem; line-height: 1; }
.v19-draw-backs > span:nth-child(1) { transform: translateX(-64px) translateZ(-90px) rotateY(17deg); opacity: .8; z-index: 1; }
.v19-draw-backs > span:nth-child(2) { z-index: 3; }
.v19-draw-backs > span:nth-child(3) { transform: translateX(64px) translateZ(-90px) rotateY(-17deg); opacity: .8; z-index: 2; }
.v19-draw .ij-cta { min-height: 54px; border-radius: 27px; font-size: 1.0625rem; }
.v19-draw .fan-c { border: 1px solid var(--y-sheen); color: var(--draw-back-ink); box-shadow: var(--y-shadow-sm);
  background: radial-gradient(circle at 50% 50%, var(--y-pearl-a), transparent 62%), repeating-conic-gradient(from 0deg at 50% 50%, var(--draw-back-a) 0 6deg, var(--y-pearl-b) 6deg 12deg); }
/* 카드 뒷면 무늬: 밝은 화면은 시안의 분홍 진주, 어두운 화면은 밤 값끼리(진주 두 겹)로 눈부시지 않게. */
.v19-draw { --draw-back-a: var(--y-pink); --draw-back-ink: var(--y-on-pink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .v19-draw { --draw-back-a: var(--y-pearl-c); --draw-back-ink: var(--y-pink); } }
:root[data-theme='dark'] .v19-draw { --draw-back-a: var(--y-pearl-c); --draw-back-ink: var(--y-pink); }
.v19-draw .fan-c:focus-visible { outline: 2px solid var(--y-pink-deep); }
.v19-draw .slot { border: 1.5px dashed var(--y-line); color: var(--y-muted); }
.v19-draw .slot.full { border: 1px solid var(--y-pink-deep); background: var(--y-pink); color: var(--y-on-pink); }
/* 다시 뽑기는 결과 맨 아래의 작은 유리 단추. */
.v19-draw .v19-draw-again { align-self: center; min-height: 44px; padding: 0 22px; border-radius: 22px; font-size: .9375rem; font-weight: 700; color: var(--y-fg);
  background: linear-gradient(180deg, var(--g-a), var(--g-b)); border: 1px solid var(--g-edge); box-shadow: inset 0 1px 0 var(--g-edge), var(--g-shadow); }
.v19-draw .ij-drawcard > p.small { margin: 0; font-size: .8125rem; color: var(--y-muted); }
.v19-draw .ij-drawcard > p.small:last-child { text-align: center; }
/* 아래 줄: 뽑기에서 더 할 수 있는 것 — 장수 고르기 · 다른 방식으로 읽기 · 지난 결과. */
.v19-draw-more { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v19-draw-more > .v19-draw-eyebrow { margin-left: 6px; }
.v19-draw-rows { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--y-surface); border: 1px solid var(--y-line); box-shadow: var(--y-shadow-sm); }
.v19-draw-row { width: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; margin: 0;
  border: 0; border-top: 1px solid var(--y-line); border-radius: 0; background: none; color: var(--y-fg); text-align: left; min-width: 0; }
.v19-draw-row:first-child { border-top: 0; }
.v19-draw-row > b { font-size: 1rem; font-weight: 500; }
.v19-draw-row > .small { font-size: .8125rem; color: var(--y-muted); }
.v19-draw-past { position: relative; padding-right: 36px; min-height: 60px; justify-content: center; gap: 2px; }
.v19-draw-past::after { content: '›'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--y-muted); }
.v19-draw .v19-draw-other { padding-block: 4px; }
.v19-draw .v19-draw-other > summary { min-height: 44px; width: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 1rem; color: var(--y-fg); cursor: pointer; list-style: none; }
.v19-draw .v19-draw-other > summary::-webkit-details-marker { display: none; }
.v19-draw .v19-draw-other > summary::after { content: '›'; font-size: 1.25rem; color: var(--y-muted); transition: transform .2s; }
.v19-draw .v19-draw-other[open] > summary::after { transform: rotate(90deg); }
.v19-draw .v19-draw-other .ij-link { color: var(--y-link); }
.v19-draw .v60-spread-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.v19-draw .v60-spread-pick > button { flex: 0 1 auto; min-height: 40px; max-width: 100%; padding: 0 14px; border-radius: 20px; font-size: .875rem; white-space: normal;
  color: var(--y-fg); border: 1px solid var(--y-line); background: var(--y-surface); }
.v19-draw .v60-spread-pick > button[aria-pressed="true"] { font-weight: 700; border-color: transparent; background: var(--g-thumb); box-shadow: inset 0 0 0 1.5px var(--y-pink-deep), var(--g-glow); }
/* 육효 단계 띠: 묻기 → 결과 → 언제 · 여섯 효(v40.js installLiuyao). 지금 단계만 고른 모양. */
.v40-ly-steps { list-style: none; margin: 2px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.v40-ly-steps > li { min-height: 36px; padding: 4px 6px; box-sizing: border-box; display: grid; place-items: center; text-align: center; border-radius: 18px; font-size: .8125rem; line-height: 1.3;
  color: var(--y-muted); border: 1px solid var(--y-line); background: color-mix(in srgb, var(--y-surface) 70%, transparent); overflow-wrap: anywhere; }
.v40-ly-steps > li[aria-current="step"] { color: var(--y-fg); font-weight: 700; border-color: transparent; background: var(--g-thumb); box-shadow: inset 0 0 0 1.5px var(--y-pink-deep), var(--g-glow); }
/* 육효 카드의 접은 근거: 긴 출처 이름이 칸을 넓혀 옆으로 넘치지 않게(320폭 · 큰 글씨). */
.v40-basis { grid-template-columns: minmax(0, 1fr); }
.v40-basis .v40-source-chip, .v40-basis > p { max-width: 100%; overflow-wrap: anywhere; }
.v40-ly-drawhead { margin-bottom: 12px; }
.v40-ly-drawhead + .v19-draw-tabs { margin-bottom: 10px; }
.v40-ly-drawhead ~ .v19-draw-description { margin-bottom: 10px; }
/* 5부 B3: 원문 평가의 읽기 아래 쉬운 뜻(evaluation_meaning_ko). 큰 글씨·320폭에서도 칸 안에서 줄을 바꾼다. */
.v40-condition .v40-ly-meaning { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--y-fg); overflow-wrap: anywhere; }
/* 6부 B5: 재물 조건 줄(상태 | 문장 두 칸)의 원문 평가 읽기와 쉬운 뜻은 문장 칸 아래에 차례로 둔다(상태 칸에 끼지 않게). */
.v40-ly-conditions .v40-ly-row > .v40-ly-original, .v40-ly-conditions .v40-ly-row > .v40-ly-meaning { grid-column: 2; margin: 0; overflow-wrap: anywhere; }
.v40-ly-conditions .v40-ly-row > .v40-ly-meaning { font-size: .9375rem; line-height: 1.6; color: var(--y-fg); }
/* 8부 C5: 재물 조건 줄은 상태 옆에 이유(reason_ko), 그 아래 같은 문장 칸에 읽기(reading_ko). */
.v40-ly-conditions .v40-ly-row > .v40-ly-reading { grid-column: 2; margin: 0; overflow-wrap: anywhere; }
/* 6부 F17: 주역 뽑기 카드 경문 줄의 층 이름('경문의 뜻') — 줄 제목 바로 아래 작은 이름. */
.ij-drawcard .iching-scope { margin: 2px 0 0; }
.v19-draw-backs.shuffling > span { animation: drawBackPulse .6s ease-in-out alternate infinite; }
.v19-draw-backs.shuffling > span:nth-child(2) { animation-delay: .15s; }
.v19-draw-backs.shuffling > span:nth-child(3) { animation-delay: .3s; }
@keyframes drawBackPulse { to { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .v19-draw-backs.shuffling > span, .v19-draw .v19-draw-other > summary::after { animation: none; transition: none; } }
:root[data-motion="off"] .v19-draw-backs.shuffling > span, :root[data-motion="off"] .v19-draw .v19-draw-other > summary::after { animation: none; transition: none; }

/* FullReading.dc.html v19: layout only; real values/evidence come from server. */
.v19-full-reading { border:0; background:none; padding:0; box-shadow:none; gap:12px; }
.v19-full-reading .mirror-trial { margin:0; }
.v19-full-tabs { display:flex; gap:8px; padding:4px 0 12px; overflow-x:auto; scrollbar-width:thin; }
.v19-full-tab { min-height:44px; padding:0 14px; border-radius:22px; border:1px solid var(--line); background:var(--surface,#fff); font:inherit; font-size:0.875rem; color:var(--text); white-space:nowrap; }
.v19-full-tab[aria-pressed="true"] { background:var(--soft); color:var(--accent,#6843a4); border-color:var(--line2); font-weight:700; }
.v19-full-section { border:0; display:flex; flex-direction:column; gap:12px; }
.v19-full-section[hidden] { display:none; }
.v19-full-section > summary { display:none; }
.v19-full-card { border:1px solid var(--line); border-radius:20px; padding:16px 18px; background:var(--surface,#fff); display:flex; flex-direction:column; gap:10px; min-width:0; }
.v19-full-card-label { margin:0; font-size:0.875rem; font-weight:700; color:var(--accent,#6843a4); }
.v19-full-card-text { margin:0; font-size:1rem; line-height:1.65; }
.v19-full-evidence { border:0; min-width:0; }
.v19-full-evidence-trigger { min-height:44px; padding:10px 12px; border-radius:12px; background:var(--soft); display:flex; align-items:center; gap:8px; list-style:none; font-size:0.875rem; cursor:pointer; }
.v19-full-evidence-trigger::-webkit-details-marker { display:none; }
.v19-full-why-label,.v19-full-more { flex:none; font-weight:700; }
.v19-full-why { min-width:0; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.v19-full-more { color:var(--accent,#6843a4); margin-left:auto; }
.v19-full-evidence[open] .v19-full-why { display:none; }
.v19-full-evidence-body { padding-top:12px; display:flex; flex-direction:column; gap:10px; }
.v19-full-evidence-body .display-term { margin:0; }
.v19-full-limits { margin-top:12px; padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:var(--soft); }
.v19-full-limits > summary { min-height:44px; font-size:0.875rem; cursor:pointer; }
.v19-full-state { font-size:0.875rem; line-height:1.65; }
/* Host adds this class to the full-reading sheet; keep its close/history behavior. */
.v35-dialog.v19-full-dialog { width:100%; max-width:620px; height:100dvh; max-height:100dvh; margin:0 auto; inset:0; padding:0; border:0; border-radius:0; overflow:auto; }
.v19-full-dialog > .dialog-heading { position:sticky; top:0; z-index:12; margin:0; padding:14px 16px 8px; background:var(--surface); border-bottom:1px solid var(--line); }
.v19-full-dialog > .dialog-heading h2 { font-size:1.375rem; }
.v19-full-dialog .v35-full-body { padding:0 16px 16px; }
.v19-full-dialog .v19-full-tabs { position:sticky; top:66px; z-index:10; background:var(--surface); padding-top:8px; }
.v19-full-source { font-size:0.875rem; line-height:1.6; color:var(--muted); }

/* v19 r2 chatroom: one plan and bottom composer. */
/* ChatRoom source order: round summary, one plan panel, messages, composer. */
.v25-current-state.has-comparison{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center}
.v25-current-state.has-comparison>*{grid-column:1 / -1;min-width:0}
.v25-current-state.has-comparison>h2{grid-column:1}
.v25-current-state.has-comparison>.v25-compare-open{grid-column:2;grid-row:1 / span 2;align-self:center}
.v25-current-state.has-comparison>.v25-current-round{grid-column:1 / -1}
.v25-plan-panel{min-width:0;border:0;padding:0;background:transparent}
.v22-view .v25-plan-panel>summary.v25-plan-strip{display:flex;list-style:none;box-sizing:border-box}
.v25-plan-panel>summary::-webkit-details-marker{display:none}
.v25-plan-panel[open]>summary{border-radius:16px 16px 0 0}
.v25-plan-panel>.v25-plan-body{margin:0;border-top:0;border-radius:0 0 16px 16px}
.v25-chat-menu[open]{box-sizing:border-box;width:min(344px,calc(100vw - 32px));max-height:min(72dvh,640px);overflow:auto;overscroll-behavior:contain}
.v25-chat-menu>.v22-card{margin:8px 0;padding:12px;border-radius:16px;gap:8px}
.v25-chat-menu .v25-context{position:static}
.v25-chat-menu .v25-context>summary{font-size:0.875rem;overflow-wrap:anywhere}
.v25-event-time{display:block;font-size:0.875rem;line-height:1.5;color:var(--v19-muted,#6b6573)}
.v25-messages{flex:1;min-height:180px}
.v25-compose-dock{margin-bottom:0}
@media(max-width:350px){.v25-current-state.has-comparison{gap:2px 8px}.v25-compare-open{padding:0 10px}.v25-chat-menu[open]{width:calc(100vw - 28px)}}
/* Let the conversation grow into the viewport without the hidden tab bar gap. */
body.v25-room-open{padding-bottom:0}
body.v25-room-open .app-shell{display:flex;flex-direction:column;min-height:100dvh}
body.v25-room-open #top{display:flex;flex:1;flex-direction:column;min-height:0}
body.v25-room-open #v22-view{flex:1;padding-bottom:0}
body.v25-room-open .v25-compose-dock{padding-bottom:calc(10px + env(safe-area-inset-bottom))}

/* Keep the safety menu separate from round, sharing, and activity controls. */
.v25-round-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-end}
.v25-current-state.has-comparison>.v25-round-actions{grid-column:2;grid-row:1 / span 2;flex-direction:column;align-items:stretch}
.v25-round-actions>.v22-primary,.v25-round-actions>.v25-compare-open{min-height:44px;padding:6px 10px;font-size:0.875rem;line-height:1.5;margin:0;box-shadow:none}
.v25-current-state>.v25-past-rounds{grid-column:1 / -1;margin-top:4px;background:transparent;padding:8px 0;border:0;border-radius:0}
.v25-together-tools{display:flex;flex-direction:column;gap:10px;min-width:0}
.v25-plus:not([open])>.v25-plus-content{display:none}
.v25-plus[open]>.v25-plus-content{position:absolute;left:0;bottom:48px;z-index:8;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;width:min(344px,calc(100vw - 32px));max-height:min(68dvh,600px);overflow:auto;padding:12px;border:1px solid var(--v19-border);border-radius:18px;background:var(--v19-surface);box-shadow:0 8px 24px #24222b12;overscroll-behavior:contain}
.v25-plus-content>.v22-secondary,.v25-together-tools>.v22-secondary{width:100%;text-align:left;margin:0}
.v25-plus-content .v22-card{padding:12px;border-radius:16px;gap:8px}
.v25-plus-content summary{display:block;width:auto;height:auto;min-height:44px;border-radius:0;background:transparent;font-size:0.875rem;line-height:1.6;overflow-wrap:anywhere}
.v25-received-compatibility{min-width:0}
.v25-received-compatibility>.v19-recipient-shared{padding:0;background:transparent;border:0;gap:6px}
.v25-received-compatibility>.v19-recipient-shared>details>summary{display:flex;align-items:center;min-height:44px;padding:0 4px;color:var(--v19-accent);font-size:0.9375rem;list-style:none}
.v25-received-compatibility>.v19-recipient-shared>details>summary::-webkit-details-marker{display:none}
/* v60 r2 chat branch: compare counts, list badges, day lines, safety sheets, saved draw page */
.v25-answer-counts{display:flex;flex-wrap:wrap;gap:6px}
.v25-answer-counts span{font-size:0.8125rem;line-height:1.5;font-weight:700;padding:2px 10px;border-radius:10px;background:#e3f7f0;color:#1f6b4a}
.v25-answer-counts .v25-count-different{background:#fff1d6;color:#7a4b00}
.v25-answer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.v25-answer-head h3{margin:0;font-size:0.875rem;color:var(--v19-muted)}
.v25-answer-badge{flex:none;font-size:0.8125rem;line-height:1.5;font-weight:700;padding:1px 9px;border-radius:9px;background:#e3f7f0;color:#1f6b4a}
.v25-answer-badge[data-agreement=different]{background:#fff1d6;color:#7a4b00}
.v25-current-state.has-comparison>h2{font-size:0.9375rem;font-weight:700;color:var(--v19-ink)}
.v25-chat-kind{font-size:0.8125rem;color:var(--v19-muted)}
.v25-chat-label{flex:1;min-width:0}
.v25-chat-link>.v25-state-badge{flex:none;max-width:38%;margin:0;padding:2px 8px;border-radius:9px;background:var(--v19-soft);color:var(--v19-muted);font-size:0.75rem;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.v25-chat-link>.v25-state-badge[data-pending=true]{background:#fff1d6;color:#7a4b00}
.v25-day-line{align-self:center;margin:4px 0;font-size:0.8125rem;color:var(--v19-muted)}
.v25-profile-hint{margin:0;text-align:center;font-size:0.8125rem;color:var(--v19-muted)}
.v25-safety-sheet{display:flex;flex-direction:column;gap:10px}
.v25-safety-sheet>.v25-safety-action{min-height:48px;border:1px solid var(--v19-border);border-radius:24px;background:var(--v19-surface);color:var(--v19-ink);font:inherit;font-weight:700}
.v25-safety-sheet>p{margin:0;font-size:0.8125rem;line-height:1.6}
.v25-safety-sheet>.v25-sheet-close{align-self:center;min-height:44px}
.v25-record-pair{font-size:0.8125rem;color:var(--v19-muted)}
.v25-record-companion{align-self:flex-end;margin-top:-6px;min-height:40px;padding:0 6px;border:0;background:none;color:var(--v19-accent);font:inherit;font-size:0.875rem;cursor:pointer}
.v25-saved-header{align-items:center}
.v25-saved-heading h1{margin:0;font-size:1.25rem}
.v25-saved-heading p{margin:0;font-size:0.8125rem}
.v25-saved-badge{display:flex;gap:8px;align-items:flex-start;margin:0;padding:12px 14px;border:1px solid var(--v19-border);border-radius:16px;background:var(--v19-soft);font-size:0.875rem;line-height:1.55}
.v25-saved-badge b{flex:none;padding:1px 8px;border-radius:9px;background:var(--v19-surface);font-size:0.75rem}
.v25-saved-question{margin:4px 0;font-size:1.1875rem;line-height:1.45}
.v25-saved-body{display:flex;flex-direction:column;gap:0;padding:4px 16px}
.v25-saved-card{display:grid;gap:2px;padding:12px 0;border-bottom:1px solid var(--v19-border)}
.v25-saved-card:last-child{border-bottom:0}
.v25-saved-card h3{margin:0;font-size:1rem}
.v25-saved-card p{margin:0;font-size:0.875rem;line-height:1.55}
.v25-saved-hexagrams{margin:8px 0;font-size:1.125rem;font-weight:700}
.v25-saved-source{margin:0;font-size:0.8125rem;color:var(--v19-muted);overflow-wrap:anywhere}
.v25-saved-deeper{gap:6px}
.v25-saved-deeper h3,.v60-pair-card h3{display:flex;align-items:center;gap:6px;margin:0;font-size:0.9375rem}
.v60-paid-tag{font-size:0.75rem;font-weight:700;padding:1px 7px;border-radius:8px;background:var(--v19-pink);color:var(--v19-accent)}
.v25-draw-again{width:100%;min-height:50px}
.v25-draw-again-note{margin:0;text-align:center;font-size:0.8125rem}
.v60-story-draft{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.v60-story-draft p{margin:0;font-weight:700;color:var(--v19-accent);overflow-wrap:anywhere}
.v60-pair-card{gap:6px}
.v60-pair-card p{margin:0;font-size:0.8125rem}
.v60-pair-price{font-weight:700}
.v25-current-state.has-comparison>h2+p{grid-column:1}
.v25-messages>.v25-day-line{font-size:0.8125rem;line-height:1.5}
.v22-view .v25-profile-hint{font-size:0.8125rem}
.v25-safety-sheet>.v25-safety-action.is-report{color:#b3261e}
.v22-view .v25-saved-source,.v22-view .v25-draw-again-note,.v22-view .v25-saved-deeper p.v22-muted,.v22-view .v60-pair-card p{font-size:0.8125rem;line-height:1.55}
.v22-view .v25-saved-badge{font-size:0.875rem}
.v22-view .v25-saved-deeper>p:not(.v22-muted){font-size:0.9375rem;line-height:1.55}
/* r3 B5: one folded basis per saved card; F26 saved spread line in records. */
.v25-evidence{padding:10px 0 12px;border-top:1px solid var(--v19-border)}
.v25-evidence>summary{min-height:40px;display:flex;align-items:center;cursor:pointer;font-size:0.875rem;color:var(--v19-accent)}
.v25-evidence>p{margin:4px 0 0;font-size:0.8125rem;line-height:1.55;overflow-wrap:anywhere}
.v25-evidence>.v25-evidence-note{margin-top:2px;font-size:0.75rem}
.v25-record-spread{font-size:0.8125rem;line-height:1.5;color:var(--v19-muted);overflow-wrap:anywhere}
