
/* Prelaunch additions, layered over the approved November design. */
[data-coming-soon]{font:inherit;cursor:pointer;border:0;background:none;color:inherit;display:inline-flex;align-items:center;gap:.55em;transition:transform .25s cubic-bezier(.2,.9,.3,1.4)}
[data-coming-soon]:hover,[data-coming-soon]:focus-visible{transform:translateY(-3px)}
[data-coming-soon]:focus-visible,.prelaunch-legal button:focus-visible{outline:2px solid #416de8;outline-offset:5px}
.prelaunch-soon{font-size:.62em;line-height:1.5;font-weight:650;border-radius:99px;padding:.16em .65em;background:#416de8;color:#fff;white-space:nowrap}
[data-coming-soon]:hover .prelaunch-soon{animation:aw-soon-wiggle .5s ease}
.prelaunch-status{font-size:clamp(14px,1.25vw,18px);line-height:1.55;max-width:43em;margin:16px 0 24px;color:inherit}
.prelaunch-pricing-label,.prelaunch-sample-label{font-size:13px;font-weight:650;letter-spacing:.02em}
[data-prelaunch] .fx6-cnt[hidden]{display:none!important}
[data-prelaunch] textarea[readonly]{cursor:default}
.prelaunch-footer-studio{padding:0;text-align:left;margin:0 0 12px}
.prelaunch-legal{display:flex;gap:20px;flex-wrap:wrap;align-items:center;font-size:13px}
.prelaunch-legal button{font:inherit;color:inherit;padding:0;border:0;background:none;cursor:pointer}
.prelaunch-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:10050;max-width:calc(100% - 32px);padding:14px 24px;background:#1c2e4a;color:white;border-radius:22px;box-shadow:0 8px 32px #1c2e4a25;font:600 16px/1.4 system-ui;text-align:center;pointer-events:none}
.prelaunch-toast[hidden],.prelaunch-consent[hidden]{display:none!important}
.prelaunch-toast.is-on{animation:aw-soon-pop .45s cubic-bezier(.18,.85,.3,1.3)}
.prelaunch-toast::before,.prelaunch-toast::after{content:'✦';color:#fdd5e6;display:inline-block;margin:0 .65em;animation:aw-soon-spark .65s ease}
.c2doc-preview{padding:14px 24px;background:#eaf0ff;color:#1c2e4a;font-size:14px;line-height:1.5;border-bottom:1px solid #d3ddf5}
.c2doc-preview a{color:#416de8;text-decoration:underline;text-underline-offset:3px}
.prelaunch-consent{position:fixed;bottom:20px;right:20px;z-index:10040;width:min(420px,calc(100vw - 40px));padding:22px;border-radius:20px;background:#fff;color:#1c2e4a;box-shadow:0 8px 45px #1c2e4a30;border:1px solid #e2e8f4;font:14px/1.5 system-ui}
.prelaunch-consent p{margin:0 0 14px}.prelaunch-consent a{color:#416de8;text-decoration:underline}
.prelaunch-consent-actions{display:flex;gap:10px;flex-wrap:wrap}.prelaunch-consent button{font:600 13px/1.4 system-ui;padding:10px 15px;border-radius:99px;border:1px solid #416de8;background:#fff;color:#416de8;cursor:pointer}.prelaunch-consent button[data-consent-choice="accepted"]{background:#416de8;color:#fff}
.prelaunch-consent button:focus-visible{outline:2px solid #1c2e4a;outline-offset:3px}
@keyframes aw-soon-wiggle{25%{transform:rotate(-5deg)}65%{transform:rotate(4deg)}}
@keyframes aw-soon-pop{0%{opacity:0;transform:translate(-50%,12px) scale(.9)}70%{transform:translate(-50%,-4px) scale(1.03)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes aw-soon-spark{0%{transform:scale(.2) rotate(-25deg)}65%{transform:scale(1.3) rotate(15deg)}100%{transform:scale(1)}}
@media(max-width:600px){.prelaunch-soon{font-size:10px}.prelaunch-legal{gap:12px}.prelaunch-toast{bottom:18px}.c2doc-preview{padding:12px 18px}.prelaunch-status{max-width:34em}.prelaunch-consent{right:16px;bottom:16px;width:calc(100vw - 32px)}}
@media(prefers-reduced-motion:reduce){[data-coming-soon]{transition:none}[data-coming-soon]:hover,[data-coming-soon]:focus-visible{transform:none}.prelaunch-soon,.prelaunch-toast,.prelaunch-toast::before,.prelaunch-toast::after{animation:none!important}}

/* Jes review, 16 November: keep the approved layout and simplify prelaunch controls. */
html body.ch6 .prelaunch-status {
  width: 100%; max-width: var(--ch6-sum-w, min(46rem, 48%));
  margin: 20px 0 28px; text-align: left; text-wrap: pretty;
}
html body.ch6 #products .prelaunch-tts-contact[hidden],
html body.ch6 #products .jes-clone[hidden] { display: none !important; }
html body.ch6 #products .prelaunch-tts-contact { min-height: 320px; }
html body.ch6 #start .st-card > .aw-btnrow {
  margin-top: clamp(32px, 3vw, 48px); gap: 24px 32px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
html body.ch6 #start .aw-link,
html body.ch6 #start .aw-link:hover,
html body.ch6 #start .aw-link:focus-visible { color: #fff !important; opacity: 1; }
html.aw-light body.ch6 .vx5-darkfoot .vx5-contact .primary-button.is-light:hover,
html.aw-light body.ch6 .vx5-darkfoot .vx5-contact .primary-button.is-light:focus-visible {
  background: #FDD5E6; border-color: #FDD5E6; color: #1C2E4A;
}
html.aw-light body.ch6 .vx5-darkfoot .vx5-contact .primary-button.is-light:focus-visible {
  outline: 2px solid #1C2E4A; outline-offset: 4px;
}
html body.ch6[data-jes-content] .aw-foot-bottom {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  text-align: left; gap: 24px 40px; flex-wrap: wrap;
}
html body.ch6 .aw-foot-bottom > p { margin: 0; }
html body.ch6 .aw-foot-bottom .prelaunch-legal {
  margin-left: auto; justify-content: flex-end; gap: 20px 28px;
}
html.aw-light body.ch6 .prelaunch-legal a,
html.aw-light body.ch6 .prelaunch-legal button {
  position: relative; display: inline-block; color: #4575C1;
  text-decoration: none; transition: color .2s ease;
}
html.aw-light body.ch6 .prelaunch-legal a::after,
html.aw-light body.ch6 .prelaunch-legal button::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: currentColor; transform: scaleX(0);
  transform-origin: left; transition: transform .28s ease;
}
html.aw-light body.ch6 .prelaunch-legal a:hover,
html.aw-light body.ch6 .prelaunch-legal a:focus-visible,
html.aw-light body.ch6 .prelaunch-legal button:hover,
html.aw-light body.ch6 .prelaunch-legal button:focus-visible { color: #1C2E4A; }
html.aw-light body.ch6 .prelaunch-legal a:hover::after,
html.aw-light body.ch6 .prelaunch-legal a:focus-visible::after,
html.aw-light body.ch6 .prelaunch-legal button:hover::after,
html.aw-light body.ch6 .prelaunch-legal button:focus-visible::after { transform: scaleX(1); }
@media (max-width: 991px) {
  html body.ch6 .prelaunch-status { max-width: min(100%, 36rem); }
}
@media (max-width: 767px) {
  html body.ch6[data-jes-content] .aw-foot-bottom { flex-direction: column; align-items: flex-start; }
  html body.ch6 .aw-foot-bottom .prelaunch-legal { margin-left: 0; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html body.ch6 .prelaunch-legal a::after, html body.ch6 .prelaunch-legal button::after { transition: none; }
}

/* Contact actions remain visible even when no default mail application is configured. */
dialog.aw-contact-dialog {
  box-sizing: border-box; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: 36px; border: 1px solid #dce5fa; border-radius: 28px;
  background: #fff; color: #1c2e4a; box-shadow: 0 24px 90px #1c2e4a30;
  font: 400 16px/1.5 var(--font-body, "proxima-nova", system-ui, sans-serif); overflow-y: auto;
}
dialog.aw-contact-dialog[open] { animation: aw-contact-enter .3s cubic-bezier(.2,.8,.3,1.15); }
dialog.aw-contact-dialog::backdrop { background: #1c2e4a55; backdrop-filter: blur(5px); }
.aw-contact-dialog .aw-contact-close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #1c2e4a; font: 28px/1 system-ui; cursor: pointer; }
.aw-contact-dialog .aw-contact-close:hover { background: #fdd5e6; }
.aw-contact-dialog .aw-contact-spark { display: block; color: #5a7fff; font-size: 28px; line-height: 1; margin-bottom: 16px; }
.aw-contact-dialog h2 { margin: 0 0 12px; color: #1c2e4a; font-size: clamp(28px, 5vw, 36px); line-height: 1.1; font-weight: 750; letter-spacing: -.03em; }
.aw-contact-dialog h2:focus { outline: none; }
.aw-contact-dialog p { margin: 0 0 24px; color: #5f6b80; }
.aw-contact-dialog .aw-contact-address { display: flex; align-items: center; gap: 8px; padding: 12px 14px; margin: 0 0 24px; border-radius: 14px; background: #f2f6ff; }
.aw-contact-dialog input { min-width: 0; width: 100%; padding: 0; border: 0; background: transparent; color: #1c2e4a; font-family: inherit; font-size: 17px; line-height: 1.5; font-weight: 600; }
.aw-contact-dialog [data-contact-copy] { flex-shrink: 0; padding: 6px; border: 0; background: transparent; color: #416de8; font: inherit; font-size: 14px; cursor: pointer; }
.aw-contact-dialog .aw-contact-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.aw-contact-dialog .aw-contact-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex: 1; padding: 13px 20px; border: 1px solid #5a7fff; border-radius: 99px; color: #416de8; background: #fff; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.aw-contact-dialog .aw-contact-actions [data-contact-gmail] { color: #fff; background: #5a7fff; }
.aw-contact-dialog .aw-contact-outlook { flex: 1; min-width: 170px; }
.aw-contact-dialog .aw-contact-outlook summary { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 20px; border: 1px solid #5a7fff; border-radius: 99px; color: #416de8; font-size: 16px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; transition: background .2s, transform .2s; }
.aw-contact-dialog .aw-contact-outlook summary::-webkit-details-marker { display: none; }
.aw-contact-dialog .aw-contact-outlook summary:hover { background: #fdd5e6; border-color: #fdd5e6; color: #1c2e4a; transform: translateY(-2px); }
.aw-contact-dialog .aw-contact-outlook summary:focus-visible { outline: 2px solid #416de8; outline-offset: 3px; }
.aw-contact-dialog .aw-contact-outlook-options { display: grid; gap: 8px; padding-top: 12px; }
.aw-contact-dialog .aw-contact-outlook-options a { font-size: 13px; padding: 10px 12px; white-space: normal; border-radius: 14px; }
.aw-contact-dialog .aw-contact-actions a:hover { background: #fdd5e6; border-color: #fdd5e6; color: #1c2e4a; transform: translateY(-2px); }
.aw-contact-dialog :is(a,button,input):focus-visible { outline: 2px solid #416de8; outline-offset: 3px; }
.aw-contact-dialog .aw-contact-feedback { margin: 16px 0 0; min-height: 1.5em; color: #416de8; font-size: 14px; }
@keyframes aw-contact-enter { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 400px) { dialog.aw-contact-dialog { padding: 28px 20px; } .aw-contact-dialog .aw-contact-address { padding: 10px; } }
@media (prefers-reduced-motion: reduce) { dialog.aw-contact-dialog[open] { animation: none; } .aw-contact-dialog .aw-contact-actions a { transition: none; } }

/* Product contact copy: color only; preserve all existing geometry. */
html body.ch6 #products .prelaunch-tts-contact h3,
html body.ch6 #products .prelaunch-tts-contact p { color: #fff !important; }

/* November 18: phone hero follows content height, keeping copy off the artwork. */
@media (max-width: 767px) {
  html body.ch6[data-jes-content] .vx-sticky,
  html body.ch6[data-jes-content] .vx-wrapper { height: auto !important; min-height: 0; }
  html body.ch6[data-jes-content] .vx-hero {
    display: flex; flex-direction: column; align-items: center;
    height: auto !important; min-height: 0; padding: 88px 0 40px; gap: 20px;
  }
  html body.ch6[data-jes-content] .vx-hero .vx-nav-wrapper {
    position: relative; inset: auto; order: 0; width: 100%;
  }
  html body.ch6[data-jes-content] .vx-hero .vx-nav-content { padding: 0 20px; }
  html body.ch6[data-jes-content] .vx-hero .vx-content {
    position: relative; inset: auto; order: 1;
    width: min(100%, 480px); aspect-ratio: 2196 / 2866;
  }
  html body.ch6[data-jes-content] .vx-hero .vx-image-block.is-yukata[data-hero-char] {
    inset: 0 !important; width: 100%; height: 100%;
    align-items: flex-start; justify-content: center;
  }
  html body.ch6[data-jes-content] .vx-hero .vx-fig {
    width: 100% !important; height: 100% !important; max-width: none;
  }
  html body.ch6[data-jes-content] .vx-hero .vx-container {
    position: relative; inset: auto !important; order: 2;
    transform: none !important; opacity: 1; padding: 0 24px; gap: 20px !important;
  }
  html body.ch6[data-jes-content] .vx-hero .prelaunch-status { display: none; }
  html body.ch6[data-jes-content] .vx-hero .vx-deco .wm {
    top: 42% !important; bottom: auto !important;
  }
}
@media (max-width: 359px) {
  /* The same contact action is available directly below the hero artwork. */
  html body.ch6[data-jes-content] #awNav .aw-pill.is-primary { display: none; }
}

#emotion [data-more-tags="emotion"] {
  width: min(100%, 28rem);
  container: emotion-tags / inline-size;
}
html body.ch6 #emotion .aw-more-words {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 22px;
  text-align: center;
}
#emotion .emotion-ellipsis {
  display: block;
  margin-top: 4px;
  text-align: center;
  font: 700 18px/1 proxima-nova, sans-serif;
  color: #fff;
}
@container emotion-tags (min-width: 315px) {
  html body.ch6 #emotion .aw-more-words {
    grid-template-columns: repeat(5, max-content);
    column-gap: clamp(6px, 3cqi, 16px);
  }
}

/* Keep the existing placement/reveal hook, with a lighter illustrated sign-off. */
html body.ch6 #voices-work #vocal .aw-more-box.aw-vocal-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 30rem; margin: 22px auto 0; align-self: center;
  padding: 0; border: 0; border-radius: 0;
  color: rgba(255, 255, 255, .85); font: 400 18px/1.4 proxima-nova, sans-serif;
}
.aw-vocal-more > span { font-weight: 700; white-space: nowrap; }
.aw-vocal-hearts { display: block; flex: none; width: 60px; height: 40px; overflow: visible; }
.aw-vocal-hearts path {
  fill: #FDD5E6; stroke: #5A86FF; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 767px) {
  html body.ch6 #voices-work #vocal .aw-more-box.aw-vocal-more { font-size: 18px; gap: 8px; }
  .aw-vocal-hearts { width: 56px; height: 36px; }
}

/* Four personality choices share the original portrait artwork and player. */
html body.ch6 #attractive .ch6-ov-n [lang="ja"] {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: .9em;
}
@media (max-width: 600px) {
  html body.ch6 #attractive .ch6-ov-chiprow {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-items: center;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  html body.ch6 #attractive .ch6-ov-chip { padding-inline: 7px; }
  html body.ch6 #attractive .ch6-ov-n { font-size: 12px; }
}
html body.ch6 #attractive .ch6-ov[data-art="blue"] { --ov-s: 385%; --ov-t: -9%; --ov-fx: 48.5%; }
html body.ch6 #attractive .ch6-ov[data-art="gold"] { --ov-s: 100%; --ov-t: 0%; --ov-fx: 51%; }
html body.ch6 #attractive .ch6-ov[data-art="purple"] { --ov-s: 210%; --ov-t: -4%; --ov-fx: 45%; }
html body.ch6 #attractive .ch6-ov[data-art="whisper"] { --ov-t: -10%; --ov-fx: 50%; }
.ac-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ac-portrait .ac-frame { opacity: 0; }
.ac-portrait .ac-frame.on { opacity: 1; }
/* Registration in the original cutouts, expressed relative to the portrait canvas. */
[data-art="blue"] .ac-mouth { inset: 15.299% auto auto 46.777%; width: 4.785%; height: auto; }
[data-art="blue"] .ac-mouth[data-frame="round"] { top: 15.365%; }
[data-art="blue"] .ac-eyes { inset: 10.352% auto auto 40.43%; width: 15.039%; height: auto; }
[data-art="blue"] .ac-eyes[data-frame="half"] { inset: 10.221% auto auto 40.234%; width: 15.43%; }
[data-art="purple"] .ac-mouth {
  inset: 27.146% auto auto 39.891%; width: 5.1002%; height: auto;
  mask-image: radial-gradient(ellipse closest-side, black 66%, transparent 100%);
}
[data-art="gold"] .ac-mouth { inset: 57.6087% auto auto 44.1825%; width: 13.2319%; height: auto; }
[data-art="purple"] .ac-eyes { inset: 19.8883% auto auto 34.6084%; width: 19.6721%; height: auto; }
[data-art="whisper"] .ac-eyes { clip-path: inset(28.47% 33.7% 59.04% 33.15%); }
[data-art="whisper"] .ac-mouth { clip-path: inset(41.94% 41.98% 54.43% 50.18%); }
@media (min-width: 768px) {
  html body.ch6 #attractive .ch6-ac.ch6-ovs { --w: clamp(145px, 16vw, 245px); --h: clamp(290px, 29vw, 450px); }
  html body.ch6 #attractive .ch6-ov-br { display: none; }
}
@media (max-width: 767px) {
  html body.ch6 #attractive .ch6-ov[data-pos="back"] { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.65); z-index: 0; }
  html body.ch6 #attractive .ch6-ov-card { bottom: -80px; }
  html body.ch6 #attractive .ch6-ac.ch6-ovs { padding-bottom: 108px; }
}

/* In-page destinations sit along the reading edge. */
.section-rail {
  --rail-ink: #fff;
  --rail-ease: cubic-bezier(.22, 1, .36, 1);
  position: fixed; z-index: 75; right: max(10px, env(safe-area-inset-right));
  top: clamp(4px, calc(50dvh - 45px), max(4px, calc(100dvh - 245px)));
  display: grid; color: var(--rail-ink);
  font: 500 14px/1.3 proxima-nova, sans-serif;
  transition: color .25s ease;
}
#awNav.m13-pl ~ .section-rail { --rail-ink: #5a86ff; }
.section-rail .rail-mark {
  position: relative; display: flex; align-items: center; justify-content: flex-end;
  width: 36px; height: 30px; margin: 0; padding: 0 4px 0 0; box-sizing: border-box;
  background: transparent; border: 0; cursor: pointer;
  color: inherit; text-decoration: none; font: inherit;
}
.rail-mark::after {
  content: ''; width: 18px; height: 2px; border-radius: 99px; background: currentColor;
  opacity: .65; transition: width .32s var(--rail-ease), opacity .2s ease;
}
.rail-mark:is([aria-current], [aria-expanded="true"], :hover, :focus-visible)::after { width: 27px; opacity: 1; }
.rail-mark span {
  position: absolute; right: 100%; padding: 4px 10px; border-radius: 8px;
  color: #466ab6; background: #f2f6ff; white-space: nowrap;
  opacity: 0; pointer-events: none; transform: translateX(3px);
  transition: opacity .18s ease, transform .25s var(--rail-ease);
}
.rail-mark:is(:hover, :focus-visible) span { opacity: 1; transform: none; }
.rail-samples {
  display: grid; grid-template-rows: 1fr; opacity: 1;
  transition: grid-template-rows .32s var(--rail-ease), opacity .22s ease;
}
.rail-samples[inert] { grid-template-rows: 0fr; opacity: 0; pointer-events: none; }
.rail-sample-list { min-height: 0; clip-path: inset(0 0 0 -230px); }
.section-rail .rail-sample { height: 24px; padding-right: 5px; }
.rail-sample::after { width: 9px; opacity: .6; }
.rail-sample:is([aria-current], :hover, :focus-visible)::after { width: 14px; opacity: 1; }
@media (hover: none) {
  .rail-product[data-preview] .rail-sample span { opacity: 1; transform: none; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .section-rail, .rail-samples, .rail-mark::after, .rail-mark span { transition: none; }
}
#awNav .aw-nav-right .m12-pg { background: #eaf2ff; color: #496ac0; }
@media (max-width: 819px) {
  #awNav .aw-nav-right .m12-pg, #awNav .aw-nav-right .aw-nav-docs,
  html body.ch6[data-jes-content] #awNav .aw-nav-right .aw-pill.is-primary { display: inline-flex; align-items: center; }
  #awNav .aw-nav-right .m12-pg { padding: 7px 10px; border: 0; border-radius: 10px; font: inherit; }
  html body.ch6 #awNav .aw-nav-right { gap: 8px; font-size: 13px; }
  html body.ch6 #awNav .aw-nav-right .aw-pill { padding: 9px 10px; font-size: 13px; }
  .section-rail { right: 2px; }
  .section-rail .rail-mark { width: 26px; height: 32px; }
  .section-rail .rail-sample { height: 24px; }
  .rail-mark:not(.rail-sample):is([aria-current], [aria-expanded="true"], :hover)::after { width: 21px; }
}
@media (max-width: 440px) {
  html body.ch6[data-jes-content] #awNav .aw-nav-logo { font-size: 0; gap: 0; }
}
