.tb-score-card {
    container-type: inline-size;
    box-sizing: border-box;
    width: 100%;
    max-width: 560px !important;
    margin: 0 auto;
    padding: 44px 40px 34px;
    border-radius: 18px;
    background: #F9F9F9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e5e7eb;
}

.tb-score-big {
    font-size: clamp(30px, 12cqi, 52px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--blue-500, #4573E3);
    text-align: center;
    margin: 0;
}

.tb-score-label {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: var(--black-300, #6A6A6A);
    font-weight: 600;
}

.tb-score-map {
    margin-top: 34px;
}

.tb-score-map-head {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--black-300, #6A6A6A);
    margin-bottom: 10px;
    padding: 0 2px;
}

.tb-score-bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

.tb-score-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--black-500, #3A3A3A);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    left: 0%;
}

.tb-score-note {
    margin-top: 14px;
    font-size: 13px;
    word-break: keep-all;
    line-height: 1.5;
    color: var(--black-500, #3A3A3A);
}

.tb-rank-strong {
    font-weight: 600;
    color: var(--black-700, #1E1E1E);
}

.tb-text-black {
    color: var(--black-700, #1E1E1E) !important;
}

.tb-bar-black {
    background: linear-gradient(90deg, var(--black-100, #B5B5B5), var(--black-500, #3A3A3A)) !important;
}

.tb-text-blue {
    color: var(--blue-500, #4573E3) !important;
}

.tb-bar-blue {
    background: linear-gradient(90deg, var(--blue-100, #91ADF3), var(--blue-500, #4573E3)) !important;
}

.tb-text-green {
    color: var(--green-500, #45C16B) !important;
}

.tb-bar-green {
    background: linear-gradient(90deg, var(--green-100, #91E9A9), var(--green-500, #45C16B)) !important;
}

.tb-text-amber {
    color: var(--orange-500, #E67E22) !important;
}

.tb-bar-amber {
    background: linear-gradient(90deg, var(--orange-100, #F8C27A), var(--orange-500, #E67E22)) !important;
}

.tb-text-red {
    color: var(--red-500, #E34545) !important;
}

.tb-bar-red {
    background: linear-gradient(90deg, var(--red-100, #F39191), var(--red-500, #E34545)) !important;
}

.tb-score-card .tb-score-dot.tb-dot-black {
    border: 4px solid var(--black-500, #3A3A3A) !important;
}

.tb-score-card .tb-score-dot.tb-dot-blue {
    border: 4px solid var(--blue-500, #4573E3) !important;
}

.tb-score-card .tb-score-dot.tb-dot-green {
    border: 4px solid var(--green-500, #45C16B) !important;
}

.tb-score-card .tb-score-dot.tb-dot-amber {
    border: 4px solid var(--orange-500, #E67E22) !important;
}

.tb-score-card .tb-score-dot.tb-dot-red {
    border: 4px solid var(--red-500, #E34545) !important;
}

@media (max-width: 640px) {
    .tb-score-card {
        padding: 30px 20px 24px;
    }

    .tb-score-dot {
        width: 28px;
        height: 28px;
        border-width: 5px;
    }
}

.speaker-radar-section {
    border-top: 1px solid #eee;
    padding: 60px 10px 0;
    margin-top: 60px;
    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.section-title {
    font-size: 22px;
    border-left: 5px solid var(--blue-500, #4573E3);
    padding-left: 15px;
    margin-bottom: 40px;
    font-weight: 800;
    line-height: 1.3;
}

.section-title__ko,
.section-title__en {
    display: block;
}

.section-title__en {
    margin-top: 5px;
    color: #8791a3;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.045em;
}

.flex-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.radar-chart-container {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.verdict-list {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.verdict-item {
    padding: 16px 18px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.verdict-item:last-child {
    margin-bottom: 0;
}

.verdict-item .v-icon {
    flex-shrink: 0;
    font-size: 1.2em;
    line-height: 1;
    margin-top: 1px;
    font-weight: 800;
}

.verdict-item .v-text {
    flex: 1;
}

.v-good {
    background: linear-gradient(135deg, rgba(69, 115, 227, 0.05) 0%, rgba(69, 115, 227, 0.02) 100%);
    color: var(--blue-700, #2F57C8);
    border-color: rgba(69, 115, 227, 0.15);
}

.v-bad {
    background: linear-gradient(135deg, rgba(227, 69, 69, 0.05) 0%, rgba(227, 69, 69, 0.02) 100%);
    color: var(--red-700, #C82F2F);
    border-color: rgba(227, 69, 69, 0.15);
}

.v-penalty {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.02) 100%);
    color: var(--orange-700, #B45309);
    border-color: rgba(245, 158, 11, 0.15);
}

@media (max-width: 640px) {
    .speaker-radar-section {
        padding: 40px 16px 0;
        margin-top: 40px;
    }

    .radar-svg {
        max-width: 100%;
        height: auto;
    }

    .flex-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .radar-chart-container,
    .verdict-list {
        min-width: 0;
        width: 100%;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .section-title__en {
        margin-top: 4px;
        font-size: 11px;
    }
}

.myth-section {
    padding: 50px 20px;
    background: #F0F4FF;
    border-radius: 12px;
    margin-top: 40px;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.myth-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-top: 20px;
}

.myth-box {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e5e7eb;
}

.myth-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.rumor .myth-label {
    color: #888;
}

.rumor h3 {
    color: #555;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

.truth {
    border: 2px solid var(--blue-500, #4573E3);
    position: relative;
}

.truth .myth-label {
    color: var(--blue-500, #4573E3);
}

.truth h3 {
    color: #1a1a1a;
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 600;
    line-height: 1.4;
}

.truth p {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .myth-container {
        flex-direction: column;
    }
}

.tb-audio-section {
    max-width: 850px !important;
    margin: 60px auto !important;
    padding: 0 10px !important;
    text-align: left !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
}

.tb-audio-section > .tb-section__top {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.tb-audio-section .tb-audio-list,
.tb-audio-section .tb-audio-tabs,
.tb-audio-section .tb-audio-graph-box {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.tb-audio-tabs {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    padding: 0 10px !important;
    flex-wrap: wrap !important;
}

.tb-audio-tab {
    font-family: 'Pretendard Variable', Pretendard, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #f8fafc !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.tb-audio-tab:hover {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.tb-audio-tab.active {
    background: var(--blue-500, #4573E3) !important;
    color: #ffffff !important;
    border-color: var(--blue-500, #4573E3) !important;
    box-shadow: 0 2px 6px rgba(69, 115, 227, 0.15) !important;
}

.tb-audio-tab.active[data-type="warn"] {
    background: var(--red-500, #E34545) !important;
    color: #ffffff !important;
    border-color: var(--red-500, #E34545) !important;
    box-shadow: 0 2px 6px rgba(227, 69, 69, 0.15) !important;
}

.tb-audio-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.tb-audio-item {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01) !important;
    padding: 16px 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    gap: 16px !important;
}

.tb-audio-item:hover {
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.tb-card-warn {
    background: rgba(227, 69, 69, 0.015) !important;
    border-color: rgba(227, 69, 69, 0.08) !important;
}

.tb-card-warn:hover {
    border-color: rgba(227, 69, 69, 0.15) !important;
}

.tb-play-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: rgba(69, 115, 227, 0.08) !important;
    border: none !important;
    color: var(--blue-500, #4573E3) !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.tb-play-btn:hover {
    background-color: rgba(69, 115, 227, 0.15) !important;
    color: var(--blue-500, #4573E3) !important;
    transform: scale(1.05) !important;
}

.tb-play-btn:active {
    transform: scale(0.95) !important;
}

.tb-play-icon-svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    display: block !important;
    margin-left: 1.5px !important;
}

.tb-track-main {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
}

.tb-track-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 4px !important;
}

.tb-track-title {
    font-family: 'Pretendard Variable', Pretendard, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.tb-track-time {
    font-family: 'Pretendard Variable', Pretendard, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #888888 !important;
    font-variant-numeric: tabular-nums !important;
    flex-shrink: 0 !important;
    margin-left: 12px !important;
}

.tb-track-desc {
    font-family: 'Pretendard Variable', Pretendard, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #888888 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.tb-progress-container {
    width: 100% !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    height: 16px !important;
}

.tb-seek-bar {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    height: 2px !important;
    background: rgba(0, 0, 0, 0.06) !important;
    border-radius: 999px !important;
    outline: none !important;
    cursor: pointer !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
    position: relative !important;
}

.tb-seek-bar::-webkit-slider-runnable-track {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 2px !important;
}

.tb-seek-bar::-moz-range-track {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 2px !important;
}

.tb-seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 12px !important;
    height: 12px !important;
    background: var(--blue-500, #4573E3) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: 2px solid #fff !important;
    margin-top: -4px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.tb-seek-bar::-moz-range-thumb {
    width: 12px !important;
    height: 12px !important;
    background: var(--blue-500, #4573E3) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: 2px solid #fff !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.tb-card-warn .tb-play-btn {
    background-color: rgba(227, 69, 69, 0.06) !important;
    color: var(--red-500, #E34545) !important;
}

.tb-card-warn .tb-play-btn:hover {
    background-color: rgba(227, 69, 69, 0.12) !important;
    color: var(--red-500, #E34545) !important;
}

.tb-card-warn .tb-seek-bar::-webkit-slider-thumb {
    background: var(--red-500, #E34545) !important;
}

.tb-card-warn .tb-seek-bar::-moz-range-thumb {
    background: var(--red-500, #E34545) !important;
}

@media (max-width: 600px) {
    .tb-audio-section {
        margin: 40px auto !important;
        padding: 0 16px !important;
    }

    .tb-audio-item {
        padding: 12px 16px !important;
        gap: 12px !important;
    }

    .tb-play-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .tb-track-desc {
        white-space: normal !important;
        text-overflow: clip !important;
    }
}

/* 측정 이미지 박스 (간결한 버전) */
.tb-audio-graph-box {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    background: #fff;
}

.tb-audio-graph-box img {
    width: 100%;
    display: block;
    height: auto;
}

.tb-audio-graph-desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
    padding: 0 12px 12px 12px;
}

.lab-section {
    padding: 0 10px;
    background: transparent;
    border-top: 1px solid #eee;
    text-align: left;
    max-width: 850px !important;
    margin: 60px auto 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

.lab-header {
    padding: 60px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s;
}

.lab-header:hover {
    opacity: 0.8;
}

.lab-header .section-title {
    margin: 0;
    border-left: 5px solid var(--blue-500, #4573E3);
    padding-left: 15px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.lab-toggle-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--blue-500, #4573E3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 10px;
}

.lab-toggle-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.is-expanded .lab-toggle-icon {
    transform: rotate(180deg);
}

.lab-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    opacity: 0;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.is-expanded .lab-content-wrapper {
    grid-template-rows: 1fr;
    opacity: 1;
}

.lab-inner {
    min-height: 0;
    padding: 0;
    padding-bottom: 50px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.lab-desc {
    margin-bottom: 8px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.lab-notice {
    margin-bottom: 30px;
    color: #aaa;
    font-size: 13px;
}

.lab-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 0 auto 30px;
}

@media (max-width: 600px) {
    .lab-section {
        margin: 40px 16px 0 !important;
        padding-right: 0;
        padding-left: 0;
    }

    .lab-header {
        padding: 40px 0 20px;
    }

    .lab-header .section-title {
        font-size: 20px;
    }

    .lab-toggle-icon {
        width: 20px;
        height: 20px;
    }
}

.download-container {
    max-width: 800px !important;
    margin: 40px auto 0 !important;
    text-align: right !important;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    height: 52px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
    border: 1px solid transparent;
    outline: none !important;
    box-shadow: none !important;
}

.download-btn:focus,
.download-btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Primary Style (Blue Background) */
.download-btn-primary {
    background-color: #4573E3;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 85, 255, 0.3) !important;
}

.download-btn-primary:hover {
    background-color: #0044cc;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 85, 255, 0.4) !important;
}

/* Outline Style (Blue Border) */
.download-btn-outline {
    background-color: transparent;
    color: #2F57C8 !important;
    border: 1px solid #2F57C8;
}

.download-btn-outline:hover {
    background-color: #2F57C8;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 87, 200, 0.2) !important;
}

@media (max-width: 640px) {
    .download-container {
        justify-content: center !important;
        padding: 0 20px;
        gap: 12px;
    }

    .download-btn {
        width: 100%;
        text-align: center;
        max-width: 400px;
    }
}

.tb-metrics-section {
    max-width: 850px !important;
    margin: 60px auto !important;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.tb-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.tb-metrics-box {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.tb-metrics-box-label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 12px;
}

.tb-metrics-box-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--blue-500, #4573E3);
}

.tb-metrics-box-unit {
    font-size: 14px;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 2px;
}

.tb-metrics-list {
    background: rgba(248, 250, 255, 0.5);
    border: 1px solid #f1f5f9;
    border-radius: 32px;
    padding: 12px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.tb-metrics-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 24px;
}

.tb-metrics-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.tb-metrics-item-title {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tb-metrics-item-score-box {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 14px 0;
    width: 240px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.tb-metrics-score-label {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 24px;
    flex: 1;
}

.tb-metrics-score-val {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    text-align: right;
    margin-right: 24px;
}

.tb-metrics-item-tier {
    width: 80px;
    flex-shrink: 0;
    text-align: right;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .tb-metrics-section {
        margin: 40px auto !important;
        padding-right: 16px;
        padding-left: 16px;
    }

    .tb-metrics-grid {
        display: none;
    }

    .tb-metrics-section--microphone .tb-metrics-grid,
    .tb-metrics-section--subwoofer .tb-metrics-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
        padding: 4px 14px;
        border: 1px solid #f1f5f9;
        border-radius: 18px;
        background: #fff;
        box-sizing: border-box;
    }

    .tb-metrics-section--microphone .tb-metrics-box,
    .tb-metrics-section--subwoofer .tb-metrics-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 13px 2px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
    }

    .tb-metrics-section--microphone .tb-metrics-box:not(:last-child),
    .tb-metrics-section--subwoofer .tb-metrics-box:not(:last-child) {
        border-bottom: 1px solid #f1f5f9;
    }

    .tb-metrics-section--microphone .tb-metrics-box-label,
    .tb-metrics-section--subwoofer .tb-metrics-box-label {
        margin: 0;
        color: #1e293b;
        font-size: 14px;
        line-height: 1.25;
    }

    .tb-metrics-section--microphone .tb-metrics-box-label span:last-child,
    .tb-metrics-section--subwoofer .tb-metrics-box-label span:last-child {
        display: none !important;
    }

    .tb-metrics-section--microphone .tb-metrics-box-val,
    .tb-metrics-section--subwoofer .tb-metrics-box-val {
        margin: 0;
        font-size: 15px;
        white-space: nowrap;
    }

    .tb-metrics-list {
        padding: 0 14px;
        border-radius: 18px;
        background: #fff;
    }

    .tb-metrics-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        text-align: left;
        padding: 13px 2px;
        gap: 10px;
    }

    .tb-metrics-item-title {
        min-width: 0;
        font-size: 14px;
        line-height: 1.25;
        white-space: normal;
    }

    .tb-metrics-item-title span:last-child {
        display: none !important;
    }

    .tb-metrics-item-score-box {
        width: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .tb-metrics-score-label {
        display: none;
    }

    .tb-metrics-score-val {
        margin: 0;
        font-size: 15px;
        white-space: nowrap;
    }

    .tb-metrics-item-tier {
        width: 24px;
        margin: 0;
        text-align: right;
        font-size: 14px;
    }
}

/* ===== BURST TONE HEATMAP ===== */
.tb-burst-table-container {
    width: 100%;
    max-width: 500px !important;
    margin: 60px 0 30px !important;
    padding: 24px 28px;
    background: #ffffff;
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.tb-burst-header {
    text-align: left;
    margin-bottom: 12px;
}

.tb-burst-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.tb-burst-model {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: -0.01em;
}

.tb-burst-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.tb-burst-table th,
.tb-burst-table td {
    padding: 14px 16px;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.tb-burst-table th {
    background-color: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.tb-burst-freq {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background-color: #ffffff;
}

.tb-burst-table td:not(.tb-burst-freq) {
    font-size: 15px;
    letter-spacing: -0.01em;
}

@media (max-width: 640px) {
    .tb-burst-table-container {
        width: calc(100% - 20px) !important;
        margin: 30px 0 !important;
        padding: 18px 20px !important;
        background: #ffffff !important;
        border: none !important;
        border-radius: 20px !important;
        box-shadow: none !important;
        display: block !important;
    }

    .tb-burst-table-container .tb-burst-title {
        font-size: 14px !important;
        color: #1e293b !important;
    }

    .tb-burst-table-container .tb-burst-model {
        font-size: 12px !important;
        margin-top: 4px !important;
    }

    .tb-burst-table th,
    .tb-burst-table td {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .tb-burst-table td:not(.tb-burst-freq) {
        font-size: 14px !important;
    }
}

/* ===== MICROPHONE VERTICAL BAR CHART ===== */
.microphone-bar-section {
    border-top: 1px solid #eee;
    padding-top: 60px;
    margin-top: 60px;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.microphone-bar-wrap {
    width: 100% !important;
    margin: 0 auto !important;
    position: relative !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

@media (max-width: 640px) {
    .microphone-bar-section {
        padding: 40px 15px;
        margin-top: 30px;
    }

    .microphone-bar-wrap {
        padding: 0;
    }
}

/* ===== POWERCUBE 3D GRAPH STYLES ===== */
.tb-pc-container {
    width: 100%;
    max-width: 800px !important;
    margin: 40px auto !important;
    padding: 0 10px;
    background: transparent;
    box-shadow: none;
    border: none;
    box-sizing: border-box;
}

.tb-pc-plots {
    width: 100%;
    margin-top: 20px;
}

.tb-pc-plot-wrap {
    background: transparent;
    padding: 0;
    border: none;
}

.tb-pc-plot-title {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
}

.tb-pc-canvas {
    width: 100%;
    height: 500px;
}

.tb-pc-title {
    font-size: 17px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
}

.tb-pc-header p {
    margin: 0 !important;
}

.tb-pc-controls {
    display: flex !important;
    justify-content: flex-end !important;
    margin-bottom: 15px !important;
}

.tb-pc-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 18px !important;
    height: 38px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
}

.tb-pc-btn:hover {
    background-color: rgba(69, 115, 227, 0.05) !important;
    color: #4573E3 !important;
    border-color: rgba(69, 115, 227, 0.3) !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 4px 12px rgba(69, 115, 227, 0.08) !important;
}

.tb-pc-btn:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

.tb-pc-btn-icon {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    margin-right: 6px !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tb-pc-btn:hover .tb-pc-btn-icon {
    transform: rotate(-180deg) !important;
}

/* ===== POWERCUBE MOBILE RESPONSIVE ===== */
@media (max-width: 640px) {
    .tb-pc-container {
        width: 100% !important;
        margin: 40px auto !important;
        padding: 0 16px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
    }

    .tb-pc-title {
        font-size: 15px !important;
    }

    .tb-pc-header p {
        font-size: 11px !important;
    }

    .tb-pc-controls {
        margin-bottom: 10px !important;
    }

    .tb-pc-btn {
        padding: 6px 14px !important;
        height: 32px !important;
        font-size: 11px !important;
    }

    .tb-pc-btn-icon {
        width: 12px !important;
        height: 12px !important;
        margin-right: 4px !important;
    }

    .tb-pc-plot-wrap {
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .tb-pc-plot-title {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }

    .tb-pc-canvas {
        height: 260px !important;
    }
}

/* ===== SPECIFICATION TABLE ===== */
.tb-spec-table-container {
    width: 100%;
    max-width: 500px;
    margin: 20px 0 30px;
    padding: 24px 28px;
    background: #ffffff;
    border-radius: 20px;
    box-sizing: border-box;
}

.tb-spec-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.tb-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.tb-spec-table th,
.tb-spec-table td {
    padding: 14px 16px;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.tb-spec-table th {
    background-color: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.tb-spec-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background-color: #f8fafc;
    width: 35%;
}

.tb-spec-value {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    background-color: #ffffff;
}

.tb-spec-unit {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background-color: #ffffff;
    width: 30%;
}

@media (max-width: 640px) {
    .tb-spec-table-container {
        padding: 18px 20px;
        margin: 15px 0 25px;
    }

    .tb-spec-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .tb-spec-table th,
    .tb-spec-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .tb-spec-value {
        font-size: 14px;
    }
}

/* Plotly Hover Label Border Radius (Glassmorphism card rounded corner) */
.js-plotly-plot .hoverlayer .hovertext path {
    rx: 8px !important;
    ry: 8px !important;
}

.tb-value-plot-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 20px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.tb-value-plot-container {
    padding-right: 10px;
    padding-left: 10px;
}

@media (max-width: 768px) {
    .tb-value-plot-container {
        margin: 40px auto 24px !important;
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* ==========================================================================
   SPEAKER QUALITATIVE KEYWORDS SECTION (tb_speaker_keywords)
   ========================================================================== */

/* Main Container */
.tb-keywords-section {
    max-width: 850px !important;
    margin: 60px auto 30px !important;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.tb-keywords-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.tb-keywords-selected-summary,
.tb-keywords-details > summary {
    display: none;
}

.tb-keywords-summary-close {
    display: none;
}

/* Category Row */
.tb-keywords-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 20px;
}

.tb-keywords-category {
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--black-700, #1E1E1E);
    text-align: left;
}

.tb-keywords-category-title {
    display: block;
    line-height: 1.3;
}

/* Slider Wrap & Track */
.tb-keywords-slider-wrap {
    position: relative;
    padding: 15px 0;
}

.tb-keywords-slider-line {
    position: absolute;
    top: 27px;
    /* padding-top(15px) + 동그라미 높이(24px)의 절반(12px) = 27px (동그라미 중앙 관통) */
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    transform: translateY(-50%);
    z-index: 1;
}

/* Nodes Grid */
.tb-keywords-nodes {
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

/* Single Keyword Node */
.tb-keyword-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    text-align: center;
    cursor: default;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tb-keyword-node:hover {
    transform: scale(1.05);
}

/* Node Point */
.tb-keyword-point-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: transparent;
    /* 큰 원 배경 제거 */
    transition: all 0.25s ease;
}

.tb-keyword-point {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9CA3AF;
    transition: all 0.25s ease;
}

/* Label Structure */
.tb-keyword-label-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tb-keyword-label-ko {
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #888888;
    word-break: keep-all;
    transition: all 0.25s ease;
}

.tb-keyword-label-en {
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    font-size: 9px;
    color: #a3a3a3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    word-break: keep-all;
    transition: all 0.25s ease;
}

/* --------------------------------------------------------------------------
   STATE: Active (Selected Keyword)
   -------------------------------------------------------------------------- */
.tb-keyword-node.active .tb-keyword-point-wrap {
    background: transparent;
    box-shadow: none;
    border: none;
}

.tb-keyword-node.active .tb-keyword-point {
    background: var(--blue-500, #4573E3);
    width: 10px;
    /* 활성 상태 작은 원 */
    height: 10px;
    box-shadow: 0 0 0 4px rgba(69, 115, 227, 0.25);
}

.tb-keyword-node.active .tb-keyword-label-ko {
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    font-weight: 800;
    color: var(--blue-500, #4573E3);
    text-shadow: 0 0 1px rgba(69, 115, 227, 0.1);
}

.tb-keyword-node.active .tb-keyword-label-en {
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
    font-weight: 600;
    color: var(--blue-500, #4573E3);
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   STATE: Inactive (Unselected Keyword)
   -------------------------------------------------------------------------- */
.tb-keyword-node.inactive {
    opacity: 0.7;
}

.tb-keyword-node.inactive .tb-keyword-point-wrap {
    border: none;
    /* 비활성 상태 큰 원 테두리 제거 */
}

/* --------------------------------------------------------------------------
   SEO / Accessibility Utility
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile optimization)
   ========================================================================== */
@media (max-width: 768px) {
    .tb-keywords-section {
        margin: 40px auto 24px !important;
        padding: 0 16px;
    }

    .tb-keywords-selected-summary {
        display: grid;
        gap: 0;
        margin-top: 20px;
        padding: 4px 16px;
        background: #f8faff;
        border: 1px solid #e8eefc;
        border-radius: 18px;
    }

    .tb-keywords-selected-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 48px;
        border-bottom: 1px solid #e8eefc;
    }

    .tb-keywords-selected-item:last-child {
        border-bottom: 0;
    }

    .tb-keywords-selected-category {
        color: #64748b;
        font-size: 13px;
        font-weight: 600;
    }

    .tb-keywords-selected-value {
        color: #2f57c8;
        font-size: 14px;
        font-weight: 800;
        text-align: right;
    }

    .tb-keywords-selected-value small {
        display: block;
        margin-top: 1px;
        color: #8294c8;
        font-size: 9px;
        font-weight: 600;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .tb-keywords-details > summary {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        margin-top: 12px;
        border: 1px solid #dce5fa;
        border-radius: 12px;
        color: #2f57c8;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        list-style: none;
    }

    .tb-keywords-details > summary::-webkit-details-marker {
        display: none;
    }

    .tb-keywords-details[open] .tb-keywords-summary-open {
        display: none;
    }

    .tb-keywords-details[open] .tb-keywords-summary-close {
        display: inline;
    }

    .tb-keywords-details:not([open]) .tb-keywords-grid {
        display: none;
    }

    .tb-keywords-row {
        grid-template-columns: 1fr;
        gap: 12px;
        border-bottom: 1px dashed #f1f5f9;
        padding-bottom: 24px;
    }

    .tb-keywords-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .tb-keywords-category {
        text-align: center;
        margin-bottom: 8px;
    }

    .tb-keywords-slider-wrap {
        padding: 10px 20px;
        height: 220px;
        /* 전체 슬라이더 바의 높이를 아담한 220px로 제어 */
        display: flex;
        justify-content: center;
        position: relative;
    }

    /* Change track to vertical */
    .tb-keywords-slider-line {
        top: 10px;
        /* 라인 위아래 끝단을 안쪽으로 마감하여 동그라미 센터에 맞춤 */
        left: 50%;
        width: 4px;
        height: calc(100% - 20px);
        transform: translateX(-50%);
        position: absolute;
    }

    /* Change nodes layout to vertical column */
    .tb-keywords-nodes {
        flex-direction: column;
        height: 100%;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .tb-keyword-node {
        position: relative;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        height: 32px;
        /* 명시적 높이를 주어 5개 노드가 겹치지 않고 균등 정렬되도록 보장 */
        text-align: center;
        cursor: default;
    }

    .tb-keyword-point-wrap {
        margin-bottom: 0;
        flex-shrink: 0;
        z-index: 3;
    }

    /* 텍스트 라벨을 원의 오른쪽에 absolute로 배치하여 세로선이 원만 관통하도록 처리 */
    .tb-keyword-label-wrap {
        position: absolute;
        left: calc(50% + 20px);
        /* 원 중심(50%) 기준 20px 오른쪽 여백 확보 */
        top: 50%;
        transform: translateY(-50%);
        text-align: left;
        width: 140px;
        white-space: nowrap;
        line-height: 1.2;
    }

    .tb-keyword-label-ko {
        font-size: 12px;
        /* 텍스트 폰트 크기를 약간 조절하여 모바일 가독성 최적화 */
        font-weight: 600;
    }

    .tb-keyword-label-en {
        font-size: 10px;
    }
}

/* ==========================================================================
   TECHBROS VERDICT CARD SECTION (tb_ai) - Proposal A
   ========================================================================== */

.tb-verdict-section {
    max-width: 850px !important;
    margin: 60px auto !important;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

.tb-verdict-card {
    position: relative;
    max-width: 700px;
    /* 실질적인 카드 몸체의 폭만 약 10% 축소 (700px) */
    margin: 24px auto 0;
    /* 축소된 카드를 가로 정중앙 정렬 */
    padding: 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(248, 250, 255, 0.95) 0%, rgba(240, 244, 255, 0.75) 100%);
    /* 아이스 블루 그라데이션 적용 */
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    /* Hover 인터랙션 제거로 transition 삭제 */
}

/* Quote Wrap & Typography */
.tb-verdict-quote-wrap {
    position: relative;
    padding: 0 50px;
    /* 양옆에 따옴표가 놓일 충분한 여백 확보 */
    margin-bottom: 24px;
    text-align: center;
}

.tb-verdict-quote-icon {
    position: absolute;
    /* absolute 배치로 따옴표를 넓혀 배치 */
    font-size: 48px;
    font-family: 'Georgia', serif;
    color: rgba(69, 115, 227, 0.15);
    /* 연한 브랜드 블루 컬러 */
    line-height: 1;
    user-select: none;
    font-weight: 800;
}

.tb-verdict-quote-icon.start {
    left: 15px;
    /* 따옴표 위치를 양쪽 끝으로 넓힘 */
    top: -10px;
    /* 텍스트 시작부 라인과 정렬 보정 */
}

.tb-verdict-quote-icon.end {
    right: 15px;
    /* 따옴표 위치를 양쪽 끝으로 넓힘 */
    bottom: -15px;
    /* 텍스트 끝부분 라인과 정렬 보정 */
}

.tb-verdict-quote {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
    color: #1e1e1e;
    text-align: center;
    margin: 0;
    word-break: keep-all;
    letter-spacing: -0.02em;
    display: inline-block;
}

/* Detailed Description */
.tb-verdict-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #4b5563;
    /* 가독성 좋은 차분한 흑회색 */
    text-align: justify;
    word-break: keep-all;
    max-width: 580px;
    /* 전체 폭 축소에 따라 본문 최대 가로폭도 약 10% 축소 */
    margin: 0 auto;
    /* 가로폭 제한 후 가운데 정렬 */
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .tb-verdict-section {
        margin: 40px auto !important;
        padding-right: 16px;
        padding-left: 16px;
    }

    .tb-verdict-card {
        padding: 30px 20px;
    }

    .tb-verdict-quote-wrap {
        padding: 0 30px;
        /* 따옴표 공간 확보를 위해 패딩 추가 */
        margin-bottom: 20px;
    }

    .tb-verdict-quote-icon {
        font-size: 36px;
    }

    .tb-verdict-quote-icon.start {
        left: 5px;
        top: -8px;
    }

    .tb-verdict-quote-icon.end {
        right: 5px;
        bottom: -12px;
    }

    .tb-verdict-quote {
        font-size: 17px;
        line-height: 1.45;
    }

    .tb-verdict-desc {
        font-size: 13.5px;
        line-height: 1.6;
        padding-top: 20px;
        text-align: left;
        max-width: 100%;
        /* 모바일에서는 가로폭 제한 해제 */
    }
}

/* ==========================================================================
   SPEAKER SIZE PREVIEW SECTION ([tb_speaker_size_preview])
   ========================================================================== */

.tb-size-preview-section {
    max-width: 850px !important;
    margin: 60px auto !important;
    padding: 0 10px;
    box-sizing: border-box;
    font-family: 'Pretendard Variable', Pretendard, sans-serif;
}

.tb-size-desc {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    font-size: 14.5px;
    line-height: 1.6;
    color: #64748b;
    margin-top: -30px;
    margin-bottom: 30px;
}

.tb-size-preview-wrap {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tb-size-canvas-container {
    width: 100%;
    height: 380px;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

/* 3D Scene Config */
.tb-3d-scene {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    perspective-origin: 50% 10%;
    transform-origin: center center;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.tb-3d-desk-space {
    position: relative;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(-45deg);
    /* Isometric View Offset */
}

/* 3D Box Drawing Engine */
.tb-3d-box {
    position: absolute;
    transform-style: preserve-3d;
    width: 0;
    height: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tb-3d-box .face {
    position: absolute;
    left: 50%;
    top: 50%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--face-bg, #cbd5e1);
    transform-style: preserve-3d;
    backface-visibility: visible;
}

/* Face positions based on center anchor (0,0,0) */
.tb-3d-box .face.front {
    width: var(--w);
    height: var(--h);
    margin-left: calc(var(--w) / -2);
    margin-top: calc(var(--h) / -2);
    transform: translate3d(0, calc(var(--d) / 2), 0) rotateX(90deg);
    filter: brightness(0.95);
}

.tb-3d-box .face.back {
    width: var(--w);
    height: var(--h);
    margin-left: calc(var(--w) / -2);
    margin-top: calc(var(--h) / -2);
    transform: translate3d(0, calc(var(--d) / -2), 0) rotateX(90deg);
    filter: brightness(0.65);
}

.tb-3d-box .face.left {
    width: var(--h);
    height: var(--d);
    margin-left: calc(var(--h) / -2);
    margin-top: calc(var(--d) / -2);
    transform: translate3d(calc(var(--w) / -2), 0, 0) rotateY(90deg);
    filter: brightness(0.8);
}

.tb-3d-box .face.right {
    width: var(--h);
    height: var(--d);
    margin-left: calc(var(--h) / -2);
    margin-top: calc(var(--d) / -2);
    transform: translate3d(calc(var(--w) / 2), 0, 0) rotateY(90deg);
    filter: brightness(0.85);
}

.tb-3d-box .face.top {
    width: var(--w);
    height: var(--d);
    margin-left: calc(var(--w) / -2);
    margin-top: calc(var(--d) / -2);
    transform: translate3d(0, 0, calc(var(--h) / 2));
    filter: brightness(1.15);
}

.tb-3d-box .face.bottom {
    width: var(--w);
    height: var(--d);
    margin-left: calc(var(--w) / -2);
    margin-top: calc(var(--d) / -2);
    transform: translate3d(0, 0, calc(var(--h) / -2));
    filter: brightness(0.5);
}

/* Desk Element Styles */
.tb-desk-top {
    --face-bg: #e2e8f0;
}

.tb-desk-top .face.top {
    background: #f8fafc;
    border-color: #cbd5e1;
    /* Grid Pattern on Desk Top */
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.tb-desk-leg {
    --face-bg: #475569;
}

/* Guides (Monitor & Keyboard) */
.tb-guide-monitor-screen,
.tb-guide-monitor-stand,
.tb-guide-monitor-base,
.tb-guide-keyboard {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tb-size-preview-wrap.guides-hidden .tb-guide-monitor-screen,
.tb-size-preview-wrap.guides-hidden .tb-guide-monitor-stand,
.tb-size-preview-wrap.guides-hidden .tb-guide-monitor-base,
.tb-size-preview-wrap.guides-hidden .tb-guide-keyboard {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.tb-guide-monitor-screen {
    --face-bg: rgba(226, 232, 240, 0.4);
}

.tb-guide-monitor-screen .face {
    border-color: rgba(203, 213, 225, 0.5);
}

.tb-guide-monitor-screen .face.front {
    background-color: rgba(148, 163, 184, 0.15);
    /* Override to flip front face toward camera */
    transform: translate3d(0, calc(var(--d) / 2), 0) rotateX(-90deg);
    /* Simple Bezel line */
    box-shadow: inset 0 0 0 3px rgba(71, 85, 105, 0.2);
    position: relative;
}

.tb-guide-monitor-screen .face.front::before {
    content: '';
    position: absolute;
    top: 7.5%;
    left: 7.5%;
    width: 85%;
    height: 85%;
    background-image: var(--monitor-bg, none);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.tb-guide-monitor-stand,
.tb-guide-monitor-base {
    --face-bg: rgba(203, 213, 225, 0.4);
}

.tb-guide-monitor-stand .face,
.tb-guide-monitor-base .face {
    border-color: rgba(148, 163, 184, 0.3);
}

.tb-guide-keyboard {
    --face-bg: rgba(226, 232, 240, 0.5);
}

.tb-guide-keyboard .face {
    border-color: rgba(203, 213, 225, 0.6);
}

.tb-guide-keyboard .face.top {
    /* Keyboard layout lookalike */
    background: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.1) 0px, rgba(148, 163, 184, 0.1) 4px, transparent 4px, transparent 10px);
}

/* Active Speaker Styles */
.tb-speaker-box {
    --face-bg: #1e293b;
}

.tb-speaker-box .face {
    border-color: rgba(15, 23, 42, 0.5);
}

.tb-speaker-box .face.top {
    --face-bg: #334155;
}

.tb-speaker-box .face.front {
    --face-bg: #0f172a;
    position: relative;
    overflow: hidden;
}

/* Front Face Speaker Units removed as requested */

/* Sound Wave Target Indicator (Toe-in active helper line) */
.tb-speaker-box::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 160px;
    background: linear-gradient(to bottom, rgba(69, 115, 227, 0.3) 0%, rgba(69, 115, 227, 0.0) 100%);
    left: calc(50% - 1px);
    top: 50%;
    transform-origin: top center;
    /* Align with speaker's front-bottom axis and shoot forward */
    transform: translate3d(0, calc(var(--d) / 2), calc(var(--h) / -2 + 1px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.tb-speaker-box.toe-in-active::after {
    opacity: 0.65;
}

.tb-speaker-l.toe-in-active {
    transform: rotateZ(-30deg);
}

.tb-speaker-r.toe-in-active {
    transform: rotateZ(30deg);
}

/* Footer Styling */
.tb-size-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8fafc;
}

.tb-size-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tb-spk-name {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
}

.tb-spk-dims {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
}

.tb-spk-guide-meta {
    font-size: 11.5px;
    font-weight: 400;
    color: #94a3b8;
    margin-top: 2px;
}

/* Controls */
.tb-size-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tb-toe-in-toggle-btn,
.tb-guides-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
}

.tb-toe-in-toggle-btn:hover,
.tb-guides-toggle-btn:hover {
    border-color: #4573E3;
    background: rgba(69, 115, 227, 0.02);
    color: #4573E3;
}

.tb-toe-in-toggle-btn.active,
.tb-guides-toggle-btn.active {
    background: #4573E3;
    border-color: #4573E3;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(69, 115, 227, 0.25);
}

.tb-toe-in-toggle-btn .btn-icon,
.tb-guides-toggle-btn .btn-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    transition: background 0.2s ease;
}

.tb-toe-in-toggle-btn:hover .btn-icon,
.tb-guides-toggle-btn:hover .btn-icon {
    background: #4573E3;
}

.tb-toe-in-toggle-btn.active .btn-icon,
.tb-guides-toggle-btn.active .btn-icon {
    background: #ffffff;
}

.tb-toe-in-toggle-btn .btn-text,
.tb-guides-toggle-btn .btn-text {
    font-size: 14px;
    font-weight: 600;
}

/* Subwoofer floor-context size preview */
.tb-size-preview-wrap--subwoofer {
    background: #ffffff;
    border-color: #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
}

.tb-subwoofer-size-canvas {
    height: 410px;
    border-bottom-color: #f1f5f9;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
}

.tb-subwoofer-size-canvas::after {
    content: none;
}

.tb-subwoofer-scene-note {
    position: absolute;
    top: 22px;
    left: 24px;
    z-index: 4;
    color: rgba(100, 116, 139, 0.58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.tb-subwoofer-3d-scene {
    perspective-origin: 50% 17%;
}

.tb-3d-subwoofer-space,
.tb-subwoofer-positioner {
    position: relative;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
}

.tb-3d-subwoofer-space {
    transform: translate3d(6px, 22px, 0) rotateX(60deg) rotateZ(-45deg);
}

.tb-subwoofer-positioner {
    position: absolute;
}

.tb-subwoofer-floor {
    --face-bg: #e2e8f0;
}

.tb-subwoofer-floor .face {
    border-color: rgba(100, 116, 139, 0.1);
}

.tb-subwoofer-floor .face.top {
    background-color: #f8fafc;
    background-image:
        linear-gradient(rgba(100, 116, 139, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 116, 139, 0.13) 1px, transparent 1px);
    background-size: 90px 90px;
    filter: none;
}

.tb-subwoofer-footprint {
    --face-bg: rgba(69, 115, 227, 0.12);
}

.tb-subwoofer-footprint .face {
    border-color: rgba(69, 115, 227, 0.22);
}

.tb-subwoofer-footprint .face.top {
    background: rgba(69, 115, 227, 0.11);
    filter: none;
}

.tb-subwoofer-box {
    --face-bg: #262b31;
}

.tb-subwoofer-box .face {
    border-color: rgba(8, 11, 14, 0.56);
}

.tb-subwoofer-box .face.top {
    background: #3b4148;
}

.tb-subwoofer-box .face.left,
.tb-subwoofer-box .face.right {
    background: #292f35;
}

.tb-subwoofer-box .face.front {
    overflow: hidden;
    background: #171b20;
    position: relative;
    box-shadow: 8px 10px 16px rgba(43, 39, 32, 0.18);
}

.tb-subwoofer-box .face.front::after {
    content: "";
    position: absolute;
    right: 9%;
    bottom: 7%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4573e3;
    box-shadow: 0 0 5px rgba(69, 115, 227, 0.7);
}

.tb-sofa-part {
    --face-bg: #cbd5e1;
}

.tb-sofa-part .face {
    border-color: rgba(100, 116, 139, 0.2);
}

.tb-sofa-base {
    --face-bg: #b9c3cf;
}

.tb-sofa-cushion {
    --face-bg: #e2e8f0;
}

.tb-sofa-cushion .face.top {
    background: #f1f5f9;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.tb-sofa-back,
.tb-sofa-arm {
    --face-bg: #d5dde7;
}

.tb-sofa-back .face.front,
.tb-sofa-arm .face.front {
    background: #e2e8f0;
}

.tb-sofa-back .face.front {
    background-image: linear-gradient(90deg,
        transparent 49.7%,
        rgba(148, 163, 184, 0.3) 49.7%,
        rgba(148, 163, 184, 0.3) 50.3%,
        transparent 50.3%);
}

.tb-subwoofer-size-footer {
    background: #f8fafc;
}

.tb-subwoofer-volume {
    margin-top: 2px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.tb-subwoofer-size-legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 500;
}

.tb-subwoofer-size-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tb-subwoofer-size-legend i {
    width: 12px;
    height: 12px;
    display: inline-block;
    box-sizing: border-box;
}

.tb-legend-grid {
    border: 1px solid rgba(100, 116, 139, 0.28);
    background-image:
        linear-gradient(rgba(100, 116, 139, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 116, 139, 0.2) 1px, transparent 1px);
    background-size: 5px 5px;
}

.tb-legend-sofa {
    position: relative;
    border: 1px solid #94a3b8;
    border-radius: 2px;
    background: #e2e8f0;
}

.tb-legend-sofa::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: -3px;
    left: 2px;
    height: 3px;
    border-radius: 1px;
    background: #94a3b8;
}

/* Mobile Responsive scale fallbacks */
@media (max-width: 600px) {
    .tb-size-preview-section {
        margin: 40px auto !important;
        padding-right: 16px;
        padding-left: 16px;
    }

    .tb-size-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        padding: 20px;
    }

    .tb-size-controls {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .tb-toe-in-toggle-btn,
    .tb-guides-toggle-btn {
        flex: 1;
        width: auto;
        justify-content: center;
        padding: 10px 8px;
        font-size: 13px;
    }

    .tb-size-canvas-container {
        height: 310px;
    }

    .tb-3d-scene {
        transform: scale(0.65) !important;
        transform-origin: center center !important;
    }

    .tb-subwoofer-size-canvas {
        height: 330px;
    }

    .tb-subwoofer-3d-scene {
        transform: scale(0.72) !important;
        transform-origin: center center !important;
    }

    .tb-3d-subwoofer-space {
        transform: translate3d(0, 18px, 0) rotateX(60deg) rotateZ(-45deg);
    }

    .tb-subwoofer-size-footer {
        gap: 14px;
    }

    .tb-subwoofer-size-legend {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid #e2e8f0;
    }
}
