/* Generated from the existing Balloon styles. */
#game-frame.ec-balloon-frame{container:ec-balloon / size;height:clamp(600px,75vw,690px)!important;max-width:100%;overflow:hidden;}
#ec-balloon{isolation:isolate;direction:ltr;box-sizing:content-box;color:#000;}
#ec-balloon *,#ec-balloon *::before,#ec-balloon *::after{box-sizing:content-box;}
#ec-balloon img{display:inline;max-width:none;vertical-align:baseline;border:0;border-radius:0;box-shadow:none;}
#ec-balloon table{width:auto;}#ec-balloon td,#ec-balloon th{border:0;}
#ec-balloon{
    
    --balloon-desktop-answers-offset-x: -20px;
    --balloon-desktop-answers-offset-y: 0px;
}
#ec-balloon.balloon-game-mobile-landscape{
    --balloon-mobile-landscape-mode: 1;
    
    --balloon-answers-offset-x: -30px;
    --balloon-answers-offset-y: 0px;
    --balloon-flight-size: clamp(90px, 30cqh, 125px);
    
    --balloon-score-width: clamp(90px, 15cqw, 140px);
}
#ec-balloon.balloon-game-mobile-landscape{
    width: 100cqw;
    height: 100cqh;
    min-height: 0;
    max-width: none;
    max-height: none;
    overflow: hidden;
}
#ec-balloon.balloon-game-mobile-landscape{
    background-position: top center;
    background-size: 100% 112%;
}
#ec-balloon.balloon-game-mobile-landscape #chosing{
    top: 56%;
    left: 50%;
}
#ec-balloon.balloon-game-mobile-landscape #container{
    width: 100%;
    height: 100%;
}
#ec-balloon.balloon-game-mobile-landscape #keyboard{
    position: static;
}
#ec-balloon.balloon-game-mobile-landscape #pyramid{
    top: auto;
    bottom: max(6px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
}
#ec-balloon.balloon-game-mobile-landscape #ballon{
    display: block;
    width: var(--balloon-flight-size);
    height: auto;
}
#ec-balloon.balloon-game-mobile-landscape .scoreBallon{
    width: var(--balloon-score-width);
}
#ec-balloon.balloon-game-mobile-landscape #startName,#ec-balloon.balloon-game-mobile-landscape #startSound{
    top: 87%;
    width: 40% !important;
}
#ec-balloon.balloon-game-mobile-landscape #startName{
    left: 19%;
}
#ec-balloon.balloon-game-mobile-landscape #startSound{
    left: 81%;
}
#ec-balloon.balloon-game-mobile-landscape.balloon-game-opening-screen #pyramid{
    visibility: hidden;
}
#ec-balloon.balloon-game-mobile-landscape #retrybutton{
    top: calc(50% + 15px);
}
#ec-balloon.balloon-game-mobile-landscape #retry{
    -webkit-clip-path: inset(17% 8% 49% 8%);
    clip-path: inset(17% 8% 49% 8%);
}
#ec-balloon.balloon-game-mobile-landscape.keyboardHiddenMobile #pyramid,#ec-balloon.balloon-game-mobile-landscape.keyboardHiddenMobile #errors{
    display: none;
}
#ec-balloon *{
            margin: 0;
            padding: 0%;

        }
#ec-balloon{
            height: 690px;
            width: 920px;
            max-width: 100%;
            margin: 0 auto;
            padding: 0;
            overflow: hidden;
        }
#ec-balloon{
            position: relative;
            font: 150%/1.5 Verdana, Sans-Serif;
            
            background-image: url("../iframe/balloon/pic/background.png");
            
            background-repeat: no-repeat;
            background-size: 100% auto;
            overflow: hidden;
        }
#ec-balloon #background{
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: -2;

        }
#ec-balloon .timeBallon{
            position: absolute;
            z-index: 1;
            left: 50%;
            bottom: 0;
            transform: translate(-60%, 0%);
        }
#ec-balloon .scoreBallon{
            position: absolute;
            top: 0%;
            padding: 0;
            list-style: none;
            z-index: -1;
            width: 20%;
            
            height: auto;
        }
#ec-balloon .balloonAboveKeyboard{
            z-index: 10 !important;
        }
#ec-balloon #startName{
            position: absolute;
            top: 50%;
            left: 30%;
            transform: translate(-50%, -50%);
            display: none;
            z-index: 1;
        }
#ec-balloon #choosing{
            position: absolute;
            top: 10%;
            left: 5%;
            transform: translate(-5%, -5%);
            z-index: 1;

        }
#ec-balloon #win,#ec-balloon #retry{
            position: absolute;
            top: 20%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: none;
            z-index: 1;

        }
#ec-balloon #retrybutton{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: none;
            z-index: 1;

        }
#ec-balloon #startSound{
            position: absolute;
            top: 50%;
            left: 60%;
            transform: translate(-50%, -50%);
            display: none;
            z-index: 1;
        }
#ec-balloon #answersContainer{
            margin: 0px auto;
            width: 70%;
        }
#ec-balloon #errors{
            position: absolute;
            top: 0%;
            left: 30%;
            padding: 0;
            list-style: none;
        }
#ec-balloon #answers{
            position: relative;
        }
#ec-balloon #container{
            position: relative;
            margin: 0px auto;
            width: 450px;


        }
#ec-balloon #pyramid{
            position: absolute;
            top: 490px;
            left: 50%;
            z-index: 5;
            transform: translate(-50%, -50%);
        }
#ec-balloon #chosing{
            padding: 0;
            list-style: none;
            position: absolute;
            top: 25%;
            left: 45%;
            transform: translate(-50%, -50%);
        }
#ec-balloon #keyboard{
            padding: 0;
            list-style: none;
            position: relative;
            z-index: 5;
        }
#ec-balloon #keyboard table,#ec-balloon #chosing table,#ec-balloon #answers,#ec-balloon #errors{
            border-collapse: collapse;
            border-spacing: 0;
        }
#ec-balloon #keyboard li,#ec-balloon .scoreBallon li,#ec-balloon #errors li,#ec-balloon #chosing li{
            margin: 1px;
            width: 37px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            background: #fff;
            border: 1px solid #f9f9f9;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border-radius: 5px;
        }
#ec-balloon #chosing li:hover,#ec-balloon #keyboard li:hover{
            position: relative;
            top: 1px;
            left: 1px;
            border-color: #e5e5e5;
            cursor: pointer;
        }
@container ec-balloon (max-width: 700px) and (orientation: portrait){#ec-balloon{
                width: 100cqw;
                height: min(100cqh, 690px);
                max-height: 690px;
            }
#ec-balloon{
                font-size: clamp(16px, 5cqw, 22px);
                background-size: 100% auto;
                background-position: top center;
            }
#ec-balloon #container{
                width: 100%;
                height: 100%;
            }
#ec-balloon #pyramid{
                top: clamp(440px, 72cqh, 505px);
                bottom: auto;
                left: 48%;
                transform: translate(-50%, -50%) scale(1.2);
                transform-origin: center center;
            }
#ec-balloon #keyboard li,#ec-balloon .scoreBallon li,#ec-balloon #errors li,#ec-balloon #chosing li{
                width: clamp(18px, 5cqw, 30px);
                height: clamp(23px, 6cqw, 30px);
                line-height: clamp(23px, 6cqw, 30px);
                font-size: clamp(18px, 5cqw, 22px);
            }
#ec-balloon #keyboard li{
                background: #ffe7ab;
                border: 1px solid #2f2a1c;
                border-radius: 6px;
                color: #111;
                font-size: clamp(17px, 4.6cqw, 20px);
                font-weight: 300;
                box-shadow: none;
            }
#ec-balloon .scoreBallon{
                left: 4%;
                width: 25%;
            }
#ec-balloon #errors{
                left: 28%;
            }
#ec-balloon #startName,#ec-balloon #startSound,#ec-balloon #win,#ec-balloon #retry,#ec-balloon #retrybutton{
                width: 42% !important;
            }
#ec-balloon #startName{
                left: 4%;
                transform: translateY(-50%);
            }
#ec-balloon #startSound{
                left: auto;
                right: 8%;
                transform: translateY(-50%);
            }
#ec-balloon #chosing{
                left: 50%;
            }
#ec-balloon.keyboardHiddenMobile #pyramid{
                display: none;
            }
#ec-balloon .scoreBallon #answers{
                position: absolute !important;
                top: 58% !important;
                left: 55% !important;
                width: max-content;
                transform: translateX(-50%) !important;
            }
}

#ec-balloon [role=button]{cursor:pointer;}
#ec-balloon #chosing{z-index:6;}
#ec-balloon #retrybutton,#ec-balloon #retry,#ec-balloon #win{z-index:20;}
/* Keep the game viewport bounded while the document scrolls to the carousel/footer. */
html.balloon-game-mobile-landscape-page #game-frame.ec-balloon-frame{width:100%!important;height:var(--ec-balloon-viewport-height,100dvh)!important;max-width:none;aspect-ratio:auto;margin:0!important;overflow:clip;}
#ec-balloon.balloon-game-mobile-landscape{overflow:clip;}
/* The legacy 87% center put part of these images outside a short viewport. */
#ec-balloon.balloon-game-mobile-landscape #startName,
#ec-balloon.balloon-game-mobile-landscape #startSound{top:auto;bottom:max(0px,env(safe-area-inset-bottom));transform:translateX(-50%);}
#ec-balloon.balloon-game-mobile-landscape #startName{left:20%;}
#ec-balloon.balloon-game-mobile-landscape #startSound{left:80%;}
