/* The familiar daily icons and rating stars are deliberately unchanged. */
.hero-choose{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:16px;min-height:42px;margin:9px auto 1px;padding:6px 24px;border:1px solid #ccb58370;border-radius:30px;background:linear-gradient(125deg,#35455a,#172b43);color:#f3e3bf;font:600 14px/1.5 "Yu Mincho",serif;letter-spacing:.08em;box-shadow:inset 0 1px #fff3cb1a,0 5px 15px #07122355;cursor:pointer}
.hero-choose span{font-size:18px;animation:chooseDirection 3s ease-in-out infinite}
@keyframes chooseDirection{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}
#homePortal{scroll-margin-top:24px}
.hero-choose:focus-visible,.sky-reading-link:focus-visible{outline:2px solid #e8d4a5;outline-offset:3px}
.home-date-row{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}
.shared-birth-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;max-width:700px;margin:0 auto 14px}
.shared-birth-row .shared-birth{margin:0;max-width:none}
.sky-reading-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:4px 10px;border:1px solid #ae9fca70;border-radius:7px;background:linear-gradient(125deg,#334257,#25334d);color:#e9dff1;font:500 12px/1.45 "Yu Gothic",sans-serif;text-decoration:none;white-space:nowrap;vertical-align:middle}
.sky-reading-link[hidden]{display:none!important}
.sky-reading-link::before{content:"3D";display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #d6bc8377;border-radius:50%;font:700 10px/1 sans-serif;color:#ebd8af;box-shadow:inset 0 0 7px #d6bc831c}
.shared-birth-row>.sky-reading-link{align-self:stretch;flex-direction:column;gap:3px;min-width:58px;font-size:11px;padding:6px 9px}
#quickResult .quick-date{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#quickResult .quick-profile-slim{border:0;border-bottom:1px solid #a8b8cc30;border-radius:0;background:transparent;padding-bottom:10px}
.quick-profile-source .sky-reading-link,.hcb-chips .sky-reading-link,.sec-tag .sky-reading-link{margin:3px 0 3px 6px;padding:2px 8px;min-height:32px;font-size:11px}
.quick-profile-source .sky-reading-link::before,.hcb-chips .sky-reading-link::before,.sec-tag .sky-reading-link::before{width:22px;height:22px}
body:not(.theme-pop) #quickResult .quick-glance{border-left:3px solid #d7bd82;background:linear-gradient(110deg,#334763,#1c2e49);box-shadow:0 7px 18px #06132333}
body:not(.theme-pop) #quickResult .luck-card-sogo{border:1px solid #cbb17680;border-left:3px solid #d9bb7d;background:linear-gradient(110deg,#2e405a,#192d48);margin-bottom:10px;box-shadow:inset 0 1px #f1d9a712}
body:not(.theme-pop) #quickResult .luck-grid{border:1px solid #a7b6c52b;border-radius:11px;background:linear-gradient(130deg,#172b44,#12243a);overflow:hidden;margin-bottom:10px}
body:not(.theme-pop) #quickResult .luck-grid .luck-card{border:0;border-bottom:1px solid #a7b6c52b;border-radius:0;background:transparent;margin:0;box-shadow:none}
body:not(.theme-pop) #quickResult .luck-grid .luck-card:last-child{border-bottom:0}
#quickResult .luck-card>summary{min-height:53px;box-sizing:border-box}
body:not(.theme-pop) #quickResult .luck-grid .luck-card[open]{background:#29405b66;box-shadow:inset 2px 0 #c7b28588}
body:not(.theme-pop) #quickResult .luck-open{border-top:1px solid #a7b6c529}
body:not(.theme-pop) #quickResult .quick-highlight{border:0;border-bottom:1px solid #a7b6c52b;border-radius:0;background:transparent;padding:9px 4px;box-shadow:none}
body:not(.theme-pop) #quickResult .quick-highlights{gap:0;margin:5px 0 16px}
body:not(.theme-pop) #quickResult .quick-council-box{border-color:#a7b6c535;background:#14273d80;box-shadow:none}
/* The dealer has a reserved space beside the deck, above every control. */
.tarot-deck-scene{display:grid;grid-template-columns:minmax(0,1fr) 95px;align-items:end;gap:6px;max-width:760px;margin:auto;isolation:isolate}
.tarot-deck-scene .deck-stage{width:100%;min-width:0;height:220px;margin:0!important;overflow:hidden!important;box-sizing:border-box}
.tarot-dealer{position:relative;align-self:stretch;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}
.tarot-dealer #fudaThrower{position:static!important;inset:auto!important;display:block;width:100%!important;height:200px;object-fit:cover;object-position:50% 12%;opacity:.9;transform:none!important;filter:drop-shadow(0 5px 10px #07132366);mask-image:linear-gradient(#000 65%,transparent 100%);-webkit-mask-image:linear-gradient(#000 65%,transparent 100%)}
.tarot-dealer #fudaThrower.throwing{animation:dealerPresence 2.6s ease both}
@keyframes dealerPresence{0%,100%{opacity:.9}20%,75%{opacity:1}}
.tarot-draw-tools,.deck-ctl,.deck-gesture-hint{position:relative;z-index:2}
@media(min-width:700px){.tarot-deck-scene{grid-template-columns:minmax(0,1fr) 150px;gap:18px}.tarot-dealer #fudaThrower{height:215px}}
@media(max-width:380px){.tarot-deck-scene{grid-template-columns:minmax(0,1fr) 72px;gap:3px}.tarot-dealer #fudaThrower{height:180px}.home-date-row{gap:4px}.home-date-row .sky-reading-link{font-size:11px;padding:3px 7px}.shared-birth-row .shared-birth{padding:10px}.shared-birth-row .shared-birth small{font-size:10px}}

/* Keep the day and its 3D shortcut beside each other, even on a narrow phone. */
.home-date-row{display:grid;grid-template-columns:minmax(0,1fr) auto;max-width:490px;margin-inline:auto;gap:6px}
.home-date-row #portalDate{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 5px;min-width:0;width:100%;padding:6px 8px;font-size:13px;line-height:1.5}
.home-date-row #portalDate small{margin:0;font-size:10px}
.home-date-row>.sky-reading-link{min-height:40px;padding:4px 8px}
.shared-birth-row:not(:has(>.sky-reading-link:not([hidden]))){grid-template-columns:1fr}

/* Explicit scene names stay in the normal layout, clear of titles and portraits. */
.home-date-row{grid-template-columns:1fr;max-width:560px}
.home-sky-links{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}
.sky-reading-link{white-space:normal;text-align:center;max-width:100%;box-sizing:border-box}
.home-sky-links .sky-reading-link{min-height:40px}
.shared-birth-row{grid-template-columns:minmax(0,1fr) minmax(130px,160px)}
.shared-birth-row>.sky-reading-link{flex-direction:row;min-width:0;font-size:11px}
.shared-birth-row .shared-birth{min-width:0}
.sky-chart-actions{display:flex;justify-content:center;margin:-3px 0 18px}
.sky-chart-actions .sky-reading-link{min-height:42px;padding:8px 16px}
.quick-profile-source .sky-reading-link,.hcb-chips .sky-reading-link,.sec-tag .sky-reading-link{white-space:normal}
@media(max-width:400px){.shared-birth-row{grid-template-columns:1fr}.shared-birth-row>.sky-reading-link{min-height:36px}.home-sky-links .sky-reading-link{padding:4px 8px;font-size:11px}}

/* 上部を少し細く。「生まれた瞬間の空」は生年月日の下に一本の帯として置き、目立たせる */
.home-date-row{max-width:520px}
.shared-birth-row{grid-template-columns:1fr;max-width:520px;gap:8px}
.shared-birth-row:not(:has(>.sky-reading-link:not([hidden]))){grid-template-columns:1fr}
.shared-birth-row>.sky-reading-link{flex-direction:row;justify-content:flex-start;gap:12px;min-height:52px;padding:9px 18px;border:1px solid #dcc48fbb;border-radius:11px;background:radial-gradient(130% 170% at 88% -10%,#6a58a3 0%,#2f3f6c 42%,#142440 100%);color:#f7eed8;font:600 14.5px/1.4 "Yu Mincho","Hiragino Mincho ProN",serif;letter-spacing:.06em;text-align:left;box-shadow:inset 0 1px #fff3cb22,0 7px 20px #07122366}
.shared-birth-row>.sky-reading-link::before{width:32px;height:32px;font-size:12px;border-color:#ead49f;color:#f6e3b4;box-shadow:inset 0 0 9px #d6bc8340,0 0 12px #d6bc8340}
.shared-birth-row>.sky-reading-link::after{content:"›";margin-left:auto;font:600 20px/1 serif;color:#ead49f}
.shared-birth-row>.sky-reading-link:hover{border-color:#f1dfae;box-shadow:inset 0 1px #fff3cb33,0 9px 24px #07122388}
@media(max-width:400px){.shared-birth-row>.sky-reading-link{min-height:46px;padding:8px 14px;font-size:13px;gap:10px}}

/* 2本の3D入口を、本文より細い水彩の星空バナーにする（2026-09-07）。 */
.home-date-row{max-width:850px}
.home-date-row #portalDate{max-width:520px;margin:0 auto}
.home-sky-links{display:block}
.shared-birth-row{max-width:850px}
.shared-birth-row .shared-birth{width:100%;max-width:520px;margin:0 auto}
.home-sky-links>.sky-reading-link,.shared-birth-row>.sky-reading-link{position:relative;display:flex;width:min(420px,calc(100% - 36px));margin-inline:auto;flex-direction:row;justify-content:flex-start;gap:10px;min-height:60px;padding:10px 78px 10px 14px;border:1px solid #ddc58ab3;border-radius:10px;background:linear-gradient(90deg,#0b1e34 0%,#0b1e34f2 48%,#0b1e3460 72%,#0b1e3410 100%) center/100% 100% no-repeat,url('sky-link-watercolor-v1.webp') right 22px center/auto 150% no-repeat,#0b1e34;color:#f6e8c8;font:600 13.5px/1.5 "Yu Mincho","Hiragino Mincho ProN",serif;letter-spacing:.035em;text-align:left;text-shadow:0 1px 4px #020a16;box-shadow:inset 0 1px #f8e7ba1c,0 5px 15px #07122355,0 0 12px #e6c47a1c}
.home-sky-links>.sky-reading-link::before,.shared-birth-row>.sky-reading-link::before{width:27px;height:27px;font-size:10px;border-color:#d7c28d99;background:#14283ccc;color:#f1dcab;box-shadow:inset 0 0 8px #d6bc831c}
.home-sky-links>.sky-reading-link::after,.shared-birth-row>.sky-reading-link::after{content:"›";position:absolute;right:12px;top:50%;transform:translateY(-50%);margin:0;font:600 21px/1 serif;color:#eddbb0}
.home-sky-links>.sky-reading-link:hover,.shared-birth-row>.sky-reading-link:hover{border-color:#f0ddb0;box-shadow:inset 0 1px #f8e7ba33,0 7px 18px #07122366,0 0 16px #e6c47a38}
@media(max-width:400px){.home-sky-links>.sky-reading-link,.shared-birth-row>.sky-reading-link{min-height:60px;padding:8px 72px 8px 11px;font-size:13px;gap:8px}}

/* 出生の入口は、赤ちゃんと生まれた空の専用バナー（2026-09-07）。 */
.sky-reading-link[data-sky-kind="birth"]{position:relative;background:linear-gradient(90deg,#0b1e34 0%,#0b1e34f2 45%,#0b1e3430 72%,transparent 100%) center/100% 100% no-repeat,url('sky-birth-baby-v1.webp') right 7px center/auto 130% no-repeat,#0b1e34;padding-right:84px;color:#f6e8c8;text-shadow:0 1px 4px #020a16}
.sky-chart-actions .sky-reading-link[data-sky-kind="birth"]{width:min(420px,100%);min-height:60px;justify-content:flex-start;text-align:left;padding-left:14px}
.quick-profile-source .sky-reading-link[data-sky-kind="birth"],.hcb-chips .sky-reading-link[data-sky-kind="birth"],.sec-tag .sky-reading-link[data-sky-kind="birth"]{min-height:44px;padding-right:76px;background-size:100% 100%,auto 130%,auto}
