/* @author Big Boss */
/* Marinopick shop header — migrated from shop-head.css */

#mp-cate-scroll,
#mp-tnb-links,
.mp-tnb-links-outer,
#mp-side-body,
#mp-full-menu-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#mp-cate-scroll::-webkit-scrollbar,
#mp-tnb-links::-webkit-scrollbar,
.mp-tnb-links-outer::-webkit-scrollbar,
#mp-side-body::-webkit-scrollbar,
#mp-full-menu-body::-webkit-scrollbar {
    display: none;
}

#mp-tnb.mp-tnb--signup {
    overflow: visible;
}

#mp-hd.mp-hd-shell--signup,
#mp-hd-shell.mp-hd-shell--signup {
    overflow: visible !important;
}

.mp-tnb-links-outer {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    overflow: visible;
}

#mp-tnb.mp-tnb--signup .mp-tnb-links-outer {
    padding-bottom: 0;
}

#mp-tnb-links {
    flex: 0 0 auto;
    width: auto;
}

.mp-tnb-wish .mp-tnb-wish-icon {
    display: inline-block;
    margin-right: 1px;
    font-size: 12px;
    vertical-align: -1px;
}

#mp-tnb.mp-tnb--signup #mp-tnb-links {
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: visible;
}

.mp-signup-slot {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    vertical-align: top;
    align-self: flex-start;
}

.mp-signup-bubble {
    position: relative;
    z-index: 30;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.mp-signup-bubble:hover .mp-signup-bubble__label {
    background: #ffd900;
}

.mp-signup-bubble__pointer {
    width: 0;
    height: 0;
    border-right: 7px solid transparent;
    border-bottom: 8px solid #000;
    border-left: 7px solid transparent;
    animation: marinopick-signup-pointer-blink 0.9s ease-in-out infinite;
}

.mp-signup-bubble__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    margin-top: -1px;
    padding: 4px 14px;
    border: 1px solid #000;
    border-radius: 999px;
    background: #ffe600;
    color: #000;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.mp-signup-bubble__plus,
.mp-signup-bubble__amount {
    color: #000;
    font-weight: 900;
}

.mp-signup-bubble--tnb {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin-top: 1px;
}

@media (min-width: 768px) {
    #mp-tnb.mp-tnb--signup .mp-tnb-links-outer {
        padding-bottom: 0;
    }

    #mp-tnb.mp-tnb--signup #mp-tnb-links {
        align-items: flex-start;
    }

    .mp-signup-slot {
        align-self: flex-start;
        margin-top: 0;
    }

    .mp-signup-bubble--tnb {
        position: static;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin-top: 1px;
    }
}

@keyframes marinopick-signup-pointer-blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.15;
    }
}

.mp-signup-bubble--panel {
    position: relative;
    margin-top: 4px;
}

.mp-signup-bubble--panel .mp-signup-bubble__label {
    font-size: 13px;
    padding: 5px 16px;
}

.mp-signup-panel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*
 * 전체메뉴/드롭다운 z-index 보정
 * - 하단 카톡문의/바로가기 플로팅 아이콘, 메인 슬라이더 prev/next 보다 전체메뉴가 위에 오도록 처리
 * - header 자체가 stacking context라서 부모 z-index도 함께 올림
 */
#mp-hd,
#mp-hd-shell {
    z-index: 100000 !important;
}

#mp-cate-bar {
    position: relative;
    z-index: 100010 !important;
}

#mp-hd-menu {
    position: relative;
    z-index: 100020 !important;
}

#mp-full-menu {
    z-index: 100050 !important;
}

#mp-depth2 {
    z-index: 100040 !important;
}

#mp-point-game {
    z-index: 100041 !important;
}

#mp-side-bg {
    z-index: 100100 !important;
}

#mp-side {
    z-index: 100110 !important;
}

body.marinopick-layout-full-menu-open #marinopick-index .mp-hero-nav,
body.marinopick-layout-full-menu-open #marinopick-index .mp-best-nav,
body.marinopick-layout-full-menu-open .mp-hero-nav,
body.marinopick-layout-full-menu-open .mp-best-nav {
    z-index: 1 !important;
    pointer-events: none;
}

body.marinopick-layout-full-menu-open {
    overflow: hidden !important;
}

body.marinopick-layout-full-menu-open #mp-hd-shell,
body.marinopick-layout-full-menu-open #mp-hd,
body.marinopick-layout-full-menu-open #mp-cate-bar,
body.marinopick-layout-full-menu-open #mp-hd-menu,
body.marinopick-layout-full-menu-open #mp-wrap {
    overflow: visible !important;
}

html.marinopick-layout-scroll-locked,
body.marinopick-layout-scroll-locked {
    overflow: hidden !important;
    height: 100%;
}

#mp-cate-bar {
    width: 100%;
    background: var(--marinopick-pc-red-grad);
    box-shadow: none;
    border-top: 0;
    --marinopick-cate-bar-hover-line: #94a3b8;
    --marinopick-cate-bar-active-line: #0f172a;
}

#mp-hd-menu {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#mp-cate-scroll {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
}

.mp-cate-item {
    position: relative;
    display: inline-flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    border: 0;
    border-bottom: 4px solid transparent;
    border-radius: 0;
    background: transparent;
    padding: 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: none;
    box-sizing: border-box;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.mp-cate-item + .mp-cate-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 18px;
    margin-top: -9px;
    background: rgba(255, 255, 255, 0.35);
    display: block;
}

@media (hover: hover) {
    #mp-cate-bar .mp-cate-item:hover:not(.is-current),
    #mp-cate-bar .mp-cate-root:hover:not(.is-current),
    #mp-cate-bar .mp-point-game-trigger:hover:not(.is-current),
    #mp-cate-bar .mp-cate-special:hover:not(.is-current),
    #mp-cate-bar .mp-menu-open-btn:hover:not(.is-active) {
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
        box-shadow: none;
        border-bottom-color: var(--marinopick-cate-bar-hover-line);
    }

    #mp-cate-bar .mp-cate-item.mp-menu-open-btn:hover:not(.is-active) {
        background: #b91c1c;
    }

    #mp-cate-bar .mp-cate-item.is-current:hover,
    #mp-cate-bar .mp-cate-root.is-current:hover,
    #mp-cate-bar .mp-point-game-trigger.is-current:hover,
    #mp-cate-bar .mp-cate-special.is-current:hover {
        background: #dc2626;
        color: #fff;
        border-bottom-color: var(--marinopick-cate-bar-active-line);
    }
}

#mp-cate-bar .mp-cate-item:focus-visible:not(.is-current),
#mp-cate-bar .mp-cate-root:focus-visible:not(.is-current),
#mp-cate-bar .mp-point-game-trigger:focus-visible:not(.is-current),
#mp-cate-bar .mp-cate-special:focus-visible:not(.is-current) {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: none;
    border-bottom-color: var(--marinopick-cate-bar-hover-line);
}

#mp-cate-bar .mp-cate-item:active:not(.is-current),
#mp-cate-bar .mp-cate-root:active:not(.is-current),
#mp-cate-bar .mp-point-game-trigger:active:not(.is-current),
#mp-cate-bar .mp-cate-special:active:not(.is-current) {
    border-bottom-color: var(--marinopick-cate-bar-hover-line);
}

#mp-cate-bar .mp-cate-item.is-current:active,
#mp-cate-bar .mp-cate-root.is-current:active,
#mp-cate-bar .mp-point-game-trigger.is-current:active,
#mp-cate-bar .mp-cate-special.is-current:active {
    border-bottom-color: var(--marinopick-cate-bar-active-line);
}

#mp-cate-bar .mp-cate-item.is-current,
#mp-cate-bar .mp-cate-root.is-current,
#mp-cate-bar .mp-cate-special.is-current,
#mp-cate-bar .mp-point-game-trigger.is-current {
    background: #dc2626;
    color: #fff;
    box-shadow: none;
    border-bottom-color: var(--marinopick-cate-bar-active-line);
}

body.marinopick-layout-full-menu-open #mp-cate-bar .mp-cate-item.is-current:not(.mp-menu-open-btn),
body.marinopick-layout-full-menu-open #mp-cate-bar .mp-cate-root.is-current,
body.marinopick-layout-full-menu-open #mp-cate-bar .mp-cate-root.is-active,
body.marinopick-layout-full-menu-open #mp-cate-bar .mp-cate-special.is-current,
body.marinopick-layout-full-menu-open #mp-cate-bar .mp-point-game-trigger.is-current,
body.marinopick-layout-full-menu-open #mp-cate-bar .mp-point-game-trigger.is-active {
    background: transparent;
    border-bottom-color: transparent;
}

#mp-cate-bar .mp-cate-item.is-active:not(.is-current),
#mp-cate-bar .mp-cate-root.is-active:not(.is-current),
#mp-cate-bar .mp-point-game-trigger.is-active:not(.is-current),
#mp-cate-bar .mp-cate-special.is-active:not(.is-current) {
    border-bottom-color: var(--marinopick-cate-bar-hover-line);
}

#mp-cate-bar .mp-cate-item.is-active {
    background: #dc2626;
    color: #fff;
    box-shadow: none;
}

#mp-cate-bar .mp-cate-item.is-current:hover,
#mp-cate-bar .mp-cate-item.is-current:focus-visible,
#mp-cate-bar .mp-cate-root.is-current:hover,
#mp-cate-bar .mp-cate-root.is-current:focus-visible,
#mp-cate-bar .mp-cate-special.is-current:hover,
#mp-cate-bar .mp-cate-special.is-current:focus-visible,
#mp-cate-bar .mp-point-game-trigger.is-current:hover,
#mp-cate-bar .mp-point-game-trigger.is-current:focus-visible {
    background: #dc2626;
    color: #fff;
    border-bottom-color: var(--marinopick-cate-bar-active-line);
}

#mp-cate-bar .mp-cate-item.is-active:hover,
#mp-cate-bar .mp-cate-item.is-active:focus-visible,
#mp-cate-bar .mp-cate-root.is-active:hover,
#mp-cate-bar .mp-cate-root.is-active:focus-visible,
#mp-cate-bar .mp-point-game-trigger.is-active:hover,
#mp-cate-bar .mp-point-game-trigger.is-active:focus-visible,
#mp-cate-bar .mp-cate-special.is-active:hover,
#mp-cate-bar .mp-cate-special.is-active:focus-visible {
    color: #fff;
}

#mp-cate-bar .mp-cate-item.is-active:not(.is-current):hover,
#mp-cate-bar .mp-cate-item.is-active:not(.is-current):focus-visible,
#mp-cate-bar .mp-cate-root.is-active:not(.is-current):hover,
#mp-cate-bar .mp-cate-root.is-active:not(.is-current):focus-visible,
#mp-cate-bar .mp-point-game-trigger.is-active:not(.is-current):hover,
#mp-cate-bar .mp-point-game-trigger.is-active:not(.is-current):focus-visible,
#mp-cate-bar .mp-cate-special.is-active:not(.is-current):hover,
#mp-cate-bar .mp-cate-special.is-active:not(.is-current):focus-visible {
    border-bottom-color: var(--marinopick-cate-bar-hover-line);
}

#mp-cate-bar .mp-cate-item.mp-menu-open-btn {
    background: #dc2626;
    color: #fff;
}

#mp-cate-bar .mp-cate-item.mp-menu-open-btn:focus-visible:not(.is-active) {
    background: #b91c1c;
    color: #fff;
    border-bottom-color: var(--marinopick-cate-bar-hover-line);
}

#mp-cate-bar .mp-cate-item.mp-menu-open-btn.is-active,
#mp-cate-bar .mp-cate-item.mp-menu-open-btn.is-active:hover,
#mp-cate-bar .mp-cate-item.mp-menu-open-btn.is-active:focus-visible {
    background: #b91c1c;
    color: #fff;
    border-bottom-color: var(--marinopick-cate-bar-active-line);
}

#mp-cate-bar .mp-cate-item.mp-cate-special {
    background: transparent;
    color: #fff;
}

#mp-cate-bar .mp-cate-item.mp-cate-special.is-active,
#mp-cate-bar .mp-point-game-trigger.is-active {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

@media (min-width: 769px) {
    @view-transition {
        navigation: auto;
    }
}

@keyframes marinopick-vt-main-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes marinopick-vt-main-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (min-width: 768px) {
    #mp-hd-sticky {
        display: contents;
    }

    #mp-hd-wave {
        display: none !important;
    }

    #mp-hd-shell {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding-top: 0;
        view-transition-name: mp-layout-hd;
    }

    #mp-wrap {
        padding-top: var(--marinopick-pc-hd-height, 170px);
    }

    #mp-container {
        view-transition-name: mp-layout-main;
    }

    ::view-transition-old(mp-layout-hd),
    ::view-transition-new(mp-layout-hd) {
        animation: none;
    }

    ::view-transition-group(mp-layout-hd) {
        animation-duration: 0ms !important;
    }

    ::view-transition-old(mp-layout-main) {
        animation: marinopick-vt-main-out .16s cubic-bezier(0.4, 0, 1, 1) both;
    }

    ::view-transition-new(mp-layout-main) {
        animation: marinopick-vt-main-in .22s cubic-bezier(0, 0, 0.2, 1) both;
    }

    #mp-hd {
        padding-top: 0;
    }

    #mp-hd-main {
        display: grid !important;
        grid-template-columns: 1fr minmax(280px, 520px) 1fr;
        align-items: center;
        gap: 12px;
        min-height: 52px;
    }

    #mp-logo {
        grid-column: 1;
        justify-self: start;
        position: relative;
        z-index: 2;
    }

    #mp-search {
        grid-column: 2;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: none;
        flex: none !important;
        display: flex !important;
        justify-content: center;
        z-index: 1;
    }

    #mp-search form {
        width: 100%;
        max-width: none !important;
    }

    .mp-cate-info,
    .mp-cate-point {
        order: unset;
        flex: 0 0 auto;
        max-width: none;
    }
}

/* 2차 세로 드롭다운 메뉴 */
#mp-depth2 {
    position: absolute;
    top: 100%;
    z-index: 90;
    width: 220px;
    min-width: 200px;
    border: 1px solid #dbeafe;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

#mp-point-game {
    position: absolute;
    top: 100%;
    z-index: 91;
    width: 220px;
    min-width: 200px;
    border: 1px solid #dbeafe;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

#mp-depth2-body,
#mp-point-game-body {
    width: 100%;
    max-height: calc(100vh - 160px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #93c5fd #eff6ff;
}

#mp-depth2-body::-webkit-scrollbar,
#mp-point-game-body::-webkit-scrollbar {
    width: 6px;
}

#mp-depth2-body::-webkit-scrollbar-thumb,
#mp-point-game-body::-webkit-scrollbar-thumb {
    background: #93c5fd;
    border-radius: 999px;
}

.mp-point-game-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    width: 100%;
    padding: 8px;
    white-space: normal;
}

.mp-depth2-row {
    display: none;
    width: 100%;
    padding: 8px;
    white-space: normal;
}

.mp-depth2-row.is-active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.mp-depth2-row.is-active.mp-depth2-row--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mp-depth2-row--cols-2 .mp-depth2-root-link {
    grid-column: 1 / -1;
}

#mp-depth2.mp-depth2--wide {
    width: 420px;
    min-width: 320px;
    max-width: calc(100vw - 20px);
}

.mp-depth2-root-link,
.mp-depth2-link {
    display: flex;
    width: 100%;
    min-height: 36px;
    align-items: center;
    justify-content: flex-start;
    border: 0;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: left;
    transition: background .18s ease, color .18s ease;
}

.mp-depth2-root-link {
    background: #eff6ff;
    color: #195593;
}

.mp-depth2-link:hover,
.mp-depth2-link:focus,
.mp-depth2-root-link:hover,
.mp-depth2-root-link:focus {
    background: #eff6ff;
    color: #195593;
}

/* 전체 메뉴 */
#mp-full-menu {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    overflow: visible !important;
    padding-bottom: 18px;
    box-sizing: border-box;
}

#mp-full-menu::before {
    content: "";
    position: absolute;
    inset: 0 0 18px;
    background: #fff;
    border-bottom: 1px solid #dbeafe;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
    pointer-events: none;
    z-index: 0;
}

#mp-full-menu-body {
    position: relative;
    z-index: 1;
    max-height: calc(100dvh - var(--marinopick-full-menu-top, 180px) - var(--marinopick-full-menu-safe, 24px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 12px;
    box-sizing: border-box;
}

.mp-full-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.mp-full-menu-section {
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mp-full-menu-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    padding: 0 15px;
    border-bottom: 1px solid #eaf2ff;
    background: linear-gradient(90deg, #eff7ff 0%, #ffffff 100%);
    color: #0f3d74;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.mp-full-menu-title:hover {
    color: #0878bd;
}

.mp-full-menu-depth2 {
    display: grid;
    gap: 8px;
    padding: 13px;
}

.mp-full-menu-depth2-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 38px;
    border: 1px solid #eef4fb;
    border-radius: 12px;
    background: #fff;
    padding: 0 11px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mp-full-menu-depth2-link:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #195593;
}

/* 우측 레이어 메뉴 */
.mp-side-cate-root {
    display: block;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}

.mp-side-cate-root:last-child {
    border-bottom: 0;
}

.mp-side-cate-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0f3d74;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.mp-side-cate-depth2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.mp-side-cate-depth2 a {
    display: flex;
    align-items: center;
    min-height: 34px;
    border-radius: 11px;
    background: #f8fafc;
    padding: 0 10px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.mp-side-cate-depth2 a:hover {
    background: #eff6ff;
    color: #195593;
}

@media (max-width: 768px) {
    #mp-hd-shell {
        position: relative;
        padding-top: var(--marinopick-mobile-hd-height, 112px);
    }

    #mp-hd-shell.mp-hd-shell--signup {
        padding-top: var(--marinopick-mobile-hd-height, 128px);
    }

    #mp-hd-sticky {
        view-transition-name: none;
    }

    #mp-container {
        view-transition-name: none;
    }

    #mp-cate-progress {
        height: 8px;
        overflow: visible;
        background: #dc2626 !important;
        visibility: hidden;
    }

    #mp-cate-progress.is-ready {
        visibility: visible;
    }

    #mp-cate-progress.is-static {
        visibility: hidden;
    }

    .mp-cate-progress-thumb-el {
        position: absolute;
        left: 0;
        display: flex;
        align-items: center;
        top: 50%;
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        height: 3px;
        margin-top: -1px;
        transition: none !important;
        will-change: transform;
    }

    .mp-cate-progress-thumb__line {
        flex: 1 1 auto;
        height: 3px;
        min-width: 0;
        background: #fff;
    }

    .mp-cate-progress-thumb__arrow {
        flex: 0 0 7px;
        width: 0;
        height: 0;
    }

    .mp-cate-progress-thumb__arrow--left {
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-right: 7px solid #fff;
    }

    .mp-cate-progress-thumb__arrow--right {
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 7px solid #fff;
    }

    #mp-cate-progress.is-nav-transition {
        visibility: hidden !important;
    }

    #mp-hd {
        position: relative !important;
        top: auto !important;
        border-bottom: 0;
        padding-top: 0;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    #mp-hd-sticky {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 100030 !important;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-bottom: 0;
        box-shadow: none;
        padding-bottom: 0;
        overflow: visible;
        transition: box-shadow .28s ease;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        contain: layout style;
    }

    /* 모바일 헤더: TNB·로고·검색은 그대로, 스크롤 물결만 숨김 */
    #mp-hd-wave {
        display: none !important;
    }

    #mp-hd-sticky.is-wave-visible {
        box-shadow: 0 4px 16px rgba(25, 85, 147, 0.08);
    }

    @keyframes marinopick-hd-wave-sway-main {
        0%, 100% { transform: translate3d(0, 0, 0) scaleY(1); }
        25% { transform: translate3d(-2.8%, 3px, 0) scaleY(1.14); }
        50% { transform: translate3d(2%, -2.5px, 0) scaleY(0.9); }
        75% { transform: translate3d(3.2%, 1.5px, 0) scaleY(1.08); }
    }

    @keyframes marinopick-hd-wave-sway-back {
        0%, 100% { transform: translate3d(0, 2px, 0) scaleY(1); opacity: 0.82; }
        33% { transform: translate3d(4.5%, -2px, 0) scaleY(1.16); opacity: 1; }
        66% { transform: translate3d(-4.8%, 3px, 0) scaleY(0.88); opacity: 0.88; }
    }

    @keyframes marinopick-hd-wave-sway-front {
        0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.62; }
        40% { transform: translate3d(-3.5%, 2.5px, 0); opacity: 0.95; }
        70% { transform: translate3d(4%, -1.5px, 0); opacity: 0.72; }
    }

    #mp-hd-wave {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -3px;
        z-index: 8;
        height: 26px;
        pointer-events: none;
        overflow: visible;
        background-repeat: no-repeat;
        background-size: 114% 100%;
        background-position: center bottom;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath d='M0 12 C180 20 360 4 540 12 C720 20 900 4 1080 12 C1260 20 1350 7 1440 12 L1440 26 L0 26 Z' fill='%23195593' fill-opacity='0.24'/%3E%3Cpath d='M0 12 C180 20 360 4 540 12 C720 20 900 4 1080 12 C1260 20 1350 7 1440 12' fill='none' stroke='%23195593' stroke-width='3' stroke-linecap='round' stroke-opacity='1'/%3E%3C/svg%3E");
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .32s ease, transform .32s ease, visibility .32s ease;
    }

    #mp-hd-wave::before,
    #mp-hd-wave::after {
        content: "";
        position: absolute;
        left: -10%;
        right: -10%;
        bottom: 0;
        height: 100%;
        pointer-events: none;
        background-repeat: no-repeat;
        background-size: 118% 100%;
        background-position: center bottom;
    }

    #mp-hd-wave::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath d='M0 15 C200 6 420 22 640 14 C860 6 1080 22 1300 13 C1370 10 1405 14 1440 13 L1440 26 L0 26 Z' fill='%2358a6e8' fill-opacity='0.2'/%3E%3Cpath d='M0 15 C200 6 420 22 640 14 C860 6 1080 22 1300 13 C1370 10 1405 14 1440 13' fill='none' stroke='%2358a6e8' stroke-width='2' stroke-linecap='round' stroke-opacity='0.62'/%3E%3C/svg%3E");
    }

    #mp-hd-wave::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath d='M0 11 C160 18 320 5 480 11 C640 18 800 5 960 11 C1120 18 1280 5 1440 11' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-opacity='0.78'/%3E%3Cpath d='M0 13.5 C160 7 320 19 480 13.5 C640 7 800 19 960 13.5 C1120 7 1280 19 1440 13.5' fill='none' stroke='%238fd4ff' stroke-width='1.2' stroke-linecap='round' stroke-opacity='0.55'/%3E%3C/svg%3E");
    }

    #mp-hd-sticky.is-wave-visible {
        box-shadow: 0 12px 28px rgba(25, 85, 147, 0.16);
    }

    #mp-hd-sticky.is-wave-visible #mp-hd-wave {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        animation: marinopick-hd-wave-sway-main 3.2s ease-in-out infinite;
    }

    #mp-hd-sticky.is-wave-visible #mp-hd-wave::before {
        animation: marinopick-hd-wave-sway-back 4.4s ease-in-out infinite;
    }

    #mp-hd-sticky.is-wave-visible #mp-hd-wave::after {
        animation: marinopick-hd-wave-sway-front 2.6s ease-in-out infinite;
        animation-delay: -0.8s;
    }

    @media (prefers-reduced-motion: reduce) {
        #mp-hd-sticky.is-wave-visible #mp-hd-wave,
        #mp-hd-sticky.is-wave-visible #mp-hd-wave::before,
        #mp-hd-sticky.is-wave-visible #mp-hd-wave::after {
            animation: none;
        }
    }

    #mp-hd-shell.mp-hd-shell--signup #mp-hd-sticky {
        overflow: visible;
    }

    #mp-tnb > div {
        align-items: center !important;
    }

    #mp-tnb.mp-tnb--signup > div {
        align-items: flex-start !important;
    }

    #mp-tnb.mp-tnb--signup #mp-tnb-toggle {
        margin-top: 0;
    }

    #mp-tnb.mp-tnb--signup .mp-tnb-links-outer {
        padding-bottom: 0;
    }

    #mp-tnb-links a {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        letter-spacing: -0.03em;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    #mp-tnb-links a:hover,
    #mp-tnb-links a:focus-visible {
        color: #195593 !important;
    }

    .mp-tnb-wish .mp-tnb-wish-icon {
        display: inline-block;
        margin-right: 1px;
        font-size: 11px;
        vertical-align: -1px;
    }

    #mp-tnb-links > span {
        font-size: 10px;
        color: #94a3b8 !important;
    }

    #mp-tnb-toggle {
        width: 32px !important;
        height: 32px !important;
        border-color: #e2e8f0 !important;
        color: #475569 !important;
        box-shadow: none;
    }

    #mp-tnb-toggle .fa {
        font-size: 14px !important;
        font-weight: 400;
    }

    .mp-signup-bubble--tnb .mp-signup-bubble__label {
        min-width: 56px;
        padding: 3px 10px;
        font-size: 10px;
    }

    .mp-signup-bubble--tnb .mp-signup-bubble__pointer {
        border-right-width: 5px;
        border-bottom-width: 6px;
        border-left-width: 5px;
    }

    #mp-cate-bar {
        position: relative;
        z-index: 1 !important;
        margin-top: 0 !important;
    }

    #mp-hd-main {
        align-items: center !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        margin-bottom: 0 !important;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    #mp-logo,
    #mp-logo a {
        line-height: 0;
    }

    #mp-logo {
        flex: 0 1 auto !important;
        min-width: 0;
        max-width: 28%;
    }

    #mp-logo .mp-logo-img,
    #mp-logo img {
        max-width: 100% !important;
    }

    #mp-search {
        display: flex;
        flex: 1 1 0% !important;
        min-width: 0;
        width: auto;
        align-items: center;
        overflow: hidden;
        transition: flex .22s ease, width .22s ease;
    }

    #mp-search form {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        transition: box-shadow .22s ease;
    }

    #mp-search-input {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        transition: height .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    #mp-logo {
        transition: flex .22s ease, width .22s ease, opacity .18s ease;
    }

    #mp-hd-sticky.is-search-expanded #mp-hd-main {
        gap: 0 !important;
        padding-bottom: 4px !important;
    }

    #mp-hd-sticky.is-search-expanded #mp-logo {
        flex: 0 0 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
    }

    #mp-hd-sticky.is-search-expanded #mp-search {
        flex: 1 1 100% !important;
        width: 100%;
        max-width: none;
    }

    #mp-hd-sticky.is-search-expanded #mp-search form {
        box-shadow: 0 8px 24px rgba(25, 85, 147, 0.14);
    }

    #mp-hd-sticky.is-search-expanded #mp-search-input {
        height: 48px !important;
        border-color: #195593;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
    }

    #mp-hd-sticky.is-search-expanded #mp-search-submit {
        width: 36px;
        height: 36px;
        right: 6px;
    }

    #mp-cate-scroll {
        max-width: none;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0;
        padding: 0;
        scroll-padding-left: 0;
    }

    .mp-cate-item {
        flex: 0 0 auto;
        min-width: 84px;
        min-height: 42px;
        padding: 0 14px;
        font-size: 13px;
    }

    #mp-depth2,
    #mp-point-game {
        width: 210px;
        max-width: calc(100vw - 20px);
    }

    #mp-depth2.mp-depth2--wide {
        width: min(420px, calc(100vw - 20px));
        min-width: 0;
    }

    .mp-depth2-row,
    .mp-point-game-row {
        padding: 7px;
    }

    .mp-depth2-root-link,
    .mp-depth2-link {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }

    #mp-full-menu-body {
        max-height: calc(100dvh - var(--marinopick-full-menu-top, 150px) - var(--marinopick-full-menu-safe, 20px));
    }

    .mp-full-menu-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mp-full-menu-title {
        min-height: 44px;
        font-size: 14px;
    }

    .mp-full-menu-depth2 {
        padding: 11px;
    }
}

/* === Semantic layout classes (HTML mp-* blocks) === */
.mp-hd-shell {
    position: relative;
    z-index: 50;
}
@media (min-width: 768px) {
    .mp-hd-shell {
        border-bottom: 1px solid #e2e8f0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}
@media (max-width: 767px) {
    .mp-hd-shell { border-bottom-width: 0; }
}

.mp-tnb-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
    overflow: visible;
}
.mp-tnb-inner--signup { align-items: flex-start; }
@media (max-width: 767px) {
    .mp-tnb-inner { gap: 0.25rem; padding: 0.25rem 0.5rem; font-size: 11px; color: #334155; }
    .mp-tnb-inner--signup { align-items: center; }
}
.mp-tnb-links { display: flex; align-items: center; gap: 0; white-space: nowrap; }
@media (max-width: 767px) {
    .mp-tnb-links { min-width: 0; max-width: none; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
}
.mp-tnb-sep { padding: 0 0.5rem; color: #cbd5e1; }
@media (max-width: 767px) { .mp-tnb-sep { padding: 0 0.25rem; font-size: 10px; color: #94a3b8; } }
.mp-tnb-link { color: inherit; text-decoration: none; white-space: nowrap; }
.mp-tnb-link:hover, .mp-tnb-link:focus-visible { color: #195593; }
.mp-tnb-link--admin { font-weight: 700; color: #ef4444; }
.mp-tnb-link--admin:hover { color: #dc2626; }
.mp-tnb-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background: #fff;
    color: #475569;
    transition: border-color 0.2s, color 0.2s;
}
.mp-tnb-toggle:hover { border-color: #195593; color: #195593; }
.mp-tnb-toggle--signup { margin-top: 1px; }
@media (max-width: 767px) { .mp-tnb-toggle--signup { margin-top: 0; } }
.mp-tnb-toggle__icon { font-size: 14px; }

.mp-hd-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.25rem 0.75rem;
}
@media (max-width: 767px) {
    .mp-hd-main { gap: 0.5rem; padding-top: 0; padding-bottom: 0; }
}
.mp-logo { display: flex; min-width: 0; flex-shrink: 1; align-items: center; }
@media (min-width: 768px) { .mp-logo { flex-shrink: 0; } }
.mp-logo-link { display: block; line-height: 0; }

.mp-search { flex: 1; min-width: 0; }
@media (min-width: 768px) { .mp-search { display: flex; justify-content: center; } }
.mp-search-form { position: relative; width: 100%; }
.mp-search-input {
    height: 2.75rem;
    width: 100%;
    border: 2px solid #195593;
    border-radius: 9999px;
    background: #fff;
    padding: 0 3rem 0 1rem;
    font-size: 0.875rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mp-search-input::placeholder { color: #94a3b8; }
.mp-search-input:focus { border-color: #195593; box-shadow: 0 0 0 4px #dbeafe; }
@media (min-width: 768px) {
    .mp-search-input { height: 3rem; padding-left: 1.25rem; padding-right: 3.5rem; }
}
.mp-search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9999px;
    background: #195593;
    color: #fff;
    transition: background 0.2s;
    cursor: pointer;
}
.mp-search-submit:hover { background: #123f6d; }
@media (min-width: 768px) { .mp-search-submit { width: 2.25rem; height: 2.25rem; } }

.mp-hd { position: relative; width: 100%; }
.mp-cate-bar { position: relative; width: 100%; }
.mp-hd-menu { position: relative; width: 100%; padding-left: 0; padding-right: 0; }

.mp-full-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 92; }
.mp-full-menu-body { width: 100%; padding: 1.25rem 1rem; }
@media (min-width: 768px) { .mp-full-menu-body { padding: 1.5rem; } }
.mp-full-menu-inner { width: 100%; max-width: 1260px; margin: 0 auto; }
.mp-full-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.mp-full-menu-heading { font-size: 18px; font-weight: 900; letter-spacing: -0.04em; color: #0f172a; }
@media (min-width: 768px) { .mp-full-menu-heading { font-size: 21px; } }
.mp-full-menu-close {
    display: inline-flex;
    align-items: center;
    height: 2.25rem;
    padding: 0 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    transition: border-color 0.2s, color 0.2s;
    cursor: pointer;
}
.mp-full-menu-close:hover { border-color: #195593; color: #195593; }
.mp-full-menu-empty { padding: 1rem; font-size: 13px; font-weight: 600; color: #94a3b8; }
.mp-full-menu-empty--box {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.mp-cate-progress-wrap { margin-top: 0; padding-bottom: 0.5rem; }
@media (min-width: 768px) { .mp-cate-progress-wrap { display: none; } }
.mp-cate-progress {
    position: relative;
    width: 100%;
    height: 8px;
    margin: 0 auto;
    overflow: visible;
    background: #dc2626;
}

.mp-side-bg {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(0, 0, 0, 0.4);
}
.mp-side {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 96;
    width: 360px;
    max-width: 90vw;
    height: 100%;
    background: #f8fbff;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s;
}
.mp-side-inner { display: flex; flex-direction: column; height: 100%; }
.mp-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dbeafe;
    background: #fff;
}
.mp-side-title { font-size: 17px; font-weight: 900; letter-spacing: -0.04em; color: #0f172a; }
.mp-side-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #334155;
    transition: background 0.2s;
    cursor: pointer;
}
.mp-side-close:hover { background: #f1f5f9; }
.mp-side-close__icon { font-size: 22px; }
.mp-side-body { flex: 1; overflow-y: auto; }
.mp-side-auth { padding: 1rem; }
.mp-side-auth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.mp-side-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    border: 1px solid #195593;
    border-radius: 9999px;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    color: #195593;
    text-decoration: none;
}
.mp-side-auth-btn--full { width: 100%; }
.mp-side-section { border-top: 1px solid #dbeafe; background: #fff; padding: 1rem; }
.mp-side-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.mp-side-section-title { font-size: 15px; font-weight: 900; letter-spacing: -0.03em; color: #0f172a; }
.mp-side-section-title--spaced { margin-bottom: 0.75rem; }
.mp-side-section-link { font-size: 12px; font-weight: 700; color: #195593; text-decoration: none; }
.mp-side-section-link:hover { text-decoration: underline; }
.mp-side-empty {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}
.mp-side-shortcut-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.mp-side-shortcut {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.mp-side-shortcut:hover { border-color: #195593; color: #195593; }

.mp-wrap { background: #fff; }
.mp-content { width: 100%; }
.mp-container {
    margin-left: auto;
    margin-right: auto;
    min-height: 500px;
    width: 100%;
    max-width: 1180px;
    padding-bottom: 5rem;
}
.mp-container--main { padding-top: 0; }
@media (min-width: 768px) { .mp-container--main { padding-left: 0; padding-right: 0; } }
.mp-container--sub { padding: 1rem 0.75rem 5rem; }
@media (min-width: 768px) { .mp-container--sub { padding-top: 1.5rem; padding-left: 0; padding-right: 0; } }
