.mypage-wrap { display: flex; max-width: 1100px; margin: 40px auto; padding: 0 32px; gap: 28px; min-height: calc(100vh - 160px); }
.my-sidebar { width: 220px; flex-shrink: 0; }
.my-profile { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 12px; }
.my-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--text-primary); color: #fff; font-size: 31.2px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.my-name { font-size: 24px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.my-email { font-size: 19.2px; color: var(--text-hint); }
.my-nav-panel,
.my-nav-logout-panel {
  background: #f9fafb;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 6px;
}
.my-sidebar-menus {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  text-align: left;
}
.my-nav { display: flex; flex-direction: column; gap: 2px; }
.my-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 11px 12px;
  font-size: 15.6px;
  color: var(--text-muted);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.my-nav-item:hover { background: #fff; color: var(--text-primary); }
.my-nav-item.active { color: #5c67f2; font-weight: 600; background: #fff; box-shadow: 0 0 0 1px #e8ecff; }
.my-nav-item .ti { font-size: 19.2px; flex-shrink: 0; width: 20px; text-align: center; }
.my-nav-item--logout {
  background: #e53935;
  color: #fff !important;
  justify-content: center;
  font-weight: 600;
}
.my-nav-item--logout:hover { background: #c62828; color: #fff !important; }

.my-main { flex: 1; }
.my-page-title { font-size: 34.8px; font-weight: 600; color: var(--text-primary); margin-bottom: 24px; }
.my-course-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.my-course-card { background: #fff; border: 0.5px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; display: block; }
.my-course-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mc-thumb { font-size: 56.4px; }
.mc-thumb.thumb-light { background: linear-gradient(135deg,var(--bg-muted) 0%,var(--border) 100%); }
.mc-thumb.thumb-light .ti { color: var(--text-hint); }
.mc-thumb.thumb-dark { background: linear-gradient(135deg,var(--text-primary) 0%,#2a2a2a 100%); }
.mc-thumb.thumb-dark .ti { color: rgba(255,255,255,0.3); }
.mc-done { position: absolute; top: 8px; right: 8px; background: var(--success); color: #fff; font-size: 16.8px; font-weight: 500; padding: 3px 8px; border-radius: 4px; display: flex; align-items: center; gap: 4px; }
.mc-body { padding: 14px 16px; }
.mc-cat { font-size: 16.8px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.mc-title { font-size: 21.6px; font-weight: 500; color: var(--text-secondary); line-height: 1.4; margin-bottom: 12px; }
.mc-progress-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.mc-bar-wrap { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.mc-bar { height: 100%; background: var(--text-primary); border-radius: 3px; transition: width 0.3s; }
.mc-pct { font-size: 19.2px; font-weight: 500; color: var(--text-secondary); width: 32px; text-align: right; }
.mc-meta { font-size: 19.2px; color: var(--text-hint); }

/* 쿠폰 — 티켓형 */
.coupon-list { display: flex; flex-direction: column; gap: 14px; }
.coupon-ticket {
  --coupon-page-bg: #f5f6fa;
  --coupon-stub-w: 152px;
  --coupon-notch: 11px;
  display: flex;
  align-items: stretch;
  position: relative;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e3e6ec;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.coupon-ticket::before,
.coupon-ticket::after {
  content: '';
  position: absolute;
  right: calc(var(--coupon-stub-w) - var(--coupon-notch));
  width: calc(var(--coupon-notch) * 2);
  height: calc(var(--coupon-notch) * 2);
  border-radius: 50%;
  background: var(--coupon-page-bg);
  z-index: 2;
}
.coupon-ticket::before { top: calc(var(--coupon-notch) * -1); }
.coupon-ticket::after { bottom: calc(var(--coupon-notch) * -1); }
.coupon-ticket--used,
.coupon-ticket--expired { opacity: 0.52; filter: grayscale(0.2); }
.coupon-ticket__main {
  flex: 1;
  min-width: 0;
  padding: 18px 20px 18px 24px;
  position: relative;
}
.coupon-ticket__main::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #111 0%, #444 100%);
}
.coupon-ticket__tear {
  flex-shrink: 0;
  width: 0;
  border-left: 2px dashed #d1d5db;
  margin: 16px 0;
}
.coupon-ticket__stub {
  flex-shrink: 0;
  width: var(--coupon-stub-w);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
}
.coupon-amount { font-size: 22px; font-weight: 900; color: var(--text-primary); line-height: 1.25; }
.coupon-reason { font-size: 14px; color: var(--text-hint); margin-top: 6px; line-height: 1.5; }
.coupon-code {
  font-size: 13px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  word-break: break-all;
}
.coupon-status { font-size: 13px; font-weight: 700; }
.coupon-status.available { color: var(--text-primary); }
.coupon-status.used,
.coupon-status.expired { color: var(--text-hint); }

/* 계정 설정 */
.settings-card { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; padding: 20px 24px; }
.settings-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.settings-label { font-size: 24px; font-weight: 500; color: var(--text-secondary); }
.settings-desc { font-size: 20.4px; color: var(--text-hint); margin-top: 3px; }
.btn-settings-action { padding: 8px 14px; background: #fff; border: 0.5px solid var(--border); border-radius: 8px; font-size: 20.4px; color: var(--error); cursor: pointer; white-space: nowrap; }
.btn-settings-action:hover { background: #fff5f5; }

/* Migrated inline mypage styles */
body { background:#f5f6fa; }
    .mypage-wrap { max-width:1060px; margin:0 auto; padding:32px 20px 80px; display:grid; grid-template-columns:220px 1fr; gap:24px; align-items:start; }

    /* 사이드바 */
    .my-sidebar { background:#fff; border:1px solid #eee; border-radius:14px; padding:24px; position:sticky; top:80px; text-align:center; }
    .my-avatar { width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg,#5c67f2,#7b84ff); color:#fff; font-size: 26.4px; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
    .my-name { font-size: 19.2px; font-weight:800; margin-bottom:4px; }
    .my-email { font-size: 14.4px; color:#aaa; margin-bottom:6px; }
    .my-role-badges { display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-bottom:20px; }
    .my-role {
      position: relative;
      font-size: 12px;
      font-weight: 800;
      padding: 5px 16px;
      letter-spacing: 0.03em;
      display: inline-block;
      border-radius: 4px;
      line-height: 1.35;
    }
    .my-role::before,
    .my-role::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 7px;
      height: 7px;
      background: #fff;
      border-radius: 50%;
      transform: translateY(-50%);
      box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    }
    .my-role::before { left: -3.5px; }
    .my-role::after { right: -3.5px; }
    .my-role.admin {
      background: linear-gradient(145deg, #f3d875 0%, #d4a017 38%, #b8860b 62%, #e8c84a 100%);
      color: #3d2e00;
      border: 1px solid #a67c00;
      box-shadow: 0 1px 5px rgba(168, 124, 0, 0.35);
    }
    .my-role.student {
      background: #111;
      color: #fff;
      border: 1px solid #222;
    }
    .my-role.editor { background:#f0f2ff; color:#5c67f2; border:1px solid #d8dcff; }
    .my-role.client { background:#fff4e8; color:#c96a1a; border:1px solid #f0dcc8; }
    .my-nav-panel,
    .my-nav-logout-panel {
      background: #f9fafb;
      border: 1px solid #eee;
      border-radius: 12px;
      padding: 6px;
    }
    .my-sidebar-menus {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 4px;
      text-align: left;
    }
    .my-nav { display:flex; flex-direction:column; gap:2px; }
    .my-nav-item {
      display:flex;
      align-items:center;
      justify-content:flex-start;
      gap:10px;
      padding:11px 12px;
      border-radius:8px;
      font-size:15.6px;
      font-weight:600;
      color:#555;
      cursor:pointer;
      transition:.15s;
      text-decoration:none;
      text-align:left;
      width:100%;
      box-sizing:border-box;
    }
    .my-nav-item:hover { background:#fff; color:#1a1a1a; }
    .my-nav-item.active { background:#fff; color:#5c67f2; box-shadow:0 0 0 1px #e8ecff; }
    .my-nav-item i { font-size:19.2px; flex-shrink:0; width:20px; text-align:center; }
    .my-nav-item--logout {
      background:#e53935;
      color:#fff !important;
      justify-content:center;
    }
    .my-nav-item--logout:hover { background:#c62828; color:#fff !important; }

    /* 메인 */
    .my-main { min-width:0; }
    .my-section { display:none; }
    .my-section.active { display:block; }
    .section-title { font-size: 24px; font-weight:900; margin-bottom:20px; }

    /* 강의 카드 */
    .my-course-grid { display:grid; grid-template-columns:1fr; gap:16px; }
    .my-course-card { background:#fff; border:1px solid #eee; border-radius:12px; overflow:hidden; text-decoration:none; transition:.2s; }
    .my-course-card:hover { box-shadow:0 6px 20px rgba(0,0,0,.08); transform:translateY(-2px); }
    .mc-thumb { font-size: 43.2px; }
    .mc-thumb.thumb-dark { background:linear-gradient(135deg,#111827,#1e2d4a); color:#fff; }
    .mc-thumb.thumb-light { background:linear-gradient(135deg,#f5f5f5,#eeeeee); color:#111111; }
    .mc-done { position:absolute; bottom:8px; right:8px; background:#333333; color:#fff; font-size: 12px; font-weight:700; padding:2px 8px; border-radius:10px; display:flex; align-items:center; gap:4px; }
    /* 내 강의 썸네일 딱지 — 유형 뱃지는 축소, Meet는 2배·우측 */
    .my-course-card .mc-thumb-badge {
      transform: scale(0.25);
      transform-origin: top left;
      z-index: 2;
    }
    .my-course-card .mc-live-badge.mc-thumb-badge {
      left: auto;
      right: 8px;
      top: 8px;
      transform: scale(0.5);
      transform-origin: top right;
    }
    .my-course-card .mc-type-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      font-size: 16.8px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      line-height: 1.1;
      white-space: nowrap;
    }
    .my-course-card .mc-type-badge--vod { background: #f5f5f5; color: #555; border: 1px solid #e8e8e8; }
    .my-course-card .mc-type-badge--stream { background: #ffebee; color: #e53935; border: 1px solid #ffcdd2; }
    .my-course-card .mc-type-badge--offline { background: var(--badge-offline); color: #fff; }
    .my-course-card .mc-promo-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      font-size: 16.8px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      line-height: 1.1;
      color: #fff;
    }
    .my-course-card .mc-promo-badge--new { background: var(--badge-new); }
    .my-course-card .mc-promo-badge--best { background: var(--badge-best); }
    .my-course-card .mc-promo-badge--free { background: var(--badge-free); }
    .mc-body { padding:12px; }
    .mc-cat { font-size: 13.2px; color:#111111; font-weight:700; margin-bottom:4px; }
    .mc-title { font-size: 15.6px; font-weight:700; color:#1a1a1a; margin-bottom:10px; line-height:1.4; }
    .mc-progress-row { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
    .mc-bar-wrap { flex:1; height:4px; background:#eee; border-radius:2px; }
    .mc-bar { height:4px; background:#111111; border-radius:2px; transition:.3s; }
    .mc-pct { font-size: 13.2px; font-weight:700; color:#111111; }
    .mc-meta { font-size: 13.2px; color:#aaa; }
    .my-course-card--wrap { display:flex; flex-direction:column; }
    .my-course-card--wrap .mc-link { text-decoration:none; color:inherit; flex:1; display:block; }
    .my-course-card--review-layout {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
      align-items: stretch;
    }
    .my-course-card--review-layout:hover { transform: translateY(-3px); }
    .mc-course-main {
      display: flex;
      flex-direction: column;
      min-width: 0;
      border-right: 1px solid #f0f0f0;
    }
    .mc-review-panel {
      background: #fafafa;
      padding: 16px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .mc-live-actions { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
    .mc-live-actions .btn-meet { margin: 0; }
    .mc-actions { padding:0 12px 12px; display:flex; gap:8px; flex-wrap:wrap; }
    .mc-actions--live {
      flex-direction: column;
      flex-wrap: nowrap;
      gap: 10px;
    }
    .mc-actions--live .live-extra-actions { display: contents; }
    .mc-cancel-btn {
      flex:1; min-width:0; padding:8px 10px; border-radius:8px; border:1px solid #e8e8e8;
      background:#fff; color:#666; font-size:13px; font-weight:700; cursor:pointer;
    }
    .mc-cancel-btn:hover { background:#f5f5f5; border-color:#dddddd; color:#111111; }
    .mc-cancel-btn:disabled { opacity:.45; cursor:not-allowed; background:#fafafa; color:#aaa; }
    .mc-cancel-hint { font-size:12px; color:#aaa; padding:0 12px 12px; line-height:1.5; }
    .proj-list { display:flex; flex-direction:column; gap:12px; }
    .proj-card { background:#fff; border:1px solid #eee; border-radius:12px; padding:18px 20px; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:.15s; }
    .proj-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.07); }
    .pc-left { flex:1; min-width:0; }
    .pc-cat { font-size: 13.2px; font-weight:700; color:#111111; background:#f5f5f5; padding:2px 8px; border-radius:10px; display:inline-block; margin-bottom:6px; }
    .pc-title { font-size: 18px; font-weight:800; color:#1a1a1a; margin-bottom:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .pc-meta { font-size: 14.4px; color:#aaa; }
    .pc-right { display:flex; flex-direction:column; align-items:flex-end; gap:6px; flex-shrink:0; }
    .status-badge { font-size: 13.2px; font-weight:700; padding:3px 10px; border-radius:10px; }
    .status-badge.open { background:#f5f5f5; color:#333333; }
    .status-badge.matched { background:#fff8e8; color:#d4991a; }
    .status-badge.contract, .status-badge.in_progress { background:#f5f5f5; color:#111111; }
    .status-badge.delivered { background:#fff0e8; color:#e06030; }
    .status-badge.completed { background:#f0f0f0; color:#888; }
    .status-badge.cancelled { background:#fff0f0; color:#111111; }
    .pc-btn { font-size: 14.4px; font-weight:700; padding:6px 14px; border-radius:7px; text-decoration:none; border:none; cursor:pointer; }
    .pc-btn.primary { background:#111111; color:#fff; }
    .pc-btn.secondary { background:#f0f0f0; color:#555; }

    /* 견적 카드 */
    .quote-list { display:flex; flex-direction:column; gap:12px; }
    .quote-card { background:#fff; border:1px solid #eee; border-radius:12px; padding:18px 20px; }
    .qc-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:8px; }
    .qc-project { font-size: 15.6px; font-weight:700; color:#1a1a1a; }
    .qc-amount { font-size: 19.2px; font-weight:900; color:#111111; }
    .qc-msg { font-size: 15.6px; color:#666; line-height:1.6; margin-bottom:10px; }
    .qc-bottom { display:flex; justify-content:space-between; align-items:center; }
    .qc-meta { font-size: 14.4px; color:#aaa; }
    .qs-badge { font-size: 13.2px; font-weight:700; padding:3px 10px; border-radius:10px; }
    .qs-badge.pending { background:#f5f5f5; color:#111111; }
    .qs-badge.accepted { background:#f5f5f5; color:#333333; }
    .qs-badge.rejected { background:#f0f0f0; color:#aaa; }

    /* 쿠폰 — 영화제 티켓 스타일 */
    .coupon-list { display:flex; flex-direction:column; gap:18px; }
    .coupon-ticket {
      --ct-bg:    #141428;
      --ct-bg2:   #1e1e3c;
      --ct-color: #e8c96a;
      --ct-hole:  #f5f6fa;
      --stub-w:   156px;
      --notch:    11px;
      display:flex; align-items:stretch; position:relative;
      border-radius:14px;
      background:linear-gradient(135deg, var(--ct-bg) 0%, var(--ct-bg2) 100%);
      box-shadow:0 8px 32px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.18);
      overflow:hidden; color:#fff;
    }
    /* 쿠폰 유형별 컬러 */
    .coupon-ticket--anticipation  { --ct-bg:#12122a; --ct-bg2:#1e1e46; --ct-color:#ffd166; }
    .coupon-ticket--review5       { --ct-bg:#2a0e20; --ct-bg2:#3d1530; --ct-color:#ff8ab4; }
    .coupon-ticket--client-reward { --ct-bg:#0a2218; --ct-bg2:#14342a; --ct-color:#4ecb71; }
    .coupon-ticket--editor        { --ct-bg:#1c0a2e; --ct-bg2:#2a1248; --ct-color:#c084fc; }
    .coupon-ticket--marketing     { --ct-bg:#1c140a; --ct-bg2:#2e2010; --ct-color:#f59e0b; }
    /* 반치형 노치 */
    .coupon-ticket::before,
    .coupon-ticket::after {
      content:''; position:absolute;
      right:calc(var(--stub-w) - var(--notch));
      width:calc(var(--notch) * 2); height:calc(var(--notch) * 2);
      border-radius:50%; background:var(--ct-hole); z-index:3;
    }
    .coupon-ticket::before { top:calc(var(--notch) * -1); }
    .coupon-ticket::after  { bottom:calc(var(--notch) * -1); }
    /* 사용·만료 */
    .coupon-ticket--used,
    .coupon-ticket--expired { opacity:.42; filter:grayscale(.55); }
    /* 메인 영역 */
    .coupon-ticket__main {
      flex:1; min-width:0; padding:20px 18px 20px 14px; position:relative; overflow:hidden;
    }
    /* 필름 천공 — 왼쪽 세로 */
    .coupon-ticket__main::before {
      content:''; position:absolute; left:0; top:0; bottom:0; width:22px;
      background:repeating-linear-gradient(
        180deg,
        transparent 0, transparent 5px,
        rgba(255,255,255,.11) 5px, rgba(255,255,255,.11) 13px,
        transparent 13px, transparent 18px
      );
    }
    /* 우측 흐릿한 원형 워터마크 */
    .coupon-ticket__main::after {
      content:''; position:absolute;
      right:-50px; top:50%; transform:translateY(-50%);
      width:160px; height:160px; border-radius:50%;
      border:36px solid rgba(255,255,255,.04);
    }
    .coupon-ticket__badge {
      display:inline-block; font-size:9px; font-weight:700;
      letter-spacing:.14em; text-transform:uppercase;
      color:var(--ct-color); opacity:.8;
      margin-bottom:6px; padding-left:26px;
    }
    .coupon-amount {
      font-size:30px; font-weight:900; color:var(--ct-color);
      line-height:1.1; letter-spacing:-.02em; padding-left:26px;
    }
    .coupon-reason {
      font-size:13px; color:rgba(255,255,255,.5);
      margin-top:7px; line-height:1.5; padding-left:26px;
    }
    .coupon-until {
      font-size:11px; color:rgba(255,255,255,.3);
      margin-top:5px; padding-left:26px;
    }
    .coupon-usage {
      font-size:11px; color:rgba(255,255,255,.3);
      margin-top:7px; line-height:1.5; padding-left:26px;
    }
    /* 뜯는 선 */
    .coupon-ticket__tear {
      flex-shrink:0; width:0;
      border-left:2px dashed rgba(255,255,255,.18);
      margin:14px 0; position:relative; z-index:1;
    }
    /* 스텁 */
    .coupon-ticket__stub {
      flex-shrink:0; width:var(--stub-w);
      padding:16px 14px;
      display:flex; flex-direction:column; align-items:center;
      justify-content:center; text-align:center; gap:9px;
      background:rgba(0,0,0,.22);
    }
    .coupon-code {
      font-size:12px; font-weight:700;
      font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
      color:var(--ct-color); letter-spacing:.1em; word-break:break-all;
      background:rgba(255,255,255,.07); padding:7px 10px;
      border-radius:6px; border:1px solid rgba(255,255,255,.1); width:100%;
    }
    .coupon-status {
      font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
      padding:4px 12px; border-radius:20px;
    }
    .coupon-status.available {
      background:rgba(255,255,255,.1); color:#fff;
      border:1px solid rgba(255,255,255,.22);
    }
    .coupon-status.used,
    .coupon-status.expired {
      background:rgba(255,255,255,.04); color:rgba(255,255,255,.28);
      border:1px solid rgba(255,255,255,.08);
    }
    .coupon-ticket__stub .btn-settings-action {
      background:var(--ct-color); color:#000; border:none;
      border-radius:7px; font-size:12px; font-weight:700;
      padding:7px 12px; width:100%; max-width:130px; cursor:pointer; margin-top:2px;
    }
    @media (max-width:560px) {
      .coupon-ticket { flex-direction:column; --stub-w:100%; }
      .coupon-ticket::before, .coupon-ticket::after { display:none; }
      .coupon-ticket__tear {
        width:auto; height:0; border-left:none;
        border-top:2px dashed rgba(255,255,255,.18); margin:0 16px;
      }
      .coupon-ticket__stub { width:100%; flex-direction:row; flex-wrap:wrap; justify-content:space-between; }
    }

    /* 설정 */
    .settings-card { background:#fff; border:1px solid #eee; border-radius:12px; padding:20px; }
    .settings-row { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
    .settings-label { font-size: 16.8px; font-weight:700; margin-bottom:4px; }
    .settings-desc { font-size: 14.4px; color:#aaa; line-height:1.6; }
    .btn-settings-action { padding:8px 16px; border:1.5px solid #111111; color:#111111; background:#fff; border-radius:8px; font-size: 15.6px; font-weight:700; cursor:pointer; }
    .btn-settings-action:hover { background:#f5f5f5; }

    /* 프로필 수정 */
    .profile-form-card { background:#fff; border:1px solid #eee; border-radius:12px; padding:24px; margin-bottom:16px; }
    .profile-photo-row { display:flex; align-items:center; gap:20px; margin-bottom:24px; flex-wrap:wrap; }
    .profile-photo-preview { width:88px; height:88px; border-radius:50%; background:linear-gradient(135deg,#111111,#333333); color:#fff; font-size:36px; font-weight:800; display:flex; align-items:center; justify-content:center; overflow:hidden; flex-shrink:0; }
    .profile-photo-preview img { width:100%; height:100%; object-fit:cover; }
    .profile-photo-actions { display:flex; flex-direction:column; gap:8px; }
    .profile-photo-actions label { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; background:#f5f6fa; border:1px solid #ddd; border-radius:8px; font-size:14.4px; font-weight:600; color:#555; cursor:pointer; width:fit-content; }
    .profile-photo-actions label:hover { background:#eef0f5; }
    .profile-photo-actions input[type=file] { display:none; }
    .btn-photo-remove { background:none; border:none; color:#aaa; font-size:13.2px; cursor:pointer; text-align:left; padding:0; }
    .btn-photo-remove:hover { color:#111111; }
    .pf-field { margin-bottom:18px; }
    .pf-field label { display:block; font-size:15.6px; font-weight:700; color:#333; margin-bottom:8px; }
    .pf-field .pf-hint { font-size:13.2px; font-weight:400; color:#aaa; margin-left:6px; }
    .pf-field input, .pf-field textarea, .pf-field select { width:100%; padding:11px 14px; border:1px solid #e5e5e5; border-radius:8px; font-size:15.6px; font-family:inherit; color:#1a1a1a; box-sizing:border-box; }
    .pf-field textarea { min-height:110px; resize:vertical; line-height:1.6; }
    .pf-char-count { text-align:right; font-size:13.2px; color:#aaa; margin-top:4px; }
    .link-list { display:flex; flex-direction:column; gap:10px; margin-bottom:10px; }
    .link-row { display:grid; grid-template-columns:120px 1fr auto; gap:8px; align-items:center; }
    .link-row input, .link-row select { padding:9px 12px; border:1px solid #e5e5e5; border-radius:8px; font-size:14.4px; }
    .btn-link-remove { background:none; border:none; color:#ccc; font-size:20px; cursor:pointer; padding:4px; line-height:1; }
    .btn-link-remove:hover { color:#111111; }
    .btn-add-link { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; background:#fff; border:1.5px dashed #ccc; border-radius:8px; font-size:14.4px; font-weight:600; color:#666; cursor:pointer; }
    .btn-add-link:hover { border-color:#111111; color:#111111; }
    .btn-save-profile { width:100%; padding:14px; background:#1a1a1a; color:#fff; border:none; border-radius:10px; font-size:16.8px; font-weight:700; cursor:pointer; margin-top:8px; }
    .btn-save-profile:hover { background:#333; }
    .btn-save-profile:disabled { background:#ccc; cursor:not-allowed; }
    .featured-banner { background:linear-gradient(135deg,#fff8f0,#f5f5f5); border:1px solid #ffd8a8; border-radius:12px; padding:16px 18px; margin-bottom:16px; }
    .featured-banner.active { background:linear-gradient(135deg,#f5f5f5,#eeeeee); border-color:#c5ceff; }
    .featured-banner h4 { font-size:16.8px; font-weight:800; margin-bottom:6px; color:#1a1a1a; }
    .featured-banner p { font-size:14.4px; color:#666; line-height:1.6; margin:0; }
    .settings-divider { border:none; border-top:1px solid #eee; margin:24px 0; }
    .my-avatar.has-photo { background:#eee; padding:0; }
    .my-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
    .mc-review { padding: 0 16px 14px; border-top: 1px solid #f0f0f0; margin-top: -4px; }
    .mc-review-panel .mc-review { padding: 0; margin: 0; border-top: 0; }
    .mc-review summary { cursor: pointer; font-size: 13.2px; font-weight: 700; color: #333; padding: 12px 0 8px; list-style: none; }
    .mc-review-panel .mc-review summary { padding-top: 0; font-size: 14px; }
    .mc-review summary::-webkit-details-marker { display: none; }
    .mc-review-stars { display: flex; gap: 4px; margin-bottom: 8px; }
    .mc-review-star { border: none; background: none; font-size: 22px; color: #ddd; cursor: pointer; padding: 0; line-height: 1; }
    .mc-review-star.on { color: #f5a623; }
    .mc-review textarea { width: 100%; min-height: 72px; border: 1px solid #eee; border-radius: 8px; padding: 10px; font-size: 13px; resize: vertical; box-sizing: border-box; }
    .mc-review-panel .mc-review textarea { min-height: 116px; background: #fff; }
    .mc-review-btn { margin-top: 8px; width: 100%; padding: 10px; border: none; border-radius: 8px; background: #111; color: #fff; font-weight: 700; cursor: pointer; font-size: 13px; }
    .mc-review-note { font-size: 11.5px; color: #888; margin-top: 6px; line-height: 1.45; }

    /* 공통 */
    .empty-state { text-align:center; padding:48px 0; color:#bbb; }
    .empty-state i { font-size: 48px; display:block; margin-bottom:12px; }
    .empty-state a { color:#111111; font-weight:600; }
    .spinner { width:28px; height:28px; border:3px solid #eee; border-top-color:#111111; border-radius:50%; animation:spin .7s linear infinite; margin:40px auto; }
    @keyframes spin { to{transform:rotate(360deg)} }

    /* ── 라이브 강의 카드 ── */
    .my-lc-card {
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      overflow: hidden;
      grid-column: 1 / -1;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }

    /* ── 유료 VOD 강의 카드 (가로형) ── */
    .my-vod-card {
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 14px;
      overflow: hidden;
      grid-column: 1 / -1;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }
    .my-vod-main {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px;
      text-decoration: none;
      color: inherit;
      transition: background 0.12s;
    }
    .my-vod-main:hover { background: #f9fafb; }
    .my-vod-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .my-vod-title {
      font-size: 14px;
      font-weight: 700;
      color: #111;
      line-height: 1.45;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .my-vod-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 0 16px 14px;
    }
    .my-vod-btn--disabled {
      opacity: 0.55;
      cursor: not-allowed;
      pointer-events: none;
    }
    .my-vod-card .lc-thumb-wrap .mc-thumb-badge {
      transform: scale(0.35);
      transform-origin: top left;
    }
    .my-lc-main {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px;
      text-decoration: none;
      color: inherit;
      transition: background 0.12s;
    }
    .my-lc-main:hover { background: #f9fafb; }

    /* 썸네일 래퍼 — common.css width:100%/aspect-ratio 무력화 */
    .lc-thumb-wrap {
      width: 92px;
      height: 64px;
      flex-shrink: 0;
      border-radius: 8px;
      overflow: hidden;
      position: relative;
    }
    .lc-thumb-wrap .mc-thumb {
      position: absolute !important;
      inset: 0 !important;
      width: 100% !important;
      height: 100% !important;
      aspect-ratio: unset !important;
      font-size: 28px !important;
    }

    .my-lc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
    .my-lc-title { font-size: 14px; font-weight: 700; color: #111; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .my-lc-meta { font-size: 12px; color: #888; display: flex; align-items: center; gap: 4px; }

    .my-lc-actions {
      display: flex;
      flex-direction: row;
      gap: 8px;
      padding: 0 16px 14px;
    }
    .my-lc-actions [data-live-meet-wrap] { flex: 1; }
    .my-lc-actions .btn-enroll,
    .my-lc-actions .btn-live-extra,
    .my-lc-actions .btn-meet {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      flex: 1;
      min-height: 40px;
      min-width: 0;
      margin: 0;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.2;
      padding: 9px 12px;
      border-radius: 8px;
      box-sizing: border-box;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.15s;
    }
    .my-lc-actions .btn-enroll--replay {
      background: #111;
      color: #fff;
    }
    .my-lc-actions .btn-enroll--replay:hover { background: #333; }
    .my-lc-actions .btn-enroll--material {
      background: #1a73e8;
      color: #fff;
    }
    .my-lc-actions .btn-enroll--material:hover { background: #1557b0; }
    .my-lc-actions .btn-enroll__sub,
    .my-lc-actions .btn-live-extra__sub { font-size: 11px; color: #bbb; }

    /* ── 후기 블록 ── */
    .my-lc-review {
      border-top: 1px solid #f0f0f0;
      padding: 14px 16px 16px;
      background: #fafafa;
    }

    /* 작성 완료 상태 */
    .lc-review-done {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .lc-review-done-left { display: flex; align-items: center; gap: 8px; }
    .lc-review-done-txt { font-size: 13px; color: #555; }
    .lc-review-reward-note {
      display: block;
      margin-top: 4px;
      font-size: 11px;
      color: #888;
      line-height: 1.45;
    }
    .lc-edit-btn {
      font-size: 12px; font-weight: 600; color: #444;
      background: #fff; border: 1px solid #d1d5db; border-radius: 6px;
      padding: 5px 12px; cursor: pointer; white-space: nowrap;
      transition: background 0.1s;
    }

    /* 교육자료 다운로드 (후기 요약 영역, 항상 노출) */
    .lc-materials-dl {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 10px;
      padding: 9px 14px;
      background: #111;
      color: #fff;
      border-radius: 8px;
      font-size: 12.5px;
      font-weight: 600;
    }
    .lc-materials-dl:hover { opacity: 0.88; }
    .lc-edit-btn:hover { background: #f3f4f6; }

    /* 폼 (미작성 + 수정) */
    .lc-review-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
    }
    .lc-review-label { font-size: 13px; font-weight: 700; color: #111; }
    .lc-coupon-badge {
      font-size: 11px; font-weight: 600; color: #16a34a;
      background: #f0fdf4; border: 1px solid #bbf7d0;
      border-radius: 99px; padding: 2px 9px; white-space: nowrap;
    }

    /* 별점 */
    .lc-stars-row { display: flex; gap: 3px; margin-bottom: 10px; }
    .lc-star {
      border: none; background: none; font-size: 26px; color: #ddd;
      cursor: pointer; padding: 0; line-height: 1; transition: color 0.1s, transform 0.1s;
    }
    .lc-star.on { color: #f5a623; }
    .lc-star:hover { transform: scale(1.15); }
    .lc-star--readonly { cursor: default; }
    .lc-star--readonly:hover { transform: none; }

    .lc-review-rating-locked-note {
      font-size: 12px;
      color: #6b7280;
      margin: -4px 0 10px;
    }

    /* 텍스트에어리어 */
    .lc-review-ta {
      display: block;
      width: 100%;
      min-height: 76px;
      padding: 10px 12px;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      font-size: 13px;
      font-family: inherit;
      resize: vertical;
      box-sizing: border-box;
      line-height: 1.5;
      background: #fff;
      color: #111;
      margin-bottom: 10px;
      transition: border-color 0.1s;
    }
    .lc-review-ta:focus { outline: none; border-color: #6366f1; }

    /* 교육자료 언락 안내 */
    .lc-materials-hint {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12.5px;
      color: #b45309;
      background: #fffbeb;
      border: 1px solid #fde68a;
      border-radius: 8px;
      padding: 8px 10px;
      margin-bottom: 10px;
      line-height: 1.5;
    }
    .lc-materials-hint.is-ok {
      color: #15803d;
      background: #f0fdf4;
      border-color: #bbf7d0;
    }

    /* 저장 버튼 */
    .lc-review-footer { display: flex; justify-content: flex-end; }
    .lc-review-save {
      padding: 9px 22px;
      background: #111;
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: opacity 0.1s;
    }
    .lc-review-save:hover { opacity: 0.8; }

    /* 후기 기간 종료 상태 */
    .my-lc-review--closed { background: #f9f9f9; }
    .lc-review-closed-msg { font-size: 12px; color: #aaa; }
    .lc-review-closed-badge { font-size: 11px; color: #bbb; font-weight: 500; }
    .lc-review-locked-badge {
      font-size: 11px;
      color: #b45309;
      font-weight: 600;
      white-space: nowrap;
    }
    /* 기간 종료 후 별점은 클릭 불가 span으로 렌더링 */
    .lc-star:not(button) { cursor: default; }

    @media(max-width:700px) {
      .mypage-wrap { grid-template-columns:1fr; margin:0 auto; padding:16px 14px 80px; gap:16px; }
      .my-sidebar { position:static; padding:14px; }
      .proj-card { flex-direction:column; align-items:flex-start; }
      .link-row { grid-template-columns:1fr; }
      .my-lc-title { white-space: normal; }

      /* 프로필 카드 — 아바타 좌 / 이름·이메일 우 */
      #my-profile {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        row-gap: 2px;
        align-items: center;
        text-align: left;
      }
      #my-profile .my-avatar { grid-column: 1; grid-row: 1 / span 2; margin: 0; width: 46px; height: 46px; font-size: 21px; }
      #my-profile .my-name { grid-column: 2; grid-row: 1; margin: 0; font-size: 17px; }
      #my-profile .my-email { grid-column: 2; grid-row: 2; margin: 0; }
      #my-profile .my-bio-preview { grid-column: 1 / -1; margin-top: 8px; }
      #my-profile .my-role-badges { grid-column: 1 / -1; justify-content: flex-start; margin: 8px 0 0; }

      /* 사이드 메뉴 → 상단 가로 스크롤 탭 */
      .my-sidebar-menus { margin-top: 12px; gap: 8px; }
      .my-nav-panel { padding: 6px; }
      .my-nav {
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
      }
      .my-nav::-webkit-scrollbar { display: none; }
      .my-nav-item { flex-shrink: 0; white-space: nowrap; scroll-snap-align: start; padding: 9px 14px; }

      /* 메인 */
      .section-title { font-size: 20px; margin-bottom: 14px; }

      /* 강의 카드 그리드 — 1열 가로형 */
      .my-course-grid { grid-template-columns: 1fr; gap: 12px; }

      /* 라이브·VOD 강의 카드 — 모바일에서 썸네일 위 */
      .my-lc-main,
      .my-vod-main { flex-direction: column; align-items: stretch; gap: 10px; }
      .lc-thumb-wrap { width: 100%; height: 160px; }
    }

    @media(max-width:480px) {
      /* 강의 카드 1열 */
      .my-course-grid { grid-template-columns: 1fr; }
      .lc-thumb-wrap { height: 140px; }
      .my-nav-item span { font-size: 13px; }
    }
