/* PHASE10_V72_CENTERED_HALF_HAND_START
 * Mobile (landscape/portrait): ONE compact, centred fan, correctly layered
 * under the existing action bar. JS measures the real action-bar top edge.
 * This overrides V71 mobile-hand-v71.css, leaving desktop completely alone.
 */
@media (pointer: coarse), (hover: none) and (max-width: 1100px) {
    #gameScreen #handShell.hand-shell {
        position: absolute !important;
        z-index: 320 !important;
        left: 50% !important;
        right: auto !important;
        top: var(--mp-v72-hand-top, calc(100% - 120px)) !important;
        bottom: auto !important;
        width: var(--mp-v72-hand-width, min(72vw, 620px)) !important;
        height: var(--mp-v72-card-height, 102px) !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateX(-50%) !important;
        overflow: visible !important;
        opacity: 1 !important;
        filter: none !important;
        isolation: auto !important;
        pointer-events: none !important;
    }
    #gameScreen #handCards.hand-cards {
        position: relative !important;
        z-index: 1 !important;
        inset: auto !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        overflow: visible !important;
        clip-path: none !important;
        scroll-snap-type: none !important;
        touch-action: manipulation !important;
        pointer-events: none !important;
    }
    #gameScreen #handCards.hand-cards > .hand-card {
        box-sizing: border-box !important;
        position: relative !important;
        display: block !important;
        flex: 0 0 var(--mp-v72-card-width, 68px) !important;
        width: var(--mp-v72-card-width, 68px) !important;
        min-width: 0 !important;
        max-width: none !important;
        height: var(--mp-v72-card-height, 102px) !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 2 / 3 !important;
        margin: 0 0 0 calc(-1 * var(--mp-v72-overlap, 18px)) !important;
        padding: 0 !important;
        transform: translateY(var(--lift, 0px)) !important;
        transform-origin: center bottom !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer !important;
    }
    #gameScreen #handCards.hand-cards > .hand-card:first-child {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #gameScreen #handCards.hand-cards > .hand-card:last-child {
        margin-right: 0 !important;
    }
    #gameScreen #handCards.hand-cards > .hand-card.selected {
        --lift: -23px !important;
        z-index: 50 !important;
    }
    #gameScreen #handCards.hand-cards > .hand-card .fairy-card,
    #gameScreen #handCards.hand-cards > .hand-card .card-png {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #gameScreen #handCards.hand-cards > .hand-card .fairy-card {
        overflow: visible !important;
    }
    #gameScreen .game-action-bar {
        z-index: 350 !important;
        isolation: isolate !important;
        background: #090d15 !important;
    }
    #gameScreen #handShell.hand-shell.hand-hidden {
        transform: translate(-50%, 72%) !important;
        opacity: .2 !important;
        pointer-events: none !important;
    }
    #gameScreen #handShell.hand-shell.hand-hidden #handCards > .hand-card {
        pointer-events: none !important;
    }
}
/* PHASE10_V72_CENTERED_HALF_HAND_END */
