/* 共通コンテナ */
#operation_helper_container {
    position: absolute;
    right: 18px;
    top: 70px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    z-index: 999;
}

#operation_helper_container.sub_window {
    right: 12px;
    top: 12px;
}

/* ボタン共通 */
.operation-helper__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
    padding: 0 16px;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    justify-content: flex-start;
}

.operation-helper__btn img {
    width: 12px;
    height: 12px;
}

/* マニュアルボタン */
#manual_link {
    background: #ff9902;
}

#manual_link:hover {
    background: #ffad1a;
    text-decoration: none;
    color: #fff;
}

.operation-helper__external {
    width: 12px !important;
    height: 12px !important;
    display: inline-block;
    background-color: currentColor;
    -webkit-mask: url('/resources/campsite/operation-helper/icons/target_blank.svg') no-repeat center;
    mask: url('/resources/campsite/operation-helper/icons/target_blank.svg') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* アイコン個別サイズ調整 */
#manual_link > img {
    width: 22px;
    height: 22px;
}

/* 動画ボタン */
#operation_video_open {
    background: #539FD6;
    padding-left: 18px;
}

#operation_video_open:hover {
    background: #6bb0e3;
    text-decoration: none;
    color: #fff;
}

#operation_video_open > img {
    width: 22px;
    height: 22px;
    margin: 0;
}

#operation_video_open > div {
    color: #fff;
    font-weight: 700;
}

/* hide 共通 */
.operation-helper__hide {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #555;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    padding: 3px 5px;
}

.operation-helper__hide img {
    width: 14px;
    height: 14px;
}

/* 配置をコンテナ基準に */
#operation_helper_container #manual_link,
#operation_helper_container #manual_link_hide,
#operation_helper_container #operation_video,
#operation_helper_container #operation_video_open,
#operation_helper_container #operation_video_hide {
    position: static !important;
    right: auto;
    top: auto;
}

#operation_helper_container #manual_link,
#operation_helper_container #operation_video_open {
    width: 220px;
    height: 40px;
}

#operation_helper_container #manual_link_hide,
#operation_helper_container #operation_video_hide {
    align-self: flex-end;
}

/* 動画パネル */
#operation_video {
    display: none;
    background: #fff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 10px;
    height: max-content;
}

#operation_video_links {
    margin-bottom: 0;
    padding-inline-start: 0;
}

#operation_video_links > li {
    box-shadow: 0px 1px 0px #F1F1F1;
    padding: 10px 0;
    list-style: none;
}

#operation_video_links > li > span {
    font-family: Arial, sans-serif;
    font-weight: bold;
    line-height: 18px;
    display: inline-block;
    color: #111;
}

#operation_video_links > li > a {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #539FD6;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.operation_video_close {
    text-align: right;
}

#operation_video_close {
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    color: #999;
}
