/* One shared opening stage: five desktop slots, three mobile slots. */
.v59-theme #modal .modal:has(.v106-opening){width:min(1100px,calc(100vw - 56px))!important;max-width:1100px!important;padding:22px!important}
.v106-opening{--v106-card-height:190px;--v106-row-height:248px}
.v106-opening .v31-reel-head{margin:12px 0 18px;align-items:center;letter-spacing:.13em;font-size:10px}
.v106-opening .v31-reel-head b{font-size:15px;max-width:65%;text-align:right;overflow-wrap:anywhere}
.v106-opening .v80-arc-lanes{position:relative;display:grid;gap:0;border:1px solid #355568;border-radius:18px;overflow:hidden;background:radial-gradient(ellipse at 50% 20%,#173b4c,#091d2c 75%)}
.v106-opening .v80-arc-lanes:before{content:'';position:absolute;z-index:12;top:0;bottom:0;left:50%;width:1px;pointer-events:none;background:linear-gradient(#b8e9ea88,#b8e9ea10 30%,#b8e9ea10 70%,#b8e9ea88)}
.v106-opening .v80-arc-lane{min-width:0;position:relative;overflow:hidden}
.v106-opening .v80-arc-lane+.v80-arc-lane{border-top:1px solid #35556888}
.v106-opening .v31-reel-stage{height:var(--v106-row-height);border:0;border-radius:0;overflow:hidden}
.v106-opening .v31-reel-stage .arc{height:100%!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:hidden}
.v106-opening .arc:before{display:none!important}
.v106-opening .arcitem{height:var(--v106-card-height)!important;box-sizing:border-box;border:1px solid #37596b!important;border-radius:13px!important;background:linear-gradient(150deg,#193a4c,#0d2333)!important;box-shadow:0 8px 18px #030d184d!important;backdrop-filter:none!important;transition:none!important;transform-origin:50% 50%;padding:9px 8px 6px;justify-content:flex-end;gap:6px}
.v106-opening .arcitem:before{height:2px;background:var(--rarity);box-shadow:none}
.v106-opening .arcitem img{display:block;flex:1;min-height:0;width:100%!important;height:calc(100% - 34px)!important;object-fit:contain!important;padding:0!important;transform:none!important;filter:drop-shadow(0 6px 5px #020b1466)}
.v106-opening .arcitem>span{flex:0 0 29px;width:100%;max-height:29px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px!important;line-height:1.3;padding:0 2px!important;color:#c2d7e1;font-weight:600}
.v106-opening .arcitem.v31-centered{filter:none!important;border-color:#86b9c7!important;box-shadow:0 0 0 1px #a6d5dc33,0 12px 24px #0004!important;background:linear-gradient(150deg,#244c5b,#102b3b)!important}
.v106-opening .v31-reel-stage[data-settled="true"] .v31-centered{border-color:#b6e5df!important;box-shadow:0 0 22px #9edbd21f!important}
.v106-opening .v31-reel-stage .pointer{position:absolute;top:0;left:50%;width:24px!important;height:22px!important;line-height:22px!important;margin:0!important;transform:translateX(-50%)!important;font-size:17px!important;color:#c1eeeb!important;text-shadow:none;filter:none!important;z-index:15}
.v106-opening .v31-reel-glow{display:none}
.v106-opening .v80-arc-number{position:absolute;z-index:15;left:14px;top:12px;margin:0;line-height:1;color:#91b5c3;font-size:9px;letter-spacing:.1em;pointer-events:none}
.v106-opening.v80-multi{--v106-card-height:142px;--v106-row-height:184px}
.v106-opening .v31-reel-progress{margin:16px 0 0;height:3px;background:#244555}
.v106-opening .v31-reel-progress i{background:#b1dfe2;box-shadow:none}
.v106-opening .loading{margin:9px 0 0;padding:0;font-size:12px;color:#adc8d3}
.v106-opening .reel-disclaimer{margin:9px 0 0;font-size:10px;line-height:1.5;color:#718e9e}
/* The source picker uses the same four/two column rhythm as the target picker. */
#v39Sheet:has(.v94-source-list){width:min(920px,calc(100vw - 40px))!important;max-width:920px!important;height:min(800px,calc(100dvh - 48px));max-height:calc(100dvh - 48px)}
#v39Sheet:has(.v94-source-list) #v39SheetBody{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;padding:17px 18px 0!important}
#v39Sheet:has(.v94-source-list) .v94-picker-footer{bottom:0;z-index:20;margin:14px -18px 0;padding:13px 18px;background:#0e202e;width:calc(100% + 36px)}
.v39-sheet-itemlist.v94-source-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v94-source-list .v39-sheet-item{position:relative;display:flex!important;flex-direction:column;justify-content:flex-start;align-items:stretch;width:100%;min-width:0;min-height:0;aspect-ratio:1/1;padding:11px!important;gap:7px!important;overflow:hidden;border:1px solid #345464!important;border-radius:13px;background:linear-gradient(145deg,#173748,#0c2230);box-shadow:none;text-align:left}
.v94-source-list .v39-sheet-item>img{flex:1;min-height:0;width:100%!important;height:0!important;object-fit:contain;padding:0;transform:none}
.v94-source-list .v39-sheet-item>span{flex:0 0 auto;display:block;min-width:0;width:100%}
.v94-source-list .v39-sheet-item b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.35;max-height:30px;min-height:30px;white-space:normal;overflow-wrap:anywhere}
.v94-source-list .v39-sheet-item small{display:block;font-size:10px;line-height:1.4;color:#a7cbd5;margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v94-source-list .v39-sheet-item>strong{flex:0 0 18px;font-size:9px;line-height:18px;color:#8db4c2;text-align:right;margin:0}
.v94-source-list .v39-sheet-item[aria-pressed="true"]{border-color:#b0ded9!important;background:#1b4350;box-shadow:inset 0 0 0 1px #b0ded94d}
.v94-source-list .v39-sheet-item[aria-pressed="true"]>strong{color:#c2eee3}
.v94-source-list .v39-sheet-item:focus-visible{outline:2px solid #b8e4ee;outline-offset:2px}
@media(max-width:700px){
 .v59-theme #modal .modal:has(.v106-opening){width:calc(100vw - 16px)!important;padding:13px!important;border-radius:18px}
 .v106-opening{--v106-card-height:146px;--v106-row-height:203px}
 .v106-opening.v80-multi{--v106-card-height:124px;--v106-row-height:164px}
 .v106-opening.v80-multi[data-v106-count="3"]{--v106-card-height:112px;--v106-row-height:152px}
 .v106-opening .v31-reel-head{margin:9px 0 13px;font-size:8px;gap:10px}
 .v106-opening .v31-reel-head b{font-size:12px}
 .v106-opening .arcitem{padding:7px 5px 5px;border-radius:10px!important;gap:4px}
 .v106-opening .arcitem>span{font-size:9px!important;flex-basis:25px;max-height:25px}
 .v106-opening .v80-arc-number{left:9px;top:10px;font-size:7px}
 .v106-opening .loading{font-size:11px}
 #v39Sheet:has(.v94-source-list){width:100%!important;height:calc(94dvh - env(safe-area-inset-top));max-height:calc(94dvh - env(safe-area-inset-top))}
 .v39-sheet-itemlist.v94-source-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
