@charset "UTF-8";

.help-overlay[hidden] {
    display: none !important;
}

.help-overlay {
    position: fixed;
    inset: 0;
    z-index: 19997;
    pointer-events: auto;
}

.help-overlay__dim {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(0.5px);
}

.help-overlay__layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.help-mark {
    position: absolute;
    border: 2px dotted #ffffff;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.help-mark.is-circle {
    border-radius: 999px;
}

.help-card {
    position: absolute;
    z-index: 100000;
    background: rgba(255, 255, 255, 0.75);
    color: #1f2937;
    padding: 1.5rem 1.5rem;
    border-radius: 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.help-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: #1458c7;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    white-space: nowrap;
    margin-bottom: 0.8rem;
}

.help-desc {
    margin: 0;
    color: #000;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.55;
    text-shadow: none;
    word-break: keep-all;
    white-space: pre-line !important;
}

.help-card::after {
    content: '';
    position: absolute;
    border: 8px solid transparent;
}

.help-card.is-bottom::after {
    border-bottom-color: rgba(255, 255, 255, 0.75);
    bottom: 100%; left: 50%; transform: translateX(-50%);
}

.help-card.is-bottom-custom::after {
    border-bottom-color: rgba(255, 255, 255, 0.75);
    bottom: 100%; left: 65%;
}

.help-card.is-top::after {
    border-top-color: rgba(255, 255, 255, 0.75);
    top: 100%; left: 50%; transform: translateX(-50%);
}

.help-card.is-left::after {
    border-left-color: rgba(255, 255, 255, 0.75);
    left: 100%; top: 50%; transform: translateY(-50%);
}

.help-card.is-left-custom::after {
    border-left-color: rgba(255, 255, 255, 0.75);
    left: 100%; top: 25%; transform: translateY(-50%);
}

.help-card.is-right::after {
    border-right-color: rgba(255, 255, 255, 0.75);
    right: 100%; top: 50%; transform: translateY(-50%);
}

.help-card.is-inside::after {
    display: none;
}

.help-overlay__close {
    position: fixed;
    left: 50%;
    top: 5rem;
    transform: translateX(-50%);
    min-width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50px;
    background: #EC7204;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    z-index: 100001;
    box-shadow: 0 8px 20px rgba(236, 114, 4, 0.3);
    transition: all 0.2s ease;
}

.help-overlay__close:hover {
    background: #cc6000;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 24px rgba(236, 114, 4, 0.4);
}

.help-overlay__close:focus,
.help-overlay__close:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(236, 114, 4, 0.2) !important;
}

.main-help-button-area {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    justify-content: end;
}

.main-help-button {
    min-width: 86px;
    height: 36px;
    border: 1px solid #d7dce8;
    border-radius: 999px;
    background: #fff;
    color: #253b73;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.main-help-button:hover {
    background-color: #e5ecf5;
    border-color: #c4ccdf;
}

.main-manual-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    min-width: 86px;
    height: 36px;
    border: 1px solid #d7dce8;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #253b73;
    background-color: #c9def9;
    padding: 0 16px;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.main-manual-button::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23253b73' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.main-manual-button:hover {
    background-color: #e5ecf5;
    border-color: #c4ccdf;
}

.main-manual-button:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231458c7' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3'/%3E%3C/svg%3E");
}

body.help-open {
    overflow: hidden;
}

.header-help-button {
    display: none;
}

@media (max-width: 768px) {
    .help-mark { border-width: 2px; }
    .help-card { max-width: calc(100vw - 32px); font-size: 14px; }
    .help-chip { padding: 3px 8px; font-size: 12px; }
    .help-desc { font-size: 13px; }
    .help-overlay__close { bottom: 20px; height: 42px; font-size: 14px; }
    #btnMainHelp, .header-help-button { display: none !important; }
}

.help-overlay__footer {
    position: fixed;
    left: 50%;
    bottom: 83rem;
    transform: translateX(-50%);
    z-index: 100005;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.help-dont-show {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    padding: 8px 16px;
    border-radius: 20px;
}