/* Three.js の空間と静止時の代替表示。本文の色・余白はブロック設定を優先する。 */
.aura-light-portal {
    position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center; min-height: max(700px, 90svh); overflow: clip; box-sizing: border-box;
    padding: clamp(28px, 5vw, 88px); gap: clamp(20px, 4vw, 64px);
    border-radius: 4px; border: 1px solid #bda0ff30;
}
.aura-light-portal:where(:not(.has-background)) { background: #0b0a18; }
.aura-light-portal:where(:not(.has-text-color)) { color: #f2ebff; }
.aura-light-portal::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 72% 45%, #8064b226, transparent 65%), linear-gradient(125deg, transparent 55%, #94f0ef08); }
.aura-light-portal__content { position: relative; z-index: 2; min-width: 0; overflow-wrap: anywhere; text-shadow: 0 2px 24px #0b0a18; }
.aura-light-portal__content > :first-child { margin-top: 0; }
.aura-light-portal__content :where(h1, h2) { font-size: clamp(2.8rem, 6.4vw, 7rem); font-weight: 400; line-height: 1.35; letter-spacing: .06em; text-wrap: balance; }
.aura-light-portal__content :where(p) { line-height: 2; }
.aura-light-portal__content :where(.wp-block-button__link:not(.has-background)) { background: #e7dafb; color: #241637; border: 1px solid #fff7; border-radius: 999px; padding: 1rem 1.6rem; box-shadow: 0 0 32px #ba8aff30; }
.aura-light-portal__content :where(a:focus-visible), .aura-light-scene button:focus-visible { outline: 3px solid #9cf6f0; outline-offset: 5px; }
.aura-light-scene { --aura-light-color: #bda0ff; position: relative; min-width: 0; color: #f2ebff; background: #0b0a18; border-radius: inherit; overflow: hidden; isolation: isolate; }
.aura-light-portal > .aura-light-scene { position: absolute; inset: 0; z-index: 0; margin: 0; }
.aura-light-portal > .aura-light-scene .aura-light-scene__viewport { height: 100%; }
.aura-light-portal > .aura-light-scene::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #0b0a18d9 0%, #0b0a1880 28%, transparent 55%), linear-gradient(0deg, #0b0a18 0%, transparent 18%); }
.aura-light-portal > .aura-light-scene .aura-light-scene__hud { position: absolute; top: 28px; right: 32px; z-index: 1; padding: 0; }
.aura-light-portal > .aura-light-scene .aura-light-scene__controls { position: absolute; bottom: 28px; right: 32px; z-index: 1; padding: 0; }
.aura-light-portal > .aura-light-scene .aura-light-scene__fallback { left: 38%; }
.aura-light-scene__viewport { position: relative; height: clamp(320px, 40vw, 580px); overflow: hidden; touch-action: pan-y; }
.aura-light-scene__viewport canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.aura-light-scene[data-renderer="webgl"] canvas { opacity: 1; }
.aura-light-scene__fallback { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse, #9e60ff18, transparent 65%); }
.aura-light-scene__fallback::before { content: ''; width: 52%; aspect-ratio: 1; border-radius: 46% 54% 62% 38% / 46% 35% 65% 54%; background: radial-gradient(circle at 35% 28%, #e3fffbba, transparent 42%), radial-gradient(circle at 65% 70%, #f393d9a6, transparent 55%), radial-gradient(ellipse, #6e44bb44 20%, var(--aura-light-color) 65%, #d5c3ff22 68%, transparent 74%); box-shadow: inset -10px 5px 40px #fff6, inset 16px -10px 45px #b992ff99, 0 0 70px #a777ff44; transform: rotate(-20deg); }
.aura-light-scene__fallback i { position: absolute; width: 82%; aspect-ratio: 1; border: 1px solid #bcabec55; border-radius: 50%; transform: rotate(-28deg) scaleY(.38); box-shadow: 0 0 15px #af91e522; }
.aura-light-scene__fallback i:nth-child(2) { width: 77%; transform: rotate(52deg) scaleY(.47); border-color: #8ff6ed55; }
.aura-light-scene__fallback i:nth-child(3) { width: 64%; transform: rotate(122deg) scaleY(.72); border-style: dashed; border-color: #ffbee633; }
.aura-light-scene[data-renderer="webgl"] .aura-light-scene__fallback { opacity: 0; }
.aura-light-scene__hud { display: flex; justify-content: center; align-items: center; gap: .7em; padding: 0 1rem 1rem; font-size: .8rem; letter-spacing: .08em; text-align: center; line-height: 1.7; }
.aura-light-scene__mark { color: #b8eee9; font-size: 1.3rem; }
.aura-light-scene .aura-light-scene__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 12px 20px; }
.aura-light-scene [hidden] { display: none !important; }
/* 1段目に「光を解き放つ」、2段目に「動きを停止」「軽量表示」を並べる（2026-11-17本人指示）。 */
.aura-light-scene .aura-light-scene__controls--modes { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; }
.aura-light-scene .aura-light-scene__controls--modes [data-aura-touch] { grid-column: 1 / -1; }
.aura-light-scene .aura-light-scene__controls button { min-height: 44px; border: 1px solid #bca6e766; padding: .6rem .9rem; border-radius: 999px; background: #191429; color: #eee5ff; font: inherit; font-size: .75rem; line-height: 1.5; cursor: pointer; }
.aura-light-scene .aura-light-scene__controls button:hover { background: #312444; border-color: #d5befb; }
.aura-light-scene .aura-light-scene__controls button[aria-pressed="true"] { background: #e2d2fc; color: #231735; }
.aura-light-scene .aura-light-scene__controls button:disabled { opacity: .5; cursor: default; }
.aura-light-scene__static-note { text-align: center; font-size: .8rem; padding: 0 1rem 1rem; }
.aura-light-scene[data-phase="result"] { box-shadow: inset 0 0 60px color-mix(in srgb, var(--aura-light-color) 14%, transparent); }
/* 診断は既存の編集設定を維持し、光の領域だけを追加する。 */
.aura-diagnosis > .aura-light-scene { margin-block: 1.5rem; border-radius: 1rem; }
.aura-diagnosis > .aura-light-scene .aura-light-scene__viewport { height: clamp(240px, 36vw, 360px); }
.aura-diagnosis[data-aura-phase="reading"] > .aura-light-scene .aura-light-scene__viewport { height: clamp(180px, 25vw, 260px); }
.aura-diagnosis [data-progress] { transition: filter .4s; }
.aura-diagnosis:has([data-aura-scene]) .aura-diagnosis__choice { transition: border-color .25s, box-shadow .25s, transform .25s; }
.aura-diagnosis:has([data-aura-scene]) .aura-diagnosis__choice:has(input:checked) { box-shadow: 0 0 18px #956ac52b; transform: translateX(3px); }
.aura-diagnosis:has([data-aura-scene])[data-aura-phase="result"] [data-results] { animation: aura-result-arrive 1s ease both; }
/* 診断は、中央の光を核にしたSF調の画面（HUD）にする（2026-11-17本人指示: 中央コア型、ラベンダーの核と水色の線）。
   左右2列をやめ、核→進み具合→質問→選択肢→操作の順に縦へ並べる。注意書きは最後に小さく置く。ボタンの色・角丸は診断ブロックの設定を使う。 */
@property --aura-progress { syntax: '<number>'; inherits: true; initial-value: 0; }
.aura-diagnosis.aura-diagnosis--immersive {
    --aura-ink: #f2ebff; --aura-accent: #c5a6ff; --aura-default-button-text: #20152f;
    /* 核の大きさは画面幅ではなく診断の枠の幅から決める（ページ側の余白の中でもはみ出さない）。 */
    --aura-hud: #8ff6ed; --aura-core: min(64cqi, 300px);
    container-type: inline-size; position: relative; display: flex; flex-direction: column; max-width: 54rem;
    padding: clamp(3rem, 6vw, 4.25rem) clamp(1.25rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 3rem);
    background: radial-gradient(ellipse 70% 38% at 50% 16%, #2b1d4d 0%, transparent 72%), repeating-linear-gradient(0deg, #8ff6ed07 0 1px, transparent 1px 4px), #0b0a18;
    color: #f2ebff; border: 1px solid #8ff6ed2e; border-radius: 6px; box-shadow: 0 24px 100px #38205622, inset 0 0 90px #8ff6ed0a;
}
/* 左上の表示と四隅の括弧。読み上げない装飾。 */
.aura-diagnosis--immersive::before { content: "AURA / COLOR READING" / ""; position: absolute; top: 1.1rem; left: 1.4rem; color: var(--aura-hud); font: 600 .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .26em; opacity: .85; }
.aura-diagnosis--immersive::after {
    content: ""; position: absolute; inset: .55rem; pointer-events: none; opacity: .75;
    background: linear-gradient(var(--aura-hud) 0 0) top left / 22px 1px, linear-gradient(var(--aura-hud) 0 0) top left / 1px 22px,
        linear-gradient(var(--aura-hud) 0 0) top right / 22px 1px, linear-gradient(var(--aura-hud) 0 0) top right / 1px 22px,
        linear-gradient(var(--aura-hud) 0 0) bottom left / 22px 1px, linear-gradient(var(--aura-hud) 0 0) bottom left / 1px 22px,
        linear-gradient(var(--aura-hud) 0 0) bottom right / 22px 1px, linear-gradient(var(--aura-hud) 0 0) bottom right / 1px 22px;
    background-repeat: no-repeat;
}
/* 質問に答えている間は核を小さくし、質問と選択肢を見やすくする。 */
.aura-diagnosis.aura-diagnosis--immersive[data-aura-phase="reading"] { --aura-core: min(46cqi, 220px); }
.aura-diagnosis--immersive > * { order: 2; width: 100%; max-width: 42rem; margin-inline: auto; min-width: 0; }
.aura-diagnosis--immersive > .aura-diagnosis__header { order: 0; text-align: center; }
.aura-diagnosis--immersive .aura-diagnosis__eyebrow { color: var(--aura-hud); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .3em; text-transform: uppercase; }
/* 核: 円く切り抜いた光を、目盛りの輪と進み具合の輪で囲む。 */
.aura-diagnosis--immersive > .aura-light-scene { order: 1; max-width: none; padding-top: 1.5rem; overflow: visible; background: none; transition: --aura-progress .8s ease; }
.aura-diagnosis.aura-diagnosis--immersive > .aura-light-scene .aura-light-scene__viewport { width: var(--aura-core); height: var(--aura-core); margin: 0 auto; transition: width .6s ease, height .6s ease; border-radius: 50%; box-shadow: 0 0 0 1px #8ff6ed40, 0 0 70px #9e60ff38; }
.aura-diagnosis--immersive > .aura-light-scene::before, .aura-diagnosis--immersive > .aura-light-scene::after {
    content: ""; position: absolute; left: 50%; top: calc(1.5rem + var(--aura-core) / 2); translate: -50% -50%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
}
.aura-diagnosis--immersive > .aura-light-scene::before {
    width: calc(var(--aura-core) * 1.22); opacity: .6;
    background: repeating-conic-gradient(var(--aura-hud) 0 .7deg, transparent .7deg 7.5deg);
    mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
    animation: aura-hud-spin 70s linear infinite;
}
.aura-diagnosis--immersive > .aura-light-scene::after {
    width: calc(var(--aura-core) * 1.1);
    background: conic-gradient(var(--aura-hud) calc(var(--aura-progress) * 360deg), #8ff6ed24 0);
    mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    filter: drop-shadow(0 0 4px #8ff6ed99);
}
.aura-diagnosis--immersive > .aura-light-scene:not([data-motion="active"])::before { animation-play-state: paused; }
@keyframes aura-hud-spin { to { rotate: 360deg; } }
.aura-diagnosis--immersive .aura-light-scene__hud { margin-top: calc(var(--aura-core) * .14 + .25rem); padding-bottom: .6rem; color: #d9fbf8; font-size: .78rem; letter-spacing: .16em; }
.aura-diagnosis--immersive .aura-light-scene__controls { gap: 6px; padding-bottom: .25rem; }
/* 演出操作は診断ボタンの設定と分離する。 */
.aura-diagnosis--immersive .aura-light-scene__controls button { min-height: 40px; padding: .4rem .95rem; border-radius: 4px; background: #0e1424; color: #d9fbf8; border-color: #8ff6ed4d; font-size: .72rem; letter-spacing: .08em; }
.aura-diagnosis--immersive .aura-light-scene__controls button:hover { background: #12203a; border-color: var(--aura-hud); }
.aura-diagnosis--immersive .aura-light-scene__controls button[aria-pressed="true"] { background: #8ff6ed24; color: #f1fffe; border-color: var(--aura-hud); box-shadow: 0 0 14px #8ff6ed40; }
/* 進み具合: 10区切りの目盛り。 */
.aura-diagnosis--immersive > [data-intro], .aura-diagnosis--immersive > [data-results] { margin-top: 1.25rem; }
.aura-diagnosis--immersive > [data-intro] { text-align: center; }
.aura-diagnosis--immersive .aura-diagnosis__progress { display: flex; flex-direction: column; align-items: center; gap: .55rem; max-width: 24rem; margin: 1.25rem auto 1.75rem; }
.aura-diagnosis--immersive [data-progress-text] { margin: 0; color: var(--aura-hud); font-size: .78rem; letter-spacing: .14em; }
.aura-diagnosis--immersive progress { appearance: none; -webkit-appearance: none; height: 6px; border: 0; background: #8ff6ed24; mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 4px), transparent calc(10% - 4px) 10%); }
.aura-diagnosis--immersive progress::-webkit-progress-bar { background: #8ff6ed24; }
.aura-diagnosis--immersive progress::-webkit-progress-value { background: var(--aura-hud); transition: inline-size .6s ease; }
.aura-diagnosis--immersive progress::-moz-progress-bar { background: var(--aura-hud); }
/* 質問: 番号を添えて中央に大きく出す。 */
.aura-diagnosis--immersive legend { margin-bottom: 1.25rem; text-align: center; font-size: clamp(1.2rem, 3.4vw, 1.6rem); line-height: 1.65; text-wrap: balance; }
.aura-diagnosis--immersive legend[data-index]::before { content: "QUESTION " attr(data-index) / ""; display: block; margin-bottom: .55rem; color: var(--aura-hud); font: 600 .7rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .32em; }
/* 選択肢: A〜Eの記号を付けたパネル。ラジオボタンは見えなくし、パネル全体で選択とフォーカスを示す。 */
.aura-diagnosis--immersive .aura-diagnosis__choices { counter-reset: aura-choice; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .6rem; }
.aura-diagnosis--immersive .aura-diagnosis__choice { counter-increment: aura-choice; position: relative; gap: .85rem; padding: .75rem .95rem; background: linear-gradient(90deg, #8ff6ed0f, transparent 65%), #120f22; border-color: #8ff6ed38; }
.aura-diagnosis--immersive .aura-diagnosis__choice::before { content: counter(aura-choice, upper-alpha) / ""; flex: 0 0 auto; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 1px solid #8ff6ed70; border-radius: 3px; color: var(--aura-hud); font: 600 .8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.aura-diagnosis--immersive .aura-diagnosis__choice input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.aura-diagnosis--immersive .aura-diagnosis__choice:hover { border-color: #8ff6ed80; }
.aura-diagnosis--immersive .aura-diagnosis__choice:has(input:focus-visible) { outline: 3px solid #96eee6; outline-offset: 3px; }
.aura-diagnosis--immersive .aura-diagnosis__choice:has(input:checked) { background: linear-gradient(90deg, #8ff6ed26, #332144 70%); border-color: var(--aura-hud); box-shadow: 0 0 0 1px var(--aura-hud), 0 0 26px #8ff6ed33; }
.aura-diagnosis--immersive .aura-diagnosis__choice:has(input:checked)::before { background: var(--aura-hud); color: #0b0a18; }
/* 操作: 戻るは左、次へは右。 */
.aura-diagnosis--immersive [data-quiz] .aura-diagnosis__actions { justify-content: space-between; }
.aura-diagnosis--immersive [data-back]::before { content: "◂ " / ""; }
.aura-diagnosis--immersive [data-start]::after { content: " ▸" / ""; }
.aura-diagnosis--immersive [data-start] { min-width: min(100%, 15rem); box-shadow: 0 0 28px #8ff6ed2e; }
.aura-diagnosis--immersive button:not(.aura-diagnosis__secondary, [data-aura-control]) { background: var(--aura-button-background, #c5a6ff); color: var(--aura-button-text, #20152f); border-color: var(--aura-button-border, #dac5ff); }
.aura-diagnosis--immersive button.aura-diagnosis__secondary:not([data-aura-control]) { background: transparent; color: #d9fbf8; border-color: #8ff6ed59; }
.aura-diagnosis--immersive .aura-diagnosis__error { color: #ffb3c8; text-align: center; }
/* 結果: 見出しは中央、本文は読みやすいよう左揃え。 */
.aura-diagnosis--immersive [data-results] > [data-result-context], .aura-diagnosis--immersive [data-results] article > :is(.aura-diagnosis__eyebrow, h3, .aura-diagnosis__result-title) { text-align: center; }
.aura-diagnosis--immersive [data-results] h3 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.aura-diagnosis--immersive .aura-diagnosis__swatch { border-color: #ffffffa0; box-shadow: 0 0 0 3px #0b0a18, 0 0 0 4px #8ff6ed80; }
.aura-diagnosis--immersive .aura-diagnosis__share { border-color: #8ff6ed33; }
.aura-diagnosis--immersive :focus-visible { outline-color: #96eee6; }
.aura-diagnosis--immersive input[type="url"] { background: #120f22; color: #eee5ff; border-color: #8ff6ed4d; }
/* 注意書き: 最後に小さな記録として置く。 */
.aura-diagnosis--immersive > .aura-diagnosis__notice { order: 9; margin-block: 0; padding: .35rem 0 0; border: 0; border-radius: 0; background: none; color: #bdb4cf; font-size: .75rem; line-height: 1.8; }
.aura-diagnosis--immersive > .aura-diagnosis__notice::before { content: "▸ " / ""; color: var(--aura-hud); }
.aura-diagnosis--immersive > p.aura-diagnosis__notice:first-of-type { margin-top: 2.25rem; padding-top: 1rem; border-top: 1px solid #8ff6ed2e; }
/* 「光を解き放つ」の演出（2026-11-17本人指示）。画面全体に重ねる層で、操作は妨げない。連打では衝撃波を足し、強い光は0.5秒に1回まで（JS）。 */
.aura-release { position: fixed; inset: 0; z-index: 99990; pointer-events: none; overflow: hidden; }
.aura-release > * { position: absolute; display: block; }
/* 明るい部分にも届くよう、ページ全体を一瞬光の色で染める（重ね方は通常）。 */
.aura-release__wash { inset: 0; opacity: 0; background: radial-gradient(circle at var(--x) var(--y), color-mix(in srgb, var(--aura-release-color) 70%, transparent) 0, color-mix(in srgb, var(--aura-release-color) 32%, transparent) 45%, color-mix(in srgb, #8ff6ed 18%, transparent) 75%, transparent 100%); animation: aura-release-wash 1.8s ease-out forwards; }
.aura-release__flash { inset: 0; opacity: 0; mix-blend-mode: screen; background: radial-gradient(circle at var(--x) var(--y), #ffffff 0, color-mix(in srgb, var(--aura-release-color) 70%, #ffffff) 10%, color-mix(in srgb, var(--aura-release-color) 38%, transparent) 34%, transparent 72%); animation: aura-release-flash 1.15s ease-out forwards; }
.aura-release__ring { left: var(--x); top: var(--y); width: var(--reach); aspect-ratio: 1; translate: -50% -50%; scale: 0; border: 3px solid #8ff6ed; border-radius: 50%; box-shadow: 0 0 0 2px #7d5fd166, 0 0 34px #8ff6ed, 0 0 60px 8px #9b7fe08c, inset 0 0 46px color-mix(in srgb, var(--aura-release-color) 65%, transparent); animation: aura-release-ring 1.6s cubic-bezier(.12, .7, .25, 1) forwards; }
.aura-release__ring--second { border-color: var(--aura-release-color); animation-delay: .16s; }
.aura-release__ring--third { border-width: 1px; animation-delay: .34s; }
.aura-release__sparks { inset: 0; width: 100%; height: 100%; }
@keyframes aura-release-wash { 0% { opacity: 0; } 18% { opacity: .75; } 100% { opacity: 0; } }
@keyframes aura-release-flash { 0% { opacity: 0; } 12% { opacity: .88; } 100% { opacity: 0; } }
@keyframes aura-release-ring { 0% { scale: 0; opacity: 1; } 70% { opacity: .55; } 100% { scale: 1; opacity: 0; } }
/* 「光を解き放つ」は押すと明るく点き、押した直後から演出の間をかけてなめらかに薄れ、元の表示へ戻る（アクションのボタン、2026-11-17本人提案）。 */
.aura-light-scene[data-released] [data-aura-touch] { animation: aura-release-button 2.8s cubic-bezier(.2, .55, .35, 1) forwards; }
/* 文字は明るいまま変えず、地を暗い水色に、枠と外側の光を強くして点ける（途中で文字が地に溶けないように）。 */
@keyframes aura-release-button { 0%, 4% { background: #24666f; border-color: #b8fffa; box-shadow: 0 0 0 1px #8ff6ed, 0 0 28px #8ff6edcc, 0 0 64px color-mix(in srgb, var(--aura-light-color) 60%, transparent); text-shadow: 0 0 10px #8ff6ed; } 100% { background: #0e1424; border-color: #8ff6ed4d; box-shadow: none; text-shadow: none; } }
/* 演出の間、診断の核と枠も応える。 */
.aura-diagnosis--immersive > .aura-light-scene[data-released] .aura-light-scene__viewport { animation: aura-release-core 1.3s cubic-bezier(.2, .8, .2, 1); }
.aura-diagnosis--immersive > .aura-light-scene[data-released]::before { opacity: 1; animation-duration: 2.4s; filter: drop-shadow(0 0 6px #8ff6ed); }
.aura-diagnosis--immersive:has(> .aura-light-scene[data-released])::after { animation: aura-release-frame 1.5s ease-out; }
@keyframes aura-release-core { 0% { scale: 1; filter: none; } 14% { scale: 1.14; filter: brightness(1.9) saturate(1.3); } 100% { scale: 1; filter: none; } }
@keyframes aura-release-frame { 0% { opacity: .75; } 12% { opacity: 1; inset: 0; filter: drop-shadow(0 0 10px #8ff6ed); } 100% { opacity: .75; } }
/* 結果では、核の光を結果の色で包む。 */
.aura-diagnosis--immersive > .aura-light-scene[data-phase="result"] { box-shadow: none; }
.aura-diagnosis.aura-diagnosis--immersive > .aura-light-scene[data-phase="result"] .aura-light-scene__viewport { box-shadow: 0 0 0 1px #8ff6ed40, 0 0 90px color-mix(in srgb, var(--aura-light-color) 50%, transparent); }
@keyframes aura-result-arrive { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 780px) {
    .aura-light-portal { display: block; min-height: 0; padding: clamp(330px, 87vw, 540px) 24px 40px; }
    .aura-light-portal > .aura-light-scene .aura-light-scene__viewport { height: clamp(300px, 85vw, 520px); }
    .aura-light-portal > .aura-light-scene .aura-light-scene__hud { top: 20px; left: 16px; right: 16px; font-size: .7rem; }
    /* 操作が2段になった分（約52px）上げ、光の範囲の中に収める。 */
    .aura-light-portal > .aura-light-scene .aura-light-scene__controls { top: calc(clamp(260px, 73vw, 465px) - 52px); bottom: auto; left: 8px; right: 8px; }
    .aura-light-portal > .aura-light-scene::after { background: linear-gradient(0deg, #0b0a18 45%, transparent 70%); }
    .aura-light-portal > .aura-light-scene .aura-light-scene__fallback { left: 0; }
    .aura-light-portal__content :where(h1, h2) { font-size: clamp(2.7rem, 10.5vw, 5rem); }
    .aura-diagnosis.aura-diagnosis--immersive { --aura-core: min(72cqi, 260px); padding: 3rem 1rem 1.5rem; }
    .aura-diagnosis.aura-diagnosis--immersive[data-aura-phase="reading"] { --aura-core: min(56cqi, 190px); }
    .aura-diagnosis--immersive::before { left: 1rem; font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .aura-light-scene__viewport canvas, .aura-diagnosis:has([data-aura-scene]) .aura-diagnosis__choice { transition: none; }
    .aura-diagnosis--immersive > .aura-light-scene::before { animation: none; }
    .aura-release { display: none; }
    .aura-light-scene[data-released] [data-aura-touch] { animation: none; }
    .aura-diagnosis.aura-diagnosis--immersive > .aura-light-scene .aura-light-scene__viewport { transition: none; }
    .aura-diagnosis:has([data-aura-scene]) .aura-diagnosis__choice:has(input:checked) { transform: none; }
    .aura-diagnosis:has([data-aura-scene])[data-aura-phase="result"] [data-results] { animation: none; }
}
