.uhero { text-align:center; padding:22px 0 2px; }
.uhero .mascot { width:min(400px, 80vw); height:auto; }
.uhero h1 { font-size:38px; margin:10px 0 4px; letter-spacing:.02em; }
.uhero .catch { color:var(--acc-deep); font-weight:800; font-size:17px; margin:0; }
.sectlabel { text-align:center; font-weight:800; color:#1F4D2E; margin:22px 0 0; font-size:16px; }
.tellers { display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; margin-top:10px; }
.teller { border:2px solid #ead9bd; border-radius:14px; background:#fff; padding:8px 6px 10px; text-align:center; cursor:pointer; transition:border-color .2s, box-shadow .2s, transform .2s; }
.teller img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:10px; display:block; }
.teller .tname { font-weight:800; margin-top:6px; font-size:15px; }
.teller .tlabel { font-size:11px; color:var(--mut); margin-top:1px; }
.teller.sel { border-color:#1F4D2E; box-shadow:0 0 0 3px rgba(31,77,46,.3); background:#eef4ea; }
.drawbtn { margin-top:18px; width:100%; background:var(--acc-grad,linear-gradient(135deg,#ff9a3d,#f06423)); background-color:#f06423; color:#fff; border:none; border-radius:999px; padding:15px; font-size:18px; font-weight:800; cursor:pointer; }
.againbtn { margin-top:14px; width:100%; background:#fff; color:var(--acc-deep); border:2px solid var(--acc); border-radius:999px; padding:11px; font-size:15px; font-weight:800; cursor:pointer; }
.omakase { margin-top:10px; text-align:center; }
.omakase button { width:auto; background:none; border:none; color:var(--mut); font-size:13px; text-decoration:underline; cursor:pointer; box-shadow:none; padding:4px 8px; }
.stageguide { margin-top:20px; font-weight:800; color:#1F4D2E; text-align:center; line-height:1.7; min-height:3.4em; }
.deckzone { display:flex; justify-content:center; align-items:flex-start; margin-top:6px; min-height:196px; }
.deck { position:relative; width:104px; aspect-ratio:7/12; }
.deck img { position:absolute; inset:0; width:100%; height:100%; border-radius:7px; box-shadow:0 3px 8px rgba(38,34,31,.25); display:block; }
.deck img.l2 { transform:translate(5px,-5px); }
.deck img.l3 { transform:translate(10px,-10px); }
.deck.shuffling { animation:shuffle .46s ease-in-out 3; }
@keyframes shuffle { 0%{transform:translateX(0) rotate(0deg)} 25%{transform:translateX(-13px) rotate(-4deg)} 55%{transform:translateX(11px) rotate(3deg)} 100%{transform:translateX(0) rotate(0deg)} }
.piles { display:flex; gap:22px; justify-content:center; }
.pile { width:104px; aspect-ratio:7/12; cursor:pointer; transition:transform .35s, opacity .35s; }
.pile img { width:100%; height:100%; border-radius:7px; box-shadow:0 3px 8px rgba(38,34,31,.25); display:block; }
.pile:hover { transform:translateY(-8px); }
.piles.restack .pile { opacity:.25; transform:scale(.94); }
.piles.restack .pile.chosen { opacity:1; transform:scale(1.06); }
.slots { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:12px; }
.slot { text-align:center; width:160px; }
.slotlabel { font-weight:800; font-size:13px; color:#1F4D2E; margin-bottom:8px; }
.slotcard { perspective:600px; opacity:0; transform:translateY(-42px) scale(.72); }
.slotcard.dealt { opacity:1; transform:none; transition:opacity .45s ease, transform .45s ease; cursor:pointer; }
.slotcard.open { cursor:default; }
.slotcard .inner { position:relative; width:100%; aspect-ratio:7/12; transform-style:preserve-3d; transition:transform .6s; }
.slotcard.flipped .inner { transform:rotateY(180deg); }
.slotcard .face { position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden; border-radius:8px; overflow:hidden; box-shadow:0 3px 10px rgba(38,34,31,.18); }
.slotcard .face img { width:100%; height:100%; display:block; object-fit:cover; }
.slotcard .front { transform:rotateY(180deg); }
.slotcard .front img.rev { transform:rotate(180deg); }
.slotcap { font-weight:800; font-size:13px; margin-top:8px; color:#1F4D2E; min-height:2.6em; }
.slotcap .kw { display:block; font-weight:400; font-size:12px; color:var(--mut); margin-top:2px; }
.promptbox { margin-top:24px; border:2px solid #1F4D2E; border-radius:12px; background:#fffdf8; padding:20px 16px; text-align:center; }
.promptbox .pb-title { font-weight:800; font-size:17px; color:#1F4D2E; }
.promptbox .pb-text { font-size:13px; color:var(--mut); margin:6px 0 0; }
.copybig { margin-top:14px; width:100%; background:var(--acc-grad,linear-gradient(135deg,#ff9a3d,#f06423)); background-color:#f06423; color:#fff; border:none; border-radius:999px; padding:14px; font-size:16px; font-weight:800; cursor:pointer; }
.ailinks { margin-top:12px; display:flex; gap:10px; }
.ailinks a { flex:1; text-align:center; font-size:14px; font-weight:800; color:var(--acc-deep); border:2px solid var(--acc); border-radius:999px; padding:10px 6px; text-decoration:none; background:#fff; }
.usage-steps { margin:6px 0 0; padding-left:20px; line-height:1.9; }
.countline { margin-top:12px; font-size:12px; color:var(--mut); text-align:right; }
.fineprint { font-size:12px; color:var(--mut); line-height:1.7; margin-top:16px; }
.uranai-footer { text-align:center; padding:24px 10px 34px; color:var(--mut); font-size:13px; }
.uranai-footer .fname { font-weight:800; color:#26221F; margin-bottom:8px; font-size:15px; }
.uranai-footer a { margin:0 8px; }
[hidden] { display:none !important; }
@media (max-width:640px){
.uhero h1 { font-size:29px; }
.uhero .catch { font-size:15px; }
.slot { width:29vw; }
.deck { width:84px; }
.pile { width:84px; }
.piles { gap:14px; }
.deckzone { min-height:158px; }
.slots { gap:10px; }
}

/* 占い師の雰囲気づくり（ステージ＆結果） */
.stagewho { display:flex; align-items:center; justify-content:center; gap:10px; margin:2px 0 10px; font-weight:900; color:#1F4D2E; font-size:15px; }
.stagewho img { width:48px; height:48px; border-radius:50%; object-fit:cover; object-position:top center; border:2px solid #1F4D2E; background:#fff; }
.pb-head { display:flex; gap:12px; align-items:flex-start; text-align:left; }
.pb-avatar { width:80px; height:80px; border-radius:50%; object-fit:cover; object-position:top center; border:3px solid #1F4D2E; background:#fff; flex:none; }
.pb-bubble { position:relative; flex:1; background:#fff; border:2px solid #ead9bd; border-radius:14px; padding:10px 14px 12px; }
.pb-bubble::before { content:""; position:absolute; left:-12px; top:30px; border-width:6px 12px 6px 0; border-style:solid; border-color:transparent #ead9bd transparent transparent; }
.pb-bubble::after { content:""; position:absolute; left:-8px; top:31px; border-width:5px 10px 5px 0; border-style:solid; border-color:transparent #fff transparent transparent; }
.pb-bubble .pb-text { font-size:13.5px; color:#4a4238; line-height:1.6; }

/* スマホ：カードを横一列に収め、結果ボックスをコンパクトに */
@media (max-width:640px){
.slot { width:24.5vw; }
.slotcap { font-size:12px; }
.slotcap .kw { font-size:11px; }
.promptbox { padding:14px 12px; margin-top:16px; }
.pb-avatar { width:62px; height:62px; }
.pb-bubble .pb-text { font-size:12.5px; }
.copybig { padding:12px; font-size:15px; }
}

/* 画面遷移フロー */
.startbtn { display:block; max-width:420px; margin:20px auto 0; }
.steps { display:flex; justify-content:center; align-items:center; gap:8px; margin:22px 0 6px; font-size:13px; font-weight:800; color:var(--mut); }
.steps .on { color:var(--acc-deep); }
.steps .sep { color:#d8c49a; font-weight:400; }
.backlink { display:block; width:fit-content; margin:18px auto 0; background:#fff; border:2px solid #d8c49a; border-radius:999px; color:#4a4238; font-size:14px; font-weight:700; padding:10px 24px; cursor:pointer; box-shadow:none; }
.tellerchip { display:flex; align-items:center; gap:10px; background:#FFF8EC; border:1.5px dashed #d8c49a; border-radius:999px; padding:6px 16px 6px 6px; margin-bottom:14px; font-weight:800; color:#1F4D2E; }
.tellerchip img { width:38px; height:38px; border-radius:50%; object-fit:cover; object-position:top center; border:2px solid #1F4D2E; background:#fff; }
.tellerchip .chipnote { font-weight:400; color:var(--mut); font-size:13px; }

/* 細い共通ヘッダー */
.miniheader { display:flex; justify-content:space-between; align-items:center; gap:10px; max-width:880px; margin:0 auto; padding:8px 14px 2px; }
.miniheader .mh-home { font-weight:900; font-size:13.5px; color:#1F4D2E; text-decoration:none; white-space:nowrap; }
.miniheader nav { display:flex; gap:8px; }
.miniheader nav a { font-size:12px; font-weight:700; color:#7a6a52; border:1.5px solid #e3d3ae; background:#fff; border-radius:999px; padding:4px 12px; text-decoration:none; white-space:nowrap; }

/* 館カード（入口ページ） */
.hallcards { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:14px; }
.hallcard { display:block; border:2px solid #ead9bd; border-radius:16px; background:#fff; padding:12px 10px 14px; text-align:center; text-decoration:none; color:#26221F; transition:border-color .2s, box-shadow .2s; }
.hallcard:hover { border-color:var(--acc); box-shadow:0 0 0 3px rgba(232,93,31,.22); }
.hallcard img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:12px; display:block; }
.hallcard .hname { font-weight:900; font-size:18px; color:#1F4D2E; margin-top:8px; }
.hallcard .hdesc { font-size:12.5px; color:var(--mut); margin-top:3px; line-height:1.6; }
.hallcard .hgo { display:inline-block; margin-top:8px; font-size:13px; font-weight:800; color:var(--acc-deep); border:2px solid var(--acc); border-radius:999px; padding:5px 16px; }
.uhero .allstars { width:min(780px, 94vw); height:auto; }
@media (max-width:640px){
.hallcards { grid-template-columns:1fr; }
.hallcard { display:flex; gap:12px; text-align:left; align-items:center; }
.hallcard img { width:96px; flex:none; }
.hallcard .hgo { margin-top:6px; }
}

/* ルーンの石 */
.bag { display:flex; flex-wrap:wrap; gap:9px; justify-content:center; margin-top:14px; }
.stone { width:56px; height:68px; border-radius:46% 54% 52% 48% / 42% 44% 56% 58%; background:radial-gradient(circle at 35% 28%, #ffffff, #e7dfc9 78%); border:2px solid #26221F; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .18s, box-shadow .18s; box-shadow:0 3px 7px rgba(38,34,31,.18); }
.stone .dia { width:11px; height:11px; background:#26221F; transform:rotate(45deg); border-radius:2px; opacity:.85; }
.stone:hover { transform:translateY(-4px); }
.stone.picked { box-shadow:0 0 0 3px var(--acc), 0 8px 14px rgba(38,34,31,.22); transform:translateY(-5px); }
.rslots { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:12px; }
.rslot { text-align:center; width:124px; }
.rflip { perspective:600px; opacity:0; transform:translateY(-30px) scale(.8); }
.rflip.dealt { opacity:1; transform:none; transition:opacity .4s ease, transform .4s ease; cursor:pointer; }
.rflip.open { cursor:default; }
.rflip .rinner { position:relative; width:104px; height:128px; margin:0 auto; transform-style:preserve-3d; transition:transform .6s; }
.rflip.flipped .rinner { transform:rotateY(180deg); }
.rface { position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden; border-radius:46% 54% 52% 48% / 42% 44% 56% 58%; border:2.5px solid #26221F; background:radial-gradient(circle at 35% 28%, #ffffff, #e7dfc9 78%); display:flex; align-items:center; justify-content:center; box-shadow:0 4px 10px rgba(38,34,31,.2); }
.rface.front { transform:rotateY(180deg); }
.rface .dia { width:13px; height:13px; background:#26221F; transform:rotate(45deg); border-radius:2px; opacity:.85; }
.slotcap .kw { display:block; font-weight:400; font-size:12px; color:var(--mut); margin-top:2px; }
@media (max-width:640px){
.stone { width:15vw; height:18.5vw; max-width:60px; max-height:74px; }
.rslot { width:29vw; }
.rflip .rinner { width:24.5vw; height:30vw; }
}

/* 数秘術 */
.birthRow { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.birthRow input[type=number] { width:104px; text-align:center; }
.birthRow select { width:78px; text-align:center; }
.nums { display:flex; gap:18px; justify-content:center; flex-wrap:wrap; margin:8px 0 2px; }
.numcard2 { width:140px; text-align:center; }
.numcircle { width:104px; height:104px; margin:0 auto; border-radius:50%; border:3px solid #1F4D2E; background:#FFF8EC; display:flex; align-items:center; justify-content:center; font-size:47px; font-weight:900; color:#1F4D2E; box-shadow:0 0 0 6px rgba(31,77,46,.12); animation:numpop .6s ease both; }
@keyframes numpop { from { transform:scale(.4); opacity:0; } to { transform:scale(1); opacity:1; } }
.numcard2 .nlabel { margin-top:9px; font-size:12px; color:var(--mut); }
.numcard2 .nkw { font-size:14.5px; font-weight:800; color:#1F4D2E; margin-top:2px; }
.calcnote { text-align:center; color:var(--mut); font-size:12.5px; margin-top:10px; }
.uhero .logoh1 { margin:8px 0 2px; }
.uhero .logoimg { width:min(430px, 86vw); height:auto; }
.uhero .heroh1 { margin:4px 0 2px; }
.uhero .heroimg { width:min(900px, 96vw); max-width:100%; height:auto; display:block; margin:0 auto; }
.uhero.mini { padding:8px 0 0; }
.uhero .mascot.sm { width:104px; height:104px; }
.uhero.mini h1 { font-size:27px; margin:6px 0 2px; }

/* ホバー反応の統一（入口の館カードと同じ、枠がオレンジに光る動き） */
.teller:hover { border-color:var(--acc); box-shadow:0 0 0 3px rgba(232,93,31,.22); transform:translateY(-3px); }
.slotcard.dealt:not(.open):hover { transform:translateY(-6px); }
.slotcard.dealt:not(.open):hover .face { box-shadow:0 0 0 3px var(--acc), 0 10px 18px rgba(38,34,31,.25); }
.rflip.dealt:not(.open):hover { transform:translateY(-6px); }
.rflip.dealt:not(.open):hover .rface { box-shadow:0 0 0 3px var(--acc), 0 10px 18px rgba(38,34,31,.25); }
.pile:hover img { box-shadow:0 0 0 3px var(--acc), 0 10px 18px rgba(38,34,31,.3); }
.stone:hover { box-shadow:0 0 0 3px rgba(232,93,31,.4), 0 8px 14px rgba(38,34,31,.22); }
.drawbtn:hover { filter:brightness(1.06); }
.drawbtn:active { transform:scale(.99); }
.backlink:hover { border-color:var(--acc); color:var(--acc); }
.startimg { width:auto; background:none; background-image:none; box-shadow:none; border:0; border-radius:0; cursor:pointer; display:block; margin:18px auto 6px; padding:0; transition:transform .18s ease; }
.startimg img { width:min(400px, 80vw); height:auto; display:block; margin:0 auto; transition:filter .18s ease; }
.startimg:hover { transform:translateY(-3px) scale(1.02); filter:none; box-shadow:none; }
.startimg:active { transform:scale(.98); box-shadow:none; }
