.imta-hotspot {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(115deg, #b8cddd 0%, #c6cbd0 53%, #ead5c5 100%);
    color: #202124;
    font-family: inherit;
    box-sizing: border-box
}

.imta-hotspot * {
    box-sizing: border-box
}

.imta-hotspot__toolbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 34px;
    pointer-events: none
}

.imta-hotspot__instruction {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    line-height: 1.4
}

.imta-hotspot__instruction span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ef352d;
    box-shadow: 0 0 0 5px rgba(239, 53, 45, .08)
}

.imta-hotspot__actions {
    display: flex;
    gap: 12px;
    pointer-events: auto
}

.imta-hotspot__toggle,
.imta-hotspot__spec-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 40px;
    padding: 10px 21px;
    border: 0;
    border-radius: 999px;
    font: 700 15px/1.2 inherit;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease
}

.imta-hotspot__toggle {
    background: #ef3129;
    color: #fff
}

.imta-hotspot__spec-link {
    background: #fff;
    color: #161616
}

.imta-hotspot__toggle:hover,
.imta-hotspot__toggle:focus-visible,
.imta-hotspot__spec-link:hover,
.imta-hotspot__spec-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .12)
}

.imta-hotspot__toggle b,
.imta-hotspot__spec-link b {
    font-size: 21px;
    font-weight: 400
}

.imta-hotspot__visual {
    position: relative
}

.imta-hotspot__canvas {
    position: relative;
    width: 80%;
    margin: 0 auto;
    line-height: 0
}

.imta-hotspot__image {
    display: block;
    width: 100% !important;
    max-width: none;
    height: auto !important;
    margin: 0 !important
}

.imta-hotspot__all-panel {
    position: absolute;
    z-index: 18;
    top: 12px;
    right: 14px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100% - 28px));
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    color: #1d1d1f;
    box-shadow: 0 10px 0 rgba(95, 87, 80, .23), 0 18px 38px rgba(0, 0, 0, .16);
    line-height: 1.4
}

.imta-hotspot__all-panel[hidden] {
    display: none
}

.imta-hotspot__all-close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 28px !important;
    min-width: 28px;
    height: 28px !important;
    min-height: 28px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: #fff;
    color: #6d6d6d;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer
}

.imta-hotspot__all-close:hover,
.imta-hotspot__all-close:focus-visible {
    background: #f3f3f3;
    color: #202124;
    outline: 2px solid #ef3129;
    outline-offset: 1px
}

.imta-hotspot__all-list {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 14px 20px 10px 14px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #b7b7b7 transparent;
    scrollbar-width: thin;
    list-style: none
}

.imta-hotspot__all-list::-webkit-scrollbar {
    width: 6px
}

.imta-hotspot__all-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #b7b7b7
}

.imta-hotspot__all-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 22px 15px 2px;
    border-bottom: 2px solid #ef3129
}

.imta-hotspot__all-item:first-child {
    padding-top: 12px;
    padding-right: 36px
}

.imta-hotspot__all-item:last-child {
    border-bottom: 0
}

.imta-hotspot__all-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ef3129;
    color: #fff;
    font-size: 13px;
    font-weight: 700
}

.imta-hotspot__all-content {
    min-width: 0;
    padding-top: 1px
}

.imta-hotspot__all-content strong {
    display: block;
    padding-right: 10px;
    color: #111;
    font-size: 15px;
    line-height: 1.35
}

.imta-hotspot__all-content>div {
    margin-top: 6px;
    color: #626262;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere
}

.imta-hotspot__all-content p {
    margin: 0
}

.imta-hotspot__point {
    position: absolute;
    z-index: 5;
    left: var(--x);
    top: var(--y);
    width: 0;
    height: 0;
    transform: none;
    line-height: 1.35
}

.imta-hotspot__point.is-open,
.imta-hotspot__point:focus-within {
    z-index: 15
}

.imta-hotspot__marker {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px !important;
    min-width: 38px;
    height: 38px !important;
    min-height: 38px;
    padding: 0 !important;
    border: 2px solid #fff !important;
    border-radius: 50%;
    background: #ef3129;
    color: #fff;
    font: 700 16px/1 inherit;
    box-shadow: 0 0 0 2px #ef3129, 0 3px 12px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: transform .2s ease
}

.imta-hotspot__marker:after {
    content: "";
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(239, 49, 41, .12);
    border-radius: 50%;
    animation: imta-hotspot-pulse 2s infinite
}

.imta-hotspot__marker:hover,
.imta-hotspot__marker:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
    outline: 0
}

.imta-hotspot__card {
    position: absolute;
    z-index: 1;
    left: 33px;
    top: 50%;
    width: max-content;
    max-width: 330px;
    min-width: 230px;
    padding: 12px 16px;
    border-radius: 11px;
    background: #fff;
    color: #2c2c2c;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translate(8px, -50%);
    transition: opacity .18s ease, transform .18s ease, visibility .18s
}

.imta-hotspot__card:before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: translateY(-50%) rotate(45deg)
}

.imta-hotspot__card strong {
    position: relative;
    display: block;
    font-size: 16px
}

.imta-hotspot__card div {
    position: relative;
    margin-top: 1px;
    color: #606060;
    font-size: 14px
}

.imta-hotspot__card p {
    margin: 0
}

.imta-hotspot__point.is-open .imta-hotspot__card {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%)
}

.imta-hotspot__point--left .imta-hotspot__card,
.imta-hotspot__point--auto[data-auto-position=left] .imta-hotspot__card,
.imta-hotspot__card.is-shift-left {
    right: 33px;
    left: auto;
    transform: translate(-8px, -50%)
}

.imta-hotspot__point--left.is-open .imta-hotspot__card,
.imta-hotspot__point--auto[data-auto-position=left].is-open .imta-hotspot__card,
.imta-hotspot__point.is-open .imta-hotspot__card.is-shift-left {
    transform: translate(0, -50%)
}

.imta-hotspot__point--left .imta-hotspot__card:before,
.imta-hotspot__point--auto[data-auto-position=left] .imta-hotspot__card:before,
.imta-hotspot__card.is-shift-left:before {
    right: -8px;
    left: auto
}

.imta-hotspot__point--top .imta-hotspot__card {
    right: auto;
    bottom: 33px;
    left: 50%;
    top: auto;
    transform: translate(-50%, -8px)
}

.imta-hotspot__point--top.is-open .imta-hotspot__card {
    transform: translate(-50%, 0)
}

.imta-hotspot__point--top .imta-hotspot__card:before {
    left: 50%;
    top: auto;
    bottom: -8px;
    transform: translateX(-50%) rotate(45deg)
}

.imta-hotspot__point--bottom .imta-hotspot__card {
    left: 50%;
    top: 33px;
    transform: translate(-50%, 8px)
}

.imta-hotspot__point--bottom.is-open .imta-hotspot__card {
    transform: translate(-50%, 0)
}

.imta-hotspot__point--bottom .imta-hotspot__card:before {
    left: 50%;
    top: -8px;
    transform: translateX(-50%) rotate(45deg)
}

.imta-hotspot__card.is-shift-right {
    right: auto !important;
    left: 33px !important
}

.imta-hotspot__point[class*="imta-hotspot__point--"] .imta-hotspot__card {
    right: auto;
    bottom: auto;
    left: 33px;
    top: 0;
    transform: translate(8px, -50%)
}

.imta-hotspot__point[class*="imta-hotspot__point--"].is-open .imta-hotspot__card {
    transform: translate(0, -50%)
}

.imta-hotspot__point[class*="imta-hotspot__point--"] .imta-hotspot__card:before {
    right: auto;
    bottom: auto;
    left: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg)
}

.imta-hotspot__fallback {
    margin: 20px;
    padding: 20px 40px;
    background: #fff
}

.imta-hotspot-notice {
    padding: 12px;
    border-left: 4px solid #d63638;
    background: #fff
}

@keyframes imta-hotspot-pulse {

    0%,
    100% {
        transform: scale(.8);
        opacity: .2
    }

    50% {
        transform: scale(1.1);
        opacity: .8
    }
}

@media(min-width:768px) {
    .imta-hotspot__all-panel {
        display: none !important
    }
}

@media(max-width:767px) {
    .imta-hotspot {
        border-radius: 16px
    }

    .imta-hotspot__toolbar {
        position: relative;
        display: grid;
        padding: 16px
    }

    .imta-hotspot__instruction {
        font-size: 13px
    }

    .imta-hotspot__actions {
        display: grid;
        grid-template-columns: 1fr
    }

    .imta-hotspot__toggle,
    .imta-hotspot__spec-link {
        min-height: 35px;
        padding: 7px 14px;
        font-size: 13px
    }

    .imta-hotspot__all-panel {
        top: 8px;
        right: 8px;
        bottom: 8px;
        width: calc(100% - 16px);
        border-radius: 14px;
        box-shadow: 0 8px 0 rgba(95, 87, 80, .24), 0 14px 30px rgba(0, 0, 0, .14)
    }

    .imta-hotspot__all-list {
        padding: 11px 14px 8px 12px
    }

    .imta-hotspot__all-item {
        gap: 11px;
        padding: 12px 20px 14px 0
    }

    .imta-hotspot__all-content strong {
        font-size: 13px
    }

    .imta-hotspot__all-content>div {
        font-size: 13px
    }

    .imta-hotspot__point {
        transform: none
    }

    .imta-hotspot__marker {
        width: 31px !important;
        min-width: 31px;
        height: 31px !important;
        min-height: 31px;
        font-size: 13px;
        transform: translate(-50%, -50%)
    }

    .imta-hotspot__marker:hover,
    .imta-hotspot__marker:focus-visible {
        transform: translate(-50%, -50%) scale(1.08)
    }

    .imta-hotspot__card,
    .imta-hotspot__point--left .imta-hotspot__card,
    .imta-hotspot__point--right .imta-hotspot__card,
    .imta-hotspot__point--top .imta-hotspot__card,
    .imta-hotspot__point--bottom .imta-hotspot__card,
    .imta-hotspot__point--auto[data-auto-position=left] .imta-hotspot__card,
    .imta-hotspot__card.is-shift-left,
    .imta-hotspot__card.is-shift-right {
        position: fixed;
        z-index: 100001;
        right: 16px !important;
        bottom: 16px !important;
        left: 16px !important;
        top: auto !important;
        width: auto;
        max-width: none;
        min-width: 0;
        transform: translateY(12px) !important
    }

    .imta-hotspot__point.is-open .imta-hotspot__card {
        transform: translateY(0) !important
    }

    .imta-hotspot__card:before {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .imta-hotspot__marker:after {
        animation: none
    }

    .imta-hotspot__marker,
    .imta-hotspot__card,
    .imta-hotspot__toggle,
    .imta-hotspot__spec-link,
    .imta-hotspot__all-panel {
        transition: none
    }
}
