:root { color-scheme: dark; --bg: #101a29; --paper: #ece8df; --gold: #c9ae7b; --muted: #99a2b0; --line: rgba(209, 194, 165, .18); --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", sans-serif; }
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); font-family: var(--sans); font-size: 14px; line-height: 1.8; background: radial-gradient(ellipse at 78% 25%, #213349 0, transparent 48%), var(--bg); min-width: 0; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .4; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 2px solid #ead6af; outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -90px; left: 20px; background: var(--gold); color: var(--bg); z-index: 10; padding: 10px 18px; }
.skip-link:focus { top: 12px; }
.masthead { max-width: 1440px; padding: 30px 5.5%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; font-family: Georgia, serif; font-size: 22px; letter-spacing: .14em; font-weight: 600; line-height: 1.2; }
.brand > span { color: var(--gold); font-size: 1.5em; line-height: 0; }
.brand small { display: block; font-family: var(--sans); font-size: 9px; font-weight: 400; color: #c7c7c8; letter-spacing: .10em; margin-top: 9px; }
.edition { display: flex; align-items: center; gap: 9px; color: var(--gold); font-size: 10px; letter-spacing: .12em; white-space: nowrap; }
.edition i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.edition > span { border-left: 1px solid var(--line); padding-left: 12px; color: var(--muted); }
.view { animation: arrive .45s ease both; }
.intro { max-width: 1320px; margin: auto; padding: 60px 6% 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 9%; align-items: center; overflow: clip; }
.eyebrow { margin: 0; color: var(--gold); font-size: 10px; font-weight: 500; letter-spacing: .18em; line-height: 1.8; }
.eyebrow > span { display: inline-block; width: 24px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.intro h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 5.6vw, 82px); line-height: 1.5; letter-spacing: .09em; margin: 24px 0 0; }
.intro h1 em { font-style: normal; color: #dac7a5; }
.intro-subtitle { font-size: 15px; letter-spacing: .22em; margin: 16px 0 24px; }
.intro-description { color: #b5beca; font-size: 14px; line-height: 2.2; letter-spacing: .06em; margin-bottom: 30px; }
.button { border: 0; min-height: 52px; padding: 15px 24px; display: inline-flex; gap: 22px; align-items: center; justify-content: space-between; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .05em; transition: background .2s, transform .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-gold { background: linear-gradient(115deg, #d6c096, #c3a671); color: #152031; }
.button-gold:hover:not(:disabled) { background: #ead4aa; }
.button-outline { color: var(--paper); background: transparent; border: 1px solid #6f7b8a; }
.button-quiet { color: #bcc5d2; background: transparent; padding-left: 0; }
.button small { color: #37445b; font-size: 10px; font-weight: 400; letter-spacing: .12em; }
.intro-facts { display: flex; flex-wrap: wrap; margin: 20px 0 0; color: #afb9c7; font-size: 10px; gap: 0; }
.intro-facts span + span::before { content: "/"; padding: 0 13px; color: #66768b; }
.intro-note { color: #8c99ac; font-size: 10px; line-height: 1.9; margin-top: 15px; }
.intro-visual { position: relative; padding: 18px 0; }
.orbital { position: absolute; inset: -25px -65px -20px; border: 1px solid rgba(201,174,123,.12); border-radius: 50%; transform: rotate(-22deg); pointer-events: none; }
.orbital::after { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(201,174,123,.055); border-radius: 50%; }
.devotion-card { position: relative; width: 100%; max-width: 448px; aspect-ratio: 4 / 5; padding: 26px 31px 24px; background: radial-gradient(ellipse at 55% 25%, #334152 0, transparent 52%), linear-gradient(160deg, #233145, #111d2e 65%); border: 1px solid #667068; box-shadow: 0 24px 70px #03091360; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.devotion-card::before { content: ""; position: absolute; inset: 7px; border: 1px solid #bfa77827; pointer-events: none; }
.devotion-card::after { content: ""; position: absolute; top: 40px; right: 24%; width: 85px; height: 85px; background: radial-gradient(circle, #c8b89125, transparent 65%); border-radius: 50%; z-index: -1; }
.sample-card { margin: auto; transform: rotate(3deg); }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #b2a68e; font-family: var(--sans); font-size: 7px; letter-spacing: .14em; line-height: 1.4; }
.card-top { padding-bottom: 12px; border-bottom: 1px solid #bfa77838; }
.card-bottom { margin-top: auto; padding-top: 15px; border-top: 1px solid #bfa77838; }
.card-bottom > span:first-child { color: #c5c6c6; font-family: Georgia, serif; font-size: 11px; letter-spacing: .1em; }
.gold { color: var(--gold); }
.skyline { height: 22%; min-height: 85px; width: 100%; margin-top: 22px; position: relative; opacity: .85; }
.skyline svg { width: 100%; height: 100%; overflow: visible; }
.card-copy { text-align: center; }
.card-kicker { margin: 7px 0 0; color: #cec9be; font-size: 9px; letter-spacing: .12em; }
.stars { color: #ddc28d; font-family: Georgia, serif; font-size: 27px; letter-spacing: .2em; line-height: 1.4; margin: 6px 0 12px; white-space: nowrap; }
.star-empty { color: #8190a2; }
.card-english { color: #b7a98c; font-size: 6px; letter-spacing: .22em; margin: 10px 0 6px; }
.card-copy h2 { font-family: var(--serif); font-size: clamp(23px, 2.5vw, 32px); letter-spacing: .10em; line-height: 1.5; font-weight: 500; margin: 0; color: #f1e7d5; }
.card-catch { font-family: var(--serif); color: #d5c4a5; font-size: 10px; line-height: 1.8; margin: 12px 0; letter-spacing: .03em; }
.card-divider { width: 27px; height: 1px; background: #9e8763; margin: 15px auto; }
.card-comment { font-size: 10px; color: #bcc3ca; line-height: 2; letter-spacing: .035em; margin: 0 auto 17px; max-width: 320px; }
.sample-caption { display: block; text-align: center; font-size: 9px; color: #929eae; margin: 23px 0 0; letter-spacing: .10em; }
.intro-bottom { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; margin-top: 48px; padding-top: 27px; border-top: 1px solid var(--line); }
.intro-bottom .line { width: 36px; height: 1px; background: var(--gold); }
.intro-bottom p { color: #b2bcc9; font-family: var(--serif); font-size: 12px; line-height: 2; letter-spacing: .07em; margin: 0; }
.intro-bottom p span { font-family: var(--sans); font-size: 10px; color: #8391a3; }
.intro-number { margin-left: auto; color: #8a7961; font-family: Georgia, serif; font-size: 21px; letter-spacing: .14em; }
.title-catalog { grid-column: 1 / -1; padding: 24px 0; color: #b9c2cf; font-size: 12px; }
.title-catalog summary { cursor: pointer; color: var(--gold); }
.title-catalog ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: 18px 28px; margin: 24px 0; }
.title-catalog li strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--paper); }
.title-catalog li span, .title-catalog > p { font-size: 10px; color: var(--muted); }
.character-sample { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,240px) minmax(0,1fr); gap: 32px; align-items: center; margin: 20px 0; padding-top: 28px; border-top: 1px solid var(--line); }
.character-sample img { display: block; width: 100%; height: auto; border: 1px solid #c9ae7b55; }
.character-sample h2 { font-family: var(--serif); font-weight: 500; color: var(--paper); }
.character-sample figcaption > p:last-child { color: var(--muted); font-size: 11px; }
.result-traits { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 12px 0; }
.result-traits span { border: 1px solid #c9ae7b50; padding: 3px 6px; font-size: 9px; color: #c9b894; }
@media (max-width: 560px) { .character-sample { grid-template-columns: minmax(0,1fr); gap: 12px; }.character-sample img { max-width: 300px; margin: auto; } }
.question-view { max-width: 840px; padding: 50px 44px 60px; margin: auto; }
.question-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #8f9baa; font-size: 11px; letter-spacing: .1em; }
.question-meta b { font-family: Georgia, serif; font-size: 23px; font-weight: 400; color: #e2cda7; }
progress { display: block; height: 2px; width: 100%; margin: 15px 0 36px; border: 0; background: #344050; color: var(--gold); appearance: none; }
progress::-webkit-progress-bar { background: #344050; }
progress::-webkit-progress-value { background: var(--gold); transition: width .3s; }
progress::-moz-progress-bar { background: var(--gold); }
.question-label { font-size: 9px; letter-spacing: .18em; color: #8693a5; margin-bottom: 12px; }
.question-heading h1 { font-family: var(--serif); font-size: clamp(23px, 3vw, 30px); font-weight: 500; letter-spacing: .045em; line-height: 1.75; margin: 0; }
.question-heading h1:focus, #result-title:focus, #incomplete-title:focus { outline: none; }
.question-heading > p:last-child { color: #9aa7b8; font-size: 11px; margin: 12px 0 27px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.answer { position: relative; display: grid; grid-template-columns: 20px 1fr 20px; gap: 17px; align-items: center; border: 1px solid #405065; padding: 16px 21px; margin-bottom: 10px; background: #1825389c; cursor: pointer; transition: border-color .15s, background .15s; }
.answer:hover { border-color: #9a8b71; background: #26354a; }
.answer:has(input:checked) { border-color: #d6ba83; background: #3a3b3999; }
.answer:has(input:focus-visible) { outline: 2px solid #ead6af; outline-offset: 3px; }
.answer input { width: 18px; height: 18px; margin: 0; accent-color: #d6ba83; }
.answer-label { display: block; font-size: 13px; color: #e6e7e9; line-height: 1.6; letter-spacing: .035em; }
.answer-detail { display: block; font-size: 10px; color: #99a6b7; line-height: 1.7; margin-top: 4px; }
.answer-check { color: var(--gold); opacity: 0; }
.answer:has(input:checked) .answer-check { opacity: 1; }
.question-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 25px; }
.question-bottom { display: flex; align-items: start; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 23px; margin-top: 24px; }
.question-bottom p { margin: 0; color: #8897aa; font-size: 10px; line-height: 1.9; text-align: right; }
.text-button { background: transparent; border: 0; color: #bfc7d1; text-decoration: underline; text-decoration-color: #bfc7d14d; text-underline-offset: 5px; padding: 5px 0; font-size: 11px; line-height: 1.9; }
.text-button:hover { color: #ebd8b4; }
.result-view { max-width: 1080px; padding: 44px 6% 60px; margin: auto; }
.result-introduction { text-align: center; margin: 0 0 32px; }
.result-introduction h1 { font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: .08em; line-height: 1.75; margin: 14px 0 10px; }
.result-introduction > p:not(.eyebrow) { color: #93a1b4; font-size: 10px; }
.level-label { display: inline-block; border: 1px solid #c9ae7b46; color: #cdb78f; padding: 4px 13px; font-size: 10px; letter-spacing: .08em; margin-top: 6px; }
.result-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 60px; align-items: center; }
.result-card { max-width: 480px; min-height: 610px; aspect-ratio: auto; margin: auto; }
.result-card .skyline { height: 125px; }
.result-card .card-comment { font-size: 12px; max-width: 345px; margin-bottom: 22px; }
.result-card .card-copy h2 { font-size: 32px; }
.result-tools h2 { font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.8; letter-spacing: .08em; margin: 13px 0; }
.result-tools > p:not(.eyebrow) { font-size: 11px; color: #95a2b4; line-height: 2; }
.result-tools > .button { display: flex; width: 100%; margin-top: 13px; gap: 14px; }
.result-tools > .text-button { display: block; margin-top: 12px; }
.result-tools > .local-share-note { font-size: 9px !important; color: #8493a8 !important; line-height: 1.8 !important; }
.result-tools-divider { height: 1px; background: var(--line); margin: 20px 0 14px; }
.result-tools .disclaimer { margin-top: 23px; font-size: 9px !important; color: #8493a8 !important; }
.incomplete-view { text-align: center; padding: 80px 24px; min-height: 70vh; }
.incomplete-view h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 3vw, 34px); line-height: 1.8; }
.incomplete-view p:not(.eyebrow) { color: #a7b4c5; font-size: 12px; }
.incomplete-view .button { margin: 24px 0 15px; }
.incomplete-view .text-button { display: block; margin: auto; }
.incomplete-stars { font-size: 38px; letter-spacing: .2em; color: #758396; margin: 25px 0; }
.footer { max-width: 1440px; margin: auto; border-top: 1px solid var(--line); padding: 22px 5.5%; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #718198; font-size: 8px; letter-spacing: .08em; }
.footer p { margin: 0; font-size: 9px; text-align: center; letter-spacing: .01em; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 25px); background: #e6d6b8; color: #172538; padding: 13px 22px; max-width: calc(100% - 32px); width: max-content; border-radius: 3px; font-size: 12px; box-shadow: 0 10px 40px #0005; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 20; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog { color: var(--paper); border: 1px solid #9c8a69; background: #182638; padding: 28px; max-width: min(560px, calc(100% - 32px)); }
dialog::backdrop { background: #07101bc9; }
dialog h2 { font-family: var(--serif); font-size: 22px; font-weight: 500; }
dialog p { font-size: 12px; color: #b8c2cf; }
dialog textarea { width: 100%; height: 200px; background: #101a29; border: 1px solid #58677d; color: #e8e7e1; padding: 12px; font-size: 13px; line-height: 1.8; resize: vertical; }
dialog .button { margin-top: 15px; }
#image-dialog { width: 540px; max-height: 90vh; overflow: auto; }
#image-preview { width: 100%; height: auto; display: block; }
#image-dialog .image-actions { display: flex; gap: 16px; align-items: center; }
.noscript { position: fixed; inset: auto 12px 12px; background: #d5bf95; color: #152033; padding: 18px; z-index: 30; }
@keyframes arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1440px) { .intro { padding-top: 75px; padding-bottom: 40px; } }
@media (max-width: 760px) {
  .masthead { padding: 22px 6%; gap: 15px; }.brand { font-size: 18px; }.brand small { font-size: 7px; letter-spacing: .02em; }.edition { font-size: 8px; gap: 6px; }.edition > span { display: none; }
  .intro { padding: 40px 7% 24px; column-gap: 30px; }.intro h1 { font-size: 48px; }.intro-subtitle { font-size: 11px; letter-spacing: .12em; }.intro-description { font-size: 12px; }.intro-facts { font-size: 8px; }.intro-facts span + span::before { padding: 0 7px; }.intro-note { font-size: 9px; }.intro .button { font-size: 12px; padding: 14px 18px; }
  .orbital { inset: 0 -20px; }.devotion-card { padding: 20px 19px 18px; }.card-top, .card-bottom { font-size: 5px; letter-spacing: .08em; }.sample-card .card-copy h2 { font-size: 22px; }.sample-card .stars { font-size: 23px; }.sample-card .card-comment { font-size: 8px; }.sample-card .card-catch { font-size: 8px; }.sample-card .card-english { font-size: 5px; }.sample-card .card-divider { margin: 9px auto; }.sample-caption { font-size: 8px; }
  .result-layout { gap: 28px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }.result-card .card-copy h2 { font-size: 25px; }.result-card { min-height: 560px; }.result-card .card-comment { font-size: 11px; }.result-tools h2 { font-size: 23px; }.result-tools > .button { font-size: 11px; padding: 14px; }
  .footer { flex-wrap: wrap; gap: 8px 20px; }.footer p { order: 3; width: 100%; text-align: left; font-size: 8px; }
}
@media (max-width: 560px) {
  .intro { grid-template-columns: minmax(0, 1fr); padding: 32px 7% 22px; }.intro h1 { font-size: 59px; line-height: 1.4; margin-top: 22px; }.intro-subtitle { font-size: 13px; margin-top: 17px; }.intro-description { font-size: 13px; margin-bottom: 24px; }.intro .button { width: 100%; max-width: 330px; min-height: 54px; }.eyebrow { font-size: 8px; }.intro-note { font-size: 10px; }.intro-facts { font-size: 10px; }.intro-facts span + span::before { padding: 0 11px; }
  .intro-visual { width: 100%; max-width: 360px; padding: 25px 10px 5px; margin: 10px auto 0; }.sample-card { transform: rotate(2deg); min-height: 430px; }.orbital { inset: 0 -10px; }.sample-card .card-copy h2 { font-size: 26px; }.sample-card .card-comment { font-size: 10px; }.sample-card .card-catch { font-size: 9px; }.card-top, .card-bottom { font-size: 6px; }.card-bottom > span:first-child { font-size: 10px; }.sample-caption { margin-top: 19px; font-size: 9px; }.sample-card .skyline { height: 95px; }
  .intro-bottom { margin-top: 31px; gap: 14px; }.intro-bottom .line { width: 20px; }.intro-bottom p { font-size: 10px; }.intro-bottom p span { font-size: 8px; }.intro-number { font-size: 14px; white-space: nowrap; }
  .question-view { padding: 28px 6% 35px; }.question-meta .eyebrow { font-size: 10px; }progress { margin-bottom: 25px; }.question-heading h1 { font-size: 24px; }.question-heading > p:last-child { font-size: 10px; margin-bottom: 20px; }.answer { gap: 12px; padding: 15px 14px; grid-template-columns: 18px 1fr 14px; }.answer-label { font-size: 12px; }.answer-detail { font-size: 10px; }.question-actions { gap: 12px; }.question-actions .button { font-size: 11px; padding: 14px 16px; }.question-actions .button-quiet { padding-left: 0; }.question-bottom { flex-direction: column; gap: 12px; }.question-bottom p { text-align: left; }
  .result-view { padding: 30px 6% 40px; }.result-introduction h1 { font-size: 25px; }.result-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }.result-card { width: 100%; min-height: 545px; padding: 22px 24px; }.result-card .skyline { height: 110px; }.result-card .card-copy h2 { font-size: 28px; }.result-card .card-comment { font-size: 12px; }.result-tools { padding: 0 7px; }.result-tools h2 { font-size: 26px; }.result-tools > .button { font-size: 13px; padding: 15px 20px; }.result-tools > .text-button { font-size: 12px; }.result-tools .disclaimer { margin-top: 20px; }.footer { padding: 19px 6%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
