.banner-view-switcher {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 1200;
    display: grid;
    gap: 8px;
    width: 220px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #d7e0ea;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(26, 54, 82, .14);
}

.banner-view-switcher a {
    display: block;
    min-height: 42px;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid #b9cde2;
    border-radius: 9px;
    background: #fff;
    color: #244d78;
    font-size: 15px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
}

.banner-view-switcher a:hover,
.banner-view-switcher a:focus-visible {
    border-color: #17548f;
    outline: 3px solid rgba(23, 84, 143, .18);
    outline-offset: 2px;
}

.banner-view-switcher a.is-active {
    border-color: #17548f;
    background: #17548f;
    color: #fff;
    box-shadow: inset 0 -4px 0 #7dccff, 0 4px 12px rgba(23, 84, 143, .2);
    font-weight: 900;
}

.banner-manageable-item {
    outline: 2px dashed transparent;
    outline-offset: 6px;
}

.banner-manageable-item:hover {
    outline-color: #d63447;
}

.banner-delete-button {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    min-width: 58px;
    min-height: 38px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #c6283d;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .24);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.banner-add-button {
    width: 150px !important;
    min-height: 210px;
    margin: 10px !important;
    border: 3px dashed #1a5b99;
    border-radius: 18px;
    background: #f3f8fd;
    color: #1a5b99;
    font-size: 76px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.banner-add-button:hover,
.banner-add-button:focus-visible {
    border-style: solid;
    background: #e2f0ff;
    outline: 4px solid rgba(26, 91, 153, .22);
    outline-offset: 3px;
}

.banner-item-title {
    display: block;
    min-height: 24px;
    margin: 0 5px 8px;
    color: #f58220;
    font-family: Arial, "Noto Sans KR", sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 24px;
    text-align: center;
}

.banner-manager-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(10, 23, 40, .58);
}

.banner-manager-modal[hidden] {
    display: none;
}

.banner-manager-dialog {
    position: relative;
    width: min(520px, 100%);
    box-sizing: border-box;
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
    color: #172b43;
    text-align: left;
}

.banner-manager-dialog h2 {
    margin: 0 0 24px;
    font-size: 25px;
}

.banner-manager-dialog label {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 800;
}

.banner-manager-dialog input {
    min-height: 46px;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid #b8c7d7;
    border-radius: 8px;
    font: inherit;
}

.banner-manager-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #43566c;
    font-size: 30px;
    cursor: pointer;
}

.banner-manager-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 9px;
    background: #174d88;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

#banner-manager-message {
    margin: 0 0 16px;
    color: #24527f;
}

#banner-manager-message.is-error {
    color: #b00020;
}

@media (max-width: 600px) {
    .banner-view-switcher {
        position: relative;
        top: auto;
        right: auto;
        width: min(100% - 24px, 420px);
        margin: 12px auto;
    }

    .page1Btn > .contents.c1 > .inner > div,
    .banner-add-button {
        width: calc(50% - 20px) !important;
        min-height: 150px;
    }
}
