/* ============================================
 * 헬퍼아카데미 서브 페이지 공용 스타일
 * ============================================ */

/* ===== Toast ===== */
.helper-toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--text); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  display: flex; align-items: center; gap: 8px;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.helper-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.helper-toast__icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

/* ===== Auth Guard Modal ===== */
.auth-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
}
.auth-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.auth-modal__panel {
  position: relative;
  width: calc(100% - 32px); max-width: 380px;
  background: var(--bg-card, #fff);
  border-radius: 20px;
  padding: 36px 30px 28px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: payIn .3s cubic-bezier(.18,.89,.32,1.28);
}
.auth-modal__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.auth-modal__panel h3 {
  font-size: 19px; font-weight: 800; color: var(--text);
  margin-bottom: 8px;
}
.auth-modal__panel p {
  font-size: 14px; color: var(--text-sub); line-height: 1.6;
  margin-bottom: 24px;
}
.auth-modal__actions {
  display: flex; gap: 8px;
}
.auth-modal__cancel, .auth-modal__submit {
  flex: 1; padding: 13px;
  border-radius: 10px;
  font-weight: 800; font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.auth-modal__cancel {
  background: var(--bg-gray); color: var(--text);
}
.auth-modal__cancel:hover { background: var(--border); }
.auth-modal__submit {
  background: var(--primary-gradient); color: #fff;
}
.auth-modal__submit:hover { box-shadow: 0 8px 16px rgba(255,56,92,.35); }

/* ===== Profile / Notifications / Coupons / Orders / Reviews / Find ===== */
.profile-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 36px;
}
.profile-card h3 {
  font-size: 16px; font-weight: 800; color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border-soft);
}
.profile-card h3:not(:first-child) { padding-top: 6px; }
.form-note { font-size: 11px; color: var(--text-mute); font-weight: 500; margin-left: 4px; }
.form-check-row { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.profile-actions {
  display: flex; gap: 10px; margin-top: 28px;
  padding-top: 22px; border-top: 1px solid var(--border-soft);
}

/* Notification toggle switch */
.noti-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.noti-row:last-child { border-bottom: 0; }
.noti-row strong { display: block; font-size: 14px; color: var(--text); font-weight: 700; margin-bottom: 4px; }
.noti-row p { font-size: 12px; color: var(--text-mute); line-height: 1.5; }
.toggle {
  position: relative; width: 44px; height: 24px;
  flex-shrink: 0; cursor: pointer;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span {
  position: absolute; inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background .15s;
}
.toggle span::before {
  content: ''; position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle input:checked + span { background: var(--primary); }
.toggle input:checked + span::before { transform: translateX(20px); }

/* Coupon Add */
.coupon-add {
  display: flex; gap: 8px; margin-bottom: 24px;
  background: var(--bg-card, #fff); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px;
}
.coupon-add input {
  flex: 1; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-input, #fff); color: var(--text);
  font-family: inherit; font-size: 14px;
  outline: none;
}
.coupon-add input:focus { border-color: var(--primary); }

/* Coupon Cards */
.coupon-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.coupon-card {
  background: var(--bg-card, #fff);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}
.coupon-card::before, .coupon-card::after {
  content: ''; position: absolute;
  width: 18px; height: 18px;
  background: var(--bg-gray);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
}
.coupon-card::before { left: -10px; }
.coupon-card::after { right: -10px; }
.coupon-card__amount {
  font-size: 32px; font-weight: 900; color: var(--primary);
  letter-spacing: -1.5px; margin-bottom: 8px;
}
.coupon-card__amount span { font-size: 18px; font-weight: 700; margin-left: 2px; }
.coupon-card__title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.coupon-card__condition { font-size: 12px; color: var(--text-mute); margin-bottom: 12px; }
.coupon-card__expire {
  font-size: 12px; color: var(--text-sub); font-weight: 600;
  padding-top: 12px; border-top: 1px dashed var(--border);
}
.coupon-card__expire strong { color: var(--primary); margin-left: 6px; }
.coupon-card--primary {
  border-color: var(--primary);
  background: var(--primary-soft);
}

/* Order Tabs */
.order-tabs {
  display: flex; gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
}
.order-tab {
  padding: 14px 20px;
  font-size: 14px; font-weight: 700; color: var(--text-mute);
  position: relative;
  white-space: nowrap; cursor: pointer;
}
.order-tab:hover { color: var(--text); }
.order-tab.active { color: var(--primary); }
.order-tab.active::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 3px; background: var(--primary);
  border-radius: 2px;
}

/* Order List */
.order-list { display: flex; flex-direction: column; gap: 14px; }
.order-row {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}
.order-row__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
  flex-wrap: wrap; gap: 8px;
}
.order-row__head > div:first-child {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.order-status {
  padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 800;
}
.order-status--paid { background: var(--primary-soft); color: var(--primary); }
.order-status--refunded { background: var(--bg-gray); color: var(--text-mute); }
.order-status--free { background: rgba(0,166,153,.15); color: var(--accent); }
.order-row__date { font-size: 13px; color: var(--text-sub); font-weight: 600; }
.order-row__id { font-size: 12px; color: var(--text-mute); }
.order-row__price { font-size: 18px; font-weight: 900; color: var(--text); }
.order-row__body {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
}
.order-row__title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.order-row__meta { font-size: 12px; color: var(--text-mute); }
.order-row__actions { flex-shrink: 0; }

/* Review Actions */
.review-actions {
  display: flex; gap: 8px; margin-top: 14px;
  padding-top: 14px; border-top: 1px solid var(--border-soft);
}

/* Find Tabs */
.find-tabs {
  display: flex;
  background: var(--bg-gray);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 24px;
}
.find-tab {
  flex: 1; padding: 11px;
  border-radius: 6px;
  font-size: 13px; font-weight: 700; color: var(--text-sub);
  cursor: pointer;
}
.find-tab.active {
  background: var(--bg-card, #fff); color: var(--primary);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 720px) {
  .coupon-grid { grid-template-columns: 1fr; }
  .profile-card { padding: 22px 18px; }
  .order-row__body { flex-direction: column; align-items: stretch; }
}

/* ===== Welcome Page ===== */
.welcome-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg-body, #fff) 100%);
  text-align: center;
}
.welcome-hero__inner { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.welcome-check {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 28px rgba(0,166,153,.35);
  animation: popIn .5s cubic-bezier(.18,.89,.32,1.28);
}
@keyframes popIn {
  from { transform: scale(.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.welcome-eyebrow {
  font-size: 12px; font-weight: 800; color: var(--primary);
  letter-spacing: 2px; margin-bottom: 10px;
}
.welcome-title {
  font-size: 36px; font-weight: 800;
  color: var(--text);
  letter-spacing: -1.2px; line-height: 1.3;
  margin-bottom: 18px;
}
.welcome-title strong { color: var(--primary); font-weight: 900; }
.welcome-sub {
  font-size: 15px; color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 32px;
}
.welcome-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.welcome-actions a {
  display: inline-block; text-decoration: none;
  text-align: center;
}

.welcome-tips {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
}
.welcome-tips h3 {
  font-size: 18px; font-weight: 800; color: var(--text);
  margin-bottom: 24px;
}
.welcome-tips__list { list-style: none; padding: 0; }
.welcome-tips__list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
}
.welcome-tips__list li:first-child { border-top: 0; padding-top: 0; }
.welcome-tips__num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}
.welcome-tips__list strong {
  display: block;
  font-size: 15px; color: var(--text); font-weight: 800;
  margin-bottom: 4px;
}
.welcome-tips__list p {
  font-size: 13px; color: var(--text-sub); line-height: 1.6;
  margin-bottom: 6px;
}
.welcome-tips__list a {
  font-size: 13px; color: var(--primary); font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 720px) {
  .welcome-hero { padding: 48px 0 32px; }
  .welcome-title { font-size: 24px; }
  .welcome-tips { padding: 22px 18px; }
}

/* ===== Agreement Box ===== */
.agreement-box {
  background: var(--bg-gray);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 16px 0 20px;
}
.agreement-box .form-check { padding: 7px 0; }
.agreement-all { font-weight: 700; color: var(--text); }
.agreement-all strong { font-weight: 800; }
.agreement-all__hint {
  margin-left: 6px; font-size: 11px; color: var(--text-mute); font-weight: 500;
}
.agreement-divider {
  border: none; border-top: 1px solid var(--border);
  margin: 10px 0 6px;
}
.agree-tag {
  color: var(--primary); font-weight: 700;
  font-size: 12px; min-width: 36px; display: inline-block;
}
.agree-tag--opt { color: var(--text-mute); }
.agree-link {
  margin-left: auto; color: var(--text-mute);
  font-size: 11px; font-weight: 600;
  text-decoration: underline;
}
.agree-link:hover { color: var(--text); }

/* ===== Authentic Components ===== */
/* 강사 프로필 이니셜 */
.inst-profile__initial {
  color: #fff; font-size: 48px; font-weight: 800;
  letter-spacing: -2px;
}
.inst-profile__avatar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
}

/* 마이페이지 사이드 링크 */
.side-link {
  display: block !important;
  padding: 10px 12px !important; border-radius: 8px;
  font-size: 13px !important; font-weight: 600 !important;
  color: var(--text-sub) !important;
  cursor: pointer; transition: all .12s;
}
.side-link:hover { background: var(--bg-gray); color: var(--text) !important; }
.side-link.active { background: var(--primary-soft); color: var(--primary) !important; font-weight: 800 !important; }
.side-link--muted { color: var(--text-mute) !important; }

/* 마이페이지 아바타 (이니셜) */
.mypage__avatar {
  background: rgba(255,255,255,.22);
}
.mypage__avatar span {
  color: #fff; font-size: 32px; font-weight: 800;
}

/* 1:1 문의 옵션 카드 */
.contact-options {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 30px;
}
.contact-option {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  transition: all .15s;
}
.contact-option:hover { border-color: var(--text); transform: translateY(-2px); }
.contact-option__icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-option__name { font-weight: 800; color: var(--text); font-size: 14px; }
.contact-option__sub { font-size: 12px; color: var(--text-mute); margin-top: 4px; }

/* 카트 썸네일 카테고리 라벨 */
.cart-row__thumb {
  position: relative;
}
.cart-row__thumb-cat {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.cart-row__remove svg { display: block; }

/* 이벤트 카드 - 텍스트 기반 비주얼 */
.event-card__visual {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
  font-size: inherit;
}
.event-card__visual::before {
  content: ''; position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
}
.event-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.event-card__head {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1.5px;
  position: relative; z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* 플레이어 썸네일 텍스트 */
.player-thumb-text {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,.3);
  padding: 0 60px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.player-play::before {
  content: ''; display: block;
  width: 0; height: 0;
  border-left: 18px solid var(--primary);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.player-play { padding-left: 0; }
.player-play::after { z-index: 0; }

/* 결제 카드 강사 이니셜 */
.purchase-card__inst-avatar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

/* 빈 상태 (empty) - 이모지 없이 */
.empty {
  padding: 60px 20px;
  text-align: center;
}
.empty p { font-size: 14px; color: var(--text-mute); margin-bottom: 16px; }

/* ===== Page Banner ===== */
.page-banner {
  background: linear-gradient(180deg, var(--primary-soft) 0%, #fff 100%);
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border-soft);
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--text-mute);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-light); }
.page-banner h1 {
  font-size: 32px; font-weight: 800; color: var(--text);
  letter-spacing: -1px;
}
.page-banner p { color: var(--text-sub); margin-top: 8px; font-size: 15px; }

/* ===== Page Container ===== */
.page-section { padding: 40px 0 80px; }
.page-section--gray { background: var(--bg-gray); }

/* ===== Layout (sidebar + main) ===== */
.with-sidebar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
.with-sidebar--right {
  grid-template-columns: 1fr 360px;
}
.sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  position: sticky; top: 90px;
}
.sidebar h3 {
  font-size: 15px; font-weight: 800; color: var(--text);
  margin-bottom: 14px;
}
.sidebar__group { margin-bottom: 20px; }
.sidebar__group:last-child { margin-bottom: 0; }
.sidebar__group h4 {
  font-size: 13px; font-weight: 700; color: var(--text-sub);
  margin-bottom: 10px;
}
.sidebar__group label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; padding: 6px 0; cursor: pointer; color: var(--text-sub);
}
.sidebar__group label:hover { color: var(--primary); }
.sidebar__group input { accent-color: var(--primary); }

/* ===== Filter Bar ===== */
.filter-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap; gap: 12px;
}
.filter-bar__count {
  font-size: 14px; color: var(--text-sub);
}
.filter-bar__count strong { color: var(--text); font-weight: 800; }
.filter-bar__sort {
  display: flex; gap: 6px;
}
.sort-btn {
  padding: 7px 14px; border-radius: 999px;
  background: #fff; font-size: 13px; font-weight: 600; color: var(--text-sub);
  border: 1px solid var(--border);
}
.sort-btn.active, .sort-btn:hover {
  background: var(--text); color: #fff; border-color: var(--text);
}

/* ===== Course Detail Layout ===== */
.course-detail__hero {
  background: var(--text);
  padding: 40px 0;
  color: #fff;
}
.course-detail__hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px;
  align-items: center;
}
.course-detail__visual {
  aspect-ratio: 16/9;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #BD1E59);
  display: flex; align-items: center; justify-content: center;
  font-size: 140px;
  color: rgba(255,255,255,.5);
}

/* ===== Video Player ===== */
.course-detail__player {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.player-thumb {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--c1, #FF385C), var(--c2, #BD1E59));
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: filter .2s;
}
.player-thumb:hover { filter: brightness(.85); }
.player-emoji {
  font-size: 140px;
  color: rgba(255,255,255,.4);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.3));
}
.player-play {
  position: absolute;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  padding-left: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .15s;
}
.player-play:hover { transform: scale(1.1); background: #fff; }
.player-play::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  animation: pulseRing 1.6s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(.95); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.player-preview-tag {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.player-preview-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 var(--primary);
  animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,56,92,.6); }
  100% { box-shadow: 0 0 0 8px rgba(255,56,92,0); }
}
.player-video, .player-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.course-detail__cat {
  display: inline-block;
  background: rgba(255,255,255,.15);
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  margin-bottom: 12px;
}
.course-detail__title {
  font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: -1px;
  margin-bottom: 14px;
}
.course-detail__sub { font-size: 15px; opacity: .85; line-height: 1.6; }
.course-detail__meta {
  display: flex; gap: 18px; align-items: center;
  margin-top: 24px; flex-wrap: wrap;
}
.course-detail__meta-item {
  display: flex; gap: 6px; align-items: center;
  font-size: 13px; opacity: .9;
}

.course-detail__body {
  padding: 40px 0 80px;
}
.course-detail__layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px;
  align-items: start;
}

/* ===== Tabs ===== */
.tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}
.tabs__item {
  padding: 16px 24px;
  font-size: 15px; font-weight: 700; color: var(--text-mute);
  position: relative;
  cursor: pointer;
}
.tabs__item:hover { color: var(--text); }
.tabs__item.active { color: var(--primary); }
.tabs__item.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 3px; background: var(--primary);
  border-radius: 2px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== Content sections ===== */
.content-block {
  margin-bottom: 36px;
}
.content-block h3 {
  font-size: 20px; font-weight: 800; color: var(--text);
  margin-bottom: 16px;
}
.content-block p {
  font-size: 15px; line-height: 1.8; color: var(--text-sub);
  margin-bottom: 12px;
}
.feature-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.feature-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; background: var(--bg-gray);
  border-radius: 10px; font-size: 14px; color: var(--text);
}
.feature-list li::before {
  content: '✓'; color: var(--primary); font-weight: 900; flex-shrink: 0;
}

/* ===== Curriculum ===== */
.curriculum { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.curriculum__week {
  border-bottom: 1px solid var(--border-soft);
}
.curriculum__week:last-child { border-bottom: 0; }
.curriculum__week-head {
  padding: 16px 20px; background: var(--bg-gray);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 800; cursor: pointer; color: var(--text);
}
.curriculum__lessons { padding: 8px 0; }
.curriculum__lesson {
  padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--text-sub);
  border-bottom: 1px solid var(--border-soft);
}
.curriculum__lesson:last-child { border-bottom: 0; }
.curriculum__lesson-icon { color: var(--primary); margin-right: 8px; }
.curriculum__lesson-time { color: var(--text-mute); font-size: 13px; }

/* ===== Sticky Purchase Card ===== */
.purchase-card {
  position: sticky; top: 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.purchase-card__price {
  font-size: 30px; font-weight: 900; color: var(--text);
  letter-spacing: -1px;
}
.purchase-card__price small { font-size: 14px; color: var(--text-mute); margin-right: 6px; font-weight: 600; }
.purchase-card__old {
  text-decoration: line-through; color: var(--text-light);
  font-size: 14px; margin-top: 2px;
}
.purchase-card__discount {
  display: inline-block; margin-left: 8px;
  background: var(--primary); color: #fff;
  padding: 3px 8px; border-radius: 4px;
  font-size: 12px; font-weight: 800;
}
.purchase-card__features {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.purchase-card__features li {
  font-size: 13px; color: var(--text-sub);
  padding: 4px 0; display: flex; gap: 8px; align-items: center;
}
.purchase-card__features li::before { content: '✓'; color: var(--accent); font-weight: 900; }
.purchase-card__btn {
  display: block; width: 100%;
  padding: 14px; border-radius: 10px;
  font-size: 15px; font-weight: 800;
  margin-bottom: 8px;
  transition: all .15s;
}
.purchase-card__btn--primary {
  background: var(--primary-gradient); color: #fff;
}
.purchase-card__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(255,56,92,.3);
}
.purchase-card__btn--ghost {
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
}
.purchase-card__btn--ghost:hover { background: var(--bg-gray); }
.purchase-card__inst {
  display: flex; gap: 12px; align-items: center;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.purchase-card__inst-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.purchase-card__inst-name { font-weight: 800; font-size: 14px; color: var(--text); }
.purchase-card__inst-info { font-size: 12px; color: var(--text-mute); }

/* ===== Auth Forms ===== */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
  background: var(--bg-gray);
}
.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 {
  font-size: 26px; font-weight: 800; color: var(--text);
  text-align: center; margin-bottom: 8px;
}
.auth-card .lead {
  text-align: center; color: var(--text-sub);
  font-size: 14px; margin-bottom: 28px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px;
  font-size: 14px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--text);
  outline: none; transition: all .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-sub); margin: 6px 0;
}
.form-check input { accent-color: var(--primary); }
.btn-block {
  width: 100%; padding: 14px;
  background: var(--primary); color: #fff;
  border-radius: 10px;
  font-size: 15px; font-weight: 800;
  transition: background .15s;
  margin-top: 8px;
}
.btn-block:hover { background: var(--primary-dark); }
.btn-block--dark {
  background: var(--text);
}
.btn-block--dark:hover { background: var(--navy-light); }
.auth-divider {
  text-align: center; margin: 22px 0 18px;
  font-size: 13px; color: var(--text-mute);
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute; top: 50%; width: 35%;
  height: 1px; background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.social-buttons {
  display: flex; gap: 8px;
}
.social-buttons button {
  flex: 1; padding: 13px;
  border-radius: 10px;
  font-size: 13px; font-weight: 700;
  border: 1px solid var(--border);
  background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.social-buttons button:hover { background: var(--bg-gray); }
.social-buttons .kakao { background: #FEE500; color: #181600; border-color: #FEE500; }
.social-buttons .naver { background: #03C75A; color: #fff; border-color: #03C75A; }
.auth-bottom {
  text-align: center; margin-top: 20px;
  font-size: 13px; color: var(--text-sub);
}
.auth-bottom a { color: var(--primary); font-weight: 700; margin-left: 4px; }

/* ===== Mypage ===== */
.mypage__hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 40px 0;
  color: #fff;
}
.mypage__profile {
  display: flex; align-items: center; gap: 20px;
}
.mypage__avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.mypage__name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.mypage__email { font-size: 13px; opacity: .9; }
.mypage__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: -30px 0 32px;
  position: relative; z-index: 2;
}
.mypage__stat {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
}
.mypage__stat .num {
  font-size: 28px; font-weight: 900; color: var(--primary);
  letter-spacing: -1px;
}
.mypage__stat .lbl { font-size: 13px; color: var(--text-sub); margin-top: 4px; font-weight: 600; }

/* ===== Cart ===== */
.cart-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 30px; align-items: start;
}
.cart-list {
  background: #fff; border-radius: 14px;
  border: 1px solid var(--border); overflow: hidden;
}
.cart-row {
  display: flex; gap: 14px; align-items: center;
  padding: 18px; border-bottom: 1px solid var(--border-soft);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row__thumb {
  width: 80px; height: 60px;
  border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  background: linear-gradient(135deg, var(--c1, #ffd9d9), var(--c2, #ff9a9a));
}
.cart-row__info { flex: 1; min-width: 0; }
.cart-row__title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cart-row__inst { font-size: 12px; color: var(--text-mute); }
.cart-row__price { font-weight: 800; color: var(--text); white-space: nowrap; }
.cart-row__remove { color: var(--text-mute); cursor: pointer; padding: 4px; }
.cart-row__remove:hover { color: var(--primary); }

.cart-summary {
  background: #fff; border-radius: 14px;
  border: 1px solid var(--border);
  padding: 24px;
  position: sticky; top: 180px;
}
.cart-summary h3 {
  font-size: 16px; font-weight: 800; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border-soft);
}
.cart-summary__row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--text-sub); padding: 6px 0;
}
.cart-summary__total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.cart-summary__total span { font-size: 14px; color: var(--text-sub); }
.cart-summary__total strong { font-size: 22px; font-weight: 900; color: var(--primary); }

/* ===== Review Form ===== */
.review-form {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}
.review-form h3 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.review-form__lead { font-size: 13px; color: var(--text-mute); margin-bottom: 18px; }
.rating-input {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 14px;
}
.rating-input button {
  font-size: 32px;
  color: var(--border);
  transition: transform .1s, color .12s;
  cursor: pointer;
  background: none; padding: 4px;
}
.rating-input button:hover { transform: scale(1.15); }
.rating-input button.active { color: #FFB400; }
.rating-input__label {
  margin-left: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--text-mute);
}
.review-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-input, #fff);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  outline: none;
}
.review-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.review-form__actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
}
.review-form__count { font-size: 12px; color: var(--text-mute); }

/* ===== Reviews List ===== */
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-row {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 18px;
}
.review-row__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.review-row__name { font-weight: 700; font-size: 14px; }
.review-row__date { font-size: 12px; color: var(--text-mute); }
.review-row__stars { color: #FFB400; font-size: 14px; margin-bottom: 8px; }
.review-row__text { font-size: 14px; line-height: 1.7; color: var(--text); }

/* ===== FAQ Accordion ===== */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.faq-item__head {
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 700; color: var(--text);
  cursor: pointer;
}
.faq-item__head:hover { background: var(--bg-gray); }
.faq-item__head .q {
  color: var(--primary); margin-right: 10px; font-weight: 900;
}
.faq-item__head .toggle { font-size: 18px; color: var(--text-mute); transition: transform .2s; }
.faq-item.open .faq-item__head .toggle { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 22px;
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  font-size: 14px; line-height: 1.7; color: var(--text-sub);
}
.faq-item.open .faq-item__body {
  max-height: 400px;
  padding: 0 22px 22px;
}

/* ===== Notice List ===== */
.notice-list { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.notice-row {
  display: flex; gap: 14px; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
}
.notice-row:last-child { border-bottom: 0; }
.notice-row:hover { background: var(--bg-gray); }
.notice-row__tag {
  padding: 4px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 800;
  background: var(--primary-soft); color: var(--primary);
  white-space: nowrap;
}
.notice-row__tag--system { background: var(--bg-gray); color: var(--text-sub); }
.notice-row__title { flex: 1; font-size: 14px; font-weight: 600; color: var(--text); }
.notice-row__date { font-size: 12px; color: var(--text-mute); white-space: nowrap; }

/* ===== Policy text block ===== */
.policy-block {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 36px 40px;
}
.policy-block h2 {
  font-size: 18px; font-weight: 800; color: var(--text);
  margin: 28px 0 12px;
}
.policy-block h2:first-child { margin-top: 0; }
.policy-block p {
  font-size: 14px; line-height: 1.8; color: var(--text-sub);
  margin-bottom: 10px;
}
.policy-block ul { padding-left: 18px; margin-bottom: 10px; }
.policy-block li {
  font-size: 14px; line-height: 1.8; color: var(--text-sub);
  list-style: disc; margin-bottom: 4px;
}

/* ===== Event cards ===== */
.event-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.event-card {
  border-radius: 16px; overflow: hidden;
  background: var(--bg-gray);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: all .2s;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.event-card__visual {
  height: 200px;
  background: linear-gradient(135deg, var(--c1, #FF385C), var(--c2, #BD1E59));
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: rgba(255,255,255,.6);
}
.event-card__body { padding: 22px; }
.event-card__period { font-size: 12px; color: var(--primary); font-weight: 700; }
.event-card__title { font-size: 17px; font-weight: 800; margin: 6px 0 4px; }
.event-card__desc { font-size: 13px; color: var(--text-sub); }

/* ===== Instructor profile ===== */
.inst-profile {
  display: flex; gap: 30px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  margin-bottom: 32px;
}
.inst-profile__avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), #fff);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; flex-shrink: 0;
  border: 2px solid var(--border);
}
.inst-profile__info { flex: 1; }
.inst-profile__name { font-size: 24px; font-weight: 800; color: var(--text); }
.inst-profile__field { font-size: 14px; color: var(--primary); font-weight: 700; margin-top: 4px; }
.inst-profile__bio { font-size: 14px; color: var(--text-sub); line-height: 1.7; margin-top: 12px; }
.inst-profile__stats { display: flex; gap: 30px; margin-top: 18px; }
.inst-profile__stat strong { font-size: 18px; font-weight: 800; color: var(--text); }
.inst-profile__stat span { font-size: 12px; color: var(--text-mute); margin-left: 4px; }

/* ===== Pagination ===== */
.pagination {
  display: flex; justify-content: center; gap: 4px;
  margin-top: 40px;
}
.pagination a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  background: #fff; color: var(--text-sub);
  border: 1px solid var(--border);
}
.pagination a:hover { background: var(--bg-gray); color: var(--text); }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Payment Modal ===== */
.pay-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.pay-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pay-modal__panel {
  position: relative;
  background: var(--bg-card, #fff);
  border-radius: 20px;
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column;
  animation: payIn .25s cubic-bezier(.18,.89,.32,1.28);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
@keyframes payIn {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.pay-modal__head {
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border);
}
.pay-modal__head h3 { font-size: 18px; font-weight: 800; color: var(--text); }
.pay-modal__close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-gray); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.pay-modal__close:hover { background: var(--primary-soft); color: var(--primary); }

.pay-modal__body {
  flex: 1; overflow-y: auto;
  padding: 20px 24px;
}
.pay-summary {
  background: var(--bg-gray);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
}
.pay-summary__title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pay-summary__inst { font-size: 13px; color: var(--text-mute); margin-bottom: 14px; }
.pay-summary__price {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.pay-summary__price span { font-size: 13px; color: var(--text-sub); font-weight: 600; }
.pay-summary__price strong { font-size: 22px; font-weight: 900; color: var(--primary); }

.pay-section-title {
  font-size: 13px; font-weight: 800; color: var(--text);
  margin: 18px 0 10px;
}
.pay-methods {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.pay-method {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-card, #fff);
  cursor: pointer;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  transition: all .12s;
}
.pay-method:hover { border-color: var(--primary); }
.pay-method input { display: none; }
.pay-method:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.pay-method__ico {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--bg-gray); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}

.pay-coupon select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-card, #fff); color: var(--text);
  font-family: inherit; font-size: 14px; font-weight: 600;
  outline: none;
}
.pay-coupon select:focus { border-color: var(--primary); }

.pay-agree {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--bg-gray);
  border-radius: 10px;
}
.pay-agree label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-sub);
  cursor: pointer;
}
.pay-agree input { accent-color: var(--primary); }
.pay-agree strong { color: var(--primary); }

.pay-modal__foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px;
}
.pay-modal__cancel, .pay-modal__submit {
  flex: 1; padding: 14px;
  border-radius: 10px;
  font-weight: 800; font-size: 14px;
  transition: all .15s;
}
.pay-modal__cancel {
  background: var(--bg-gray); color: var(--text);
}
.pay-modal__cancel:hover { background: var(--border); }
.pay-modal__submit {
  background: var(--primary-gradient); color: #fff;
}
.pay-modal__submit:hover {
  box-shadow: 0 8px 16px rgba(255,56,92,.35);
}
.pay-modal__submit:disabled { opacity: .7; cursor: wait; }

.pay-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pay-success {
  padding: 50px 30px;
  text-align: center;
}
.pay-success__check {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900;
  margin: 0 auto 20px;
  animation: payIn .4s cubic-bezier(.18,.89,.32,1.28);
}
.pay-success h3 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.pay-success p { font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.pay-success__actions {
  display: flex; gap: 8px; margin-top: 26px;
}

@media (max-width: 720px) {
  .pay-modal__panel { max-width: 100%; max-height: 100vh; border-radius: 16px 16px 0 0; margin-top: auto; }
  .pay-methods { grid-template-columns: 1fr; }
}

/* ===== Empty State ===== */
.empty {
  text-align: center; padding: 80px 20px;
  color: var(--text-mute);
}
.empty__icon { font-size: 60px; margin-bottom: 14px; }
.empty p { font-size: 14px; margin-bottom: 18px; }
.empty .btn-block {
  display: inline-block; width: auto; padding: 12px 30px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .with-sidebar, .with-sidebar--right,
  .course-detail__layout, .cart-grid { grid-template-columns: 1fr; }
  .sidebar, .purchase-card, .cart-summary { position: static; }
  .course-detail__hero-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .mypage__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-banner { padding: 32px 0 20px; }
  .page-banner h1 { font-size: 22px; }
  .course-detail__title { font-size: 22px; }
  .purchase-card__price { font-size: 24px; }
  .auth-card { padding: 30px 24px; }
  .inst-profile { flex-direction: column; padding: 24px; text-align: center; }
  .inst-profile__avatar { margin: 0 auto; }
  .policy-block { padding: 24px 20px; }
}
