
  
  :root {
    --bg:       #f7f7fb;
    --surface:  #f7f7fb;
    --card:     #ffffff;
    --grey:     #EBE9F2;
    --border:   #E2DFEC;
    --field-bd: #DEDBE7;
    --accent:   #4F3787;
    --accent2:  #644AA6;
    --text:     #1d1d1f;
    --text-2:   #55555a;
    --muted:    #636369;
    --success:  #2E7D32;
    --error:    #c0392b;
    --warn:     #F5973D;
    --pair-a:   #68421F;
    --pair-b:   #0D5E5E;
    --pair-a-bg: rgba(104,66,31,.12);
    --pair-b-bg: rgba(13,94,94,.12);
    --gold:     #c9a84a;
    --r-pill:   999px;
    --r-field:  12px;
    --r-card:   20px;
    --r-inner:  12px;
    --r-sheet:  24px;
    --font-ui:  var(--font-sym), 'Segoe UI', system-ui, sans-serif;
    --font-sym: 'AB Symbols';
    --glyph:    var(--accent);
    --shadow:   0 4px 24px rgba(79,55,135,0.10);
    --card-shadow: 0 1px 3px rgba(79,55,135,0.04);
    --accent-hover: #3C2566;
    --hover-lav:    #E1DFEA;
    --error-bg:  #fdecec;  --error-bd:  #f5b5b5;
    --warn-bg:   #fff6e5;  --warn-bd:   #f0d9a8;  --warn-fg: #7a5a1e;
    --info-bg:   #eef1ff;  --info-bd:   #c9d2f5;  --info-fg: #2f3a7a;
    --badge-bg:  #fff1e0;  --badge-fg:  #a25b12;  --medal:   #c8961e;
    --fire:  #DC0600;  --fire-bg:  #fdeceb;
    --earth: #198800;  --earth-bg: #e4f2e0;
    --air:   #FA8C00;  --air-bg:   #fdeed6;
    --water: #474B84;  --water-bg: #e6e7f0;
    --c-portrait:  #4F3787;
    --c-relations: #DD5770;
    --c-timing:    #D97400;
    --c-timing-fill: #FA8C00;
    --on-fill:     #ffffff;
    --tint-zebra:    rgba(79,55,135,.035);
    --tint-soft:     rgba(79,55,135,.05);
    --tint-hover:    rgba(79,55,135,.08);
    --tint-active:   rgba(79,55,135,.10);
    --tint-selected: rgba(79,55,135,.16);
    --line-soft:     rgba(79,55,135,.06);
    --line:          rgba(79,55,135,.10);
    --focus-ring:    0 0 0 3px rgba(79,55,135,.12);
    --shadow-thumb:  0 1px 3px rgba(79,55,135,.30);
    --shadow-lift:   0 2px 10px rgba(20,20,40,.10);
    --shadow-pop:    0 8px 28px rgba(20,20,40,.14);
    --shadow-modal:  0 12px 48px rgba(20,20,40,.25);
    --scrim:         rgba(20,20,35,.45);
    --success-bg:  #eaf4ec;  --success-fg: #2f6b3f;
    --error-fg:    #a13d3d;  --error-hover: #a5311f;
    --tone-harmony: #2e7d32;
    --tone-tension: #c0392b;
    --tone-mixed:   #e08a1e;
    --tone-conj:    #337aba;
    --tone-neutral: #8a8a93;
    --motion-rx: #8f5f0a;
    --motion-st: #6e4e9e;
    --c-variants:   #7a8f00;
    --c-relations-ink: #b03050;
    --c-grp-fam:      #2E8540;
    --c-grp-fam-ink:  #1E6B2A;
    --c-grp-fam-bg:   rgba(30,107,42,.12);
    --c-grp-fr:       #2F6DB5;
    --c-grp-fr-ink:   #1F5FA8;
    --c-grp-fr-bg:    rgba(31,95,168,.12);
    --c-grp-oth:      #8a8a93;
    --c-grp-oth-bg:   rgba(85,85,90,.12);
    --ty-from:  #474B84;
    --ty-to:    #5b2a86;
    --on-ty-2:  rgba(255,255,255,.86);
    --ty-line:  rgba(255,255,255,.18);
    --fs-read-step: 0;  --fs-ui-step: 0;  --fs-head-step: 0;
    --fs-xs:      11px;
    --fs-sm:      13px;
    --fs-ui:      calc(15px + var(--fs-ui-step) * .5px);
    --fs-read:    calc(18px + var(--fs-read-step) * 1px);
    --fs-title:   calc(19px + var(--fs-head-step) * 1px);
    --fs-h2:      calc(22px + var(--fs-head-step) * 1px);
    --fs-h1:      calc(26px + var(--fs-head-step) * 1.5px);
    --fs-display: calc(32px + var(--fs-head-step) * 2px);
    --fw-h:       600;
    --lh-read:    1.45;
  }
  @media (max-width: 640px) {
    :root { --card-py: 14px; --card-px: 16px; --card-gap: 10px; }
  }
  html[data-fs-read="-2"] { --fs-read-step: -2; }
  html[data-fs-read="-1"] { --fs-read-step: -1; }
  html[data-fs-read="1"]  { --fs-read-step: 1; }
  html[data-fs-read="2"]  { --fs-read-step: 2; }
  html[data-fs-read="3"]  { --fs-read-step: 3; }
  html[data-fs-ui="-2"]   { --fs-ui-step: -2; }
  html[data-fs-ui="-1"]   { --fs-ui-step: -1; }
  html[data-fs-ui="1"]    { --fs-ui-step: 1; }
  html[data-fs-ui="2"]    { --fs-ui-step: 2; }
  html[data-fs-head="-2"] { --fs-head-step: -2; }
  html[data-fs-head="-1"] { --fs-head-step: -1; }
  html[data-fs-head="1"]  { --fs-head-step: 1; }
  html[data-fs-head="2"]  { --fs-head-step: 2; }
  html[data-fw-head="1"]  { --fw-h: 500; }
  input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
  input[type="checkbox"] { width: 18px; height: 18px; }

  .ctx-link, .upgrade-faq-link, .upgrade-secondary-link {
    font-size: var(--fs-sm); color: var(--muted); text-decoration: underline; }
  .ctx-link:hover, .upgrade-faq-link:hover, .upgrade-secondary-link:hover {
    color: var(--accent); }
  .ctx-link.is-lead { color: var(--accent); font-weight: 600; }
  .ctx-link.is-lead:hover { color: var(--accent-hover); }

  .lead-link, .astrolog-bio-all {
    color: var(--accent); font-size: var(--fs-ui); font-weight: 600; text-decoration: none; }
  .lead-link:hover, .astrolog-bio-all:hover { text-decoration: underline; }

  .act-link, .astrolog-meet-link, .astrolog-chip-change,
  .moon-bio-more, .header-desc-toggle, .link-row-edit,
  .co-discount-toggle, .form-link {
    color: var(--accent); font-size: var(--fs-ui); font-weight: 600; text-decoration: underline; }
  .act-link:hover, .astrolog-meet-link:hover,
  .astrolog-chip-change:hover, .moon-bio-more:hover,
  .header-desc-toggle:hover, .link-row-edit:hover, .co-discount-toggle:hover,
  .form-link:hover { color: var(--accent-hover); }

  .check-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    color: var(--text); font-size: var(--fs-ui); line-height: 1.45; margin: 0 0 10px; }
  .check-row:last-child { margin-bottom: 0; }
  .check-row input[type="checkbox"] { margin-top: 1px; flex-shrink: 0; cursor: pointer; }
  .check-row a { color: var(--accent); text-decoration: underline; }
  .check-row .hint { display: block; color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
  .check-row--fine { font-size: var(--fs-sm); color: var(--muted); }

  body.canvas-grey { background: var(--grey); }
  html:has(body.canvas-grey) { background: var(--grey); }

  @media (max-width: 768px) {
    @supports (-webkit-touch-callout: none) {
      input, select, textarea { font-size: 16px !important; }
      .chat-input-row.fs-large textarea { font-size: calc(var(--fs-ui) + 2px) !important; }
    }
  }
  .rec-legacy-note { border-radius: var(--r-inner); padding: 10px 14px; font-size: var(--fs-sm);
    background: var(--warn-bg); color: var(--warn-fg); border: 1px solid var(--warn-bd);
    margin: 0 0 14px; }

  
  [class*="btn-"][class*="btn-"], .bt-buy { border-radius: var(--r-pill); }
  .btn-secondary-small, .btn-primary-small {
    display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box; min-height: 36px;
    padding: 0 16px; border-radius: var(--r-pill);
    font-size: var(--fs-sm); font-weight: 600; font-family: inherit; cursor: pointer;
  }
  .btn-secondary-small { background: var(--grey); color: var(--accent);
                          border: 1px solid var(--field-bd); }
  .btn-secondary-small:hover { background: var(--hover-lav); border-color: var(--accent); }
  body.canvas-grey .btn-secondary-small { background: var(--card); }
  body.canvas-grey .btn-secondary-small:hover { background: var(--hover-lav); }
  .btn-primary-small { background: var(--accent); color: var(--on-fill);
                        border: 1px solid transparent; }
  .btn-primary-small:hover { background: var(--accent-hover); }
  [class*="btn-"], .bt-buy { font-size: var(--fs-ui); font-weight: 600; }
  [class*="btn-"], .bt-buy { transition: background .15s ease, border-color .15s ease, color .15s ease, transform .06s ease; }
  [class*="btn-"]:active:not(:disabled), .bt-buy:active:not(:disabled) { transform: translateY(1px); }
  [class*="btn-"]:focus-visible, .bt-buy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .ask-ico { width: 18px; height: 18px; flex: none; margin-right: 8px; vertical-align: -4px; }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { background: var(--grey); }
  body { font-family: var(--font-ui); font-size: var(--fs-ui);
         max-width: 1232px; margin: 0 auto;
         padding-left: 16px; padding-right: 16px; padding-bottom: 60px;
         background: var(--grey); color: var(--text); line-height: 1.6; }
  
  html { scrollbar-gutter: stable; }
  html { scroll-padding-top: 82px; }
  *, *::before, *::after { box-sizing: border-box; }
  body { padding-top: 66px; margin-top: 0; }
  .app-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: var(--card); border-bottom: 1px solid transparent;
    transition: box-shadow .22s ease, border-color .22s ease; }
  .app-header.scrolled { border-bottom-color: var(--border);
    box-shadow: var(--shadow-lift); }
  body.canvas-grey .app-header { background: var(--grey); }
  body.canvas-grey .app-balance.level-ok,
  body.canvas-grey .app-balance.level-low,
  body.canvas-grey .app-balance.level-crit { background-color: var(--card); }
  body.canvas-grey .app-nav-link:hover { background: var(--card); }
  body.canvas-grey .lang-dd-trigger { background: transparent; border-color: var(--field-bd); }
  body.canvas-grey .lang-dd-trigger:hover { background: var(--hover-lav); border-color: var(--accent); }
  body.canvas-grey .app-login-btn { background: var(--card); border-color: var(--field-bd); }
  body.canvas-grey .app-login-btn:hover { background: var(--hover-lav); border-color: var(--accent); }
  .app-header-inner { max-width: 1232px; margin: 0 auto;
    padding: max(9px, env(safe-area-inset-top)) 16px 9px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .app-brand { display: flex; align-items: center; gap: 7px; text-decoration: none;
    min-width: 0; flex-shrink: 1; }
  .app-brand-logo { display: inline-flex; align-items: stretch; height: 1.9rem; flex-shrink: 0; }
  .app-brand-logo > .abf-box, .app-brand-logo > .app-brand-word { height: 100%; width: auto; display: block; }
  .app-brand-sygnet { display: none; height: 1.9rem; width: auto; flex-shrink: 0; }
  .abf-box { position: relative; aspect-ratio: 206 / 201; flex-shrink: 0; }
  .abf-box > .abf-img, .abf-box > .abf { position: absolute; inset: 0; width: 100%; height: 100%;
    display: block; overflow: visible; }
  .abf-box > .abf { visibility: hidden; }
  .abf-box.abf-live > .abf { visibility: visible; filter: invert(1); isolation: isolate; }
  .abf-box.abf-live > .abf-img { visibility: hidden; }
  .abf-box.abf-live .abf-pt path { mix-blend-mode: plus-lighter; }
  .abf-box.abf-hold > .abf-img { animation: abf-wait 0s 1.6s both; }
  @keyframes abf-wait { from { opacity: 0; } to { opacity: 1; } }
  .app-brand-name { font-size: var(--fs-title); font-weight: var(--fw-h); color: var(--accent);
    letter-spacing: -0.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .app-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
  .app-header.is-brand-mark .app-brand-logo { display: none; }
  .app-header.is-brand-mark .app-brand-sygnet { display: block; }
  .app-header.is-brand-mark .app-brand { min-height: 44px; min-width: 44px; }
  .app-balance { font-size: var(--fs-sm); font-weight: 600; white-space: nowrap;
    height: 44px; padding: 0 12px 0 10px; border: 2px solid transparent; background-clip: padding-box;
    border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 5px;
    font-variant-numeric: tabular-nums; text-decoration: none; flex-shrink: 0;
    transition: background .3s ease, color .3s ease; }
  .app-balance:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
  .app-balance-buy { display: none; color: var(--accent); padding-right: 8px; margin-right: 3px;
    border-right: 1px solid var(--line); }
  .app-balance.level-low .app-balance-buy, .app-balance.level-crit .app-balance-buy { display: inline; }
  .app-buy-l { display: none; }
  @media (min-width: 1280px) {
    .app-balance .app-buy-l { display: inline; }
    .app-balance:has(.app-buy-l) .app-buy-s { display: none; }
  }
  .app-acct-open { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; padding: 0;
    border: 2px solid transparent; background: var(--info-bg); background-clip: padding-box;
    box-shadow: inset 0 0 0 1.5px var(--tint-selected); color: var(--accent); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: inherit; font-size: var(--fs-sm); font-weight: 700; line-height: 1; }
  .app-acct-open:hover { background-color: var(--hover-lav); }
  .app-acct-open[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
  .app-acct-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
  .app-acct-open-m { display: none; }
  .app-balance .balance-berry { width: 15.2px; height: 15.2px; flex-shrink: 0; display: block;
    background-color: currentColor; transform-origin: center bottom;
    -webkit-mask: url("/static/berry.svg") center / contain no-repeat;
    mask: url("/static/berry.svg") center / contain no-repeat; }
  .app-balance.level-ok   { color: var(--accent); background-color: var(--grey); }
  .app-balance.level-low  { color: var(--badge-fg); background-color: var(--grey); }
  .app-balance.level-crit { color: var(--c-relations-ink); background-color: var(--grey); }
  @keyframes berry-pulse { 0%{transform:scale(1)} 35%{transform:scale(1.18)} 100%{transform:scale(1)} }
  .app-balance.pulse .balance-berry { animation: berry-pulse .45s ease-out; }
  @media (prefers-reduced-motion: reduce) { .app-balance.pulse .balance-berry { animation: none; } }
  .app-nav-desktop { display: flex; align-items: center; gap: 4px; }
  .app-nav-link { font-size: var(--fs-sm); color: var(--text); text-decoration: none;
    padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
  .app-nav-link:hover { background: var(--grey); color: var(--accent); }
  .app-nav-link.active { color: var(--accent); font-weight: 600; }
  .lang-dd { position: relative; display: inline-flex; }
  .lang-dd-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--r-field); padding: 5px 9px;
    color: var(--text); font-size: var(--fs-sm); font-weight: 500; transition: background .15s, border-color .15s; }
  .lang-dd-trigger:hover { background: var(--hover-lav); border-color: var(--accent); }
  .lang-dd-code { letter-spacing: .02em; }
  .lang-dd-chev { width: 13px; height: 13px; color: var(--muted); transition: transform .18s ease; }
  .lang-dd.open .lang-dd-chev { transform: rotate(180deg); }
  @media (prefers-reduced-motion: reduce) { .lang-dd-chev { transition: none; } }
  .lang-dd-menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--card);
    border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-pop);
    padding: 6px; min-width: 190px; z-index: 60; display: none; }
  .lang-dd.open .lang-dd-menu { display: block; }
  .lang-dd-opt { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px;
    font-size: var(--fs-ui); color: var(--text); text-decoration: none; }
  .lang-dd-opt:hover { background: var(--tint-hover); color: var(--accent); }
  .lang-dd-name { flex: 1; }
  .lang-dd-check { width: 16px; height: 16px; color: var(--accent); opacity: 0; }
  .lang-dd-opt.active { color: var(--accent); font-weight: 600; }
  .lang-dd-opt.active .lang-dd-check { opacity: 1; }
  .lang-dd-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .lang-flag { width: 19px; height: 13px; display: block; flex-shrink: 0; clip-path: inset(0 round 2.5px); }
  .app-lang-opt { display: none; }
  .app-lang-opt .lang-dd-trigger { height: 44px; padding: 0 12px; gap: 7px; border: 2px solid transparent;
    background-clip: padding-box; border-radius: var(--r-pill); background-color: var(--grey); font-weight: 600; }
  .app-lang-opt .lang-dd-trigger:hover { background-color: var(--hover-lav); }
  body.canvas-grey .app-lang-opt .lang-dd-trigger { background-color: var(--card); border-color: transparent;
    background-clip: padding-box; }
  body.canvas-grey .app-lang-opt .lang-dd-trigger:hover { background-color: var(--hover-lav); border-color: transparent;
    background-clip: padding-box; }
  .app-lang-opt .lang-dd-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
  .app-place { display: inline-flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px; min-height: 44px; padding: 4px 8px;
    border-radius: 10px; color: var(--muted); text-decoration: none;
    font-size: var(--fs-xs); line-height: 1.2; white-space: nowrap; position: relative; }
  .app-place svg { width: 21px; height: 21px; flex-shrink: 0; }
  .app-place:hover { color: var(--accent); background: var(--grey); }
  body.canvas-grey .app-place:hover { background: var(--card); }
  .app-place.on { color: var(--accent); font-weight: 600; }
  .app-place-lbl { padding-bottom: 1px; border-bottom: 2px solid transparent; }
  .app-place.on .app-place-lbl { border-bottom-color: var(--accent); }
  .app-place:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .app-new-open { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
    border: 2px solid transparent; background: var(--accent); background-clip: padding-box;
    color: var(--on-fill); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; padding: 0; }
  .app-new-open svg { width: 20px; height: 20px; flex-shrink: 0; }
  .app-new-open:hover { background-color: var(--accent-hover); }
  .app-new-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
  .app-new-open-m { display: none; }
  .app-new-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; }
  .app-topback, .app-top-title { display: none; }
  .int-portrait { color: var(--c-portrait); }
  .int-relations { color: var(--c-relations); }
  .int-timing { color: var(--c-timing); }
  .int-variants { color: var(--c-variants); }
  .int-relations svg, .int-timing svg { stroke-width: 2.4; }
  .app-tabbar { display: none; }
  .app-sheet-bd { position: fixed; inset: 0; background: var(--scrim); z-index: 950;
    opacity: 0; pointer-events: none; transition: opacity .24s ease; }
  .app-sheet-bd.open { opacity: 1; pointer-events: auto; }
  .app-sheet { position: fixed; z-index: 960; background: var(--card);
    left: 50%; top: 50%; width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 32px); overflow-y: auto;
    border-radius: var(--r-card); padding: 12px 12px 16px;
    transform: translate(-50%, -48%); opacity: 0; visibility: hidden;
    transition: transform .24s cubic-bezier(.4,0,.2,1), opacity .24s ease, visibility 0s linear .24s; }
  .app-sheet.open { transform: translate(-50%, -50%); opacity: 1; visibility: visible;
    box-shadow: var(--shadow-modal);
    transition: transform .24s cubic-bezier(.4,0,.2,1), opacity .24s ease, visibility 0s; }
  .app-sheet-head { display: flex; align-items: center; justify-content: space-between;
    gap: 8px; padding: 4px 4px 8px 8px; }
  .app-sheet-title { font-size: var(--fs-title); font-weight: var(--fw-h); color: var(--text); margin: 0; }
  .app-sheet-close { width: 44px; height: 44px; border: none; background: none; border-radius: 50%;
    font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; flex-shrink: 0; }
  .app-sheet-close:hover { background: var(--grey); color: var(--accent); }
  .app-sheet-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .app-sheet-list { display: flex; flex-direction: column; gap: 2px; }
  .app-sheet-opt { display: flex; align-items: center; gap: 14px; min-height: 52px;
    padding: 10px 12px; border-radius: var(--r-inner); color: var(--text); text-decoration: none;
    font-size: var(--fs-ui); }
  .app-sheet-opt:hover { background: var(--tint-hover); color: var(--accent); }
  .app-sheet-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .app-sheet-opt-ico { width: 24px; height: 24px; flex-shrink: 0; display: inline-flex; }
  .app-sheet-opt-ico svg { width: 24px; height: 24px; }
  body.sheet-open { overflow: hidden; }
  @media (prefers-reduced-motion: reduce) {
    .app-sheet, .app-sheet.open, .app-sheet-bd { transition: none; } }
  .acct-menu { display: flex; flex-direction: column; }
  .acct-id { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-inner);
    background: var(--grey); color: var(--text); text-decoration: none; margin-bottom: 6px; }
  .acct-id:hover { background: var(--hover-lav); }
  .acct-id:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .acct-mono { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-fill);
    font-size: var(--fs-ui); font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; }
  .acct-id-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .acct-id-name { font-size: var(--fs-ui); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
  .acct-id-sub { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.35; overflow-wrap: anywhere; }
  .acct-chev { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
  .acct-list { display: flex; flex-direction: column; gap: 2px; }
  .acct-row { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 12px;
    border-radius: var(--r-inner); color: var(--text); text-decoration: none; font-size: var(--fs-ui); }
  .acct-row:hover { background: var(--tint-hover); color: var(--accent); }
  .acct-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .acct-row > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); }
  .acct-row:hover > svg { color: var(--accent); }
  .acct-lbl { flex: 1; min-width: 0; }
  .acct-meta { font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
  .acct-berry { width: 20px; height: 20px; flex-shrink: 0; background-color: var(--muted);
    -webkit-mask: url("/static/berry-outline.svg") center / contain no-repeat;
    mask: url("/static/berry-outline.svg") center / contain no-repeat; }
  .acct-row:hover .acct-berry { background-color: var(--accent); }
  .acct-lang { display: block; }
  .acct-lang > summary { cursor: pointer; list-style: none; }
  .acct-lang > summary::-webkit-details-marker { display: none; }
  .acct-dd { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; transition: transform .2s ease; }
  .acct-lang[open] .acct-dd { transform: rotate(180deg); }
  @media (prefers-reduced-motion: reduce) { .acct-dd { transition: none; } }
  .acct-meta-lang { display: inline-flex; align-items: center; gap: 8px; }
  .acct-lang-opt { padding-left: 46px; }
  .acct-lang-opt.on { color: var(--accent); font-weight: 600; }
  .acct-check { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
  .acct-sep { height: 1px; background: var(--line); margin: 6px 12px; }
  .acct-out, .acct-out > svg { color: var(--error); }
  .acct-out:hover { background: var(--error-bg); color: var(--error); }
  .acct-out:hover > svg { color: var(--error); }
  .acct-small { margin: 6px 12px 2px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.9; }
  .acct-small a { color: var(--muted); text-decoration: none; white-space: nowrap; }
  .acct-small a:hover { color: var(--accent); text-decoration: underline; }
  .acct-guest { display: grid; gap: 8px; padding: 2px 0 10px; }
  .acct-guest-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    padding: 0 18px; border-radius: var(--r-pill); font-size: var(--fs-ui); font-weight: 600; text-decoration: none; }
  .acct-guest-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
  .acct-guest-in { background: var(--accent); color: var(--on-fill); }
  .acct-guest-in:hover { background: var(--accent-hover); }
  .acct-guest-reg { background: var(--grey); color: var(--accent); }
  .acct-guest-reg:hover { background: var(--hover-lav); }
  .acct-guest-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .app-acct-guest svg { width: 22px; height: 22px; }
  .app-login-btn { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-sm);
    font-weight: 600; color: var(--accent); background: var(--grey);
    border: 1px solid var(--border); border-radius: var(--r-pill); padding: 6px 14px; text-decoration: none;
    transition: background .15s, border-color .15s; }
  .app-login-btn:hover { background: var(--hover-lav); border-color: var(--accent); }
  .app-login-btn svg { width: 16px; height: 16px; }
  .app-balance-mobile { display: none; }
  .app-places-top { display: none; }
  @media (min-width: 641px) {
    .app-places-top { display: flex; flex: 1 0 auto; justify-content: center; align-items: center;
      gap: 4px; }
    .app-acct { left: auto; top: 60px; right: max(16px, calc((100% - 1232px) / 2 + 16px));
      width: 340px; max-height: calc(100vh - 76px); padding: 10px;
      transform: translateY(-6px); }
    .app-acct.open { transform: translateY(0); box-shadow: var(--shadow-pop); }
    .app-acct .app-sheet-head { display: none; }
    .app-sheet-bd.app-acct-bd { background: transparent; }
  }
  @media (min-width: 641px) and (max-width: 1023px) {
    .app-header.is-guest .app-places-top { gap: 0; }
    .app-header.is-guest .app-places-top .app-place { padding-left: 4px; padding-right: 4px; }
  }
  @media (min-width: 641px) and (max-width: 1279px) {
    .app-header .app-brand-logo { display: none; }
    .app-header .app-brand-sygnet { display: block; }
  }
  @media (min-width: 1024px) {
    .app-places-top .app-place { flex-direction: row; gap: 6px; font-size: var(--fs-ui);
      padding: 7px 10px; }
    .app-places-top .app-place svg { width: 17px; height: 17px; }
    .app-lang-opt { display: inline-flex; }
    .app-nav-desktop:has(.app-new-open-top) { gap: 8px; }
    .app-new-open-top { margin-right: 12px; }
  }
  @media (min-width: 1280px) {
    .app-new-open-top { width: auto; gap: 7px; padding: 0 18px 0 13px; border-radius: var(--r-pill);
      font-family: inherit; font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
    .app-new-open-top .app-new-lbl { position: static; width: auto; height: auto; overflow: visible;
      clip-path: none; }
  }
  @media (max-width: 640px) {
    body { overflow-x: hidden; }
    .app-nav-desktop { display: none; }
    .app-balance-unit { display: none; }
    .app-balance { padding: 0 9px 0 7px; }
    .app-balance-mobile { display: inline-flex; }
    .app-acct-open-m { display: inline-flex; }
    .app-header-inner { gap: 8px; }
    .app-header-actions { gap: 4px; }
    .app-brand { gap: 5px; }
    .app-brand-logo { height: 1.46rem; }
    .app-header:not(.is-brand-mark):has(.app-balance-mobile.level-low) .app-brand-logo,
    .app-header:not(.is-brand-mark):has(.app-balance-mobile.level-crit) .app-brand-logo { display: none; }
    .app-header:not(.is-brand-mark):has(.app-balance-mobile.level-low) .app-brand-sygnet,
    .app-header:not(.is-brand-mark):has(.app-balance-mobile.level-crit) .app-brand-sygnet { display: block; height: 1.7rem; }
    .app-new-open-m { display: inline-flex; }
    .app-topback { display: inline-flex; align-items: center; justify-content: center; position: relative;
      width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
      border: 2px solid transparent; background: var(--accent); background-clip: padding-box;
      color: var(--on-fill); text-decoration: none; }
    .app-topback:hover { background-color: var(--accent-hover); }
    .app-topback svg { width: 20px; height: 20px; display: block; }
    .app-topback-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden;
      clip-path: inset(50%); white-space: nowrap; }
    .app-topback:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
    .app-header.is-brand-mark .app-brand-sygnet { height: 1.7rem; }
    .app-topback ~ .app-brand .app-brand-logo,
    .app-topback ~ .app-brand .app-brand-sygnet { display: none; }
    .app-topback ~ .app-brand .app-beta-badge { margin-left: 0; }
    body:has(.app-topback) .rec-back { display: none; }
    .app-header.scrolled .app-top-title { display: block; flex: 1 1 auto; min-width: 0;
      margin-right: auto; font-size: var(--fs-title); font-weight: var(--fw-h); color: var(--text);
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .app-header.scrolled .app-brand:has(+ .app-top-title) .app-brand-logo { display: none; }
    .app-header.scrolled .app-brand:has(+ .app-top-title) .app-brand-sygnet { display: block; height: 1.7rem; }
    .app-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
      background: var(--card); border-top: 1px solid var(--border);
      padding: 2px 2px env(safe-area-inset-bottom); }
    .app-tabbar .app-place { flex: 1 1 0; min-width: 0; min-height: 54px; padding: 4px 0;
      border-radius: 0; }
    .app-tabbar .app-place:hover { background: none; }
    .app-tabbar .app-place-lbl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    body:has(.app-tabbar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    body:has(.app-tabbar) .cookie-consent { bottom: calc(68px + env(safe-area-inset-bottom)); }
    .app-sheet { left: 0; right: 0; top: auto; bottom: 0; width: auto;
      max-height: 85vh; border-radius: var(--r-sheet) var(--r-sheet) 0 0;
      padding: 8px 12px calc(16px + env(safe-area-inset-bottom));
      transform: translateY(100%); opacity: 1; }
    .app-sheet.open { transform: translateY(0); opacity: 1;
      box-shadow: 0 -10px 40px rgba(20,20,40,.18); }
  }
  .app-beta-badge {
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.03em;
    color: var(--on-fill); background: #8184BB; border-radius: var(--r-pill);
    padding: 2px 8px; white-space: nowrap; align-self: center;
    margin-left: 6px; line-height: 1.3; text-transform: uppercase;
    min-width: 0; overflow: hidden; text-overflow: ellipsis;
  }
  @media (max-width: 640px) {
    .app-beta-badge { font-size: 0.56rem; padding: 1px 6px; margin-left: 0; }
  }
  .cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200;
    max-width: 720px; margin: 0 auto; display: none; align-items: center; gap: 16px;
    flex-wrap: wrap; justify-content: space-between; background: var(--card);
    border: 1px solid var(--border); border-radius: var(--r-card);
    box-shadow: var(--shadow-pop); padding: 14px 18px; }
  .cookie-consent.show { display: flex; }
  .cookie-consent-text { font-size: var(--fs-ui); color: var(--muted); line-height: 1.5; flex: 1 1 260px; }
  .cookie-consent-text a { color: var(--accent); text-decoration: underline; }
  .cookie-consent-ok { flex-shrink: 0; background: var(--accent); color: var(--on-fill); border: none;
    border-radius: var(--r-pill); padding: 9px 20px; font-size: var(--fs-ui); font-weight: 600; cursor: pointer; }
  .cookie-consent-ok:hover { background: var(--accent-hover); }
  .legal-footer { text-align: center; font-size: var(--fs-sm); margin-top: 48px; line-height: 2; }
  .legal-footer a { color: var(--muted); text-decoration: none; white-space: nowrap; }
  .legal-footer a:hover { color: var(--accent); text-decoration: underline; }
  .legal-footer-sep { color: var(--border); margin: 0 10px; }
  .legal-footer-copy { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
  .legal-footer-ver { margin-top: 4px; font-size: var(--fs-xs); color: var(--muted);
                      font-variant-numeric: tabular-nums; }
  .fb-overlay { display: none; position: fixed; inset: 0; z-index: 1000;
    background: var(--scrim); align-items: center; justify-content: center; padding: 20px; }
  .fb-overlay.open { display: flex; }
  .fb-modal { position: relative; width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto;
    box-sizing: border-box; padding: 32px 28px 28px; background: var(--bg);
    border-radius: var(--r-card); box-shadow: var(--shadow-modal); text-align: left; }
  .fb-close { position: absolute; top: 8px; right: 8px; min-width: 44px; min-height: 44px;
    background: none; border: none; font-size: var(--fs-h2); line-height: 1; color: var(--muted);
    cursor: pointer; font-family: inherit; }
  .fb-close:hover { color: var(--text); }
  .fb-title { margin: 0 0 12px; font-size: var(--fs-title); font-weight: var(--fw-h);
    color: var(--text); text-align: center; }
  .fb-intro { margin: 0 0 14px; font-size: var(--fs-ui); line-height: 1.5; color: var(--text-2); }
  .fb-textarea { display: block; width: 100%; min-height: 140px; box-sizing: border-box; resize: vertical;
    padding: 12px 14px; border: 1px solid var(--field-bd); border-radius: var(--r-field);
    background: var(--card); color: var(--text); font-family: inherit; font-size: var(--fs-read);
    line-height: 1.5; }
  .fb-textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
  .fb-textarea::placeholder { color: var(--muted); }
  .fb-error { display: none; margin: 8px 0 0; font-size: var(--fs-sm); color: var(--error); }
  .fb-success { display: none; font-size: var(--fs-ui); line-height: 1.5; color: var(--success); text-align: center; }
  .fb-buttons { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; }
  .fb-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    min-height: 44px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid var(--field-bd);
    background: var(--card); color: var(--accent); font-family: inherit; font-size: var(--fs-ui);
    font-weight: 600; cursor: pointer; }
  .fb-btn:hover { background: var(--hover-lav); border-color: var(--accent); }
  .fb-btn-primary { background: var(--accent); color: var(--on-fill); border-color: transparent; }
  .fb-btn-primary:hover { background: var(--accent-hover); border-color: transparent; }
  .fb-btn:disabled { opacity: .6; cursor: default; }
  .fb-btn:focus-visible, .fb-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (max-width: 480px) {
    .fb-overlay { padding: 12px; }
    .fb-modal { padding: 24px 18px 20px; }
    .fb-buttons { flex-direction: column; gap: 8px; }
    .fb-btn { width: 100%; }
  }

  .page-title { font-size: var(--fs-h1); font-weight: var(--fw-h); letter-spacing: -0.01em;
                color: var(--text); margin: 18px 0 8px; }
  .ap-intro { color: var(--text-2); max-width: 700px; margin: 0 0 24px; }
  .ap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
             gap: 16px; }
  @media (max-width: 760px) { .ap-grid { grid-template-columns: 1fr; } }
  .ap-card { background: var(--card); border-radius: var(--r-card); padding: 28px 28px 24px;
             box-shadow: var(--card-shadow);
             display: flex; flex-direction: column; }
  .ap-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
  .ap-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
               flex-shrink: 0; }
  .ap-name { font-size: var(--fs-title); font-weight: var(--fw-h); color: var(--text); }
  .ap-tagline { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
  .ap-bio { color: var(--text-2); }
  .ap-bio p { margin: 0 0 10px; }
  .ap-scope { font-size: var(--fs-sm); color: var(--muted); margin: 4px 0 10px; }
  .ap-scope b { color: var(--text-2); font-weight: 600; }
  .ap-price { display: inline-block; background: var(--grey); color: var(--text-2);
    font-size: var(--fs-sm); font-weight: 600; padding: 4px 12px; border-radius: var(--r-pill);
    margin: 0 0 14px; }
  .ap-cta { margin-top: auto; }
  .ap-cta .btn-talk { display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: none;
    background: var(--accent); color: var(--on-fill); text-decoration: none; cursor: pointer; }
  .ap-cta .btn-talk:hover { background: var(--accent-hover); }
  .ap-soon { font-size: var(--fs-sm); color: var(--muted); font-style: italic; }
