/* Shared review rows. The existing section title and summary are outside this scope. */
.sb-reviews {
    --sb-review-motion: 280ms;
    color: #252a2d;
    background: #fff;
    font-size: 14px;
    line-height: 1.7;
}
.sb-reviews, .sb-reviews * { box-sizing: border-box; }
.sb-reviews [hidden] { display: none !important; }
.sb-reviews button { font: inherit; cursor: pointer; }
.sb-reviews button:focus-visible, .sb-reviews a:focus-visible {
    outline: 2px solid #477b9d;
    outline-offset: 3px;
}
.sb-reviews .sb-review {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 23px 0;
    margin: 0 16px;
    border-bottom: 1px solid #e9ecee;
    min-width: 0;
    scroll-margin-top: 16px;
}
.sb-reviews .sb-review:last-child { border-bottom: 0; }
.sb-reviews .sb-review-source {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    min-height: 35px;
    padding-top: 3px;
    text-align: center;
}
.sb-reviews .sb-review-source img { display: block; max-width: 54px; max-height: 35px; width: auto; height: auto; object-fit: contain; }
.sb-reviews .sb-review-source .sb-review-naver {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #03c75a;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1;
}
.sb-reviews .sb-review-source .sb-review-official { color: #697780; font-size: 11px; font-weight: 600; white-space: nowrap; }
.sb-reviews .sb-review-main { flex: 1; min-width: 0; }
.sb-reviews .sb-review-rating-line { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.sb-reviews .sb-review-rating { color: #e5a115; font-size: 15px; letter-spacing: 1px; line-height: 1.5; }
.sb-reviews .sb-review-rating .sb-review-empty-stars { color: #ddd; }
.sb-reviews .sb-review-author-line { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin: 4px 0 10px; color: #858b90; font-size: 12px; }
.sb-reviews .sb-review-author, .sb-reviews .sb-review-date { color: #858b90; font-size: 12px; }
.sb-reviews .sb-review-title { padding: 0; margin: 0 0 6px; color: #252a2d; font-size: 14px; font-weight: 400; line-height: 1.85; overflow-wrap: anywhere; word-break: break-word; }
.sb-reviews .sb-review-title-only { font-weight: 400; margin-bottom: 0; }
.sb-reviews .sb-review-fold { position: relative; overflow: hidden; transition: height var(--sb-review-motion) cubic-bezier(.22,.61,.36,1); }
.sb-reviews .sb-review-body, .sb-reviews .sb-review-preview {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.85;
    white-space: pre-line;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.sb-reviews .sb-review-body :first-child { margin-top: 0; }
.sb-reviews .sb-review-body :last-child { margin-bottom: 0; }
.sb-reviews .sb-review-body img { max-width: 100%; width: auto !important; height: auto !important; }
.sb-reviews .sb-review-preview { white-space: normal; }
.sb-reviews .sb-review-fold.sb-review-collapsed .sb-review-body {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
}
.sb-reviews .sb-review-fold.sb-review-expanded .sb-review-preview,
.sb-reviews .sb-review-fold.sb-review-unclipped .sb-review-preview {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
}
.sb-reviews .sb-review-fold.sb-review-collapsed::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 13px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    pointer-events: none;
}
.sb-reviews .sb-review-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #737d84;
    font-size: 12px;
    line-height: 18px;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}
.sb-reviews .sb-review-toggle:focus, .sb-reviews .sb-review-toggle:active { outline: none !important; box-shadow: none !important; }
.sb-reviews .sb-review-toggle:focus-visible .sb-review-toggle-label { text-decoration: underline; text-underline-offset: 3px; }
.sb-reviews .sb-review-toggle-label { line-height: 18px; }
.sb-reviews .sb-review-toggle-chevron { display: block; flex: 0 0 12px; width: 12px; height: 12px; margin: 0; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4L6 8L10 4' fill='none' stroke='%23737d84' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat; transform: none; transition: transform var(--sb-review-motion) ease; }
.sb-reviews .sb-review-toggle[aria-expanded="true"] .sb-review-toggle-chevron { transform: rotate(180deg); }
.sb-reviews .sb-review-photos { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.sb-reviews .sb-review-photo {
    display: block;
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: #f1f3f5;
    overflow: hidden;
}
.sb-reviews .sb-review-photo img { display: block; width: 100% !important; height: 100% !important; max-width: 100%; margin: 0; object-fit: cover; }
.sb-reviews .sb-review-photo[aria-pressed="true"] { box-shadow: 0 0 0 2px #5b7b8b; }
.sb-reviews .sb-review-gallery { position: relative; margin-top: 15px; padding: 12px 0 0; border: 1px solid #e6eaed; border-radius: 10px; background: #f7f8f9; overflow: hidden; }
.sb-reviews .sb-review-gallery-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 28px 46px 0; }
.sb-reviews .sb-review-gallery-image { display: block; width: auto !important; max-width: 100% !important; height: auto !important; max-height: min(65vh, 540px); margin: 0 auto !important; object-fit: contain; }
.sb-reviews .sb-review-gallery-prev, .sb-reviews .sb-review-gallery-next, .sb-reviews .sb-review-gallery-close {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    width: 44px;
    height: 52px;
    color: #45555f;
    background: none;
    box-shadow: none;
}
.sb-reviews .sb-review-gallery-prev, .sb-reviews .sb-review-gallery-next { top: 50%; transform: translateY(-50%); font-size: 0; }
.sb-reviews .sb-review-gallery-prev { left: 2px; }
.sb-reviews .sb-review-gallery-next { right: 2px; }
.sb-reviews .sb-review-gallery-prev::before, .sb-reviews .sb-review-gallery-next::before { content: ''; display: block; box-sizing: border-box; width: 18px; height: 18px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.sb-reviews .sb-review-gallery-prev::before { transform: translateX(2px) rotate(-135deg); }
.sb-reviews .sb-review-gallery-next::before { transform: translateX(-2px) rotate(45deg); }
.sb-reviews .sb-review-gallery-close { top: 2px; right: 3px; width: 44px; height: 44px; font-size: 0; line-height: 1; }
.sb-reviews .sb-review-gallery-close::before, .sb-reviews .sb-review-gallery-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 32px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.sb-reviews .sb-review-gallery-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sb-reviews .sb-review-gallery-position { display: block; margin: 0; padding: 10px 42px; text-align: center; color: #727d84; font-size: 12px; line-height: 1.5; }
.sb-reviews .sb-review-gallery-status { margin: 0; padding: 9px 42px; color: #737d84; font-size: 12px; text-align: center; }
.sb-reviews .sb-review-tags { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.sb-reviews .sb-review-tag { display: inline-block; padding: 0 5px; border: 1px solid #d5e4ed; border-radius: 3px; color: #587f9a; background: #f6fafc; font-size: 11px; line-height: 17px; letter-spacing: 0; }
.sb-reviews .sb-review-assessments { display: inline; min-width: 0; color: #8b9297; font-size: 12px; font-weight: 400; line-height: 1.6; letter-spacing: 0; overflow-wrap: anywhere; }
.sb-reviews .sb-review-meta { margin-top: 9px; color: #8b9297; font-size: 12px; line-height: 1.7; }
.sb-reviews .sb-review-empty, .sb-reviews .sb-review-media-label { margin: 1px 0 0; color: #969b9f; font-size: 12px; }
.sb-reviews .sb-review-reply { margin-top: 15px; padding: 12px 14px; border-radius: 6px; background: #f6f8f9; color: #68737a; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.sb-reviews .sb-review-reply img { max-width: 100%; width: auto !important; height: auto !important; }
.sb-reviews .sb-review-manage { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.sb-reviews .sb-review-manage a, .sb-reviews .sb-review-manage button { display: inline-block; margin: 0; padding: 3px 10px; border: 1px solid #d9dee2; border-radius: 4px; color: #69747d; background: #fff; font-size: 12px; line-height: 1.7; text-decoration: none; }
.sb-reviews .sb-review-pages { margin: 20px 0; text-align: center; }
.sb-reviews .sb-review-pages[aria-busy="true"] { opacity: .6; pointer-events: none; }
.sb-reviews .sb-review-product { margin: 18px 16px -16px 82px; padding: 0; color: #858b90; font-size: 12px; line-height: 1.6; }
.sb-reviews .sb-review-product a { color: #73818a; text-decoration: none; }
.sb-reviews .sb-review-product a:hover { text-decoration: underline; }
@media (max-width: 480px) {
    .sb-reviews .sb-review { gap: 9px; margin: 0 12px; padding: 20px 0; }
    .sb-reviews .sb-review-source { flex-basis: 43px; }
    .sb-reviews .sb-review-source img { max-width: 43px; }
    .sb-reviews .sb-review-product { margin-right: 12px; margin-left: 64px; }
    .sb-reviews .sb-review-author-line { gap: 8px; }
    .sb-reviews .sb-review-photo { flex-basis: 63px; width: 63px; height: 63px; }
    .sb-reviews .sb-review-gallery-stage { padding-right: 42px; padding-left: 42px; }
}
@media (pointer: coarse) {
    .sb-reviews .sb-review-toggle { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .sb-reviews .sb-review-fold, .sb-reviews .sb-review-toggle-chevron { transition: none !important; }
}

/* Mobile photos use the top layer so review-column width cannot constrain them. */
.sb-review-lightbox, .sb-review-lightbox * { box-sizing: border-box; }
.sb-review-lightbox[hidden], .sb-review-lightbox [hidden] { display: none !important; }
.sb-review-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: calc(56px + env(safe-area-inset-top, 0px)) 8px calc(44px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: 0;
    outline: none;
    background: rgba(12, 15, 18, .97);
    color: #fff;
    font-family: 'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
    line-height: 1;
    overflow: hidden;
    overscroll-behavior: contain;
}
.sb-review-lightbox::backdrop { background: rgba(12, 15, 18, .8); }
.sb-review-lightbox .sb-review-lightbox-image {
    display: block;
    flex: 0 0 auto;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    object-fit: contain;
    touch-action: pan-y pinch-zoom;
}
.sb-review-lightbox button {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 52px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
    font-size: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.8));
}
.sb-review-lightbox button:focus { outline: none; }
.sb-review-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.sb-review-lightbox .sb-review-lightbox-close { top: calc(4px + env(safe-area-inset-top, 0px)); right: calc(4px + env(safe-area-inset-right, 0px)); height: 44px; }
.sb-review-lightbox-close::before, .sb-review-lightbox-close::after { content: ''; position: absolute; width: 30px; height: 2px; background: currentColor; transform: rotate(45deg); }
.sb-review-lightbox-close::after { transform: rotate(-45deg); }
.sb-review-lightbox .sb-review-lightbox-prev, .sb-review-lightbox .sb-review-lightbox-next { top: 50%; transform: translateY(-50%); }
.sb-review-lightbox .sb-review-lightbox-prev { left: env(safe-area-inset-left, 0px); }
.sb-review-lightbox .sb-review-lightbox-next { right: env(safe-area-inset-right, 0px); }
.sb-review-lightbox-prev::before, .sb-review-lightbox-next::before { content: ''; width: 16px; height: 16px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.sb-review-lightbox-prev::before { transform: translateX(3px) rotate(-135deg); }
.sb-review-lightbox-next::before { transform: translateX(-3px) rotate(45deg); }
.sb-review-lightbox .sb-review-lightbox-position { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 0; width: 100%; padding: 0; margin: 0; color: #e1e5e8; text-align: center; font-size: 13px; line-height: 20px; }
.sb-review-lightbox .sb-review-lightbox-status { position: absolute; left: 16px; right: 16px; top: 50%; padding: 0; margin: 0; color: #ddd; text-align: center; font-size: 14px; line-height: 1.7; }
.sb-review-lightbox.has-error .sb-review-lightbox-image { visibility: hidden; }

/* Photo controls use icon color, without a rectangular focus or active ring. */
.sb-reviews .sb-review-gallery-prev:focus,
.sb-reviews .sb-review-gallery-prev:active,
.sb-reviews .sb-review-gallery-prev:focus-visible,
.sb-reviews .sb-review-gallery-next:focus,
.sb-reviews .sb-review-gallery-next:active,
.sb-reviews .sb-review-gallery-next:focus-visible,
.sb-reviews .sb-review-gallery-close:focus,
.sb-reviews .sb-review-gallery-close:active,
.sb-reviews .sb-review-gallery-close:focus-visible,
.sb-review-lightbox button:focus,
.sb-review-lightbox button:active,
.sb-review-lightbox button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}
.sb-reviews .sb-review-gallery-prev:focus-visible,
.sb-reviews .sb-review-gallery-next:focus-visible,
.sb-reviews .sb-review-gallery-close:focus-visible { color: #0876b0; }
.sb-review-lightbox button:focus-visible { color: #81d4fa; }
