/* FALARYA TAROT MOBILE V6 – existing 78-card art and original selection events preserved.
   Load AFTER tarot-mobile-v5.css. Isolated to mobile main Tarot picker only. */
@media (max-width:760px){
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready{
    display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important;
    overflow-x:auto!important; overflow-y:hidden!important; gap:14px!important;
    max-height:none!important; min-height:0!important; width:100%!important;
    align-items:center!important; justify-content:flex-start!important;
    scroll-snap-type:x mandatory!important; scroll-padding:0!important;
    scroll-behavior:smooth; overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch; touch-action:pan-x!important;
    padding:15px max(0px,calc((100% - 174px)/2)) 18px!important;
    scrollbar-width:none; user-select:none!important; -webkit-user-select:none!important;
    position:relative; border:1px solid rgba(209,168,93,.30); border-radius:18px;
    background:linear-gradient(135deg,rgba(25,10,40,.88),rgba(7,3,15,.96));
  }
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready::-webkit-scrollbar{display:none}
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready .tarot-choice{
    flex:0 0 174px!important; width:174px!important; min-width:174px!important;
    max-width:174px!important; height:290px!important; min-height:290px!important;
    max-height:290px!important; aspect-ratio:3/5!important; scroll-snap-align:center!important;
    scroll-snap-stop:normal!important; touch-action:pan-x!important;
    transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease!important;
  }
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready .tarot-choice:not(.v6-active):not(.is-selected){
    transform:scale(.84)!important; opacity:.64;
  }
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready .tarot-choice.v6-active{
    transform:scale(1)!important; opacity:1!important;
  }
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready .tarot-choice.is-selected{
    opacity:1!important; border-color:#edc474!important;
  }
  .v6-tarot-actions{display:flex;align-items:center;justify-content:center;gap:8px;margin:10px 0 6px}
  .v6-tarot-actions button{appearance:none;border:1px solid rgba(229,183,102,.54);
    background:#20112b;color:#f2d69a;border-radius:12px;min-height:44px;cursor:pointer;
    padding:9px 11px;font:inherit}
  .v6-tarot-actions .v6-confirm{flex:1;max-width:220px;background:linear-gradient(140deg,#5a3162,#321638);font-weight:700}
  .v6-tarot-actions button:focus-visible{outline:2px solid #f3d184;outline-offset:2px}
  .v6-tarot-instruction{font-size:12px;text-align:center;color:#ddc5e5;margin:8px 0 0;line-height:1.4}
  .v6-tarot-progress{font-size:12px;color:#e8c77f;text-align:center;min-height:20px;margin:5px 0 12px}
}
@media(max-width:360px){
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready{padding-inline:max(0px,calc((100% - 148px)/2))!important;gap:10px!important}
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready .tarot-choice{
    flex-basis:148px!important;width:148px!important;min-width:148px!important;max-width:148px!important;
    height:246px!important;min-height:246px!important;max-height:246px!important}
}
@media(prefers-reduced-motion:reduce){
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready,
  html body .tarot-deck.main-tarot-picker.v6-swipe-ready .tarot-choice{scroll-behavior:auto!important;transition:none!important}
}
