/* ══════════════════════════════════════════
   ほしのこみち style
   深い紺紫の夜 × 金の星 × キャンドル。怪しさ厳禁、魔法のような夜のサロン。
══════════════════════════════════════════ */
:root {
  --night: #0a0c1e;
  --night2: #171226;
  --panel: #171230f2;
  --ink: #f2ecdd;
  --ink-dim: #cdc6da;   /* 屋外スマホでも読める明度（旧#b9b2c9はコントラスト不足） */
  --gold: #ffd98d;
  --line: rgba(255, 217, 141, .25);
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  overflow: hidden;
  overscroll-behavior: none;
}
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
a { color: var(--gold); }

#world { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }

/* ────────── HUD ────────── */
.hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
.hud__top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  pointer-events: auto;
  background: linear-gradient(rgba(10, 12, 30, .75), transparent);
}
.hud__brand { font-family: var(--serif); font-size: 18px; letter-spacing: .12em; color: var(--gold); text-shadow: 0 0 12px rgba(255, 217, 141, .35); }
.hud__brand small { display: block; font-size: 9px; letter-spacing: .3em; color: var(--ink-dim); }
.hbtn {
  padding: 7px 12px; margin-left: 6px;
  border: 1px solid var(--line); border-radius: 20px;
  font-size: 12px; color: var(--ink);
  background: rgba(23, 18, 48, .6); backdrop-filter: blur(6px);
}
.hbtn.on { background: rgba(255, 217, 141, .18); border-color: var(--gold); }

/* 天幕前の案内（長押し） */
.prompt {
  position: absolute; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(16px);
  padding: 13px 26px; border-radius: 28px;
  background: rgba(23, 18, 48, .88); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--ink); font-size: 15px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  overflow: hidden; white-space: nowrap;
}
.prompt.on { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.prompt b { color: var(--gold); font-weight: 600; }
.prompt .key {
  display: inline-block; margin-right: 8px; padding: 1px 7px;
  border: 1px solid var(--line); border-radius: 5px; font-size: 12px; color: var(--gold);
}
.prompt__fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: rgba(255, 217, 141, .16); pointer-events: none;
}

/* バーチャルスティック */
.stick {
  position: fixed; left: 18px; bottom: calc(26px + env(safe-area-inset-bottom));
  width: 110px; height: 110px; border-radius: 50%;
  border: 1px solid rgba(255, 217, 141, .25);
  background: rgba(23, 18, 48, .3); z-index: 6;
  opacity: .55; transition: opacity .2s;
}
.stick.on { opacity: .9; }
.stick__knob {
  position: absolute; left: 50%; top: 50%; margin: -24px 0 0 -24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 217, 141, .28); border: 1px solid rgba(255, 217, 141, .4);
}

/* ────────── イントロ ────────── */
.intro {
  position: fixed; inset: 0; z-index: 20;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 24px;
  background: #0a0c1e;
  transition: opacity .6s;
}
.intro::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 30%, rgba(38, 28, 76, .5), rgba(10, 12, 30, .88) 72%);
}
.intro::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url(../assets/img/hall.jpg) center 30% / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
}
.intro.off { opacity: 0; pointer-events: none; }
.intro__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 9vw, 56px); letter-spacing: .18em;
  color: var(--gold); text-shadow: 0 0 26px rgba(255, 217, 141, .4);
}
.intro__sub { margin-top: 12px; font-size: 14px; color: var(--ink-dim); letter-spacing: .1em; font-family: var(--serif); }
.intro__ctrl { margin-top: 26px; font-size: 12.5px; line-height: 2; color: var(--ink-dim); }
.intro__ctrl b { color: var(--ink); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; margin: 0 2px; white-space: nowrap; display: inline-block; }
.intro__ctrl .nw { white-space: nowrap; display: inline-block; }
.intro__title, .intro__sub, .intro__ctrl, .intro__go, .intro__list { position: relative; z-index: 1; }
.intro__go {
  margin-top: 30px; padding: 15px 52px;
  font-family: var(--serif); font-size: 17px; letter-spacing: .22em;
  color: var(--night); background: linear-gradient(160deg, #ffe4a8, #f0c268);
  border-radius: 32px; box-shadow: 0 4px 26px rgba(255, 217, 141, .35);
}
.intro__list { margin-top: 16px; font-size: 13px; color: var(--ink-dim); text-decoration: underline; }

/* ────────── モーダル（案内図） ────────── */
.modal {
  position: fixed; inset: 0; z-index: 30;
  display: flex; justify-content: center; align-items: flex-end;
  background: rgba(6, 7, 18, .6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal.on { opacity: 1; pointer-events: auto; }
.modal__card {
  width: min(680px, 100%); max-height: 86dvh; overflow-y: auto;
  background: var(--panel); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 22px 22px 0 0;
  padding: 22px 18px calc(26px + env(safe-area-inset-bottom));
}
.modal__card h2 { font-family: var(--serif); font-size: 18px; color: var(--gold); letter-spacing: .12em; margin-bottom: 14px; text-align: center; }
.m-close { position: sticky; top: 0; float: right; font-size: 22px; color: var(--ink-dim); padding: 2px 10px; }

/* 占い師カード（案内図・フォールバック共用） */
.dgrid, .flat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.dcard {
  display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto auto;
  gap: 2px 14px; align-items: center; text-align: left;
  padding: 13px; border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
  transition: transform .15s, border-color .15s;
}
.dcard:hover { transform: translateY(-2px); border-color: var(--c, var(--gold)); }
.dcard img {
  grid-row: 1/4; width: 74px; height: 74px; object-fit: cover;
  border-radius: 50%; border: 2px solid var(--c, var(--gold));
}
.dcard b { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.dcard__art { font-size: 12px; color: var(--c, var(--gold)); }
.dcard__chip {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  border-radius: 9px; font-size: 10px; font-family: var(--sans); font-weight: 500;
  color: var(--night); background: var(--c, var(--gold)); vertical-align: 2px;
}
.dcard__art small { color: var(--ink-dim); margin-left: 6px; }
.dcard__copy { font-size: 11.5px; color: var(--ink-dim); line-height: 1.5; }

/* ────────── フォールバック（平面） ────────── */
.flat__page { display: none; }
body.flat .flat__page {
  display: block; position: fixed; inset: 0; overflow-y: auto; z-index: 8;
  padding: 40px 18px 80px;
}
body.flat #world, body.flat .hud, body.flat .intro { display: none; }
.flat__page h1 { font-family: var(--serif); text-align: center; color: var(--gold); letter-spacing: .16em; margin-bottom: 6px; }
.flat__page > p { text-align: center; color: var(--ink-dim); font-size: 13px; margin-bottom: 24px; }

/* ────────── 占いダイアログ ────────── */
.dlg {
  position: fixed; inset: 0; z-index: 40;
  display: flex; justify-content: center; align-items: flex-end;
  background: rgba(6, 7, 18, .68); backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.dlg.on { opacity: 1; pointer-events: auto; }
.dlg__card {
  width: min(620px, 100%); max-height: 92dvh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1d1738f5, #120e26f8);
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  transform: translateY(24px); transition: transform .3s;
}
.dlg.on .dlg__card { transform: none; }
.dlg__head {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 217, 141, .14);
}
.dlg__head img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 50%;
  border: 2px solid var(--c, var(--gold));
  box-shadow: 0 0 18px color-mix(in srgb, var(--c, #ffd98d) 45%, transparent);
}
.dlg__head img.noimg { visibility: hidden; }
.dlg__head b { display: block; font-family: var(--serif); font-size: 19px; letter-spacing: .1em; }
.dlg__head span { font-size: 12px; color: var(--c, var(--gold)); }
.dlg__close { margin-left: auto; font-size: 24px; color: var(--ink-dim); padding: 4px 10px; }
.dlg__body { padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
.dlg__body.fadein { animation: fadein .4s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }

.dlg__say {
  font-family: var(--serif); font-size: 15px; line-height: 2;
  color: var(--ink); margin-bottom: 16px;
  padding-left: 14px; border-left: 2px solid var(--c, var(--gold));
}
.dlg__loading { color: var(--ink-dim); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.dlg__privacy { font-size: 12px; color: var(--ink-dim); margin: 10px 0 4px; }
.err { color: #ff9f9f; font-size: 13px; margin-top: 10px; }

.dlg__next, .dlg__again {
  display: block; width: 100%; margin-top: 16px;
  padding: 15px; border-radius: 14px;
  font-size: 15px; letter-spacing: .1em; font-weight: 600;
  color: var(--night); background: linear-gradient(160deg, #ffe4a8, #f0c268);
  box-shadow: 0 3px 18px rgba(255, 217, 141, .25);
}
.dlg__again { background: none; color: var(--ink-dim); box-shadow: none; border: 1px solid var(--line); font-weight: 400; }
.dlg__next[style*="--d"] { animation: fadein .5s ease both; animation-delay: var(--d); }

/* 選択肢 */
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt {
  padding: 16px 10px; border-radius: 14px; font-size: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--gold); background: rgba(255, 217, 141, .08); }

/* 生年月日 */
.bsel { display: flex; gap: 8px; align-items: flex-end; margin-top: 4px; }
.bsel label { display: flex; align-items: center; gap: 5px; }
.bsel select {
  padding: 12px 10px; border-radius: 10px; font-size: 16px;
  background: #241d45; color: var(--ink); border: 1px solid var(--line);
}
.bsel span { font-size: 13px; color: var(--ink-dim); }
.bsel--time { margin-top: 12px; }
.bsel__cap { font-size: 12px; color: var(--ink-dim); margin-right: 8px; }
.tin { display: block; margin-top: 14px; }
.tin span { display: block; font-size: 12px; color: var(--ink-dim); margin-bottom: 5px; }
.tin input {
  width: 100%; padding: 13px 14px; border-radius: 10px; font-size: 16px;
  background: #241d45; color: var(--ink); border: 1px solid var(--line);
}
.nmin { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stin { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.stin__c { text-align: center; }
.stin__c b { display: block; font-family: var(--serif); font-size: 22px; margin-bottom: 5px; }
.stin__c input {
  width: 64px; padding: 9px 6px; text-align: center; font-size: 16px;
  background: #241d45; color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
}
.stin__c input[readonly] { opacity: .55; }

/* 儀式演出 */
.ritual { position: relative; height: 130px; margin: 8px 0; }
.ritual__orb {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--c, #ffd98d) 55%, transparent 75%);
  box-shadow: 0 0 40px var(--c, #ffd98d), 0 0 90px color-mix(in srgb, var(--c, #ffd98d) 55%, transparent);
  animation: orb 1.5s ease-in-out infinite;
}
@keyframes orb { 50% { transform: translate(-50%, -56%) scale(1.12); } }
.ritual__s { position: absolute; color: var(--gold); animation: twk 1.4s infinite; }
.ritual__s.s1 { left: 28%; top: 22%; }
.ritual__s.s2 { left: 68%; top: 60%; animation-delay: .4s; }
.ritual__s.s3 { left: 55%; top: 12%; animation-delay: .8s; }
@keyframes twk { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }

/* タロット */
.tarot__cap { text-align: center; font-size: 13px; color: var(--ink-dim); margin-bottom: 12px; }
.tarot__cap b { color: var(--gold); font-size: 16px; }
.tarot { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tcard {
  aspect-ratio: 2/3; border-radius: 9px;
  background: linear-gradient(150deg, #2b2154, #1a1438);
  background-image: url(../assets/tarot/back.jpg), linear-gradient(150deg, #2b2154, #1a1438);
  background-size: cover; background-position: center;
  border: 1px solid rgba(255, 217, 141, .35);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 217, 141, .6); font-size: 18px;
  animation: dealin .4s ease both; animation-delay: var(--d);
  transition: transform .18s, box-shadow .18s;
}
@keyframes dealin { from { opacity: 0; transform: translateY(-14px) rotate(4deg); } }
.tcard:hover { transform: translateY(-5px); }
.tcard.sel {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 20px rgba(255, 217, 141, .5);
  border-color: var(--gold); color: var(--gold);
}
.reveal { display: flex; gap: 12px; justify-content: center; margin: 6px 0 4px; }
.rcard { text-align: center; flex: 1; max-width: 130px; animation: fadein .6s ease both; animation-delay: var(--d); }
.rcard__pos { display: block; font-size: 11px; color: var(--ink-dim); margin-bottom: 6px; letter-spacing: .2em; }
.rcard__face {
  position: relative; overflow: hidden;
  aspect-ratio: 2/3; border-radius: 11px;
  background: linear-gradient(165deg, #322762, #191340);
  border: 1px solid var(--c, var(--gold));
  box-shadow: 0 0 22px color-mix(in srgb, var(--c, #ffd98d) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; margin-bottom: 8px;
  animation: flip .7s ease both; animation-delay: var(--d);
}
@keyframes flip { from { transform: rotateY(90deg); } }
.rcard__face.rev span { display: inline-block; transform: rotate(180deg); }
.rcard__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcard__face.rev .rcard__art { transform: rotate(180deg); }
.rcard__rank {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-style: normal; font-family: var(--serif);
  font-size: 11px; color: var(--gold); letter-spacing: .06em;
  background: rgba(10, 12, 30, .78); border: 1px solid var(--line);
  border-radius: 8px; padding: 1px 8px; white-space: nowrap;
}
.rcard__face.rev .rcard__rank { top: auto; bottom: 6px; }

/* ルーン石（画像＋グリフ重ね） */
.stone {
  position: relative; display: block; width: 130px; margin: 2px auto 12px;
}
.stone img { width: 100%; border-radius: 16px; display: block; }
.stone b {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: #ffe9c4;
  text-shadow: 0 0 14px rgba(255, 217, 141, .9), 0 0 34px rgba(255, 217, 141, .5);
}
.stone--rev b { transform: rotate(180deg); }
.stone.noimg { width: auto; }
.stone.noimg b { position: static; }
.rcard b { font-family: var(--serif); font-size: 13.5px; display: block; }
.rcard small { color: var(--ink-dim); font-size: 11px; }

/* 結果 */
.result__hl {
  font-family: var(--serif); font-size: 21px; line-height: 1.6;
  color: var(--gold); letter-spacing: .04em;
  margin: 4px 0 16px; text-align: center;
}
.rblk { margin-bottom: 16px; padding: 15px 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 217, 141, .13); }
.rblk h3 { font-family: var(--serif); font-size: 14.5px; color: var(--c, var(--gold)); margin-bottom: 8px; letter-spacing: .04em; }
.rblk p { font-size: 14px; line-height: 1.95; color: var(--ink); }
.rblk .kw { display: block; font-style: normal; font-size: 12px; color: var(--ink-dim); margin-bottom: 6px; letter-spacing: .08em; }
.result__note { font-size: 12px; color: var(--ink-dim); line-height: 1.8; margin-bottom: 14px; }

/* 命式・五格の表 */
.msrow { display: flex; gap: 8px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }
.ms {
  display: flex; flex-direction: column; align-items: center;
  padding: 9px 13px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.ms small { font-size: 10px; color: var(--ink-dim); }
.ms b { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.ms i { font-style: normal; font-size: 10.5px; color: var(--c, var(--gold)); }
.ms--day { border-color: var(--c, var(--gold)); background: color-mix(in srgb, var(--c, #ffd98d) 12%, transparent); }

/* シェア */
.shr { display: flex; gap: 10px; margin: 4px 0 18px; }
.shr__btn {
  flex: 1; text-align: center; padding: 13px 8px; border-radius: 12px;
  font-size: 13.5px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
}
.shr__btn--x { border-color: rgba(255, 255, 255, .3); }

/* CTA（PR表記必須） */
.cta { position: relative; margin-bottom: 18px; padding: 16px; border-radius: 16px; background: linear-gradient(165deg, rgba(255, 217, 141, .1), rgba(255, 217, 141, .03)); border: 1px solid rgba(255, 217, 141, .3); }
.cta__pr {
  position: absolute; top: 10px; right: 12px;
  font-size: 10px; letter-spacing: .1em; color: var(--night);
  background: var(--gold); border-radius: 4px; padding: 2px 7px; font-weight: 700;
}
.cta__lead { font-family: var(--serif); font-size: 14px; line-height: 1.9; margin-bottom: 12px; padding-right: 34px; }
.cta__box b { font-size: 15px; color: var(--gold); }
.cta__box p { font-size: 12.5px; color: var(--ink-dim); line-height: 1.8; margin: 6px 0 12px; }
.cta__btn {
  display: block; text-align: center; padding: 14px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .08em;
  color: var(--night); background: linear-gradient(160deg, #ffe4a8, #f0c268);
  box-shadow: 0 3px 18px rgba(255, 217, 141, .3);
}
.cta__soon { display: block; text-align: center; padding: 12px; font-size: 13px; color: var(--ink-dim); border: 1px dashed var(--line); border-radius: 12px; }

/* クロス紹介 */
.reco { margin-bottom: 6px; }
.reco__cap { font-size: 12px; color: var(--ink-dim); margin-bottom: 10px; text-align: center; }
.reco__btn {
  display: block; width: 100%; text-align: left;
  padding: 12px 14px; margin-bottom: 8px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}
.reco__btn:hover { border-color: var(--c, var(--gold)); }
.reco__btn b { font-family: var(--serif); font-size: 14px; color: var(--c, var(--gold)); display: block; }
.reco__btn span { font-size: 11.5px; color: var(--ink-dim); }

/* フェード */
.fade { position: fixed; inset: 0; background: #06050f; opacity: 0; pointer-events: none; transition: opacity .32s; z-index: 60; }
.fade.on { opacity: 1; }

/* result.html 単体ページ */
body.rpage { overflow: auto; }
.rpage__wrap { max-width: 620px; margin: 0 auto; padding: 34px 18px 70px; }
.rpage__hero { margin: -10px 0 22px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.rpage__hero img { width: 100%; display: block; }
.reveal--static { margin-bottom: 4px; }
.rpage__site { text-align: center; font-family: var(--serif); color: var(--gold); letter-spacing: .18em; font-size: 20px; margin-bottom: 4px; }
.rpage__sub { text-align: center; font-size: 11.5px; color: var(--ink-dim); letter-spacing: .1em; margin-bottom: 26px; }
.rpage__head { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 18px; }
.rpage__head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--c, var(--gold)); box-shadow: 0 0 22px color-mix(in srgb, var(--c, #ffd98d) 40%, transparent); }
.rpage__head b { display: block; font-family: var(--serif); font-size: 18px; }
.rpage__head span { font-size: 12px; color: var(--c, var(--gold)); }
.rpage__go {
  display: block; text-align: center; margin-top: 26px; padding: 16px;
  border-radius: 14px; text-decoration: none; font-weight: 700; letter-spacing: .1em;
  color: var(--night); background: linear-gradient(160deg, #ffe4a8, #f0c268);
  box-shadow: 0 4px 22px rgba(255, 217, 141, .3);
}
.rpage__foot { margin-top: 34px; text-align: center; font-size: 11px; color: var(--ink-dim); line-height: 2; }
.rpage__foot a { color: var(--ink-dim); }

@media (max-width: 480px) {
  .tarot { grid-template-columns: repeat(4, 1fr); }
  .opts { grid-template-columns: 1fr; }
  .bsel select { font-size: 15px; padding: 11px 7px; }
}

/* 動きに弱い人向け（ハブ側のUIアニメ） */
@media (prefers-reduced-motion: reduce) {
  .tcard, .rcard, .rcard__face, .ritual__orb, .ritual__s, .dlg__card, .modal, .intro {
    animation: none !important;
    transition: none !important;
  }
}
