.mobile-card-gallery-scope{display:contents}.mobile-card-gallery-backdrop{z-index:140;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000073;position:fixed;inset:0}.mobile-card-gallery{z-index:141;width:min(520px,calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));height:min(800px,calc(100dvh - 64px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),calc((100vw - 56px) * 1.4 + 180px));border:1px solid var(--ui-border-subtle);border-radius:var(--ui-radius-dialog);background:var(--ui-surface-raised);max-height:calc(100dvh - 64px);color:var(--ui-ink);box-shadow:var(--ui-shadow-menu);outline:none;flex-direction:column;gap:8px;padding:12px 0 16px;display:flex;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.mobile-card-gallery>header{color:var(--ui-muted);font-size:var(--ui-text-small);font-variant-numeric:tabular-nums;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 12px;display:flex}.mobile-card-gallery-track{scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;flex:1;min-height:0;display:flex;overflow:auto hidden}.mobile-card-gallery-track::-webkit-scrollbar{display:none}.mobile-card-gallery-slide{scroll-snap-align:center;scroll-snap-stop:always;flex:0 0 100%;justify-content:center;align-items:flex-end;min-width:0;min-height:0;padding:0 12px;display:flex;container-type:size}.mobile-card-gallery-art{aspect-ratio:5/7;border-radius:var(--ui-radius-card);width:min(100%,71.4286cqh);max-width:100%;height:auto;position:relative;overflow:hidden}.mobile-card-gallery-art>.browser-card-image{border-radius:var(--ui-radius-card);width:100%;height:100%;overflow:hidden}.mobile-card-gallery-art>.browser-card-image>img{object-fit:cover;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%}body.spellseeker-site .mobile-card-gallery-flip{width:44px;height:44px;padding:0;position:absolute;bottom:8px;right:8px}.mobile-card-gallery>footer{text-align:center;flex-shrink:0;padding:0 16px}.mobile-card-gallery>footer>h2{font-size:var(--ui-text-body);margin:0 0 10px;font-weight:550;line-height:1.4}.mobile-card-gallery>footer>p{color:var(--ui-muted);font-size:var(--ui-text-small);margin:4px 0 8px}.mobile-card-gallery-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}body.spellseeker-site .mobile-card-gallery :is(.icon-btn,.secondary-btn){min-height:44px}body.spellseeker-site .mobile-card-gallery .icon-btn{justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;display:inline-flex}@starting-style{.mobile-card-gallery,.mobile-card-gallery-backdrop{opacity:0}}.mobile-card-gallery,.mobile-card-gallery-backdrop{transition:opacity var(--ui-duration) var(--ui-ease)}@media (prefers-reduced-motion:reduce){.mobile-card-gallery,.mobile-card-gallery-backdrop{transition:none}}.mobile-card-gallery-position{align-items:baseline;gap:8px;min-width:0;display:flex}.mobile-card-gallery-section{text-overflow:ellipsis;white-space:nowrap;color:var(--ui-ink);font-weight:500;overflow:hidden}.mobile-card-gallery-position>span:last-child{white-space:nowrap;flex-shrink:0}.mobile-card-gallery>header,.mobile-card-gallery>footer{box-sizing:border-box;width:calc(100% - 24px);min-width:0;max-width:calc(100% - 24px);margin-inline:auto;padding-inline:0}.mobile-card-gallery>header{gap:var(--ui-space-2)}.mobile-card-gallery-position{flex:1}.mobile-card-gallery>footer>h2{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.mobile-card-gallery #mobile-card-gallery-hint{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mobile-card-gallery-actions>.secondary-btn{white-space:nowrap;min-width:0;padding-inline:var(--ui-space-3);flex:1}
