.hambtcho-install-button {
    position: fixed;
    z-index: 2140;
    right: 18px;
    bottom:
        calc(
            18px
            + env(safe-area-inset-bottom)
        );
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width:
        calc(
            100vw
            - 36px
        );
    padding: 11px 15px;
    border: 0;
    border-radius: 999px;
    background: #0f4c5c;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    box-shadow:
        0 12px 34px
        rgba(
            15,
            76,
            92,
            .24
        );
    cursor: pointer;
}

.hambtcho-install-button[hidden] {
    display: none !important;
}

.hambtcho-install-help {
    position: fixed;
    z-index: 2141;
    right: 18px;
    bottom:
        calc(
            72px
            + env(safe-area-inset-bottom)
        );
    width:
        min(
            390px,
            calc(
                100vw
                - 36px
            )
        );
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    color: #17343b;
    box-shadow:
        0 18px 50px
        rgba(
            20,
            50,
            60,
            .18
        );
    opacity: 0;
    pointer-events: none;
    transform:
        translateY(8px);
    transition:
        opacity .18s ease,
        transform .18s ease;
}

.hambtcho-install-help.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hambtcho-school-brand {
    position: fixed;
    top: 78px;
    right: 18px;
    z-index: 1180;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width:
        min(
            420px,
            calc(
                100vw
                - 36px
            )
        );
    padding:
        7px
        11px
        7px
        7px;
    border:
        1px solid
        rgba(
            15,
            76,
            92,
            .12
        );
    border-radius: 16px;
    background:
        rgba(
            255,
            255,
            255,
            .96
        );
    box-shadow:
        0 10px 28px
        rgba(
            20,
            50,
            60,
            .11
        );
    backdrop-filter:
        blur(10px);
}

.hambtcho-school-brand img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.hambtcho-school-brand-copy {
    min-width: 0;
}

.hambtcho-school-brand strong,
.hambtcho-school-brand span {
    display: block;
}

.hambtcho-school-brand strong {
    overflow: hidden;
    color: #17343b;
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hambtcho-school-brand span {
    margin-top: 3px;
    overflow: hidden;
    color: #687d82;
    font-size: 9px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 760px) {

    .hambtcho-school-brand {
        top: 68px;
        right: 10px;
        max-width:
            calc(
                100vw
                - 20px
            );
    }

    .hambtcho-school-brand img {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .hambtcho-install-button {
        right: 12px;
        bottom:
            calc(
                12px
                + env(safe-area-inset-bottom)
            );
    }
}

@media print {

    .hambtcho-install-button,
    .hambtcho-install-help,
    .hambtcho-school-brand {
        display: none !important;
    }
}
