/* Two facing cards share one stable hover hit area; card pixels keep their original direction. */
.sanctuary-altar .hero-entry.lenormand-hero-pair{display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,22px);width:min(96%,510px);max-width:96%;aspect-ratio:1.32}
.hero-entry.lenormand-hero-pair .lenormand-featured{flex:0 1 45%;width:45%;max-width:45%;height:auto;rotate:-7deg;animation:lenormand-float 7s ease-in-out infinite;transform:none;object-fit:contain}
.hero-entry.lenormand-hero-pair .lenormand-featured:nth-child(2){rotate:7deg;animation-duration:8.5s;animation-delay:-3s}
@keyframes lenormand-float{0%,100%{translate:0 0}50%{translate:0 -12px}}
.still .hero-entry.lenormand-hero-pair .lenormand-featured{animation:none}
.home-pair-slots{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.home-pair-slot{display:grid;justify-items:center;gap:8px;border:1px solid var(--line);padding:14px;background:transparent;color:inherit;border-radius:14px}.home-pair-slot img{width:75px;height:108px;object-fit:contain}.home-pair-slot.is-active{border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.home-pair-picker .home-card-grid{margin-top:24px}
.lenormand-board-section{margin-block:26px;min-width:0}.lenormand-board-heading,.lenormand-board-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.lenormand-board-tools .check{display:flex;align-items:center;gap:8px}.lenormand-board-scroll{overflow:auto;max-width:100%;padding:10px 2px 18px}.lenormand-board-grid{display:grid;grid-template-columns:repeat(var(--board-columns),minmax(0,1fr));gap:clamp(6px,1.4vw,18px);max-width:100%;margin-inline:auto}.lenormand-board-cell{min-width:0;text-align:center}.lenormand-board-card{display:block;width:100%;padding:0;border:0;border-radius:7px;background:transparent;color:inherit;box-shadow:none;transform:none}.lenormand-board-card img{display:block;width:100%;height:auto;aspect-ratio:480/687;object-fit:contain;border-radius:5px}.lenormand-board-card:hover{transform:none;box-shadow:0 0 15px #eddba748}.lenormand-board-card:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.board-card-name{display:none;font-size:12px;line-height:1.5;margin-top:6px}.show-card-names .board-card-name{display:block}.lenormand-house-label{display:block;font-size:11px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.board-is-zoomed .lenormand-board-grid{min-width:calc(var(--board-columns) * 135px)}.lenormand-card-list{margin-block:22px}.lenormand-card-list>summary{cursor:pointer;padding:16px;border-block:1px solid var(--line)}.lenormand-inspection .card-detail{margin-top:18px}.lenormand-spread-preview{display:block;width:100%;height:100%}.lenormand-deal-action{text-align:center;margin:20px}
@media(min-width:700px){.lenormand-board-grid:not(.grand-tableau){max-width:900px}}
@media(prefers-reduced-motion:reduce){.hero-entry.lenormand-hero-pair .lenormand-featured{animation:none}}
.lenormand-connection{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;padding:26px 0;border-top:1px solid var(--line);align-items:start}
.lenormand-connection p,.lenormand-meaning p{line-height:1.85;white-space:pre-line}
.lenormand-pair-art{display:flex;gap:10px;align-items:start}.lenormand-pair-art .card-art-preview{width:70px;min-width:0;max-width:70px}.lenormand-pair-art .card-art{display:block;width:100%;height:auto;border-radius:5px}
.lenormand-observation{border-left:2px solid var(--gold);padding-left:14px;color:var(--text-muted)}
.lenormand-reflection{font-style:italic}.lenormand-meaning small{display:block;line-height:1.7}.home-pair-picker .form-grid{margin-block:20px}
.deck-shelf-cover .card-art{object-fit:contain}
@media(max-width:600px){.lenormand-connection{grid-template-columns:minmax(0,1fr);gap:15px}.lenormand-pair-art .card-art-preview{width:64px;max-width:64px}.sanctuary-altar .hero-entry.lenormand-hero-pair{width:min(96%,370px)}}

.lenormand-board-grid:not(.grand-tableau){max-width:min(100%,calc(var(--board-columns) * 180px))}.board-is-zoomed .lenormand-board-grid{max-width:none}.lenormand-connections>summary{cursor:pointer;padding:8px 0}
@media(max-width:600px){.grand-tableau .lenormand-house-label span{display:none}.board-is-zoomed .lenormand-house-label span{display:inline}}
/* Lenormand reading panels stay open and scroll independently. */
.lenormand-card-list{margin:28px auto;max-width:1060px;min-width:0}.lenormand-card-list>h2{font-size:23px;margin-bottom:16px}.lenormand-card-list>.drawn-grid,.lenormand-card-list>.drawn-grid.saved-cards{display:flex;flex-direction:column;gap:18px;height:min(600px,72vh);min-height:340px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:4px 12px 12px 2px;margin:0;scrollbar-gutter:stable}.lenormand-card-list .drawn-grid>.reading-card{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;flex:none;width:100%;max-width:none;min-height:0;padding:24px;margin:0;box-sizing:border-box}.lenormand-card-list .reading-visual .card-art{max-width:130px;width:100%;height:auto}.lenormand-card-list .reading-visual h3{font-size:23px}.lenormand-card-list .reading-interpretation{min-width:0;overflow-wrap:anywhere}.lenormand-card-list .reading-interpretation p{font-size:16px;line-height:1.85}.lenormand-connections{max-width:1060px;margin:26px auto;min-width:0}.lenormand-connections>h2{font-size:23px}.lenormand-connections-scroll{height:min(540px,68vh);min-height:260px;overflow:auto;overscroll-behavior:contain;padding-right:12px;scrollbar-gutter:stable}
/* Grand Tableaux always fit. Card artwork opens separately for a closer look. */
.lenormand-board-section:has(.grand-tableau) .lenormand-board-scroll{overflow-x:hidden}.lenormand-board-section .lenormand-board-grid.grand-tableau{width:100%;min-width:0;max-width:100%;gap:clamp(4px,.85vw,12px)}.lenormand-board-section .grand-tableau .lenormand-board-cell{min-width:0}.lenormand-board-section .lenormand-house-label{display:grid;gap:3px;border-block:1px solid var(--line);padding:8px 1px;margin:8px 0 14px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.lenormand-board-section .lenormand-house-label strong{font-size:inherit;font-weight:500}.lenormand-board-section .lenormand-house-label span,.lenormand-board-section .grand-tableau .lenormand-house-label span{display:block}.lenormand-board-section .theme-card-label{color:var(--gold)}.lenormand-board-guide{margin:12px 0 24px;max-width:900px;font-size:15px;line-height:1.9}.lenormand-board-guide p{margin:8px 0}.lenormand-board-grid .is-theme-card{padding-top:22px}.lenormand-board-grid .lenormand-board-card{backface-visibility:hidden;will-change:transform}.lenormand-board-grid .lenormand-board-card img{pointer-events:none}
.selected-slots.lenormand-progress{display:grid;grid-template-columns:repeat(var(--progress-columns),minmax(0,1fr));gap:12px;width:min(100%,480px);margin:28px auto;justify-items:center;align-items:center}.lenormand-progress .selected-slot{width:32px;height:32px;min-width:0;margin:0;font-size:12px}.lenormand-progress .selected-slot.is-current{outline:2px solid var(--gold);outline-offset:4px;color:var(--gold);box-shadow:0 0 15px #eedda140}.lenormand-deal-action p{font-size:14px;line-height:1.6;margin:10px 0}
@media(max-width:650px){.lenormand-card-list .drawn-grid>.reading-card{grid-template-columns:1fr;gap:18px;padding:20px}.lenormand-card-list .reading-visual .card-art{max-width:110px}.lenormand-board-section:has(.grand-tableau){padding:18px 10px}.lenormand-board-section .grand-tableau .lenormand-house-label{font-size:10px;gap:3px;padding:5px 0;margin:5px 0 9px;line-height:1.4}.lenormand-board-section .grand-tableau .board-card-name{font-size:10px}.lenormand-board-guide{font-size:14px}.selected-slots.lenormand-progress{gap:9px}.lenormand-progress .selected-slot{width:27px;height:27px;font-size:11px}.lenormand-connections .lenormand-connection{grid-template-columns:1fr;gap:15px}}

.lenormand-card-list .reading-card>.lenormand-position-heading{grid-column:1 / -1;text-align:left;margin:0;min-height:0;line-height:1.6;font-size:14px;letter-spacing:.3px}.lenormand-card-list .reading-card:has(>.lenormand-position-heading){row-gap:16px}

.lenormand-board-cell .physical-slot-select{display:block;max-width:100%;margin:9px auto 4px;padding:8px 12px;font-size:13px;white-space:normal}.grand-tableau .physical-slot-select{font-size:12px;padding:7px 4px}.physical-card-picker .home-card-grid{margin-top:22px}.physical-card-picker .home-card-option:disabled{opacity:.42;cursor:default}
@media(max-width:600px){.grand-tableau .physical-slot-select{font-size:10px;padding:5px 1px}}
