html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: sans-serif;
}

/* Keep Kakao's attribution, logo and controls when adapting the embed. */
body .root_daum_roughmap {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 0;
}

body .root_daum_roughmap > .wrap_map {
    flex: 1 1 auto;
    min-height: 140px;
    height: 0 !important;
}

body .root_daum_roughmap > .wrap_controllers {
    flex: 0 0 auto;
}

body .root_daum_roughmap > .cont {
    /* Hide the generated address/phone panel, not the map or its controls. */
    display: none !important;
}

.map-status {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: grid;
    place-content: center;
    gap: 9px;
    padding: 20px;
    background: #ecebe7;
    color: #373a36;
    text-align: center;
}

.map-status[hidden] {
    display: none;
}

.map-status span {
    color: #665400;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.map-status p {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
}

.map-status a {
    justify-self: center;
    margin-top: 6px;
    padding: 10px 16px;
    border: 1px solid currentColor;
    border-radius: 4px;
    color: inherit;
    font-size: 12px;
    text-decoration: none;
}

.map-noscript {
    position: absolute;
    bottom: 0;
    z-index: 21;
    width: 100%;
    text-align: center;
    font-size: 12px;
}
