/* 雪乃の紙・藍・金。設定は小さく、札と読みを主役にする。 */
.reading-theme-options{margin-bottom:18px}.reading-theme-options>summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:.9rem}.reading-deeper{margin:26px 0;padding:22px;background:var(--paper);border:1px solid var(--line-strong);border-radius:12px}.reading-deeper h3{margin:0 0 12px;font-size:1.1rem}.reading-deeper p{font-size:.92rem}.reading-deeper a{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;min-height:48px;text-decoration:none;border-radius:10px;font-weight:700}.hexagram-theme{display:block;margin:20px 0;font-size:.9rem;font-weight:700}.hexagram-theme select{display:block;width:100%;font:inherit;min-height:48px;margin-top:8px;padding:10px;border:1.5px solid var(--line-strong);border-radius:10px;background:var(--paper);color:var(--ink)}.hexagram-explanation{margin:18px 0}.hexagram-explanation>summary{min-height:44px;padding:10px 0;cursor:pointer}.hexagram-board{position:relative;max-width:640px;margin:24px auto;padding-bottom:65px}.hexagram-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:none;stroke:var(--gold);stroke-width:.3;opacity:.5}.hexagram-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(5,90px);position:relative}.hexagram-card{display:flex;flex-direction:column;align-items:center;justify-self:center;gap:6px;text-align:center;max-width:160px;width:100%;text-decoration:none;color:var(--navy);font-size:.75rem;min-height:44px}.hexagram-card img{width:70px;height:105px;border-radius:5px;object-fit:contain;box-shadow:0 3px 9px #1b245025}.hexagram-card img.is-reversed{transform:rotate(180deg)}.hexagram-card span{padding:2px 3px;background:var(--paper);border-radius:4px}.hex-pos-1{grid-area:1/2}.hex-pos-2{grid-area:4/3}.hex-pos-3{grid-area:4/1}.hex-pos-4{grid-area:5/2}.hex-pos-5{grid-area:2/1}.hex-pos-6{grid-area:2/3}.hex-pos-7{grid-area:3/2}.hexagram-summary{margin:24px 0;padding:20px;background:var(--paper);border-left:3px solid var(--gold);border-radius:0 10px 10px 0}.hexagram-summary h3{font-family:var(--serif);font-size:1.1rem;margin:0 0 10px}.hexagram-summary p{font-size:.92rem;margin:0}.is-hexagram .explore-result-card{grid-template-columns:150px minmax(0,1fr);gap:24px;align-items:start;scroll-margin-top:24px}.is-hexagram .explore-result-card figure{display:block;margin:0;text-align:center}.is-hexagram .explore-result-card figure img{display:block;width:130px;height:auto;margin:0 auto}.is-hexagram .explore-result-card figcaption{margin-top:12px;font-size:.8rem}.hexagram-summary p+p{margin-top:14px}.hexagram-summary p{line-height:2}.explore-hint h4{margin:0 0 8px}.explore-hint p{margin:0}.explore-hint p+p{margin-top:10px}
@media(max-width:720px){.hexagram-cards{grid-template-rows:repeat(5,80px)}.hexagram-card{font-size:.67rem}.hexagram-card img{width:62px;height:93px}.hexagram-summary{padding:16px}.reading-deeper{padding:18px}.reading-deeper a{width:100%}}
.topic-starts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.topic-start{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;min-height:160px;padding:22px 18px;background:var(--paper);color:var(--ink);border:1.5px solid var(--line-strong);border-radius:12px;font:inherit;cursor:pointer}.topic-start:hover{border-color:var(--navy);background:var(--surface)}.topic-start strong{font-family:var(--serif);font-size:1.35rem;color:var(--navy)}.topic-start>span{font-size:.83rem}.topic-start .topic-action{margin-top:auto;color:var(--navy);font-weight:700}.topic-starts-other{margin:16px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.topic-starts-other .topic-start{min-height:135px}.start-assurance{font-size:.8rem;text-align:center;color:var(--ink-sub);margin:18px 0}.other-topics{margin-top:20px}.other-topics summary,.explore-settings-more summary,.keyboard-help summary,.reading-about>summary{min-height:44px;cursor:pointer;padding:10px 0}.explore-settings-more{border-top:1px solid var(--line);padding-top:12px}.keyboard-help{font-size:.78rem;color:var(--ink-sub)}.reading-about .tarot-panel{border:none;padding:0}.explore-intro>p{max-width:36em;margin-inline:auto}.explore-shell #quick-deal{width:100%}
.explore-shell{max-width:960px;margin:0 auto;padding:0 24px 24px}.explore-intro{max-width:960px}.explore-intro h1{font-size:clamp(1.7rem,3.5vw,2.5rem)}
.explore-steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:22px 0;font-size:.8rem;color:var(--ink-sub)}.explore-steps li{padding:6px 12px;border:1px solid var(--line);border-radius:30px}.explore-steps [aria-current="step"]{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:700}
.explore-guide{display:flex;align-items:center;gap:16px;margin:0 0 24px}.explore-guide img{width:56px;height:56px;border-radius:50%;flex:none}.explore-guide p{margin:0;font-size:.95rem}.explore-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.explore-fields label,.private-label{display:block;font-size:.9rem;font-weight:700}
.explore-fields select{display:block;width:100%;font:inherit;min-height:48px;margin:8px 0 0;padding:10px 38px 10px 12px;border:1.5px solid var(--line-strong);border-radius:10px;background:var(--paper);color:var(--ink)}
.explore-settings-more{margin:24px 0}.reverse-check{display:flex;gap:10px;align-items:center;min-height:44px;font-size:.9rem}.reverse-check input{width:20px;height:20px;accent-color:var(--navy)}
.private-label{margin:18px 0 8px}.explore-shell textarea{display:block;width:100%;max-width:100%;font:inherit;font-size:.95rem;border:1.5px solid var(--line-strong);border-radius:10px;padding:12px;resize:vertical;background:var(--paper);color:var(--ink)}
.explore-deck{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:24px 0}.explore-card-back{min-width:0;aspect-ratio:2/3;border:1px solid var(--line-strong);border-radius:8px;background:var(--card-back) center/cover;position:relative;box-shadow:0 5px 15px #1b245014;transition:transform .15s}.explore-card-back:hover{transform:translateY(-4px)}.back-number{position:absolute;bottom:5px;left:5px;font-size:.66rem;color:var(--ink);background:var(--paper);padding:0 5px;border-radius:4px}.explore-card-back.is-selected{opacity:.25;transform:none}.explore-card-back:disabled{cursor:default}
.explore-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.explore-actions button{min-height:48px;white-space:normal}.explore-shell button:disabled:not(.explore-card-back){opacity:.5;cursor:default}
.explore-result-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;border-top:1px solid var(--line);padding:28px 0}.explore-result-card figure{margin:0}.explore-result-card img{width:150px;aspect-ratio:2/3;object-fit:contain;border-radius:8px}.explore-result-card img.is-reversed{transform:rotate(180deg)}.explore-result-card figcaption{font-size:.75rem;color:var(--ink-sub);text-align:center;margin-top:10px}.explore-result-card h3{font-family:var(--serif);font-size:1.3rem;margin:4px 0 12px}.explore-result-card p{font-size:.94rem}.explore-result-card a{color:var(--navy);display:inline-block;padding:6px 0;min-height:44px}
.explore-result-card:only-child{grid-template-columns:230px minmax(0,1fr)}.explore-result-card:only-child img{width:230px}
.explore-hint{padding:14px 18px;border-left:3px solid var(--gold);background:var(--paper);border-radius:0 8px 8px 0}.explore-overview{font-size:.9rem;color:var(--ink-sub)}.explore-notice:not(:empty){padding:14px 18px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface)}
#reading-history{display:flex;flex-wrap:wrap;gap:10px;padding:16px 0}#reading-history button{text-align:left;font-size:.85rem}.feature-bridge{max-width:1040px;margin:0 auto;padding:0 24px 36px;text-align:center}.feature-bridge a{display:inline-flex;align-items:center;min-height:48px;padding:10px 20px;border:1px solid var(--line-strong);border-radius:30px;color:var(--navy);background:var(--surface);text-decoration:none}
.meaning-card h4{font-size:.9rem;color:var(--gold-text);margin:16px 0 0}.meaning-card>div h3{font-family:var(--serif);font-size:1.35rem;margin:0 0 12px}
@media(max-width:720px){.explore-shell{padding:0 16px 20px}.explore-fields{grid-template-columns:1fr;gap:12px}.explore-guide{gap:12px}.explore-guide p{font-size:.85rem}.explore-deck{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.explore-result-card{grid-template-columns:85px minmax(0,1fr);gap:16px;padding:22px 0}.explore-result-card img{width:85px}.explore-result-card h3{font-size:1.1rem}.explore-result-card p{font-size:.88rem}.explore-steps{gap:6px;font-size:.7rem}.explore-steps li{padding:6px 8px}.explore-actions{gap:10px}.explore-actions .btn-primary{width:100%}.explore-intro>p{font-size:.88rem}.feature-bridge{padding:0 16px 28px}}
@media(max-width:720px){.explore-result-card:only-child{grid-template-columns:1fr}.explore-result-card:only-child figure{display:block}.explore-result-card:only-child img{width:180px;margin:0 auto}.explore-result-card:only-child figcaption{text-align:center}}
@media(max-width:360px){.explore-deck{grid-template-columns:repeat(3,minmax(0,1fr))}.explore-result-card{grid-template-columns:1fr}.explore-result-card figure{display:flex;align-items:center;gap:16px}.explore-result-card figcaption{text-align:left}}
@media(max-width:720px){.is-hexagram .explore-result-card{grid-template-columns:1fr;gap:18px}.is-hexagram .explore-result-card figure{display:block}.is-hexagram .explore-result-card figure img{width:120px}.is-hexagram .explore-result-card figcaption{text-align:center}}
.narration-card{margin:24px 0;padding:20px 0;border-top:1px solid var(--line)}.narration-card-header{display:flex;align-items:center;gap:16px;margin-bottom:18px}.narration-card-header img{display:block;width:72px;height:108px;flex:none;object-fit:contain;border-radius:5px;box-shadow:0 3px 10px #1b245025}.narration-card-header img.is-reversed{transform:rotate(180deg)}.narration-card-header h4{margin:0;font-family:var(--serif);font-size:1rem}.narration-reading .narration-card-label{margin:8px 0 0;font-size:.82rem;color:var(--ink-sub)}.narration-summary{margin:24px 0;padding-top:18px;border-top:1px solid var(--line)}.narration-summary h4{margin:0 0 12px;font-size:1rem}.narration-card:last-child{margin-bottom:0}
@media(max-width:480px){.narration-card-header{gap:12px}.narration-card-header img{width:60px;height:90px}.narration-card-header h4{font-size:.93rem}}
@media(prefers-reduced-motion:reduce){.explore-card-back{transition:none}.explore-card-back:hover{transform:none}}
.hexagram-opening .hexagram-board{margin:20px auto 10px}.hexagram-dealing-card{opacity:0;transform:translateY(-34px) scale(.75);transition:opacity .28s ease,transform .38s ease;perspective:700px}.hexagram-dealing-card.is-placed{opacity:1;transform:translateY(0) scale(1)}.hexagram-dealing-card .hexagram-flip-inner{position:relative;display:block;width:70px;height:105px;padding:0;background:transparent;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.22,.7,.3,1)}.hexagram-dealing-card.is-open .hexagram-flip-inner{transform:rotateY(180deg)}.hexagram-dealing-card .hexagram-face{position:absolute;inset:0;display:block;padding:0;background:transparent;backface-visibility:hidden;-webkit-backface-visibility:hidden}.hexagram-dealing-card .hexagram-face-front{transform:rotateY(180deg)}.hexagram-dealing-card .hexagram-face img{display:block}.hexagram-opening #hexagram-opening-status{min-height:3em;text-align:center}.hexagram-opening #hexagram-skip{display:block;margin:0 auto}.hexagram-opening .hexagram-lines{animation:hexagram-glow 2s ease-in-out infinite alternate}@keyframes hexagram-glow{from{opacity:.25}to{opacity:.7}}
@media(prefers-reduced-motion:reduce){.hexagram-dealing-card,.hexagram-dealing-card .hexagram-flip-inner{transition:none}.hexagram-opening .hexagram-lines{animation:none}}
@media(max-width:720px){.topic-starts,.topic-starts-other{grid-template-columns:1fr;gap:10px}.topic-start,.topic-starts-other .topic-start{min-height:104px;padding:15px 18px;gap:5px}.topic-start strong{font-size:1.2rem}.topic-start .topic-action{margin-top:3px;align-self:flex-end}.explore-deck.is-single{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* 専用の展開画面。鑑定本文は次のページで表示する。 */
/* 鑑定結果は、淡い薔薇色の紙と雪乃からの手紙。 */
body[data-mode="hexagram"] {
  background: radial-gradient(ellipse at 90% 0, #f5e8ee 0, transparent 42%), #faf6ef;
}
body[data-mode="hexagram"] .explore-intro { padding-top: 12px; padding-bottom: 0; }
body[data-mode="hexagram"] .explore-intro h1 { color: #5c3e55; font-size: clamp(1.5rem, 3.3vw, 2.15rem); }
body[data-mode="hexagram"] .tarot-breadcrumb { font-size: .72rem; }
body[data-mode="hexagram"] .explore-shell { max-width: 960px; }
.is-hexagram#explore-result {
  background: #fffdf9; border: 1px solid #e5d5d6; border-radius: 28px;
  padding: clamp(20px, 4vw, 42px); box-shadow: 0 14px 44px #69465b0a;
}
.hexagram-reading-header { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.hexagram-reading-header > img { width: 64px; height: 64px; flex: none; border-radius: 50%; padding: 3px; background: #fff; border: 1px solid #bc9b8c; }
.hexagram-reading-header > div { min-width: 0; }
.hexagram-reading-header #result-date { color: #74485e; font-size: .76rem; margin: 0 0 5px; }
.hexagram-reading-header #explore-result-title { color: #49394c; font-size: clamp(1.1rem, 2.8vw, 1.55rem); line-height: 1.7; margin: 0; }
.is-hexagram .explore-overview { margin: 0 0 28px; padding: 16px 20px; background: #f7f2f5; border-radius: 16px; font-size: .85rem; line-height: 1.95; }
#hexagram-result .hexagram-board-heading { text-align: center; margin-top: 32px; }
.hexagram-board-heading .tarot-eyebrow { margin: 0 0 6px; color: #75556a; }
#hexagram-result .hexagram-board-heading h3 { margin: 0; font-family: var(--serif); font-size: 1.4rem; color: #553a52; }
#hexagram-result > .tarot-note { text-align: center; max-width: 32em; margin: 10px auto 0; line-height: 1.8; }
#hexagram-result .hexagram-board {
  margin: 28px auto 34px; padding: 22px 12px 62px; border: 1px solid #eadfda; border-radius: 24px;
  background: radial-gradient(ellipse at center, #f5ecf4 0, #fcf7ef 60%, #fffdf9 100%);
}
#hexagram-result .hexagram-lines { inset: 22px 12px 62px; width: calc(100% - 24px); height: calc(100% - 84px); opacity: .55; }
#hexagram-result .hexagram-card { color: #65435a; }
#hexagram-result .hexagram-card > span { background: #fffdf9; border: 1px solid #e5d5d6; border-radius: 999px; padding: 3px 9px; line-height: 1.5; }
#hexagram-result .hexagram-card img { box-shadow: 0 5px 15px #64445824; transition: box-shadow .2s; }
#hexagram-result .hexagram-card:hover img { box-shadow: 0 7px 20px #64445840; }
#hexagram-story { counter-reset: reading-chapter; }
#hexagram-story .hexagram-summary {
  counter-increment: reading-chapter; margin: 20px 0; padding: 26px 28px;
  border: 1px solid #e6d8dd; border-left: 1px solid #e6d8dd; border-radius: 20px; background: #fff;
}
#hexagram-story .hexagram-summary:nth-child(2) { background: #fcf7fa; }
#hexagram-story .hexagram-summary:nth-child(3) { background: #fbf8f0; }
#hexagram-story .hexagram-summary h3 { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 20px; color: #624159; font-size: 1.12rem; line-height: 1.7; }
#hexagram-story .hexagram-summary h3::before { content: counter(reading-chapter, decimal-leading-zero); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f3e6ed; color: #70455f; font-family: var(--sans); font-size: .76rem; }
#hexagram-story .hexagram-summary p { font-size: .96rem; line-height: 2.05; max-width: 38em; margin-inline: auto; }
#hexagram-story .hexagram-summary p + p { margin-top: 18px; }
.hexagram-letter.narration-toggle-card { margin: 32px 0; border-radius: 22px; border-color: #ceb4c2; box-shadow: 0 8px 24px #7647610d; }
.hexagram-letter.narration-toggle-card > summary { padding: 24px; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 18px; background: linear-gradient(120deg, #fff8ef, #f8eaf1); }
.hexagram-letter .narration-speaker-image { width: 58px; height: 58px; border: 1px solid #bc9b8c; border-radius: 50%; padding: 3px; background: #fff; }
.hexagram-letter .narration-toggle-copy strong { font-size: 1.1rem; color: #663e59; }
.hexagram-letter .narration-toggle-copy small { font-size: .8rem; margin-top: 7px; }
.hexagram-letter .narration-toggle-action { font-size: .77rem; padding: 10px 13px; }
.hexagram-letter #hexagram-narration { padding: 28px; border-top: 1px solid #e5d5dd; background: #fffcfa; }
#hexagram-narration p { font-size: .96rem; line-height: 2.05; margin: 0 0 18px; }
#hexagram-narration .narration-letter-intro, #hexagram-narration .narration-letter-closing { max-width: 36em; margin: 0 auto; padding: 4px 0 8px; color: #554353; }
#hexagram-narration .narration-letter-closing { margin-top: 26px; padding: 24px; background: #f9f0f4; border-radius: 18px; }
#hexagram-narration .narration-card { margin: 22px 0; padding: 24px; border: 1px solid #e9dce2; border-radius: 18px; background: #fff; }
#hexagram-narration .narration-card-header { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid #efe5e9; gap: 20px; }
#hexagram-narration .narration-card-header h4 { display: inline-block; padding: 5px 12px; background: #f6edf3; border-radius: 999px; color: #65435a; font-size: .95rem; line-height: 1.65; }
#hexagram-narration .narration-card-label { margin-top: 10px; font-size: .83rem; line-height: 1.7; }
#hexagram-narration .narration-card > p { max-width: 36em; margin-inline: auto; }
#hexagram-narration .narration-summary { margin: 22px 0; padding: 24px; border: 1px solid #e6ddd0; border-radius: 18px; background: #fbf7ee; }
#hexagram-narration .narration-summary h4 { margin: 0 0 18px; color: #624159; font-family: var(--serif); font-size: 1.05rem; line-height: 1.75; }
#hexagram-narration section > p:last-child { margin-bottom: 0; }
.is-hexagram .explore-result-card { grid-template-columns: 176px minmax(0, 1fr); padding: 28px; margin: 24px 0; gap: 28px; border: 1px solid #e7d9de; border-radius: 20px; background: #fff; }
.is-hexagram .explore-result-card figure { width: 176px; padding: 16px; background: #fbf5ee; border: 1px solid #e4d6c6; border-radius: 16px; }
.is-hexagram .explore-result-card .tarot-eyebrow { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #f6edf3; color: #65435a; }
.is-hexagram .explore-result-card h3 { color: #503a50; margin-top: 0; line-height: 1.7; }
.is-hexagram .explore-result-card p { line-height: 2.05; }
.is-hexagram .explore-result-card details { margin-top: 18px; }
.is-hexagram .explore-result-card details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; min-height: 48px; border: 1px solid #ccb3c2; border-radius: 14px; background: #fcf3f8; color: #65435a; font-size: .85rem; font-weight: 700; cursor: pointer; list-style: none; }
.is-hexagram .explore-result-card details > summary::-webkit-details-marker { display: none; }
.is-hexagram .explore-result-card details > summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; }
.is-hexagram .explore-result-card details[open] > summary::after { content: "−"; }
.is-hexagram .explore-result-card details[open] > summary { margin-bottom: 22px; }
.is-hexagram .explore-hint { padding: 20px; border: 1px solid #e5d5c1; border-radius: 16px; background: #faf5eb; }
.is-hexagram .explore-hint h4 { color: #624159; font-family: var(--serif); }
.is-hexagram .explore-actions { padding-top: 24px; border-top: 1px dashed #d4bcc8; gap: 10px; }
.is-hexagram .explore-actions button { border-radius: 999px; padding: 12px 20px; }
.is-hexagram .explore-actions .btn-primary { background: #65435a; border-color: #65435a; color: #fff; }
.is-hexagram .explore-actions .btn-primary:hover { background: #4f3447; }
.is-hexagram .explore-actions .btn-secondary { background: #fff; border-color: #bba7b2; color: #65435a; }
@media(max-width:720px) {
  .is-hexagram#explore-result { padding: 22px 18px; border-radius: 22px; }
  .hexagram-reading-header { gap: 13px; }
  .hexagram-reading-header > img { width: 52px; height: 52px; }
  #hexagram-story .hexagram-summary { padding: 22px 18px; }
  #hexagram-story .hexagram-summary h3 { font-size: 1.02rem; gap: 10px; }
  .is-hexagram .explore-result-card { grid-template-columns: 1fr; padding: 22px 18px; gap: 20px; }
  .is-hexagram .explore-result-card figure { width: 148px; justify-self: center; padding: 13px; }
  .is-hexagram .explore-result-card figure img { width: 120px; }
  .hexagram-letter.narration-toggle-card > summary { grid-template-columns: 46px minmax(0, 1fr); padding: 20px 16px; gap: 13px; }
  .hexagram-letter .narration-speaker-image { width: 46px; height: 46px; }
  .hexagram-letter .narration-toggle-action { grid-column: 2; justify-self: start; }
  .hexagram-letter .narration-toggle-copy strong { font-size: 1rem; }
  .hexagram-letter #hexagram-narration { padding: 22px 14px; }
  #hexagram-narration .narration-card, #hexagram-narration .narration-summary { padding: 20px 16px; }
  #hexagram-narration .narration-card-header { gap: 14px; align-items: flex-start; }
  #hexagram-narration .narration-card-header h4 { font-size: .86rem; padding: 5px 10px; }
  #hexagram-narration .narration-letter-closing { padding: 20px 16px; }
}
@media(max-width:380px) {
  .is-hexagram#explore-result { padding: 20px 12px; }
  #hexagram-result .hexagram-board { padding-inline: 6px; }
  #hexagram-result .hexagram-card > span { padding: 3px 5px; font-size: .64rem; }
  #hexagram-narration .narration-card-header img { width: 50px; height: 75px; }
}
@media(prefers-reduced-motion:reduce) { #hexagram-result .hexagram-card img { transition: none; } }
body[data-mode="hexagram-opening"]{background:radial-gradient(ellipse at 50% 38%,#323153 0,#191d38 65%,#12182d 100%);color:#f5ebdc;min-height:100svh}
body[data-mode="hexagram-opening"] .site-header,body[data-mode="hexagram-opening"] .tarot-breadcrumb,body[data-mode="hexagram-opening"] .site-footer{display:none}
body[data-mode="hexagram-opening"] main{max-width:700px;margin:auto;padding:24px 18px}
.opening-heading{text-align:center;color:#e3c68e;font-family:var(--serif);font-size:clamp(1.1rem,4vw,1.5rem);margin:0 0 18px;letter-spacing:.12em}
body[data-mode="hexagram-opening"] .hexagram-opening{background:#22263e;border:1px solid #ac8e59;border-radius:24px;box-shadow:0 20px 70px #0004;padding:24px;color:#f5ebdc}
body[data-mode="hexagram-opening"] .explore-guide{background:transparent;color:#f5ebdc}
body[data-mode="hexagram-opening"] .hexagram-card{color:#e3c68e}
body[data-mode="hexagram-opening"] .hexagram-position-label{background:#22263e}
body[data-mode="hexagram-opening"] .tarot-note,body[data-mode="hexagram-opening"] .text-btn{color:#e6dac5}
body[data-mode="hexagram-opening"] #hexagram-opening-status{font-size:.86rem;line-height:1.8;margin:20px 0 8px}
body[data-mode="hexagram-opening"] #hexagram-skip{min-height:44px;border-bottom:1px solid #a68c68}
@media(max-width:480px){body[data-mode="hexagram-opening"] main{padding:16px 10px}body[data-mode="hexagram-opening"] .hexagram-opening{padding:16px 12px;border-radius:18px}body[data-mode="hexagram-opening"] .hexagram-cards{grid-template-rows:repeat(5,68px)}body[data-mode="hexagram-opening"] .hexagram-board{padding-bottom:42px}body[data-mode="hexagram-opening"] .hexagram-flip-inner,body[data-mode="hexagram-opening"] .hexagram-face img{width:54px;height:81px}body[data-mode="hexagram-opening"] .hexagram-card{font-size:.6rem}body[data-mode="hexagram-opening"] .explore-guide{margin-bottom:8px;gap:12px}body[data-mode="hexagram-opening"] .explore-guide img{width:48px;height:48px}}
