/* =========================================================
   GTKZ FORGE — LARGE DEVICE / TV ICON SYSTEM
   ========================================================= */

.device-option,
.tv-option {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px;

    border-radius: 10px;

    transition:
        transform 140ms ease,
        box-shadow 140ms ease,
        border-color 140ms ease,
        background 140ms ease;
}

.gtkz-device-icon {
    display: block;

    width: 38px;
    height: 38px;

    margin: 0 auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 4px
            rgba(21,232,255,.18)
        );

    transition:
        transform 140ms ease,
        filter 140ms ease;
}


/*
 * TV logos are naturally wider than device glyphs.
 */
.tv-option .gtkz-device-icon {
    width: 58px;
    height: 34px;
}


/*
 * iPhone / tablet / monitor icons benefit from more height.
 */
.device-option[data-device="iphone"] .gtkz-device-icon,
.device-option[data-device="tablet"] .gtkz-device-icon,
.device-option[data-device="pc"] .gtkz-device-icon {
    width: 40px;
    height: 40px;
}


/*
 * Platform brands.
 */
.device-option[data-device="apple"] .gtkz-device-icon,
.device-option[data-device="android"] .gtkz-device-icon,
.device-option[data-device="playstation"] .gtkz-device-icon,
.device-option[data-device="xbox"] .gtkz-device-icon {
    width: 42px;
    height: 42px;
}


/*
 * Hover / selected state.
 */
.device-option:hover,
.tv-option:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(21,232,255,.72);

    box-shadow:
        0 0 10px
        rgba(21,232,255,.18),

        0 0 18px
        rgba(22,140,255,.10);
}

.device-option:hover .gtkz-device-icon,
.tv-option:hover .gtkz-device-icon,
.device-option.selected .gtkz-device-icon,
.tv-option.selected .gtkz-device-icon {
    transform:
        scale(1.10);

    filter:
        drop-shadow(
            0 0 5px
            rgba(21,232,255,.72)
        )
        drop-shadow(
            0 0 10px
            rgba(22,140,255,.40)
        );
}


.device-option.selected,
.tv-option.selected {
    border-color:
        #15e8ff;

    background:
        linear-gradient(
            180deg,
            rgba(22,140,255,.28),
            rgba(7,24,45,.96)
        );

    box-shadow:
        0 0 10px
        rgba(21,232,255,.20),

        0 0 20px
        rgba(22,140,255,.12);
}


/*
 * Locked opposite group remains visibly disabled.
 */
.choice-group.locked {
    opacity:
        .28;

    filter:
        grayscale(.82);

    pointer-events:
        none;
}


/*
 * No visible text labels.
 */
.gtkz-device-label {
    display:
        none !important;
}


/*
 * Give the icon grids more room to breathe.
 */
.icon-grid {
    gap:
        9px !important;
}


@media (min-width: 1250px) {

    .device-option,
    .tv-option {
        min-height:
            84px;
    }

    .gtkz-device-icon {
        width:
            42px;

        height:
            42px;
    }

    .tv-option .gtkz-device-icon {
        width:
            64px;

        height:
            38px;
    }
}
