/* ==========================================================================
   話題神託方式 — 和 / 夜の神域
   墨の夜、朱の鳥居、金の光。three.js の参道（scene/shrine.js）の上に UI を重ねる。
   ========================================================================== */

:root {
  --sumi: #0b0a10;
  --sumi-2: #14110f;
  --sumi-3: #1e1915;
  --washi: #f1eadb;
  --washi-dim: #bfb6a4;
  --washi-faint: rgba(241, 234, 219, 0.56);
  --shu: #c7361d;
  --shu-bright: #e04a2c;
  --shu-deep: #8f2211;
  --kin: #d9b15c;
  --kin-bright: #f0cf85;
  --kin-line: rgba(217, 177, 92, 0.3);
  --kin-faint: rgba(217, 177, 92, 0.14);
  --ai: #1a2240;
  --header-height: 88px;
  --gutter: clamp(18px, 3.2vw, 56px);
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", "Source Han Serif JP", serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --washi-fiber: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .06' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.55'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  background: var(--sumi);
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--washi);
  overflow-x: hidden;
  font-family: var(--sans);
  background:
    radial-gradient(ellipse 60% 40% at 70% 52%, rgba(199, 54, 29, 0.16), transparent 70%),
    linear-gradient(180deg, #0c0d16 0%, var(--sumi) 60%);
  background-attachment: fixed;
}

body.reveal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: rgba(217, 177, 92, 0.2);
  touch-action: manipulation;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--kin-bright);
  outline-offset: 5px;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

::selection {
  color: var(--washi);
  background: var(--shu);
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--sumi);
  background: var(--kin);
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ───────────── 神域（3D）と空気 ───────────── */

.shrine-canvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.webgl-ready .shrine-canvas {
  opacity: 1;
}

.no-webgl .shrine-canvas {
  display: none;
}

/* 3Dが利用できなくても、採用した01-Cの森を表示する。 */
.no-webgl body {
  background: #0b0a10 url("./assets/background-exploration/images/01_forest_night_3.jpg") 90% bottom / cover fixed no-repeat;
}

.atmosphere {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.atmosphere-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 10, 16, 0.84) 0%, rgba(11, 10, 16, 0.55) 34%, rgba(11, 10, 16, 0) 62%),
    linear-gradient(180deg, rgba(11, 10, 16, 0.7) 0%, rgba(11, 10, 16, 0) 18%, rgba(11, 10, 16, 0) 70%, rgba(11, 10, 16, 0.86) 100%),
    radial-gradient(ellipse 120% 90% at 60% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.atmosphere-grain,
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.grain {
  position: fixed;
  z-index: 280;
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 2;
  min-height: 100svh;
}

.site-shell > .masthead,
.site-shell > main > .summoning-stage,
.site-shell > .site-footer {
  transition: opacity 700ms ease, filter 700ms ease;
}

/* お告げの間は拝殿の文字を退け、参道だけを背にする */
body.reveal-open .site-shell > .masthead,
body.reveal-open .site-shell > main > .summoning-stage,
body.reveal-open .site-shell > .site-footer {
  opacity: 0;
  filter: blur(6px);
  pointer-events: none;
}

/* ───────────── ロゴ・ヘッダー ───────────── */

.masthead {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  display: grid;
  height: var(--header-height);
  padding: 8px var(--gutter);
  grid-template-columns: 1fr auto;
  align-items: center;
}

.masthead::after,
.info-header::after {
  content: "";
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  left: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kin-line) 12%, var(--kin-line) 88%, transparent);
}

.wordmark {
  display: grid;
  width: clamp(168px, 16vw, 236px);
  justify-items: center;
  gap: 5px;
  color: var(--washi);
  text-decoration: none;
}

.brand-kanji {
  display: block;
  width: 100%;
}

.brand-kanji img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.6));
}

.brand-reading {
  display: flex;
  width: 82%;
  align-items: center;
  justify-content: center;
  gap: 0.85em;
  color: var(--kin);
  font-family: var(--sans);
  font-size: clamp(7px, 0.62vw, 10px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  white-space: nowrap;
}

.brand-reading::before,
.brand-reading::after {
  content: "";
  min-width: 18px;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--kin));
}

.brand-reading::after {
  background: linear-gradient(90deg, var(--kin), transparent);
}

.wordmark .brand-kanji,
.wordmark .brand-reading {
  transition: filter 240ms ease, transform 240ms var(--ease-out), color 240ms ease;
}

.wordmark:hover .brand-kanji {
  filter: drop-shadow(0 0 18px rgba(217, 177, 92, 0.45));
  transform: translateY(-1px);
}

.wordmark:hover .brand-reading {
  color: var(--kin-bright);
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.nav-label {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--washi);
  border: 1px solid var(--kin-line);
  border-radius: 50%;
  background: rgba(11, 10, 16, 0.5);
  backdrop-filter: blur(8px);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}

.icon-button:hover,
.nav-label:hover {
  color: var(--kin-bright);
  border-color: var(--kin);
  background: rgba(30, 24, 20, 0.8);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.sound-wave {
  stroke: currentColor;
  stroke-width: 1.8;
}

.icon-button[aria-pressed="false"] {
  color: var(--washi-dim);
}

.icon-button[aria-pressed="false"] .sound-wave {
  opacity: 0;
}

.nav-label {
  width: auto;
  padding: 0 18px;
  border-radius: 22px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.history-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  color: var(--washi);
  border-radius: 9px;
  background: var(--shu);
  box-shadow: 0 0 0 2px var(--sumi);
  font-size: 9px;
  font-weight: 800;
}

/* ───────────── 拝殿（トップ） ───────────── */

.summoning-stage {
  position: relative;
  display: grid;
  min-height: max(100svh, 760px);
  padding: calc(var(--header-height) + 28px) var(--gutter) 0;
  grid-template-columns: 44px minmax(0, 1.2fr) minmax(300px, 0.8fr);
  grid-template-rows: 1fr auto auto;
  grid-template-areas:
    "rail title rig"
    "rail console console"
    "ticker ticker ticker";
  column-gap: clamp(20px, 3vw, 48px);
}

.stage-rail {
  grid-area: rail;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
  color: var(--kin);
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.4em;
}

.rail-latin {
  font-weight: 600;
  opacity: 0.8;
}

.rail-line {
  flex: 0 0 90px;
  width: 1px;
  background: linear-gradient(180deg, var(--kin), transparent);
}

.rail-jp {
  color: var(--washi-dim);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.5em;
}

.title-block {
  grid-area: title;
  align-self: center;
  padding-bottom: 20px;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 800;
  line-height: 1.06;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.title-row {
  display: block;
  overflow: hidden;
  margin: -0.35em -0.6em -0.3em -0.6em;
  padding: 0.35em 0.6em 0.3em 0.6em;
}

.title-ink {
  display: inline-block;
  color: var(--washi);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}

.title-row-b {
  padding-left: 1.5em;
}

.title-row-b i {
  position: relative;
  display: inline-block;
  color: var(--shu-bright);
  font-style: normal;
  text-shadow:
    0 0 24px rgba(224, 74, 44, 0.55),
    0 0 70px rgba(240, 207, 133, 0.25);
}

.title-row-b i::after {
  content: "";
  position: absolute;
  top: 12%;
  right: -0.06em;
  width: 0.12em;
  height: 0.12em;
  border-radius: 50%;
  background: var(--kin-bright);
  box-shadow: 0 0 16px var(--kin);
}

.stage-lead {
  max-width: 44em;
  margin: clamp(22px, 3vw, 38px) 0 0;
  padding-left: 18px;
  color: var(--washi-dim);
  border-left: 1px solid var(--kin-line);
  font-family: var(--serif);
  font-size: clamp(13px, 1.02vw, 15px);
  line-height: 2.1;
  letter-spacing: 0.04em;
}

.stage-lead strong {
  color: var(--washi);
  font-weight: 700;
}

/* 鈴 — 3D の鈴はこの枠の位置と大きさに合わせて吊られる */

.summon-rig {
  --bell: clamp(118px, 10.5vw, 158px);
  grid-area: rig;
  display: grid;
  place-items: center;
  align-self: center;
  padding-bottom: 24px;
}

.summon-button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.summon-button:focus-visible {
  outline: none;
}

.bell-anchor {
  position: relative;
  display: block;
  width: var(--bell);
  height: var(--bell);
  border-radius: 50%;
}

.bell-aura {
  position: absolute;
  inset: -45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 139, 74, 0.07), rgba(100, 49, 26, 0.025) 45%, transparent 70%);
  opacity: 0.7;
  transition: opacity 400ms ease, transform 600ms var(--ease-out);
}

.summon-button:hover .bell-aura,
.summon-button:focus-visible .bell-aura {
  opacity: 1;
  transform: scale(1.08);
}

.summon-button:focus-visible .bell-anchor::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid var(--kin-bright);
  border-radius: 50%;
}

.rope-space {
  position: relative;
  display: block;
  width: calc(var(--bell) * 0.44);
  height: calc(var(--bell) * 1.58);
}

/* 3D が使えないときの鈴 */
.bell-fallback,
.rope-fallback {
  display: none;
}

.no-webgl .bell-fallback {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 8% 22% at 50% 88%, #0a0705 70%, transparent 74%),
    radial-gradient(circle at 34% 28%, #fff4cf 0 6%, transparent 22%),
    radial-gradient(circle at 50% 50%, #e8bf6a 0%, #b88632 55%, #5d3e12 100%);
  box-shadow:
    inset 0 -8px 18px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(240, 207, 133, 0.35);
}

.no-webgl .bell-fallback::after {
  content: "";
  position: absolute;
  top: 48%;
  right: 2%;
  left: 2%;
  height: 5%;
  border-radius: 50%;
  background: rgba(90, 58, 16, 0.7);
}

.no-webgl .rope-fallback {
  position: absolute;
  top: -6%;
  left: 50%;
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 0 0 40% 40% / 0 0 12% 12%;
  background:
    repeating-linear-gradient(-35deg, #c33a22 0 9px, #efe6d4 9px 16px, #6a3d8c 16px 22px, #efe6d4 22px 28px);
  box-shadow: inset -6px 0 10px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

.summon-plate {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 20px 8px 8px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(217, 177, 92, 0.5);
  background:
    linear-gradient(180deg, rgba(34, 27, 23, 0.94), rgba(14, 11, 10, 0.94));
  box-shadow:
    inset 0 0 0 3px rgba(11, 10, 16, 0.9),
    inset 0 0 0 4px rgba(217, 177, 92, 0.18),
    0 20px 50px rgba(0, 0, 0, 0.5);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.summon-button:hover .summon-plate,
.summon-button:focus-visible .summon-plate {
  border-color: var(--kin-bright);
  box-shadow:
    inset 0 0 0 3px rgba(11, 10, 16, 0.9),
    inset 0 0 0 4px rgba(240, 207, 133, 0.4),
    0 20px 60px rgba(199, 54, 29, 0.35);
}

.summon-button:focus-visible .summon-plate {
  outline: 2px solid var(--kin-bright);
  outline-offset: 4px;
}

.plate-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--washi);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--shu-bright), var(--shu-deep));
  box-shadow: 0 0 0 1px var(--kin), 0 0 22px rgba(224, 74, 44, 0.5);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
}

.plate-text {
  display: grid;
  gap: 5px;
  text-align: left;
}

.plate-text em {
  color: var(--washi);
  font-family: var(--serif);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.plate-text small {
  color: var(--kin);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.34em;
}

/* 神託対象（カテゴリ）— 御神籤の札 */

.category-console {
  grid-area: console;
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 18px 0 26px;
}

.category-status {
  display: flex;
  margin-bottom: 14px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--kin);
  font-family: var(--serif);
}

.category-status p {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.status-mark {
  color: var(--shu-bright);
  font-size: 9px;
}

.category-status span {
  color: var(--washi-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.category-status b {
  color: var(--washi);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.category-list {
  display: flex;
  margin: 0 calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 12px;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-option {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 56px;
  height: 132px;
  padding: 16px 0 12px;
  grid-template-rows: auto 1fr;
  justify-items: center;
  gap: 10px;
  color: var(--washi-dim);
  border: 1px solid rgba(217, 177, 92, 0.2);
  background:
    linear-gradient(180deg, rgba(32, 26, 22, 0.86), rgba(13, 11, 11, 0.86));
  backdrop-filter: blur(6px);
  cursor: pointer;
  scroll-snap-align: center;
  transition:
    transform 260ms var(--ease-out),
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 260ms ease;
}

.category-option::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sumi);
  box-shadow: 0 0 0 1px var(--kin-line);
  transform: translateX(-50%);
}

.category-option:hover {
  color: var(--washi);
  border-color: rgba(217, 177, 92, 0.55);
  transform: translateY(-3px);
}

.option-numeral {
  width: 100%;
  padding-bottom: 8px;
  color: var(--kin);
  border-bottom: 1px solid var(--kin-faint);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.option-label {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

.category-option[aria-checked="true"] {
  color: var(--washi);
  border-color: var(--kin);
  background:
    linear-gradient(180deg, var(--shu-bright), var(--shu-deep));
  box-shadow:
    inset 0 0 0 3px rgba(11, 10, 16, 0.35),
    inset 0 0 0 4px rgba(240, 207, 133, 0.4),
    0 14px 34px rgba(199, 54, 29, 0.4);
  transform: translateY(-8px);
}

.category-option[aria-checked="true"] .option-numeral {
  color: var(--kin-bright);
  border-bottom-color: rgba(240, 207, 133, 0.45);
}

.category-option[aria-checked="true"]::before {
  background: var(--kin-bright);
  box-shadow: 0 0 10px var(--kin);
}

/* 帯 */

.ticker {
  grid-area: ticker;
  position: relative;
  z-index: 2;
  margin: 0 calc(var(--gutter) * -1);
  overflow: hidden;
  border-top: 1px solid rgba(240, 207, 133, 0.5);
  border-bottom: 1px solid rgba(240, 207, 133, 0.5);
  background: linear-gradient(180deg, var(--shu), var(--shu-deep));
  box-shadow: inset 0 0 0 2px rgba(11, 10, 16, 0.3);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 11px 0;
}

.ticker-track span {
  display: flex;
  padding: 0 34px;
  align-items: center;
  gap: 68px;
  color: var(--washi);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5em;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "◆";
  color: var(--kin-bright);
  font-size: 8px;
  letter-spacing: 0;
}

/* ───────────── お告げ ───────────── */

.oracle-reveal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
}

.oracle-reveal.is-visible {
  visibility: visible;
  opacity: 1;
}

.reveal-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 42% at 50% 50%, rgba(11, 10, 16, 0.5), rgba(11, 10, 16, 0.14) 80%),
    linear-gradient(180deg, rgba(11, 10, 16, 0.7), rgba(11, 10, 16, 0) 24%, rgba(11, 10, 16, 0) 64%, rgba(11, 10, 16, 0.88));
}

body.reveal-open .atmosphere-veil {
  opacity: 0.4;
}

.no-webgl .reveal-scrim {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(80, 30, 18, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(15, 13, 20, 0.55), rgba(11, 10, 16, 0.68));
}

.reveal-fx {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.reveal-fx > * {
  visibility: hidden;
  opacity: 0;
}

.fx-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76vmin;
  height: 76vmin;
  margin: -38vmin 0 0 -38vmin;
  border: 1px solid var(--kin-bright);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(240, 207, 133, 0.45), inset 0 0 40px rgba(240, 207, 133, 0.25);
}

.fx-ring-b {
  border-color: var(--shu-bright);
  box-shadow: 0 0 40px rgba(224, 74, 44, 0.5);
}

.fx-ring-c {
  border: 4px double var(--kin);
}

.fx-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(220, 235, 255, 0.38), rgba(170, 202, 255, 0.12) 48%, transparent 78%);
  mix-blend-mode: screen;
}

.fx-ink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fx-stroke {
  fill: none;
  stroke: #e1d4ba;
  stroke-width: 34;
  filter: drop-shadow(0 0 6px rgba(247, 219, 170, 0.35));
  stroke-linecap: round;
}

.fx-stroke-b {
  stroke: var(--shu);
  stroke-width: 26;
}

.fx-stroke-c {
  stroke-width: 14;
}

.reveal-ghost {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 4vw;
  margin: 0;
  color: transparent;
  font-family: var(--serif);
  font-size: min(34vh, 30vw);
  font-weight: 800;
  line-height: 1;
  writing-mode: vertical-rl;
  -webkit-text-stroke: 1px rgba(217, 177, 92, 0.24);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.reveal-close {
  position: relative;
  z-index: 5;
}

.reveal-close {
  grid-row: 1;
  grid-column: 1;
  display: inline-flex;
  min-height: 44px;
  margin: 20px var(--gutter) 0 0;
  padding: 0 16px 0 6px;
  align-items: center;
  align-self: start;
  justify-self: end;
  gap: 10px;
  color: var(--washi);
  border: 1px solid var(--kin-line);
  background: rgba(11, 10, 16, 0.55);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}

.reveal-close span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--washi);
  background: var(--shu-deep);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
}

.reveal-close:hover {
  border-color: var(--kin);
  background: rgba(30, 24, 20, 0.85);
}

.reveal-content {
  position: relative;
  z-index: 3;
  grid-row: 2;
  grid-column: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  align-self: center;
  text-align: center;
}

.oracle-kicker {
  display: flex;
  margin: 0 0 clamp(14px, 2.4vh, 28px);
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--kin);
  font-family: var(--serif);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 700;
  letter-spacing: 0.44em;
  text-indent: 0.44em;
}

.oracle-kicker span {
  width: clamp(40px, 7vw, 90px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kin));
}

.oracle-kicker span:last-child {
  background: linear-gradient(90deg, var(--kin), transparent);
}

.oracle-topic {
  margin: 0;
  color: var(--washi);
  font-family: var(--serif);
  font-size: clamp(66px, 13vw, 196px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow:
    0 0 34px rgba(255, 196, 120, 0.3),
    0 6px 40px rgba(0, 0, 0, 0.7);
}

.oracle-topic:focus {
  outline: none;
}

.oracle-topic.long {
  font-size: clamp(46px, 8.6vw, 128px);
}

.oracle-char {
  display: inline-block;
  will-change: transform, opacity;
}

.oracle-command {
  position: relative;
  display: inline-flex;
  margin: clamp(18px, 3vh, 34px) 0 0;
  align-items: center;
  gap: 14px;
}

.command-text {
  padding: 11px clamp(22px, 4vw, 48px);
  color: var(--washi);
  border-top: 1px solid var(--kin-line);
  border-bottom: 1px solid var(--kin-line);
  background: linear-gradient(90deg, transparent, rgba(199, 54, 29, 0.55) 20%, rgba(199, 54, 29, 0.55) 80%, transparent);
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.reveal-actions {
  position: relative;
  z-index: 5;
  grid-row: 3;
  display: flex;
  padding: 0 var(--gutter) clamp(22px, 4vh, 44px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.oracle-x-button {
  min-height: 44px;
  padding: 8px 12px;
  color: var(--washi-dim);
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-decoration-color: var(--kin-line);
  text-underline-offset: 5px;
  cursor: pointer;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.oracle-x-button:hover:not(:disabled),
.oracle-x-button:focus-visible {
  color: var(--kin-bright);
  text-decoration-color: currentColor;
}

.oracle-x-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.again-button {
  display: inline-flex;
  min-height: 62px;
  padding: 0 30px 0 9px;
  align-items: center;
  gap: 16px;
  color: var(--washi);
  border: 1px solid var(--kin);
  background: linear-gradient(180deg, var(--shu-bright), var(--shu-deep));
  box-shadow:
    inset 0 0 0 3px rgba(11, 10, 16, 0.3),
    inset 0 0 0 4px rgba(240, 207, 133, 0.45),
    0 20px 50px rgba(199, 54, 29, 0.35);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.24em;
  cursor: pointer;
  transition: box-shadow 240ms ease, filter 240ms ease;
}

.again-button:hover {
  filter: brightness(1.1);
  box-shadow:
    inset 0 0 0 3px rgba(11, 10, 16, 0.3),
    inset 0 0 0 4px rgba(240, 207, 133, 0.7),
    0 24px 60px rgba(224, 74, 44, 0.5);
}

.again-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--kin-bright);
  border-radius: 50%;
  background: var(--sumi);
  box-shadow: 0 0 0 1px var(--kin);
  font-size: 20px;
  letter-spacing: 0;
}

.again-button b {
  color: var(--kin-bright);
  font-size: 20px;
  letter-spacing: 0;
  transition: transform 240ms var(--ease-out);
}

.again-button:hover b {
  transform: translateX(4px);
}

.reveal-ticker {
  position: relative;
  z-index: 5;
  grid-row: 4;
  overflow: hidden;
  border-top: 1px solid var(--kin-line);
  background: rgba(11, 10, 16, 0.72);
}

.reveal-ticker > div {
  display: flex;
  width: max-content;
  padding: 10px 0;
}

.reveal-ticker span {
  display: flex;
  padding: 0 30px;
  align-items: center;
  gap: 60px;
  color: var(--kin);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  white-space: nowrap;
}

.reveal-ticker span::after {
  content: "◆";
  color: var(--shu-bright);
  font-size: 7px;
}

/* ───────────── フッター ───────────── */

.site-footer {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 220px;
  padding: 44px var(--gutter);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px 60px;
  color: var(--washi-dim);
  background: linear-gradient(180deg, rgba(11, 10, 16, 0.6), rgba(11, 10, 16, 0.96) 40%);
  backdrop-filter: blur(6px);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kin-line), transparent);
}

.footer-brand {
  display: grid;
  width: fit-content;
  gap: 18px;
}

.footer-logo {
  display: grid;
  width: clamp(280px, 30vw, 460px);
  max-width: 100%;
  justify-items: center;
  gap: 7px;
}

.footer-logo .brand-reading {
  font-size: clamp(9px, 0.9vw, 13px);
}

.footer-brand small {
  font-size: 10px;
  letter-spacing: 0.2em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px clamp(16px, 2.4vw, 34px);
  font-family: var(--serif);
}

.footer-nav a[aria-current="page"] {
  color: var(--kin-bright);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--kin), var(--kin)) 0 100% / 0 1px no-repeat;
  transition: color 200ms ease, background-size 300ms var(--ease-out);
}

.site-footer a:hover {
  color: var(--kin-bright);
  background-size: 100% 1px;
}

/* ───────────── 読み物ページ ───────────── */

.info-body .atmosphere-veil {
  background:
    linear-gradient(180deg, rgba(11, 10, 16, 0.55) 0%, rgba(11, 10, 16, 0.72) 40%, rgba(11, 10, 16, 0.9) 100%),
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

.info-header {
  position: relative;
  z-index: 30;
  display: flex;
  height: var(--header-height);
  padding: 8px var(--gutter);
  align-items: center;
  justify-content: space-between;
}

.info-back {
  display: inline-flex;
  min-height: 44px;
  padding: 0 20px;
  align-items: center;
  color: var(--washi);
  border: 1px solid var(--kin-line);
  border-radius: 22px;
  background: rgba(11, 10, 16, 0.5);
  backdrop-filter: blur(8px);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease;
}

.info-back:hover {
  color: var(--kin-bright);
  border-color: var(--kin);
}

.info-main,
.policy-main {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(40px, 8vh, 90px) 0 clamp(60px, 10vh, 120px);
}

.info-hero {
  margin-bottom: clamp(40px, 8vh, 90px);
}

.info-hero > p:first-child,
.info-kicker,
.policy-heading > p:first-child {
  display: flex;
  margin: 0 0 18px;
  align-items: center;
  gap: 14px;
  color: var(--kin);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
}

.info-hero > p:first-child::before,
.policy-heading > p:first-child::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--kin);
}

.info-hero h1,
.policy-heading h1 {
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 1.12;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}

.info-hero h1 i {
  color: var(--shu-bright);
  font-style: normal;
  text-shadow: 0 0 30px rgba(224, 74, 44, 0.45);
}

.info-intro,
.policy-heading > p:last-child {
  max-width: 40em;
  margin: 28px 0 0;
  padding-left: 18px;
  color: var(--washi-dim);
  border-left: 1px solid var(--kin-line);
  font-family: var(--serif);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2.1;
}

.info-section {
  position: relative;
  display: grid;
  margin-bottom: 22px;
  padding: clamp(26px, 4vw, 54px);
  grid-template-columns: clamp(64px, 9vw, 120px) 1fr;
  gap: clamp(18px, 3vw, 44px);
  border: 1px solid var(--kin-faint);
  background: linear-gradient(135deg, rgba(30, 24, 21, 0.72), rgba(12, 10, 12, 0.72));
  backdrop-filter: blur(10px);
}

.info-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 48px;
  height: 48px;
  border-top: 2px solid var(--shu);
  border-left: 2px solid var(--shu);
}

.info-number {
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.9;
  -webkit-text-stroke: 1px var(--kin);
}

.info-section h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
}

.info-section > div:last-child > p:not(.info-kicker) {
  margin: 0;
  color: var(--washi-dim);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.1;
}

.usage-guide {
  display: grid;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: usage;
}

.usage-guide li {
  counter-increment: usage;
  position: relative;
  display: grid;
  padding: 18px 0 18px 50px;
  gap: 6px;
  border-bottom: 1px solid var(--kin-faint);
}

.usage-guide li::before {
  content: counter(usage, cjk-ideographic);
  position: absolute;
  top: 18px;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--washi);
  border: 1px solid var(--kin);
  background: var(--shu-deep);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.usage-guide b {
  color: var(--washi);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.06em;
}

.usage-guide p {
  margin: 0;
  color: var(--washi-dim);
  font-size: 14px;
  line-height: 1.9;
}

.commandments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.commandments article {
  position: relative;
  display: grid;
  min-height: 420px;
  padding: 34px 28px;
  grid-template-rows: auto 1fr;
  gap: 28px;
  border: 1px solid var(--kin-faint);
  background: linear-gradient(180deg, rgba(30, 24, 21, 0.78), rgba(12, 10, 12, 0.78));
  backdrop-filter: blur(10px);
  transition: transform 360ms var(--ease-out), border-color 300ms ease;
}

.commandments article:hover {
  border-color: var(--kin-line);
  transform: translateY(-4px);
}

.commandments article::after {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, var(--shu), transparent);
}

.commandments article > span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--washi);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--shu-bright), var(--shu-deep));
  box-shadow: 0 0 0 1px var(--kin), 0 0 0 6px rgba(11, 10, 16, 0.8), 0 0 0 7px var(--kin-line);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 800;
}

.commandments article div > p:first-child {
  margin: 0 0 14px;
  color: var(--kin);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
}

.commandments h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.35;
}

.commandments article div > p:last-child {
  margin: 0;
  color: var(--washi-dim);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
}

.policy-heading {
  margin-bottom: clamp(36px, 6vh, 64px);
}

.policy-list {
  margin: 0;
  border: 1px solid var(--kin-faint);
  background: linear-gradient(135deg, rgba(30, 24, 21, 0.72), rgba(12, 10, 12, 0.72));
  backdrop-filter: blur(10px);
}

.policy-list > div {
  display: grid;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3.4vw, 40px);
  grid-template-columns: minmax(160px, 0.34fr) 1fr;
  gap: 16px 40px;
  border-bottom: 1px solid var(--kin-faint);
}

.policy-list > div:last-child {
  border-bottom: 0;
}

.policy-list dt {
  color: var(--kin);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
}

.policy-list dd {
  margin: 0;
  color: var(--washi-dim);
  font-size: 14px;
  line-height: 2;
}

.policy-updated {
  margin: 22px 0 0;
  color: var(--washi-dim);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: right;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ───────────── 御神託帳（履歴） ───────────── */

.sheet {
  width: min(100% - 28px, 580px);
  max-height: min(84svh, 760px);
  margin: auto;
  padding: 0;
  color: var(--washi);
  border: 1px solid var(--kin-line);
  background:
    linear-gradient(180deg, rgba(29, 24, 21, 0.9), rgba(17, 14, 13, 0.94)),
    var(--washi-fiber),
    #110e0d;
  background-size: auto, 260px 260px, auto;
  box-shadow:
    inset 0 0 0 5px rgba(11, 10, 16, 0.7),
    inset 0 0 0 6px var(--kin-faint),
    0 40px 120px rgba(0, 0, 0, 0.7);
  overscroll-behavior: contain;
}

.sheet[open] {
  animation: sheet-in 420ms var(--ease-out);
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}

.sheet::backdrop {
  background: rgba(11, 10, 16, 0.78);
  backdrop-filter: blur(10px);
}

.sheet-inner {
  max-height: inherit;
  padding: clamp(26px, 5vw, 50px);
  overflow-y: auto;
}

.sheet-header {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
  justify-content: space-between;
}

.sheet-header p {
  margin: 0 0 12px;
  color: var(--kin);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.sheet-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 7vw, 54px);
  font-weight: 800;
  line-height: 1.12;
}

.sheet-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--washi);
  border: 1px solid var(--kin-line);
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}

.sheet-close:hover {
  border-color: var(--kin);
  background: var(--shu-deep);
}

.history-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: log;
  border-top: 1px solid var(--kin-line);
}

.history-list li {
  counter-increment: log;
  display: grid;
  padding: 14px 0;
  grid-template-columns: 44px 1fr auto;
  align-items: baseline;
  border-bottom: 1px solid var(--kin-faint);
}

.history-list li::before {
  content: counter(log, decimal-leading-zero);
  color: var(--shu-bright);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
}

.history-list li:first-child b {
  color: var(--kin-bright);
}

.history-list b {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.history-list time {
  color: var(--washi-dim);
  font-size: 11px;
}

.history-empty {
  padding: 42px 0;
  color: var(--washi-dim);
  border-top: 1px solid var(--kin-line);
  border-bottom: 1px solid var(--kin-faint);
  font-family: var(--serif);
  line-height: 1.9;
}

.text-button {
  margin-top: 24px;
  padding: 0 0 2px;
  color: var(--shu-bright);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.text-button:hover {
  color: var(--kin-bright);
}

.toast {
  position: fixed;
  z-index: 450;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  padding: 12px 22px;
  color: var(--washi);
  border: 1px solid var(--kin-line);
  background: rgba(20, 16, 14, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 320ms var(--ease-out);
}

.toast::before {
  content: "◆";
  margin-right: 10px;
  color: var(--shu-bright);
  font-size: 9px;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript-message {
  position: fixed;
  z-index: 500;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: fit-content;
  max-width: calc(100vw - 32px);
  margin: auto;
  padding: 12px 18px;
  color: var(--sumi);
  background: var(--kin);
  font-size: 12px;
}

/* ───────────── レスポンシブ ───────────── */

@media (max-width: 1100px) {
  .commandments {
    grid-template-columns: 1fr;
  }

  .commandments article {
    min-height: 0;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    align-items: start;
  }
}

@media (max-width: 899px) {
  :root {
    --header-height: 72px;
  }

  .wordmark {
    width: 150px;
  }

  .utility-nav {
    gap: 7px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .nav-label {
    height: 40px;
    padding: 0 14px;
  }

  .atmosphere-veil {
    background:
      linear-gradient(180deg, rgba(11, 10, 16, 0.86) 0%, rgba(11, 10, 16, 0.6) 30%, rgba(11, 10, 16, 0.05) 50%, rgba(11, 10, 16, 0.2) 72%, rgba(11, 10, 16, 0.9) 100%),
      radial-gradient(ellipse 140% 80% at 50% 55%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
  }

  .summoning-stage {
    display: flex;
    min-height: 100svh;
    padding: calc(var(--header-height) + 22px) var(--gutter) 0;
    flex-direction: column;
  }

  .stage-rail {
    display: none;
  }

  .title-block {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(2.5rem, 12.4vw, 4.4rem);
  }

  .title-row-b {
    padding-left: 1.2em;
  }

  .stage-lead {
    margin-top: 18px;
    padding-left: 12px;
    font-size: 12.5px;
    line-height: 1.95;
  }

  .stage-lead br {
    display: none;
  }

  .summon-rig {
    --bell: clamp(96px, 27vw, 128px);
    padding: 30px 0 8px;
  }

  .summon-plate {
    margin-top: 10px;
  }

  .category-console {
    padding: 10px 0 22px;
  }

  .category-status p {
    font-size: 12px;
  }

  .category-status span {
    font-size: 11px;
  }

  .category-status b {
    font-size: 18px;
  }

  .category-option {
    width: 50px;
    height: 118px;
  }

  .option-label {
    font-size: 14px;
  }

  .ticker {
    margin-top: auto;
  }

  .ticker-track span {
    font-size: 12px;
  }

  .reveal-close {
    margin-top: 14px;
    padding-right: 12px;
    letter-spacing: 0.2em;
  }

  .reveal-ghost {
    right: -2vw;
    font-size: min(30vh, 46vw);
    opacity: 0.5;
  }

  .oracle-kicker {
    gap: 12px;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
  }

  .oracle-topic {
    font-size: clamp(56px, 19vw, 110px);
  }

  .oracle-topic.long {
    font-size: clamp(40px, 12vw, 80px);
  }

  .oracle-command {
    gap: 10px;
  }

  .command-text {
    padding: 10px 18px;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .again-button {
    min-height: 58px;
    font-size: 16px;
  }



  .site-footer {
    grid-template-columns: 1fr;
    padding: 38px var(--gutter) max(38px, env(safe-area-inset-bottom));
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .info-section {
    grid-template-columns: 1fr;
  }

  .info-number {
    font-size: 56px;
  }

  .policy-list > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .wordmark {
    width: 132px;
  }

  .nav-label {
    padding: 0 12px;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .summon-plate {
    padding-right: 14px;
    gap: 10px;
  }

  .plate-mark {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }

  .plate-text em {
    font-size: 14px;
  }

  .commandments article {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 760px) and (min-width: 900px) {
  .summon-rig {
    --bell: clamp(96px, 8.6vw, 128px);
  }

  .category-option {
    height: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
