/* ======================================================
   LiveCommerce
   - 라이브커머스 고객 화면 전용
   - 기존 site_theme_* / --site-* 토큰을 기준으로 사용
   - 실제 하단 버튼: 상품 / 내주문
   ====================================================== */

/* Player가 있는 동안 문서 배경을 영상과 같은 색으로 맞춘다. dvh 갱신은 브라우저 UI 애니메이션 종료
   시점이라 과도기에 상자 밖이 잠깐 드러날 수 있는데, 그때 보이는 것이 흰 배경이 아니라 검은 여백이
   되게 하는 보험이다. 보험일 뿐 여백이 "남는" 증상의 해결책이 아니며, 제스처에 영향을 주는 속성
   (overflow·overscroll·touch)은 여기에 두지 않는다. */
html:has([data-static-live-player]),
html:has([data-static-live-player]) body {
    background: #111;
}

/* iOS Chrome 전용 구조(표시는 StaticLivePlayer가 UA로 한 번만 남긴다). Chrome은 툴바를 접을 때 그 델타
   (실측 116px)를 문서 스크롤 오프셋으로 강제하는데, 스크롤할 수 없는 문서에서는 이 오프셋이 갈 곳이 없어
   화면이 위로 밀린 채 고정된다(scrollTo로 되돌려도 즉시 재강제됨을 실기기로 확인). 그래서 오프셋과 싸우지
   않고 합법으로 만든다: 문서에 델타 이상의 스크롤 여유를 주고 Player는 fixed로 띄워, 여유가 스크롤돼도
   화면은 움직이지 않게 한다. overflow·overscroll·touch는 두지 않아 당겨서 새로고침 물리를 보존한다.
   Safari는 dvh가 정상이라 대상이 아니며 기존 문서 흐름 구조를 그대로 쓴다. */
html.static-live-crios:has([data-static-live-player]) {
    height: 100%;
}

html.static-live-crios:has([data-static-live-player]) body {
    /* 툴바 델타(실측 116px)보다 넉넉한 여유. Player가 fixed라 이 영역은 스크롤돼도 보이지 않는다. */
    height: calc(100% + 240px);
    margin: 0;
}

html.static-live-crios:has([data-static-live-player]) .LiveCommerce_page {
    position: fixed;
    inset: 0;
    /* inset이 크기를 정하므로 뷰포트 단위 높이를 무효화한다. */
    height: auto;
}

.LiveCommerce_page {
    /* Player 화면 높이의 유일한 소유자다. 이 높이는 실제로 보이는 높이와 같아야 하며, 크면 문서가
       스크롤되어 그 상태로 멈추고 작으면 아래로 바깥 배경이 드러난다. 그래서 아래 자식들은 뷰포트 단위를
       다시 쓰지 않고 이 높이를 100%로 물려받기만 한다.
       높이는 JS 측정이 아니라 dvh로 잡는다. iOS(Chrome 포함)는 주소창·키보드 전환에서 resize·
       visualViewport 이벤트를 주지 않거나 과도기 값을 돌려주는 것이 실기기에서 확인됐고, 그 값을
       픽셀로 굳히면 스스로 복구할 방법이 없다. dvh는 CSS 엔진이 브라우저 UI 상태를 직접 따라간다.
       문서 흐름에 남겨 두어야 브라우저 기본 당겨서 새로고침 제스처가 그대로 동작한다. position: fixed로
       덮으면 하단 여백은 사라지지만 새로고침이 함께 막힌다. */
    height: 100vh;
    height: 100dvh;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--site-bg, #e9e1d6);
    color: var(--site-text, #3e342d);
    /* iOS는 화면 폭보다 넓은 글 상자를 만나면 그 글자와 줄 높이를 최대 1.7배 키운다(WebKit text autosizing).
       Player는 폭이 정해진 화면이라 키울 이유가 없고, 커진 글자가 공지·패널을 좌우·상하 스크롤로 밀어내므로 끈다.
       상속 속성이라 이 페이지 위에 뜨는 Dialog·토스트에도 함께 적용되며 손가락 확대는 막지 않는다. */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.LiveCommerce {
    --lc-accent: var(--lc-live-accent, var(--site-primary, #8a6f5b));
    --lc-accent-dark: var(--lc-live-accent-dark, var(--site-primary-dark, #5a4638));
    --lc-accent-soft: var(--lc-live-accent-soft, var(--site-primary-soft, #e7dccf));
    --lc-accent-text: #ffffff;
    --lc-soldout-bg: rgba(126, 126, 126, 0.92);
    --lc-soldout-text: #ffffff;
    --lc-bottom-safe: max(1rem, env(safe-area-inset-bottom));
    --lc-bottom-bar-h: 3rem;
    /* 구매카드 최소 높이이자 채팅 위치 계산의 기준이다. 구매 버튼과 위아래 여백만 담는 바닥값이라 카드 높이는 내용으로 정해져 안쪽 여백이 상하좌우 같고,
       바닥값보다 커진 만큼은 StaticLivePlayer.js의 updateBuyCardLayout이 --lc-buy-card-grow로 채팅·답변 하단에 더한다. */
    --lc-buy-card-h: 3.9rem;
    --lc-gap: 0.7rem;
    --lc-chat-bottom: calc(var(--lc-bottom-safe) + var(--lc-bottom-bar-h) + 0.85rem);
    --lc-answer-bottom: calc(var(--lc-bottom-safe) + var(--lc-bottom-bar-h) + 0.55rem);
    --lc-radius-sm: 0.75rem;
    --lc-radius-md: 0.95rem;
    --lc-radius-lg: 1.25rem;
    --lc-glass-dark: rgba(0, 0, 0, 0.48);
    --lc-glass-deep: rgba(0, 0, 0, 0.68);
    --lc-line-light: rgba(255, 255, 255, 0.16);
    --lc-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.28);
    --lc-control-bg: var(--lc-accent);
    --lc-control-bg-hover: color-mix(in srgb, var(--lc-accent) 88%, #000000 12%);
    --lc-control-border: color-mix(in srgb, var(--lc-accent) 68%, rgba(255, 255, 255, 0.22));
    --lc-control-ripple: rgba(255, 255, 255, 0.28);
    width: 100%;
    max-width: 600px;
    /* 높이는 .LiveCommerce_page가 정한 값을 그대로 물려받는다. 여기서 뷰포트 단위를 다시 쓰면 어긋난다. */
    height: 100%;
    margin: 0 auto;
    background: #111;
    /* Player 위 패널·카드·공지·안내 글자는 길게 누름·더블탭·드래그로 선택되지 않게 한다. 선택되면 Android Chrome 터치 검색·
       iOS 찾아보기 같은 브라우저 동작이 방송 화면을 덮는다. 자식의 auto가 이 값을 따라가므로 패널마다 다시 걸지 않는다.
       입력칸은 아래에서 text로 되돌리고, 주문번호(.LiveCommerce_orderNumber)는 복사용 all을 유지한다. */
    -webkit-user-select: none; /* iOS Safari는 접두사만 인식한다. */
    user-select: none;
}

    /* 구매카드가 기본 높이(바닥값)보다 커진 만큼(--lc-buy-card-grow)을 더해 카드가 채팅 아랫줄을 덮지 않게 한다. */
    .LiveCommerce.has-product-card {
        --lc-chat-bottom: calc(var(--lc-bottom-safe) + var(--lc-bottom-bar-h) + var(--lc-buy-card-h) + var(--lc-buy-card-grow, 0px) + 1.45rem);
        --lc-answer-bottom: calc(var(--lc-bottom-safe) + var(--lc-bottom-bar-h) + var(--lc-buy-card-h) + var(--lc-buy-card-grow, 0px) + 1.15rem);
    }

    /* 입력칸(채팅·검색·닉네임·수량·배송지)은 입력·커서 이동·선택이 돼야 한다. iOS는 조상에 -webkit-user-select: none이
       있으면 안의 입력칸 선택이 막히는 버전이 있어 명시적으로 돌려준다. */
    .LiveCommerce input,
    .LiveCommerce textarea {
        -webkit-user-select: text;
        user-select: text;
    }


/* ======================================================
   Common Interactive Buttons
   - 패널/구매/쿠폰창 내부 버튼의 클릭 피드백 통합
   - 쿠폰 티켓 버튼(.LiveCommerce_couponEntry)은 고유 디자인 유지
   ====================================================== */

.LiveCommerce_buyBtn,
.LiveCommerce_panelBuyBtn,
.LiveCommerce_productItemBtn,
.LiveCommerce_commentSend,
.LiveCommerce_actionBtn,
.LiveCommerce_iconBtn,
.LiveCommerce_modeBtn,
.LiveCommerce_optionItem,
.LiveCommerce_quantityStepper button,
.LiveCommerce_optionDescToggle,
.LiveCommerce_infoClose,
.LiveCommerce_panelClose,
.LiveCommerce_noticeToggle,
.LiveCommerce_noticeClose,
.LiveCommerce_couponItem button,
.LiveCommerce_couponAllBtn,
.LiveCommerce_couponClose {
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

    .LiveCommerce_buyBtn::after,
    .LiveCommerce_panelBuyBtn::after,
    .LiveCommerce_productItemBtn::after,
    .LiveCommerce_commentSend::after,
    .LiveCommerce_actionBtn::after,
    .LiveCommerce_iconBtn::after,
    .LiveCommerce_modeBtn::after,
    .LiveCommerce_optionItem::after,
    .LiveCommerce_quantityStepper button::after,
    .LiveCommerce_optionDescToggle::after,
    .LiveCommerce_infoClose::after,
    .LiveCommerce_panelClose::after,
    .LiveCommerce_noticeToggle::after,
    .LiveCommerce_noticeClose::after,
    .LiveCommerce_couponItem button::after,
    .LiveCommerce_couponAllBtn::after,
    .LiveCommerce_couponClose::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        border-radius: 999px;
        background: var(--lc-control-ripple);
        opacity: 0;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    .LiveCommerce_buyBtn:not(:disabled):active,
    .LiveCommerce_panelBuyBtn:not(:disabled):active,
    .LiveCommerce_productItemBtn:not(:disabled):active,
    .LiveCommerce_commentSend:not(:disabled):active,
    .LiveCommerce_actionBtn:not(:disabled):active,
    .LiveCommerce_iconBtn:not(:disabled):active,
    .LiveCommerce_modeBtn:not(:disabled):active,
    .LiveCommerce_optionItem:not(:disabled):active,
    .LiveCommerce_quantityStepper button:not(:disabled):active,
    .LiveCommerce_optionDescToggle:not(:disabled):active,
    .LiveCommerce_infoClose:not(:disabled):active,
    .LiveCommerce_panelClose:not(:disabled):active,
    .LiveCommerce_noticeToggle:not(:disabled):active,
    .LiveCommerce_noticeClose:not(:disabled):active,
    .LiveCommerce_couponItem button:not(:disabled):active,
    .LiveCommerce_couponAllBtn:not(:disabled):active,
    .LiveCommerce_couponClose:not(:disabled):active {
        transform: translateY(1px) scale(0.985);
    }

        .LiveCommerce_buyBtn:not(:disabled):active::after,
        .LiveCommerce_panelBuyBtn:not(:disabled):active::after,
        .LiveCommerce_productItemBtn:not(:disabled):active::after,
        .LiveCommerce_commentSend:not(:disabled):active::after,
        .LiveCommerce_actionBtn:not(:disabled):active::after,
        .LiveCommerce_iconBtn:not(:disabled):active::after,
        .LiveCommerce_modeBtn:not(:disabled):active::after,
        .LiveCommerce_optionItem:not(:disabled):active::after,
        .LiveCommerce_quantityStepper button:not(:disabled):active::after,
        .LiveCommerce_optionDescToggle:not(:disabled):active::after,
        .LiveCommerce_infoClose:not(:disabled):active::after,
        .LiveCommerce_panelClose:not(:disabled):active::after,
        .LiveCommerce_noticeToggle:not(:disabled):active::after,
        .LiveCommerce_noticeClose:not(:disabled):active::after,
        .LiveCommerce_couponItem button:not(:disabled):active::after,
        .LiveCommerce_couponAllBtn:not(:disabled):active::after,
        .LiveCommerce_couponClose:not(:disabled):active::after {
            width: 180%;
            height: 180%;
            opacity: 1;
            transition: width 220ms ease, height 220ms ease, opacity 320ms ease;
        }

    .LiveCommerce_buyBtn:focus-visible,
    .LiveCommerce_panelBuyBtn:focus-visible,
    .LiveCommerce_productItemBtn:focus-visible,
    .LiveCommerce_commentSend:focus-visible,
    .LiveCommerce_actionBtn:focus-visible,
    .LiveCommerce_iconBtn:focus-visible,
    .LiveCommerce_modeBtn:focus-visible,
    .LiveCommerce_optionItem:focus-visible,
    .LiveCommerce_quantityStepper button:focus-visible,
    .LiveCommerce_optionDescToggle:focus-visible,
    .LiveCommerce_infoClose:focus-visible,
    .LiveCommerce_panelClose:focus-visible,
    .LiveCommerce_noticeToggle:focus-visible,
    .LiveCommerce_noticeClose:focus-visible,
    .LiveCommerce_couponItem button:focus-visible,
    .LiveCommerce_couponAllBtn:focus-visible,
    .LiveCommerce_couponClose:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--lc-accent) 48%, #ffffff);
        outline-offset: 2px;
    }

.LiveCommerce_view {
    position: relative;
    width: 100%;
    /* 검은 영상 영역은 항상 Player 상자를 꽉 채운다. 여기서 뷰포트 단위를 다시 쓰면 상자 높이와
       어긋나는 순간 아래쪽에 페이지 배경색 띠가 남는다. */
    height: 100%;
    max-height: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #111;
    isolation: isolate;
}

/* ======================================================
   Video
   - 실제 라이브/리플레이 영상 레이어
   ====================================================== */

.LiveCommerce_video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #111;
}

.LiveCommerce_videoPlayer {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

/* 영상 위에는 글자 가독용 검정 그라데이션만 둔다. 포인트 컬러 등 색을 섞으면 밝은 배경에서 영상 한쪽이 물든 것처럼 보인다.
   상단은 로고·배지·아이콘이 모두 자기 배경이나 그림자를 가지고 있어 그늘을 두지 않는다.
   하단 그늘은 채팅이 놓이는 자리까지만 올린다. 더 끌어올리면 영상 전체가 어두워 보인다는 시청자 지적이 있었다. */
.LiveCommerce_videoShade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 0%, transparent 69%, rgba(0, 0, 0, 0.40) 100%);
}

/* ======================================================
   Buy Effect
   - 구매확정 결과를 영상 한가운데에서 알리는 배송 이펙트
   - 도형은 PlayLive.razor의 template에 있고 움직임은 이 파일에서만 만든다
   ====================================================== */

/* 영상 상자 폭에 맞춘 정사각 재생면이다. 그림과 아래 문구를 합친 덩어리가 뷰박스 중앙보다 아래에 놓여 있어
   그만큼 끌어올려야 영상 한가운데로 보인다. 패널(70) 위, 안내 Dialog(86) 아래에 둔다. */
.LiveCommerce_buyEffect {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 80;
    aspect-ratio: 1 / 1;
    transform: translateY(-66%);
    pointer-events: none;
}

    .LiveCommerce_buyEffect .buy-effect {
        display: block;
        width: 100%;
        height: 100%;
    }

/* 그림만으로는 결과가 분명하지 않아 트럭 바로 아래에 결과 문구를 알약칩으로 함께 띄운다. 색은 방송 포인트색을 따른다.
   top 81%는 트럭이 멈춰 선 위치의 바닥(재생면 높이의 78%, 실측) 바로 아래다.
   문구는 재생이 시작될 때 함께 붙고 끝날 때 함께 걷히므로 따로 애니메이션을 주지 않는다. */
.LiveCommerce_buyEffect .buy-effect-label {
    position: absolute;
    left: 50%;
    top: 81%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 92%;
    min-height: 1.95rem;
    margin: 0;
    padding: 0 0.95rem;
    border-radius: 999px;
    background: var(--lc-accent);
    color: var(--lc-accent-text);
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 0.45rem 1.1rem rgba(0, 0, 0, 0.3);
}

/* 트럭·선물·리본은 SVG 사용자 좌표를 그대로 쓴다. transform-box와 transform-origin이 이 값이어야
   아래 keyframes의 px가 원본 SVG의 transform 속성과 같은 뜻이 된다. 1800ms는 원본 타임라인 그대로다. */
.LiveCommerce_buyEffect .buy-effect-truck,
.LiveCommerce_buyEffect .buy-effect-gift,
.LiveCommerce_buyEffect .buy-effect-ribbon {
    transform-box: view-box;
    transform-origin: 0 0;
    animation-duration: 1800ms;
    animation-timing-function: linear;
    animation-fill-mode: both;
}

.LiveCommerce_buyEffect .buy-effect-truck {
    animation-name: buy-effect-truck;
}

.LiveCommerce_buyEffect .buy-effect-gift {
    animation-name: buy-effect-gift;
}

.LiveCommerce_buyEffect .buy-effect-ribbon {
    animation-name: buy-effect-ribbon;
}

/* 트럭이 다시 출발하는 구간에 겹치는 속도선과 연기, 선물이 실릴 때의 반짝임이다. 지연시간은 모두 위 1800ms 기준이다. */
.LiveCommerce_buyEffect .buy-effect-speed-lines {
    color: #9edff3;
}

.LiveCommerce_buyEffect .buy-effect-speed-dash {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

    .LiveCommerce_buyEffect .buy-effect-speed-dash:nth-child(1) { animation: buy-effect-speed-dash 304ms ease-out 1193ms both; }
    .LiveCommerce_buyEffect .buy-effect-speed-dash:nth-child(2) { animation: buy-effect-speed-dash 325ms ease-out 1242ms both; }
    .LiveCommerce_buyEffect .buy-effect-speed-dash:nth-child(3) { animation: buy-effect-speed-dash 275ms ease-out 1299ms both; }
    .LiveCommerce_buyEffect .buy-effect-speed-dash:nth-child(4) { animation: buy-effect-speed-dash 339ms ease-out 1348ms both; }
    .LiveCommerce_buyEffect .buy-effect-speed-dash:nth-child(5) { animation: buy-effect-speed-dash 289ms ease-out 1419ms both; }
    .LiveCommerce_buyEffect .buy-effect-speed-dash:nth-child(6) { animation: buy-effect-speed-dot 254ms ease-out 1278ms both; }
    .LiveCommerce_buyEffect .buy-effect-speed-dash:nth-child(7) { animation: buy-effect-speed-dot 275ms ease-out 1405ms both; }

.LiveCommerce_buyEffect .buy-effect-smoke-puff {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

    .LiveCommerce_buyEffect .buy-effect-smoke-puff:nth-child(1) { animation: buy-effect-smoke 438ms cubic-bezier(.15,.65,.25,1) 1242ms both; }
    .LiveCommerce_buyEffect .buy-effect-smoke-puff:nth-child(2) { animation: buy-effect-smoke 459ms cubic-bezier(.15,.65,.25,1) 1320ms both; }
    .LiveCommerce_buyEffect .buy-effect-smoke-puff:nth-child(3) { animation: buy-effect-smoke 480ms cubic-bezier(.15,.65,.25,1) 1398ms both; }

.LiveCommerce_buyEffect .buy-effect-gift-pop {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: buy-effect-gift-pop 325ms cubic-bezier(.18,.72,.24,1.25) 713ms both;
}

@keyframes buy-effect-speed-dash {
    0% { opacity: 0; transform: translateX(70px) scaleX(.25); }
    25% { opacity: .9; transform: translateX(15px) scaleX(1); }
    72% { opacity: .68; }
    100% { opacity: 0; transform: translateX(-105px) scaleX(.62); }
}

@keyframes buy-effect-speed-dot {
    0% { opacity: 0; transform: translateX(45px) scale(.25); }
    30% { opacity: .9; transform: translateX(5px) scale(1); }
    100% { opacity: 0; transform: translate(-70px, -6px) scale(.55); }
}

@keyframes buy-effect-smoke {
    0% { opacity: 0; transform: translate(80px, 12px) scale(.25); }
    18% { opacity: .78; }
    62% { opacity: .5; transform: translate(-34px, -18px) scale(1.08); }
    100% { opacity: 0; transform: translate(-118px, -48px) scale(1.62); }
}

@keyframes buy-effect-gift-pop {
    0% { opacity: 0; transform: translateY(12px) scale(.15); }
    18% { opacity: 1; transform: translateY(4px) scale(.5); }
    58% { opacity: 1; transform: translateY(-4px) scale(1.08); }
    100% { opacity: 0; transform: translateY(-16px) scale(1.34); }
}

@keyframes buy-effect-gift {
    0% { transform: translate(475.35px, -172.02px) rotate(0deg) translate(-488.91px, -557.38px); }
    26.6667% { transform: translate(475.35px, -172.02px) rotate(0deg) translate(-488.91px, -557.38px); }
    40% { transform: translate(482.51px, 643.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    42.2222% { transform: translate(482.51px, 657.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    45.5556% { transform: translate(482.51px, 609.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    48.8889% { transform: translate(482.51px, 651.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    52.2222% { transform: translate(482.51px, 634.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    56.6667% { transform: translate(482.51px, 643.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    63.3333% { transform: translate(482.51px, 643.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    68.3333% { transform: translate(482.51px, 643.89px) rotate(-6.5deg) translate(-488.91px, -557.38px); }
    70% { transform: translate(482.51px, 643.89px) rotate(-2.83deg) translate(-488.91px, -557.38px); }
    73.3333% { transform: translate(442.51px, 643.89px) rotate(4.5deg) translate(-488.91px, -557.38px); }
    76.6667% { transform: translate(527.51px, 641.89px) rotate(0.17deg) translate(-488.91px, -557.38px); }
    78.3333% { transform: translate(606.26px, 641.39px) rotate(-2deg) translate(-488.91px, -557.38px); }
    83.3333% { transform: translate(842.51px, 639.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    91.6667% { transform: translate(1262.54px, 643.89px) rotate(0deg) translate(-488.91px, -557.38px); }
    100% { transform: translate(1262.54px, 643.89px) rotate(0deg) translate(-488.91px, -557.38px); }
}

@keyframes buy-effect-ribbon {
    0% { transform: translate(488.91px, 502.5px) rotate(0deg) translate(-488.91px, -502.5px); }
    40% { transform: translate(488.91px, 502.5px) rotate(0deg) translate(-488.91px, -502.5px); }
    42.2222% { transform: translate(488.91px, 502.5px) rotate(8deg) translate(-488.91px, -502.5px); }
    45.5556% { transform: translate(488.91px, 502.5px) rotate(-10deg) translate(-488.91px, -502.5px); }
    48.8889% { transform: translate(488.91px, 502.5px) rotate(5deg) translate(-488.91px, -502.5px); }
    52.2222% { transform: translate(488.91px, 502.5px) rotate(-2deg) translate(-488.91px, -502.5px); }
    56.6667% { transform: translate(488.91px, 502.5px) rotate(0deg) translate(-488.91px, -502.5px); }
    100% { transform: translate(488.91px, 502.5px) rotate(0deg) translate(-488.91px, -502.5px); }
}

@keyframes buy-effect-truck {
    0% { transform: translate(-276.28px, 731.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    26.6667% { transform: translate(540px, 731.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    40% { transform: translate(540px, 731.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    42.2222% { transform: translate(540px, 746.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    45.5556% { transform: translate(540px, 713.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    48.8889% { transform: translate(540px, 740.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    52.2222% { transform: translate(540px, 727.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    56.6667% { transform: translate(540px, 731.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    63.3333% { transform: translate(540px, 731.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    68.3333% { transform: translate(540px, 731.49px) rotate(-6.5deg) translate(-541.86px, -645.01px); }
    70% { transform: translate(540px, 731.49px) rotate(-2.83deg) translate(-541.86px, -645.01px); }
    73.3333% { transform: translate(500px, 731.49px) rotate(4.5deg) translate(-541.86px, -645.01px); }
    76.6667% { transform: translate(585px, 729.49px) rotate(0.17deg) translate(-541.86px, -645.01px); }
    78.3333% { transform: translate(663.75px, 728.99px) rotate(-2deg) translate(-541.86px, -645.01px); }
    83.3333% { transform: translate(900px, 727.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    91.6667% { transform: translate(1320.03px, 731.49px) rotate(0deg) translate(-541.86px, -645.01px); }
    100% { transform: translate(1320.03px, 731.49px) rotate(0deg) translate(-541.86px, -645.01px); }
}

.LiveCommerce_playerNoticeLayer {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    pointer-events: none;
}

button.LiveCommerce_playerNoticeLayer.is-action {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.LiveCommerce_playerNoticeCard {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: min(100%, 20rem);
    min-height: 8.5rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--lc-radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0.85rem 2rem rgba(0, 0, 0, 0.28);
    color: #332c27;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.LiveCommerce_playerNoticeSpinner {
    color: var(--lc-accent-dark) !important;
}

.LiveCommerce_playerNoticeTouch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--lc-accent-dark);
}

    .LiveCommerce_playerNoticeTouch::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 48%;
        width: 1.8rem;
        height: 1.8rem;
        border: 2px solid color-mix(in srgb, var(--lc-accent) 58%, transparent);
        border-radius: 999px;
        transform: translate(-50%, -50%) scale(0.45);
        animation: LiveCommerce_playerNoticeTouchRipple 1.5s ease-out infinite;
    }

    .LiveCommerce_playerNoticeTouch .mud-icon-root {
        position: relative;
        z-index: 1;
        width: 2.25rem !important;
        height: 2.25rem !important;
        font-size: 2.25rem !important;
        color: inherit !important;
        animation: LiveCommerce_playerNoticeTouchPress 1.5s ease-in-out infinite;
    }

@keyframes LiveCommerce_playerNoticeTouchPress {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    38% {
        transform: translateY(0.18rem) scale(0.92);
    }

    58% {
        transform: translateY(0) scale(1);
    }
}

/* 인앱브라우저 안내는 상단 UI(40·45)와 패널(60·70·86) 위에 놓아 진입 직후 가려지지 않게 합니다. */
.LiveCommerce_playerNoticeLayer.is-guide {
    z-index: 90;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.LiveCommerce_inappGuideCard {
    gap: 0.65rem;
}

.LiveCommerce_inappGuideStep {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    color: #6b625b;
}

.LiveCommerce_inappGuideActions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.LiveCommerce_inappGuideBtn {
    width: 100%;
    min-height: 2.45rem;
    border: 1px solid var(--lc-accent);
    border-radius: 0.75rem;
    color: var(--lc-accent-dark);
    background: var(--site-surface);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 950;
    cursor: pointer;
}

    .LiveCommerce_inappGuideBtn.is-primary {
        color: var(--lc-accent-text);
        background: var(--lc-accent);
    }

    .LiveCommerce_inappGuideBtn:not(:disabled):hover,
    .LiveCommerce_inappGuideBtn:not(:disabled):focus-visible {
        color: var(--lc-accent-text);
        background: var(--lc-control-bg);
    }

@keyframes LiveCommerce_playerNoticeTouchRipple {
    0%, 30% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.45);
    }

    42% {
        opacity: 0.72;
    }

    78%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.25);
    }
}

button.LiveCommerce_playerNoticeLayer.is-action:focus-visible {
    outline: 0;
}

button.LiveCommerce_playerNoticeLayer.is-action:focus-visible .LiveCommerce_playerNoticeCard {
    outline: 2px solid color-mix(in srgb, var(--lc-accent) 62%, #ffffff);
    outline-offset: 3px;
}

/* ======================================================
   Top / Brand / Buttons
   - 상단 좌표, 브랜드 로고, LIVE/REPLAY, 상단 아이콘 버튼 최종 통합
   - 브랜드 로고: 텍스트 / 아이콘+텍스트 / 이미지 로고 대응
   - 이미지 경로: images/LiveLogoIcon.png, images/LiveLogoWhite.png
   ====================================================== */

.LiveCommerce {
    --lc-top-x: 1rem;
    --lc-top-y: max(0.9rem, env(safe-area-inset-top));
    --lc-top-btn-size: 2.05rem;
    --lc-ui-x: var(--lc-top-x);
    --lc-ui-top: var(--lc-top-y);
    --lc-ui-notice-top: calc(var(--lc-ui-top) + 3.68rem);
    --lc-shop-gap: 0.55rem;
}

.LiveCommerce_top {
    position: absolute;
    left: var(--lc-ui-x);
    right: var(--lc-ui-x);
    top: var(--lc-ui-top);
    z-index: 40;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    pointer-events: none;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 180ms ease, transform 220ms ease;
    box-sizing: border-box;
}

.LiveCommerce_liveMeta,
.LiveCommerce_topActions {
    display: inline-flex;
    min-width: 0;
    pointer-events: auto;
}

.LiveCommerce_liveMeta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.26rem;
}

.LiveCommerce_topActions {
    align-items: center;
    gap: 0.34rem;
}

.LiveCommerce_brandLogo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.34rem;
    min-width: 0;
    max-width: 10.8rem;
    min-height: 1.45rem;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0.16rem 0.55rem rgba(0, 0, 0, 0.42);
    white-space: nowrap;
}

.LiveCommerce_brandLogoText {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 0.88rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
}

.LiveCommerce_brandLogoIcon {
    flex: 0 0 1.42rem;
    display: block;
    width: 1.42rem;
    height: 1.42rem;
    border-radius: 0.24rem;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 0.22rem 0.6rem rgba(0, 0, 0, 0.28);
}

/* 관리자 등록 가로(4:1) 로고입니다. 실제 이미지 비율이 달라도 잘리지 않도록 정해진 높이 안에서 contain으로 맞춥니다. */
.LiveCommerce_brandLogoWide {
    display: block;
    width: auto;
    height: 1.42rem;
    max-width: 100%;
    aspect-ratio: 4 / 1;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 0.22rem 0.6rem rgba(0, 0, 0, 0.28));
}

.LiveCommerce_liveMetaRow {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-width: 0;
}

.LiveCommerce_liveBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.55rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #19c875, #0fae64);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.04em;
}

    .LiveCommerce_liveBadge.is-live {
        background: linear-gradient(135deg, #19c875, #0fae64);
    }

/* Host·Monitor 매출통계 칩은 시청자수와 같은 모양으로 둔다. 블러는 영상 프레임마다 다시 계산되므로 송출 폰 부담을 늘리지 않게 칩에는 걸지 않는다. */
.LiveCommerce_viewer,
.LiveCommerce_salesChip {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    background: var(--lc-glass-dark);
    border: 1px solid var(--lc-line-light);
    font-size: 0.72rem;
    font-weight: 700;
}

.LiveCommerce_viewer {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 버튼 기본 모양을 걷어 내 시청자수 칩과 같은 글꼴·높이를 쓰고, 펼친 동안만 화면 정리 버튼과 같은 강조색으로 상태를 드러낸다. */
.LiveCommerce_salesChip {
    margin: 0;
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
    white-space: nowrap;
}

    .LiveCommerce_salesChip.is-on {
        color: var(--lc-accent-text);
        background: var(--lc-control-bg);
        border-color: var(--lc-control-border);
    }

    .LiveCommerce_viewer::before {
        content: "";
        display: inline-block;
        width: 0.38rem;
        height: 0.38rem;
        margin-right: 0.36rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 0 0.45rem rgba(255, 255, 255, 0.45);
    }

.LiveCommerce_iconBtn,
.LiveCommerce_iconBtn.mud-icon-button {
    width: var(--lc-top-btn-size) !important;
    min-width: var(--lc-top-btn-size) !important;
    height: var(--lc-top-btn-size) !important;
    min-height: var(--lc-top-btn-size) !important;
    padding: 0 !important;
    border-radius: 999px !important;
    color: rgba(255, 255, 255, 0.94) !important;
    background: rgba(0, 0, 0, 0.42) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 0.38rem 0.8rem rgba(0, 0, 0, 0.16) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .LiveCommerce_iconBtn .mud-icon-root,
    .LiveCommerce_iconBtn.mud-icon-button .mud-icon-root {
        width: 1.05rem !important;
        height: 1.05rem !important;
        color: inherit !important;
        font-size: 1.05rem !important;
    }

    .LiveCommerce_iconBtn:hover,
    .LiveCommerce_iconBtn:focus-visible {
        background: rgba(0, 0, 0, 0.58) !important;
        border-color: rgba(255, 255, 255, 0.28) !important;
    }

/* Monitor 좌우반전 버튼은 켜진 동안만 화면 정리 버튼과 같은 강조색으로 상태를 드러낸다. */
.LiveCommerce_modeBtn,
.LiveCommerce_modeBtn.mud-icon-button,
.LiveCommerce_mirrorBtn.is-on {
    color: var(--lc-accent-text) !important;
    background: var(--lc-control-bg) !important;
    border-color: var(--lc-control-border) !important;
}

    .LiveCommerce_modeBtn:hover,
    .LiveCommerce_modeBtn:focus-visible,
    .LiveCommerce_mirrorBtn.is-on:hover,
    .LiveCommerce_mirrorBtn.is-on:focus-visible {
        background: var(--lc-control-bg-hover) !important;
    }

@media (max-width: 600px) {
    .LiveCommerce {
        --lc-top-x: 0.72rem;
        --lc-top-y: max(0.72rem, env(safe-area-inset-top));
        --lc-top-btn-size: 1.96rem;
        --lc-ui-notice-top: calc(var(--lc-ui-top) + 3.42rem);
        --lc-shop-gap: 0.48rem;
    }

    .LiveCommerce_topActions {
        gap: 0.28rem;
    }

    .LiveCommerce_brandLogo {
        max-width: 8.6rem;
        min-height: 1.28rem;
        gap: 0.28rem;
    }

    .LiveCommerce_brandLogoText {
        font-size: 0.78rem;
    }

    .LiveCommerce_brandLogoIcon {
        flex-basis: 1.24rem;
        width: 1.24rem;
        height: 1.24rem;
        border-radius: 0.2rem;
    }

    .LiveCommerce_brandLogoWide {
        height: 1.24rem;
    }

    .LiveCommerce_liveMetaRow {
        gap: 0.3rem;
    }

    .LiveCommerce_liveBadge,
    .LiveCommerce_viewer,
    .LiveCommerce_salesChip {
        min-height: 1.38rem;
        padding: 0 0.56rem;
        font-size: 0.64rem;
    }
}

.LiveCommerce_answerHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.28rem;
    color: color-mix(in srgb, var(--lc-accent) 45%, #ffffff);
    font-size: 0.64rem;
    font-weight: 950;
}

    /* 머리말에 "매니저_닉네임"이 들어가므로 띄어쓰기 없는 긴 영문 닉네임도 줄을 바꿔 고정 아이콘을 밀어내지 않게 한다. */
    .LiveCommerce_answerHead > span:not(.mud-icon-root) {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .LiveCommerce_answerHead .mud-icon-root {
        width: 0.9rem !important;
        height: 0.9rem !important;
        font-size: 0.9rem !important;
        color: color-mix(in srgb, var(--lc-accent) 45%, #ffffff) !important;
    }

.LiveCommerce_answerQuestion,
.LiveCommerce_answerReply {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.28;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.LiveCommerce_answerQuestion {
    color: rgba(255, 255, 255, 0.72);
}

.LiveCommerce_answerReply {
    margin-top: 0.2rem;
    color: #ffffff;
    font-weight: 760;
}


/* ======================================================
   Chat / Manager Answers
   - 일반 채팅, 매니저 강조 채팅, 매니저 답변 카드 최종 통합
   - 하단 답변 제거, 채팅 내부 답변 + 답변 고정만 사용
   ====================================================== */

.LiveCommerce_chat {
    position: absolute;
    left: var(--lc-ui-x, 1rem);
    right: var(--lc-ui-x, 1rem);
    bottom: var(--lc-chat-bottom);
    z-index: 24;
    max-height: 31%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.45rem;
    pointer-events: none;
    opacity: 1;
    transform: translateY(0);
    transition: bottom 240ms cubic-bezier(0.19, 1, 0.22, 1), opacity 180ms ease, transform 220ms ease;
}

.LiveCommerce_chatScroll {
    max-height: 11.8rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    padding-right: 0.2rem;
    pointer-events: auto;
}

.LiveCommerce_chatScroll.is-overflowing {
    mask-image: linear-gradient( to bottom, transparent 0, rgba(0, 0, 0, 0.16) 0.95rem, rgba(0, 0, 0, 1) 2.65rem, rgba(0, 0, 0, 1) 100% );
    -webkit-mask-image: linear-gradient( to bottom, transparent 0, rgba(0, 0, 0, 0.16) 0.95rem, rgba(0, 0, 0, 1) 2.65rem, rgba(0, 0, 0, 1) 100% );
}

    .LiveCommerce_chatScroll::-webkit-scrollbar {
        display: none;
    }

.LiveCommerce_chatMsg {
    width: fit-content;
    max-width: min(82%, 24rem);
    margin: 0.28rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.96);
    /* 시청자가 12~20px 중 고른 값을 StaticLivePlayer.js가 페이지 루트의 --lc-chat-size에 넣는다(기본 15px, rem이 아니라 px 고정 — 2026-11-07 사용자 결정).
       줄간격은 단위 없는 값이라 글자와 함께 늘고 채팅 영역 높이(.LiveCommerce_chatScroll, rem 기준)는 그대로다. */
    font-size: var(--lc-chat-size, 15px);
    line-height: 1.28;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72), 0 0 0.5rem rgba(0, 0, 0, 0.48);
}

    .LiveCommerce_chatMsg b {
        margin-right: 0.35rem;
        color: #AEB6C0;
        font-weight: 850;
    }

    .LiveCommerce_chatMsg span {
        color: rgba(255, 255, 255, 0.96);
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    /* 구매감사가 테마 accent를 그대로 쓰므로 매니저 채팅이 같은 색조로 보여 구분되지 않았다.
       매니저 채팅만 테마마다 따로 정한 대비색을 쓰고, 값이 없는 테마는 이전처럼 accent 로 떨어진다.
       구매감사는 이전 모습 그대로 accent 를 쓴다. 둘이 같은 클래스를 쓰면 색을 바꿔도 함께 바뀌어 구분되지 않는다. */
    .LiveCommerce_chatMsg.is-manager,
    .LiveCommerce_chatMsg.is-purchase {
        display: block;
        font-weight: 760;
    }

    .LiveCommerce_chatMsg.is-manager {
        color: color-mix(in srgb, var(--lc-manager, var(--lc-accent)) 42%, #ffffff);
    }

    /* "매니저_닉네임"은 말줄임하지 않으므로 띄어쓰기 없는 긴 영문 닉네임도 채팅 폭 안에서 줄을 바꾼다. */
    .LiveCommerce_chatMsg.is-manager b {
        overflow-wrap: anywhere;
        color: color-mix(in srgb, var(--lc-manager, var(--lc-accent)) 68%, #ffffff);
    }

    .LiveCommerce_chatMsg.is-manager span {
        color: color-mix(in srgb, var(--lc-manager, var(--lc-accent)) 42%, #ffffff);
    }

    .LiveCommerce_chatMsg.is-purchase {
        color: color-mix(in srgb, var(--lc-accent) 42%, #ffffff);
    }

    .LiveCommerce_chatMsg.is-purchase b {
        color: color-mix(in srgb, var(--lc-accent) 68%, #ffffff);
    }

    .LiveCommerce_chatMsg.is-purchase span {
        color: color-mix(in srgb, var(--lc-accent) 42%, #ffffff);
    }

/* 채팅 고정은 서브 공지처럼 쓰이므로 말줄임하지 않고 줄을 바꿔 전부 보여 준다. 여러 줄이 되면 핀 아이콘은 첫 줄 옆에 둔다. */
.LiveCommerce_pinnedChat {
    display: none;
    align-items: flex-start;
    width: min(82%, 30rem);
    gap: 0.42rem;
    color: #ffffff;
    pointer-events: auto;
}

    .LiveCommerce_pinnedChat.is-active {
        display: flex;
    }

    /* 아이콘 상자를 고정 줄 첫 줄 높이(글자 0.78rem × 줄간격 1.2)로 맞춰 글리프를 첫 줄 가운데에 둔다.
       한 줄 메시지는 이전 가운데 정렬과 같은 모습이 되고, 여러 줄이어도 아이콘이 가운데로 내려가지 않는다. */
    .LiveCommerce_pinnedChat > .mud-icon-root {
        flex: 0 0 auto;
        height: calc(0.78rem * 1.2);
        align-items: center;
        color: #D97706;
    }

/* 줄 수 제한과 스크롤을 두지 않고 전부 펼친다. 줄 안에 세로 스크롤이 생기면 영상 위에서 어색하고,
   잘라 보이면 서브 공지를 끝까지 읽을 수 없다. 길어진 만큼 채팅 목록 자리가 줄어드는 것은 감수한다. */
.LiveCommerce_pinnedChatText {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.78rem;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72), 0 0 0.5rem rgba(0, 0, 0, 0.48);
}

    /* 발화자와 메시지를 채팅 목록처럼 한 흐름으로 이어 쓰고 둘 다 줄이지 않는다.
       매니저 닉네임은 누가 쓴 안내인지 알아보는 표식이라 띄어쓰기 없는 긴 영문 닉네임도 줄을 바꿔 전부 보인다. */
    .LiveCommerce_pinnedChatText b {
        margin-right: 0.42rem;
        overflow-wrap: anywhere;
        color: #D97706;
        font-weight: 850;
    }

    /* 채팅 목록과 같은 메시지이므로 입력한 줄바꿈도 목록과 같이 보여 준다. */
    .LiveCommerce_pinnedChatText span {
        color: #FFF4E6;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

.LiveCommerce_answerCard {
    width: min(62%, 21rem);
    max-width: 62%;
    border-left: 3px solid var(--lc-accent);
    border-radius: 0.92rem;
    background: rgba(0, 0, 0, 0.62);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0.8rem 1.4rem rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .LiveCommerce_answerCard.is-inline {
        margin: 0.45rem 0;
        padding: 0.62rem 0.68rem;
    }

    .LiveCommerce_answerCard.is-inline,
    .LiveCommerce_pinnedAnswer.is-visible,
    .LiveCommerce_pinnedAnswer.is-active {
        background: linear-gradient( 135deg, color-mix(in srgb, var(--lc-accent-dark) 28%, transparent), color-mix(in srgb, var(--lc-accent) 18%, transparent) ), rgba(15, 15, 15, 0.38);
        border-left: 3px solid color-mix(in srgb, var(--lc-accent) 76%, #ffffff);
        border-top: 1px solid rgba(255, 255, 255, 0.26);
        border-right: 1px solid rgba(255, 255, 255, 0.17);
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.22), 0 0 0.85rem color-mix(in srgb, var(--lc-accent) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px) saturate(1.35);
        -webkit-backdrop-filter: blur(18px) saturate(1.35);
    }

/* 답변 고정과 상단 임시 답변의 질문·답변은 줄 수를 제한하지 않고 채팅 속 답변 카드와 같은 규칙으로 전부 펼친다.
   두 줄에서 자르면 답변을 끝까지 읽을 수 없고, 질문·답변마다 따로 세로 스크롤을 두면 카드 안에서 어색하다. */
.LiveCommerce_pinnedAnswer {
    display: none;
    position: relative;
    z-index: 2;
    width: min(50%, 20rem);
    max-width: 50%;
    padding: 0.52rem 0.62rem;
    border-radius: 0.92rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.45rem);
    pointer-events: none;
}

    .LiveCommerce_pinnedAnswer.is-visible,
    .LiveCommerce_pinnedAnswer.is-active {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        animation: LiveCommerce_pinnedSlideDown 220ms cubic-bezier(0.19, 1, 0.22, 1);
    }

@keyframes LiveCommerce_pinnedSlideDown {
    from {
        opacity: 0;
        transform: translateY(-0.65rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 601px) {
    .LiveCommerce_chatMsg {
        max-width: min(92%, 29rem);
    }

    .LiveCommerce_chatScroll {
        max-height: 12.2rem;
    }
}

@media (max-width: 600px) {
    .LiveCommerce_chat {
        max-height: 30%;
    }

    .LiveCommerce_chatScroll {
        max-height: 10.8rem;
    }

    .LiveCommerce_answerCard {
        width: min(66%, 18.5rem);
        max-width: 66%;
    }

    .LiveCommerce_pinnedAnswer {
        width: min(50%, 18.5rem);
        max-width: 50%;
    }
}

/* ======================================================
   Current Product CTA
   - 하단 현재 상품 카드 / 구매 버튼 최종 통합
   - 화이트 카드, 균일 패딩, 왼쪽 포인트 라인 제거
   ====================================================== */

.LiveCommerce_buyLayer {
    position: absolute;
    left: var(--lc-ui-x, 1rem);
    right: var(--lc-ui-x, 1rem);
    bottom: calc(var(--lc-bottom-safe) + var(--lc-bottom-bar-h) + 0.7rem);
    z-index: 35;
    display: grid;
    /* 구매 버튼 칸은 폭을 줄여 상품명·가격줄(상세설명)이 폭을 더 쓰게 한다. */
    grid-template-columns: minmax(0, 1fr) 4.25rem;
    align-items: center;
    gap: 0.72rem;
    min-height: var(--lc-buy-card-h);
    padding: 0.68rem;
    border-radius: var(--lc-radius-lg);
    color: var(--site-text);
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 30%, rgba(0, 0, 0, 0.13));
    box-shadow: 0 0.85rem 1.75rem rgba(0, 0, 0, 0.22), 0 0 0.85rem color-mix(in srgb, var(--lc-accent) 16%, transparent);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 180ms ease, transform 240ms cubic-bezier(0.19, 1, 0.22, 1), filter 180ms ease, bottom 220ms ease;
}

    .LiveCommerce_buyLayer::before {
        content: none;
        display: none;
    }

    .LiveCommerce_buyLayer.is-hidden {
        opacity: 0;
        transform: translateY(1.4rem);
        pointer-events: none;
    }

.LiveCommerce.has-panel-open .LiveCommerce_buyLayer {
    opacity: 0.22;
    transform: translateY(0.55rem);
    pointer-events: none;
}

.LiveCommerce_productMini {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.LiveCommerce_productInfo {
    min-width: 0;
}

.LiveCommerce_productThumb,
.LiveCommerce_productItemThumb,
.LiveCommerce_orderThumb {
    display: grid;
    place-items: center;
    flex: 0 0 3.55rem;
    width: 3.55rem;
    height: 3.55rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.78rem;
    background: linear-gradient( 135deg, color-mix(in srgb, var(--lc-accent) 18%, #ffffff), color-mix(in srgb, var(--lc-accent) 52%, #ffffff) );
    color: var(--lc-accent-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    font-size: 0.58rem;
    font-weight: 900;
}

.LiveCommerce_productThumb {
    flex-basis: 3.7rem;
    width: 3.7rem;
    height: 3.7rem;
    border-radius: var(--lc-radius-sm);
}

/* 이미지가 없는 상품은 글이 카드의 둥근 왼쪽 모서리에 바짝 붙어 깨진 화면처럼 보이지 않도록 왼쪽만 조금 더 띄운다.
   구매카드 마크업에서 이미지 칸은 늘 글 바로 앞에 있어 형제 선택자로 판정한다. */
.LiveCommerce_productThumb[hidden] + .LiveCommerce_productInfo {
    padding-left: 0.4rem;
}

.LiveCommerce_productThumb img,
.LiveCommerce_productItemThumb img,
.LiveCommerce_orderThumb img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.LiveCommerce_productImageButton {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: inherit;
    background: transparent;
    cursor: zoom-in;
}

.LiveCommerce_productImageButton:focus-visible {
    outline: 3px solid var(--lc-accent);
    outline-offset: -3px;
}

.LiveCommerce_productBadges,
.LiveCommerce_productItemBadges {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    margin-bottom: 0.25rem;
}

    .LiveCommerce_productBadges span,
    .LiveCommerce_productItemBadges span {
        display: inline-flex;
        align-items: center;
        min-height: 1.05rem;
        padding: 0 0.38rem;
        border-radius: 999px;
        background: var(--lc-live-accent-soft, var(--lc-accent-soft));
        color: var(--lc-accent-dark);
        font-size: 0.6rem;
        font-weight: 850;
        line-height: 1;
        white-space: nowrap;
    }

    /* 재고 카운트다운으로 바뀐 남은 수량은 같은 자리의 판매중 안내와 구분되도록 포인트색을 채워 보여줍니다.
       셀러별 포인트 컬러를 그대로 쓰므로 방송 테마와 어긋나지 않습니다. */
    .LiveCommerce_productItemBadges span.is-countdown {
        background: var(--lc-accent);
        color: var(--lc-accent-text);
    }

.LiveCommerce_productName,
.LiveCommerce_productPrice {
    margin: 0;
}

/* 상품명에 규격·색상이 붙어 앞부분만 같은 상품이 많으므로 말줄임 없이 줄을 바꿔 전부 보여 준다.
   카드가 커진 만큼은 StaticLivePlayer.js의 updateBuyCardLayout이 채팅 하단 위치에 더한다.
   글자 크기는 금액 줄과 맞바꾼 값이다(상품명 = 예전 금액 줄 크기, 금액 줄 = 예전 상품명 크기의 90%). */
.LiveCommerce_productName {
    color: var(--site-text-strong);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.24;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

/* 상품 상세설명은 상품명 바로 아래에 한 줄로 보여 주고 넘치면 말줄임한다. 구매 전에 가단·총장 같은 규격을 보게 하려는 것이며,
   긴 설명이 많아 기본은 접어 두고, 오른쪽 화살표로 펼치면 판매자가 넣은 줄바꿈 그대로 전부 보여 준다(옵션선택 창 설명과 같음).
   펼쳐 카드가 커진 만큼은 updateBuyCardLayout이 채팅 하단 위치에 더한다. 글자 크기는 줄에 두어 화살표도 같은 크기를 따른다.
   같은 줄을 구매카드뿐 아니라 스토어의 현재 상품·목록 항목과 내주문 항목에도 두며, 펼침 표시(is-desc-expanded)는 그 항목 요소에 붙는다. */
.LiveCommerce_productDescRow {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 0;
    margin-top: 0.16rem;
    font-size: 0.774rem;
}

/* 줄 안의 설명 글이다. 스토어 항목의 상품명 규칙(.LiveCommerce_productItemInfo p)이 같은 p를 상품명 크기·굵기·진한 색으로 덮지 않도록 줄 아래 직계로 한 단계 좁혀 둔다. */
.LiveCommerce_productDescRow > .LiveCommerce_productDesc {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--site-text-muted);
    font-size: inherit;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 펼친 설명은 3줄 반까지만 보여 주고 나머지는 그 안에서 스크롤한다. 반 줄이 잘려 보여 아래에 더 있다는 것을 알 수 있고,
   설명이 아무리 길어도 카드가 화면을 덮어 구매 버튼을 누르기 어려워지지 않는다. 스크롤은 채팅 목록처럼 바깥으로 넘기지 않고 스크롤바는 숨긴다.
   펼침 표시는 구매카드(.LiveCommerce_buyLayer)·스토어 항목(.LiveCommerce_productItem)·내주문 항목(.LiveCommerce_orderItem) 어디에 붙어도 같은 규칙이다. */
.is-desc-expanded .LiveCommerce_productDescRow > .LiveCommerce_productDesc {
    max-height: calc(1.35em * 3.5);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    overflow-wrap: anywhere;
    word-break: keep-all;
    white-space: pre-line;
}

    .is-desc-expanded .LiveCommerce_productDescRow > .LiveCommerce_productDesc::-webkit-scrollbar {
        display: none;
    }

/* 넘치는 펼친 설명은 오른쪽에 얇은 막대(옅은 길 + 테마색 손잡이)를 그려 아래에 더 있다는 것과 지금 위치를 늘 보이게 한다.
   폰 브라우저의 기본 스크롤바는 스크롤하는 동안만 잠깐 나오고 iPhone은 모양을 바꿀 수 없어, 기본 스크롤바는 위에서 숨기고
   StaticLivePlayer.js의 updateDescRowScrollbar가 손잡이 길이·위치(--lc-desc-thumb-*)를 스크롤에 맞춘다. 배경은 글과 함께 스크롤되지 않는다. */
.is-desc-expanded .LiveCommerce_productDescRow > .LiveCommerce_productDesc.is-scrollable {
    padding-right: 0.55rem;
    background:
        linear-gradient(var(--lc-accent), var(--lc-accent)) right var(--lc-desc-thumb-top, 0px) / 3px var(--lc-desc-thumb-h, 0px) no-repeat,
        linear-gradient(var(--lc-accent-soft), var(--lc-accent-soft)) right top / 3px 100% no-repeat;
}

/* 펼칠 것이 있을 때(화살표가 보일 때)는 설명 글을 눌러도 펼치고 접는다(StaticLivePlayer.js가 설명 줄 전체의 누름을 받는다). */
.LiveCommerce_productDescRow:has(> .LiveCommerce_productDescToggle:not([hidden])) .LiveCommerce_productDesc {
    cursor: pointer;
}

/* 화살표는 설명 첫 줄 높이(1.35em)보다 작은 둥근 단추라 첫 줄 가운데에 오도록 위를 조금 띄운다.
   누르는 영역은 위아래로 넓혀 작은 화면에서도 누르기 쉽게 한다. */
.LiveCommerce_productDescToggle {
    appearance: none;
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    margin-top: 0.1em;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--lc-accent-soft);
    color: var(--lc-accent-dark);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .LiveCommerce_productDescToggle::before {
        content: "";
        position: absolute;
        inset: -0.5rem -0.35rem;
    }

    /* Player 공통 아이콘 크기(.LiveCommerce .material-symbols-outlined.mud-icon-root, 1.35rem)가 동그라미보다 크게 덮지 않도록 선택자를 한 단계 좁혀 동그라미 비율로 맞춘다. */
    .LiveCommerce .LiveCommerce_productDescToggle .material-symbols-outlined.mud-icon-root {
        font-size: 1.1em;
        color: inherit !important;
        /* 아이콘 글꼴이 이 작은 크기에서 화살표를 동그라미 중심보다 살짝 위에 그려 화살표만 그만큼 내린다(375px 화면 실측). */
        transform: translateY(0.05em);
    }

    .LiveCommerce_productDescToggle:focus-visible {
        outline: 2px solid var(--lc-accent);
        outline-offset: 1px;
    }

.LiveCommerce_productPrice {
    margin-top: 0.2rem;
    color: var(--site-text-muted);
    font-size: 0.774rem;
    font-weight: 700;
}

/* 금액 숫자는 잘 보이도록 상품명의 1.35배 크기(상품명 굵기 850, 방송 테마 색 = 구매 버튼과 같은 포인트 컬러)로 강조한다.
   잘 안 보인다는 시청자가 많아 카드의 다른 글자는 두고 금액만 키운 것이며(2026-11-07 사용자 확정, C안 ×1.35), 모바일도 같은 비율이다.
   커진 만큼의 카드 높이는 updateBuyCardLayout이 채팅 하단 위치에 더한다.
   금액 줄에는 금액 숫자만 두고 `방송특가` 글자는 두지 않는다 — 카드 상단 배지에 이미 있어 같은 말이 두 번 보였다(2026-11-08 사용자 확정). */
.LiveCommerce_productPriceValue {
    color: var(--lc-accent);
    font-size: 1.05rem;
    font-weight: 850;
}

.LiveCommerce_buyBtn,
.LiveCommerce_panelBuyBtn,
.LiveCommerce_productItemBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.15rem;
    border: 0;
    border-radius: var(--lc-radius-md);
    background: var(--lc-control-bg);
    color: var(--lc-accent-text);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.03em;
    box-shadow: 0 0.62rem 1.18rem color-mix(in srgb, var(--lc-accent) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}


    .LiveCommerce_buyBtn.is-soldout,
    .LiveCommerce_buyLayer.is-soldout .LiveCommerce_buyBtn,
    .LiveCommerce_panelBuyBtn.is-soldout,
    .LiveCommerce_panelBuyBtn:disabled,
    .LiveCommerce_productItemBtn.is-soldout,
    .LiveCommerce_productItemBtn:disabled {
        background: var(--lc-soldout-bg);
        color: var(--lc-soldout-text);
        box-shadow: none;
        cursor: not-allowed;
        pointer-events: none;
    }

/* 구매카드 버튼은 상품명·가격줄이 폭을 더 쓰도록 작은 크기로 둔다. 상품목록·옵션선택의 구매 버튼은 위 공통 크기 그대로다. */
.LiveCommerce_buyBtn {
    min-height: 2.42rem;
    border-radius: 0.75rem;
    font-size: 0.76rem;
}

@media (max-width: 600px) {
    .LiveCommerce_buyLayer {
        grid-template-columns: minmax(0, 1fr) 3.85rem;
        /* 모바일 바닥값은 채팅 위치 기준(--lc-buy-card-h)보다 0.35rem 낮게 두어 채팅과 카드 사이를 조금 더 띄운다. */
        min-height: 3.55rem;
        padding: 0.65rem;
    }

    .LiveCommerce_productThumb {
        flex-basis: 3.35rem;
        width: 3.35rem;
        height: 3.35rem;
    }

    .LiveCommerce_productName {
        font-size: 0.73rem;
    }

    /* 금액 숫자는 모바일에서도 상품명의 1.35배다. */
    .LiveCommerce_productPriceValue {
        font-size: 0.985rem;
    }

    .LiveCommerce_productDescRow,
    .LiveCommerce_productPrice {
        font-size: 0.72rem;
    }

    .LiveCommerce_buyBtn {
        min-height: 2.42rem;
        font-size: 0.7rem;
    }
}


/* ======================================================
   Bottom Input / Action Buttons
   - 채팅 입력창, 전송, 채팅잠금, 상품, 내주문 버튼 최종 통합
   - 하단 도크 크기 변수와 버튼 상태를 한 곳에서 관리
   ====================================================== */

.LiveCommerce {
    --lc-bottom-control-size: 2.85rem;
    --lc-bottom-icon-size: 1rem;
    --lc-bottom-label-size: 0.52rem;
    --lc-bottom-bar-h: var(--lc-bottom-control-size);
    --lc-shop-dock-compact-w: var(--lc-bottom-control-size);
}

.LiveCommerce_commentBar {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    height: auto;
    min-height: var(--lc-bottom-control-size);
    /* 왼쪽 첫 요소가 글자가 아니라 설정 버튼이므로 전송 버튼과 같은 여백으로 양끝을 맞춘다. */
    padding: 0.32rem;
    border-radius: calc(var(--lc-bottom-control-size) / 2);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--lc-line-light);
    box-sizing: border-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

    .LiveCommerce_commentBar textarea {
        flex: 1 1 auto;
        min-width: 0;
        min-height: calc(var(--lc-bottom-control-size) - 0.68rem);
        max-height: 3.65rem;
        padding: 0.42rem 0;
        overflow-y: hidden;
        resize: none;
        border: 0;
        outline: 0;
        background: transparent;
        color: #ffffff;
        /* iOS Safari는 폼 컨트롤 글자가 16px 미만이면 포커스 시 화면을 자동 확대하고 키보드를 내려도 되돌리지 않으므로 1rem 미만으로 낮추지 않는다. */
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.35;
        box-sizing: border-box;
    }

        .LiveCommerce_commentBar textarea::placeholder {
            color: rgba(255, 255, 255, 0.58);
        }

.LiveCommerce_chatConnectionText {
    flex: 1 1 auto;
    align-self: center;
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .LiveCommerce_commentBar.is-locked {
        opacity: 0.72;
    }

.LiveCommerce_commentSend {
    flex: 0 0 calc(var(--lc-bottom-control-size) - 0.68rem);
    display: inline-grid;
    place-items: center;
    width: calc(var(--lc-bottom-control-size) - 0.68rem);
    min-width: calc(var(--lc-bottom-control-size) - 0.68rem);
    height: calc(var(--lc-bottom-control-size) - 0.68rem);
    min-height: calc(var(--lc-bottom-control-size) - 0.68rem);
    padding: 0;
    border: 0;
    border-radius: 50%;
    box-sizing: border-box;
    background: var(--lc-control-bg);
    color: var(--lc-accent-text);
    box-shadow: 0 0.52rem 1rem color-mix(in srgb, var(--lc-accent) 22%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

    .LiveCommerce_commentSend:disabled {
        background: rgba(255, 255, 255, 0.18);
        color: rgba(255, 255, 255, 0.42);
        box-shadow: none;
    }

    .LiveCommerce_commentSend .mud-icon-root {
        color: inherit !important;
    }

    /* 연결 동작 버튼은 원형 전송버튼과 달리 사각형이라 입력 바의 둥근 테두리에서 조금 더 띄운다. */
    .LiveCommerce_commentSend.is-connection-action {
        flex: 0 0 auto;
        display: inline-flex;
        width: auto;
        min-width: auto;
        margin-right: 0.5rem;
        padding: 0 0.52rem;
        border-radius: 0.5rem;
        gap: 0.22rem;
    }

        .LiveCommerce_commentSend.is-connection-action span {
            color: inherit;
            font-size: 0.62rem;
            font-weight: 800;
            white-space: nowrap;
        }

.LiveCommerce_actionBtn,
.LiveCommerce_actionBtn.mud-button-root {
    flex: 0 0 var(--lc-bottom-control-size) !important;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    width: var(--lc-bottom-control-size) !important;
    min-width: var(--lc-bottom-control-size) !important;
    max-width: var(--lc-bottom-control-size) !important;
    height: var(--lc-bottom-control-size) !important;
    min-height: var(--lc-bottom-control-size) !important;
    max-height: var(--lc-bottom-control-size) !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid var(--lc-line-light);
    border-radius: 50% !important;
    box-sizing: border-box;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

    .LiveCommerce_actionBtn .mud-icon-root {
        width: var(--lc-bottom-icon-size) !important;
        min-width: var(--lc-bottom-icon-size) !important;
        height: var(--lc-bottom-icon-size) !important;
        min-height: var(--lc-bottom-icon-size) !important;
        color: inherit !important;
        font-size: var(--lc-bottom-icon-size) !important;
        line-height: 1 !important;
    }

    .LiveCommerce_actionBtn span {
        display: block;
        max-width: 100%;
        color: inherit;
        font-size: var(--lc-bottom-label-size) !important;
        font-weight: 850;
        line-height: 1 !important;
        letter-spacing: -0.055em;
        white-space: nowrap;
    }

    .LiveCommerce_actionBtn.is-active,
    .LiveCommerce_actionBtn.is-chat-lock.is-active {
        border-color: color-mix(in srgb, var(--lc-accent) 56%, rgba(255, 255, 255, 0.22));
        background: color-mix(in srgb, var(--lc-accent) 58%, rgba(0, 0, 0, 0.48));
        color: var(--lc-accent-text);
    }

    .LiveCommerce_actionBtn.is-product,
    .LiveCommerce_actionBtn.is-product.mud-button-root {
        border-color: var(--lc-control-border);
        background: var(--lc-control-bg);
        color: var(--lc-accent-text);
        box-shadow: 0 0.42rem 1rem color-mix(in srgb, var(--lc-accent) 24%, rgba(0, 0, 0, 0.18)), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    }

        .LiveCommerce_actionBtn.is-product:hover,
        .LiveCommerce_actionBtn.is-product:focus-visible {
            border-color: color-mix(in srgb, var(--lc-accent) 78%, rgba(255, 255, 255, 0.24));
            background: var(--lc-control-bg-hover);
        }



@media (max-width: 600px) {
    .LiveCommerce {
        --lc-bottom-control-size: 2.68rem;
        --lc-bottom-icon-size: 0.96rem;
        --lc-bottom-label-size: 0.48rem;
    }

    .LiveCommerce_commentSend {
        flex-basis: calc(var(--lc-bottom-control-size) - 0.62rem);
        width: calc(var(--lc-bottom-control-size) - 0.62rem);
        min-width: calc(var(--lc-bottom-control-size) - 0.62rem);
        height: calc(var(--lc-bottom-control-size) - 0.62rem);
        min-height: calc(var(--lc-bottom-control-size) - 0.62rem);
    }
}

/* ======================================================
   Panels
   ====================================================== */

.LiveCommerce_dim {
    position: absolute;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.44);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

    .LiveCommerce_dim.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

.LiveCommerce_optionPanel,
.LiveCommerce_productSheet,
.LiveCommerce_orderSheet {
    position: absolute;
    left: 0;
    right: 0;
    /* overflow 스크롤이 만드는 둥근 클립 경계가 모바일 소수점 배율에서 뒤의 어두운 래퍼를 비치게 하므로
       경계를 화면 밖으로 2px 내려 감춘다. 넘친 부분은 래퍼의 overflow: hidden이 깔끔하게 자른다. */
    bottom: -2px;
    z-index: 70;
    width: 100%;
    max-width: 100%;
    max-height: 78%;
    overflow-y: auto;
    /* 시트는 세로 스크롤 전용이다. overflow-y만 두면 가로도 auto가 되어 sticky 헤더의 음수 margin이 좁은 화면의
       padding보다 2px쯤 넓은 것만으로 가로 스크롤바가 생기므로 가로 넘침은 스크롤하지 않고 자른다. */
    overflow-x: hidden;
    /* Player 위의 스크롤 영역은 끝에 닿아도 문서로 연쇄하지 않는다. 문서까지 넘어가면 패널을 읽는 중에
       브라우저 기본 당겨서 새로고침이 걸려 영상과 좌석이 함께 끊긴다. 패널을 닫은 평상시 Player는
       스크롤 영역이 아니므로 새로고침이 그대로 동작한다. */
    overscroll-behavior: contain;
    padding: 0.65rem 1rem calc(var(--lc-bottom-safe) + 0.9rem);
    border-radius: 1.5rem 1.5rem 0 0;
    background: var(--site-surface);
    color: var(--site-text);
    box-shadow: 0 -1rem 2.6rem rgba(0, 0, 0, 0.26);
    box-sizing: border-box;
    touch-action: pan-y;
    pointer-events: none;
    transform: translateY(105%);
    transition: transform 260ms cubic-bezier(0.19, 1, 0.22, 1), opacity 180ms ease;
}

    .LiveCommerce_optionPanel.is-open,
    .LiveCommerce_productSheet.is-open,
    .LiveCommerce_orderSheet.is-open {
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
    }

    .LiveCommerce_optionPanel.is-dragging,
    .LiveCommerce_productSheet.is-dragging,
    .LiveCommerce_orderSheet.is-dragging {
        transition: none;
    }

    /* 기본 스크롤바는 시트의 패딩 박스 전체 높이에 그려져 위로는 둥근 모서리 뒤, 아래로는 잘리는 2px과 하단
       여백 뒤까지 뻗어 양 끝이 시트 밖으로 넘친 것처럼 보인다. 스크롤바를 직접 그리고 트랙 위아래에 모서리
       반지름만큼 margin을 두면 그 안쪽에서만 움직이고, 기본 스크롤바의 상하 화살표 버튼도 사라진다.
       Chrome 121 이후는 scrollbar-color·scrollbar-width 중 하나라도 auto가 아니면 ::-webkit-scrollbar 규칙을
       무시하는데 app.css가 body에 둔 scrollbar-color가 상속돼 내려오므로 시트에서 auto로 되돌린다.
       ::-webkit-scrollbar를 모르는 Firefox는 @supports로 제외해 기존 모습을 그대로 둔다. */
    @supports selector(::-webkit-scrollbar) {
        .LiveCommerce_optionPanel,
        .LiveCommerce_productSheet,
        .LiveCommerce_orderSheet {
            scrollbar-color: auto;
        }

        .LiveCommerce_optionPanel::-webkit-scrollbar,
        .LiveCommerce_productSheet::-webkit-scrollbar,
        .LiveCommerce_orderSheet::-webkit-scrollbar {
            width: 6px;
        }

        .LiveCommerce_optionPanel::-webkit-scrollbar-track,
        .LiveCommerce_productSheet::-webkit-scrollbar-track,
        .LiveCommerce_orderSheet::-webkit-scrollbar-track {
            margin: 1.5rem 0;
            background: transparent;
        }

        .LiveCommerce_optionPanel::-webkit-scrollbar-thumb,
        .LiveCommerce_productSheet::-webkit-scrollbar-thumb,
        .LiveCommerce_orderSheet::-webkit-scrollbar-thumb {
            border-radius: 999px;
            background: color-mix(in srgb, var(--site-text) 22%, transparent);
        }
    }

.LiveCommerce_panelHandle {
    appearance: none;
    display: block;
    position: relative;
    width: 3.25rem;
    height: 1.05rem;
    min-height: 1.05rem;
    margin: -0.22rem auto 0.25rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: grab;
    touch-action: none;
}

    .LiveCommerce_panelHandle::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 2.8rem;
        height: 0.28rem;
        border-radius: 999px;
        background: color-mix(in srgb, var(--site-text-muted) 30%, transparent);
        transform: translate(-50%, -50%);
    }

    .LiveCommerce_panelHandle:active {
        cursor: grabbing;
    }

/* 패널 손잡이·제목·설명과 상품목록 검색줄은 목록을 내려도 상단에 남는다.
   sticky 오프셋은 스크롤 영역의 안쪽 여백을 기준으로 계산되므로 패널 위쪽 여백만큼 끌어올려 맞춘다. */
.LiveCommerce_panelSticky {
    position: sticky;
    top: -0.65rem;
    z-index: 3;
    margin: -0.65rem -1rem 0.75rem;
    padding: 0.65rem 1rem 0.5rem;
    background: var(--site-surface);
}

    .LiveCommerce_panelSticky::after {
        content: "";
        position: absolute;
        left: 1rem;
        right: 1rem;
        bottom: 0;
        height: 1px;
        background: color-mix(in srgb, var(--site-border) 70%, transparent);
    }


.LiveCommerce_panelHead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    touch-action: none;
}

.LiveCommerce_panelSticky .LiveCommerce_panelHead {
    margin-bottom: 0.6rem;
}

.LiveCommerce_panelSticky .LiveCommerce_panelHead:last-child {
    margin-bottom: 0;
}

.LiveCommerce_panelSticky .LiveCommerce_productSearch {
    margin-bottom: 0;
}

.LiveCommerce_panelTitle,
.LiveCommerce_panelDesc,
.LiveCommerce_optionLabel,
.LiveCommerce_sheetTitle {
    margin: 0;
}

.LiveCommerce_panelTitle {
    font-size: 1rem;
    font-weight: 950;
    color: var(--site-text-strong);
}

.LiveCommerce_panelDesc {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: var(--site-text-muted);
}

.LiveCommerce_panelClose,
.LiveCommerce_panelClose.mud-icon-button {
    color: var(--site-text-muted) !important;
}

.LiveCommerce_sheetSection + .LiveCommerce_sheetSection {
    margin-top: 1.1rem;
}

.LiveCommerce_productItem.is-current + .LiveCommerce_productList {
    margin-top: 0.75rem;
}

.LiveCommerce_productItem.is-current[hidden] + .LiveCommerce_productList {
    margin-top: 0;
}

.LiveCommerce_sheetTitle {
    margin-bottom: 0.55rem;
    font-size: 0.82rem;
    font-weight: 950;
    color: var(--site-text-strong);
}


/* ======================================================
   Panel Product / Order Lists
   - 상품 패널 상품 리스트 / 내 주문 리스트 최종 통합
   - 오늘 소개한 상품은 3개까지 보이고 이후 내부 스크롤
   ====================================================== */

/* 현재 판매 상품 카드와 함께 패널 하나의 스크롤로 움직이도록 목록 자체 스크롤은 두지 않는다. */
.LiveCommerce_productList {
    display: flex;
    flex-direction: column;
    gap: 0.52rem;
}

.LiveCommerce_productSearch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.38rem;
    margin-bottom: 0.55rem;
}

    .LiveCommerce_productSearch input {
        min-width: 0;
        height: 2.15rem;
        padding: 0 0.7rem;
        border: 1px solid var(--site-border);
        border-radius: 0.62rem;
        background: var(--site-surface);
        color: var(--site-text-strong);
        /* input은 본문 글자를 상속하지 않아 브라우저 기본값이 16px 미만이므로 iOS 자동 확대를 막기 위해 명시한다. */
        font-size: 1rem;
    }

    .LiveCommerce_productSearch button {
        min-height: 2.15rem;
        padding: 0 0.62rem;
        border: 1px solid var(--site-border);
        border-radius: 0.62rem;
        background: var(--site-surface-soft);
        color: var(--site-text-strong);
        font-size: 0.7rem;
        font-weight: 850;
    }

.LiveCommerce_productCount,
.LiveCommerce_productMore,
.LiveCommerce_orderNumber,
.LiveCommerce_panelEmpty {
    color: var(--site-text-muted);
    font-size: 0.72rem;
    font-weight: 750;
}

/* 검색줄과의 간격은 이 줄이 직접 가져가 숨겨졌을 때 고정영역 여백이 그대로 남게 한다. */
.LiveCommerce_productCount {
    margin: 0.42rem 0 0;
}

.LiveCommerce_productMore {
    margin: 0.7rem 0 0;
    text-align: center;
}

.LiveCommerce_panelEmpty {
    margin: 0.7rem 0;
    text-align: center;
}

    .LiveCommerce_productList::-webkit-scrollbar {
        display: none;
    }

.LiveCommerce_productItem {
    display: grid;
    grid-template-columns: 3.55rem minmax(0, 1fr) 3rem;
    align-items: center;
    gap: 0.55rem;
    min-height: 4.55rem;
    padding: 0.55rem;
    border-radius: var(--lc-radius-md);
    border: 1px solid var(--site-border);
    background: var(--site-surface-soft);
}

    .LiveCommerce_productItem.is-current {
        border-color: color-mix(in srgb, var(--lc-accent) 44%, var(--site-border));
        background: color-mix(in srgb, var(--lc-accent) 9%, var(--site-surface));
    }

    .LiveCommerce_productItem.is-soldout {
        opacity: 0.64;
    }

    .LiveCommerce_productItem:not(.is-current) .LiveCommerce_productItemBadges {
        display: none;
    }

.LiveCommerce_productItemInfo {
    min-width: 0;
}

    .LiveCommerce_productItemInfo strong,
    .LiveCommerce_productTime {
        display: block;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* 스토어 목록·현재상품·옵션선택 상단의 상품명입니다. 규격만 다른 상품이 말줄임으로 같은 이름이 되지 않도록
       줄을 바꿔 전부 보여 주고 카드는 그만큼 세로로 커진다. */
    .LiveCommerce_productItemInfo p {
        display: block;
        margin: 0;
        color: var(--site-text-strong);
        font-size: 0.78rem;
        font-weight: 850;
        overflow-wrap: anywhere;
        word-break: keep-all;
    }

    .LiveCommerce_productItemInfo strong {
        margin-top: 0.22rem;
        color: var(--site-text-muted);
        font-size: 0.7rem;
        font-weight: 800;
    }

    /* 스토어(현재 상품·목록 항목)의 금액 숫자는 구매카드와 같은 포인트 색·굵기 850이되 크기는 카드 금액(1.05rem)보다 한 단계 작은 0.975rem이다(카드 상품명 0.78rem 기준 1.25배).
       목록이라 카드와 같은 크기로 두면 금액이 줄마다 과하게 튀어 보여 사용자가 한 단계 내렸다(2026-11-07 사용자 확정).
       옵션선택 상단(.LiveCommerce_optionProduct)도 같은 strong 규칙을 쓰지만 대상이 아니므로 스토어 항목으로 좁힌다. */
    .LiveCommerce_productItem .LiveCommerce_productItemInfo strong {
        color: var(--lc-accent);
        font-size: 0.975rem;
        font-weight: 850;
    }

    /* 현재 상품 항목의 `방송특가`는 구매카드 설명 줄과 같은 작은 흐린 글자로 두어 금액 숫자만 돋보이게 한다(StaticLivePlayer.js renderSheetPrice의 label). */
    .LiveCommerce_productItemInfo strong .LiveCommerce_priceLabel {
        color: var(--site-text-muted);
        font-size: 0.774rem;
        font-weight: 700;
    }

    /* 옵션있음은 가격줄 끝에 붙는 보조표시이므로 가격과 색을 나누고 금액 숫자와 붙어 읽히지 않게 띄운다. */
    .LiveCommerce_productItemInfo strong .LiveCommerce_optionMark {
        margin-left: 0.32rem;
        color: var(--lc-accent-dark);
        font-size: 0.66rem;
        font-weight: 900;
        white-space: nowrap;
    }

    /* 한 줄 말줄임은 뒤쪽의 옵션있음부터 잘라내므로, 표시가 붙은 가격줄만 금액과 표시 사이 줄바꿈을 허용한다. */
    .LiveCommerce_productItemInfo strong.has-option-mark {
        white-space: normal;
    }

        .LiveCommerce_productItemInfo strong.has-option-mark .LiveCommerce_priceText {
            white-space: nowrap;
        }

.LiveCommerce_productTime {
    margin-top: 0.16rem;
    color: rgba(17, 17, 17, 0.48);
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.LiveCommerce_productItemBtn {
    min-height: 1.75rem;
    height: 1.75rem;
    padding: 0 0.42rem;
    border-radius: 0.58rem;
    font-size: 0.68rem;
    font-weight: 900;
}

.LiveCommerce_orderList {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 0;
    border-bottom: 1px solid var(--site-border);
}

/* 내주문 최상단 배송지 카드는 지난 주문 요약과 같은 안내 카드 톤을 쓰고 담는 중인 주문서가 있을 때만 나타납니다. */
.LiveCommerce_orderAddress {
    margin-bottom: 0.45rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--site-border);
    border-radius: 0.75rem;
    background: var(--site-surface-soft);
}

.LiveCommerce_orderAddressTitle {
    margin: 0;
    color: var(--site-text-strong);
    font-size: 0.78rem;
    font-weight: 850;
}

/* 제목 줄 오른쪽 배송지 관리 진입은 누르기 쉽게 높이를 두되 음수 여백으로 제목 줄 높이를 늘리지 않아,
   고를 배송지가 없어 감춰질 때와 카드 간격이 같습니다. */
.LiveCommerce_orderAddressHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.LiveCommerce_orderAddressManage {
    display: inline-flex;
    align-items: center;
    gap: 0.05rem;
    min-height: 1.75rem;
    margin: -0.3rem -0.35rem -0.3rem 0;
    padding: 0 0.3rem 0 0.55rem;
    border: 0;
    border-radius: 999px;
    color: var(--lc-accent-dark);
    background: transparent;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}

.LiveCommerce_orderAddressManage .material-symbols-outlined {
    font-size: 1.05rem;
}

.LiveCommerce_orderAddressManage:hover,
.LiveCommerce_orderAddressManage:focus-visible {
    background: color-mix(in srgb, var(--lc-accent) 10%, transparent);
}

.LiveCommerce_orderAddressInfo {
    display: grid;
    gap: 0.15rem;
    margin: 0.45rem 0 0;
    color: var(--site-text-muted);
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.LiveCommerce_orderAddressInfo strong {
    color: var(--site-text-strong);
    font-size: 0.8rem;
    font-weight: 900;
}

/* iOS Safari가 포커스에서 화면을 확대하지 않도록 선택칸 글자는 16px 아래로 내리지 않습니다. */
.LiveCommerce_orderAddressSelect {
    width: 100%;
    min-height: 2.6rem;
    margin-top: 0.55rem;
    padding: 0 0.6rem;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 32%, var(--site-border));
    border-radius: 0.62rem;
    color: var(--site-text-strong);
    background: var(--site-surface);
    font: inherit;
    font-size: 1rem;
    font-weight: 750;
    cursor: pointer;
}

.LiveCommerce_orderAddressSelect:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

/* 아직 고르지 않았을 때는 선택칸의 첫 항목 `배송지를 선택해 주세요.`가 선택 요청을 맡으므로 그 항목과, 그 항목이 보이는 닫힌 선택칸의 글자만 테마색으로 띄운다(2026-11-08 사용자 확정).
   option은 select의 color를 물려받으므로 나머지 항목은 본문색으로 되돌린다. 닫힌 선택칸의 색은 선택된 항목을 따라가 고른 직후 주소 글자가 테마색으로 남지 않는다.
   iOS는 목록(휠) 항목의 색을 바꿀 수 없어 닫힌 선택칸의 글자색만 적용된다. */
.LiveCommerce_orderAddressSelect option {
    color: var(--site-text-strong);
}

.LiveCommerce_orderAddressSelect:has(option:checked.LiveCommerce_orderAddressPrompt),
.LiveCommerce_orderAddressSelect option.LiveCommerce_orderAddressPrompt {
    color: var(--lc-accent-dark);
}

.LiveCommerce_orderAddressNone {
    margin: 0.45rem 0 0;
    color: var(--site-text-muted);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.45;
}

/* 등록된 배송지가 없는 회원만 보는 배송지 관리 패널 등록 버튼이며 선택칸과 같은 자리·같은 높이를 씁니다. */
.LiveCommerce_orderAddressAddLink {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    min-height: 2.6rem;
    margin-top: 0.55rem;
    padding: 0 0.6rem;
    border: 1px solid var(--lc-accent);
    border-radius: 0.62rem;
    color: var(--lc-accent-dark);
    background: var(--site-surface);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.LiveCommerce_orderAddressAddLink .material-symbols-outlined {
    font-size: 1.1rem;
}

.LiveCommerce_orderAddressAddLink:hover,
.LiveCommerce_orderAddressAddLink:focus-visible {
    background: color-mix(in srgb, var(--lc-accent) 8%, var(--site-surface));
}

/* ======================================================
   Delivery Address Sheet
   - 내주문 배송지 카드에서 여는 배송지 관리 패널(목록·입력·주소검색)
   - 카드는 내주문 배송지 카드, 작은 버튼은 수량조절·취소, 큰 버튼은 결제하기·전체취소 모양을 따른다
   ====================================================== */

.LiveCommerce_deliveryHeadTitle {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
}

/* ← 버튼은 닫기(X)와 같은 크기·색을 쓰되, 쓸어내려 닫기가 누르는 .LiveCommerce_panelClose와 이름을 나눈다. */
.LiveCommerce_panelBack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    margin: -0.25rem 0 0 -0.35rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: var(--site-text-muted);
    background: transparent;
    cursor: pointer;
}

    .LiveCommerce_panelBack .material-symbols-outlined {
        font-size: 1.3rem;
    }

    .LiveCommerce_panelBack:hover,
    .LiveCommerce_panelBack:focus-visible {
        color: var(--lc-accent-dark);
        background: color-mix(in srgb, var(--lc-accent) 12%, var(--site-surface-soft));
    }

.LiveCommerce_deliveryList {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.LiveCommerce_deliveryCard {
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--site-border);
    border-radius: 0.75rem;
    background: var(--site-surface-soft);
}

.LiveCommerce_deliveryCardHead {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

    .LiveCommerce_deliveryCardHead strong {
        min-width: 0;
        color: var(--site-text-strong);
        font-size: 0.86rem;
        font-weight: 950;
        overflow-wrap: anywhere;
    }

.LiveCommerce_deliveryDefaultChip {
    flex: 0 0 auto;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    color: var(--lc-accent-dark);
    background: color-mix(in srgb, var(--lc-accent) 12%, var(--site-surface));
    font-size: 0.66rem;
    font-weight: 900;
}

.LiveCommerce_deliveryCardLines {
    display: grid;
    gap: 0.2rem;
    margin-top: 0.45rem;
    color: var(--site-text-muted);
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1.45;
}

    .LiveCommerce_deliveryCardLines > span {
        display: flex;
        align-items: flex-start;
        gap: 0.3rem;
        overflow-wrap: anywhere;
    }

    .LiveCommerce_deliveryCardLines .material-symbols-outlined {
        flex: 0 0 auto;
        margin-top: 0.05rem;
        font-size: 0.95rem;
    }

.LiveCommerce_deliveryCardActions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem;
    margin-top: 0.55rem;
}

.LiveCommerce_deliveryActionBtn,
.LiveCommerce_deliverySelectBtn {
    min-height: 1.85rem;
    padding: 0 0.7rem;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 32%, var(--site-border));
    border-radius: 999px;
    color: var(--lc-accent-dark);
    background: var(--site-surface);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
}

/* 주문서에 반영하는 선택은 카드에서 가장 앞선 행동이라 채움 버튼으로 둔다. */
.LiveCommerce_deliverySelectBtn {
    border-color: var(--lc-accent);
    color: var(--lc-accent-text);
    background: var(--lc-accent);
}

.LiveCommerce_deliveryActionBtn:not(:disabled):hover,
.LiveCommerce_deliveryActionBtn:not(:disabled):focus-visible {
    border-color: var(--lc-accent);
    background: color-mix(in srgb, var(--lc-accent) 8%, var(--site-surface));
}

.LiveCommerce_deliverySelectBtn:not(:disabled):hover,
.LiveCommerce_deliverySelectBtn:not(:disabled):focus-visible {
    filter: brightness(0.96);
}

.LiveCommerce_deliveryActionBtn:disabled,
.LiveCommerce_deliverySelectBtn:disabled,
.LiveCommerce_deliverySave:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.LiveCommerce_deliveryAdd {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    min-height: 2.45rem;
    margin-top: 0.75rem;
    border: 1px solid var(--lc-accent);
    border-radius: 0.75rem;
    color: var(--lc-accent-dark);
    background: var(--site-surface);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 950;
    cursor: pointer;
}

    .LiveCommerce_deliveryAdd .material-symbols-outlined {
        font-size: 1.1rem;
    }

    .LiveCommerce_deliveryAdd:hover,
    .LiveCommerce_deliveryAdd:focus-visible {
        background: color-mix(in srgb, var(--lc-accent) 8%, var(--site-surface));
    }

/* 입력 화면: 각 줄이 자기 아래 여백을 가져 사이에 감춰지는 입력칸이 있어도 간격이 같다. */
.LiveCommerce_deliveryForm {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.LiveCommerce_deliveryField {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

    .LiveCommerce_deliveryField > span {
        color: var(--site-text-strong);
        font-size: 0.78rem;
        font-weight: 850;
    }

    /* iOS Safari가 포커스에서 화면을 확대하지 않도록 입력칸 글자는 16px 아래로 내리지 않는다. */
    .LiveCommerce_deliveryField input {
        width: 100%;
        min-width: 0;
        min-height: 2.6rem;
        padding: 0 0.7rem;
        border: 1px solid var(--site-border);
        border-radius: 0.62rem;
        color: var(--site-text-strong);
        background: var(--site-surface);
        font: inherit;
        font-size: 1rem;
        box-sizing: border-box;
    }

    .LiveCommerce_deliveryField input:focus {
        outline: none;
        border-color: var(--lc-accent);
        box-shadow: 0 0 0 2px color-mix(in srgb, var(--lc-accent) 22%, transparent);
    }

.LiveCommerce_deliverySearch {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

/* 고른 주소 표시칸은 입력칸과 같은 모양이되 긴 주소를 줄바꿈해 전부 보여 준다. 비어 있으면 안내 문구를 흐리게 보인다. */
.LiveCommerce_deliveryAddressText {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.6rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--site-border);
    border-radius: 0.62rem;
    color: var(--site-text-strong);
    background: var(--site-surface-soft);
    font-size: 0.92rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

    .LiveCommerce_deliveryAddressText:empty::before {
        content: attr(data-placeholder);
        color: var(--site-text-muted);
    }

    .LiveCommerce_deliverySearch button {
        display: inline-flex;
        align-items: center;
        gap: 0.15rem;
        flex: 0 0 auto;
        min-height: 2.6rem;
        padding: 0 0.75rem;
        border: 1px solid var(--lc-accent);
        border-radius: 0.62rem;
        color: var(--lc-accent-dark);
        background: var(--site-surface);
        font: inherit;
        font-size: 0.8rem;
        font-weight: 900;
        white-space: nowrap;
        cursor: pointer;
    }

        .LiveCommerce_deliverySearch button .material-symbols-outlined {
            font-size: 1.05rem;
        }

.LiveCommerce_deliveryToggle {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.2rem;
    margin-top: -0.35rem;
    padding: 0.2rem 0.1rem;
    border: 0;
    color: var(--lc-accent-dark);
    background: transparent;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 850;
    cursor: pointer;
}

    .LiveCommerce_deliveryToggle .material-symbols-outlined {
        font-size: 1.05rem;
    }

.LiveCommerce_deliveryFieldset {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

    .LiveCommerce_deliveryFieldset legend {
        margin-bottom: 0.3rem;
        padding: 0;
        color: var(--site-text-strong);
        font-size: 0.78rem;
        font-weight: 850;
    }

.LiveCommerce_deliveryChips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* 선택칩은 채팅 설정의 글자 크기 버튼과 같이 고른 값만 포인트 컬러로 채운다. 라디오는 칩 안에 숨기되 키보드 포커스는 받는다. */
.LiveCommerce_deliveryChip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

    .LiveCommerce_deliveryChip input {
        position: absolute;
        inset: 0;
        margin: 0;
        opacity: 0;
        cursor: pointer;
    }

    .LiveCommerce_deliveryChip span {
        display: inline-flex;
        align-items: center;
        min-height: 2.1rem;
        padding: 0 0.8rem;
        border: 1px solid var(--site-border);
        border-radius: 999px;
        color: var(--site-text);
        background: var(--site-surface);
        font-size: 0.8rem;
        font-weight: 800;
    }

    .LiveCommerce_deliveryChip input:checked + span {
        border-color: var(--lc-accent);
        color: var(--lc-accent-text);
        background: var(--lc-accent);
    }

    .LiveCommerce_deliveryChip input:focus-visible + span {
        outline: 2px solid color-mix(in srgb, var(--lc-accent) 48%, #ffffff);
        outline-offset: 2px;
    }

.LiveCommerce_deliveryNote {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0;
    padding: 0.6rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 18%, var(--site-border));
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--lc-accent) 7%, var(--site-surface));
    color: var(--site-text);
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1.5;
}

    .LiveCommerce_deliveryNote .material-symbols-outlined {
        flex: 0 0 auto;
        color: var(--lc-accent-dark);
        font-size: 1.05rem;
    }

.LiveCommerce_deliveryCheck {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.4rem;
    color: var(--site-text-strong);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

    .LiveCommerce_deliveryCheck input {
        width: 1.15rem;
        height: 1.15rem;
        margin: 0;
        accent-color: var(--lc-accent);
    }

.LiveCommerce_deliverySave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    min-height: 2.6rem;
    border: 1px solid var(--lc-accent);
    border-radius: 0.75rem;
    color: var(--lc-accent-text);
    background: var(--lc-accent);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 950;
    cursor: pointer;
}

    .LiveCommerce_deliverySave .material-symbols-outlined {
        font-size: 1.1rem;
    }

    .LiveCommerce_deliverySave:not(:disabled):hover,
    .LiveCommerce_deliverySave:not(:disabled):focus-visible {
        filter: brightness(0.96);
    }

/* 우편번호 검색은 서비스가 만든 iframe이 이 상자를 꽉 채운다. 패널 최대 높이(Player의 78%) 안에서 머리와 함께 보이도록 높이를 정한다. */
.LiveCommerce_deliveryPostcode {
    height: min(28rem, 56vh);
    border: 1px solid var(--site-border);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--site-surface);
}

.LiveCommerce_orderNumber {
    margin: 0 0 0.35rem;
    /* 주문번호는 길게 누르면 통째로 잡혀 복사할 수 있게 둔다. 패널의 user-select: none보다 이 요소의 all이 우선하며,
       iOS는 접두사만 인식하므로 함께 둔다. */
    -webkit-user-select: all;
    user-select: all;
}

.LiveCommerce_orderCoupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 18%, var(--site-border));
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--lc-accent) 7%, var(--site-surface));
    color: var(--site-text-strong);
    font-size: 0.78rem;
    font-weight: 850;
}

.LiveCommerce_orderCoupon strong {
    color: var(--lc-accent-dark);
    font-size: 0.9rem;
    font-weight: 950;
}

.LiveCommerce_orderItem {
    display: grid;
    grid-template-columns: 3.65rem minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.2rem 0.65rem;
    padding: 0.75rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

    .LiveCommerce_orderItem + .LiveCommerce_orderItem {
        border-top: 1px solid var(--site-border);
    }

.LiveCommerce_orderThumb {
    grid-column: 1;
    grid-row: 1 / span 2;
}

/* 스토어와 같은 이유로 내주문 상품명도 말줄임 없이 줄을 바꿔 전부 보여 준다. */
.LiveCommerce_orderName {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    color: var(--site-text-strong);
    font-size: 0.84rem;
    font-weight: 950;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.LiveCommerce_orderOption {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    color: var(--site-text-muted);
    font-size: 0.74rem;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.LiveCommerce_orderPrice {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    color: var(--site-text-strong);
    font-size: 0.82rem;
    font-weight: 950;
    white-space: nowrap;
    text-align: right;
}

/* 내주문 항목의 상세설명 줄은 구매카드·스토어와 같은 줄(.LiveCommerce_productDescRow)을 상품명 아래 2행에 둔다.
   설명이 있는 항목만 has-desc로 3행이 되어 썸네일은 세 행에 걸치고 옵션·금액이 한 행 내려간다. 설명이 없는 항목은 2행 그대로라 빈 행 간격이 남지 않는다.
   행 간격(0.2rem)이 이미 있으므로 줄 자체의 위 여백은 두지 않는다. */
.LiveCommerce_orderItem .LiveCommerce_productDescRow {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
}

.LiveCommerce_orderItem.has-desc {
    grid-template-rows: auto auto auto;
}

    .LiveCommerce_orderItem.has-desc .LiveCommerce_orderThumb {
        grid-row: 1 / span 3;
    }

    .LiveCommerce_orderItem.has-desc .LiveCommerce_orderOption,
    .LiveCommerce_orderItem.has-desc .LiveCommerce_orderPrice {
        grid-row: 3;
    }

.LiveCommerce_orderActions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.28rem;
}

.LiveCommerce_orderAdjustBtn,
.LiveCommerce_orderCancelBtn {
    min-height: 1.65rem;
    padding: 0 0.55rem;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 32%, var(--site-border));
    border-radius: 999px;
    color: var(--lc-accent-dark);
    background: var(--site-surface);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 900;
    cursor: pointer;
}

.LiveCommerce_orderAdjustBtn:disabled,
.LiveCommerce_orderCancelBtn:disabled,
.LiveCommerce_cancelAllBtn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.LiveCommerce_orderAdjustBtn:not(:disabled):hover,
.LiveCommerce_orderAdjustBtn:not(:disabled):focus-visible,
.LiveCommerce_orderCancelBtn:not(:disabled):hover,
.LiveCommerce_orderCancelBtn:not(:disabled):focus-visible {
    border-color: var(--lc-accent);
    background: color-mix(in srgb, var(--lc-accent) 8%, var(--site-surface));
}

.LiveCommerce_orderSummary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    padding: 0;
    border-top: 0;
}

    .LiveCommerce_orderSummary span {
        color: var(--site-text-strong);
        font-size: 0.82rem;
        font-weight: 850;
    }

    .LiveCommerce_orderSummary strong {
        color: var(--lc-accent-dark);
        font-size: 1rem;
        font-weight: 950;
    }

/* 결제 경로 안내는 담는 중인 주문 합계 바로 아래에 붙어 금액과 한 덩어리로 읽히게 합니다. */
.LiveCommerce_orderPayGuide {
    margin: 0.5rem 0 0;
    padding: 0.6rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 18%, var(--site-border));
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--lc-accent) 7%, var(--site-surface));
    color: var(--site-text);
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1.5;
}

.LiveCommerce_orderPayGuide b {
    color: var(--lc-accent-dark);
    font-weight: 950;
}

/* 결제는 이 패널에서 가장 앞선 행동이라 전체취소(테두리형)보다 위계를 높인 채움 버튼으로 둡니다. */
.LiveCommerce_orderPayLink {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    min-height: 2.45rem;
    margin-top: 0.5rem;
    border: 1px solid var(--lc-accent);
    border-radius: 0.75rem;
    color: var(--lc-accent-text);
    background: var(--lc-accent);
    font-size: 0.82rem;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
}

.LiveCommerce_orderPayLink .material-symbols-outlined {
    font-size: 1.05rem;
}

.LiveCommerce_orderPayLink:hover,
.LiveCommerce_orderPayLink:focus-visible {
    filter: brightness(0.96);
}

.LiveCommerce_cancelAllBtn {
    width: 100%;
    min-height: 2.45rem;
    margin-top: 0.85rem;
    border: 1px solid var(--lc-accent);
    border-radius: 0.75rem;
    color: var(--lc-accent-dark);
    background: var(--site-surface);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 950;
    cursor: pointer;
}

.LiveCommerce_cancelAllBtn:not(:disabled):hover,
.LiveCommerce_cancelAllBtn:not(:disabled):focus-visible {
    color: var(--lc-accent-text);
    background: var(--lc-control-bg);
}

/* 담는 중인 주문과 구분되도록 지난 주문서 요약은 강조색 없이 안내 카드로만 표시합니다. */
.LiveCommerce_orderPast {
    margin-top: 0.85rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--site-border);
    border-radius: 0.75rem;
    background: var(--site-surface-soft);
}

.LiveCommerce_orderPastCount {
    margin: 0;
    color: var(--site-text-strong);
    font-size: 0.78rem;
    font-weight: 850;
}

.LiveCommerce_orderPastDesc {
    margin: 0.25rem 0 0;
    color: var(--site-text-muted);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.5;
}

/* 지난 주문서는 확인이 목적이라 결제하기와 달리 테두리형으로 두어 위계를 낮춥니다. */
.LiveCommerce_orderPastLink {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    min-height: 2.35rem;
    margin-top: 0.5rem;
    border: 1px solid var(--lc-accent);
    border-radius: 0.62rem;
    color: var(--lc-accent-dark);
    background: var(--site-surface);
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.LiveCommerce_orderPastLink .material-symbols-outlined {
    font-size: 1.05rem;
}

.LiveCommerce_orderPastLink:hover,
.LiveCommerce_orderPastLink:focus-visible {
    background: color-mix(in srgb, var(--lc-accent) 8%, var(--site-surface));
}

@media (max-width: 600px) {
    .LiveCommerce_productList {
        gap: 0.48rem;
    }

    .LiveCommerce_productItem {
        grid-template-columns: 3.35rem minmax(0, 1fr) 2.9rem;
        gap: 0.18rem 0.55rem;
        min-height: 4.28rem;
    }

    .LiveCommerce_productItemThumb,
    .LiveCommerce_orderThumb {
        flex-basis: 3.35rem;
        width: 3.35rem;
        height: 3.35rem;
    }

    .LiveCommerce_productItemInfo p {
        font-size: 0.76rem;
    }

    /* 스토어 금액 숫자의 모바일 크기는 카드 금액(0.985rem)보다 한 단계 작은 0.91rem이고, `방송특가` 글자는 구매카드 설명 줄(0.72rem)과 같다. */
    .LiveCommerce_productItem .LiveCommerce_productItemInfo strong {
        font-size: 0.91rem;
    }

    .LiveCommerce_productItemInfo strong .LiveCommerce_priceLabel {
        font-size: 0.72rem;
    }

    .LiveCommerce_productItemBtn {
        min-height: 1.68rem;
        height: 1.68rem;
        font-size: 0.64rem;
    }

    .LiveCommerce_orderItem {
        grid-template-columns: 3.45rem minmax(0, 1fr) auto;
        gap: 0.18rem 0.55rem;
    }
}


.LiveCommerce_optionGroup {
    margin-top: 0.25rem;
}

.LiveCommerce_optionGroups:not([hidden]) + .LiveCommerce_quantityGroup {
    margin-top: 0.85rem;
}

.LiveCommerce_optionProduct {
    display: grid;
    grid-template-columns: 3.55rem minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

/* 상세설명은 옵션목록 앞에 앞부분만 접어 두고 넘치는 설명만 전체보기로 펼친다.
   접는 기준은 StaticLivePlayer.js의 글자 수 상한이며, 셀러의 줄바꿈은 접힌 상태에서도 그대로 살린다(pre-line).
   줄 수 clamp는 머리줄·빈 줄이 줄 예산을 다 써서 본문 없이 "…"만 남는 문제가 있어 쓰지 않는다. */
.LiveCommerce_optionDesc {
    margin-bottom: 0.85rem;
}

.LiveCommerce_optionDescText {
    margin: 0;
    color: var(--site-text);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.LiveCommerce_optionDescToggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-top: 0.35rem;
    padding: 0.2rem 0.4rem 0.2rem 0.6rem;
    border: 0;
    border-radius: 999px;
    background: var(--site-surface-soft);
    color: var(--site-text-muted);
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
}

    .LiveCommerce_optionDescToggle .mud-icon-root {
        font-size: 0.95rem;
        color: inherit !important;
    }

.LiveCommerce_optionGroup {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* 아직 고르지 않은 옵션그룹은 선택이 남아 있다는 것을 테두리와 배지로 함께 알린다. */
.LiveCommerce_optionGroup.is-required {
    padding: 0.6rem;
    border-radius: var(--lc-radius-md);
    border: 1px solid color-mix(in srgb, #c8393f 34%, var(--site-border));
    background: color-mix(in srgb, #c8393f 5%, transparent);
}

.LiveCommerce_optionRequiredBadge {
    margin-left: 0.35rem;
    padding: 0.1rem 0.38rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--site-text-muted) 16%, transparent);
    color: var(--site-text-muted);
    font-size: 0.66rem;
    font-weight: 900;
    font-style: normal;
    vertical-align: middle;
}

.LiveCommerce_optionGroup.is-required .LiveCommerce_optionRequiredBadge {
    background: color-mix(in srgb, #c8393f 12%, transparent);
    color: #a52a30;
}


    .LiveCommerce_optionGroup + .LiveCommerce_optionGroup,
    .LiveCommerce_optionGroup + .LiveCommerce_quantityGroup {
        margin-top: 0.85rem;
    }

.LiveCommerce_optionLabel {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--site-text-strong);
}

.LiveCommerce_optionList,
.LiveCommerce_optionList.is-compact,
.LiveCommerce_optionList.is-size {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.38rem;
    pointer-events: auto;
}

    .LiveCommerce_optionItem,
    .LiveCommerce_optionList.is-compact .LiveCommerce_optionItem,
    .LiveCommerce_optionList.is-size .LiveCommerce_optionItem {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 2.48rem;
        max-width: none;
        min-height: 2rem;
        height: auto;
        padding: 0.38rem 0.58rem;
        border-radius: 0.7rem;
        border: 1px solid var(--site-border);
        background: var(--site-surface-soft);
        color: var(--site-text);
        box-shadow: none;
        font-size: 0.74rem;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        gap: 0.2rem;
        appearance: none;
        cursor: pointer;
        pointer-events: auto;
        position: relative;
        z-index: 2;
        touch-action: manipulation;
        user-select: none;
    }

        .LiveCommerce_optionItem span {
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 0.74rem;
            line-height: 1;
        }

        .LiveCommerce_optionItem.is-selected,
        .LiveCommerce_optionList.is-compact .LiveCommerce_optionItem.is-selected,
        .LiveCommerce_optionList.is-size .LiveCommerce_optionItem.is-selected {
            border-color: var(--lc-accent-dark);
            background: var(--lc-accent);
            color: var(--lc-accent-text);
            box-shadow: none;
            font-weight: 950;
        }

            .LiveCommerce_optionItem.is-selected span,
            .LiveCommerce_optionList.is-compact .LiveCommerce_optionItem.is-selected span,
            .LiveCommerce_optionList.is-size .LiveCommerce_optionItem.is-selected span {
                color: inherit;
                font-weight: 950;
            }

        .LiveCommerce_optionItem.is-soldout,
        .LiveCommerce_optionItem:disabled,
        .LiveCommerce_optionList.is-compact .LiveCommerce_optionItem.is-soldout,
        .LiveCommerce_optionList.is-compact .LiveCommerce_optionItem:disabled,
        .LiveCommerce_optionList.is-size .LiveCommerce_optionItem.is-soldout,
        .LiveCommerce_optionList.is-size .LiveCommerce_optionItem:disabled {
            opacity: 1;
            cursor: not-allowed;
            border-color: color-mix(in srgb, var(--site-text-light) 62%, var(--site-border));
            border-style: dashed;
            background: color-mix(in srgb, var(--site-text-light) 10%, var(--site-surface-soft));
            color: var(--site-text-light);
            box-shadow: none;
        }

        .LiveCommerce_optionItem em {
            flex: 0 0 auto;
            margin-left: 0.24rem;
            padding: 0.16rem 0.28rem;
            border-radius: 999px;
            background: color-mix(in srgb, var(--site-text-light) 14%, transparent);
            color: var(--site-text-muted);
            font-size: 0.56rem;
            font-style: normal;
            font-weight: 900;
            line-height: 1;
        }

        /* 품절 배지는 회색으로 물러나고, 재고 카운트다운 수량은 포인트색으로 눈에 들어오게 합니다. */
        .LiveCommerce_optionItem em.is-countdown {
            background: color-mix(in srgb, var(--lc-accent) 16%, transparent);
            color: var(--lc-accent-dark);
        }

        .LiveCommerce_optionItem.is-soldout span,
        .LiveCommerce_optionItem:disabled span,
        .LiveCommerce_optionList.is-compact .LiveCommerce_optionItem.is-soldout span,
        .LiveCommerce_optionList.is-compact .LiveCommerce_optionItem:disabled span,
        .LiveCommerce_optionList.is-size .LiveCommerce_optionItem.is-soldout span,
        .LiveCommerce_optionList.is-size .LiveCommerce_optionItem:disabled span {
            color: inherit;
            text-decoration: line-through;
            text-decoration-thickness: 1px;
            text-decoration-color: currentColor;
        }

@media (max-width: 600px) {
    .LiveCommerce_optionPanel,
    .LiveCommerce_productSheet,
    .LiveCommerce_orderSheet {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .LiveCommerce_optionItem,
    .LiveCommerce_optionList.is-compact .LiveCommerce_optionItem,
    .LiveCommerce_optionList.is-size .LiveCommerce_optionItem {
        min-width: 2.36rem;
        min-height: 1.9rem;
        padding: 0.34rem 0.52rem;
        border-radius: 0.62rem;
    }
}


/* ======================================================
   Panel Auxiliary UI
   - 옵션 수량, 합계, 구매 안내, 품절 안내, 정보 팝업 최종 통합
   ====================================================== */

.LiveCommerce_quantityGroup {
    margin-top: 0.85rem;
}

.LiveCommerce_quantityHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

    .LiveCommerce_quantityHead span {
        color: var(--site-text-muted);
        font-size: 0.72rem;
        font-weight: 750;
    }

.LiveCommerce_quantityStepper {
    width: 100%;
    min-height: 2.65rem;
    border-radius: var(--lc-radius-md);
    border: 1px solid var(--site-border);
    background: var(--site-surface-soft);
    color: var(--site-text-strong);
}

.LiveCommerce_quantityStepper {
    display: grid;
    grid-template-columns: 2.65rem minmax(0, 1fr) 2.65rem;
    overflow: hidden;
}

    .LiveCommerce_quantityStepper button,
    .LiveCommerce_quantityStepper input {
        border: 0;
        background: transparent;
        color: inherit;
        font-weight: 900;
        text-align: center;
    }

    .LiveCommerce_quantityStepper button {
        font-size: 1.05rem;
        color: var(--lc-accent-dark);
        background: transparent;
    }

        .LiveCommerce_quantityStepper button:not(:disabled):hover,
        .LiveCommerce_quantityStepper button:not(:disabled):focus-visible {
            background: color-mix(in srgb, var(--lc-accent) 12%, transparent);
            color: var(--lc-accent-dark);
        }

        .LiveCommerce_quantityStepper button:disabled {
            color: var(--site-text-light);
            opacity: 0.5;
        }

    .LiveCommerce_quantityStepper input {
        min-width: 0;
        border-left: 1px solid var(--site-border);
        border-right: 1px solid var(--site-border);
        outline: 0;
        /* 수량·조절 입력도 iOS 자동 확대를 막기 위해 16px 이상을 유지한다. */
        font-size: 1rem;
    }

        .LiveCommerce_quantityStepper input::-webkit-outer-spin-button,
        .LiveCommerce_quantityStepper input::-webkit-inner-spin-button {
            margin: 0;
            -webkit-appearance: none;
        }

.LiveCommerce_totalBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 0.75rem;
    padding: 0.9rem;
    border-radius: var(--lc-radius-md);
    background: var(--site-surface-soft);
    color: var(--site-text-muted);
    font-size: 0.82rem;
    font-weight: 750;
}

    .LiveCommerce_totalBox strong {
        color: var(--site-text-strong);
        font-size: 1rem;
        font-weight: 950;
    }

.LiveCommerce_noCancelNotice {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    padding: 0.6rem 0.7rem;
    border-radius: var(--lc-radius-md);
    border: 1px solid color-mix(in srgb, #c8393f 42%, var(--site-border));
    background: color-mix(in srgb, #c8393f 9%, #ffffff);
    color: #a52a30;
}

    .LiveCommerce_noCancelNotice .mud-icon-root {
        flex: 0 0 auto;
        margin-top: 0.05rem;
        font-size: 1.05rem !important;
        color: #c8393f !important;
    }

    .LiveCommerce_noCancelNotice span:last-child {
        font-size: 0.76rem;
        font-weight: 850;
        line-height: 1.35;
        word-break: keep-all;
    }

.LiveCommerce_purchaseGuide {
    display: flex;
    align-items: flex-start;
    gap: 0.48rem;
    margin: -0.25rem 0 1rem;
    padding: 0.72rem 0.78rem;
    border-radius: var(--lc-radius-md);
    background: color-mix(in srgb, var(--lc-accent) 13%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--lc-accent) 38%, var(--site-border));
    color: var(--lc-accent-dark);
    box-shadow: 0 0.45rem 1rem color-mix(in srgb, var(--lc-accent) 10%, transparent);
}

    .LiveCommerce_purchaseGuide .mud-icon-root {
        flex: 0 0 auto;
        margin-top: 0.05rem;
        color: var(--lc-accent) !important;
    }

    .LiveCommerce_purchaseGuide span {
        font-size: 0.76rem;
        font-weight: 850;
        line-height: 1.35;
        word-break: keep-all;
    }

.LiveCommerce_soldoutNotice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 5rem;
    padding: 1rem;
    border-radius: var(--lc-radius-md);
    background: var(--site-surface-soft);
    color: var(--site-text);
}

    .LiveCommerce_soldoutNotice .mud-icon-root {
        color: var(--lc-soldout-bg) !important;
    }

    .LiveCommerce_soldoutNotice p,
    .LiveCommerce_soldoutNotice span {
        margin: 0;
    }

    .LiveCommerce_soldoutNotice p {
        color: var(--site-text-strong);
        font-weight: 950;
    }

    .LiveCommerce_soldoutNotice span {
        display: block;
        margin-top: 0.2rem;
        color: var(--site-text-muted);
        font-size: 0.8rem;
    }

.LiveCommerce_infoClose {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

    .LiveCommerce_infoClose .mud-icon-root {
        color: inherit !important;
    }

.LiveCommerce_infoDialog {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    z-index: 86;
    max-width: min(calc(100% - 2rem), 24rem);
    max-height: min(70dvh, 25rem);
    overflow-y: auto;
    /* 패널과 같은 이유로 문서 연쇄를 막는다. */
    overscroll-behavior: contain;
    border-radius: 1.15rem;
    background: #ffffff;
    color: var(--site-text);
    border: 1px solid color-mix(in srgb, var(--lc-accent) 24%, var(--site-border));
    box-shadow: 0 1.35rem 3rem rgba(0, 0, 0, 0.32);
    opacity: 0;
    transform: translateY(-45%) scale(0.96);
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

    .LiveCommerce_infoDialog.is-open {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        pointer-events: auto;
    }

.LiveCommerce_infoDialogHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--site-border);
    background: color-mix(in srgb, var(--lc-accent) 8%, #ffffff);
}

    .LiveCommerce_infoDialogHead p {
        margin: 0;
        color: var(--site-text-strong);
        font-size: 0.95rem;
        font-weight: 950;
    }

.LiveCommerce_infoClose {
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    background: var(--site-surface-soft);
    color: var(--site-text-muted);
}

    .LiveCommerce_infoClose:not(:disabled):hover,
    .LiveCommerce_infoClose:not(:disabled):focus-visible,
    .LiveCommerce_panelClose:not(:disabled):hover,
    .LiveCommerce_panelClose:not(:disabled):focus-visible {
        background: color-mix(in srgb, var(--lc-accent) 12%, var(--site-surface-soft));
        color: var(--lc-accent-dark) !important;
    }

/* 내주문 수량조절 Dialog는 .LiveCommerce 바깥에 렌더링되므로 재사용 컴포넌트가 쓰는 토큰만 다시 정의한다. */
.LiveCommerce_adjustDialog {
    --lc-accent: var(--site-primary, #8a6f5b);
    --lc-accent-dark: var(--site-primary-dark, #5a4638);
    --lc-accent-text: #ffffff;
    --lc-control-bg: var(--lc-accent);
    --lc-control-bg-hover: color-mix(in srgb, var(--lc-accent) 88%, #000000 12%);
    --lc-control-border: color-mix(in srgb, var(--lc-accent) 68%, rgba(255, 255, 255, 0.22));
    --lc-control-ripple: rgba(255, 255, 255, 0.28);
    --lc-radius-md: 0.95rem;
}

.LiveCommerce_adjustName {
    margin: 0;
    color: var(--site-text-strong);
    font-size: 0.88rem;
    font-weight: 950;
    word-break: keep-all;
}

.LiveCommerce_adjustOption {
    margin: 0.25rem 0 0;
    color: var(--site-text-muted);
    font-size: 0.76rem;
    font-weight: 750;
    word-break: keep-all;
}

.LiveCommerce_adjustDialog .LiveCommerce_quantityStepper {
    margin-top: 0.85rem;
}

.LiveCommerce_adjustError:not([hidden]) + .LiveCommerce_quantityStepper {
    margin-top: 0;
}

.LiveCommerce_adjustNotice {
    margin: 0;
    color: var(--site-text-muted);
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1.5;
    word-break: keep-all;
}

/* 조절 버튼이 비활성인 이유를 스테퍼 바로 위에서 먼저 읽도록 둔다. */
.LiveCommerce_adjustError {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0.85rem 0 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: var(--lc-radius-md);
    border: 1px solid color-mix(in srgb, #c8393f 42%, var(--site-border));
    background: color-mix(in srgb, #c8393f 9%, #ffffff);
    color: #a52a30;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.45;
    word-break: keep-all;
}

@media (max-width: 600px) {
    .LiveCommerce_purchaseGuide span {
        font-size: 0.72rem;
    }

    .LiveCommerce_infoDialog {
        left: 0.85rem;
        right: 0.85rem;
    }
}

/* ======================================================
   View Mode / Bottom Dock / Compact Product Geometry
   - 보기 모드별 하단 도크, 채팅 위치, 상품 카드 위치 최종 통합
   - 모드 변경 시 좌표 기준은 유지하고 보이는 요소만 전환
   ====================================================== */

.LiveCommerce_bottomDock {
    position: absolute;
    left: var(--lc-ui-x, 1rem);
    right: var(--lc-ui-x, 1rem);
    bottom: var(--lc-bottom-safe);
    z-index: 36;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: stretch;
    gap: 0.5rem;
    width: auto;
    min-height: var(--lc-bottom-control-size);
    box-sizing: border-box;
    transform: none;
    transition: opacity 180ms ease, transform 220ms ease;
}

.LiveCommerce_chatDock,
.LiveCommerce_shopDock {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.38rem;
}

.LiveCommerce_chatDock {
    justify-content: flex-start;
    position: relative;
}

.LiveCommerce_chatError {
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.32rem);
    z-index: 2;
    max-width: min(22rem, 78vw);
    margin: 0;
    padding: 0.32rem 0.52rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.55rem;
    background: rgba(35, 20, 20, 0.88);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.LiveCommerce_chatSnackbar {
    margin-top: 0;
    background-color: #ff9800 !important;
    color: rgba(0, 0, 0, 0.87) !important;
    transform: translateY(calc(100vh - max(1rem, env(safe-area-inset-bottom)) - 3.35rem - 100% - 24px));
    transform: translateY(calc(100dvh - max(1rem, env(safe-area-inset-bottom)) - 3.35rem - 100% - 24px));
}

.LiveCommerce_shopDock {
    justify-content: flex-end;
    flex: 0 0 auto;
}

/* 화면 정리는 전체·영상만 2단계이며 영상만 보기에서는 구매카드를 포함해 영상 위에 겹치는 화면 요소를 모두 숨긴다(LIVE_PLAYER_POLICY.md 10절).
   상태 안내 중 영상 재연결·대기 안내와 재생 터치 안내·인앱 안내는 영상을 보기 위한 안내라 그대로 두고, 상품 연결·구매 안내(is-commerce-notice)만 숨긴다.
   패널은 여는 버튼이 모두 숨으므로 따로 숨기지 않는다. */
.LiveCommerce.is-view-video .LiveCommerce_staticState.is-commerce-notice,
.LiveCommerce.is-view-video .LiveCommerce_videoShade,
.LiveCommerce.is-view-video .LiveCommerce_top,
.LiveCommerce.is-view-video .LiveCommerce_soundHint,
.LiveCommerce.is-view-video .LiveCommerce_noticeWrap,
.LiveCommerce.is-view-video .LiveCommerce_chat,
.LiveCommerce.is-view-video .LiveCommerce_buyLayer,
.LiveCommerce.is-view-video .LiveCommerce_bottomDock,
.LiveCommerce.is-view-video .LiveCommerce_buyEffect {
    display: none !important;
}

/* 영상만 보기에서 전체 화면으로 돌아오는 눈 버튼(2026-11-07 사용자 결정). 상단 바가 통째로 숨어도 오른쪽 위 같은 자리에 남아 영상 탭을 모르는 시청자의 복귀 수단이 되고,
   상태 안내 레이어(z-index 8)보다 위에 두어 안내가 떠 있는 동안에도 돌아올 수 있다. 모양은 상단 아이콘 버튼(.LiveCommerce_iconBtn)과 같다. */
.LiveCommerce_viewRestore {
    position: absolute;
    top: var(--lc-ui-top);
    right: var(--lc-ui-x);
    z-index: 45;
    display: none;
    align-items: center;
    justify-content: center;
}

.LiveCommerce.is-view-video .LiveCommerce_viewRestore {
    display: inline-flex;
}

@media (max-width: 600px) {
    .LiveCommerce_bottomDock {
        gap: 0.42rem;
    }

    .LiveCommerce_chatDock,
    .LiveCommerce_shopDock {
        gap: 0.3rem;
    }
}

/* ======================================================
   v6 Patch
   - 담기/정산서 구조 반영
   - 라이브 전용 선명 포인트 컬러
   - 상품 카드 화이트화
   - 채팅/쇼핑 하단 레이아웃 분리
   - 내 주문 상세 정보 카드
   ====================================================== */

/* 테마 톤을 유지하되 라이브 화면에서는 더 선명하게 */
.LiveCommerce_page.site_theme_beige.lc_tone_theme .LiveCommerce {
    --lc-live-accent: #d86f3f;
    --lc-live-accent-dark: #9f3f20;
    --lc-live-accent-soft: #ffe1d2;
}

.LiveCommerce_page.site_theme_green.lc_tone_theme .LiveCommerce {
    --lc-live-accent: #16b873;
    --lc-live-accent-dark: #087b4b;
    --lc-live-accent-soft: #d8f8e9;
}

.LiveCommerce_page.site_theme_pink.lc_tone_theme .LiveCommerce {
    --lc-live-accent: #ef4f86;
    --lc-live-accent-dark: #ad2854;
    --lc-live-accent-soft: #ffe0ea;
}

.LiveCommerce_page.site_theme_blue.lc_tone_theme .LiveCommerce {
    --lc-live-accent: #2f8cff;
    --lc-live-accent-dark: #0d55b7;
    --lc-live-accent-soft: #ddebff;
}

.LiveCommerce_page.site_theme_white.lc_tone_theme .LiveCommerce {
    --lc-live-accent: #2f6bff;
    --lc-live-accent-dark: #173aa8;
    --lc-live-accent-soft: #dfe7ff;
}

.LiveCommerce_page.lc_tone_pink .LiveCommerce {
    --lc-live-accent: #F61067;
    --lc-live-accent-dark: #B60043;
    --lc-live-accent-soft: #FFE0EC;
}

.LiveCommerce_page.lc_tone_purple .LiveCommerce {
    --lc-live-accent: #9635FF;
    --lc-live-accent-dark: #5217B8;
    --lc-live-accent-soft: #F0E4FF;
}

.LiveCommerce_page.lc_tone_blue .LiveCommerce {
    --lc-live-accent: #217AFF;
    --lc-live-accent-dark: #0647B8;
    --lc-live-accent-soft: #DCEAFF;
}

.LiveCommerce_page.lc_tone_green .LiveCommerce {
    --lc-live-accent: #00BD8E;
    --lc-live-accent-dark: #00795D;
    --lc-live-accent-soft: #D8FFF5;
}

.LiveCommerce_page.lc_tone_orange .LiveCommerce {
    --lc-live-accent: #FF513D;
    --lc-live-accent-dark: #B91F10;
    --lc-live-accent-soft: #FFE0DC;
}

.LiveCommerce_tonePreview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

    .LiveCommerce_tonePreview .lc_tone_pink {
        --mud-palette-primary: #F61067;
    }

    .LiveCommerce_tonePreview .lc_tone_purple {
        --mud-palette-primary: #9635FF;
    }

    .LiveCommerce_tonePreview .lc_tone_blue {
        --mud-palette-primary: #217AFF;
    }

    .LiveCommerce_tonePreview .lc_tone_green {
        --mud-palette-primary: #00BD8E;
    }

    .LiveCommerce_tonePreview .lc_tone_orange {
        --mud-palette-primary: #FF513D;
    }


/* ======================================================
   v7 Patch
   - 라이브 포인트 색상 10종 분리
   - 상품 카드 화이트 유지 / 왼쪽 보더 제거
   - PC 채팅 폭 확대
   - 내 주문 목록을 정산서 상품 리스트 형태로 변경
   - 옵션 정보 팝업 추가
   - 상품 패널 구매 버튼 축소
   ====================================================== */

/* 기존 v6 lc_tone_theme 계열과 겹치지 않는 라이브 포인트 10종 */
.LiveCommerce_page.lc_tone_theme_beige .LiveCommerce {
    --lc-live-accent: #b96a3f;
    --lc-live-accent-dark: #7c3f22;
    --lc-live-accent-soft: #f4ddcf;
}

.LiveCommerce_page.lc_tone_theme_green .LiveCommerce {
    --lc-live-accent: #3f8f5b;
    --lc-live-accent-dark: #285f3c;
    --lc-live-accent-soft: #dcebdd;
}

.LiveCommerce_page.lc_tone_theme_pink .LiveCommerce {
    --lc-live-accent: #c75f7b;
    --lc-live-accent-dark: #8d3650;
    --lc-live-accent-soft: #f1d8df;
}

.LiveCommerce_page.lc_tone_theme_blue .LiveCommerce {
    --lc-live-accent: #4d86a8;
    --lc-live-accent-dark: #2d5a73;
    --lc-live-accent-soft: #dceaf1;
}

.LiveCommerce_page.lc_tone_theme_white .LiveCommerce {
    --lc-live-accent: #4a5568;
    --lc-live-accent-dark: #1f2937;
    --lc-live-accent-soft: #e4e7ec;
}

.LiveCommerce_page.lc_tone_bright_pink .LiveCommerce {
    --lc-live-accent: #ff2f92;
    --lc-live-accent-dark: #c6005a;
    --lc-live-accent-soft: #ffe0f0;
}

.LiveCommerce_page.lc_tone_bright_purple .LiveCommerce {
    --lc-live-accent: #9635FF;
    --lc-live-accent-dark: #5217B8;
    --lc-live-accent-soft: #F0E4FF;
}

.LiveCommerce_page.lc_tone_bright_blue .LiveCommerce {
    --lc-live-accent: #0078ff;
    --lc-live-accent-dark: #004fc4;
    --lc-live-accent-soft: #dcecff;
}

.LiveCommerce_page.lc_tone_bright_green .LiveCommerce {
    --lc-live-accent: #00bd6f;
    --lc-live-accent-dark: #007946;
    --lc-live-accent-soft: #d9f8e9;
}

.LiveCommerce_page.lc_tone_bright_orange .LiveCommerce {
    --lc-live-accent: #ff6a00;
    --lc-live-accent-dark: #bd3d00;
    --lc-live-accent-soft: #ffe2cc;
}

.LiveCommerce_tonePreview {
    align-items: center;
}

    .LiveCommerce_tonePreview > span {
        flex: 0 0 100%;
        color: var(--site-text-muted);
        font-size: 0.72rem;
        font-weight: 850;
        line-height: 1.2;
    }

    .LiveCommerce_tonePreview .lc_tone_theme_beige {
        --mud-palette-primary: #b96a3f;
    }

    .LiveCommerce_tonePreview .lc_tone_theme_green {
        --mud-palette-primary: #3f8f5b;
    }

    .LiveCommerce_tonePreview .lc_tone_theme_pink {
        --mud-palette-primary: #c75f7b;
    }

    .LiveCommerce_tonePreview .lc_tone_theme_blue {
        --mud-palette-primary: #4d86a8;
    }

    .LiveCommerce_tonePreview .lc_tone_theme_white {
        --mud-palette-primary: #4a5568;
    }

    .LiveCommerce_tonePreview .lc_tone_bright_pink {
        --mud-palette-primary: #ff2f92;
    }

    .LiveCommerce_tonePreview .lc_tone_bright_purple {
        --mud-palette-primary: #9635FF;
    }

    .LiveCommerce_tonePreview .lc_tone_bright_blue {
        --mud-palette-primary: #0078ff;
    }

    .LiveCommerce_tonePreview .lc_tone_bright_green {
        --mud-palette-primary: #00bd6f;
    }

    .LiveCommerce_tonePreview .lc_tone_bright_orange {
        --mud-palette-primary: #ff6a00;
    }

/* ======================================================
   v8 Patch
   - 테마 연동 컬러와 선명 포인트 컬러 목적 분리
   - 상품 카드 왼쪽 보더 완전 제거
   - PC 채팅 폭 추가 확대 / 모바일 유지
   - 내 주문 칩 제거 전제의 정산 예정 상품 리스트 확정
   - 상품 목록 내부 구매 버튼 더 소형화
   ====================================================== */

/* 테마 연동 5종: 기존 몰 톤을 유지하되 라이브에서만 조금 또렷하게 */
.LiveCommerce_page.lc_tone_theme_beige .LiveCommerce {
    --lc-accent: #9f5f3f;
    --lc-accent-dark: #6f3d28;
    --lc-accent-soft: #efd9cb;
    --lc-live-accent: #9f5f3f;
    --lc-live-accent-dark: #6f3d28;
    --lc-live-accent-soft: #efd9cb;
    --lc-accent-text: #fff;
}

.LiveCommerce_page.lc_tone_theme_green .LiveCommerce {
    --lc-accent: #4f7f48;
    --lc-accent-dark: #31572d;
    --lc-accent-soft: #dce9d8;
    --lc-live-accent: #4f7f48;
    --lc-live-accent-dark: #31572d;
    --lc-live-accent-soft: #dce9d8;
    --lc-accent-text: #fff;
}

.LiveCommerce_page.lc_tone_theme_pink .LiveCommerce {
    --lc-accent: #b95772;
    --lc-accent-dark: #81354c;
    --lc-accent-soft: #efd2da;
    --lc-live-accent: #b95772;
    --lc-live-accent-dark: #81354c;
    --lc-live-accent-soft: #efd2da;
    --lc-accent-text: #fff;
}

.LiveCommerce_page.lc_tone_theme_blue .LiveCommerce {
    --lc-accent: #507c99;
    --lc-accent-dark: #31566f;
    --lc-accent-soft: #dbe8ef;
    --lc-live-accent: #507c99;
    --lc-live-accent-dark: #31566f;
    --lc-live-accent-soft: #dbe8ef;
    --lc-accent-text: #fff;
}

.LiveCommerce_page.lc_tone_theme_white .LiveCommerce {
    --lc-accent: #2f3742;
    --lc-accent-dark: #121820;
    --lc-accent-soft: #dde2e8;
    --lc-live-accent: #2f3742;
    --lc-live-accent-dark: #121820;
    --lc-live-accent-soft: #dde2e8;
    --lc-accent-text: #fff;
}

/* 선명 포인트 5종: 몰 테마와 무관하게 화이트 베이스 위에서 확실히 보이는 컬러 */
.LiveCommerce_page.lc_tone_bright_pink .LiveCommerce {
    --lc-accent: #ff2f92;
    --lc-accent-dark: #d60068;
    --lc-accent-soft: #ffe0f0;
    --lc-live-accent: #ff2f92;
    --lc-live-accent-dark: #d60068;
    --lc-live-accent-soft: #ffe0f0;
    --lc-accent-text: #fff;
}

.LiveCommerce_page.lc_tone_bright_purple .LiveCommerce {
    --lc-accent: #9635FF;
    --lc-accent-dark: #5217B8;
    --lc-accent-soft: #F0E4FF;
    --lc-live-accent: #9635FF;
    --lc-live-accent-dark: #5217B8;
    --lc-live-accent-soft: #F0E4FF;
    --lc-accent-text: #fff;
}

.LiveCommerce_page.lc_tone_bright_blue .LiveCommerce {
    --lc-accent: #0078ff;
    --lc-accent-dark: #0052c7;
    --lc-accent-soft: #dcecff;
    --lc-live-accent: #0078ff;
    --lc-live-accent-dark: #0052c7;
    --lc-live-accent-soft: #dcecff;
    --lc-accent-text: #fff;
}

.LiveCommerce_page.lc_tone_bright_green .LiveCommerce {
    --lc-accent: #00b96b;
    --lc-accent-dark: #007a47;
    --lc-accent-soft: #d9f8e9;
    --lc-live-accent: #00b96b;
    --lc-live-accent-dark: #007a47;
    --lc-live-accent-soft: #d9f8e9;
    --lc-accent-text: #fff;
}

.LiveCommerce_page.lc_tone_bright_orange .LiveCommerce {
    --lc-accent: #ff6a00;
    --lc-accent-dark: #c44800;
    --lc-accent-soft: #ffe2cc;
    --lc-live-accent: #ff6a00;
    --lc-live-accent-dark: #c44800;
    --lc-live-accent-soft: #ffe2cc;
    --lc-accent-text: #fff;
}


/* 톤 프리뷰 버튼이 각각 자기 색을 확실히 보여주게 */
.LiveCommerce_tonePreview .mud-button-root {
    border-color: color-mix(in srgb, var(--mud-palette-primary) 54%, var(--site-border)) !important;
}

.LiveCommerce_tonePreview .mud-button-filled {
    background: var(--mud-palette-primary) !important;
    color: #fff !important;
}


.LiveCommerce_tonePreview {
    align-items: flex-start !important;
}

    .LiveCommerce_tonePreview > span {
        flex: 0 0 100% !important;
    }

    .LiveCommerce_tonePreview .mud-button-root {
        min-height: 1.9rem !important;
        height: 1.9rem !important;
        padding: 0 0.62rem !important;
        font-size: 0.72rem !important;
    }


/* ======================================================
   Notice / Coupon / Top Utility
   - 공지와 쿠폰 상단 묶음 최종 통합
   - 쿠폰이 있으면 공지는 왼쪽, 쿠폰은 오른쪽
   - 쿠폰이 없으면 공지는 100%
   ====================================================== */

/* 공지 + 쿠폰 상단 묶음 */
.LiveCommerce_noticeWrap {
    --lc-notice-coupon-height: 2.08rem;
    position: absolute;
    left: var(--lc-ui-x, var(--lc-top-x, 1rem));
    right: var(--lc-ui-x, var(--lc-top-x, 1rem));
    top: var(--lc-ui-notice-top, calc(var(--lc-top-y, max(0.9rem, env(safe-area-inset-top))) + 3.68rem));
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-content: stretch;
    gap: 0.48rem;
    pointer-events: none;
    transform: none;
    box-sizing: border-box;
}

.LiveCommerce_favoriteLogin {
    position: absolute;
    left: 0;
    top: calc(100% + 0.42rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 1.86rem;
    padding: 0.24rem 0.68rem;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 36%, rgba(255, 255, 255, 0.42));
    border-radius: 999px;
    appearance: none;
    cursor: pointer;
    pointer-events: auto;
    color: #ffffff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--lc-accent-dark) 66%, transparent), color-mix(in srgb, var(--lc-accent) 52%, transparent));
    box-shadow: 0 0.48rem 1rem rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
}

    .LiveCommerce_favoriteLogin .mud-icon-root {
        width: 0.94rem;
        height: 0.94rem;
        color: inherit !important;
        font-size: 0.94rem;
    }

    .LiveCommerce_favoriteLogin:hover,
    .LiveCommerce_favoriteLogin:focus-visible {
        filter: brightness(1.08);
        transform: translateY(-1px);
    }

    .LiveCommerce_favoriteLogin:disabled {
        cursor: wait;
        opacity: 0.68;
    }

    .LiveCommerce_noticeWrap.has-coupon {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .LiveCommerce_noticeWrap.has-no-coupon {
        grid-template-columns: minmax(0, 1fr);
    }

    .LiveCommerce_noticeWrap .LiveCommerce_notice {
        position: relative;
        inset: auto;
        grid-column: 1 / 2;
        display: block;
        width: 100%;
        min-width: 0;
        height: var(--lc-notice-coupon-height);
        min-height: var(--lc-notice-coupon-height);
        padding: 0;
        overflow: hidden;
        pointer-events: auto;
        box-sizing: border-box;
        border-radius: var(--lc-radius-md);
        color: #ffffff;
        background: linear-gradient( 135deg, color-mix(in srgb, var(--lc-accent-dark) 54%, transparent), color-mix(in srgb, var(--lc-accent) 42%, transparent) ), var(--lc-glass-dark);
        border: 1px solid color-mix(in srgb, var(--lc-accent) 42%, rgba(255, 255, 255, 0.14));
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.16);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        /* 공지 제목은 화면 폭과 관계없이 14px, 펼친 내용(.LiveCommerce_noticeBody)은 13px, 공지 닫기 버튼은 12px로 고정한다. 더 작으면 영상 위에서 읽히지 않는다. */
        font-size: 14px;
        font-weight: 750;
        word-break: keep-all;
        /* 관리자가 정한 공지 진하기이며 값을 넣기 전에는 지금까지의 모습인 1을 씁니다. */
        opacity: var(--lc-notice-opacity, 1);
        transform: translateY(0);
        transition: opacity 180ms ease, transform 220ms ease;
    }

    .LiveCommerce_noticeWrap.has-no-coupon .LiveCommerce_notice {
        grid-column: 1 / -1;
    }

.LiveCommerce_notice.is-open {
    height: auto;
}

.LiveCommerce_noticeBar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    height: var(--lc-notice-coupon-height);
    min-height: var(--lc-notice-coupon-height);
    padding: 0 0.35rem 0 0.78rem;
    box-sizing: border-box;
}

    .LiveCommerce_noticeBar > .mud-icon-root {
        align-self: center;
        color: #ffffff !important;
    }

.LiveCommerce_noticeMarquee {
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    white-space: nowrap;
}

    /* 같은 제목 네 벌을 이어 붙인 흐름 줄입니다(벌 수는 StaticLivePlayer.js noticeMarqueeCopyCount). 한 벌만큼 흐르면 다음 벌이
       첫 벌 자리에 오므로 그 순간 처음으로 돌아가도 끊김 없이 이어지고, 제목 끝과 다음 제목 시작 사이는 칸 폭과 관계없이
       --lc-notice-gap만큼만 빈다. 재생시간은 제목 길이에 맞춰 StaticLivePlayer.js가 넣고 아래 값은 그 전의 기본값이다. */
    .LiveCommerce_noticeMarquee > span {
        --lc-notice-gap: 150px;
        display: inline-flex;
        color: #ffffff;
        white-space: nowrap;
        animation: LiveCommerce_noticeMarquee 12s linear infinite;
    }

    /* 제목 한 벌이며 뒤쪽 여백이 다음 벌과의 간격이다. */
    .LiveCommerce_noticeMarqueeText {
        flex: 0 0 auto;
        padding-right: var(--lc-notice-gap);
    }

    /* 관리자가 흐르기를 끈 공지입니다. 첫 벌만 처음 위치에 세우고, 칸보다 긴 제목은 말줄임으로 이어짐을 알린다. 전체는 펼쳐서 본다. */
    .LiveCommerce_notice.is-marquee-stopped .LiveCommerce_noticeMarquee > span {
        display: block;
        animation: none;
    }

    .LiveCommerce_notice.is-marquee-stopped .LiveCommerce_noticeMarqueeText {
        display: block;
        padding-right: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .LiveCommerce_notice.is-marquee-stopped .LiveCommerce_noticeMarqueeText.is-copy {
        display: none;
    }

    /* 멈춘 제목은 접힌 상태에서만 말줄임이다. 펼침 영역은 본문만 보여 주므로, 펼치면 공지 바를 늘려 제목 전문을 줄바꿈해 보여 준다.
       칸에 들어가는 짧은 제목은 최소 높이 안에 그대로 있어 모습이 바뀌지 않는다. */
    .LiveCommerce_notice.is-marquee-stopped.is-open .LiveCommerce_noticeBar {
        height: auto;
        padding-top: 0.32rem;
        padding-bottom: 0.32rem;
    }

    .LiveCommerce_notice.is-marquee-stopped.is-open .LiveCommerce_noticeMarquee,
    .LiveCommerce_notice.is-marquee-stopped.is-open .LiveCommerce_noticeMarqueeText {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .LiveCommerce_notice.is-marquee-stopped.is-open .LiveCommerce_noticeMarqueeText {
        overflow: visible;
        text-overflow: clip;
    }

    /* 관리자가 켠 공지 깜박임입니다. 제목 글자만 깜박이도록 흐르는 span이 아니라 그 바깥 칸에 걸어,
       글자 수에 맞춰 span에 넣는 흐름 재생시간이 깜박임 주기까지 바꾸지 않게 합니다. */
    .LiveCommerce_notice.is-blinking .LiveCommerce_noticeMarquee {
        animation: LiveCommerce_noticeBlink 1s ease-in-out infinite;
    }

.LiveCommerce_noticeToggle,
.LiveCommerce_noticeClose {
    appearance: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

    .LiveCommerce_noticeToggle,
    .LiveCommerce_noticeToggle.mud-button-root {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        width: 1.34rem !important;
        min-width: 1.34rem !important;
        max-width: 1.34rem !important;
        height: 1.34rem !important;
        min-height: 1.34rem !important;
        max-height: 1.34rem !important;
        padding: 0 !important;
        margin: -0.15rem 0 0 0 !important;
        transform: translateY(-0.02rem) !important;
        border-radius: 999px !important;
        line-height: 0 !important;
        box-sizing: border-box;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.18) !important;
        color: #ffffff !important;
    }

        .LiveCommerce_noticeToggle .mud-button-label {
            width: 100%;
            height: 100%;
            min-height: 100%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
        }

        .LiveCommerce_noticeToggle .mud-icon-root {
            display: block;
            width: 0.84rem;
            min-width: 0.84rem;
            height: 0.84rem;
            min-height: 0.84rem;
            margin: 0;
            color: inherit !important;
            font-size: 0.84rem;
            line-height: 1;
            transform: none;
        }

.LiveCommerce_noticeBody {
    display: grid;
    gap: 0.36rem;
    /* 왼쪽은 공지 아이콘 왼쪽 끝(.LiveCommerce_noticeBar 왼쪽 여백), 오른쪽은 펼침 단추 오른쪽 끝(같은 막대 오른쪽 여백)에 맞춘다.
       글자 오른쪽 여백은 아래 줄 목록이 따로 두어 스크롤바가 그 여백 위에 놓인다. */
    padding: 0.12rem 0.35rem 0.72rem 0.78rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
}

    .LiveCommerce_noticeBody p {
        margin: 0;
        /* 주소·구분선처럼 띄어쓰기 없는 긴 줄은 공지 칸 안에서 줄을 바꾼다. 띄어쓰기가 있는 글은 지금처럼 단어 단위(keep-all)로만 바뀐다. */
        overflow-wrap: anywhere;
    }

    /* 본문 줄 사이에는 간격을 두지 않는다. 관리자가 친 줄바꿈이 자동 줄바꿈과 같은 줄 높이로 이어지고 빈 줄은 한 줄 높이만 비어
       입력한 모양 그대로 보인다. 줄마다 간격을 주면 줄바꿈마다 간격이 붙고 빈 줄 앞뒤로 두 번 붙어 문단이 흩어진다. */
    /* 공지가 길면 카드가 화면 아래로 넘어가 읽을 수 없으므로 본문만 화면 절반으로 제한하고 스크롤을 준다.
       닫기 버튼은 스크롤 밖에 두어 항상 보이게 하고, 스크롤 연쇄로 뒤의 영상 화면이 움직이지 않게 막는다. */
    .LiveCommerce_noticeBody [data-player-notice-lines] {
        display: grid;
        /* 열을 공지 칸 폭에 묶는다. 지정하지 않으면 가장 긴 줄의 폭이 열 폭이 되어 모든 줄이 칸 밖으로 넓어지고 좌우 스크롤이 생긴다. */
        grid-template-columns: minmax(0, 1fr);
        max-height: 40dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        /* 폰은 스크롤바를 글자 위에 겹쳐 그리므로 오른쪽을 왼쪽보다 넓게 띄워 오른쪽 끝 글자가 스크롤바에 덮이지 않게 한다. */
        padding-right: 0.9rem;
    }

.LiveCommerce_noticeClose {
    justify-self: flex-start;
    min-height: 1.65rem;
    margin-top: 0.1rem;
    padding: 0 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
}

/* 흐름 줄은 같은 제목 네 벌이라 1/4을 가면 정확히 한 벌만큼 흐른 것이다. */
@keyframes LiveCommerce_noticeMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

/* 공지 바 전체 진하기는 부모가 이미 적용하므로 제목 칸 안에서의 상대 진하기만 오간다. */
@keyframes LiveCommerce_noticeBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

/* 쿠폰 버튼 */
.LiveCommerce_couponEntry {
    position: relative;
    grid-column: 2 / 3;
    justify-self: end;
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 4.35rem;
    min-width: 4.35rem;
    max-width: 4.35rem;
    height: var(--lc-notice-coupon-height);
    min-height: var(--lc-notice-coupon-height);
    padding: 0 0.44rem 0 1.92rem;
    border: 0;
    border-radius: 0.62rem;
    overflow: hidden;
    appearance: none;
    cursor: pointer;
    pointer-events: auto;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, #ff2b2b 0%, #ff513d 52%, #ff7a45 100%);
    box-shadow: 0 0.48rem 1rem rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    animation: LiveCommerce_couponTicketNudge 4.8s ease-in-out infinite;
}

    .LiveCommerce_couponEntry::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 1.58rem;
        height: auto;
        border-radius: 0.62rem 0 0 0.62rem;
        background: #ffffff;
        pointer-events: none;
    }

    .LiveCommerce_couponEntry::after {
        content: "";
        position: absolute;
        left: 1.58rem;
        top: 0.26rem;
        bottom: 0.26rem;
        width: 1px;
        background: repeating-linear-gradient( to bottom, rgba(255, 255, 255, 0.9) 0 0.18rem, rgba(255, 255, 255, 0) 0.18rem 0.36rem );
        pointer-events: none;
    }

    .LiveCommerce_couponEntry .mud-icon-root {
        position: absolute;
        left: 0.32rem;
        top: 50%;
        z-index: 2;
        width: 0.94rem;
        min-width: 0.94rem;
        height: 0.94rem;
        min-height: 0.94rem;
        color: #ff513d !important;
        font-size: 0.94rem;
        transform: translateY(-50%);
        filter: none;
    }

    .LiveCommerce_couponEntry span,
    .LiveCommerce_couponEntry strong {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        color: #ffffff;
        font-size: 0.68rem;
        font-weight: 950;
        line-height: 1;
        letter-spacing: -0.055em;
        white-space: nowrap;
        text-shadow: 0 0.06rem 0.08rem rgba(120, 0, 0, 0.2);
    }

    .LiveCommerce_couponEntry:hover,
    .LiveCommerce_couponEntry:focus-visible,
    .LiveCommerce_couponEntry.is-open {
        transform: translateY(-1px) scale(1.015);
        filter: brightness(1.04) saturate(1.08);
        box-shadow: 0 0.82rem 1.45rem rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.26) inset;
    }

@keyframes LiveCommerce_couponTicketNudge {
    0%, 72%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    76% {
        transform: translateY(-2px) rotate(-1.6deg) scale(1.025);
    }

    80% {
        transform: translateY(0) rotate(1.6deg) scale(1.015);
    }

    84% {
        transform: translateY(-1px) rotate(-0.8deg) scale(1.02);
    }

    88% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* 쿠폰 패널 */
.LiveCommerce_couponPanel {
    pointer-events: auto;
    grid-column: 1 / -1;
    display: grid;
    gap: 0.72rem;
    width: 100%;
    margin-top: 0;
    padding: 0.9rem;
    border-radius: var(--lc-radius-lg);
    background: rgba(255, 255, 255, 0.98);
    color: #1e1e1e;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 28%, rgba(0, 0, 0, 0.08));
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.22);
    animation: LiveCommerce_panelDrop 190ms ease both;
}

@keyframes LiveCommerce_panelDrop {
    from {
        opacity: 0;
        transform: translateY(-0.45rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.LiveCommerce_couponHead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

    .LiveCommerce_couponHead p {
        margin: 0;
        color: #111111;
        font-size: 0.95rem;
        font-weight: 950;
        letter-spacing: -0.04em;
    }

    .LiveCommerce_couponHead span {
        display: block;
        margin-top: 0.18rem;
        color: rgba(17, 17, 17, 0.62);
        font-size: 0.72rem;
        font-weight: 750;
    }

.LiveCommerce_couponClose {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    min-width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: #222222;
}

    .LiveCommerce_couponClose .mud-icon-root {
        color: inherit !important;
    }

    .LiveCommerce_couponClose:hover,
    .LiveCommerce_couponClose:focus-visible {
        background: color-mix(in srgb, var(--lc-accent) 12%, rgba(0, 0, 0, 0.06));
        color: var(--lc-accent-dark);
    }

.LiveCommerce_couponList {
    display: grid;
    gap: 0.48rem;
}

.LiveCommerce_couponBalance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0.85rem;
    border: 1px solid color-mix(in srgb, var(--lc-accent) 20%, rgba(0, 0, 0, 0.06));
    border-radius: 0.95rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--lc-accent) 9%, #ffffff), #ffffff);
    color: #222222;
    font-size: 0.78rem;
    font-weight: 850;
}

.LiveCommerce_couponBalance strong {
    display: inline-flex;
    align-items: baseline;
    gap: 0.18rem;
    color: var(--lc-accent-dark);
}

.LiveCommerce_couponBalance b {
    font-size: 1.35rem;
    font-weight: 950;
}

.LiveCommerce_couponBalance em {
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 900;
}

.LiveCommerce_couponItem {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0.72rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--lc-accent) 9%, #ffffff), #ffffff);
    border: 1px solid color-mix(in srgb, var(--lc-accent) 18%, rgba(0, 0, 0, 0.06));
}

    .LiveCommerce_couponItem strong {
        display: block;
        color: #111111;
        font-size: 0.82rem;
        font-weight: 950;
        letter-spacing: -0.035em;
    }

    .LiveCommerce_couponItem span {
        display: block;
        margin-top: 0.12rem;
        color: var(--lc-accent-dark);
        font-size: 0.74rem;
        font-weight: 900;
    }

    .LiveCommerce_couponItem button,
    .LiveCommerce_couponAllBtn {
        appearance: none;
        border: 0;
        cursor: pointer;
        font-family: inherit;
        border-radius: 999px;
        background: var(--lc-control-bg);
        color: var(--lc-accent-text);
        font-weight: 950;
        box-shadow: 0 0.5rem 1rem color-mix(in srgb, var(--lc-accent) 18%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    }

    .LiveCommerce_couponItem button {
        min-height: 1.85rem;
        padding: 0 0.68rem;
        font-size: 0.68rem;
        white-space: nowrap;
    }

.LiveCommerce_couponAllBtn {
    min-height: 2.35rem;
    font-size: 0.82rem;
}

    .LiveCommerce_couponItem button:hover,
    .LiveCommerce_couponItem button:focus-visible,
    .LiveCommerce_couponAllBtn:hover,
    .LiveCommerce_couponAllBtn:focus-visible {
        background: var(--lc-control-bg-hover);
    }

/* ======================================================
   Host·리허설·Monitor 매출통계 카드
   - 공지 흐름 바로 아래 오른쪽에 두어 공지를 펼치면 아래로 밀리고, 화면 정리에서는 공지와 함께 정리된다.
   - backdrop-filter 블러를 쓰지 않는다. 블러는 영상 프레임마다 뒤 화면을 따로 그려 번지게 계산하므로
     보정 파이프라인과 GPU를 나눠 쓰는 송출 폰에 부담이 된다. 반투명 배경은 합성 때 한 번 섞을 뿐이다.
   - 금액·옵션 줄은 방송 중 곁눈으로 읽으므로 채팅보다 크게 두고, 옵션 목록만 카드 안에서 스크롤한다.
   ====================================================== */
.LiveCommerce_salesPanel {
    grid-column: 1 / -1;
    justify-self: end;
    display: flex;
    flex-direction: column;
    gap: 0.36rem;
    width: min(15rem, 100%);
    max-height: 38vh;
    max-height: 38dvh;
    padding: 0.62rem 0.72rem;
    box-sizing: border-box;
    pointer-events: auto;
    border-radius: var(--lc-radius-md);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.35;
    word-break: keep-all;
}

.LiveCommerce_salesAmounts {
    display: grid;
    gap: 0.2rem;
    margin: 0;
}

.LiveCommerce_salesAmountRow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
}

    .LiveCommerce_salesAmountRow dt {
        margin: 0;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.74rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .LiveCommerce_salesAmountRow dd {
        margin: 0;
        font-size: 1rem;
        font-weight: 850;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

.LiveCommerce_salesNote {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.66rem;
    text-align: right;
}

/* 줄마다 크기가 정해진 grid라 목록이 길어도 줄이 눌리지 않고 이 영역만 스크롤된다.
   폰의 겹쳐 그리는 스크롤바가 오른쪽 끝 수량 글자를 덮지 않도록 오른쪽을 띄운다. */
.LiveCommerce_salesStock {
    display: grid;
    align-content: start;
    gap: 0.55rem;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.42rem 0.4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    scrollbar-width: thin;
}

.LiveCommerce_salesStockGroup {
    display: grid;
    gap: 0.22rem;
}

.LiveCommerce_salesStockHead,
.LiveCommerce_salesEmpty {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
}

    .LiveCommerce_salesStockHead.is-soldout {
        color: #ff9b9b;
    }

.LiveCommerce_salesEmpty {
    font-weight: 700;
}

.LiveCommerce_salesStockList,
.LiveCommerce_salesSoldOutList {
    margin: 0;
    padding: 0;
    list-style: none;
}

.LiveCommerce_salesStockList {
    display: grid;
    gap: 0.16rem;
}

.LiveCommerce_salesStockRow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.LiveCommerce_salesStockName {
    min-width: 0;
    overflow-wrap: anywhere;
}

.LiveCommerce_salesStockCount {
    flex: 0 0 auto;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

    /* 재고 카운트다운 구간은 시청자 화면의 남은 수량 배지와 같은 포인트색 배지로 보여 셀러 멘트와 시청자 화면이 맞게 한다. */
    .LiveCommerce_salesStockCount.is-countdown {
        padding: 0 0.36rem;
        border-radius: 999px;
        background: var(--lc-accent);
        color: var(--lc-accent-text);
    }

/* 품절은 이름만 알면 되므로 옵션값 단위로 이어 붙이고, 한 옵션값 안에서는 줄을 바꾸지 않는다. */
.LiveCommerce_salesSoldOutList {
    display: flex;
    flex-wrap: wrap;
    gap: 0.16rem 0.62rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 700;
}

    .LiveCommerce_salesSoldOutList li {
        white-space: nowrap;
    }

/* ======================================================
   Sound Hint
   - 최초 진입 사운드 해제 안내
   ====================================================== */

.LiveCommerce_soundHint {
    appearance: none;
    border: 0;
    cursor: pointer;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 70;
    transform: translate(-50%, -50%);
    display: inline-grid;
    place-items: center;
    gap: 0.28rem;
    min-width: 8.2rem;
    padding: 1rem 1.15rem 0.95rem;
    border-radius: 1.35rem;
    background: rgba(0, 0, 0, 0.58);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 1.1rem 2.4rem rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-family: inherit;
    animation: LiveCommerce_soundHintIn 240ms ease both;
}

.LiveCommerce_soundHintCircle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 999px;
    background: var(--lc-control-bg);
    color: var(--lc-accent-text);
    box-shadow: 0 0.75rem 1.5rem color-mix(in srgb, var(--lc-accent) 24%, rgba(0, 0, 0, 0.18));
}

    .LiveCommerce_soundHintCircle .mud-icon-root {
        width: 2rem !important;
        height: 2rem !important;
        font-size: 2rem !important;
        color: inherit !important;
    }

.LiveCommerce_soundHint strong {
    margin-top: 0.24rem;
    font-size: 0.92rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.LiveCommerce_soundHint em {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 750;
    white-space: nowrap;
}

.LiveCommerce_soundHint.is-activated {
    pointer-events: none;
    animation: LiveCommerce_soundHintAbsorb 520ms cubic-bezier(.22,.85,.34,1) both;
}

    .LiveCommerce_soundHint.is-activated .LiveCommerce_soundHintCircle {
        background: #ffffff;
        color: var(--lc-accent-dark);
    }

@keyframes LiveCommerce_soundHintIn {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes LiveCommerce_soundHintAbsorb {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + 10.5rem), calc(-50% - 16.5rem)) scale(0.34);
    }
}

@media (max-width: 600px) {
    .LiveCommerce_noticeWrap {
        --lc-notice-coupon-height: 2rem;
        gap: 0.36rem;
    }

    .LiveCommerce_noticeBody {
        padding: 0.1rem 0.35rem 0.68rem 0.78rem;
    }

    .LiveCommerce_noticeToggle,
    .LiveCommerce_noticeToggle.mud-button-root {
        width: 1.28rem;
        min-width: 1.28rem;
        max-width: 1.28rem;
        height: 1.28rem;
        min-height: 1.28rem;
        max-height: 1.28rem;
    }

        .LiveCommerce_noticeToggle .mud-icon-root {
            width: 0.8rem;
            min-width: 0.8rem;
            height: 0.8rem;
            min-height: 0.8rem;
            font-size: 0.8rem;
        }

    .LiveCommerce_couponEntry {
        width: 4.18rem;
        min-width: 4.18rem;
        max-width: 4.18rem;
        height: var(--lc-notice-coupon-height);
        min-height: var(--lc-notice-coupon-height);
        padding: 0 0.38rem 0 1.78rem;
        border-radius: 0.62rem;
    }

        .LiveCommerce_couponEntry::before {
            width: 1.46rem;
            border-radius: 0.62rem 0 0 0.62rem;
        }

        .LiveCommerce_couponEntry::after {
            left: 1.46rem;
        }

        .LiveCommerce_couponEntry .mud-icon-root {
            left: 0.3rem;
            width: 0.88rem;
            min-width: 0.88rem;
            height: 0.88rem;
            min-height: 0.88rem;
            font-size: 0.88rem;
        }

        .LiveCommerce_couponEntry span,
        .LiveCommerce_couponEntry strong {
            font-size: 0.64rem;
        }

    .LiveCommerce_couponPanel {
        padding: 0.78rem;
        border-radius: 1.05rem;
    }

    .LiveCommerce_soundHint {
        min-width: 7.4rem;
        padding: 0.9rem 1rem 0.86rem;
    }

    .LiveCommerce_soundHintCircle {
        width: 3.75rem;
        height: 3.75rem;
    }

        .LiveCommerce_soundHintCircle .mud-icon-root {
            width: 1.82rem !important;
            height: 1.82rem !important;
            font-size: 1.82rem !important;
        }

    @keyframes LiveCommerce_soundHintAbsorb {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        100% {
            opacity: 0;
            transform: translate(calc(-50% + 7.7rem), calc(-50% - 16.6rem)) scale(0.32);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .LiveCommerce_couponEntry,
    .LiveCommerce_noticeMarquee > span,
    .LiveCommerce_playerNoticeTouch::before,
    .LiveCommerce_playerNoticeTouch .mud-icon-root {
        animation: none;
    }
}

/* Static SSR Player의 초기 상태, 브라우저 아이콘, 결과 안내입니다. */
.LiveCommerce_page [hidden] {
    display: none !important;
}

.LiveCommerce_staticState {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: rgba(0, 0, 0, 0.28);
}

.LiveCommerce_staticState.is-reload {
    cursor: pointer;
}

.LiveCommerce_staticStateContent {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    max-width: 90%;
    text-align: center;
}

.LiveCommerce_staticStateContent p {
    margin: 0;
    color: #fff;
}

/* 호스트 미복귀 안내에서만 노출하는 새로고침 버튼입니다. */
.LiveCommerce_staticStateAction {
    padding: 0.55rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
}

    .LiveCommerce_staticStateAction:hover {
        background: rgba(255, 255, 255, 0.24);
    }

    .LiveCommerce_staticStateAction[hidden] {
        display: none;
    }

/* 시청자 퇴장 종료 화면의 홈·주문내역 이동 버튼 줄입니다. */
.LiveCommerce_staticStateNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

    .LiveCommerce_staticStateNav[hidden] {
        display: none;
    }

.LiveCommerce_staticSpinner {
    width: 3rem;
    height: 3rem;
    border: 0.24rem solid rgba(255, 255, 255, 0.32);
    border-top-color: #fff;
    border-radius: 50%;
    animation: LiveCommerce_staticSpin 0.8s linear infinite;
}

.LiveCommerce .material-symbols-outlined.mud-icon-root {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
}

.LiveCommerce_staticToast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 40;
    max-width: min(90vw, 30rem);
    padding: 0.8rem 1rem;
    color: #fff;
    background: rgba(27, 29, 33, 0.94);
    border-radius: 0.8rem;
    box-shadow: 0 0.6rem 1.8rem rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translate(-50%, 0.65rem);
    transition: opacity 160ms ease, transform 160ms ease;
}

.LiveCommerce_staticToast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.LiveCommerce_staticToast.is-warning,
.LiveCommerce_staticToast.is-error {
    background: rgba(132, 33, 33, 0.96);
}

@keyframes LiveCommerce_staticSpin {
    to {
        transform: rotate(360deg);
    }
}


/* ======================================================
   v26 restore refinements
   - June 복구본 기준 유지
   - 채팅/답변 고정/내부 패널 톤 정리
   - 포인트 컬러 최종값 반영
   - 상품 카드 패딩 균일화
   ====================================================== */

/* 포인트 컬러 최종값: 선명 5종 */
.LiveCommerce_page.lc_tone_pink .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_pink .LiveCommerce {
    --lc-accent: #F61067;
    --lc-accent-dark: #B60043;
    --lc-accent-soft: #FFE0EC;
    --lc-live-accent: #F61067;
    --lc-live-accent-dark: #B60043;
    --lc-live-accent-soft: #FFE0EC;
    --lc-accent-text: #ffffff;
}

.LiveCommerce_page.lc_tone_purple .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_purple .LiveCommerce {
    --lc-accent: #9635FF;
    --lc-accent-dark: #5217B8;
    --lc-accent-soft: #F0E4FF;
    --lc-live-accent: #9635FF;
    --lc-live-accent-dark: #5217B8;
    --lc-live-accent-soft: #F0E4FF;
    --lc-accent-text: #ffffff;
}

.LiveCommerce_page.lc_tone_green .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_green .LiveCommerce {
    --lc-accent: #00BD8E;
    --lc-accent-dark: #00795D;
    --lc-accent-soft: #D8FFF5;
    --lc-live-accent: #00BD8E;
    --lc-live-accent-dark: #00795D;
    --lc-live-accent-soft: #D8FFF5;
    --lc-accent-text: #ffffff;
}

.LiveCommerce_page.lc_tone_orange .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_orange .LiveCommerce {
    --lc-accent: #FF513D;
    --lc-accent-dark: #B91F10;
    --lc-accent-soft: #FFE0DC;
    --lc-live-accent: #FF513D;
    --lc-live-accent-dark: #B91F10;
    --lc-live-accent-soft: #FFE0DC;
    --lc-accent-text: #ffffff;
}

.LiveCommerce_page.lc_tone_blue .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_blue .LiveCommerce {
    --lc-accent: #217AFF;
    --lc-accent-dark: #0647B8;
    --lc-accent-soft: #DCEAFF;
    --lc-live-accent: #217AFF;
    --lc-live-accent-dark: #0647B8;
    --lc-live-accent-soft: #DCEAFF;
    --lc-accent-text: #ffffff;
}

.LiveCommerce_tonePreview .lc_tone_pink,
.LiveCommerce_tonePreview .lc_tone_bright_pink {
    --mud-palette-primary: #F61067;
}

.LiveCommerce_tonePreview .lc_tone_purple,
.LiveCommerce_tonePreview .lc_tone_bright_purple {
    --mud-palette-primary: #9635FF;
}

.LiveCommerce_tonePreview .lc_tone_green,
.LiveCommerce_tonePreview .lc_tone_bright_green {
    --mud-palette-primary: #00BD8E;
}

.LiveCommerce_tonePreview .lc_tone_orange,
.LiveCommerce_tonePreview .lc_tone_bright_orange {
    --mud-palette-primary: #FF513D;
}

.LiveCommerce_tonePreview .lc_tone_blue,
.LiveCommerce_tonePreview .lc_tone_bright_blue {
    --mud-palette-primary: #217AFF;
}

/* 매니저 채팅 색: 구매감사가 쓰는 테마 포인트 컬러와 구분되도록 포인트 컬러 10종 중
   색상환에서 가장 먼 색을 테마별로 고정한다. 어두운 몰 톤과 차콜에는 밝은 선명 계열을 붙였다.
   방송 중 테마를 바꿔도 테마 클래스만 갈아끼우면 이 값이 함께 바뀌므로 별도 처리가 필요 없다. */
.LiveCommerce_page.lc_tone_theme_beige .LiveCommerce { --lc-manager: #217AFF; }
.LiveCommerce_page.lc_tone_theme_green .LiveCommerce { --lc-manager: #F61067; }
.LiveCommerce_page.lc_tone_theme_pink .LiveCommerce { --lc-manager: #00BD8E; }
.LiveCommerce_page.lc_tone_theme_blue .LiveCommerce { --lc-manager: #FF513D; }
.LiveCommerce_page.lc_tone_theme_white .LiveCommerce { --lc-manager: #00BD8E; }

.LiveCommerce_page.lc_tone_pink .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_pink .LiveCommerce { --lc-manager: #00BD8E; }

.LiveCommerce_page.lc_tone_purple .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_purple .LiveCommerce { --lc-manager: #00BD8E; }

.LiveCommerce_page.lc_tone_blue .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_blue .LiveCommerce { --lc-manager: #FF513D; }

.LiveCommerce_page.lc_tone_green .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_green .LiveCommerce { --lc-manager: #F61067; }

.LiveCommerce_page.lc_tone_orange .LiveCommerce,
.LiveCommerce_page.lc_tone_bright_orange .LiveCommerce { --lc-manager: #217AFF; }

/* 채팅 입력줄 왼쪽 설정 버튼과 설정 패널.
   원 크기와 아이콘 글자 크기는 같은 줄 오른쪽의 전송 버튼(.LiveCommerce_commentSend)과 같게 두어 양끝이 대칭이 되게 한다.
   아이콘 글자 크기는 따로 정하지 않아야 전송 아이콘과 같은 기본 크기를 받는다. */
.LiveCommerce_chatSetting {
    flex: 0 0 calc(var(--lc-bottom-control-size) - 0.68rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--lc-bottom-control-size) - 0.68rem);
    height: calc(var(--lc-bottom-control-size) - 0.68rem);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
}

@media (max-width: 600px) {
    .LiveCommerce_chatSetting {
        flex-basis: calc(var(--lc-bottom-control-size) - 0.62rem);
        width: calc(var(--lc-bottom-control-size) - 0.62rem);
        height: calc(var(--lc-bottom-control-size) - 0.62rem);
    }
}

.LiveCommerce_settingRow {
    padding: 0.75rem 1rem 1.25rem;
}

    .LiveCommerce_settingLabel {
        margin: 0 0 0.5rem;
        font-size: 0.86rem;
        font-weight: 700;
    }

    .LiveCommerce_settingSizes {
        display: flex;
        gap: 0.5rem;
    }

        .LiveCommerce_settingSize {
            flex: 1 1 0;
            padding: 0.6rem 0;
            border: 1px solid rgba(0, 0, 0, 0.18);
            border-radius: 0.6rem;
            background: #ffffff;
            font-size: 0.9rem;
            cursor: pointer;
        }

            .LiveCommerce_settingSize.is-selected {
                border-color: var(--lc-accent);
                background: var(--lc-accent);
                color: var(--lc-accent-text, #ffffff);
                font-weight: 700;
            }

    /* 세 단추 아래 1px 단위 조절(−/+, 수량 스텝퍼와 같은 모양)과 미리보기 줄. 시트가 채팅을 가리므로 미리보기가 고른 크기를 그대로 보여 준다. */
    .LiveCommerce_settingFine {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 9.5rem;
        align-items: center;
        gap: 0.6rem;
        margin-top: 0.75rem;
    }

        .LiveCommerce_settingFineLabel {
            margin: 0;
            font-size: 0.86rem;
            font-weight: 700;
        }

        .LiveCommerce_settingStepper output {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 0;
            border-left: 1px solid var(--site-border);
            border-right: 1px solid var(--site-border);
            font-size: 1rem;
            font-weight: 900;
        }

    .LiveCommerce_settingPreview {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        /* 상자 높이는 가장 큰 20px 한 줄 기준으로 고정해 −/+를 누를 때 시트 높이가 흔들리지 않고 글자만 바뀐다. */
        min-height: calc(20px * 1.28 + 1.2rem);
        margin: 0.6rem 0 0;
        padding: 0.6rem 0.75rem;
        border-radius: 0.6rem;
        background: rgba(0, 0, 0, 0.04);
        color: var(--site-text-strong);
        /* 채팅 말풍선과 같은 변수·줄간격이라 고른 크기가 채팅에 어떻게 보일지 그대로 보여 준다. */
        font-size: var(--lc-chat-size, 15px);
        line-height: 1.28;
    }

/* 설정 패널 닉네임 줄 */
    .LiveCommerce_settingNick {
        display: flex;
        gap: 0.5rem;
    }

        .LiveCommerce_settingNick input {
            flex: 1 1 auto;
            min-width: 0;
            padding: 0.55rem 0.7rem;
            border: 1px solid rgba(0, 0, 0, 0.18);
            border-radius: 0.6rem;
            /* iOS Safari는 16px 미만 입력칸에 포커스하면 화면을 확대하고 키보드를 내려도 되돌리지 않아 패널 오른쪽이 잘리므로 1rem 미만으로 낮추지 않는다. */
            font-size: 1rem;
        }

        .LiveCommerce_settingNickSave {
            flex: 0 0 auto;
            padding: 0 1rem;
            border: 0;
            border-radius: 0.6rem;
            background: var(--lc-accent);
            color: var(--lc-accent-text, #ffffff);
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
        }

    .LiveCommerce_settingNickStatus {
        margin: 0.45rem 0 0;
        font-size: 0.82rem;
        color: rgba(0, 0, 0, 0.6);
    }

        .LiveCommerce_settingNickStatus.is-error {
            color: #d32f2f;
        }

/* 답변 모아보기 패널 목록. 검색줄은 상품 패널과 같은 .LiveCommerce_productSearch 를 그대로 쓴다. */
.LiveCommerce_qaList {
    display: flex;
    flex-direction: column;
    gap: 0.52rem;
}

.LiveCommerce_qaItem {
    padding: 0.62rem 0.7rem;
    border: 1px solid var(--site-border);
    border-radius: var(--lc-radius-md);
    background: var(--site-surface-soft);
}

.LiveCommerce_qaHead {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.38rem;
    min-width: 0;
}

    /* "매니저_닉네임 답변" 칩입니다. 매니저 닉네임은 말줄임하지 않으므로 줄 폭을 넘으면 칩 안에서 줄을 바꾼다. */
    .LiveCommerce_qaHead span {
        flex: 0 0 auto;
        max-width: 100%;
        overflow-wrap: anywhere;
        padding: 0.1rem 0.4rem;
        border-radius: 999px;
        background: color-mix(in srgb, var(--lc-accent) 18%, transparent);
        color: var(--site-text-strong);
        font-size: 0.64rem;
        font-weight: 900;
    }

    /* 닉네임이 길어도 줄을 바꾸지 않고 말줄임으로 한 줄을 지킨다. */
    .LiveCommerce_qaHead b {
        min-width: 0;
        overflow: hidden;
        color: var(--site-text-muted);
        font-size: 0.7rem;
        font-weight: 800;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.LiveCommerce_qaQuestion,
.LiveCommerce_qaReply {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.38;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.LiveCommerce_qaQuestion {
    color: var(--site-text-muted);
}

.LiveCommerce_qaReply {
    margin-top: 0.28rem;
    color: var(--site-text-strong);
    font-weight: 760;
}

.LiveCommerce_qaMore {
    margin: 0.7rem 0 0;
    color: var(--site-text-muted);
    font-size: 0.72rem;
    font-weight: 750;
    text-align: center;
}
