/* ===== 6b. MY CHANNEL (내 채널관리) ===== */
      /* -- Sub-tab switching -- */
      .my-sub {
        display: none;
      }
      .my-sub.active {
        display: block;
      }

      /* -- Channel search & register (탭1: 채널 목록) -- */
      .my-search-row {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
      }
      .my-search-row input {
        flex: 1;
        height: 36px;
        padding: 0 12px;
        border-radius: 6px;
        border: 1px solid var(--mc-border);
        background: var(--mc-surface-2);
        color: var(--mc-text);
        font-size: 13px;
      }
      .my-search-row input:focus {
        outline: none;
        border-color: var(--mc-accent);
      }
      .my-search-row button {
        height: 36px;
        padding: 0 16px;
        border-radius: 6px;
        border: none;
        background: var(--mc-accent);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
      }
      .my-search-row button:hover {
        background: var(--mc-accent-hover);
      }

      .my-register-row {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
      }
      .my-register-row input {
        flex: 1;
        height: 36px;
        padding: 0 12px;
        border-radius: 6px;
        border: 1px solid var(--mc-border);
        background: var(--mc-surface-2);
        color: var(--mc-text);
        font-size: 13px;
      }
      .my-register-row button {
        height: 36px;
        padding: 0 16px;
        border-radius: 6px;
        border: none;
        background: var(--mc-blue);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
      }
      .my-register-row button:hover {
        opacity: 0.85;
      }

      .my-help-box {
        background: var(--mc-surface-2);
        border: 1px solid var(--mc-border);
        border-radius: 8px;
        padding: 12px 16px;
        margin-bottom: 12px;
        font-size: 12px;
        color: var(--mc-text-2);
        line-height: 1.7;
      }
      .my-help-box strong {
        color: var(--mc-text);
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
      }
      .my-help-box ol {
        margin: 0;
        padding-left: 18px;
      }

      .my-search-results {
        margin-top: 8px;
      }
      /* 검색 결과 헤더: 개수 + 정렬 */
      .my-search-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 12px;
      }
      .my-search-count {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--mc-text-2);
      }
      .my-search-sort {
        display: flex;
        gap: 4px;
        padding: 3px;
        border: 1px solid var(--mc-border);
        border-radius: 9px;
        background: var(--mc-surface);
      }
      .my-search-sort-btn {
        height: 30px;
        padding: 0 13px;
        border: none;
        border-radius: 6px;
        background: transparent;
        color: var(--mc-text-3);
        font: inherit;
        font-size: 0.8rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.15s;
      }
      .my-search-sort-btn:hover {
        color: var(--mc-text);
      }
      .my-search-sort-btn.active {
        background: var(--mc-surface-3);
        color: var(--mc-text);
      }

      /* 검색 결과 카드 그리드 */
      .my-result-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
        gap: 10px;
      }
      .my-result-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        border: 1px solid var(--mc-border);
        border-radius: 12px;
        background: var(--mc-surface);
        transition: border-color 0.15s, transform 0.15s;
      }
      .my-result-card:hover {
        border-color: var(--mc-text-3);
        transform: translateY(-1px);
      }
      .my-result-card.is-registered {
        border-color: var(--mc-accent);
      }
      .my-result-card.is-dead {
        opacity: 0.5;
      }
      .my-result-head {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
      }
      .my-result-thumb {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
      }
      .my-result-id {
        min-width: 0;
        flex: 1;
      }
      .my-result-name {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--mc-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .my-result-tags {
        display: flex;
        gap: 4px;
        flex-wrap: wrap;
        margin-top: 4px;
      }
      .my-result-tag {
        padding: 1px 7px;
        border: 1px solid var(--mc-border);
        border-radius: 999px;
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--mc-text-3);
      }
      .my-result-tag.is-on {
        border-color: var(--mc-accent);
        color: var(--mc-accent);
      }
      .my-result-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;
        margin: 0;
        padding: 10px 0 0;
        border-top: 1px solid var(--mc-border);
      }
      .my-result-stats div {
        min-width: 0;
      }
      .my-result-stats dt {
        font-size: 0.66rem;
        font-weight: 600;
        color: var(--mc-text-3);
      }
      .my-result-stats dd {
        margin: 2px 0 0;
        font-size: 0.86rem;
        font-weight: 700;
        color: var(--mc-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .my-result-actions {
        display: flex;
        gap: 5px;
        margin-top: auto;
      }
      .my-result-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 32px;
        padding: 0 8px;
        border-radius: 7px;
        border: 1px solid transparent;
        font: inherit;
        font-size: 0.76rem;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
        white-space: nowrap;
      }
      .my-result-btn.primary {
        background: var(--mc-accent);
        color: #fff;
      }
      .my-result-btn.secondary {
        background: var(--mc-purple);
        color: #fff;
      }
      .my-result-btn.ghost {
        flex: 0 0 auto;
        border-color: var(--mc-border);
        background: transparent;
        color: var(--mc-text-3);
      }
      .my-result-btn.ghost:hover {
        border-color: var(--mc-text-3);
        color: var(--mc-text);
      }
      .my-result-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
      }

      /* -- Channel list cards -- */
      .my-channels-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
        margin-top: 12px;
      }
      .my-ch-card {
        background: var(--mc-surface);
        border: 1px solid var(--mc-border);
        border-radius: 10px;
        overflow: hidden;
        transition:
          border-color 0.15s,
          box-shadow 0.15s;
        box-shadow: var(--mc-shadow-sm), var(--mc-card-glow);
      }
      .my-ch-card:hover {
        box-shadow: var(--mc-shadow-md);
        border-color: rgba(255, 255, 255, 0.12);
      }
      html:not(.dark-theme) .my-ch-card:hover {
        border-color: rgba(0, 0, 0, 0.15);
      }
      .my-ch-delete-checkbox-container {
        position: absolute;
        top: 10px;
        right: 12px;
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2;
      }
      .my-ch-delete-checkbox {
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: var(--mc-accent);
      }
      .my-ch-btn {
        height: 30px;
        padding: 0 12px;
        border: 1px solid var(--mc-border);
        border-radius: 6px;
        font-size: 0.78rem;
        font-weight: 600;
        cursor: pointer;
        color: var(--mc-text-2);
        background: var(--mc-surface-2);
        transition: all 0.15s;
      }
      .my-ch-btn:hover {
        background: var(--mc-surface-3);
        color: var(--mc-text);
        border-color: var(--mc-text-3);
      }
      /* 편집 / 선택 삭제 / 취소 — 누르기 편한 크기 */
      .my-ch-edit-controls {
        display: flex;
        gap: 8px;
      }
      .my-ch-btn-ctl {
        height: 38px;
        padding: 0 18px;
        font-size: 0.88rem;
        border-radius: 8px;
      }
      .my-ch-btn-danger {
        background: #dc2626;
        border-color: #dc2626;
        color: #fff;
      }
      .my-ch-btn-danger:hover {
        background: #b91c1c;
        border-color: #b91c1c;
        color: #fff;
      }

      /* -- Channel Dashboard: slide-in nav layout -- */
      .my-channel-dashboard {
        display: flex;
        gap: 0;
        align-items: start;
      }
      .my-channel-dashboard.nav-open {
        gap: 18px;
      }
      .my-channel-left {
        display: flex;
        flex-direction: column;
        gap: 24px;
        min-width: 0;
        flex: 1;
      }
      .my-recommend-panel {
        width: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateX(20px);
        transition:
          width 0.25s ease,
          opacity 0.2s ease,
          transform 0.25s ease;
        flex-shrink: 0;
        pointer-events: none;
      }
      .my-channel-dashboard.nav-open .my-recommend-panel {
        width: 300px;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        position: sticky;
        top: 60px;
        max-height: calc(100vh - 80px);
      }
      @media (max-width: 1200px) {
        .my-channel-dashboard.nav-open .my-recommend-panel {
          position: static;
          max-height: 400px;
          width: 100%;
        }
        .my-channel-dashboard {
          flex-direction: column;
        }
      }
      .my-ch-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 18px;
      }
      .my-ch-card.selected {
        border-color: var(--mc-accent) !important;
        box-shadow:
          0 0 0 1px var(--mc-accent),
          var(--mc-shadow-md) !important;
      }
      html:not(.dark-theme) .my-ch-card.selected {
        border-color: var(--mc-accent) !important;
      }

      /* Enhanced card v2 */
      .my-ch-header {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 26px 22px 20px;
        position: relative;
      }
      .my-ch-thumb {
        width: 80px;
        height: 80px;
        border-radius: 16px;
        object-fit: cover;
        flex-shrink: 0;
        border: 2px solid var(--mc-border);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
      }
      .my-ch-name {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--mc-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .my-ch-meta-line {
        font-size: 0.8rem;
        color: var(--mc-text-3);
        margin-top: 4px;
      }
      .my-ch-badge {
        position: absolute;
        top: 18px;
        right: 18px;
        font-size: 0.7rem;
        padding: 4px 11px;
        border-radius: 10px;
        font-weight: 600;
        letter-spacing: 0.3px;
      }
      .my-ch-badge-my {
        background: rgba(229, 62, 62, 0.12);
        color: var(--mc-accent);
      }
      .my-ch-badge-bench {
        background: rgba(159, 122, 234, 0.12);
        color: var(--mc-purple);
      }
      .my-ch-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border-top: 1px solid var(--mc-border);
      }
      .my-ch-stat {
        padding: 26px 14px;
        text-align: center;
        border-bottom: 1px solid var(--mc-border);
      }
      .my-ch-stat:nth-child(odd) {
        border-right: 1px solid var(--mc-border);
      }
      .my-ch-stat-label {
        display: block;
        font-size: 0.76rem;
        color: var(--mc-muted);
        margin-bottom: 8px;
      }
      .my-ch-stat-value {
        display: block;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--mc-text);
      }
      /* Performance bar in card */
      .my-ch-perf {
        padding: 12px 22px 14px;
        border-top: 1px solid var(--mc-border);
      }
      .my-ch-perf-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
      }
      .my-ch-perf-row:last-child {
        margin-bottom: 0;
      }
      .my-ch-perf-label {
        font-size: 0.68rem;
        color: var(--mc-muted);
        width: 72px;
        flex-shrink: 0;
      }
      .my-ch-perf-tip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: var(--mc-surface-3);
        color: var(--mc-text-3);
        font-size: 0.55rem;
        font-weight: 700;
        cursor: help;
        vertical-align: middle;
        margin-left: 2px;
      }
      .my-ch-perf-bar {
        flex: 1;
        height: 7px;
        background: var(--mc-surface-2);
        border-radius: 4px;
        overflow: hidden;
      }
      .my-ch-perf-fill {
        height: 100%;
        border-radius: 4px;
        transition: width 0.5s ease;
      }
      .my-ch-perf-val {
        font-size: 0.68rem;
        color: var(--mc-text-3);
        width: 40px;
        text-align: right;
        flex-shrink: 0;
        font-weight: 600;
      }
      .my-ch-actions {
        display: flex;
        gap: 10px;
        padding: 20px 22px;
      }
      .my-ch-actions .my-ch-btn {
        height: 44px;
        font-size: 0.85rem;
      }
      .my-ch-footer {
        padding: 0 22px 18px;
        font-size: 0.74rem;
        color: var(--mc-text-3);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
      }
      .my-ch-footer-date {
        margin-left: auto;
        text-align: right;
      }
      /* 카드 좌측 하단 다이렉트 삭제 */
      .my-ch-del-direct {
        height: 30px;
        padding: 0 14px;
        border: 1px solid var(--mc-border);
        border-radius: 6px;
        background: transparent;
        color: var(--mc-text-3);
        font-size: 0.78rem;
        font-weight: 600;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.15s;
      }
      .my-ch-del-direct:hover {
        background: #dc2626;
        border-color: #dc2626;
        color: #fff;
      }

      /* Recommend panel — full-height nav */
      .my-recommend-panel {
        background: var(--mc-surface);
        border: 1px solid var(--mc-border);
        border-radius: 12px;
        padding: 14px;
        display: flex;
        flex-direction: column;
        align-self: stretch;
        min-height: 300px;
      }
      .my-recommend-scroll {
        flex: 1;
        overflow-y: auto;
      }
      .my-recommend-scroll::-webkit-scrollbar {
        width: 3px;
      }
      .my-recommend-scroll::-webkit-scrollbar-thumb {
        background: var(--mc-border);
        border-radius: 2px;
      }
      .my-rec-count {
        font-size: 0.7rem;
        color: var(--mc-muted);
        font-weight: 500;
        margin-left: 6px;
      }
      .my-rec-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 10px;
        border-radius: 8px;
        transition: background 0.15s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      }
      .my-rec-item:last-child {
        border-bottom: none;
      }
      .my-rec-item:hover {
        background: var(--mc-surface-2);
      }
      .my-rec-item img {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 2px solid var(--mc-border);
      }
      .my-rec-item-info {
        flex: 1;
        min-width: 0;
      }
      .my-rec-item-name {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--mc-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .my-rec-item-subs {
        font-size: 0.68rem;
        color: var(--mc-muted);
        margin-top: 2px;
      }
      .my-rec-item-score {
        font-size: 0.62rem;
        color: var(--mc-accent);
        font-weight: 700;
        margin-top: 2px;
      }
      .my-rec-item-btn {
        flex-shrink: 0;
        padding: 5px 12px;
        border: 1px solid var(--mc-border);
        border-radius: 5px;
        background: transparent;
        color: var(--mc-text-3);
        font-size: 0.7rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.15s;
      }
      .my-rec-item-btn:hover {
        background: var(--mc-accent);
        color: #fff;
        border-color: var(--mc-accent);
      }

      /* section title - defined below in goals section */

      .my-delete-bar {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background: var(--mc-surface-2);
        border: 1px solid var(--mc-border);
        border-radius: 6px;
        margin-bottom: 8px;
      }
      .my-delete-bar button {
        height: 28px;
        padding: 0 12px;
        border-radius: 5px;
        border: none;
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
      }
      .my-delete-bar .del-confirm {
        background: #dc2626;
        color: #fff;
      }
      .my-delete-bar .del-cancel {
        background: var(--mc-surface-3);
        color: var(--mc-text);
      }

      .my-validation-box {
        display: none;
        padding: 10px 12px;
        border-radius: 6px;
        margin-bottom: 8px;
        background: var(--mc-surface-2);
        border: 1px solid var(--mc-border);
      }
      .my-progress-bar {
        display: none;
        height: 28px;
        background: var(--mc-surface-2);
        border: 1px solid var(--mc-border);
        border-radius: 14px;
        overflow: hidden;
        margin-bottom: 8px;
      }
      .my-progress-fill {
        height: 100%;
        background: var(--mc-accent);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        width: 0%;
        transition: width 0.4s;
      }

      /* -- Compare Analysis (탭2: 비교 분석) -- */
      .my-compare-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 14px;
        align-items: end;
        margin-bottom: 16px;
        padding: 16px 18px;
        background: var(--mc-surface);
        border-radius: 10px;
        border: 1px solid var(--mc-border);
        box-shadow: var(--mc-shadow-sm);
      }
      .my-compare-col label {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--mc-text-2);
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
      }
      .my-compare-col select {
        width: 100%;
        height: 38px;
        border-radius: 8px;
        border: 1px solid var(--mc-border);
        background: var(--mc-surface-2);
        color: var(--mc-text);
        font-size: 0.85rem;
        padding: 0 10px;
      }
      .my-compare-vs {
        font-size: 18px;
        font-weight: 800;
        color: var(--mc-accent);
        text-align: center;
        padding-bottom: 6px;
      }
      .my-compare-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 38px;
        padding: 0 28px;
        border-radius: 8px;
        border: none;
        background: var(--mc-accent);
        color: #fff;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 14px;
        box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
        transition: all 0.15s;
      }
      .my-compare-btn:hover {
        background: var(--mc-accent-hover);
        box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
      }
      .my-compare-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        box-shadow: none;
      }

      .my-compare-display {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 14px;
      }
      .my-compare-ch {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px;
        background: var(--mc-surface-2);
        border-radius: 8px;
        border: 1px solid var(--mc-border);
        box-shadow: var(--mc-shadow-sm);
      }
      .my-compare-ch img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
      }
      .my-compare-ch-name {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--mc-text);
      }
      .my-compare-ch-meta {
        font-size: 0.75rem;
        color: var(--mc-text-3);
      }

      /* Stat cards (comparison results) */
      .my-stat-card {
        background: var(--mc-surface);
        border: 1px solid var(--mc-border);
        border-radius: 10px;
        padding: 16px;
        box-shadow: var(--mc-shadow-sm), var(--mc-card-glow);
        display: flex;
        flex-direction: column;
      }
      .my-stat-card h4 {
        margin: 0 0 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--mc-border);
      }

      /* Compare report right column */
      .my-compare-right .accordion-section {
        position: relative;
      }
      .my-compare-right .accordion-section::after {
        content: "";
        display: block;
        width: 80%;
        height: 1px;
        background: var(--mc-border);
        opacity: 0.4;
        margin: 4px auto 0;
      }
      .my-compare-right .accordion-section:last-child::after {
        display: none;
      }
      .my-compare-right .accordion-content p {
        font-size: 0.84rem !important;
        line-height: 1.65 !important;
        margin-bottom: 6px !important;
      }
      .my-compare-right .accordion-content table {
        font-size: 0.84rem !important;
      }
      .my-compare-right .accordion-content th,
      .my-compare-right .accordion-content td {
        padding: 8px 10px !important;
        font-size: 0.84rem !important;
      }

      /* Compare 6:4 grid layout */
      .my-compare-grid {
        display: grid;
        grid-template-columns: 6fr 4fr;
        gap: 16px;
        align-items: start;
      }
      .my-compare-grid .my-compare-left {
        min-width: 0;
      }
      .my-compare-grid .my-compare-right {
        min-width: 0;
      }
      .my-compare-grid .my-compare-right > div {
        overflow-y: auto;
      }
      .my-compare-grid .my-compare-right > div::-webkit-scrollbar {
        width: 4px;
      }
      .my-compare-grid .my-compare-right > div::-webkit-scrollbar-thumb {
        background: var(--mc-border);
        border-radius: 2px;
      }
      @media (max-width: 1600px) {
        .my-compare-grid {
          grid-template-columns: 1fr;
          align-items: start;
        }
        .my-compare-grid .my-compare-right > div {
          max-height: none;
        }
      }

      /* Accordion */
      .my-accordion {
        border: 1px solid var(--mc-border);
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 10px;
        box-shadow: var(--mc-shadow-sm);
      }
      .my-accordion-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: var(--mc-surface-2);
        cursor: pointer;
        user-select: none;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--mc-text);
      }
      .my-accordion-header:hover {
        background: var(--mc-surface-3);
      }
      .my-accordion-header svg {
        width: 16px;
        height: 16px;
        transition: transform 0.2s;
        color: var(--mc-text-3);
      }
      .my-accordion.open .my-accordion-header svg {
        transform: rotate(180deg);
      }
      .my-accordion-body {
        display: none;
        padding: 14px 16px;
        background: var(--mc-surface);
      }
      .my-accordion.open .my-accordion-body {
        display: block;
      }

      .my-metric-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 0;
        border-bottom: 1px solid var(--mc-border);
        font-size: 12px;
      }
      .my-metric-row:last-child {
        border-bottom: none;
      }
      .my-metric-name {
        color: var(--mc-text-2);
      }
      .my-metric-val {
        font-weight: 600;
      }
      .my-metric-val.superior {
        color: var(--mc-green);
      }
      .my-metric-val.inferior {
        color: var(--mc-accent);
      }

      /* -- Period buttons (shared) -- */
      .my-period-btns {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
      }
      .my-period-btn {
        padding: 10px 18px;
        border-radius: 14px;
        border: 1px solid var(--mc-border);
        background: var(--mc-surface-2);
        color: var(--mc-text-2);
        font-size: 0.82rem;
        cursor: pointer;
        transition: all 0.15s;
        box-shadow: var(--mc-shadow-sm);
      }
      .my-period-btn:hover {
        border-color: var(--mc-text-3);
        background: var(--mc-surface-3);
        box-shadow: var(--mc-shadow-md);
      }
      .my-period-btn.active {
        background: var(--mc-accent);
        color: #fff;
        font-weight: 600;
        border-color: var(--mc-accent);
        box-shadow: 0 2px 6px rgba(229, 62, 62, 0.3);
      }

      /* -- Goal Setting (목표 설정) -- */

      .my-stats-grid {
        margin-bottom: 14px;
      }
      .my-goal-cards {
        margin-bottom: 0;
      }
      .my-goal-create-btn {
        display: inline-block;
        padding: 10px 24px;
        border-radius: 6px;
        border: none;
        background: var(--mc-accent);
        color: #fff;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.15s;
        box-shadow: var(--mc-shadow-sm);
      }
      .my-goal-create-btn:hover {
        opacity: 0.85;
      }
      .my-goal-create-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      /* -- Execution Tracking (목표 실행) -- */
      .my-exec-summary {
        padding: 18px;
        background: var(--mc-surface);
        border: 1px solid var(--mc-border);
        border-radius: 10px;
        margin-bottom: 16px;
        box-shadow: var(--mc-shadow-md);
      }

      .my-exec-goals {
        margin-bottom: 16px;
      }
      .my-exec-goal {
        padding: 16px;
        background: var(--mc-surface);
        border: none;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
      }
      .my-exec-goal::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #3b82f6, #60a5fa);
      }
      .my-exec-goal:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
      }
      body.dark-theme .my-exec-goal {
        background: var(--mc-surface-2);
        border: 1px solid var(--mc-border);
        box-shadow: none;
      }
      body.dark-theme .my-exec-goal::before {
        background: linear-gradient(90deg, #ef4444, #f97316) !important;
      }
      body.dark-theme .my-exec-goal:hover {
        border-color: rgba(255, 255, 255, 0.25);
      }

      /* Exec detail cards */
      .my-exec-detail-card {
        position: relative;
        overflow: hidden;
      }
      .my-exec-detail-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #3b82f6, #60a5fa);
      }
      body.dark-theme .my-exec-detail-card::before {
        background: linear-gradient(90deg, #ef4444, #f97316) !important;
      }

      /* Exec progress bar with shimmer */
      .my-exec-progress-bar {
        width: 100%;
        height: 8px;
        background: #e2e8f0;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
      }
      body.dark-theme .my-exec-progress-bar {
        background: #333;
      }
      .my-exec-progress-fill {
        height: 100%;
        border-radius: 8px;
        background: linear-gradient(90deg, #3b82f6, #2563eb);
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
      }
      body.dark-theme .my-exec-progress-fill {
        background: linear-gradient(90deg, #dc2626, #ef4444) !important;
      }
      .my-exec-progress-fill::after {
        content: "";
        position: absolute;
        top: 0;
        left: -300%;
        width: 300%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent 0%,
          rgba(255, 255, 255, 0.25) 50%,
          transparent 100%
        );
        animation: mc-shimmer 5s ease-in-out infinite;
        opacity: 0;
      }
      @keyframes mc-shimmer {
        0% {
          left: -300%;
          opacity: 0;
        }
        15% {
          opacity: 1;
        }
        85% {
          opacity: 1;
        }
        100% {
          left: 200%;
          opacity: 0;
        }
      }

      /* Exec rate gradient text */
      .my-exec-rate {
        font-size: 1.3rem;
        font-weight: 800;
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
      body.dark-theme .my-exec-rate {
        background: linear-gradient(135deg, #ef4444, #f97316);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      /* Exec card value footer */
      .my-exec-values {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
        padding: 6px 10px;
        background: var(--mc-surface-2);
        border-radius: 6px;
      }
      .my-exec-values span:first-child {
        font-weight: 600;
        color: var(--mc-text);
      }
      .my-exec-values span:last-child {
        color: var(--mc-text-2);
      }

      /* Exec grid responsive */
      .my-exec-compact-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
      }
      .my-exec-detail-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
      }
      @media (max-width: 1600px) {
        .my-exec-compact-grid,
        .my-exec-detail-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      @media (max-width: 768px) {
        .my-exec-compact-grid,
        .my-exec-detail-grid {
          grid-template-columns: 1fr;
        }
      }

      .my-exec-empty {
        text-align: center;
        padding: 50px 30px;
        background: var(--mc-surface);
        border: 1px dashed var(--mc-border);
        border-radius: 10px;
        box-shadow: var(--mc-shadow-sm);
      }
      .my-exec-empty .title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--mc-text);
        margin-bottom: 10px;
      }
      .my-exec-empty .desc {
        font-size: 0.85rem;
        color: var(--mc-text-3);
        margin-bottom: 20px;
      }
      .my-exec-empty button {
        height: 38px;
        padding: 0 20px;
        border-radius: 8px;
        border: none;
        background: var(--mc-accent);
        color: #fff;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        box-shadow: var(--mc-shadow-sm);
      }

      .my-calendar {
        margin-bottom: 16px;
      }

      .my-actions-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .my-action-item {
        padding: 14px 16px;
        background: var(--mc-surface);
        border: 1px solid var(--mc-border);
        border-radius: 8px;
        font-size: 0.85rem;
        box-shadow: var(--mc-shadow-sm);
        transition: box-shadow 0.15s;
      }
      .my-action-item:hover {
        box-shadow: var(--mc-shadow-md);
      }

      .my-section-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--mc-text);
        margin: 20px 0 12px 0;
        display: flex;
        align-items: center;
        gap: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--mc-border);
      }
      .my-section-title .badge {
        font-size: 0.75rem;
        padding: 2px 8px;
        border-radius: 10px;
        background: var(--mc-accent);
        color: #fff;
        font-weight: 600;
      }

      /* -- Goals enhanced layout -- */
      .my-goals-layout {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 18px;
        padding: 16px;
        background: var(--mc-backboard);
        border-radius: 12px;
        border: 1px solid var(--mc-border);
        align-items: stretch;
      }
      .my-goals-layout > * {
        min-width: 0;
      }
      @media (max-width: 1600px) {
        .my-goals-layout {
          grid-template-columns: 1fr;
        }
      }
      .my-inner-card {
        background: var(--mc-surface);
        border: 1px solid var(--mc-border);
        border-radius: 10px;
        padding: 14px 20px;
        box-shadow: var(--mc-shadow-md), var(--mc-card-glow);
        display: flex;
        flex-direction: column;
      }
      .my-card-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--mc-text-2);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--mc-border);
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .my-card-title .sub-info {
        font-weight: 400;
        font-size: 0.75rem;
        color: var(--mc-text-3);
        text-transform: none;
        letter-spacing: 0;
      }
      .my-field-label {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--mc-text-2);
        margin-bottom: 8px;
      }
      .my-field-label .sub {
        font-weight: 400;
        font-size: 0.75rem;
        color: var(--mc-text-3);
      }
      .my-stat-note {
        font-size: 0.75rem;
        color: var(--mc-text-3);
        margin: 2px 0 10px;
      }
      .my-intensity-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 16px;
        border: 1px solid var(--mc-border);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--mc-shadow-sm);
      }
      .my-intensity-btn {
        padding: 34px 10px;
        border: none;
        border-right: 2px solid rgba(255, 255, 255, 0.08);
        border-bottom: 2px solid rgba(255, 255, 255, 0.08);
        background: var(--mc-surface-2);
        color: var(--mc-text-2);
        cursor: pointer;
        text-align: center;
        transition: all 0.15s;
        font-size: 0.88rem;
        font-weight: 600;
        border-radius: 0;
      }
      .my-intensity-btn:nth-child(3) {
        border-right: none;
      }
      .my-intensity-btn:nth-child(n + 4) {
        border-bottom: none;
      }
      .my-intensity-btn:nth-child(6) {
        border-right: none;
      }
      body:not(.dark-theme) .my-intensity-btn {
        border-right-color: rgba(0, 0, 0, 0.1);
        border-bottom-color: rgba(0, 0, 0, 0.1);
      }
      .my-intensity-btn:hover {
        background: var(--mc-surface-3);
        color: var(--mc-text);
      }
      .my-intensity-btn.active {
        background: var(--mc-accent);
        color: #fff;
      }
      .my-intensity-btn .sub {
        font-size: 0.75rem;
        font-weight: 400;
        opacity: 0.6;
        margin-top: 3px;
      }
      .my-goal-exists-msg {
        padding: 30px 24px;
        text-align: center;
        background: var(--mc-surface-2);
        border-radius: 10px;
        border: 1px solid var(--mc-border);
        box-shadow: var(--mc-shadow-sm);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
      }

      /* -- All-time stats & Best videos: rendered with inline styles by JS -- */

      