:root {
  --ink: #261e3e;
  --muted: #6d667b;
  --purple: #6a54df;
  --purple-dark: #4f38b3;
  --deep: #241641;
  --cream: #fffdfb;
  --line: #e9e3f1;
  --display: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: #c9baff; }
[hidden] { display: none !important; }
.container { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; left: 16px; top: -60px; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--deep); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #f3c66b; outline-offset: 4px; }

.site-header { position: relative; z-index: 2; color: #fff; background: #261849; }
.header-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 600 21px/1 var(--display); letter-spacing: .045em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; }
.brand-mark svg { width: 39px; height: 39px; }
.site-header nav { display: flex; align-items: center; gap: 27px; font-size: 14px; font-weight: 800; }
.header-link { color: #e1d9fa; }
.header-link:hover { color: #fff; }
.header-back { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; background: #ffffff1c; border: 1px solid #ffffff38; border-radius: 100px; color: #fff; }
.header-back:hover { background: #ffffff2b; }

.hero { position: relative; overflow: hidden; padding: 50px 0 100px; color: #fff; background: radial-gradient(circle at 86% 15%, #7e64cd 0, #5b43a0 27%, transparent 48%), linear-gradient(122deg, #261849 5%, #342060 52%, #4d3284 100%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .17; background: radial-gradient(#fff 1px, transparent 1px) 0 0 / 32px 32px; mask-image: linear-gradient(to bottom, #000, transparent 80%); pointer-events: none; }
.hero-decoration { position: absolute; border-radius: 50%; pointer-events: none; }
.deco-one { width: 540px; height: 540px; border: 1px solid #ffffff30; top: 30px; right: -250px; }
.deco-two { width: 280px; height: 280px; border: 1px solid #ffffff20; top: 175px; left: -180px; }
.hero-copy { position: relative; z-index: 1; text-align: center; max-width: 900px; margin-bottom: 38px; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; margin: 0 0 13px; color: #ded5ff; font-size: 11px; font-weight: 900; letter-spacing: .22em; line-height: 1.3; text-transform: uppercase; }
.eyebrow-star { color: #ffd89e; font-size: 16px; }
.hero h1 { max-width: 890px; margin: 0 auto 17px; font: 600 clamp(46px, 5.8vw, 76px)/1.07 var(--display); letter-spacing: -.037em; }
.hero-lead { max-width: 710px; margin: 0 auto; color: #e9e0fb; font-size: 18px; font-weight: 700; line-height: 1.65; }
.hero-tags { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1px solid #ffffff2c; border-radius: 100px; background: #ffffff10; color: #f3ecff; font-size: 12px; font-weight: 800; }
.hero-tags span span { display: inline; padding: 0; background: none; border: 0; color: #ffd8a2; font-size: 15px; }

.studio { position: relative; z-index: 1; overflow: hidden; border: 1px solid #ffffffc2; border-radius: 33px; background: #fff; color: var(--ink); box-shadow: 0 34px 86px #170b3780, 0 0 0 7px #ffffff0e; }
.studio-intro { min-height: 117px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 38px; border-bottom: 1px solid var(--line); background: #fff; }
.studio-overline, .control-step { display: block; color: #806dd0; font-size: 11px; font-weight: 900; letter-spacing: .19em; line-height: 1.4; }
.studio-overline { margin: 0 0 6px; }
.studio-overline span { padding-inline: 5px; }
.studio-intro h2 { margin: 0; font: 600 clamp(27px, 3vw, 38px)/1.12 var(--display); letter-spacing: -.02em; }
.studio-intro h2 em, .chat-lab h3 em, .section-heading h2 em { color: var(--purple); }
.studio-status { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 14px; border: 1px solid #dceee4; border-radius: 100px; background: #effaf4; color: #35896d; font-size: 12px; font-weight: 900; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #49b98e; box-shadow: 0 0 0 4px #49b98e25; }
.studio-grid { display: grid; grid-template-columns: minmax(340px, 40%) minmax(0, 60%); }
.controls-panel { padding: 34px 32px 28px 38px; border-right: 1px solid var(--line); background: #fff; }
.control-intro h3 { margin: 8px 0 5px; font: 600 27px/1.16 var(--display); letter-spacing: -.018em; }
.control-intro p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.ari-points { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.ari-points li { display: flex; align-items: flex-start; gap: 13px; padding: 15px 16px; border: 1.5px solid #e6e1ed; border-radius: 16px; background: #fff; }
.ari-points li > span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #efe9ff; color: #6a54df; font-size: 15px; }
.ari-points strong { display: block; color: #3d3451; font-size: 14px; font-weight: 900; }
.ari-points small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.control-group { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.control-group legend { margin-bottom: 10px; color: #4f4560; font-size: 13px; font-weight: 900; }
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.segmented button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border: 1.5px solid #e6e1ed; border-radius: 14px; background: #fff; color: #625b70; font-size: 14px; font-weight: 900; transition: transform .2s, border-color .2s, background .2s; }
.segmented button:hover, .age-options button:hover { transform: translateY(-2px); border-color: #b7a7ec; }
.segmented button[aria-pressed="true"] { border-color: var(--purple); background: #eeeaff; color: #513cbd; box-shadow: 0 0 0 3px #6a54df16; }
.segment-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: #f2eeff; color: #765cd0; font-size: 18px; line-height: 1; }
.age-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.age-options button { display: flex; align-items: center; flex-direction: column; min-width: 0; padding: 10px 5px 12px; border: 1.5px solid #e6e1ed; border-radius: 15px; background: #fff; color: #6d647b; text-align: center; transition: transform .2s, border-color .2s, background .2s; }
.age-options button[aria-pressed="true"] { border-color: var(--purple); background: #f2eeff; box-shadow: 0 0 0 3px #6a54df15; }
.age-options button[aria-pressed="true"] strong { color: #503bbb; }
.age-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; border-radius: 13px; background: #f2eeff; color: #7d65d8; font-family: var(--display); font-size: 24px; }
.age-options strong { font-size: 12px; line-height: 1.15; }
.age-options small { color: #8a8297; font-size: 10px; font-weight: 800; white-space: nowrap; }
.age-options button:disabled { cursor: not-allowed; opacity: .62; transform: none; }
.age-match-card { overflow: hidden; margin-top: 8px; border: 1px solid #e6e0f0; border-radius: 17px; background: #faf8ff; }
.age-match-heading { display: flex; align-items: center; gap: 11px; padding: 13px; }
.match-symbol { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: #eae3ff; color: #7259d0; font-size: 19px; font-weight: 900; }
.age-match-heading > div { display: grid; gap: 1px; flex: 1; min-width: 0; }
.age-match-heading strong { font-size: 13px; line-height: 1.15; }
.age-match-heading small { color: #827b91; font-size: 11px; line-height: 1.35; }
.switch { display: inline-grid; flex: none; place-items: center; width: 41px; height: 26px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 41px; height: 26px; cursor: pointer; }
.switch span { width: 41px; height: 25px; border-radius: 100px; background: #d6d0e3; transition: background .2s; }
.switch span::after { content: ''; display: block; width: 19px; height: 19px; margin: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px #1810243d; transition: transform .2s; }
.switch input:checked + span { background: var(--purple); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 3px solid #e9b661; outline-offset: 3px; }
.age-match-controls { padding: 0 14px 13px; }
.age-match-controls label { display: flex; justify-content: space-between; color: #675f76; font-size: 11px; font-weight: 900; }
.age-match-controls label strong { color: var(--purple); font-size: 13px; }
.age-match-controls input { width: 100%; margin: 7px 0; accent-color: var(--purple); }
.age-match-controls p { margin: 0; color: #827b90; font-size: 10px; line-height: 1.4; }
.control-footnote { display: flex; align-items: start; gap: 8px; margin-top: 17px; color: #878091; }
.control-footnote span { color: #c6789d; }
.control-footnote p { margin: 0; font-size: 11px; line-height: 1.45; }

.preview-panel { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; padding: 25px; background: #f9f7fe; }
.portrait-stage { position: relative; display: flex; flex-direction: column; align-items: center; overflow: hidden; min-height: 457px; padding: 20px 24px 22px; border-radius: 26px; isolation: isolate; background: radial-gradient(circle at 50% 44%, #fdfbff 0, #f0e9ff 43%, #ded1fa 100%); transition: background .35s; }
.portrait-stage[data-expression="happy"] { background: radial-gradient(circle at 50% 44%, #fffef4 0, #fff3d8 43%, #f7dfad 100%); }
.portrait-stage[data-expression="angry"] { background: radial-gradient(circle at 50% 44%, #fff9f9 0, #f8dce2 46%, #eabcc8 100%); }
.portrait-stage[data-expression="sad"] { background: radial-gradient(circle at 50% 44%, #f9fbff 0, #deebf8 46%, #c5d8ec 100%); }
.portrait-stage[data-expression="stressed"] { background: radial-gradient(circle at 50% 44%, #fffdf7 0, #fae8cf 46%, #f0d3ae 100%); }
.portrait-stage[data-expression="anxious"] { background: radial-gradient(circle at 50% 44%, #fbfaff 0, #e7e1f8 46%, #d3c8f0 100%); }
.portrait-stage[data-expression="lonely"] { background: radial-gradient(circle at 50% 44%, #f8f9ff 0, #dfe2f5 46%, #c5c9e7 100%); }
.portrait-stage[data-expression="worried"] { background: radial-gradient(circle at 50% 44%, #f6fbff 0, #e3edf9 45%, #cdddf2 100%); }
.portrait-stage[data-expression="doubtful"] { background: radial-gradient(circle at 50% 44%, #fffafa 0, #f5e7ef 45%, #e7d1e1 100%); }
.portrait-stage::before { content: ''; position: absolute; z-index: -1; width: 545px; height: 545px; top: -75px; left: 50%; transform: translateX(-50%); border-radius: 50%; border: 1px solid #ffffffa0; box-shadow: 0 0 0 45px #ffffff18, 0 0 0 94px #ffffff12; }
.stage-topline { display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: 10px; color: #695c8c; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.stage-live { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 100px; background: #ffffffb8; color: #6e627d; font-size: 10px; letter-spacing: 0; }
.stage-live span { color: #64b593; font-size: 8px; }
.avatar-halo { position: relative; display: grid; place-items: center; width: min(460px, 100%); height: 410px; margin: 2px 0 -46px; }
.avatar-halo::before { content: ''; position: absolute; width: 95%; aspect-ratio: 1; top: -4%; left: 2.5%; border-radius: 50%; background: #ffffff30; filter: blur(20px); }
.avatar-mount { position: relative; z-index: 1; width: 100%; height: 100%; display: grid; place-items: end center; }
.avatar-mount .lig-real-avatar { width: auto; max-width: 100%; }
.stage-orbit { position: absolute; z-index: 1; color: #fff; text-shadow: 0 4px 14px #765eaf33; pointer-events: none; animation: float 4.5s ease-in-out infinite; }
.orbit-one { top: 25%; left: 16%; font-size: 26px; }
.orbit-two { top: 38%; right: 13%; font-size: 34px; animation-delay: -1.4s; }
.orbit-three { bottom: 28%; left: 16%; font-size: 22px; animation-delay: -2.7s; }
.portrait-caption { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; min-width: 230px; margin-top: -9px; padding: 10px 17px 10px 11px; border: 1px solid #ffffffb8; border-radius: 100px; background: #ffffffed; box-shadow: 0 13px 30px #6f55a328; }
.expression-glyph { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eee9ff; color: #7259ca; font-size: 20px; }
.portrait-caption div { display: grid; line-height: 1.17; }
.portrait-caption small { color: #837996; font-size: 10px; font-weight: 900; }
.portrait-caption strong { color: #44365d; font-family: var(--display); font-size: 17px; font-weight: 600; }
.avatar-caption { margin: 10px 0 0; color: #716687; font-size: 11px; font-weight: 900; }

.chat-lab { display: grid; grid-template-columns: minmax(220px, 33%) minmax(0, 67%); gap: 22px; padding: 30px 38px 36px; border-top: 1px solid var(--line); background: #fdfbff; }
.chat-lab-copy { padding-top: 5px; }
.chat-lab h3 { max-width: 260px; margin: 10px 0 10px; font: 600 29px/1.15 var(--display); letter-spacing: -.02em; }
.chat-lab-copy p { max-width: 290px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.chat-lab-interaction { min-width: 0; }
.sample-messages { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.sample-messages button { padding: 7px 11px; border: 1px solid #e5dcf5; border-radius: 100px; background: #fff; color: #6c58aa; font-size: 11px; font-weight: 900; }
.sample-messages button:hover { border-color: var(--purple); background: #f4f0ff; }
.chat-preview { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; min-height: 58px; padding: 9px 13px; border: 1px solid #e9e3f3; border-radius: 13px; background: #fff; }
.chat-placeholder { margin: 0; color: #9b92a9; font-size: 12px; font-weight: 800; }
.chat-message { align-self: flex-end; max-width: 91%; margin: 0; padding: 8px 12px; border-radius: 11px 11px 3px 11px; background: #eae4ff; color: #534296; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.reaction-note { align-self: flex-start; margin: 0; padding: 5px 8px; color: #776b8e; font-size: 11px; font-weight: 900; }
.reaction-note::before { content: '✧'; margin-right: 6px; color: #b28ad6; }
.message-form { display: flex; align-items: stretch; gap: 9px; margin-top: 9px; }
.message-form textarea { flex: 1; min-width: 0; min-height: 58px; max-height: 140px; resize: vertical; padding: 11px 13px; border: 1.5px solid #e7e0ef; border-radius: 13px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.35; }
.message-form textarea::placeholder { color: #a69eaf; }
.message-form textarea:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 3px #6a54df1c; }
.message-form button { flex: none; padding: 0 18px; border: 0; border-radius: 13px; background: var(--purple); color: #fff; font-size: 12px; font-weight: 900; }
.message-form button:hover { background: var(--purple-dark); }
.message-form button span { margin-left: 5px; }
.chat-lab-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; color: #938b9f; font-size: 10px; font-weight: 800; }
.chat-lab-meta button { padding: 0; border: 0; background: none; color: #6a54bd; font-size: inherit; font-weight: 900; text-decoration: underline; text-underline-offset: 2px; }
.age-options button:disabled { cursor: not-allowed; opacity: .56; transform: none; }

.explain-section { padding: 100px 0 105px; background: #fffdfb; }
.section-heading { max-width: 700px; margin: 0 auto 43px; text-align: center; }
.eyebrow-purple { color: #745bd2; }
.section-heading h2 { margin: 0 0 12px; font: 600 clamp(42px, 5vw, 61px)/1.08 var(--display); letter-spacing: -.03em; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 17px; }
.explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.explain-grid article { position: relative; min-height: 288px; overflow: hidden; padding: 27px; border: 1px solid #eee7f0; border-radius: 25px; background: #fff; box-shadow: 0 11px 35px #3c315014; }
.explain-number { position: absolute; right: 25px; top: 20px; color: #aca4b7; font: 500 18px var(--display); }
.explain-art { display: inline-flex; align-items: center; gap: 10px; min-height: 94px; color: #6954c7; font: 600 48px var(--display); }
.explain-art span { display: grid; place-items: center; width: 59px; height: 59px; border-radius: 22px; background: #eee8ff; font-size: 35px; transform: rotate(10deg); }
.art-choice span { color: #da8dab; background: #ffe9f1; }
.art-mood { color: #e4af5a; }.art-mood span { color: #ce7fa2; background: #fff0f5; }
.art-control { color: #77bda4; }.art-control span { color: #856bd6; background: #e7e1ff; }
.explain-grid h3 { margin: 10px 0 7px; font: 600 23px/1.17 var(--display); }
.explain-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.coming-section { padding: 69px 0; color: #fff; background: radial-gradient(circle at 77% 35%, #8064d9 0, transparent 29%), linear-gradient(110deg, #2b194d, #52399e); }
.coming-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.coming-inner > div:first-child { max-width: 790px; }
.coming-section h2 { margin: 0 0 11px; font: 600 clamp(35px, 4.7vw, 58px)/1.07 var(--display); letter-spacing: -.025em; }
.coming-section p:not(.eyebrow) { max-width: 640px; margin: 0; color: #e3d9f7; font-size: 16px; }
.coming-seal { display: grid; place-items: center; flex: none; width: 166px; height: 166px; border: 1px solid #ffffff7a; border-radius: 50%; background: #ffffff10; transform: rotate(10deg); }
.coming-seal span { align-self: end; font: 600 57px/1 var(--display); }
.coming-seal small { align-self: start; color: #e8dcff; font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.site-footer { padding: 31px 0; background: #211638; color: #ebe5fa; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner .brand { font-size: 18px; }
.footer-inner p { margin: 0; color: #c1b5d9; font-size: 13px; }
.footer-inner > span { color: #afa4c4; font-size: 11px; font-weight: 800; }

@keyframes float { 50% { transform: translateY(-9px) rotate(8deg); } }
@media (max-width: 1050px) {
  .studio-grid { grid-template-columns: minmax(310px, 41%) minmax(0, 59%); }
  .controls-panel { padding: 30px 24px; }
  .preview-panel { padding: 20px; }
  .chat-lab { grid-template-columns: 34% 66%; }
}
@media (max-width: 800px) {
  .header-inner { min-height: 72px; }
  .header-link { display: none; }
  .hero { padding: 54px 0 75px; }
  .hero-copy { margin-bottom: 31px; }
  .hero h1 { font-size: clamp(47px, 8vw, 66px); }
  .studio-intro { padding: 22px 27px; }
  .studio-grid { grid-template-columns: 1fr; }
  .controls-panel { border-right: 0; border-bottom: 1px solid var(--line); padding: 29px 28px; }
  .control-intro h3 { font-size: 25px; }
  .preview-panel { padding: 22px 28px 28px; }
  .portrait-stage { min-height: 470px; }
  .chat-lab { grid-template-columns: 1fr; padding: 29px 28px; }
  .chat-lab h3, .chat-lab-copy p { max-width: none; }
  .explain-grid { gap: 12px; }
  .explain-grid article { padding: 20px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1220px); }
  .brand { font-size: 17px; }.brand-mark, .brand-mark svg { width: 31px; height: 31px; }
  .header-back { padding: 8px 11px; font-size: 11px; }
  .hero { padding-top: 42px; padding-bottom: 55px; }
  .hero h1 { font-size: clamp(43px, 11vw, 59px); }
  .hero-lead { font-size: 15px; }
  .hero-tags { gap: 6px; }
  .hero-tags span { font-size: 10px; padding: 6px 8px; }
  .studio { border-radius: 23px; }
  .studio-intro { align-items: flex-start; flex-direction: column; gap: 10px; min-height: 0; padding: 22px 21px; }
  .studio-intro h2 { font-size: 30px; }
  .studio-status { padding: 7px 11px; font-size: 10px; }
  .controls-panel { padding: 25px 21px; }
  .age-options { gap: 6px; }
  .age-options button { padding-inline: 3px; }
  .age-options small { font-size: 10px; }
  .preview-panel { padding: 15px 15px 22px; }
  .portrait-stage { min-height: 420px; padding: 17px 12px; border-radius: 18px; }
  .avatar-halo { height: 330px; width: min(380px, 100%); margin-bottom: -38px; }
  .avatar-mount .lig-real-avatar { width: auto; max-width: 100%; }
  .stage-topline { font-size: 9px; }
  .orbit-one { left: 7%; }.orbit-two { right: 7%; }.orbit-three { left: 8%; }
  .portrait-caption { margin-top: -8px; }
  .chat-lab { padding: 25px 20px 28px; }
  .chat-lab h3 { font-size: 26px; }
  .message-form { flex-direction: column; }
  .message-form button { min-height: 45px; }
  .chat-lab-meta { flex-wrap: wrap; }
  .explain-section { padding: 77px 0; }
  .section-heading { margin-bottom: 29px; }.section-heading h2 { font-size: 43px; }.section-heading p:not(.eyebrow) { font-size: 15px; }
  .explain-grid { grid-template-columns: 1fr; }
  .explain-grid article { min-height: 0; padding: 22px; }
  .explain-art { min-height: 73px; }
  .coming-section { padding: 65px 0; }.coming-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .coming-seal { width: 115px; height: 115px; }.coming-seal span { font-size: 39px; }.coming-seal small { font-size: 8px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Ari's recorded hello video */
.live-video { position: absolute; z-index: 1; top: -13.7%; left: 50%; display: block; height: 125%; width: auto; aspect-ratio: 9 / 16; transform: translateX(-50%); /* Match the still: the video's head is scaled and placed where the portrait's head sits. */ -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(#000 62%, transparent 82%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(#000 62%, transparent 82%); mask-composite: intersect; }
.portrait-stage.is-live .avatar-halo { height: 410px; }
.portrait-stage.is-live .avatar-mount { display: none; }
.portrait-stage.is-live .stage-live span:first-child { color: var(--purple); animation: live-blink 1.2s ease-in-out infinite; }
.live-controls { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 12px; text-align: center; }
.live-button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 100px; background: var(--purple); color: #fff; font: 800 14px/1 var(--body); cursor: pointer; box-shadow: 0 12px 26px #6a54df40; transition: transform .2s, background .2s; }
.live-button:hover { transform: translateY(-2px); background: var(--purple-dark); }
.live-button:disabled { cursor: progress; opacity: .75; transform: none; }
.live-button-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee0b5; box-shadow: 0 0 0 3px #7ee0b540; }
.portrait-stage.is-live .live-button { background: #fff; color: var(--ink); box-shadow: 0 8px 20px #41326820; }
.portrait-stage.is-live .live-button-dot { border-radius: 2px; background: #e2577a; box-shadow: none; }
.live-note { max-width: 330px; margin: 0; color: #6e627d; font-size: 11px; font-weight: 700; line-height: 1.45; }
@keyframes live-blink { 50% { opacity: .35; } }
@media (max-width: 560px) { .portrait-stage.is-live .avatar-halo { height: 360px; } }
@media (prefers-reduced-motion: reduce) { .portrait-stage.is-live .stage-live span:first-child { animation: none; } }
