@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/36e0cd62fe6705b2ed9c.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/3e217c40eb3f30f8378a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/36755b3a55aba6d45df3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/b0d9b8aec7f47207ce40.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/c2ae124f149371e1b620.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/d25f70ff7404fddbeb15.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/e83829fe40a88cff1c6e.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/83b86791eb0ebfca23da.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/0336df67f25be86ea38a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/bd11c74f54739723a686.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ef95296c778719c3d658.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/bd11c74f54739723a686.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ef95296c778719c3d658.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/d7f9db9b1034978ebebd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/8fa67d5f0ab2a1d0b924.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/5628567856d60d714e7a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/5d91eb5d522a03081946.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/d7f9db9b1034978ebebd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/8fa67d5f0ab2a1d0b924.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/5628567856d60d714e7a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/5d91eb5d522a03081946.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/d7f9db9b1034978ebebd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/8fa67d5f0ab2a1d0b924.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/5628567856d60d714e7a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/5d91eb5d522a03081946.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* /app/styles.css */
/* TRIONFI — huyền bí đêm: chàm/tím sâu + vàng ánh kim */


:root {
  --night-0: #05040a;
  --night-1: #0b0917;
  --night-2: #141029;
  --violet:  #2b1d52;
  --gold:    #d8b15f;
  --gold-l:  #f2dfa0;
  --gold-d:  #8a6a2a;
  --text:    #e8e2d4;
  --muted:   #9a93aa;
  --ease:    cubic-bezier(.22,.61,.36,1);
  /* Cinzel không có dấu tiếng Việt — chỉ dùng cho chữ TRIONFI */
  --display:    'Playfair Display', Georgia, serif;
  --brand-font: Cinzel, Georgia, serif;
  --safe-b:  env(safe-area-inset-bottom, 0px);
  --safe-t:  env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--night-0);
  color: var(--text);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.68;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: var(--display); font-weight: 600; letter-spacing: .02em; }

/* ---------- nền sao ---------- */
#sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#sky canvas { width: 100%; height: 100%; display: block; }
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(90,60,160,.30), transparent 60%),
    radial-gradient(90% 50% at 50% 110%, rgba(216,177,95,.10), transparent 60%);
}

/* ---------- khung app ---------- */
#app {
  position: relative; z-index: 2;
  max-width: 520px; margin: 0 auto; min-height: 100%;
  padding: calc(18px + var(--safe-t)) 20px calc(24px + var(--safe-b));
  display: flex; flex-direction: column;
}
.screen { display: none; flex: 1; flex-direction: column; animation: rise .5s var(--ease) both; }
.screen.on { display: flex; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- thanh trên ---------- */
.topbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; min-height: 34px; }
.topbar .spacer { flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(216,177,95,.4); border-radius: 999px;
  padding: 5px 12px; font-size: 12.5px; color: var(--gold-l);
  background: rgba(216,177,95,.06); cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { background: rgba(216,177,95,.14); border-color: var(--gold); }
.chip.plain { border-color: rgba(255,255,255,.14); color: var(--muted); background: none; }

/* ---------- chữ ---------- */
.brand { font-family: var(--brand-font); font-size: 34px; letter-spacing: .32em; margin: 0 0 4px; color: var(--gold-l); text-indent: .32em; }
.tagline { color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
h2.title { font-size: 21px; margin: 0 0 6px; color: var(--gold-l); }
.hint { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(216,177,95,.45), transparent); margin: 18px 0; }

/* ---------- form ---------- */
label { display: block; font-size: 12.5px; color: var(--muted); margin: 0 0 6px; letter-spacing: .04em; }
input, textarea, select {
  width: 100%; background: rgba(255,255,255,.035); color: var(--text);
  border: 1px solid rgba(216,177,95,.22); border-radius: 12px;
  padding: 13px 14px; font: inherit; font-size: 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--gold); background: rgba(216,177,95,.07);
}
.field { margin-bottom: 16px; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; }
textarea { resize: none; min-height: 112px; line-height: 1.6; }

/* ---------- nút ---------- */
.btn {
  display: block; width: 100%; border: none; border-radius: 13px; cursor: pointer;
  padding: 15px 20px; font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .03em;
  background: linear-gradient(135deg, var(--gold-d), var(--gold) 45%, var(--gold-l) 70%, var(--gold-d));
  color: #1a1205; transition: transform .2s var(--ease), box-shadow .3s var(--ease), opacity .2s;
  box-shadow: 0 8px 28px -12px rgba(216,177,95,.8);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(216,177,95,.95); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.btn.ghost {
  background: none; border: 1px solid rgba(216,177,95,.35); color: var(--gold-l); box-shadow: none;
}
.btn.ghost:hover { background: rgba(216,177,95,.1); }
.btn.link { background: none; box-shadow: none; color: var(--muted); font-size: 13.5px; padding: 10px; }
.stack { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }

/* ---------- thẻ bổn mạng ---------- */
.destiny {
  border: 1px solid rgba(216,177,95,.3); border-radius: 18px; padding: 20px;
  background: linear-gradient(160deg, rgba(43,29,82,.55), rgba(11,9,23,.65));
  position: relative; overflow: hidden;
}
.destiny::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 170px; height: 170px;
  background: radial-gradient(circle, rgba(216,177,95,.24), transparent 70%);
}
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; position: relative; }
.dgrid div span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.dgrid div strong { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--gold-l); }
.dnote { color: var(--muted); font-size: 13px; margin: 16px 0 0; position: relative; font-style: italic; }

/* ---------- thiền ---------- */
.breath { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; gap: 26px; }
.orb {
  width: 130px; height: 130px; border-radius: 50%;
  border: 1px solid rgba(216,177,95,.5);
  background: radial-gradient(circle at 50% 45%, rgba(216,177,95,.32), transparent 68%);
  animation: breathe 8s var(--ease) infinite;
}
@keyframes breathe { 0%,100% { transform: scale(.78); opacity: .55; } 50% { transform: scale(1.12); opacity: 1; } }
.breath p { color: var(--muted); letter-spacing: .16em; font-size: 13px; text-transform: uppercase; margin: 0; }
.countdown { font-family: var(--display); font-size: 44px; color: var(--gold-l); }

/* ---------- lá bài ---------- */
.spread { display: flex; justify-content: center; gap: 12px; margin: 8px 0 22px; perspective: 1400px; }
.card {
  position: relative; width: 100%; aspect-ratio: 300/500;
  cursor: pointer; transform-style: preserve-3d; transition: transform .85s var(--ease);
}
/* hiệu ứng chia bài đặt ở lớp bọc ngoài, để không đè lên phép xoay khi lật bài */
@keyframes deal { from { opacity: 0; transform: translateY(34px) scale(.9); } to { opacity: 1; transform: none; } }
.card.flipped { transform: rotateY(180deg); }
.card .side {
  position: absolute; inset: 0; backface-visibility: hidden;
}
/* contain chứ không cover — ảnh lá bài tỉ lệ hơi khác khung, cover sẽ cắt mất viền.
   Không đặt nền: ảnh đã bo góc trong suốt, đổ nền vào là hiện lại viền đen. */
.card .side img {
  width: 100%; height: 100%; display: block; object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,.92));
}
.card .front { transform: rotateY(180deg); }
.card.reversed .front img { transform: rotate(180deg); }
.card-label { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 9px; letter-spacing: .09em; text-transform: uppercase; }
/* perspective phải nằm ngay trên phần tử cha trực tiếp của lá bài thì phép lật mới có chiều sâu */
.card-wrap { flex: 1; max-width: 168px; perspective: 1400px; animation: deal .6s var(--ease) both; }
.spread.one .card-wrap { max-width: 210px; }
.tap-hint { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .1em; margin: 0 0 18px; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

/* ---------- kết quả ---------- */
.reading {
  border-top: 1px solid rgba(216,177,95,.25); padding-top: 20px; margin-top: 4px;
  font-size: 15.3px; line-height: 1.86; white-space: pre-wrap;
}
.reading p { margin: 0 0 15px; }
.qline { color: var(--gold-l); font-family: var(--display); font-size: 15px; margin: 0 0 16px; }
.meta { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.loader { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; padding: 26px 0; }
.loader i {
  width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgba(216,177,95,.28);
  border-top-color: var(--gold); animation: spin .9s linear infinite; display: block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sheet ---------- */
.sheet-bg {
  position: fixed; inset: 0; z-index: 20; background: rgba(3,2,8,.78);
  backdrop-filter: blur(7px); display: none; align-items: flex-end; justify-content: center;
}
.sheet-bg.on { display: flex; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%; max-width: 520px; background: linear-gradient(180deg, var(--night-2), var(--night-1));
  border: 1px solid rgba(216,177,95,.28); border-bottom: none;
  border-radius: 22px 22px 0 0; padding: 26px 22px calc(26px + var(--safe-b));
  max-height: 88vh; overflow-y: auto; animation: up .38s var(--ease);
}
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.sheet h3 { margin: 0 0 4px; font-size: 18px; color: var(--gold-l); }
.grab { width: 38px; height: 4px; border-radius: 2px; background: rgba(216,177,95,.35); margin: -8px auto 18px; }

/* gói nạp */
.pack {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid rgba(216,177,95,.24); border-radius: 14px; padding: 15px 17px;
  margin-bottom: 10px; cursor: pointer; transition: all .25s var(--ease);
}
.pack:hover, .pack.sel { border-color: var(--gold); background: rgba(216,177,95,.09); }
.pack b { font-family: var(--display); font-size: 16px; color: var(--gold-l); }
.pack small { color: var(--muted); display: block; font-size: 12px; }
.pack .price { font-family: var(--display); font-size: 16px; color: var(--text); white-space: nowrap; }
.tagline-warn { color: var(--gold); font-size: 12px; text-align: center; margin: 14px 0 0; opacity: .75; }

/* chọn mặt lưng */
.backs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 4px; }
.backs button {
  border: 1px solid rgba(216,177,95,.22); border-radius: 10px; padding: 5px; background: none;
  cursor: pointer; transition: all .25s var(--ease);
}
.backs button.sel { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 10px 24px -14px var(--gold); }
.backs img { width: 100%; display: block; border-radius: 6px; }
.backs span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 5px; letter-spacing: .04em; }

/* toggle */
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; }
.toggle .sw { width: 50px; height: 29px; border-radius: 999px; background: rgba(255,255,255,.1); position: relative; cursor: pointer; transition: background .3s var(--ease); flex: none; }
.toggle .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%; background: var(--muted); transition: all .3s var(--ease); }
.toggle .sw.on { background: rgba(216,177,95,.32); }
.toggle .sw.on::after { left: 24px; background: var(--gold-l); }

/* lịch sử */
.hitem { border: 1px solid rgba(255,255,255,.08); border-radius: 13px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .25s; }
.hitem:hover { border-color: rgba(216,177,95,.4); }
.hitem b { display: block; font-weight: 400; font-size: 14.5px; margin-bottom: 4px; }

@media (max-width: 380px) { .spread { gap: 8px; } .brand { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- nạp lượt bằng chuyển khoản ---------- */
#qr-box { text-align: center; }
#qr-box .qr {
  width: 100%; max-width: 260px; height: auto; border-radius: 14px;
  background: #fff; padding: 10px; margin: 4px auto 18px; display: block;
}
dl.pay { text-align: left; margin: 0 0 16px; font-size: 14.5px; }
dl.pay dt {
  font-size: 11.5px; color: var(--muted); letter-spacing: .1em;
  text-transform: uppercase; margin-top: 12px;
}
dl.pay dd { margin: 3px 0 0; color: var(--text); }
dl.pay code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
dl.pay code.code {
  color: var(--gold-l); background: rgba(216,177,95,.12);
  border: 1px solid rgba(216,177,95,.34); border-radius: 7px;
  padding: 3px 9px; letter-spacing: .12em; font-size: 15px;
}
.pay-note { font-size: 13px; color: var(--muted); text-align: left; line-height: 1.66; }
.pay-note b { color: var(--gold-l); font-weight: 500; }
.pay-status {
  margin: 16px 0 4px; font-size: 14px; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.pay-status::before {
  content: ''; width: 13px; height: 13px; border-radius: 50%; flex: none;
  border: 1.5px solid rgba(216,177,95,.28); border-top-color: var(--gold);
  animation: spin .9s linear infinite;
}
.pay-status.ok { color: var(--gold-l); }
.pay-status.ok::before {
  border: none; background: var(--gold); animation: none;
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%);
}

/* ---------- hạn chế lấy ảnh ---------- */
.card .side img, .cardart img, ul.cards.thumbs img, #qr-box .qr, #splash-mark img {
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
  -webkit-touch-callout: none; pointer-events: none;
}

/* GPT remaster — quiet observatory, warm ink and brushed gold. */
:root{--night-0:#101311;--night-1:#171d19;--night-2:#242b23;--violet:#384337;--gold:#c7af7e;--gold-l:#e6d5af;--muted:#a2aaa0;--text:#eeeae0}
body::after{background:radial-gradient(ellipse at 50% 0, #65775720,transparent 65%)}
#sky{opacity:.38}.screen{max-width:720px;padding-top:40px}.title{font-size:clamp(32px,5vw,48px);letter-spacing:-.025em;text-wrap:balance}.hint{line-height:1.8}.btn{border-radius:8px;transition:transform .2s,background .2s}.btn:active{transform:scale(.98)}button:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--gold-l);outline-offset:5px}.chip{font:inherit;color:var(--gold-l);background:transparent}.session-note,.reading-kicker{font-size:11px;letter-spacing:.14em;color:var(--gold);margin:20px 0}.coming-soon{margin:24px 0}.coming-soon>div{padding:18px 0;border-bottom:1px solid #c7af7e25;display:flex;justify-content:space-between}.coming-soon span{font-size:11px;color:var(--muted)}
.deck-fan{height:270px;position:relative;width:100%;margin:20px auto 30px;isolation:isolate}.fan-card{position:absolute;left:calc(50% - 48px);top:40px;width:96px;padding:0;border:0;border-radius:8px;background:transparent;transform-origin:50% 150%;transform:translateX(calc(var(--i)*22px)) rotate(calc(var(--i)*7deg));transition:transform .25s;cursor:pointer;box-shadow:0 12px 25px #080c0999}.fan-card img{width:100%;display:block;border-radius:8px;pointer-events:none}.fan-card:hover,.fan-card:focus-visible{transform:translateX(calc(var(--i)*22px)) translateY(-24px) rotate(calc(var(--i)*7deg));z-index:2}.selected-cards{display:flex;justify-content:center;gap:16px;margin:28px 0}.revealed-art{position:relative;width:clamp(85px,24vw,155px);animation:unveil .8s ease both}.revealed-art>img{display:block;width:100%;border-radius:12px;clip-path:none;filter:drop-shadow(0 12px 16px #080c0980)}.upside-down{transform:rotate(180deg)}.art-stamp{position:absolute;left:0;right:0;top:60%;text-align:center;letter-spacing:.24em;font-size:10px;color:#fff9;text-shadow:0 1px 3px #000;pointer-events:none}.card-label{font-size:11px;margin-top:12px}.followup-panel{padding:24px;background:#c7af7e08;border-left:1px solid var(--gold);margin-top:24px}.followup-panel h3{margin-top:0}.followup-panel textarea{width:100%;min-height:110px;margin-bottom:16px}.reading{font-size:16px;line-height:1.95}.reading p{max-width:65ch}.tap-hint{line-height:1.8}img{-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none}.sw{min-width:44px;min-height:26px}.btn:disabled{opacity:.5;cursor:wait}@keyframes unveil{from{opacity:0;transform:translateY(20px) rotateY(80deg)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}#sky{display:none}}@media(max-width:420px){.fan-card{width:78px;left:calc(50% - 39px);transform:translateX(calc(var(--i)*17px)) rotate(calc(var(--i)*7deg))}.deck-fan{height:240px}.screen{padding-top:24px}.followup-panel{padding:18px}}

@media(min-width:800px){#app{max-width:760px;padding-left:40px;padding-right:40px}.screen{width:100%}}
@media(max-width:600px){.deck-fan{transform:scale(.7);transform-origin:50% 15%;margin-bottom:-40px}.revealed-art{flex:0 1 130px}}

/* Preserve the stock artwork silhouette, including projecting gold ornaments. */
.revealed-art>img{border-radius:0;clip-path:none;object-fit:contain;height:auto}
.side.front,.side.front img{border-radius:0;background:transparent;object-fit:contain}

.complete-spread{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px}.complete-spread .revealed-art{width:100%;max-width:155px;margin:auto;min-width:0}.complete-spread.mode-focus{grid-template-columns:minmax(0,155px);justify-content:center}.complete-spread .card-label{line-height:1.5;text-wrap:balance}.complete-spread.mode-crossroads .card-wrap:first-child{grid-column:1/-1;width:110px}.complete-spread.mode-crossroads{grid-template-columns:repeat(2,minmax(0,1fr))}.complete-spread.mode-weekly,.complete-spread.mode-untangle{grid-template-columns:repeat(2,minmax(0,1fr))}.complete-spread.mode-celtic{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:600px){.complete-spread.mode-celtic{grid-template-columns:repeat(2,minmax(0,1fr))}.complete-spread.mode-connection{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* /app/remaster-app.css */
body{background:#101513;color:#f1ede2;color-scheme:dark}.app-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px max(20px,calc((100vw - 1120px)/2));border-bottom:1px solid #deca962b;position:relative;z-index:2}.app-header>a{font-family:Georgia,serif;letter-spacing:.17em;color:#deca96;text-decoration:none;white-space:nowrap}.app-header nav{display:flex;gap:20px;font-size:12px}.app-header a{color:#d9d8c9;text-decoration:none}.app-header a:hover{color:#deca96}.screen{min-height:calc(100dvh - 70px);padding-bottom:max(35px,env(safe-area-inset-bottom));max-width:720px}input,textarea,select{font-size:16px!important}a{color:#deca96}.hint{color:#bfc2b4}.btn{min-height:50px}.btn.link{min-height:44px}button.chip{min-width:44px;min-height:44px;cursor:pointer;border:1px solid #deca962b}.chip.plain{border:0}.legal-note{font-size:12px!important}.field label{display:block}.hitem{width:100%;display:block;text-align:left;background:transparent;border:0;border-bottom:1px solid #deca962b;color:inherit;cursor:pointer;padding:20px 0}.hitem:hover{background:#deca9608}input:focus-visible,a:focus-visible,.hitem:focus-visible,.chip:focus-visible{outline:2px solid #deca96;outline-offset:4px}.sheet-bg{overscroll-behavior:contain}.sheet{max-height:88dvh;overflow:auto}.screen h2:focus{outline:0}.selected-cards img,.revealed-art>img{border-radius:0!important;clip-path:none;object-fit:contain}.fan-card img{border-radius:6px}.cardart img{object-fit:contain}.art-stamp{display:none}#s-auth .stack{margin-top:18px}#s-splash .stack{margin-top:30px}#sky{opacity:.25}.sw{min-height:44px}#auth-error:empty{display:none}@media(max-width:480px){.app-header{padding:17px 20px}.app-header nav{gap:12px;font-size:11px}.app-header>a{font-size:13px}.screen{padding-inline:20px}.title{font-size:37px}#splash-mark{max-width:130px}}@media(prefers-reduced-motion:reduce){#sky{display:none}}

.auth-tabs{display:flex;gap:12px;margin:20px 0}.auth-tabs .btn{flex:1}.auth-tabs [aria-pressed="true"]{background:#deca96;color:#101513}#signup-name-field[hidden]{display:none}

[hidden]{display:none!important}.sheet .pack{width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer}.sheet .pack:focus-visible{outline:2px solid #deca96;outline-offset:3px}.checkout-order{color:#deca96;font-size:13px}.sheet .pay dd{overflow-wrap:anywhere}.sheet .qr{display:block;margin:18px auto;max-width:100%;border-radius:8px}#payment-actions{display:grid;gap:12px}#checkout-summary{font-size:12px;line-height:1.8}.journey-steps{display:flex;gap:16px;padding:0;list-style:none;font-size:11px;color:#aeb6aa;flex-wrap:wrap;margin:24px 0}.journey-steps b{color:#deca96;margin-right:6px}.journey-steps [aria-current]{color:#f1ede2}.session-reassurance{font-size:12px;line-height:1.8;color:#bfc2b4;text-align:center}.reading-section{margin:0 0 28px}.reading-section h3{font:500 28px/1.3 var(--serif,Georgia,serif);color:#deca96;margin:0 0 14px}.reading-section p{overflow-wrap:anywhere}/* An optional journal draft stays close to the reading without becoming a second page. */
.reading-plan{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:28px;margin:30px 0 12px;padding:24px;border:1px solid #c5a98726;border-radius:14px;background:#1c1527;text-align:left;color:#d3c9be}
.reading-plan-intro,.reading-plan-fields{min-width:0}
.reading-plan-intro .reading-plan-kicker{margin:0 0 9px;font-size:11px;line-height:1.5;color:#bda58c}
.reading-plan h3{margin:0 0 12px;font:500 26px/1.2 var(--display,Georgia,serif);letter-spacing:-.015em;color:#d9c4a8;text-wrap:balance}
.reading-plan-intro>p:last-child{max-width:26ch;margin:0;font-size:13px;line-height:1.7;color:#ada0b4}
.reading-plan-fields{display:grid;gap:8px}
.reading-plan label{margin:0;font-size:12px;line-height:1.5;letter-spacing:0;color:#c9bdcd}
.reading-plan textarea,.reading-plan .reading-plan-date input{width:100%;min-width:0;max-width:100%;border:1px solid #b19aac30;border-radius:8px;background:#171020;color:#d3c9be;padding:11px 12px;font:inherit;line-height:1.6;box-sizing:border-box;box-shadow:none}
.reading-plan textarea{min-height:90px;resize:vertical}
.reading-plan textarea::placeholder{color:#998ba2;opacity:1}
.reading-plan textarea:focus,.reading-plan .reading-plan-date input:focus{background:#171020;border-color:#c5a98780}
.reading-plan-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:5px}
.reading-plan-date{display:grid;gap:7px;min-width:0}
.reading-plan .reading-plan-date input{min-height:44px}
.reading-plan-open{display:inline-flex;align-items:center;justify-content:center;justify-self:end;width:max-content;max-width:100%;min-height:44px;padding:10px 15px;border:1px solid #c5a9874d;border-radius:8px;background:#c5a98715;color:#d9c4a8;font:inherit;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer;box-shadow:none;transition:background .18s,border-color .18s}
.reading-plan-open:hover{background:#c5a98726;border-color:#c5a98780}
.reading-plan-open:active{background:#c5a98733}
.reading-plan :focus-visible{outline:2px solid #c5a987;outline-offset:3px}
.reading-plan .reading-plan-note{margin:5px 0 0;font-size:11px;line-height:1.65;color:#a597ae}
@media(max-width:600px){.reading-plan{grid-template-columns:minmax(0,1fr);gap:18px;padding:20px}.reading-plan h3{font-size:25px;margin-bottom:8px}.reading-plan-intro>p:last-child{max-width:none}.reading-plan .reading-plan-note{font-size:12px}}
@media(max-width:380px){.reading-plan{padding:16px}.reading-plan-footer{grid-template-columns:minmax(0,1fr)}.reading-plan-open{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.reading-plan-open{transition:none}}
/* Finish the reading with quiet actions that stay separate from the optional draft. */
#cards-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:4px;padding-top:14px}
#cards-actions #save-journal-reading{justify-self:start;width:max-content;max-width:100%;min-height:44px;padding:10px 0;border:0;border-radius:0;background:transparent;color:#b9acbf;font-size:12px;font-weight:400;line-height:1.5;letter-spacing:0;text-align:left;box-shadow:none;transform:none}
#cards-actions #save-journal-reading:hover{background:transparent;color:#d9c4a8;box-shadow:none;transform:none}
#cards-actions #go-new{justify-self:end;width:auto;max-width:100%;min-height:44px;padding:11px 16px;border:1px solid #c5a98755;border-radius:8px;background:#c5a9870e;color:#d9c4a8;font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0;box-shadow:none;transform:none}
#cards-actions #go-new:hover{background:#c5a9871c;border-color:#c5a98780;box-shadow:none;transform:none}
#cards-actions #go-new:active{background:#c5a98726;transform:none}
#cards-actions .btn:focus-visible{outline:2px solid #c5a987;outline-offset:3px}
@media(max-width:600px){#cards-actions{grid-template-columns:minmax(0,1fr);gap:6px;padding-top:10px}#cards-actions #go-new{justify-self:stretch;width:100%}}
.reading-error{padding:24px;border:1px solid #deca9660;border-radius:10px}.reading-error p{line-height:1.8}.reading-error .meta{overflow-wrap:anywhere;font-size:11px;margin-top:20px}.reading-error h3{font:500 28px Georgia,serif;color:#deca96}.reading-section:last-child{margin-bottom:0}#resume-session{border-color:#deca96;color:#deca96}@media(max-width:480px){.journey-steps{gap:10px;font-size:10px}.reading-section h3{font-size:25px}.app-header nav{flex-wrap:wrap;justify-content:flex-end}}
.sheet .pack{background:transparent}.sheet .pack.sel,.sheet .pack:hover{background:#deca9612;border-color:#deca96}.sheet .pack .price{font-variant-numeric:tabular-nums}
#app{width:100%;min-width:0}.screen{width:100%;min-width:0}.screen>*{min-width:0}.app-header{width:100%;min-width:0}.app-header nav{min-width:0;flex-wrap:wrap}.row>*{min-width:0}h2.title{font-size:clamp(30px,5vw,42px);line-height:1.2;margin-bottom:16px}@media(max-width:480px){#app{padding-left:20px;padding-right:20px}.screen{padding-left:0;padding-right:0}.app-header{gap:12px}.app-header nav{gap:8px 12px}.app-header>a{letter-spacing:.12em}.journey-steps{margin:10px 0 24px}.session-note{margin:10px 0 16px}}

.reading-review{margin-top:32px;padding:24px;border-top:1px solid #deca9655;background:#1c1527;border-radius:12px}.reading-review fieldset{border:0;padding:0;margin:0 0 20px}.reading-review legend{margin-bottom:10px}.review-stars{display:flex;gap:8px;flex-wrap:wrap}.review-stars label{position:relative;flex:1;min-width:44px}.review-stars input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.review-stars label>span{display:block;padding:12px 4px;border:1px solid #deca9666;border-radius:6px;text-align:center}.review-stars input:checked+span{background:#c5a987;color:#241b2e}.review-stars input:focus-visible+span{outline:2px solid #deca96;outline-offset:4px}.reading-review textarea{display:block;width:100%;margin:10px 0 18px;min-height:100px}.review-consent{display:flex!important;align-items:flex-start;gap:12px;font-size:13px;line-height:1.7}.review-consent input{width:20px!important;height:20px;flex-shrink:0;margin-top:3px}.review-actions{display:flex;gap:12px;flex-wrap:wrap}.reading-review [hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.reading-review [role=status]{font-size:13px;margin-top:12px}

.review-dialog{width:min(620px,calc(100% - 28px));max-height:85dvh;overflow:auto;background:#171020;color:#d3c9be;border:1px solid #c5a9874d;border-radius:14px;padding:24px}.review-dialog::backdrop{background:#000b}.review-dialog>button{float:right;min-height:44px}.review-dialog h2{clear:both;padding-top:18px}.review-dialog [data-entries]{display:grid;gap:12px}.review-dialog [hidden]{display:none!important}
/* 29/09: iOS WebKit date/time inputs have an intrinsic width that overflowed the profile row */
input[type=date],input[type=time]{-webkit-appearance:none;appearance:none;display:block;width:100%;min-width:0;max-width:100%;min-height:50px;box-sizing:border-box;text-align:left;color-scheme:dark}
input[type=date]::-webkit-date-and-time-value,input[type=time]::-webkit-date-and-time-value{text-align:left;min-height:1.4em}
input[type=date]::-webkit-calendar-picker-indicator,input[type=time]::-webkit-calendar-picker-indicator{filter:invert(.8) sepia(.4)}
.row{flex-wrap:wrap}.row>.field{flex:1 1 160px;min-width:0}
@media(max-width:430px){#s-onboard .row{flex-direction:column;gap:0}}
/* long account names / credit labels no longer run off the top bar */
.topbar{min-width:0}.topbar .chip{max-width:62vw;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}

/* /card-fan.css */
/* A contained, responsive fan shared by free and personal readings. */
.deck-fan{--fan-width:96px;position:relative;width:100%;height:250px;margin:20px auto 26px;isolation:isolate;transform:none!important;overflow:visible}
.deck-fan .fan-card{position:absolute;left:50%;top:26px;width:var(--fan-width);height:auto;aspect-ratio:300/538;margin:0;padding:0;border:0;border-radius:8px;background:transparent;transform-origin:50% 75%;transform:translateX(calc(-50% + var(--fan-x,0px))) translateY(var(--fan-y,0px)) rotate(var(--fan-angle,0deg));transition:transform .25s ease,opacity .2s ease;cursor:pointer;box-shadow:0 8px 22px #0005;touch-action:manipulation}
.deck-fan .fan-card img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;border-radius:7px}
.deck-fan .fan-card:hover,.deck-fan .fan-card:focus-visible{transform:translateX(calc(-50% + var(--fan-x,0px))) translateY(calc(var(--fan-y,0px) - 20px)) rotate(var(--fan-angle,0deg));z-index:2;outline:2px solid #deca96;outline-offset:4px}
.deck-fan .fan-card.picked{opacity:0;pointer-events:none;transform:translateX(calc(-50% + var(--fan-x,0px))) translateY(-40px) rotate(var(--fan-angle,0deg))}
.deck-fan .fan-card:disabled{cursor:default}
#splash-mark{margin-inline:auto;flex-shrink:0}#splash-mark img{width:100%;height:auto;display:block}
.demo-stage .deck-fan{max-width:580px}.demo-stage .deck-fan[hidden]{display:none}
@media(max-width:480px){.deck-fan{height:210px;margin-bottom:20px}.deck-fan .fan-card{top:24px}}
@media(prefers-reduced-motion:reduce){.deck-fan .fan-card{transition:none}}

/* /artwork-guard.css */
img[src*="/assets/cards/"],img[src*="/assets/thumbs/"],img[src*="/assets/backs/"]{-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none}

/* /app/journal.css */
#s-journal{max-width:780px;margin:auto;padding-bottom:80px}.journal-summary{display:flex;gap:32px;margin:30px 0;font-variant-numeric:tabular-nums}.journal-summary b{display:block;font-size:32px;color:#dccc97}.journal-tools{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.journal-tools .btn{flex:1;min-width:160px}.journal-label{display:grid;gap:10px;margin:22px 0;font-size:15px;color:#e4dfcd}.journal-label input,.journal-label textarea{box-sizing:border-box;width:100%;border:1px solid #696147;border-radius:10px;padding:14px;background:#151e1a;color:#f0ead8;font:inherit;line-height:1.7}.journal-label textarea{resize:vertical}.journal-label input:focus-visible,.journal-label textarea:focus-visible,.journal-filters button:focus-visible,.journal-entry:focus-visible{outline:2px solid #dccc97;outline-offset:4px}.journal-filters{display:flex;gap:8px;flex-wrap:wrap}.journal-filters button{min-height:44px;padding:8px 15px;border:1px solid #696147;background:transparent;color:#e4dfcd;border-radius:8px;cursor:pointer}.journal-filters [aria-pressed=true]{background:#dccc97;color:#131b17}.journal-entry{display:grid;gap:12px;width:100%;padding:24px 0;border:0;border-bottom:1px solid #494b3b;text-align:left;background:transparent;color:#e4dfcd;font:inherit;cursor:pointer}.journal-entry strong{font-size:22px;line-height:1.4}.journal-entry:hover{background:#dccc9708}.journal-empty{padding:35px 0;line-height:1.8}.journal-reading{padding:18px;background:#dccc9708;border-radius:10px}.journal-reading summary{cursor:pointer;min-height:30px}.journal-reading p{white-space:pre-wrap;line-height:1.9}.journal-complete{display:flex;gap:12px;align-items:center;min-height:44px}.journal-complete input{width:20px;height:20px}#journal-content [role=status]{line-height:1.7;color:#dccc97}#journal-form h3{font-size:26px;margin-top:35px}@media(max-width:480px){.journal-tools{display:grid;grid-template-columns:1fr}.journal-entry strong{font-size:20px}}

/* /brand-header.css */
/* Shared brand and contact controls. */
.header .wrap{min-height:104px;gap:24px}.header .brand,.app-header>a:first-child{display:inline-flex;align-items:center;gap:12px;flex-shrink:0;line-height:1;letter-spacing:.16em}.header .brand img,.app-header>a:first-child img{position:static!important;display:block;flex:none;width:52px!important;height:52px!important;max-width:none;object-fit:contain;margin:0!important;transform:none!important}.header nav{gap:3px;flex-wrap:wrap;justify-content:flex-end}.header nav a{padding:10px 11px;font-size:12px;font-weight:500;line-height:1.4;border-radius:5px;transition:background .18s,color .18s}.header nav a:hover,.header nav a[aria-current=page]{background:#deca9612;color:var(--gold)}.header nav .nav-cta{background:var(--gold);color:#172018;padding:12px 18px;margin-left:7px;border:0}.header nav .nav-cta:hover{background:#eee0b7;color:#172018}.contact-float{position:fixed;right:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:15;display:inline-flex;gap:10px;align-items:center;padding:13px 18px;border-radius:32px;border:1px solid #ead8a770;background:#26372e;color:#fff7df;box-shadow:0 8px 30px #040b0855;font:500 13px/1.3 'Be Vietnam Pro',sans-serif;text-decoration:none;transition:transform .18s,background .18s}.contact-float svg{width:23px;height:23px;flex:none}.contact-float:hover{background:#354b3e;transform:translateY(-2px)}.contact-float:focus-visible{outline:3px solid #deca96;outline-offset:4px}.fanpage-link{display:inline-flex;gap:8px;color:var(--gold,#deca96);font-size:13px}.footer{padding-bottom:100px}.app-header>a:first-child{white-space:nowrap}.app-header nav{flex-wrap:wrap}.app-header+.contact-float{bottom:90px}
@media(max-width:1050px){.header .wrap{padding:18px 0;flex-wrap:wrap;gap:12px}.header nav{width:100%;justify-content:flex-start;gap:5px}.header nav a{padding:10px 12px}.header .brand img{width:46px!important;height:46px!important}}
@media(max-width:600px){.header .wrap{min-height:0;gap:12px}.header .brand{font-size:24px}.header nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));font-size:11px;gap:4px}.header nav a{text-align:center;padding:11px 5px;border:1px solid #deca961a;white-space:nowrap}.header nav .nav-cta{margin:0;padding:11px 5px}.contact-float{right:16px;bottom:max(18px,env(safe-area-inset-bottom));padding:14px}.contact-float span{display:none}.app-header>a:first-child img{width:38px!important;height:38px!important}}
@media(prefers-reduced-motion:reduce){.contact-float,.header nav a{transition:none}}
/* Signature navigation: three main destinations, quiet utility links. */
.header.nav-enhanced{border-bottom:1px solid #deca962b;background:linear-gradient(120deg,#122019ed,#18231bed)}
.header.nav-enhanced .wrap{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;padding:25px 0 15px;align-items:center}
.header.nav-enhanced nav{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:12px;min-width:0}
.nav-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:relative}
.header.nav-enhanced a.nav-service{display:flex;align-items:center;gap:10px;min-height:76px;padding:14px 15px;border:1px solid #cfba8038;background:linear-gradient(135deg,#dfce9910,#dfce9902);border-radius:13px;position:relative;isolation:isolate;overflow:hidden;transition:transform .25s,border-color .3s,background .3s,box-shadow .3s;text-align:left;white-space:normal}
.nav-service::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(110deg,transparent 20%,#eed69922 48%,transparent 75%);transform:translateX(-130%)}
.header.nav-enhanced a.nav-service:hover,.header.nav-enhanced a.nav-service:focus-visible{transform:translateY(-3px);border-color:#e7ce897d;background:#d9c58c17;box-shadow:0 8px 24px #0002;color:#fff1c9}
.nav-service:hover::after,.nav-service:focus-visible::after{animation:nav-glint .85s ease-out}
.header.nav-enhanced a.nav-service[aria-current=page]{border-color:#dec68b94;background:#dec68b1b;box-shadow:inset 0 -2px 0 #e4c888}
.service-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;color:#e4ce98}
.service-icon svg{width:38px;height:34px;overflow:visible}
.icon-fan rect{fill:#1a281f}.icon-orbit{transform-origin:20px 17px;transition:transform .8s}.icon-numbers{transform-origin:20px 17px}
.nav-tarot:hover .icon-fan,.nav-tarot:focus-visible .icon-fan{animation:nav-card-tilt .7s ease-in-out}
.nav-ziwei:hover .icon-orbit,.nav-ziwei:focus-visible .icon-orbit{transform:rotate(60deg)}
.nav-numbers:hover .icon-numbers,.nav-numbers:focus-visible .icon-numbers{animation:nav-number-rise .65s ease-in-out}
.service-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.service-title{font-size:15px;font-weight:600;color:#f1e3bc;letter-spacing:.01em}.service-detail{font-size:10px;line-height:1.4;font-weight:400;color:#a9b6a9;white-space:nowrap}.service-arrow{margin-left:auto;font-size:16px;color:#c4b782}
.nav-star-guide{position:absolute;width:30px;height:30px;top:-19px;left:0;transform:translateX(var(--guide-x,0px)) rotate(-9deg);transition:transform .65s cubic-bezier(.2,.8,.2,1);pointer-events:none;z-index:3;filter:drop-shadow(0 0 7px #e8dba43b)}
.nav-star-guide svg{width:100%;height:100%;animation:guide-greet 1.8s ease-in-out 2}.guide-eyes{transform-origin:20px 19px;animation:guide-blink 4s 2}
.header.nav-enhanced .nav-secondary{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}
.header.nav-enhanced .nav-secondary a{border:0;background:transparent;font-size:11px;min-height:38px;display:inline-flex;align-items:center;padding:8px 12px;color:#c3cbbf;border-radius:7px}
.header.nav-enhanced .nav-secondary a:hover{color:#fff0c3;background:#e5d7a710}
.header.nav-enhanced .nav-secondary .nav-cta{background:#dfcb97;color:#182219;margin-left:8px;padding-inline:17px}
.header.nav-enhanced .nav-secondary .nav-cta:hover{background:#f0dfb3;color:#182219}
@keyframes nav-glint{to{transform:translateX(130%)}}
@keyframes nav-card-tilt{35%{transform:rotate(-7deg)}70%{transform:rotate(5deg)}}
@keyframes nav-number-rise{40%{transform:translateY(-3px)}75%{transform:translateY(1px)}}
@keyframes guide-greet{50%{transform:translateY(-4px) rotate(12deg)}}
@keyframes guide-blink{0%,42%,48%,100%{transform:scaleY(1)}45%{transform:scaleY(.1)}}
@media(max-width:1100px){.header.nav-enhanced .wrap{grid-template-columns:1fr;gap:22px}.header.nav-enhanced .brand{justify-self:center}.header.nav-enhanced .nav-secondary{justify-content:center}}
@media(max-width:600px){.header.nav-enhanced .wrap{padding:18px 0 10px;gap:24px}.nav-services{gap:6px}.header.nav-enhanced a.nav-service{flex-direction:column;gap:7px;padding:12px 4px 11px;min-height:93px;justify-content:center;text-align:center;border-radius:12px}.service-icon,.service-icon svg{width:32px;height:29px;flex-basis:29px}.service-title{font-size:12px}.service-detail,.service-arrow{display:none}.nav-star-guide{width:26px;height:26px;top:-16px}.header.nav-enhanced .nav-secondary{gap:0}.header.nav-enhanced .nav-secondary a{font-size:10px;padding:8px 9px;min-height:40px}.header.nav-enhanced .nav-secondary .nav-cta{margin-left:2px;padding-inline:12px}}
.paused .nav-star-guide svg,.paused .guide-eyes{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.header.nav-enhanced *,.header.nav-enhanced *::after{animation:none!important;transition:none!important}.header.nav-enhanced a.nav-service:hover{transform:none}}

/* The original TRIONFI square icon is shared across website and app. */
.header .brand img,.app-header>a:first-child img{border-radius:9px}
.workspace-footer .brand{display:inline-flex;align-items:center;gap:12px}
.workspace-footer .brand img{display:block;width:40px;height:40px;object-fit:contain;border-radius:9px;flex:none}

/* /app/story-intake.css */
#story-intake { margin: 1.5rem 0; text-align: left; }
#story-intake [hidden], #go-breathe[hidden] { display: none !important; }
.story-progress { color:var(--gold);font-size:.78rem;letter-spacing:.03em; }
#story-intake h3 { font-family:Georgia,serif;font-size:1.55rem;line-height:1.3;margin:1rem 0 1.5rem;text-wrap:balance; }
.story-fields { display:grid;gap:1.15rem; }
.story-fields .field { margin:0;display:grid;gap:.6rem; }
.story-fields textarea { min-height:6rem;resize:vertical; }
.story-fields textarea#f-q { min-height:4.5rem; }
.story-fields input,.story-fields textarea { font-size:1rem;line-height:1.6;width:100%;box-sizing:border-box; }
.story-fields details { padding:1rem 0;border-top:1px solid #baa77840; }
.story-fields summary { cursor:pointer;padding:.5rem 0;line-height:1.5; }
.story-fields details[open] .field { margin-top:1rem; }
.story-navigation { display:flex;gap:.8rem;margin:1.3rem 0; }
.story-navigation .btn { flex:1; }
.story-summary { margin:0;padding:1.3rem;background:rgba(182,158,104,.08);border-left:2px solid var(--gold);border-radius:0 12px 12px 0; }
.story-summary dt { font-size:.8rem;color:var(--gold);margin-top:1.2rem; }
.story-summary dt:first-child { margin-top:0; }
.story-summary dd { margin:.4rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65; }
.story-error { color:#edb9a5;line-height:1.5; }
#story-intake :focus-visible { outline:2px solid var(--gold);outline-offset:4px; }
#story-intake .btn { min-height:48px; }
@media(max-width:420px){#story-intake h3{font-size:1.35rem}.story-navigation{gap:.5rem}}

/* /zodiac-theme.css */
/* Higgsfield-generated TRIONFI quiet constellation artwork. No birth data is stored in these assets. */
:root{--bg:#100b1b;--panel:#20162d;--text:#f4eede;--muted:#c1b4ca;--gold:#dec797;--zodiac-art:url('/assets/quiet-constellations/cosmos.jpg')}
body{background:#100b1b;color:#f4eede;isolation:isolate}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(180deg,#100b1b0a,#100b1b14 55%,#100b1b33),var(--zodiac-art);background-repeat:no-repeat;background-size:cover,cover;background-position:center,center top;opacity:1}
.header,.app-header{background:#160f23e8;border-bottom-color:#d8be9233}.footer{background:#130d20db}.tool-panel,.panel,.package,.price-card,.reading-section,.hitem,.intake-panel{background-color:#20162dea;border-color:#d8be9233}.screen{isolation:isolate}.screen input,.screen textarea,.screen select,.sheet,.review-dialog{background-color:#1c1429;color:#f4eede}.hint,.muted{color:#c1b4ca}#sky{opacity:.1}body::after{pointer-events:none}
@media(min-width:900px){body::before{background-size:cover,cover;background-position:center,center 30%}}
@media(prefers-reduced-motion:reduce){body::before{animation:none!important;transform:none!important}}
body .header.nav-enhanced{background:linear-gradient(120deg,#1c122bef,#24172fef)}body .contact-float{background:#382546;box-shadow:0 8px 30px #0f081d66}body .contact-float:hover{background:#503361}body .icon-fan rect{fill:#24172f}body .header.nav-enhanced .nav-secondary a{color:#c8bace}

/* /glim-experience.css */
.glim-hero{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;min-height:540px;padding:52px 0 30px;gap:24px}.glim-hero h1{font-size:clamp(40px,4.6vw,68px);line-height:1.08;letter-spacing:-.035em;margin:18px 0 24px}.glim-hero p{color:#c3b8d2}.glim-intro>.button{margin-top:22px}.glim-stage{position:relative;display:grid;place-items:center;min-height:400px}.glim-stage glim-mascot{width:min(100%,380px);z-index:1}.glim-orbit{position:absolute;width:85%;aspect-ratio:1;border:1px solid #d5b97e25;border-radius:50%;transform:rotateX(62deg) rotate(-20deg);box-shadow:0 0 65px #a379c21c,inset 0 0 65px #a379c21c}.glim-bubble{margin:0;position:absolute;bottom:25px;background:#251933e6;padding:12px 20px;border:1px solid #dcc49930;border-radius:16px;font-size:14px}.motion-toggle{position:absolute;bottom:-13px;background:none;border:0;color:#baafc8;font:inherit;font-size:12px;cursor:pointer;padding:8px}.service-selection{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;scroll-margin-top:150px}.service-tile{display:block;position:relative;overflow:hidden;padding:30px;border-radius:22px;text-decoration:none;background:#241830e6;border:1px solid #bfa9dc25;transition:transform .25s,border-color .25s}.service-tile:hover{transform:translateY(-4px);border-color:#e0c79880}.service-tile>span:first-child{font-size:11px;letter-spacing:.15em;color:#decba4}.service-tile h2{font-size:36px;line-height:1.1;margin:18px 0 14px}.service-tile p{max-width:210px;color:#bdb1cb;font-size:14px}.service-tile b{display:block;font-size:13px;color:#e7c995;margin-top:22px}.service-tarot{grid-row:span 2;min-height:430px;padding:40px}.service-tarot h2{font-size:48px;position:relative;z-index:2}.service-tarot p,.service-tarot b{position:relative;z-index:2}.mini-fan{position:absolute;bottom:-65px;right:-25px;width:210px;height:300px}.mini-fan img{position:absolute;width:135px;border-radius:12px;box-shadow:0 20px 40px #0c071aaa;transform:rotate(-17deg);animation:card-drift 6s ease-in-out infinite alternate}.mini-fan img+img{left:70px;bottom:15px;transform:rotate(15deg);animation-delay:-3s}.service-stars{background:linear-gradient(90deg,#23162fee,#23162f50),url('/assets/quiet-constellations/aquarius.jpg') 80% 38%/cover}.service-numbers{background:linear-gradient(140deg,#31213f,#1b1428)}.number-art{position:absolute;right:32px;top:18px;font:italic 180px Georgia;color:#bda0d527;line-height:1;pointer-events:none}.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.mode-card{position:relative;display:block;padding:26px;border-radius:18px;background:#20162ce0;border:1px solid #bfa9dc20;text-decoration:none;transition:background .2s,transform .2s}.mode-card:hover{background:#30213d;transform:translateY(-3px)}.mode-symbol{font-size:32px;color:#e4c68b}.mode-count{float:right;font-size:12px;color:#bcb0c9}.mode-card h3{font-size:22px;margin:22px 0 8px}.mode-card p{font-size:14px;color:#bcb0c9;margin-bottom:22px}.mode-action{font-size:12px;color:#e4c68b}.compact-pricing{padding:34px 0 45px;border-top:1px solid #baa1d430;display:grid;grid-template-columns:1fr 1fr;gap:20px;scroll-margin-top:150px}.compact-pricing h2{font-size:28px}.compact-pricing p,.compact-pricing small{color:#bcb0c9}.compact-pricing small{grid-column:1/-1}.price-options{display:flex;gap:10px;align-items:center}.price-options a{flex:1;border:1px solid #c7afdb35;padding:20px 12px;border-radius:14px;text-decoration:none}.price-options span,.price-options strong{display:block}.price-options span{font-size:12px;color:#bcb0c9}.price-options strong{font-size:21px;margin-top:7px}.nav-star-guide{display:none!important}.glim-guide{display:flex;align-items:center;gap:10px}.glim-guide glim-mascot{width:100px;flex:0 0 100px}.glim-guide p{font-size:16px;max-width:400px}.mode-picker{display:flex;gap:8px;overflow-x:auto;padding:10px 0 16px}.mode-picker button{white-space:nowrap;padding:12px 16px;background:#21172d;border:1px solid #ac94c333;border-radius:12px;color:#c4b6d1;cursor:pointer}.mode-picker button[aria-pressed=true]{color:#f3d9a4;border-color:#d9bd81;background:#3a2943}.story-fields details{margin:16px 0}.story-fields details summary{font-size:13px;color:#c6b6d7;cursor:pointer}.story-progress,.story-navigation~.hint{display:none}.story-summary dd{overflow-wrap:anywhere}.story-navigation{margin-top:18px}.glim-guide[hidden]{display:none}glim-mascot[data-paused] canvas{animation:none}a:focus-visible,button:focus-visible{outline:2px solid #e5c88f;outline-offset:5px}@keyframes card-drift{to{translate:0 -12px}}@media(max-width:700px){.glim-hero{grid-template-columns:1fr;min-height:0;padding:28px 0;gap:0}.glim-hero h1{font-size:42px}.glim-stage{grid-row:1;min-height:220px}.glim-stage glim-mascot{width:230px}.glim-bubble{bottom:0;font-size:12px;padding:8px 14px}.motion-toggle{bottom:auto;right:0;top:0;font-size:10px}.glim-intro{margin-top:25px}.glim-intro>.eyebrow{display:none}.service-selection{grid-template-columns:1fr 1fr;gap:10px}.service-tarot{grid-column:1/-1;grid-row:auto;min-height:260px;padding:26px}.service-tarot h2{font-size:38px}.service-tile:not(.service-tarot){padding:20px 16px}.service-tile h2{font-size:27px}.service-tile p{font-size:12px}.service-tile b{font-size:12px}.mini-fan{right:0;bottom:-65px;width:160px}.mini-fan img{width:105px}.mini-fan img+img{left:50px}.mode-grid{grid-template-columns:1fr 1fr;gap:10px}.mode-card{padding:18px 15px}.mode-card h3{font-size:20px;line-height:1.2}.mode-card p{font-size:12px}.compact-pricing{grid-template-columns:1fr}.price-options strong{font-size:19px}.header.nav-enhanced .nav-secondary{display:none}.header.nav-enhanced .service-detail{display:none}.header.nav-enhanced .nav-service{min-height:48px}.header.nav-enhanced .service-title{font-size:12px}.header.nav-enhanced .service-icon{width:26px}.glim-guide glim-mascot{width:85px;flex-basis:85px}.glim-guide p{font-size:14px}}@media(prefers-reduced-motion:reduce){.mini-fan img{animation:none}.service-tile,.mode-card{transition:none}.service-tile:hover,.mode-card:hover{transform:none}}
.glim-stage{padding-bottom:60px}.glim-bubble{z-index:2;bottom:12px}.motion-toggle{bottom:-24px}.glim-hero{padding-bottom:58px}@media(max-width:700px){.glim-stage{padding-bottom:30px}.glim-bubble{bottom:0}.motion-toggle{top:0;bottom:auto}.glim-hero{padding-bottom:28px}}

@media(max-width:700px){.header.nav-enhanced .nav-secondary{display:flex;justify-content:center;padding:0;gap:18px}.header.nav-enhanced .nav-secondary>a{display:none}.header.nav-enhanced .nav-secondary>a[href*="auth=login"],.header.nav-enhanced .nav-secondary>.nav-cta{display:inline-flex;font-size:11px;padding:6px 12px}.app-header nav a:nth-child(-n+3){display:none}.glim-intro h1{font-size:39px}.glim-hero p{font-size:14px}}

/* /glim-chat.css */
.glim-welcome{padding:42px 0 56px}.glim-welcome>h1{font-size:clamp(32px,4.2vw,56px);line-height:1.06;margin:15px 0 24px;letter-spacing:-.035em}.glim-chat{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:30px;align-items:center}.chat-glim{display:flex;flex-direction:column;align-items:center;position:relative}.chat-glim:before{content:'';position:absolute;inset:15% 0;background:radial-gradient(ellipse,#a281cc20,transparent 68%);pointer-events:none}.chat-glim glim-mascot{width:min(100%,330px)}.chat-name{font-size:11px;letter-spacing:.06em;color:#b9a8c7}.chat-pane{min-width:0;padding:24px;background:#1d142bdd;border:1px solid #d9bce62b;border-radius:24px;box-shadow:0 22px 60px #0a071630}.chat-log{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#735b86 transparent;padding:4px 2px 10px;display:flex;flex-direction:column;gap:14px}.chat-bubble{position:relative;font-family:inherit;font-size:15px;line-height:1.65;margin:0;max-width:92%;padding:14px 17px;white-space:pre-wrap;overflow-wrap:anywhere}.from-glim{align-self:flex-start;background:#392742;border:1px solid #aa85bf25;color:#f3e9f4;border-radius:4px 18px 18px 18px}.from-glim:before{content:'';position:absolute;left:-7px;top:0;border-top:10px solid #392742;border-left:8px solid transparent}.from-you{align-self:flex-end;background:#75614b;color:#fff3d9;border-radius:18px 4px 18px 18px}.chat-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.chat-choice{border:1px solid #c4a7d344;background:#271a35;padding:10px 14px;color:#e9d8ef;border-radius:16px;font:inherit;font-size:13px;cursor:pointer}.chat-choice:hover{background:#44304f;border-color:#e0c397}.chat-composer{display:flex;align-items:flex-end;gap:8px;padding:8px;background:#110c1d;border:1px solid #ad8ec044;border-radius:16px}.chat-composer textarea{margin:0!important;background:transparent!important;color:#f4eafa!important;border:0!important;box-shadow:none!important;min-height:50px!important;max-height:140px;width:100%;padding:10px!important;font:inherit;resize:vertical;font-size:16px!important}.chat-send{flex-shrink:0;background:#e1c897;color:#241829;padding:13px 15px;min-height:46px;border:0;border-radius:11px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.chat-actions{display:flex;gap:16px;justify-content:flex-end;margin-top:12px}.chat-actions button{background:none;border:none;padding:8px 0;color:#bcaaca;font:inherit;font-size:11px;cursor:pointer}.chat-error{font-size:13px;color:#f1c79c;margin:8px 0}.chat-error:empty{display:none}.chat-note{width:100%;font-size:12px!important;line-height:1.7;color:#c2b0cd;margin:8px 0}.chat-summary{width:100%;padding:14px 16px;border-left:2px solid #d3b780;background:#2b1d35;border-radius:0 12px 12px 0}.chat-summary p{font-size:13px;margin:6px 0;overflow-wrap:anywhere;color:#dccfe3}.chat-summary strong{color:#e8d29f;font-weight:500}.chat-options>.button{width:100%;text-align:center;justify-content:center}.chat-composer[hidden],.chat-actions button[hidden]{display:none}.reading-glim{width:150px!important;margin:0 auto}.glim-guide glim-mascot{width:110px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#story-intake.glim-chat{grid-template-columns:1fr;gap:12px}#story-intake .chat-glim glim-mascot{width:150px}#story-intake .chat-pane{padding:18px}#story-intake .chat-name{display:none}#s-ask>h2{font-size:27px}#s-ask>.stack{margin-top:20px}.chat-pane button:focus-visible,.chat-pane textarea:focus-visible{outline:2px solid #e9ca92!important;outline-offset:3px}@media(max-width:700px){.glim-welcome{padding:24px 0 32px}.glim-welcome>h1{font-size:34px}.glim-welcome>.eyebrow{font-size:9px}.glim-chat{grid-template-columns:1fr;gap:8px}.chat-glim glim-mascot{width:180px}.chat-glim{margin-top:-12px}.chat-name{display:none}.chat-pane{padding:16px;border-radius:20px}.chat-log{max-height:260px}.chat-bubble{font-size:14px;padding:12px 14px}.chat-options{gap:7px}.chat-choice{padding:10px 12px;font-size:12px}.chat-composer textarea{font-size:16px!important}.chat-actions button{font-size:12px}.chat-summary p{font-size:12px}.contact-float{bottom:12px!important;right:12px!important}.chat-send{padding:12px}.glim-welcome>h1 br{display:none}}@media(prefers-reduced-motion:reduce){.chat-log{scroll-behavior:auto}}

.glim-chat-active .contact-float{visibility:hidden;pointer-events:none}@media(max-width:700px){.header.nav-enhanced .wrap{padding:12px 0 8px;gap:12px}.header.nav-enhanced nav{gap:6px}.header.nav-enhanced a.nav-service{min-height:54px;padding:7px 4px;gap:3px}.header.nav-enhanced .service-icon,.header.nav-enhanced .service-icon svg{width:24px;height:23px;flex-basis:23px}.header.nav-enhanced .brand img{width:36px!important;height:36px!important}.header.nav-enhanced .brand{font-size:21px}.glim-welcome>h1{font-size:29px;margin:10px 0 8px}.glim-welcome{padding-top:18px}.chat-glim glim-mascot{width:165px}.glim-welcome>.eyebrow{margin-bottom:6px}}

/* Quiet conversation surface: GLIM speaks, the chrome recedes. */
.glim-welcome{padding-top:48px}.glim-welcome>h1{font-size:clamp(34px,4.4vw,62px);line-height:1.13;margin-bottom:30px;max-width:820px}.glim-welcome>h1 em{font-weight:400}.glim-chat{grid-template-columns:minmax(210px,.85fr) minmax(0,1.15fr);gap:36px;padding:10px 0 28px;align-items:center}.chat-glim glim-mascot{width:min(100%,360px)}.chat-name{font-size:10px;color:#c4b3d0;letter-spacing:.09em}.chat-pane{background:linear-gradient(135deg,#3222396e,#1d152f50);border:1px solid #d6bfda14;box-shadow:0 20px 60px #0805131f;border-radius:30px;padding:26px}.chat-log{gap:16px;padding:10px 8px 18px;max-height:310px}.chat-bubble{border:0;font-size:14px;line-height:1.7;padding:13px 18px}.from-glim{background:#e5d8ef0d;color:#f1e9f5;border-radius:20px 20px 20px 5px}.from-glim:before{display:none}.from-glim:last-child{font-size:18px;background:#e5d8ef12}.from-you{background:#d8bf94;color:#2b2130;border-radius:20px 20px 5px 20px;padding:10px 16px}.chat-options{gap:9px;margin:14px 6px 18px}.chat-choice{border-color:#cfb7dc28;background:#ffffff05;border-radius:30px;color:#e1d3eb;padding:10px 16px;transition:background .18s,border-color .18s,transform .18s}.chat-choice:hover{background:#deca9915;border-color:#deca9970;transform:translateY(-2px)}.service-choice{display:inline-flex;align-items:center;gap:8px;font-size:13px}.choice-symbol{font-size:20px;color:#e5c58d;line-height:1}.chat-composer{padding:7px 8px 7px 15px;border-radius:27px;border:1px solid #c9aed32f;background:#100b1b8c;align-items:center;transition:border-color .18s,box-shadow .18s}.chat-composer:focus-within{border-color:#dbbf8a80;box-shadow:0 0 0 3px #d9c18f09}.chat-composer textarea{min-height:28px!important;resize:none;padding:8px 2px!important;line-height:1.5!important}.chat-send{width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;font-size:23px;background:#dcc396;color:#2e2035}.chat-send:disabled{opacity:.35;cursor:default}.chat-actions{margin-top:9px;gap:20px}.chat-actions button{color:#bdabc9;font-size:11px;padding:7px 2px}.chat-summary{background:#e3c99709;border-left-color:#d0b583;border-radius:0 16px 16px 0}.chat-log>.chat-bubble{animation:glim-message-in .25s ease-out both}.chat-note{font-size:11px!important}.chat-actions button:hover{color:#eed4a3}@keyframes glim-message-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
#story-intake .chat-pane{border:0;background:transparent;box-shadow:none;padding:8px 0}#story-intake .chat-log{max-height:330px}#story-intake .chat-glim glim-mascot{width:140px}
@media(max-width:700px){.glim-welcome{padding-top:24px}.glim-welcome>h1{font-size:31px;line-height:1.18;margin-bottom:0}.glim-welcome>h1 br{display:block}.glim-chat{grid-template-columns:1fr;gap:0;padding:0 0 20px}.chat-glim{margin-top:-4px}.chat-glim glim-mascot{width:180px}.chat-pane{padding:14px 10px 16px;border-radius:25px;background:linear-gradient(150deg,#39234460,#1e142e40)}.chat-log{padding:8px 5px 12px;max-height:250px}.from-glim:last-child{font-size:16px}.chat-bubble{font-size:13px;max-width:96%;padding:11px 14px}.chat-options{margin:12px 5px 15px;gap:7px}.service-choice{flex:1;justify-content:center;padding:10px 8px;font-size:11px;gap:5px}.chat-composer{padding-left:12px}.chat-send{width:38px;height:38px;min-height:38px}.chat-actions{padding-right:4px}.chat-choice{font-size:12px}.chat-name{display:none}.glim-welcome>.eyebrow{font-size:9px}}
@media(prefers-reduced-motion:reduce){.chat-log>.chat-bubble{animation:none}.chat-choice,.chat-composer{transition:none}.chat-choice:hover{transform:none}}

.home-header .wrap{justify-content:center;min-height:68px;padding-block:14px}.home-header .brand{margin:0}.chat-recommendation{font-size:14px;line-height:1.65;color:var(--muted,#c2b8d1)}.chat-choice.recommended{border-color:#dcc38b;background:#dcc38b18}.spread-preview{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.spread-preview span{padding:7px 10px;border:1px solid #dcc38b24;border-radius:9px;font-size:12px}

.custom-spread{max-width:780px;margin:0 auto 80px}.custom-spread form{display:grid;gap:16px}.custom-spread label{display:grid;gap:9px;margin:16px 0}.custom-spread input,.custom-spread textarea,.custom-spread select{width:100%;padding:12px;border:1px solid #dcc38b40;border-radius:12px;background:#21182f;color:#eee;font:inherit}.custom-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.custom-card{min-width:0}.custom-card img{width:100%;border-radius:12px}.custom-card .upside-down{transform:rotate(180deg)}.custom-card label{font-size:12px}.custom-card input{min-width:0}.custom-card button{font-size:12px}@media(max-width:600px){.custom-table{grid-template-columns:repeat(2,minmax(0,1fr))}}

.chat-summary>summary{cursor:pointer;color:#e2d0a7;font-size:14px;padding:6px 0}.chat-summary:not([open]){padding:12px 16px;margin:0}.reading-section>summary{cursor:pointer;color:#e2d0a7;padding:16px 0;border-bottom:1px solid #e2d0a724;font-weight:500}.app-header{justify-content:center}

/* A bounded conversation keeps GLIM, the latest answer and the composer together. */
.chat-name{display:none!important}.chat-glim glim-mascot{width:min(100%,390px)}.chat-pane{display:flex;flex-direction:column;min-height:0}.chat-log{flex:1;min-height:0}.chat-options{flex-shrink:0;max-height:210px;overflow:auto}.chat-composer{flex-shrink:0}.chat-actions{flex-shrink:0}.session-glim{width:230px;margin:0 auto}.session-glim-label{text-align:center;font-size:14px;color:#daccdf}.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}.account-access{font-size:13px;color:#e7ce9d;white-space:nowrap;padding:10px 12px;border:1px solid #e7ce9d30;border-radius:22px}.home-header .brand{font-size:21px}.chat-glim{align-self:center}.chat-glim glim-mascot{max-width:none}
@media(max-width:700px){.glim-welcome:has(.is-talking)>h1,.glim-welcome:has(.is-talking)>.eyebrow{display:none}.glim-chat,#story-intake.glim-chat{height:calc(var(--chat-vh,100svh) - 215px);min-height:480px;display:grid;grid-template-rows:230px minmax(0,1fr);gap:0;scroll-margin-top:12px;padding:0}.glim-chat.is-talking,#story-intake.glim-chat{height:calc(var(--chat-vh,100svh) - 95px);min-height:490px}.chat-glim,#story-intake .chat-glim{height:230px;margin:0}.chat-glim glim-mascot,#story-intake .chat-glim glim-mascot{width:270px!important}.chat-pane,#story-intake .chat-pane{height:100%;padding:10px;box-sizing:border-box}.chat-log,#story-intake .chat-log{max-height:none;gap:10px}.chat-options{max-height:150px;margin:8px 0}.chat-actions{margin-top:3px}.chat-actions button{padding:3px}.chat-composer{margin-top:auto}.glim-chat.keyboard-open{grid-template-rows:100px minmax(0,1fr);height:calc(var(--chat-vh,100svh) - 20px);min-height:300px}.keyboard-open .chat-glim{height:100px}.keyboard-open .chat-glim glim-mascot,#story-intake.keyboard-open .chat-glim glim-mascot{width:130px!important}.keyboard-open .chat-options{max-height:90px}.session-glim{width:250px}.glim-welcome{padding-top:18px}.home-header .wrap{min-height:60px}.home-header .brand img{width:32px!important;height:32px!important}.home-header .brand{font-size:18px}.account-access{font-size:12px}#s-ask>h2{display:none}}

.glim-welcome,.glim-chat{overflow-anchor:none}.email-login-alternative{margin-top:18px}.email-login-alternative>summary{cursor:pointer;color:var(--gold-l);padding:12px 0}
/* 29/09: keep composer hints on one line */.glim-chat textarea::placeholder,#glim-chat textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Purpose and alternatives stay readable inside the existing chat. */
.chat-mode-description{display:block;white-space:normal;font-size:12px;line-height:1.6;opacity:.8;margin-top:8px}.chat-mode-choice{white-space:normal}
.auth-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:28px;box-sizing:border-box;border:1px solid #dcc38b55;border-radius:20px;background:#171020;color:#eee;overflow:auto}.auth-dialog::backdrop{background:#090610bb;backdrop-filter:blur(5px)}.auth-panel{display:flex;flex-direction:column}.auth-panel .title{font-size:32px}.auth-panel .stack{margin-top:20px}@media(max-width:600px){.auth-dialog{padding:20px;max-height:calc(100dvh - 24px)}}

/* /app/spread-journey.css */
.ritual-table{display:block!important;width:100%;min-width:0;margin:20px auto}
.ritual-guide{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:5;max-width:660px;margin:0 auto 22px;padding:10px;background:#191222f2;border-bottom:1px solid #d8be9020;border-radius:0 0 16px 16px}
.ritual-guide glim-mascot{width:100px;flex:0 0 100px}
.ritual-eyebrow{font-size:11px;letter-spacing:.06em;color:var(--gold-l,#dfc796);margin:0 0 7px}
.ritual-speech{font-size:15px;line-height:1.65;margin:0;text-wrap:pretty}
/* No grid fallback: positions come from the same geometry as the catalogue. */
.ritual-table .ritual-board{display:block;position:relative;width:100%;max-width:640px;aspect-ratio:var(--board-ratio);margin:0 auto;isolation:isolate;background:radial-gradient(ellipse,#b399c110,transparent 72%);perspective:1200px}
.ritual-table.layout-focus .ritual-board{max-width:260px}
.ritual-table.layout-untangle .ritual-board,.ritual-table.layout-crossroads .ritual-board,.ritual-table.layout-connection .ritual-board{max-width:500px}
.ritual-table.layout-celtic .ritual-board{max-width:510px}
.spread-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:none;stroke:var(--gold-l,#dfc796);stroke-width:1.5;stroke-dasharray:5 8;opacity:.2}
.ritual-board .ritual-position{position:absolute;left:var(--slot-x);top:var(--slot-y);width:var(--card-width);aspect-ratio:var(--card-ratio);transform:translate(-50%,-50%) rotate(var(--slot-turn));z-index:var(--slot-layer);background:none;border:0;border-radius:0;color:var(--gold-l,#dfc796);margin:0;padding:0;min-width:0;opacity:.3;transition:opacity .25s;cursor:default}
.ritual-position.is-filled{opacity:1}
.ritual-position.is-revealed{cursor:pointer}
.ritual-position:focus-visible{outline:2px solid #dfc796;outline-offset:6px}
.ritual-card{position:absolute;inset:0;display:block;perspective:1000px;filter:drop-shadow(0 8px 18px #130d2280)}
.ritual-card-turn{position:absolute;inset:0;display:block;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.65,.2,1)}
.ritual-position.is-revealed .ritual-card-turn{transform:rotateY(180deg)}
.ritual-side{position:absolute;inset:0;display:block;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.ritual-side-front{transform:rotateY(180deg)}
.ritual-position .ritual-side img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;border-radius:0;margin:0}
.ritual-side-front img.upside-down,.ritual-detail>img.upside-down{transform:rotate(180deg)}
.ritual-position.is-active .ritual-card{outline:1px solid #dfc796;outline-offset:5px}
.ritual-number{position:absolute;left:-9px;top:-9px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 3px;background:#261d31;border:1px solid #aa956c;border-radius:50%;color:#f1e4c5;font:500 11px/1 sans-serif;font-variant-numeric:tabular-nums;transform:rotate(var(--badge-turn));box-shadow:0 2px 8px #130d2280}
.ritual-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;list-style:none;margin:14px auto 20px;padding:0;max-width:620px}
.ritual-legend li{min-width:0;color:var(--muted,#beb2c8);font-size:12px;line-height:1.5}
.ritual-legend-button{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:6px 4px;margin:0;background:none;border:0;border-radius:4px;color:inherit;font:inherit;text-align:left;cursor:pointer}
.ritual-legend-button:disabled{opacity:1;cursor:default}
.ritual-legend-button:not(:disabled):hover{background:#d8be900c}
.ritual-legend-button:focus-visible{outline:2px solid #dfc796;outline-offset:3px}
.ritual-legend-label{min-width:0}
.ritual-legend-number{flex:0 0 21px;display:grid;place-items:center;height:21px;border:1px solid #8f7d6038;border-radius:50%;font-size:10px;font-variant-numeric:tabular-nums;color:#d7c5a1}
.ritual-legend .is-filled{color:var(--text,#e8dfed)}
.ritual-legend .is-active .ritual-legend-number{background:#dac08c;color:#211927;border-color:#dac08c}
.layout-focus .ritual-legend,.layout-timeline .ritual-legend,.layout-weekly .ritual-legend{grid-template-columns:1fr;max-width:500px}
.ritual-detail{display:flex;align-items:center;gap:24px;max-width:580px;margin:22px auto;padding:22px;background:#211927;border-top:1px solid #d8be9040;border-bottom:1px solid #d8be9020}
.ritual-detail[hidden]{display:none!important}
.ritual-detail>img{display:block;width:125px;height:auto;flex:0 0 125px;object-fit:contain}
.ritual-detail h3{font:500 28px/1.3 var(--serif,Georgia,serif);color:var(--gold-l,#dfc796);margin:8px 0 12px}
.ritual-detail p{font-size:13px;line-height:1.6;margin:0 0 12px}
.ritual-detail-position{color:var(--muted,#beb2c8)}
.ritual-detail-close{padding:10px 0;min-height:44px;background:none;border:0;border-bottom:1px solid #d8be9060;color:var(--gold-l,#dfc796);font:inherit;font-size:12px;cursor:pointer}
.ritual-detail-close:focus-visible{outline:2px solid #dfc796;outline-offset:4px}
.ritual-insight{max-width:620px;margin:20px auto;color:var(--text,#e8dfed);font-size:15px;line-height:1.85;white-space:pre-line}
.ritual-insight:empty{display:none}
.ritual-next{display:block;margin:24px auto 12px;max-width:480px}
.ritual-next[hidden]{display:none}
.ritual-next:disabled{opacity:.45;cursor:wait}
#s-cards:has(.ritual-table)>#draw-glim,#s-cards:has(.ritual-table) .session-reassurance{display:none}
#reading-slot[hidden]{display:none!important}
@media(max-width:600px){.ritual-guide{gap:4px;margin-bottom:12px;padding:6px}.ritual-guide glim-mascot{width:80px;flex-basis:80px}.ritual-speech{font-size:13px;line-height:1.5}.ritual-board{scroll-margin-top:125px}.ritual-number{min-width:20px;height:20px;font-size:10px;left:-7px;top:-7px}.ritual-legend{gap:9px 12px}.ritual-legend li{font-size:12px}.ritual-detail{padding:18px 14px;gap:16px}.ritual-detail>img{width:105px;flex-basis:105px}.ritual-detail h3{font-size:23px}.ritual-insight{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ritual-position,.ritual-card-turn{transition:none}.ritual-card{animation:none!important}}
@media(min-width:1050px){
 #app:has(#s-cards.on .ritual-table){max-width:1120px}
 #s-cards:has(.ritual-table){max-width:1040px}
 .ritual-table{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:18px 32px;align-items:start}
 .ritual-table .ritual-guide{grid-column:2;grid-row:1;position:static;margin:0;padding:6px 0 18px;border-radius:0;background:none}
 .ritual-table .ritual-board{grid-column:1;grid-row:1/5;max-width:100%}
 .ritual-table.layout-focus .ritual-board{max-width:260px}
 .ritual-table .ritual-legend{grid-column:1;grid-row:5;width:100%;margin:0}
 .ritual-table .ritual-insight{grid-column:2;grid-row:2;margin:0}
 .ritual-table .ritual-detail{grid-column:2;grid-row:3;width:100%;margin:0;padding:16px;gap:14px}
 .ritual-table .ritual-detail>img{width:90px;flex-basis:90px}
 .ritual-table .ritual-detail h3{font-size:24px}
 .ritual-table .ritual-next{grid-column:2;grid-row:4;width:100%;margin:0}
 #s-cards:has(.ritual-table)>#reading-slot{width:100%;max-width:720px;margin:20px auto}
}

/* /app/profile.css */
/* A small, purpose-led profile editor. Shared app styles remain in place. */
#s-onboard{padding-top:20px;min-height:0;animation:none}
#s-onboard .profile-back{margin-bottom:22px}
#s-onboard .profile-back button{display:inline-flex;align-items:center;gap:9px;min-height:44px;border:0;background:none;padding:0 8px 0 0;color:var(--workspace-muted,var(--muted));font:inherit;font-size:13px;cursor:pointer}
#s-onboard .profile-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
#s-onboard .profile-heading>div:first-child{min-width:0}
#s-onboard .profile-eyebrow{font-size:10px;letter-spacing:.14em;color:var(--gold);margin:0 0 7px}
#s-onboard h2.title{font-size:38px;line-height:1.12;margin:0 0 9px;letter-spacing:-.025em}
#s-onboard #who{font-size:12px;line-height:1.6;color:var(--workspace-muted,var(--muted));margin:0;overflow-wrap:anywhere}
#s-onboard .profile-entitlement{flex-shrink:0;max-width:45%;padding:0;margin:0;background:none;border:0;border-radius:0}
#s-onboard .profile-entitlement button{display:flex;flex-direction:column;align-items:flex-end;gap:5px;background:none;border:0;color:var(--gold-l);font:inherit;padding:8px 0 8px 10px;cursor:pointer;min-height:44px}
#s-onboard .profile-entitlement strong{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.5}
#s-onboard .profile-entitlement small{font-size:11px;color:var(--workspace-muted,var(--muted));line-height:1.5}
#s-onboard .profile-tabs{display:flex;gap:4px;border-bottom:1px solid var(--workspace-line,#ffffff20);margin-bottom:27px}
#s-onboard .profile-leave-guard{padding:16px;border:1px solid #bd9b6766;border-radius:10px;background:#231d28;margin-bottom:20px}
#s-onboard .profile-leave-guard p{font-size:12px;line-height:1.7;margin:0 0 10px}
#s-onboard .profile-leave-guard>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}
#s-onboard .profile-leave-guard button,#s-onboard .profile-leave-guard a{font:inherit;font-size:12px;min-height:44px;display:inline-flex;align-items:center;color:var(--gold-l);background:none;border:0;cursor:pointer;text-underline-offset:4px;padding:8px 0}
#s-onboard .profile-leave-guard [hidden]{display:none!important}
#s-onboard .profile-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;min-height:50px;border:0;border-radius:6px 6px 0 0;background:none;color:var(--workspace-muted,var(--muted));font:inherit;font-size:13px;font-weight:400;cursor:pointer;padding:11px 7px;transition:color .18s,background .18s}
#s-onboard .profile-tabs button:hover{color:var(--text);background:#ffffff04}
#s-onboard .profile-tabs [aria-selected=true]{color:var(--gold-l);font-weight:500}
#s-onboard .profile-tabs [aria-selected=true]::after{content:'';position:absolute;left:10px;right:10px;bottom:-1px;height:2px;background:var(--gold);border-radius:2px}
#s-onboard svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
#s-onboard .profile-pane{min-width:0}
#s-onboard .profile-pane-intro{margin-bottom:23px}
#s-onboard .profile-pane-intro h3{font:500 21px/1.4 var(--display);letter-spacing:-.012em;margin:0 0 9px;color:var(--text)}
#s-onboard .profile-pane-intro p{font-size:13px;line-height:1.8;color:var(--workspace-muted,var(--muted));max-width:58ch;margin:0}
#s-onboard label{font-size:12px;letter-spacing:0;color:var(--text);margin-bottom:9px}
#s-onboard input{min-height:49px;border:1px solid var(--workspace-line,#ffffff24);border-radius:9px;background:#ffffff03;padding:12px 14px;font-weight:400}
#s-onboard input:focus{background:#ffffff05;border-color:var(--gold)}
#s-onboard input:disabled{opacity:.55}
#s-onboard input[aria-invalid=true]{border-color:#dfa89c}
#s-onboard .field{margin-bottom:20px}
#s-onboard .profile-field-hint{margin:8px 0 0;font-size:11px;line-height:1.7;color:var(--workspace-muted,var(--muted))}
#s-onboard .profile-extra{border:1px solid var(--workspace-line,#ffffff20);border-radius:10px;margin:22px 0 0;background:none}
#s-onboard .profile-extra summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:65px;padding:14px 16px}
#s-onboard .profile-extra summary::-webkit-details-marker{display:none}
#s-onboard .profile-extra summary strong{display:block;font:400 13px/1.6 'Be Vietnam Pro',sans-serif;color:var(--text)}
#s-onboard .profile-extra summary small{display:block;font-size:10px;line-height:1.7;color:var(--workspace-muted,var(--muted));margin-top:2px}
#s-onboard .profile-extra summary svg{transition:transform .18s;color:var(--gold)}
#s-onboard .profile-extra[open] summary svg{transform:rotate(180deg)}
#s-onboard .profile-extra-body{padding:0 16px 17px}
#s-onboard .profile-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#s-onboard .profile-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px 16px;margin-top:22px}
#s-onboard .profile-form-actions .btn{width:auto;min-width:150px;min-height:46px;padding:12px 20px;font-size:13px;letter-spacing:0;font-weight:500;background:var(--gold-l);box-shadow:none;border-radius:8px}
#s-onboard .profile-form-actions .btn:hover{background:#f3dfae;box-shadow:none}
#s-onboard .profile-form-actions p{flex:1 1 190px;font-size:11px;line-height:1.7;margin:0;color:var(--workspace-muted,var(--muted))}
#s-onboard .profile-form-actions p[data-state=error],#s-onboard #username-save-status[data-state=error]{color:#e7b5ab}
#s-onboard .profile-cancel{background:none;border:0;color:var(--workspace-muted,var(--muted));font:inherit;font-size:12px;min-height:44px;padding:8px;cursor:pointer}
#s-onboard .profile-next{margin-top:29px;padding-top:22px;border-top:1px solid var(--workspace-line,#ffffff20);display:grid;gap:7px}
#s-onboard .profile-next>a,#s-onboard .profile-next>button{display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;background:none;color:var(--gold-l);font:inherit;font-size:14px;font-weight:500;text-decoration:none;min-height:44px;text-align:left;padding:0;cursor:pointer}
#s-onboard .profile-next>span{font-size:11px;color:var(--workspace-muted,var(--muted));line-height:1.7}
#s-onboard .profile-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:7px}
#s-onboard .profile-label-row label{margin:0}
#s-onboard .profile-label-row button{background:none;border:0;padding:8px 0;color:var(--gold);font:inherit;font-size:10px;line-height:1.5;cursor:pointer;min-height:36px;text-align:right}
#s-onboard .profile-storage{font-size:10px;line-height:1.8;color:var(--workspace-muted,var(--muted));margin:18px 0 0;padding-left:12px;border-left:2px solid var(--workspace-line,#ffffff20);max-width:60ch}
#s-onboard .profile-reading-note{display:grid;gap:10px;margin:25px 0 0;font-size:11px;line-height:1.8;color:var(--workspace-muted,var(--muted))}
#s-onboard .profile-reading-note a{color:var(--gold);text-underline-offset:4px}
#s-onboard .profile-account-plan{display:grid;grid-template-columns:1fr auto;align-items:start;gap:10px 20px;padding:18px 20px;margin-bottom:26px;border:1px solid var(--workspace-line,#ffffff20);border-radius:10px;background:#ffffff02}
#s-onboard .profile-account-plan span{display:block;font-size:10px;line-height:1.7;color:var(--workspace-muted,var(--muted));margin-bottom:5px}
#s-onboard .profile-account-plan strong{display:block;font-weight:500;font-size:14px;line-height:1.7;font-variant-numeric:tabular-nums}
#s-onboard .profile-account-plan small{display:block;font-size:11px;margin-top:4px;color:var(--workspace-muted,var(--muted))}
#s-onboard .profile-account-plan a{grid-column:1/-1;font-size:11px;color:var(--gold);margin-top:6px;text-underline-offset:4px}
#s-onboard .profile-username-row{display:flex;align-items:stretch;gap:10px}
#s-onboard .profile-username-row input{min-width:0;flex:1}
#s-onboard .profile-username-row button{min-width:65px;min-height:48px;background:none;border:1px solid var(--workspace-line,#ffffff20);border-radius:8px;color:var(--gold-l);font:inherit;font-size:12px;padding:10px 16px;cursor:pointer}
#s-onboard #username-save-status{font-size:11px;color:var(--workspace-muted,var(--muted));line-height:1.7;margin:10px 0 0}
#s-onboard .profile-account-links{display:grid;border-top:1px solid var(--workspace-line,#ffffff20);margin-top:26px}
#s-onboard .profile-account-links>a,#s-onboard .profile-account-links>button{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;font:inherit;font-size:12px;color:var(--text);background:none;border:0;border-bottom:1px solid var(--workspace-line,#ffffff20);padding:12px 0;text-decoration:none;text-align:left;cursor:pointer}
#s-onboard #btn-signout{color:var(--workspace-muted,var(--muted))}
#s-onboard button:disabled{opacity:.5;cursor:default}
#s-onboard button:focus-visible,#s-onboard a:focus-visible,#s-onboard summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:4px}
@media(max-width:480px){#s-onboard{padding-top:10px!important}#s-onboard .profile-back{margin-bottom:17px}#s-onboard .profile-heading{gap:12px;margin-bottom:20px}#s-onboard h2.title{font-size:33px}#s-onboard #who{font-size:10px}#s-onboard .profile-entitlement strong{font-size:12px}#s-onboard .profile-entitlement small{font-size:10px}#s-onboard .profile-tabs{margin-bottom:23px}#s-onboard .profile-tabs button{font-size:12px;gap:7px;padding-inline:4px}#s-onboard .profile-tabs svg{width:17px;height:17px}#s-onboard .profile-pane-intro h3{font-size:21px}#s-onboard .profile-pane-intro p{font-size:12px}#s-onboard .profile-form-actions .btn{flex:1 1 auto}#s-onboard .profile-form-actions p{flex-basis:100%}#s-onboard .profile-field-grid{grid-template-columns:1fr}#s-onboard .profile-account-plan{padding:16px;gap:10px}#s-onboard .profile-label-row{gap:8px}#s-onboard .profile-label-row button{font-size:10px}#s-onboard .profile-next{margin-top:23px;padding-top:16px}}
@media(prefers-reduced-motion:reduce){#s-onboard *,#s-onboard *::after{transition:none!important;animation:none!important}}

/* /spread-diagram.css */
.spread-diagram{display:block;width:100%;height:150px;overflow:visible;color:var(--gold-l,#d8c297)}
.spread-diagram rect{fill:#211927;stroke:currentColor;stroke-width:2.5}
.spread-diagram-mark{fill:none;stroke:currentColor;stroke-width:2;opacity:.65}
.spread-diagram-line{fill:none;stroke:currentColor;stroke-width:2;stroke-dasharray:5 7;opacity:.25}
@media(max-width:600px){.spread-diagram{height:130px}}

/* /app/reading-result.css */
/* Reading prose is an editorial column, rather than a stack of coloured boxes. */
.reading{width:100%;max-width:66ch;margin:26px auto 0;padding:0 8px;color:#ded5e0;font-size:16px;line-height:1.85;box-sizing:border-box;text-align:left}
.reading .reading-kicker{margin:0 0 25px;color:#bda58c;font-size:11px;line-height:1.6;letter-spacing:.08em}
.reading .reading-section{margin:0;padding:27px 16px;background:transparent;border:0;border-radius:0;box-shadow:none;min-width:0}
.reading .reading-section:first-of-type{padding-top:0}
.reading .reading-section h3{margin:0 0 18px;color:#d9c4a8;font:500 clamp(26px,3vw,32px)/1.25 var(--display,Georgia,serif);letter-spacing:-.02em;text-wrap:balance}
.reading .reading-section p{max-width:62ch;margin:0 0 18px;font-size:inherit;line-height:inherit;overflow-wrap:anywhere;text-wrap:pretty}
.reading .reading-section p:last-child{margin-bottom:0}
.reading section.reading-section+section.reading-section{border-top:1px solid #c5a98726}
.reading details.reading-section{padding:0;border-top:1px solid #c5a98730;border-bottom:1px solid #c5a98730}
.reading details.reading-section+details.reading-section{border-top:0}
.reading details.reading-section>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:60px;padding:17px 16px;margin:0;border:0;list-style:none;cursor:pointer;color:#d9c4a8;font-size:15px;line-height:1.6;font-weight:500;box-sizing:border-box;transition:color .18s,background-color .18s}
.reading details.reading-section>summary::-webkit-details-marker{display:none}
.reading details.reading-section>summary::after{content:'';width:7px;height:7px;flex:0 0 7px;margin-right:3px;border-right:1px solid #bda58c;border-bottom:1px solid #bda58c;transform:rotate(45deg);transition:transform .18s}
.reading details.reading-section[open]>summary::after{transform:rotate(225deg)}
.reading details.reading-section>summary:hover{background:#c5a98708;color:#ead9ba}
.reading details.reading-section>summary:focus-visible{outline:2px solid #c5a987;outline-offset:-3px;border-radius:4px}
.reading details.reading-section[open]{padding-bottom:23px}
.reading details.reading-section>p{margin-left:16px;margin-right:16px}
.reading details.reading-section[open]>summary{margin-bottom:7px}
.reading details.reading-section+section.reading-section{padding-top:30px}
@media(max-width:600px){.reading{padding:0;margin-top:20px;font-size:15px;line-height:1.85}.reading .reading-section{padding:23px 8px}.reading .reading-section h3{font-size:26px;margin-bottom:15px}.reading details.reading-section>summary{padding:16px 8px;font-size:14px;min-height:58px}.reading details.reading-section>p{margin-left:8px;margin-right:8px}.reading .reading-kicker{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.reading details.reading-section>summary,.reading details.reading-section>summary::after{transition:none}}

/* /plans-window.css */
.plans-window{box-sizing:border-box;width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #b9a27a66;border-radius:20px;background:#171121;color:#f4eddf;box-shadow:0 26px 90px #08050dcc;font-family:inherit;overflow:auto;overscroll-behavior:contain}
.plans-window::backdrop{background:#08050dd9;backdrop-filter:blur(8px)}
.plans-window *{box-sizing:border-box}.plans-window[open]{display:block}.plans-window header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #ffffff16;position:sticky;top:0;background:#171121;z-index:1}
.plans-window h2{font-family:Georgia,serif;font-weight:400;font-size:30px;margin:0;line-height:1.25}.plans-window h3{font-size:22px;margin:0 0 8px;font-weight:500}.plans-window p{font-size:15px;line-height:1.65;margin:8px 0;color:#c9c0d3}.plans-window button,.plans-window a{font:inherit}.plans-close{border:0;background:none;color:#f4eddf;width:44px;height:44px;cursor:pointer;font-size:26px!important}.plans-body{padding:24px 28px 28px}.plans-current{display:flex;justify-content:space-between;gap:16px;background:#ffffff06;padding:18px;border-radius:12px;margin-bottom:20px}.plans-current strong{display:block;font-size:19px;font-variant-numeric:tabular-nums}.plans-current small{color:#bfb3ce}.plans-tabs{display:flex;gap:6px;margin:20px 0}.plans-tabs button{flex:1;border:1px solid #ffffff26;background:transparent;color:#c9c0d3;border-radius:8px;padding:12px;cursor:pointer}.plans-tabs [aria-pressed=true]{background:#dfc995;color:#211a2d;border-color:#dfc995}.plans-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.plans-option{border:1px solid #ffffff26;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:10px}.plans-option p{margin:0;flex:1}.plans-price{font-size:26px;font-variant-numeric:tabular-nums}.plans-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 18px;border:1px solid #dfc995;border-radius:8px;background:#dfc995;color:#211a2d!important;cursor:pointer;text-decoration:none;line-height:1.3}.plans-action.secondary{background:transparent;color:#f4eddf!important;border-color:#ffffff40}.plans-action:disabled{opacity:.5;cursor:wait}.plans-window :focus-visible{outline:2px solid #e5d39f;outline-offset:4px}.plans-credit{padding:18px;border:1px solid #dfc99566;border-radius:12px;margin-bottom:18px}.plans-credit h3{display:flex;align-items:center;gap:8px}.plans-credit .plans-action{margin-top:10px}.plans-error{color:#efb6b6!important}.plans-order{text-align:center}.plans-order img{display:block;width:min(260px,100%);height:auto;margin:16px auto;border-radius:8px;background:white}.plans-order dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left;margin:20px 0}.plans-order dd{margin:0;text-align:right;overflow-wrap:anywhere}.plans-order dt{color:#bfb3ce}.plans-order .plans-action{margin:5px}.plans-history{margin-top:24px;border-top:1px solid #ffffff20;padding-top:18px}.plans-history summary{cursor:pointer;color:#c9c0d3}.plans-history li{list-style:none;padding:12px 0;border-bottom:1px solid #ffffff16;font-size:14px;line-height:1.6}.plans-history ul{padding:0}.plans-lock-icon{display:inline-flex;align-items:center;gap:6px;color:#d9c28e}.plans-lock-icon svg{flex-shrink:0}.profile-account-plan button{width:max-content;background:none;border:0;padding:0;color:var(--gold,#dfc995);text-decoration:underline;cursor:pointer;font:inherit}.plans-inline-state{display:flex;gap:12px;flex-wrap:wrap}.plans-inline-state strong{color:#e5d39f}.plans-boot{padding:40px 24px;text-align:center}.plans-boot p{color:#c9c0d3}.plans-signed-in .premium-account>div>p:not(.eyebrow):not([data-status]){display:none}
@media(max-width:600px){.plans-window{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.plans-window header{padding:16px 18px}.plans-body{padding:18px}.plans-options{grid-template-columns:1fr}.plans-current{padding:14px}.plans-window h2{font-size:26px}}
@media(prefers-reduced-motion:no-preference){.plans-action{transition:background .18s,transform .18s}.plans-action:hover{filter:brightness(1.06)}.plans-action:active{transform:translateY(1px)}}

/* /workspace-ui.css */
/* TRIONFI: task-oriented navigation, calm landing page and usable small-screen chat. */
:root{--workspace-line:#d9bbdb26;--workspace-muted:#c0b2cc;--workspace-panel:#1c1527}
body{overflow-wrap:anywhere}.workspace-header .wrap{min-height:84px;display:grid;grid-template-columns:auto 1fr auto;gap:36px;padding:12px 0}.workspace-header .brand{font-size:23px}.workspace-header .brand img{width:36px!important;height:36px!important}.workspace-header nav{width:auto;display:flex;justify-content:center;gap:8px;flex-wrap:nowrap}.workspace-header nav a{padding:12px 16px;white-space:nowrap;font-size:13px}.header-utilities{display:flex;align-items:center;gap:20px;font-size:12px;color:var(--workspace-muted)}.header-utilities .account-access{position:static;padding:10px 14px;white-space:nowrap;border:1px solid var(--workspace-line);border-radius:8px;color:var(--text)}.workspace-footer{padding:48px 0 80px;margin-top:72px}.workspace-footer .footer-top{grid-template-columns:1fr 1.3fr;gap:36px}.workspace-footer nav{display:flex;flex-wrap:wrap;align-content:start;gap:12px 24px}.workspace-footer nav a{font-size:12px;padding:5px 0}.workspace-footer .small{margin:16px 0 0}
.home-intro{display:grid;grid-template-columns:1.25fr .75fr;gap:48px;align-items:center;padding:64px 0 44px}.home-intro .eyebrow{margin-bottom:18px}.home-intro h1{font-size:clamp(52px,6.2vw,82px);line-height:1.04;margin-bottom:24px}.home-lede{font-size:16px;color:var(--workspace-muted);line-height:1.85;max-width:510px;margin-bottom:22px}.home-prompt{font-size:13px;color:var(--gold);margin:0}.home-mascot{width:100%;max-width:310px;justify-self:center;object-fit:contain;filter:drop-shadow(0 18px 35px #0b071e44)}.workspace-choices{display:grid;grid-template-columns:1.08fr 1fr;gap:24px}.workspace-choice{border:1px solid var(--workspace-line);border-radius:20px;padding:34px 36px;background:#1f172ccc}.reflection-choice{background:linear-gradient(140deg,#322140,#20182c 80%)}.family-choice{background:linear-gradient(140deg,#272032,#1a1724 80%)}.workspace-choice .eyebrow{margin-bottom:14px}.workspace-choice h2{font-size:44px;line-height:1.08;margin-bottom:16px}.workspace-choice>p:not(.eyebrow){font-size:14px;color:var(--workspace-muted);max-width:410px;line-height:1.8}.workspace-choice .button{margin:8px 0 20px;gap:22px;border-radius:10px}.button.secondary{background:transparent;border:1px solid #dcc18b80;color:var(--gold)}.button.secondary:hover{background:#ddc18a12}.workspace-shortcuts{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:13px}.workspace-shortcuts a{padding:6px 0;border-bottom:1px solid var(--workspace-line)}.workspace-choice .workspace-caption{font-size:11px!important;line-height:1.6!important;margin:18px 0 0;color:#b8a7c3!important}.home-resources{padding:70px 0 8px}.home-resources .section-head{margin-bottom:24px}.home-resources h2{font-size:36px}.resource-list{border-top:1px solid var(--workspace-line)}.resource-list>a{display:flex;align-items:center;gap:24px;padding:22px 0;border-bottom:1px solid var(--workspace-line)}.resource-list>a:hover strong{color:var(--gold)}.resource-list>a>span:last-child{margin-left:auto;color:var(--gold)}.resource-list strong{display:block;font-weight:500;font-size:16px}.resource-list small{display:block;font-size:12px;color:var(--workspace-muted);margin-top:5px}.resource-index{font-size:11px;color:var(--gold);min-width:20px}
.hub-intro{padding:58px 0 38px}.hub-intro h1{font-size:clamp(44px,5.4vw,68px);margin-bottom:24px}.hub-intro>p:last-child{font-size:15px;color:var(--workspace-muted)}.hub-primary{display:grid;grid-template-columns:1fr 1fr;gap:24px}.hub-primary>a{padding:32px;border:1px solid var(--workspace-line);border-radius:18px;background:var(--workspace-panel)}.hub-primary .eyebrow{display:block;margin-bottom:16px}.hub-primary h2{font-size:34px;margin-bottom:14px}.hub-primary p{font-size:14px;color:var(--workspace-muted)}.hub-secondary{padding:54px 0 0}.hub-secondary h2{font-size:34px}.storage-explainer{font-size:12px;color:var(--workspace-muted);margin:24px 0;max-width:720px}.library-groups{display:grid;grid-template-columns:1fr 1fr;gap:64px}.library-groups h2{font-size:32px;min-height:74px}.library-groups .resource-list>a{gap:16px}
.page-head{padding-top:44px}.page-head>p:last-child{max-width:720px}.premium-main .page-head{max-width:820px}.premium-plans,.premium-comparison,.premium-support{margin-top:38px}.premium-comparison{overflow:auto}.premium-comparison table{border-collapse:collapse;min-width:620px;width:100%;font-size:13px}.premium-comparison th,.premium-comparison td{text-align:left;vertical-align:top;padding:16px;border-bottom:1px solid var(--workspace-line)}.premium-comparison th{color:var(--gold);font-weight:500;background:#261c32}.premium-comparison caption{text-align:left;font-size:14px;margin:12px 0}.premium-account{padding:24px;border-radius:14px}.premium-main .pricing-card{border-radius:16px}.premium-main .pricing-card h3{font-size:30px}.premium-main .pricing-grid{margin-top:24px;grid-template-columns:repeat(2,minmax(0,1fr))}.premium-main .pricing-card .package-price{font-size:40px}.family-storage{margin:18px 0 24px;padding:18px;text-align:left;border:1px solid var(--workspace-line);border-radius:14px;background:#1c1725}.family-storage p{margin:0 0 10px;font-size:12px}.family-backup{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.family-backup button,.family-backup label{min-height:44px;padding:10px 14px;border:1px solid #d4bed742;border-radius:8px;background:#2a1d36;color:var(--text);font:inherit;font-size:12px;cursor:pointer;margin:0}.family-feedback{font-size:13px;margin:12px 0 0;color:var(--gold)}.family-feedback:empty{display:none}.family-storage details{font-size:12px;margin-top:14px}.family-storage summary{padding:8px 0;cursor:pointer}.memorial-leap-policy{font-size:12px;line-height:1.7;color:var(--workspace-muted);text-align:left}.memorial .family-storage .button{width:auto}.lich input,.lich textarea,.lich select{font-size:16px}.lich .memorial-form{max-width:620px;margin-inline:auto}.memorial-form>button{max-width:620px}.lich .memorial{max-width:760px;margin:auto;background:#19141f;border-color:var(--workspace-line)}.memorial-candle{width:78px}.memorial .button{background:var(--gold);color:#241b28;border-color:var(--gold);border-radius:10px}.vk-form{border-radius:16px}.lich>.lich-grid{gap:18px}
/* The composer must be visible before the visitor sends the first message. */
#s-ask{max-width:920px;margin-inline:auto}#s-ask>.title{display:block;font-size:28px;line-height:1.2;margin:14px 0 20px;text-align:left}#s-ask .topbar{margin:0 0 12px}#story-intake.glim-chat,#story-intake.glim-chat.is-talking{display:grid;grid-template-columns:200px minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch;gap:24px;height:min(550px,calc(100svh - 210px));min-height:390px;margin:0}#story-intake .chat-glim{justify-content:center;min-height:0;padding:0}#story-intake .chat-glim glim-mascot{width:190px!important;height:auto!important;margin:0}#story-intake .chat-name{display:block;color:var(--workspace-muted);margin-top:8px}#story-intake .chat-pane{height:100%;min-height:0;display:flex;flex-direction:column;padding:20px;border:1px solid var(--workspace-line);background:var(--workspace-panel);border-radius:18px;overflow:hidden}#story-intake .chat-log{min-height:70px;max-height:none;flex:1 1 0;overflow:auto;padding:2px 4px 10px;gap:12px}#story-intake .chat-bubble{font-size:14px;padding:12px 14px;max-width:94%;line-height:1.65}#story-intake .chat-options{flex:0 0 auto;margin:10px 0;max-height:48%;overflow:auto}#story-intake .chat-composer{flex:0 0 auto;min-height:66px;margin:0}#story-intake .chat-composer textarea{min-height:44px!important;max-height:110px!important;resize:none}#story-intake .chat-actions{flex:0 0 auto;margin:5px 0 0;min-height:32px}#story-intake .chat-choice{min-height:44px;font-size:13px;border-radius:10px}#story-intake .chat-summary{margin:0}#story-intake .chat-summary summary{cursor:pointer;color:var(--gold);padding:4px 0;font-size:13px}#story-intake .chat-summary:not([open]){padding:9px 14px}#story-intake .chat-note{font-size:11px!important;line-height:1.7}#story-intake .chat-payment-consent{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid var(--workspace-line);border-radius:10px;color:var(--text)}#story-intake .chat-payment-consent input{flex:none;width:18px;height:18px;margin:2px 0;accent-color:var(--gold)}#s-ask>.stack{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:18px 0 0}#s-ask>.stack .btn{width:auto;padding:11px 16px;min-height:44px;font-size:12px}#s-ask>.stack #go-breathe:not([hidden]),#s-ask>.stack #resume-session:not([hidden]){width:100%}#s-ask>.stack #manage-profile{display:none}#s-ask>.stack #btn-history{color:var(--workspace-muted)}.app-header{max-width:1180px;margin-inline:auto}.app-header>a:first-child img{width:34px!important;height:34px!important}.app-header .app-home-link{font-size:12px;color:var(--workspace-muted);margin-left:auto;margin-right:16px}.contact-float{font-size:12px;padding:11px 13px}.contact-float span{display:none}body:has(#story-intake) .contact-float{display:none}
@media(max-width:900px){.workspace-header .wrap{gap:18px}.workspace-header nav{gap:0}.workspace-header nav a{padding:10px 12px}.header-utilities{gap:12px}.home-intro{gap:16px;padding-top:48px}.home-mascot{max-width:240px}.library-groups{gap:32px}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.workspace-header .wrap{grid-template-columns:1fr auto;gap:8px;padding:12px 0 0;min-height:0}.workspace-header .brand{font-size:20px;gap:10px}.workspace-header nav{grid-column:1/-1;grid-row:2;display:flex;width:100%;justify-content:space-between;border-top:1px solid var(--workspace-line);gap:4px}.workspace-header nav a{flex:1;text-align:center;padding:13px 4px;font-size:12px;border:0;border-radius:0}.header-utilities{font-size:11px;gap:12px}.header-utilities .account-access{padding:8px 10px}.home-intro{position:relative;display:block;padding:36px 0 28px}.home-intro h1{font-size:42px;margin-bottom:20px;max-width:330px}.home-intro .eyebrow{font-size:9px;letter-spacing:.12em;max-width:260px}.home-lede{font-size:14px;max-width:330px;padding-right:8px}.home-prompt{font-size:12px}.home-mascot{position:absolute;right:-8px;top:40px;width:110px;height:110px;opacity:.75;z-index:-1}.workspace-choices{grid-template-columns:1fr;gap:16px}.workspace-choice{padding:26px 24px;border-radius:16px}.workspace-choice h2{font-size:36px}.workspace-choice h2 br{display:none}.workspace-choice>p:not(.eyebrow){font-size:13px}.workspace-choice .button{min-height:48px;width:100%;margin:5px 0 14px}.workspace-shortcuts{font-size:12px;gap:12px 22px}.home-resources{padding-top:42px}.home-resources .section-head{align-items:center;gap:12px}.home-resources h2{font-size:29px}.home-resources .text-link{font-size:11px}.resource-list>a{padding:18px 0;gap:16px}.resource-list strong{font-size:14px}.resource-list small{font-size:11px}.hub-intro{padding:34px 0 20px}.hub-intro h1{font-size:44px}.hub-primary,.library-groups{grid-template-columns:1fr;gap:16px}.hub-primary>a{padding:24px}.hub-primary h2{font-size:30px}.hub-secondary{padding-top:36px}.library-groups>div+div{margin-top:24px}.library-groups h2{min-height:0;font-size:30px}.workspace-footer{margin-top:40px;padding-top:32px}.workspace-footer .footer-top{display:block}.workspace-footer nav{margin-top:26px;gap:10px 20px}.page-head{padding-top:30px}.page-head h1{font-size:42px}.premium-main .pricing-grid{grid-template-columns:1fr}.premium-comparison th,.premium-comparison td{padding:12px}.premium-account{padding:20px}.family-storage{padding:14px}.family-backup>*{flex:1 1 auto;text-align:center}.app-header{padding:10px 18px!important;min-height:58px!important;gap:10px!important}.app-header>a:first-child{font-size:19px!important}.app-header .app-home-link{margin-right:0;font-size:11px}.app-header .account-access{font-size:11px;padding:8px 10px!important}#s-ask{padding:10px 0 24px!important;width:100%}#s-ask>.title{font-size:21px;margin:8px 0 14px}#s-ask .topbar{margin-bottom:8px}#story-intake.glim-chat,#story-intake.glim-chat.is-talking{grid-template-columns:1fr;grid-template-rows:82px minmax(0,1fr);gap:8px;height:clamp(360px,calc(var(--chat-vh,100svh) - 245px),520px);min-height:360px;max-height:none}#story-intake .chat-glim{flex-direction:row;gap:10px;height:82px;max-height:82px}#story-intake .chat-glim glim-mascot{width:86px!important;height:86px!important}#story-intake .chat-name{font-size:10px;margin:0}#story-intake .chat-pane{padding:12px;border-radius:14px}#story-intake .chat-log{min-height:45px}#story-intake .chat-bubble{font-size:13px;padding:10px 12px}#story-intake .chat-options{margin:8px 0;max-height:54%;gap:6px}#story-intake .chat-choice{padding:8px 12px;font-size:12px}#story-intake .chat-actions{min-height:26px;margin-top:3px}#story-intake .chat-composer{min-height:60px;padding:5px}#story-intake .chat-send{padding:12px;min-height:44px}#s-ask>.stack{margin-top:14px}#s-ask>.stack .btn{font-size:11px;padding:10px 12px}.contact-float{bottom:16px;right:12px}}
@media(max-height:560px) and (max-width:700px){#story-intake.glim-chat,#story-intake.glim-chat.is-talking{height:380px;grid-template-rows:50px minmax(0,1fr)}#story-intake .chat-glim{height:50px}#story-intake .chat-glim glim-mascot{width:54px!important;height:54px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

@media(max-width:700px){#story-intake.glim-chat.keyboard-open{height:max(235px,calc(var(--chat-vh,100svh) - 155px));min-height:235px;grid-template-rows:48px minmax(0,1fr)}#story-intake.keyboard-open .chat-glim{height:48px}#story-intake.keyboard-open .chat-glim glim-mascot{width:50px!important;height:50px!important}#story-intake.keyboard-open .chat-options{max-height:42%}}

.workspace-home .contact-float{display:none}

/* Lead with the experiences people use; references remain available in a quiet disclosure. */
.product-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:46px 0 28px}.product-intro h1{font-size:clamp(36px,4.5vw,58px);line-height:1.08;margin:12px 0 18px;letter-spacing:-.03em}.product-intro>div>p:last-child{max-width:620px;font-size:14px;line-height:1.8;color:var(--workspace-muted);margin:0}.product-membership{display:flex;flex-direction:column;gap:8px;flex:none;align-items:flex-start;padding:14px 0;font-size:12px;color:var(--gold)}.premium-label{display:inline-block;font:500 10px/1.3 var(--sans,sans-serif);letter-spacing:.04em;color:#e8cc91;padding:4px 8px;border:1px solid #e8cc9138;border-radius:6px;background:#e8cc9109;width:max-content}.product-showcase{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px}.product-tarot{position:relative;isolation:isolate;overflow:hidden;display:flex;min-height:440px;padding:34px;border:1px solid #d8bd8940;border-radius:20px;background:radial-gradient(ellipse at 100% 10%,#73528140,transparent 70%),#251a32}.product-tarot-copy{position:relative;z-index:2;width:69%;align-self:center}.product-tarot h2{font-size:clamp(27px,3.1vw,38px);line-height:1.18;margin:18px 0}.product-tarot-copy>p:not(.eyebrow){color:var(--workspace-muted);font-size:13px;line-height:1.8}.product-tarot .button{display:inline-flex;gap:20px;margin:14px 0;border-radius:10px;min-height:48px}.product-other{display:flex;gap:12px;align-items:center;width:max-content;min-height:44px;font-size:12px;color:var(--gold)}.product-tarot-copy .product-meta{font-size:10px;color:#ac9db8;margin:16px 0 0}.product-tarot-art{position:absolute;inset:0;z-index:1;pointer-events:none}.product-tarot-art>img:not(.product-glim){position:absolute;right:-25px;top:35px;width:144px;height:auto;border-radius:9px;box-shadow:0 16px 28px #0c06195c}.product-card-back{transform:rotate(15deg);opacity:.8}.product-tarot-art>.product-card-front{right:18px;top:106px;transform:rotate(-10deg);width:148px}.product-tarot-art>.product-glim{position:absolute;right:12px;bottom:5px;width:132px;height:auto;filter:drop-shadow(0 10px 24px #0e071b66)}.product-premium-list{display:grid;gap:12px}.product-feature{display:flex;align-items:center;gap:16px;border:1px solid var(--workspace-line);border-radius:16px;background:#21182ce6;padding:22px;text-decoration:none;transition:background .18s,border-color .18s}.product-feature:hover{background:#2d2039;border-color:#d8bd8960}.product-feature-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;background:#d7bb8610;border-radius:12px;color:var(--gold)}.product-feature h2{font-size:24px;line-height:1.2;margin:8px 0}.product-feature p{font-size:12px;line-height:1.7;color:var(--workspace-muted);margin:0;max-width:310px}.product-feature-arrow{margin-left:auto;align-self:flex-start;color:var(--gold);font-size:20px}.product-personal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0 40px}.product-personal a{display:block;min-height:44px;padding:12px 0;font-size:13px}.product-personal span{display:block;margin-top:6px;color:var(--workspace-muted);font-size:11px}.product-family{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:26px 30px;border:1px solid var(--workspace-line);border-radius:16px;background:#1c1724}.product-family h2{font-size:28px;margin:8px 0}.product-family p:last-child{color:var(--workspace-muted);font-size:12px;margin-bottom:0}.product-family nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;font-size:12px}.product-family a{min-height:44px;display:flex;align-items:center;color:var(--gold)}.reference-menu{border-block:1px solid var(--workspace-line);margin:32px 0 16px;padding:6px 0}.reference-menu summary{cursor:pointer;min-height:58px;padding:18px 4px;color:var(--workspace-muted);font-size:13px}.reference-menu summary>span{margin-left:20px;font-size:11px;color:#9f91ab}.reference-menu nav{display:flex;flex-wrap:wrap;gap:8px 24px;padding:0 4px 18px}.reference-menu nav>a{display:flex;align-items:center;min-height:44px;color:var(--gold);font-size:12px}.tarot-catalog .page-head{padding:32px 0 8px}.tarot-catalog .page-head h1{font-size:clamp(36px,4.5vw,54px);line-height:1.12}.tarot-catalog .page-head p:last-child{font-size:14px}.tarot-start{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0 28px}.tarot-start p{font-size:12px;color:var(--workspace-muted);margin:0}.tarot-catalog .section{padding-top:8px}.tarot-catalog .mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tarot-catalog .mode-card{padding:20px;border:1px solid var(--workspace-line);background:#21182ce6;border-radius:16px}.mode-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.mode-card-top .mode-count{float:none;font-size:12px}.mode-card-top .mode-action{font-size:10px}.tarot-catalog .mode-card h3{font-size:24px;margin:14px 0 8px}.tarot-catalog .mode-card p{margin:0;font-size:12px;line-height:1.7}.tarot-catalog .mode-card .spread-diagram{height:140px;margin:20px auto 12px;display:block;max-width:100%}.tarot-catalog .mode-card:has(a){overflow:visible}
@media(max-width:900px){.product-showcase{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.product-tarot{padding:26px}.product-tarot-copy{width:75%}.product-tarot-art>img:not(.product-glim){opacity:.45;right:-35px}.product-tarot-art>.product-card-front{right:-10px}.product-feature{padding:18px;gap:12px}.product-feature h2{font-size:22px}.product-feature-icon{flex-basis:32px;width:32px;height:38px}.product-family{gap:20px;padding:24px}}
@media(max-width:700px){.product-intro{display:block;padding:28px 0 22px}.product-intro .eyebrow{font-size:9px}.product-intro h1{font-size:38px}.product-intro>div>p:last-child{font-size:13px}.product-membership{flex-direction:row;align-items:center;gap:12px;padding-bottom:0}.product-showcase{grid-template-columns:1fr;gap:14px}.product-tarot{padding:24px;min-height:370px;border-radius:16px}.product-tarot-copy{width:77%}.product-tarot h2{font-size:29px}.product-tarot-copy>p:not(.eyebrow){font-size:12px}.product-tarot-art>img:not(.product-glim){width:106px;right:-22px;top:24px;opacity:.6}.product-tarot-art>.product-card-front{width:112px;right:-10px;top:105px}.product-tarot-art>.product-glim{width:98px;right:0;bottom:18px}.product-tarot .button{font-size:12px;padding:14px;gap:10px}.product-tarot-copy .product-meta{font-size:10px}.product-premium-list{gap:10px}.product-feature{padding:18px;min-height:122px}.product-feature h2{font-size:24px}.product-feature p{font-size:11px}.product-feature-icon{flex-basis:38px;width:38px;height:40px}.product-personal{grid-template-columns:1fr;gap:0;margin:16px 0 24px}.product-personal a{border-bottom:1px solid var(--workspace-line);padding:14px 0}.product-personal span{font-size:11px}.product-family{display:block;padding:22px}.product-family h2{font-size:27px}.product-family nav{margin-top:12px;gap:0 16px}.reference-menu{margin-top:24px}.reference-menu summary>span{display:block;margin:6px 0 0 18px}.reference-menu nav{display:grid;gap:0;grid-template-columns:1fr}.tarot-start{display:block}.tarot-start .button{min-height:48px}.tarot-start p{margin-top:12px;font-size:11px}.tarot-catalog .mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tarot-catalog .mode-card{padding:14px}.tarot-catalog .mode-card h3{font-size:20px}.tarot-catalog .mode-card p{font-size:11px}.mode-card-top .mode-action{font-size:9px}.tarot-catalog .mode-card .spread-diagram{height:115px;margin-top:16px}}
@media(max-width:360px){.product-intro h1{font-size:34px}.product-tarot h2{font-size:26px}.product-tarot-copy{width:82%}.product-feature{padding:15px;gap:10px}.product-feature h2{font-size:21px}.tarot-catalog .mode-card h3{font-size:18px}.mode-card-top .mode-action{display:none}}
@media(prefers-reduced-motion:reduce){.product-feature{transition:none}}

.profile-entitlement{padding:18px;margin:18px 0;border:1px solid var(--workspace-line);border-radius:14px;background:var(--workspace-panel);text-align:left;font-size:13px}.profile-entitlement p{font-size:12px;margin:8px 0}.profile-entitlement a{font-size:12px;color:var(--gold)}

.journal-context,.journal-lookback{margin:22px 0;padding:16px 18px;border:1px solid var(--workspace-line);border-radius:12px;background:var(--workspace-panel);text-align:left}.journal-context summary,.journal-lookback summary{cursor:pointer;min-height:28px;font-size:13px;color:var(--gold)}.journal-label{font-size:14px;margin:20px 0}.journal-label input,.journal-label textarea{background:#191322;border-color:var(--workspace-line);font-size:16px}.journal-tools .btn[hidden]{display:none!important}.journal-tools .btn{min-height:48px}#s-journal .title{font-size:32px}.journal-tools:has([type=submit]){position:sticky;bottom:12px;padding:10px;background:#151020ed;border-radius:12px;border:1px solid var(--workspace-line)}

#s-journal .topbar{margin-bottom:18px}#s-journal>.meta{margin:12px 0}#s-journal>.title{margin-bottom:14px}#s-journal>.hint{font-size:13px;line-height:1.7;margin-bottom:20px}#journal-form h3{margin-top:24px}#journal-form .journal-label{scroll-margin-bottom:110px}#journal-content>#journal-back{margin-bottom:6px}

/* Keep each spread's title and description together; scroll the catalogue, never shrink its rows. */
.glim-chat .chat-mode-choice{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px;text-align:left;min-width:0;min-height:64px;height:auto;width:100%;box-sizing:border-box;white-space:normal}
.glim-chat .chat-mode-diagram{display:block;width:58px}
.glim-chat .chat-mode-diagram .spread-diagram{display:block;width:58px;height:48px}
.glim-chat .chat-mode-content{display:block;min-width:0;white-space:normal;overflow-wrap:break-word}
.glim-chat .chat-mode-title{display:block;font-weight:500;line-height:1.5}
.glim-chat .chat-mode-description{display:block;white-space:normal;font-size:12px;line-height:1.6;margin:4px 0 0}
.chat-summary-diagram .spread-diagram{display:block;width:150px;height:150px;margin:12px auto}
.glim-chat .chat-options:has(.chat-mode-choice){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));grid-auto-rows:max-content;align-content:start;align-items:start;gap:8px}
.glim-chat .chat-options:has(.chat-mode-choice)>.chat-choice:last-child{grid-column:1/-1}
@media(max-width:700px){.glim-chat .chat-options:has(.chat-mode-choice){grid-template-columns:minmax(0,1fr)}.glim-chat .chat-mode-choice{min-height:56px}.chat-summary-diagram .spread-diagram{width:120px;height:120px}}

@media(max-width:700px){.product-intro{padding-top:24px}.product-intro h1{font-size:34px;margin-bottom:14px}.product-tarot{min-height:300px;padding:22px}.product-tarot h2{font-size:28px;margin:12px 0}.product-tarot-copy{width:84%}.product-tarot-copy>p:not(.eyebrow){font-size:12px;margin:10px 0}.product-tarot .button{font-size:13px;margin:8px 0}.product-tarot-art>img:not(.product-glim){opacity:.35;width:90px;top:25px}.product-tarot-art>.product-card-front{width:95px;top:85px}.product-tarot-art>.product-glim{width:78px;bottom:8px}.product-tarot-copy .product-meta{font-size:10px;margin-top:10px}}

.product-description-short{display:none}@media(max-width:700px){.product-description-long{display:none}.product-description-short{display:inline}.product-tarot{min-height:0;padding:20px}.product-tarot h2{font-size:26px}.product-tarot-copy{width:90%}.product-tarot-copy .product-meta{font-size:10px;margin-top:5px}.product-tarot .product-other{min-height:36px}.product-premium-list{grid-template-columns:repeat(2,minmax(0,1fr))}.product-feature{display:block;position:relative;padding:16px;min-height:128px}.product-feature-icon{display:none}.product-feature h2{font-size:23px}.product-feature p{display:none}.product-feature-arrow{position:absolute;right:14px;top:13px;font-size:17px}.product-feature:last-child{grid-column:1/-1;min-height:102px}.product-feature:last-child h2{margin-bottom:0}.product-personal{margin-top:18px}.product-intro .product-membership{font-size:11px}}@media(max-width:360px){.product-tarot h2{font-size:25px}.product-feature h2{font-size:20px}}

/* /workspace-navigation.css */
/* Navigation is intentionally quieter than the content it leads to. */
:root{--nav-surface:#191321;--nav-border:#ddc59330;--nav-text:#f0e9df;--nav-muted:#bfb2c9;--nav-hover:#d6b98712;--nav-layer:18}
.workspace-header{position:sticky;top:0;z-index:var(--nav-layer);background:#120d1de8;backdrop-filter:blur(18px);border-bottom:1px solid #dbc3951a}
.workspace-header .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;min-height:76px;padding:12px 0}
.workspace-header .brand{font-size:22px;letter-spacing:.1em;gap:10px;justify-self:start}
.workspace-header .brand img{width:32px!important;height:32px!important}
.workspace-header nav.primary-nav{display:flex;align-items:center;justify-content:center;gap:4px;width:auto;grid-column:auto;grid-row:auto;padding:4px;border:1px solid #d9c3951c;border-radius:14px;background:#ffffff03;flex-wrap:nowrap}
.workspace-header .primary-nav a{display:flex;align-items:center;gap:8px;min-height:42px;padding:10px 16px;border:0;border-radius:10px;font:500 12px/1.4 var(--sans,'Be Vietnam Pro',sans-serif);color:var(--nav-muted);transition:background .18s,color .18s}
.primary-nav svg{width:18px;height:18px;flex:none}
.family-heart{stroke:#e6b6aa;fill:#e6b6aa38;transition:fill .18s}
.primary-nav a[aria-current] .family-heart,.workspace-dock a[aria-current] .family-heart{fill:#e6b6aa80}
.workspace-header .primary-nav a:hover{background:var(--nav-hover);color:var(--nav-text)}
.workspace-header .primary-nav a[aria-current]{background:#d9bd8620;color:#eed6a3}
.workspace-header .primary-nav a.nav-library{font-size:11px;padding-inline:11px;color:#ad9dbd;margin-left:3px}
.workspace-header .primary-nav a.nav-library svg{width:15px;height:15px}
.workspace-header .primary-nav a.nav-library[aria-current]{color:#e8d19d}
.workspace-header .header-utilities{display:flex;gap:10px;align-items:center;justify-self:end;font:500 12px/1.4 var(--sans,'Be Vietnam Pro',sans-serif)}
.workspace-header .header-utilities .account-access{display:block;position:relative;margin:0;border:0;padding:12px 10px;min-height:44px;background:none;color:var(--nav-muted);border-radius:10px}
.workspace-menu-button,.workspace-menu-close{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 13px;border:1px solid var(--nav-border);border-radius:10px;background:#d8bd8c07;color:var(--nav-text);font:500 12px/1.4 var(--sans,'Be Vietnam Pro',sans-serif);cursor:pointer;transition:background .18s,border-color .18s}
.workspace-menu-button svg{width:18px;height:18px;flex:none}
.workspace-menu-button:hover,.workspace-menu-close:hover{background:#d8bd8c17;border-color:#d8bd8c66}
.workspace-menu-button:active,.tool-link:active{transform:translateY(1px)}
.workspace-menu-button[aria-expanded=true]{background:#d9bd8620;color:#eed6a3;border-color:#d9bd8650}
.workspace-dock{display:none}
.workspace-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.workspace-menu:not([open]){display:none}
.workspace-menu{position:fixed;inset:86px max(20px,calc((100vw - 1180px)/2)) auto auto;width:min(780px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 110px);margin:0;padding:24px;border:1px solid #d7be934a;border-radius:20px;background:#1a1323;color:var(--nav-text);box-shadow:0 24px 80px #09041390;overflow:auto;overscroll-behavior:contain;font:400 13px/1.6 var(--sans,'Be Vietnam Pro',sans-serif)}
.workspace-menu[open]{animation:menu-appear .18s ease-out}
.workspace-menu::backdrop{background:#0805108c;backdrop-filter:blur(4px)}
.workspace-menu-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;position:sticky;top:-24px;padding-block:6px;background:#1a1323;z-index:1}
.workspace-menu-top h2{margin:0;font:500 30px/1.2 var(--serif,var(--display,Georgia,serif));letter-spacing:-.015em}
.workspace-menu-close{width:44px;flex:none;padding:10px;background:none;border-color:transparent}
.menu-search-label{display:block;margin:0 0 7px;font-size:11px;color:var(--nav-muted)}
.menu-search-field{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #e1cda033;background:#100b19;border-radius:10px}
.menu-search-field>svg{width:18px;flex:none;color:var(--nav-muted)}
.workspace-menu .menu-search-field input{width:100%;min-width:0;min-height:48px;margin:0;padding:10px 0;background:transparent;border:0;border-radius:0;color:var(--nav-text);font:400 16px/1.6 var(--sans,'Be Vietnam Pro',sans-serif)}
.menu-search-field:focus-within{outline:2px solid #dac28f;outline-offset:3px}
.workspace-menu .menu-search-field input:focus{outline:0;box-shadow:none;border:0}
.workspace-menu input::placeholder{color:#a89bb3}
.workspace-menu-groups{display:grid;grid-template-columns:1fr 1fr;gap:22px 28px;padding:22px 0 10px}
.workspace-menu-groups section{min-width:0}
.workspace-menu-groups h3{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#dfc89a;font:500 12px/1.5 var(--sans,'Be Vietnam Pro',sans-serif);letter-spacing:0}
.workspace-menu-groups h3>svg{width:17px;height:17px;flex:none}
.workspace-menu-groups nav{display:grid;gap:2px}
.menu-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.workspace-menu-groups .menu-premium{grid-column:1/-1;padding-bottom:20px;border-bottom:1px solid #ddc59520}
.workspace-menu-groups .menu-premium h3{font-size:14px;color:#edcf95}
.workspace-menu .menu-premium nav{grid-template-columns:1fr 1fr;gap:8px}
.workspace-menu .menu-premium [data-menu-item]{min-height:54px;padding:12px 14px;margin:0;border:1px solid #dbc18f2e;border-radius:10px;background:#d9bd8609;font-size:13px}
.workspace-menu .menu-premium [data-menu-item]:hover{border-color:#dbc18f66;background:#d9bd8616}
.menu-overview{display:inline-flex;align-items:center;gap:5px;min-height:36px;font-size:11px;color:#bfaecb;white-space:nowrap}
.menu-overview svg{width:13px;height:13px}
.menu-reference{grid-column:1/-1;min-width:0;border-top:1px solid #ddc59520;padding-top:8px}
.menu-reference>summary{display:flex;align-items:center;gap:9px;min-height:48px;color:#bcadc8;font:500 12px/1.5 var(--sans,'Be Vietnam Pro',sans-serif);list-style:none;cursor:pointer;border-radius:8px}
.menu-reference>summary::-webkit-details-marker{display:none}
.menu-reference>summary>svg{width:18px;height:18px;flex:none}
.menu-reference>summary::after{content:'';width:6px;height:6px;margin-left:auto;margin-right:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.menu-reference[open]>summary::after{transform:rotate(225deg)}
.menu-reference>summary:hover{color:#e7d3ac}
.menu-reference>summary:focus-visible{outline:2px solid #dac28f;outline-offset:3px}
.workspace-menu .menu-reference nav{grid-template-columns:1fr 1fr;padding-top:4px;gap:4px 24px}
.workspace-menu [hidden]{display:none!important}
.workspace-menu [data-menu-item]{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 8px;margin-inline:-8px;border-radius:8px;color:#e6dfe9;font-size:12px;line-height:1.6;transition:background .18s,color .18s}
.workspace-menu [data-menu-item]>span{min-width:0}
.workspace-menu [data-menu-item]>svg{width:14px;height:14px;flex:none;margin-left:auto;color:#9b8caa;opacity:0;transition:opacity .18s}
.workspace-menu [data-menu-item]:hover,.workspace-menu [data-menu-item]:focus-visible{background:#d9c2950e;color:#efd4a4}
.workspace-menu [data-menu-item]:hover>svg,.workspace-menu [data-menu-item]:focus-visible>svg{opacity:1}
.menu-locale{font:500 9px/1.4 var(--sans,'Be Vietnam Pro',sans-serif);color:#ac9db9}
.workspace-menu-bottom{display:flex;align-items:center;gap:20px;border-top:1px solid #dfc59520;padding-top:16px;font-size:11px;color:var(--nav-muted)}
.workspace-menu-bottom a{min-height:36px;display:inline-flex;align-items:center;gap:7px}
.workspace-menu-bottom .menu-all-tools{margin-left:auto;color:#dfc89a}
.workspace-menu-bottom svg{width:16px;height:16px}
.menu-empty{padding:24px 0 30px;margin:0;color:var(--nav-muted);font-size:13px}
.app-header .workspace-menu-button{flex:none;font-family:var(--sans,'Be Vietnam Pro',sans-serif);letter-spacing:0}
.app-header .account-access{font-family:var(--sans,'Be Vietnam Pro',sans-serif);letter-spacing:0}
.app-header .app-home-link{display:inline-flex;align-items:center;gap:7px;font-family:var(--sans,'Be Vietnam Pro',sans-serif);letter-spacing:0}
.app-header .app-home-link svg{width:20px;height:20px;flex:none}
/* Directories use compact, labelled tools instead of oversized editorial rows. */
.workspace-directory{max-width:1060px;margin-inline:auto}
.directory-intro{padding:42px 0 22px}
.directory-intro .eyebrow{margin-bottom:10px;font-size:10px;letter-spacing:.12em;color:#d8c18f}
.directory-intro h1{font-size:clamp(38px,4.5vw,54px);line-height:1.1;margin:0 0 12px;letter-spacing:-.02em}
.directory-intro>p:last-child{font-size:14px;line-height:1.75;color:var(--nav-muted);margin:0;max-width:60ch}
.directory-toolbar{display:grid;grid-template-columns:1fr;gap:10px;padding:16px 0 25px;max-width:760px}
.directory-toolbar>label{font-size:11px;color:var(--nav-muted)}
.directory-toolbar>input{width:100%;min-width:0;min-height:48px;border:1px solid #c5abc12e;border-radius:10px;background:#1b1425;color:var(--nav-text);padding:11px 15px;font:400 16px/1.6 var(--sans,'Be Vietnam Pro',sans-serif)}
.directory-toolbar>input::placeholder{color:#a99ab7}
.directory-filter{display:flex;gap:7px;flex-wrap:wrap;padding-top:3px}
.directory-filter button{min-height:40px;padding:9px 15px;border:1px solid #c5abc11a;background:transparent;color:var(--nav-muted);border-radius:9px;font:500 11px/1.6 var(--sans,'Be Vietnam Pro',sans-serif);transition:background .18s,color .18s,border-color .18s}
.directory-filter button:hover{color:var(--nav-text);background:#cbb89709}
.directory-filter button[aria-pressed=true]{background:#d8bd8920;color:#e8d19d;border-color:#d8bd8950}
.directory-group{padding:0 0 28px;scroll-margin-top:100px}
.directory-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.directory-heading h2{font:500 17px/1.5 var(--sans,'Be Vietnam Pro',sans-serif);letter-spacing:0;margin:0;color:#efe9df}
.directory-heading>span{font-size:10px;color:#ab9ab8}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tool-link{display:flex;align-items:flex-start;gap:14px;min-width:0;min-height:104px;padding:18px 20px;border:1px solid #c5abc122;border-radius:13px;background:#1b1423e8;transition:border-color .18s,background .18s}
.tool-link:hover{background:#241a2d;border-color:#d8bf8f65}
.tool-icon{display:flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;border-radius:10px;background:#dfc7970c;color:#d8bf91}
.tool-icon svg{width:23px;height:23px}
.tool-copy{display:block;min-width:0}
.tool-title{display:block;font:500 14px/1.5 var(--sans,'Be Vietnam Pro',sans-serif);color:#f0e9df;letter-spacing:0;margin:0 0 5px}
.tool-description{display:block;font:400 12px/1.65 var(--sans,'Be Vietnam Pro',sans-serif);color:#baadc6}
.tool-meta{display:none;font-size:10px;line-height:1.5;color:#a597b1;margin-top:7px}
.tool-arrow{display:block;flex:none;margin:auto 0 auto auto;color:#a995b5}
.tool-arrow svg{width:17px;height:17px;transition:transform .18s}
.tool-link:hover .tool-arrow{color:#dfc797}
.tool-link:hover .tool-arrow svg{transform:translateX(3px)}
.tool-link-primary{min-height:138px;padding:24px;background:#231a2ce8;border-color:#d9bf8c33}
.tool-link-primary .tool-title{font-size:18px}
.tool-link-primary .tool-icon{width:44px;height:44px}
.tool-link-primary .tool-description{font-size:13px}
.tool-link-primary .tool-meta{display:block}
.directory-empty{padding:25px;background:#1b1423;border:1px solid #c5abc122;border-radius:12px;font-size:13px;color:var(--nav-muted)}
.directory-status{margin:0;font-size:11px;color:var(--nav-muted)}
@keyframes menu-appear{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1050px) and (min-width:701px){.workspace-header .wrap{grid-template-columns:auto 1fr auto;gap:14px}.workspace-header .brand{font-size:19px}.workspace-header .primary-nav a{padding:10px;font-size:11px}.workspace-header .primary-nav svg{display:none}.header-utilities{gap:4px}.workspace-header .header-utilities .account-access{padding:12px 6px;font-size:11px}}
@media(max-width:700px){
 body[data-workspace-dock]{padding-bottom:calc(95px + env(safe-area-inset-bottom,0px))}
 html{scroll-padding-top:80px}
 .workspace-header .wrap{grid-template-columns:1fr auto;gap:12px;min-height:64px;padding:9px 0}
 .workspace-header .brand{font-size:19px;letter-spacing:.08em;gap:8px}
 .workspace-header .brand img{width:29px!important;height:29px!important}
 .workspace-header nav.primary-nav{display:none}
 .workspace-header .header-utilities{gap:7px;font-size:11px}
 .workspace-header .header-utilities .account-access{font-size:0;padding:0;width:40px;height:44px;min-height:44px}
 .workspace-header .account-access::before,.workspace-header .account-access::after{content:'';position:absolute;left:50%;transform:translateX(-50%);border:1.5px solid #c9bbd1}
 .workspace-header .account-access::before{width:7px;height:7px;top:9px;border-radius:50%}
 .workspace-header .account-access::after{width:16px;height:9px;top:23px;border-radius:9px 9px 3px 3px;border-bottom:0}
 .workspace-header .workspace-menu-button{padding:10px 11px;font-size:11px}
 .workspace-dock{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);z-index:var(--nav-layer);width:min(420px,calc(100% - 24px));padding:5px;gap:3px;background:#241a2eee;backdrop-filter:blur(18px);border:1px solid #ddc89942;border-radius:18px;box-shadow:0 9px 32px #08031070}
 .workspace-dock>a,.workspace-dock>.workspace-menu-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:0;min-width:0;min-height:58px;padding:8px 3px;border:0;border-radius:12px;color:#c8bbd3;background:transparent;font:500 10px/1.3 var(--sans,'Be Vietnam Pro',sans-serif);letter-spacing:0;white-space:nowrap}
 .workspace-dock svg{width:20px;height:20px;flex:none}
 .workspace-dock>a[aria-current],.workspace-dock>.workspace-menu-button[aria-expanded=true]{background:#e0c48c18;color:#eed29b}
 .workspace-dock>a:hover,.workspace-dock>.workspace-menu-button:hover{background:#ddc89910}
 .workspace-dock a:focus-visible,.workspace-dock button:focus-visible{outline-offset:-2px}
 .is-keyboard-open .workspace-dock{display:none}
 body[data-workspace-dock] .contact-float{display:none!important}
 .workspace-menu{inset:auto 12px calc(12px + env(safe-area-inset-bottom,0px));width:calc(100% - 24px);max-height:calc(85dvh - env(safe-area-inset-bottom,0px));padding:20px;border-radius:20px}
 .workspace-menu-top h2{font-size:27px}
 .workspace-menu-top{top:-20px}
 .workspace-menu-groups{grid-template-columns:1fr;gap:18px;padding-top:22px}
 .workspace-menu-groups section+section{padding-top:0;border-top:0}
 .workspace-menu-groups .menu-premium{padding-bottom:18px}
 .workspace-menu .menu-premium [data-menu-item]{font-size:12px;padding:11px 10px}
 .workspace-menu .menu-reference nav{gap:4px 14px}
 .workspace-menu-groups nav{grid-template-columns:1fr 1fr;gap:4px 14px}
 .workspace-menu-groups h3{font-size:12px;margin-bottom:9px}
 .workspace-menu [data-menu-item]{font-size:12px;min-height:44px;padding:10px 6px;margin-inline:-6px}
 .workspace-menu [data-menu-item]>svg{display:none}
 .workspace-menu-bottom{gap:8px 18px;flex-wrap:wrap;font-size:11px}
 .workspace-menu-bottom .menu-all-tools{margin-left:0}
 .directory-intro{padding:28px 0 18px}
 .directory-intro h1{font-size:40px;margin-bottom:10px}
 .directory-intro>p:last-child{font-size:13px}
 .directory-toolbar{padding:8px 0 26px;gap:8px}
 .directory-filter{gap:6px}
 .directory-filter button{padding:10px 12px;font-size:11px;min-height:44px}
 .directory-group{padding-bottom:25px}
 .directory-heading h2{font-size:16px}
 .tool-grid{grid-template-columns:minmax(0,1fr);gap:8px}
 .tool-link{min-height:92px;padding:16px;gap:12px;border-radius:12px}
 .tool-title{font-size:13px}
 .tool-description{font-size:11px}
 .tool-icon{width:34px;height:34px;border-radius:9px}
 .tool-icon svg{width:21px;height:21px}
 .tool-meta{font-size:9px;margin-top:5px}
 .tool-link-primary{min-height:118px;padding:20px 16px}
 .tool-link-primary .tool-title{font-size:16px}
 .tool-link-primary .tool-description{font-size:12px}
 .app-header .app-home-link{display:none}
 .app-header .account-access{margin-left:auto!important}
 .app-header .workspace-menu-button{min-width:44px;min-height:44px;padding:10px;border:0;background:none}
 .app-header .workspace-menu-button>span{display:none}
}
@media(max-width:360px){.workspace-header .brand{font-size:18px}.workspace-header .header-utilities{gap:3px}.workspace-header .workspace-menu-button{padding:10px 9px}.workspace-menu{padding:17px}.workspace-menu-top{top:-17px}.workspace-menu [data-menu-item]{font-size:11px}.workspace-menu .menu-premium [data-menu-item]{font-size:11px;padding-inline:9px}.workspace-menu .menu-premium nav{gap:6px}.workspace-menu-groups .menu-premium h3{font-size:13px}.menu-overview{font-size:10px}.directory-filter button{padding:9px 10px;font-size:10px}.directory-heading>span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.workspace-menu[open]{animation:none}.tool-link:hover .tool-arrow svg{transform:none}}

/* Keep the App Store entry visible without crowding the mobile header. */
.workspace-header .ios-download{display:inline-flex;align-items:center;min-height:44px;padding:10px 12px;color:var(--nav-gold,#dfc595);border:1px solid #dfc59535;border-radius:10px;white-space:nowrap}
.workspace-header .ios-download:hover{background:#dfc5950d}
.workspace-header .ios-download:focus-visible{outline:2px solid #dfc595;outline-offset:3px}
@media(max-width:900px){.workspace-header .ios-download{display:none}}
