:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #262626;
  --muted: #737373;
  --line: #dfe7e2;
  --brand: #32755e;
  --brand-tint: #eaf3e9;
  --energy-color: #b44740;
  --energy-tint: #f9eae7;
  font-family: "Lato", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: default; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #d9e9d7; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
#main:focus, legend:focus, .result-intro h1:focus, .hero h1:focus, .page-intro h1:focus, .energy-intro h1:focus { outline: none; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; background: var(--brand); color: white; padding: 10px 14px; }
.skip-link:focus { top: 8px; }
.header, .workspace-main, .footer { width: min(100%, 1200px); margin-left: auto; margin-right: auto; padding-left: 36px; padding-right: 36px; }
.header { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-name { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.brand-mark { width: 25px; height: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(-8deg); }
.brand-mark i { display: block; border-radius: 3px; background: #b44740; }
.brand-mark i:nth-child(2) { background: #d7ac4c; }
.brand-mark i:nth-child(3) { background: #6596b8; }
.brand-mark i:nth-child(4) { background: #5e9472; }
.header-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.header-nav a { padding: 12px 0; color: var(--muted); border-bottom: 2px solid transparent; }
.header-nav a:hover, .header-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--brand); }
.hero { margin-top: 20px; padding: 52px 48px; min-height: 460px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 0; background: #f0f5ec; border-radius: 18px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero h1 { font-size: 59px; line-height: 1.22; font-weight: 700; letter-spacing: -.035em; margin-bottom: 24px; }
.hero-description { font-size: 15px; line-height: 2; color: var(--muted); }
.hero-action { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; padding: 12px 22px; border-radius: 7px; font-size: 14px; line-height: 1.5; font-weight: 700; transition: background .15s, transform .15s; }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:not(:disabled):hover { background: #255a49; transform: translateY(-1px); }
.button-primary:disabled { background: #e9eeea; color: #a3a3a3; }
.button-outline { border: 1px solid #cdd9d0; background: white; color: var(--ink); }
.button-outline:hover { background: #f3f7f2; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 1px 0; font-size: 13px; line-height: 1.8; color: var(--ink); text-decoration: underline; text-decoration-color: #b8b8b8; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: currentColor; }
.last-result { display: block; font-size: 13px; color: var(--muted); padding: 0; margin-top: 18px; text-decoration: underline; text-underline-offset: 4px; }
.hero-art { position: relative; width: 100%; height: 356px; isolation: isolate; }
.hero-ground { position: absolute; left: 0; bottom: 5px; width: 100%; height: 48px; border-radius: 50%; background: #dce8d6; z-index: -1; }
.hero-person { position: absolute; height: auto; object-fit: contain; }
.hero-person-v { width: 51%; left: -9%; bottom: 14%; z-index: 1; }
.hero-person-o { width: 54%; left: 54%; bottom: 13%; z-index: 1; }
.hero-person-c { width: 55%; left: 5%; bottom: -1%; z-index: 2; }
.hero-person-d { width: 62%; left: 31%; bottom: -1%; z-index: 3; }
.section-shell, .hero-figure { padding-top: 52px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2, .hero-figure figcaption { font-size: 26px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.section-heading-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-heading-link .text-link { flex-shrink: 0; text-decoration: none; }
.home-catalog { padding-top: 58px; }
.home-anchor { scroll-margin-top: 28px; }
.home-anchor:focus { outline: none; }
.energy-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.energy-card { --art-height: 210px; position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #e2e8e2; border-radius: 12px; background: white; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.energy-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px #294a3710; border-color: var(--energy-color); }
.energy-card-art { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--art-height); background: var(--energy-tint); padding: 8px 12px 0; }
.energy-card-art img { height: 100%; width: 100%; object-fit: contain; display: block; }
.energy-card-copy { padding: 21px 20px 24px; display: flex; flex-direction: column; min-width: 0; }
.energy-card .energy-code { font-size: 29px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; color: var(--energy-color); }
.energy-card .energy-fullname { font-size: 13px; line-height: 1.6; margin-top: 8px; color: var(--muted); }
.energy-card .energy-name { font-size: 14px; line-height: 1.7; margin-top: 8px; }
.home-video { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 48px; margin-top: 48px; padding: 0 0 44px; border-bottom: 1px solid var(--line); }
.home-video-copy h2 { font-size: 26px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.home-video-copy p { margin-top: 18px; max-width: 390px; font-size: 14px; line-height: 2; }
.home-video-player { width: 100%; min-width: 0; aspect-ratio: 16 / 9; min-height: 200px; background: #171717; border-radius: 12px; overflow: hidden; }
.home-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.home-catalog .energy-card { --art-height: 225px; }
.home-relations { padding-top: 70px; }
.relation-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); }
.relation-tabs button { position: relative; padding: 15px 0 17px; font-size: 15px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.relation-tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--brand); }
.relation-tabs button:hover { color: var(--ink); }
.relation-board { background: #f6f7f3; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; }
.relation-panel { padding: 34px; }
.relation-panel:focus-visible { outline-offset: -5px; border-radius: 0 0 18px 18px; }
.relation-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.relation-panel-heading h3 { font-size: 28px; line-height: 1.6; font-weight: 700; letter-spacing: -.025em; }
.relation-panel-heading > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.relation-formula { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; white-space: nowrap; }
.relation-formula span { color: var(--energy-color); }
.relation-formula i { font-size: 19px; color: #a3a3a3; font-style: normal; font-weight: 400; }
.relation-confidence { --exchange-first: #b44740; --exchange-second: #a78526; --accumulation-color: #a6531c; }
.relation-care { --exchange-first: #3d6e9c; --exchange-second: #3d7655; --accumulation-color: #227476; }
.relation-flow { display: grid; grid-template-columns: minmax(0, 2.1fr) 76px minmax(0, 1fr); align-items: stretch; }
.relation-pair { display: grid; grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr); gap: 5px; align-items: center; background: white; border: 1px solid #e2e7df; border-radius: 14px; padding: 22px 16px; }
.relation-node { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; border-radius: 9px; }
.relation-node-art { display: block; position: relative; isolation: isolate; width: 100%; height: 246px; }
.relation-node-art:before { content: ''; position: absolute; width: 94%; height: 79%; left: 3%; bottom: 0; background: var(--energy-tint); border-radius: 50% 50% 42% 42%; z-index: -1; }
.relation-node-art img { display: block; height: 100%; width: 100%; object-fit: contain; transition: transform .25s ease; }
.relation-node-copy { display: flex; align-items: center; flex-direction: column; padding-top: 16px; }
.relation-node-copy strong { color: var(--energy-color); font-size: 32px; line-height: 1.2; letter-spacing: -.025em; }
.relation-node-copy > span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.7; min-height: 23px; }
.relation-node:hover .relation-node-art img { transform: translateY(-6px); }
.relation-node:hover .relation-node-copy strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.relation-exchange { align-self: center; display: flex; align-items: center; flex-direction: column; gap: 9px; margin-bottom: 74px; }
.relation-exchange > span, .relation-accumulation > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.relation-exchange svg { width: 100%; height: auto; overflow: visible; }
.relation-exchange path { stroke: var(--exchange-first); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.relation-exchange path + path { stroke: var(--exchange-second); }
.relation-accumulation { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 7px 74px; }
.relation-accumulation > span { color: var(--accumulation-color); }
.relation-accumulation svg { width: 100%; stroke: var(--accumulation-color); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.relation-result { background: var(--energy-tint); border: 1px solid color-mix(in srgb, var(--energy-color) 18%, white); border-radius: 14px; padding: 22px 16px; }
.relation-result .relation-node-art:before { display: none; }
.relation-panel-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; margin-top: 24px; }
.relation-panel-footer p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.relation-explanation { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.relation-explanation h4 { font-size: 14px; line-height: 1.8; font-weight: 700; }
.relation-explanation p, .height-explanation { font-size: 13px; line-height: 1.95; color: var(--muted); }
.relation-explanation p { margin-top: 8px; max-width: 760px; }
.height-explanation { max-width: 760px; margin-bottom: 20px; }
.page-intro { padding-top: 44px; }
.page-intro h1 { font-size: 44px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; }
.page-intro p { font-size: 15px; line-height: 1.95; margin-top: 24px; }
.catalog-group { margin-top: 38px; }
.catalog-group h2 { font-size: 21px; line-height: 1.6; font-weight: 700; margin-bottom: 24px; }
.catalog-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.catalog-secondary .energy-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.energy-view, .result-view { max-width: 1000px; margin: 0 auto; padding-top: 30px; }
.back-link { padding: 5px 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.energy-hero { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: center; margin-top: 24px; padding: 38px 40px; background: var(--energy-tint); border-radius: 16px; }
.energy-hero-copy { min-width: 0; }
.energy-intro { margin-bottom: 24px; }
.energy-intro h1 { font-size: 66px; line-height: 1.15; letter-spacing: -.03em; color: var(--energy-color); }
#energy-fullname { font-size: 19px; line-height: 1.6; margin-top: 9px; }
#energy-meaning { font-size: 23px; line-height: 1.65; margin-bottom: 16px; }
#energy-description { font-size: 14px; margin-bottom: 0; }
.energy-hero-image { width: 300px; height: 340px; object-fit: contain; }
.energy-examples { margin: 36px 0 24px; }
.energy-examples h2, .related-section h2 { font-size: 21px; line-height: 1.6; font-weight: 700; }
.energy-examples ul { padding-left: 23px; margin: 15px 0 0; font-size: 15px; line-height: 1.95; }
.energy-examples li + li { margin-top: 7px; }
.related-section { margin-top: 40px; }
.energy-related { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.related-energy { flex-direction: row; align-items: center; }
.related-energy .energy-card-art { width: 115px; height: 145px; flex-shrink: 0; padding: 8px; }
.related-energy .energy-card-copy { padding: 18px; }
.related-energy .energy-code { font-size: 25px; }
.related-energy .energy-fullname { font-size: 12px; }
.related-energy .energy-name { font-size: 13px; }
.page-action { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.quiz-view { max-width: 760px; margin: 0 auto; }
.hero-figure figcaption { margin-bottom: 20px; }
.map-section { display: grid; grid-template-columns: 2.2fr 1fr; gap: 10px; font-size: 12px; color: var(--muted); padding: 0 0 12px; }
.map-section > span:last-child { text-align: center; }
.map-row { display: grid; grid-template-columns: 1fr 26px 1fr 26px 1fr; align-items: center; padding: 6px 0; gap: 9px; }
.map-energy { text-align: center; min-width: 0; background: var(--energy-tint); padding: 20px 8px; border-radius: 8px; }
.map-energy strong { display: block; font-size: 23px; line-height: 1.4; font-weight: 700; color: var(--energy-color); }
.map-energy > span { display: block; font-size: 11px; margin-top: 5px; line-height: 1.5; }
.map-exchange, .map-arrow { font-size: 22px; text-align: center; color: #a3a3a3; }
.section-text { font-size: 15px; line-height: 1.95; margin-bottom: 24px; }
.example { margin-top: 28px; padding: 22px 25px; border-left: 3px solid #abc2a8; background: #f4f7f0; }
.example p { font-size: 14px; line-height: 1.95; }
.example .text-link { font-size: 12px; margin-top: 12px; }
.info-view { max-width: 760px; }
.info-copy { padding-top: 28px; }
.info-copy h2 { font-size: 19px; font-weight: 700; line-height: 1.6; margin: 32px 0 12px; }
.info-copy > h2:first-child { margin-top: 0; }
.info-copy p { font-size: 14px; line-height: 2; margin-top: 14px; }
.info-copy a { text-decoration: underline; text-underline-offset: 4px; }
.info-copy a:hover { color: var(--ink); }
.info-copy .text-link { font-size: 13px; margin-top: 16px; }
.info-copy .info-updated { font-size: 12px; color: var(--muted); margin-top: 32px; }
.info-copy [data-clear-status]:empty { display: none; }
.footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 60px; padding-top: 30px; padding-bottom: 36px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: var(--muted); }
.footer-group h2 { font-size: 12px; line-height: 1.8; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer a { display: inline-block; }
.footer a:hover, .footer a[aria-current=page] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.quiz-view { padding-top: 42px; min-height: calc(100svh - 225px); }
.quiz-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 13px; color: var(--muted); }
.quiz-progress { height: 5px; background: #edf1eb; margin-top: 18px; border-radius: 3px; overflow: hidden; }
.quiz-progress > span { height: 100%; display: block; background: var(--brand); transition: width .2s; }
.question-content { margin-top: 40px; }
.question-kicker { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend { font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.65; padding: 0; margin: 0 0 28px; max-width: 100%; }
.answer-options { display: flex; flex-direction: column; gap: 10px; }
.answer-option { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #dce4dc; border-radius: 7px; cursor: pointer; min-height: 55px; transition: background .15s, border-color .15s; }
.answer-option:hover { background: #f6f9f3; }
.answer-option:has(input:checked) { background: #edf5e9; border-color: var(--brand); }
.answer-option:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.answer-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.answer-dot { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #b6c6ba; border-radius: 50%; flex-shrink: 0; }
.answer-option:has(input:checked) .answer-dot { border-color: var(--brand); background: var(--brand); }
.answer-option:has(input:checked) .answer-dot:after { content: ''; background: white; width: 6px; height: 6px; border-radius: 50%; }
.answer-label { font-size: 14px; line-height: 1.6; }
.answer-key { font-size: 11px; color: #949494; margin-left: auto; }
.question-controls { display: flex; justify-content: flex-end; margin-top: 24px; }
.question-controls .button { min-width: 110px; }
.quiz-notice { margin-top: 28px; }
.quiz-guidance { margin-top: 24px; font-size: 12px; color: var(--muted); line-height: 1.9; max-width: 650px; }
.answer-skip { margin-top: 7px; border-style: dashed; }
.answer-skip .answer-label { font-size: 12px; color: var(--muted); }
.score-count { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.version-note { font-size: 12px; color: var(--muted); line-height: 1.9; margin-top: 16px; }
.result-evidence { margin-top: 34px; }
.result-evidence h2 { font-size: 19px; font-weight: 700; }
.result-evidence > p { font-size: 12px; color: var(--muted); line-height: 1.9; margin-top: 10px; }
.answer-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 24px; margin-top: 20px; align-items: start; }
.answer-breakdown details { border: 1px solid var(--line); border-radius: 8px; padding: 15px 18px; }
.answer-breakdown summary { font-size: 13px; font-weight: 700; cursor: pointer; line-height: 1.7; }
.answer-breakdown ul { list-style: none; padding: 0; margin: 0; }
.answer-breakdown li { margin-top: 18px; font-size: 12px; line-height: 1.8; }
.answer-breakdown li span { display: block; color: var(--muted); margin-top: 4px; }
.flexibility .switch-note { font-size: 11px; }
.extra-result-card h2.extra-observation-heading { font-size: 24px; line-height: 1.5; }
.extra-theory-link { margin-top: 18px; font-size: 12px; color: var(--energy-color); }
.inline-link, .method-link { padding: 0; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.result-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 13px; }
.result-intro { margin-top: 24px; padding: 36px 40px; border-radius: 16px; background: var(--energy-tint); display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 24px; }
.result-intro:has(.result-image[hidden]) { grid-template-columns: 1fr; }
.result-copy { min-width: 0; }
.result-intro h1 { font-size: 66px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: var(--energy-color); }
#result-fullname { margin-top: 8px; font-size: 18px; line-height: 1.8; }
#result-meaning { font-size: 23px; line-height: 1.65; font-weight: 700; margin: 24px 0 14px; }
#result-description { font-size: 14px; line-height: 1.95; }
#result-detail-link { margin-top: 19px; color: var(--energy-color); }
.result-image { width: 300px; height: 325px; object-fit: contain; }
.result-intro h1.result-balanced { font-size: 34px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-chart-panel { padding: 24px 0 28px; min-width: 0; }
.panel-topline { font-size: 12px; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
#radar-chart { width: 100%; max-width: 400px; display: block; margin: -4px auto -7px; }
.score-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.score-row-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 9px; }
.score-row-top > a { font-size: 13px; }
.score-row-top > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.score-row-top small { display: none; }
.score-row-top strong { font-size: 14px; font-weight: 400; }
.score-bar { height: 5px; background: #eef1ec; border-radius: 3px; overflow: hidden; }
.score-bar > span { height: 100%; display: block; background: var(--score-color, var(--brand)); }
.result-next-panel { padding: 28px 0 28px 32px; border-left: 1px solid var(--line); }
.result-next-panel h2 { font-size: 20px; font-weight: 700; line-height: 1.7; }
.next-energy { display: flex; align-items: center; gap: 20px; font-size: 32px; margin: 24px 0; }
.next-energy > span:first-child { color: #949494; }
.next-arrow { font-size: 25px; color: #ababab; }
.action-block { border-top: 1px solid var(--line); padding-top: 20px; }
.action-label { font-size: 12px; color: var(--muted); }
.action-block > p { font-size: 15px; line-height: 1.95; margin-top: 9px; }
.flexibility { margin-top: 25px; }
.flexibility p { font-size: 13px; line-height: 1.9; color: var(--muted); margin-top: 7px; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.result-actions > .text-link { font-size: 12px; margin-left: auto; }
.result-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 22px; }
.method-link { margin-top: 10px; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.dialog-header h2 { font-size: 21px; font-weight: 700; line-height: 1.6; }
.dialog-close { width: 30px; height: 30px; border-radius: 5px; font-size: 24px; color: var(--muted); line-height: 1; }
.dialog-close:hover { background: #eff4ed; }
dialog { background: white; color: var(--ink); border: 1px solid #dce5dc; border-radius: 12px; padding: 28px 32px; width: min(600px, calc(100% - 32px)); max-height: 85svh; }
dialog::backdrop { background: #1f392e55; }
dialog h3 { font-size: 14px; font-weight: 700; margin-top: 24px; margin-bottom: 10px; }
dialog p { font-size: 13px; line-height: 1.95; color: var(--muted); margin-top: 12px; }
dialog .text-link { font-size: 12px; margin-top: 14px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 13px 19px; background: #2b4c3d; color: white; border-radius: 7px; font-size: 13px; line-height: 1.8; max-width: calc(100% - 32px); width: max-content; z-index: 80; }
.noscript { padding: 20px; text-align: center; font-size: 14px; }
[data-energy=D] { --energy-color: #b44740; --energy-tint: #f9eae7; }
[data-energy=C] { --energy-color: #85640e; --energy-tint: #fbf3d9; }
[data-energy=V] { --energy-color: #3d6e9c; --energy-tint: #eaf2f9; }
[data-energy=O] { --energy-color: #3d7655; --energy-tint: #eaf3e9; }
[data-energy=K] { --energy-color: #a6531c; --energy-tint: #fbeddf; }
[data-energy=H] { --energy-color: #227476; --energy-tint: #e5f3f1; }
[data-energy=L] { --energy-color: #a3486d; --energy-tint: #f8eaf0; }
[data-energy=A] { --energy-color: #7d5b43; --energy-tint: #f2eae2; }
@media (max-width: 1050px) {
  .hero { padding: 40px 32px; }
  .hero h1 { font-size: 51px; }
  .hero-art { height: 330px; }
  .hero-action { gap: 16px; }
  .energy-card { --art-height: 185px; }
  .energy-card-copy { padding: 20px 16px 22px; }
  .energy-card .energy-fullname { font-size: 12px; }
  .energy-card .energy-name { font-size: 13px; }
  .related-energy .energy-card-copy { padding-right: 28px; }
  .energy-hero, .result-intro { grid-template-columns: 1fr 260px; padding: 32px; }
  .energy-hero-image, .result-image { width: 260px; height: 300px; }
  .relation-panel { padding: 28px; }
  .relation-panel-heading h3 { font-size: 25px; }
  .relation-formula { font-size: 19px; gap: 9px; }
  .relation-flow { grid-template-columns: minmax(0, 2fr) 56px minmax(0, 1fr); }
  .relation-pair { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); padding: 20px 12px; }
  .relation-node-art { height: 205px; }
  .relation-result { padding: 20px 12px; }
  .relation-node-copy > span { font-size: 12px; }
}
@media (max-width: 760px) {
  .header, .workspace-main, .footer { padding-left: 24px; padding-right: 24px; }
  .header { height: 76px; }
  .site-name { font-size: 16px; gap: 8px; }
  .brand-mark { width: 22px; height: 22px; gap: 2px; }
  .header-nav { gap: 22px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding: 36px 24px 18px; margin-top: 10px; text-align: center; }
  .hero h1 { font-size: 46px; margin-bottom: 20px; }
  .hero-description { font-size: 14px; }
  .hero-action { justify-content: center; gap: 22px; margin-top: 24px; }
  .hero-art { max-width: 430px; height: 290px; margin: 10px auto 0; }
  .hero-ground { height: 38px; }
  .hero-person-v { width: 48%; left: -5%; }
  .hero-person-o { width: 51%; left: 53%; }
  .hero-person-c { width: 53%; left: 6%; }
  .hero-person-d { width: 60%; left: 31%; }
  .home-catalog { padding-top: 44px; }
  .section-heading h2, .hero-figure figcaption { font-size: 24px; }
  .energy-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .catalog-secondary { grid-template-columns: 1fr; gap: 0; }
  .energy-card { --art-height: 220px; }
  .energy-card .energy-code { font-size: 29px; }
  .energy-card-copy { padding: 20px; }
  .energy-card .energy-fullname { font-size: 13px; }
  .energy-card .energy-name { font-size: 14px; }
  .home-video { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 36px; padding-bottom: 36px; }
  .home-video-copy h2 { font-size: 24px; }
  .home-video-copy p { max-width: none; margin-top: 14px; }
  .page-intro { padding-top: 32px; }
  .page-intro h1 { font-size: 36px; }
  .energy-hero, .result-intro { grid-template-columns: 1fr 210px; padding: 30px; gap: 16px; }
  .energy-hero-image, .result-image { width: 210px; height: 270px; }
  .energy-intro h1, .result-intro h1 { font-size: 56px; }
  #energy-fullname, #result-fullname { font-size: 17px; }
  #energy-meaning, #result-meaning { font-size: 21px; }
  .energy-related { gap: 20px; }
  .related-energy { flex-direction: column; align-items: stretch; }
  .related-energy .energy-card-art { width: 100%; height: 180px; }
  .related-energy .energy-card-copy { padding: 18px; }
  .home-catalog .energy-card { --art-height: 220px; }
  .home-relations { padding-top: 54px; }
  .relation-tabs { gap: 28px; }
  .relation-tabs button { font-size: 14px; }
  .relation-panel { padding: 24px; }
  .relation-panel-heading { align-items: flex-start; margin-bottom: 24px; }
  .relation-panel-heading h3 { font-size: 23px; }
  .relation-formula { display: none; }
  .relation-flow { grid-template-columns: minmax(0, 1fr); }
  .relation-pair { grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); padding: 20px; }
  .relation-node-art { height: 230px; }
  .relation-accumulation { padding: 8px 0; gap: 0; height: 65px; position: relative; }
  .relation-accumulation > span { position: absolute; left: calc(50% + 18px); top: 24px; }
  .relation-accumulation svg { width: 50px; height: 32px; transform: rotate(90deg); }
  .relation-result { padding: 18px; }
  .relation-result .relation-node { flex-direction: row; justify-content: center; gap: 24px; }
  .relation-result .relation-node-art { width: 155px; height: 170px; flex-shrink: 0; }
  .relation-result .relation-node-copy { align-items: flex-start; text-align: left; padding: 0; max-width: 200px; }
  .relation-panel-footer { flex-direction: column; gap: 13px; align-items: flex-start; margin-top: 20px; }
}
@media (max-width: 520px) {
  .header, .workspace-main, .footer { padding-left: 20px; padding-right: 20px; }
  .header { height: 72px; gap: 12px; }
  .header-nav { gap: 16px; font-size: 12px; }
  .site-name { font-size: 15px; }
  .brand-mark { width: 20px; height: 20px; }
  .hero { padding: 30px 18px 13px; border-radius: 12px; }
  .hero h1 { font-size: 43px; }
  .hero-description { font-size: 13px; }
  .hero-action { gap: 18px; }
  .button { font-size: 13px; padding: 11px 17px; min-height: 44px; gap: 18px; }
  .text-link { font-size: 12px; }
  .hero-art { height: 225px; margin-top: 17px; }
  .hero-person-v { width: 51%; left: -8%; }
  .hero-person-o { width: 54%; left: 52%; }
  .hero-person-c { width: 55%; left: 3%; }
  .hero-person-d { width: 62%; left: 29%; }
  .hero-ground { bottom: 0; height: 30px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2, .hero-figure figcaption { font-size: 22px; }
  .energy-card-grid, .energy-related { gap: 16px; }
  .energy-card { --art-height: 172px; border-radius: 9px; }
  .energy-card-art { padding: 6px 2px 0; }
  .energy-card-copy { padding: 16px 13px 19px; }
  .energy-card .energy-code { font-size: 26px; }
  .energy-card .energy-fullname { font-size: 11px; margin-top: 7px; }
  .energy-card .energy-name { font-size: 12px; margin-top: 8px; }
  .home-video { gap: 22px; margin-top: 32px; padding-bottom: 32px; }
  .home-video-copy h2 { font-size: 22px; }
  .home-video-copy p { font-size: 13px; margin-top: 12px; }
  .home-video-player { border-radius: 9px; }
  .home-catalog .energy-card { --art-height: 172px; }
  .home-relations { padding-top: 46px; }
  .relation-tabs { gap: 22px; }
  .relation-tabs button { padding: 13px 0 15px; font-size: 12px; }
  .relation-board { border-radius: 0 0 12px 12px; }
  .relation-panel { padding: 22px 14px; }
  .relation-panel-heading { gap: 12px; }
  .relation-panel-heading h3 { font-size: 21px; line-height: 1.65; }
  .relation-panel-heading > p { font-size: 11px; }
  .relation-pair { grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); gap: 0; padding: 16px 7px; border-radius: 10px; }
  .relation-node-art { height: 158px; }
  .relation-node-copy { padding-top: 13px; }
  .relation-node-copy strong { font-size: 27px; }
  .relation-node-copy > span { font-size: 10px; margin-top: 6px; min-height: 34px; }
  .relation-exchange { gap: 8px; margin-bottom: 63px; }
  .relation-exchange > span, .relation-accumulation > span { font-size: 10px; }
  .relation-exchange path { stroke-width: 2.4; }
  .relation-result { border-radius: 10px; padding: 13px; }
  .relation-result .relation-node { gap: 12px; }
  .relation-result .relation-node-art { width: 116px; height: 145px; }
  .relation-result .relation-node-copy > span { font-size: 11px; min-height: 0; }
  .relation-panel-footer p { font-size: 12px; }
  .catalog-group { margin-top: 30px; }
  .catalog-group h2 { font-size: 19px; margin-bottom: 20px; }
  .page-intro { padding-top: 26px; }
  .page-intro h1 { font-size: 32px; }
  .page-intro p { font-size: 14px; margin-top: 20px; }
  .energy-view, .result-view { padding-top: 24px; }
  .energy-hero, .result-intro { grid-template-columns: 1fr; padding: 26px; gap: 16px; border-radius: 12px; }
  .energy-hero-image, .result-image { grid-row: 1; width: 195px; height: 195px; justify-self: center; }
  .energy-intro { margin-bottom: 20px; }
  .energy-intro h1, .result-intro h1 { font-size: 52px; }
  #energy-meaning, #result-meaning { font-size: 21px; }
  #energy-description, #result-description { font-size: 13px; }
  .energy-examples { margin-top: 30px; }
  .energy-examples h2, .related-section h2 { font-size: 20px; }
  .energy-examples ul { font-size: 14px; }
  .related-section { margin-top: 34px; }
  .related-energy .energy-card-art { height: 160px; }
  .related-energy .energy-card-copy { padding: 16px 13px 19px; }
  .section-shell, .hero-figure { padding-top: 40px; }
  .map-section { font-size: 10px; grid-template-columns: 2.1fr 1.1fr; }
  .map-row { grid-template-columns: 1fr 17px 1fr 17px 1fr; gap: 4px; }
  .map-energy { padding: 16px 3px; }
  .map-energy strong { font-size: 20px; }
  .map-energy > span { font-size: 9px; line-height: 1.6; }
  .map-exchange, .map-arrow { font-size: 17px; }
  .section-text { font-size: 14px; }
  .example { padding: 18px; margin-top: 24px; }
  .example p { font-size: 13px; }
  .quiz-view { padding-top: 28px; min-height: calc(100svh - 202px); }
  .quiz-topline, .back-link { font-size: 12px; }
  .question-content { margin-top: 30px; }
  .question-kicker { font-size: 12px; }
  legend { font-size: 23px; margin-bottom: 24px; }
  .answer-option { padding: 14px 13px; min-height: 52px; }
  .answer-label { font-size: 13px; }
  .answer-key { display: none; }
  .result-intro h1.result-balanced { font-size: 29px; }
  .result-topline { font-size: 12px; }
  .result-grid { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
  .result-chart-panel { padding-top: 20px; padding-bottom: 28px; }
  .panel-topline { font-size: 11px; }
  .result-next-panel { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0; }
  .result-next-panel h2 { font-size: 19px; }
  .action-block > p { font-size: 14px; }
  .result-actions { gap: 10px; }
  .result-actions .button { font-size: 12px; padding-left: 13px; padding-right: 13px; gap: 12px; }
  .result-actions > .text-link { margin: 8px 0 0; flex-basis: 100%; }
  .result-note, .method-link, .inline-link { font-size: 11px; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin-top: 44px; font-size: 11px; }
  .footer-group:last-child { grid-column: 1 / -1; }
  .footer-group:last-child .footer-links { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .info-copy h2 { font-size: 17px; }
  .info-copy p { font-size: 13px; }
  dialog { padding: 22px; }
  .dialog-header h2 { font-size: 20px; }
}
@media (max-width: 360px) {
  .header, .workspace-main, .footer { padding-left: 16px; padding-right: 16px; }
  .header-nav { gap: 12px; }
  .brand-mark { display: none; }
  .hero { padding-left: 14px; padding-right: 14px; }
  .hero h1 { font-size: 40px; }
  .hero-action { gap: 12px; }
  .energy-card-grid { gap: 12px; }
  .energy-card-copy { padding-left: 11px; padding-right: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
