@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

/* Shared policy dialog; also loaded inside its isolated shadow root. */
.site-policy-dialog {
  box-sizing: border-box;
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  color: #111827;
  background: #fff;
  font: 16px/1.6 system-ui, sans-serif;
}
.site-policy-dialog::backdrop { background: rgb(15 23 42 / 55%); }
.site-policy-dialog h2 { margin: 0 0 16px; font-size: 20px; }
.site-policy-dialog .site-policy-body {
  max-height: calc(100dvh - 210px);
  overflow-y: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.site-policy-dialog .site-policy-close { margin-top: 20px; }
.site-policy-dialog :focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
@media (max-width: 480px) {
  .site-policy-dialog { padding: 20px; }
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #0d9488;
    --bg: #f3f4f6;
    --text: #111827;
    --muted: #6b7280;
  
    /* 이메일 인증 / 헤더 로그인 hover 공통 색 */
    --mint-bg: #e7f8f3;
    --mint-hover: #dff4ed;
    --mint-border: #c3e6dd;
  }
  
  /* RESET -------------------------------------------------- */
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html,
  body {
    height: 100%;
  }
  
  body {
    font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    overflow: auto;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button {
    font: inherit;
    cursor: pointer;
  }
  
  /* 공통 레이아웃 -------------------------------------------------- */
  
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  svg {
    max-width: 100%;
    max-height: 100%;
  }
  
  /* HEADER -------------------------------------------------- */
  
  .landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
  }
  
  .header-inner {
    height: 80px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-width: 0;
  }

  .header-logo-mark {
    width: 46.925px;
    height: 24px;
    flex: 0 0 auto;
  }

  .header-logo-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .header-logo-wordmark {
    width: 178.03px;
    height: 20.776px;
    flex: 0 0 auto;
  }

  .header-logo-wordmark svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .header-actions {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .header-login-btn {
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #1849a9;
    color: #1849a9;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    transition: background-color 0.2s ease;
  }

  .header-login-btn:hover {
    background: #f3f4f7;
  }

  .header-mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 8px;
    border: 0;
    background: transparent;
  }

  .header-mobile-menu svg {
    width: 24px;
    height: 24px;
  }

  /* Motion demo -------------------------------------------------- */

  .motion-body {
    background: #0b1220;
    color: #e5e7eb;
    overflow: hidden;
  }

  /* Mobile portrait pages -------------------------------------------------- */

  body.m-page {
    font-size: 16px;
    background: #f8fafc;
    color: #0f172a;
  }

  .m-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
  }

  .m-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
  }

  .m-header-title {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
  }

  .m-header-btn {
    padding: 8px 12px;
    font-size: 14px;
    min-height: 36px;
  }

  .m-header-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    padding: 0 30px;
  }

  .m-header-icon.more-icon {
    padding: 0;
  }

  .m-header-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }

  .m-header-more-icon {
    width: 18px;
    height: 18px;
    color: #475569;
  }

  .m-menu-open {
    overflow: hidden;
  }

  .mheader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 60;
  }

  .mheader-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mheader-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(82vw, 320px);
    background: #ffffff;
    box-shadow: -16px 0 32px rgba(15, 23, 42, 0.12);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
  }

  .mheader-overlay.open .mheader-panel {
    transform: translateX(0);
  }

  .mheader-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #e5e7eb;
  }

  .mheader-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
  }

  .mheader-close {
    border: 0;
    background: transparent;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
  }

  .mheader-close svg {
    width: 20px;
    height: 20px;
  }

  .mheader-menu {
    list-style: none;
    padding: 8px 0 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mheader-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: transparent;
    border: 0;
    text-align: left;
  }

  .mheader-menu-item svg {
    width: 18px;
    height: 18px;
    color: #2563eb;
  }

  .mheader-menu-item.secondary svg {
    color: #64748b;
  }

  .m-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .m-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .m-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .m-section-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
  }

  .m-hero {
    border-radius: 20px;
    padding: 20px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
  }

  .m-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .m-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .m-hero-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
  }

  .m-hero-brand {
    font-size: 18px;
    font-weight: 700;
    color: #21448f;
    margin-bottom: 6px;
  }

  .m-hero-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
  }

  .m-hero-btn {
    width: 100%;
    margin-bottom: 16px;
  }

  .m-hero-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .m-hero-preview img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
  }

  .m-hero-media {
    display: grid;
    gap: 12px;
    margin-top: 12px;
  }

  .m-hero-chat {
    margin-top: 16px;
  }

  .m-hero-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.25);
  }

  .m-hero-main img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }

  .m-hero-live {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
  }

  .m-hero-sublist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .m-hero-subitem {
    position: relative;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: transparent;
  }

  .m-hero-subitem img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    filter: blur(2px) brightness(0.85);
  }

  .m-hero-subitem.is-active {
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
  }

  .m-hero-subitem.is-active img {
    filter: none;
  }

  .m-hero-sub-label {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    width: 100%;
    text-align: center;
    text-shadow: 0 2px 6px rgba(15, 23, 42, 0.6);
  }

  .m-chat-section {
    background: #ffffff;
  }

  .m-chat-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  }

  .m-chat-header {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid #e5e7eb;
  }

  .m-chat-count {
    color: #6b7280;
    font-weight: 600;
  }

  .m-chat-body {
    padding: 12px 14px;
    display: grid;
    gap: 10px;
  }

  .m-chat-item {
    display: flex;
    gap: 10px;
  }

  .m-chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #4a9b8e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
  }

  .m-chat-avatar-blue {
    background: #5b7c99;
  }

  .m-chat-bubble {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .m-chat-bubble-question {
    background: #fff7ed;
    border: 1px solid #fed7aa;
  }

  .m-chat-meta {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 6px;
  }

  .m-chat-text {
    color: #111827;
  }

  .m-chat-input {
    padding: 10px 14px;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    font-size: 12px;
  }

  .m-chat-file {
    margin-top: 8px;
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
  }

  .m-chat-file-name {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
  }

  .m-chat-file-size {
    font-size: 11px;
    color: #6b7280;
  }

  .m-card-list {
    display: grid;
    gap: 12px;
  }

  .m-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    background: #f9fafb;
  }

  .m-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .m-card-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
  }

  .m-card-btn {
    width: 100%;
  }

  .m-full {
    width: 100%;
  }

  .m-search input {
    width: 100%;
  }

  .mevent-page .filter-input {
    padding-left: 14px;
  }

  .mevent-page .date-input {
    padding-left: 12px;
  }

  .m-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .m-filter-row .date-input {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
  }

  .m-filter-sep {
    color: #9ca3af;
    font-size: 14px;
    flex: 0 0 12px;
    text-align: center;
  }

  .m-chip-group-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
    background: #ffffff;
  }

  .m-chip-label {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 8px;
  }

  .m-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
  }

  .m-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 12px;
  }

  .m-chip input {
    accent-color: #2563eb;
  }

  .mevent-page .layout,
  .mevent-page .sidebar,
  .mevent-page .toolbar {
    display: none;
  }

  .mevent-page .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mevent-page .event-card {
    min-height: auto;
    max-width: 100%;
  }

  .mbroadcast-page .header-nav,
  .mplayrec-page .header-nav {
    display: none;
  }

  .mbroadcast-page .broadcast-main,
  .mplayrec-page .broadcast-main {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .mbroadcast-page .video-panel,
  .mplayrec-page .video-panel {
    width: 100%;
  }

  .mbroadcast-page .side-panel,
  .mplayrec-page .side-panel {
    width: 100%;
    max-width: none;
  }

  .mbroadcast-page .session-meta,
  .mplayrec-page .session-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }

  .mbroadcast-page .video-stage,
  .mplayrec-page .video-stage {
    width: 100%;
  }

  .motion-main {
    min-height: 100vh;
    padding: 24px 0 32px;
  }

  .motion-stage {
    position: relative;
    min-height: calc(100vh - 80px);
    margin: 0 24px;
    border-radius: 28px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.2), transparent 55%),
      radial-gradient(circle at 20% 70%, rgba(20, 184, 166, 0.25), transparent 60%),
      #0b1220;
    display: grid;
    place-items: center;
  }

  .motion-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .motion-grid {
    background-image:
      linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.5;
    animation: gridShift 18s linear infinite;
  }

  .motion-glow {
    filter: blur(90px);
    opacity: 0.7;
  }

  .motion-glow-a {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8), transparent 70%);
    animation: floatA 12s ease-in-out infinite;
  }

  .motion-glow-b {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.8), transparent 70%);
    animation: floatB 14s ease-in-out infinite;
  }

  .motion-glow-c {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.6), transparent 70%);
    animation: floatC 16s ease-in-out infinite;
  }

  .motion-orbit {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    animation: orbitSpin 26s linear infinite;
  }

  .orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.3);
  }

  .orbit-ring-inner {
    inset: 90px;
    border-color: rgba(148, 163, 184, 0.2);
  }

  .orbit-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  }

  .orbit-dot-1 { top: 40px; left: 50%; transform: translateX(-50%); }
  .orbit-dot-2 { right: 80px; bottom: 110px; background: #f97316; box-shadow: 0 0 12px rgba(249, 115, 22, 0.8); }
  .orbit-dot-3 { left: 70px; bottom: 140px; background: #a78bfa; box-shadow: 0 0 12px rgba(167, 139, 250, 0.8); }

  .motion-card {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 32px 36px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(8px);
    max-width: 560px;
  }

  .motion-eyebrow {
    letter-spacing: 0.3em;
    font-size: 12px;
    color: #93c5fd;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .motion-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
    margin-bottom: 10px;
  }

  .motion-sub {
    font-size: 16px;
    color: #cbd5f5;
    margin-bottom: 20px;
  }

  .motion-bars {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    height: 56px;
    align-items: end;
  }

  .motion-bars span {
    display: block;
    height: 20%;
    border-radius: 999px;
    background: linear-gradient(180deg, #38bdf8, #6366f1);
    animation: barPulse 1.4s ease-in-out infinite;
  }

  .motion-bars span:nth-child(2n) { animation-delay: 0.1s; }
  .motion-bars span:nth-child(3n) { animation-delay: 0.2s; }
  .motion-bars span:nth-child(4n) { animation-delay: 0.3s; }

  .motion-ticker {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0.7;
  }

  .motion-ticker-track {
    display: inline-flex;
    gap: 40px;
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: #94a3b8;
    animation: tickerMove 16s linear infinite;
  }

  @keyframes gridShift {
    0% { transform: translateY(0); }
    100% { transform: translateY(120px); }
  }

  @keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  @keyframes floatA {
    0%, 100% { transform: translate(-10%, -6%); }
    50% { transform: translate(6%, 8%); }
  }

  @keyframes floatB {
    0%, 100% { transform: translate(12%, 10%); }
    50% { transform: translate(-8%, -6%); }
  }

  @keyframes floatC {
    0%, 100% { transform: translate(-8%, 10%); }
    50% { transform: translate(8%, -4%); }
  }

  @keyframes barPulse {
    0%, 100% { height: 20%; opacity: 0.6; }
    50% { height: 100%; opacity: 1; }
  }

  @keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @media (max-width: 900px) {
    .motion-orbit { width: 360px; height: 360px; }
    .motion-stage { margin: 0 16px; }
    .motion-card { padding: 26px 24px; }
  }

  @media (max-width: 600px) {
    .motion-main { padding: 16px 0 24px; }
    .motion-stage { min-height: calc(100vh - 120px); }
    .motion-bars { height: 40px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .motion-grid,
    .motion-glow,
    .motion-orbit,
    .motion-bars span,
    .motion-ticker-track {
      animation: none;
    }
  }
  
  /* 버튼 공통 -------------------------------------------------- */
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition:
      background 0.15s ease,
      color 0.15s ease,
      border-color 0.15s ease,
      transform 0.12s ease,
      box-shadow 0.12s ease;
  }
  
  .btn:active {
    transform: translateY(1px);
    box-shadow: none;
  }
  
  /* 기본 outline 버튼(다른 페이지에서도 사용 가능) */
  .btn-outline {
    background: #ffffff;
    color: #4b5563;
    border-color: #e5e7eb;
  }
  
  .btn-outline:hover {
    background: #f3f4f6;
    color: #111827;
  }
  
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:disabled,
.btn-primary:disabled:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}
  
  @media (min-width: 640px) {
    .header-inner {
      padding-left: 24px;
      padding-right: 24px;
    }
  }

  @media (min-width: 768px) {
    .header-actions {
      display: flex;
    }

    .header-mobile-menu {
      display: none;
    }
  }

  @media (min-width: 1024px) {
    .header-inner {
      padding-left: 80px;
      padding-right: 80px;
    }
  }
  
  /* MAIN -------------------------------------------------- */
  
  .section-muted {
    background: transparent;
    width: 100%;
    min-height: calc(100vh - 80px);
    padding-top: 48px;
    padding-bottom: 96px;
  }
  
  .section-muted > .container {
    width: 100%;
    max-width: 1280px;
  }
  
  /* SIGNUP WRAPPER ------------------------------------------ */
  
  .signup-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  
  .signup-header {
    text-align: center;
  }
  
  .signup-title {
    font-size: clamp(32px, 3.6vw, 40px);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    color: #111827;
  }
  
  .signup-title span {
    color: #111827;
  }
  
  .signup-sub {
    font-size: 18px;
    color: #4b5563;
    letter-spacing: -0.01em;
  }
  
  /* 상단 탭 (로그인 / 회원가입) ------------------------------ */
  
.signup-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.auth-page-title {
  font-size: 32px;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #111827;
  text-align: center;
}
  
  .signup-main-top-tabs {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  /* 공통 탭 바 */
  .auth-tabs {
    display: flex;
    padding: 4px;
    background: #eef0f5;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    gap: 0;
  }
  
  /* 상단 탭은 폭 넓게 */
  .signup-main-top-tabs .auth-tabs {
    width: 100%;
    max-width: 720px;
  }
  
  /* 카드 내부 탭 (일반 / 간편) ----------------------------- */
  
  .signup-subtabs {
    margin: 8px 0 18px;
    display: flex;
    justify-content: center;
  }
  
  .signup-subtabs .auth-tabs {
    width: 100%;
    max-width: 480px;
  }
  
  /* 공통 탭 버튼 스타일 */
  
  .auth-tab {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    color: #4b5563;
    white-space: nowrap;
    transition:
      background 0.15s ease,
      color 0.15s ease,
      box-shadow 0.15s ease;
  }
  
  .auth-tab span {
    display: inline-block;
  }
  
  .auth-tab svg {
    width: 20px;
    height: 20px;
  }
  
  .auth-tab.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  }
  
  /* 카드 -------------------------------------------------- */
  
  .auth-card {
    padding: 32px 40px 30px;
  }
  
  .signup-card-header {
    margin-bottom: 12px;
  }
  
  .auth-card-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: -0.03em;
  }
  
  .auth-card-sub {
    font-size: 17px;
    color: #6b7280;
    margin-bottom: 18px;
    text-align: center;
  }
  
  /* 폼 -------------------------------------------------- */
  
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
  
  .auth-label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
  }
  
.auth-input-wrap {
  position: relative;
  width: 100%;
}

.auth-input-wrap svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.auth-input-wrap svg:not(.email-suffix-icon):not(.password-suffix-icon) {
  left: 14px;
}

.email-suffix-icon,
.password-suffix-icon {
  position: absolute;
  right: 12px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #10b981;
  pointer-events: none;
}

.auth-input-wrap svg.email-suffix-icon,
.auth-input-wrap svg.password-suffix-icon {
  color: #10b981;
}
  
.auth-input {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
  background: #f9fafb;
  color: #111827;
}

#signup-email.auth-input, #signup-password-confirm.auth-input {
  padding-right: 52px;
}
  
.auth-input:focus {
  border-color: #1849a9;
  box-shadow: 0 0 0 3px rgba(24, 73, 169, 0.14);
  background: #f9fafb;
}

.auth-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
  background: #fff5f5;
}

.auth-input.success {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
  background: #f6fffb;
}
  
  .auth-input::placeholder {
    color: var(--muted-foreground);
    font-weight: 400;
  }
  
  textarea.auth-input {
    resize: none;
    min-height: 96px;
    padding: 10px 12px;
    background: #f9fafb;
  }
  
  /* select ------------------------------------------- */
  
  .select-wrap {
    position: relative;
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    box-sizing: border-box;
    overflow: hidden;
    transition:
      border-color 0.15s ease,
      box-shadow 0.15s ease,
      background-color 0.15s ease;
  }

  .select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #6b7280;
    border-bottom: 1.5px solid #6b7280;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
  }
  
  .select-wrap:focus-within {
    border-color: #1849a9;
    box-shadow: 0 0 0 3px rgba(24, 73, 169, 0.14);
    background: #ffffff;
  }
  
  .select-input {
    width: 100%;
    border: none;
    min-height: 46px;
    padding: 0 40px 0 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    outline: none;
    background: transparent;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #111827;
  }

  .select-input.is-placeholder {
    color: var(--muted-foreground);
  }

  .select-input option {
    color: #111827;
  }
  
  /* row 레이아웃 ----------------------------------- */
  
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  @media (min-width: 768px) {
    .form-row-2 {
      grid-template-columns: 1fr 1fr;
    }
  }
  
.email-row {
  display: grid;
  grid-template-columns: 5.6fr 1fr;
  gap: 8px;
  align-items: stretch;
  }
  
  @media (max-width: 600px) {
  .email-row {
    grid-template-columns: 1fr;
  }
}

.email-verify-row {
  margin-top: 8px;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.email-verify-container {
  display: none;
}

.email-verify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

/* 이메일 인증발송 버튼 ------------------------------ */

/* 이메일 인증발송 버튼 — 좁은 폭 + 초록 호버 */
.email-send-btn {
    height: 46px;
    padding: 0 24px;
    min-width: 132px;
    border-radius: 10px;
    border: 2px solid #1849a9;
    background: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 8px;
    color: #1849a9;
    white-space: nowrap;                           /* 줄바꿈 방지 */
    transition:
      background 0.15s ease,
      border-color 0.15s ease,
      color 0.15s ease;
  }
  
  .email-send-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
  }
  
.email-send-btn:hover {
  background: #edf2f6;
  border-color: #1849a9;
  color: #1849a9;
}

.email-send-btn:hover svg {
  stroke: currentColor;
}

.email-send-btn:disabled,
.email-send-btn:disabled:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.email-send-btn.verified,
.email-send-btn.verified:hover,
.email-send-btn.verified:active,
.email-send-btn.verified:focus {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
  transition: none;
  box-shadow: none;
}

.email-verify-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.email-timer {
  font-size: 17px;
  color: #ef4444;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field-error {
  margin-top: 6px;
  font-size: 14px;
  color: #ef4444;
}

.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 2000;
}

.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 630px);
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  display: none;
  z-index: 2001;
}

.success-modal h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-modal p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
  font-size: 15px;
}

.success-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.success-close:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.success-banner {
  margin-top: 14px;
  padding: 12px 14px;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  color: #166534;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
  
  .email-verify-btn {
    height: 46px;
    padding: 0 18px;
    border-radius: 10px;
    border: 0;
    background: #1849a9;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  }
  
  .email-verify-btn:hover {
    background: #0a3176;
  }
  
  .email-verify-btn:active {
    transform: translateY(1px);
  }

  .email-verify-btn:disabled,
  .email-verify-btn:disabled:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
  }
  
  /* 약관 ---------------------------------------------- */
  
  .terms-block {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    color: #111827;
  }
  
  .terms-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
  }

  .terms-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 8px;
  }

  .terms-item label {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #111827;
    cursor: pointer;
  }

  .terms-optional-label {
    line-height: 1.625;
  }
  
  .terms-item input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
  }
  
  .terms-item span.badge {
    font-size: 16px;
    color: #ef4444;
    margin-left: 2px;
  }
  
  .terms-item span.badge.optional {
    color: var(--muted-foreground);
  }
  
  .terms-link {
    color: var(--primary);
    cursor: pointer;
    margin-left: 0;
    font-weight: 400;
    font-size: 16px;
    white-space: nowrap;
    border: 0;
    background: transparent;
    padding: 0;
  }
  
  .terms-link:hover {
    text-decoration: underline;
  }
  
  /* 폼 하단 ---------------------------------------------- */
  
.auth-submit {
  margin-top: 18px;
}

.auth-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-actions .btn {
  width: 100%;
  border-radius: 12px;
  min-height: 52px;
  justify-content: center;
  padding: 0 12px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: none;
}

.auth-cancel-btn {
  border: 2px solid #d1d5db;
  background: #ffffff;
  color: #111827;
}

.auth-cancel-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.auth-actions .btn-primary {
  border: 0;
  background: var(--blue-600);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(24, 73, 169, 0.18);
}

.auth-actions .btn-primary:hover {
  background: var(--blue-600);
}

.auth-actions .btn-primary:active {
  background: #0a3176;
}

.auth-actions .btn-primary svg {
  color: #ffffff;
}

.auth-actions .btn-primary:disabled,
.auth-actions .btn-primary:disabled:hover {
  background: #b2ddff;
  color: var(--blue-400);
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.auth-actions .btn-primary:disabled svg,
.auth-actions .btn-primary:disabled:hover svg {
  color: var(--blue-400);
  opacity: 1;
}
  
  .auth-bottom {
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
  }
  
  .auth-bottom a {
    color: var(--primary);
    font-weight: 500;
  }
  
  /* FOOTER -------------------------------------------------- */
  
  footer {
    background: #111827;
    color: #ffffff;
    margin-top: 0;
  }

  .mevent-page .footer-main {
    padding: 3rem 12px;
  }
  
  .footer-banner {
    background: linear-gradient(to right, #3b82f6, #14b8a6);
    padding: 16px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: -0.01em;
    font-size: 18px;
  }
  
  .footer-main {
    padding: 48px 0 34px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: 2fr 1fr;
    }
  }
  
  .footer-logo-box {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #4b5563;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 22px;
  }
  
  .footer-desc {
    color: #d1d5db;
    font-size: 17px;
    margin-bottom: 20px;
    max-width: 480px;
    letter-spacing: -0.01em;
  }
  
  .footer-links {
    display: flex;
    gap: 18px;
    font-size: 16px;
    color: #9ca3af;
    margin-top: 28px;
  }
  
  .footer-links a:hover {
    color: var(--primary);
  }
  
  .contact-title {
    font-size: 21px;
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  
  .contact-item {
    display: flex;
    gap: 10px;
    font-size: 17px;
    color: #e5e7eb;
    margin-bottom: 10px;
    align-items: center;
  }
  
  .contact-item span.label {
    min-width: 46px;
    color: #9ca3af;
    font-size: 16px;
  }
  
.footer-bottom {
  border-top: 1px solid #374151;
  padding: 20px 0 12px;
  font-size: 15px;
  color: #9ca3af;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
  }
  
  @media (min-width: 768px) {
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  }
  
  /* TOAST -------------------------------------------------- */
  
  .toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    min-width: 260px;
    max-width: 360px;
    padding: 14px 18px;
    background: #ffffff;
    color: #111827;
    font-size: 0.9rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .toast.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .toast-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #34d399;
  }
  
  .toast-message {
    line-height: 1.5;
  }
  
  /* 유틸 -------------------------------------------------- */
  
  .flex {
    display: flex;
    align-items: center;
  }
  
  .space-x-4 > * + * {
    margin-left: 16px;
  }
  
  .text-gray-400 {
    color: #9ca3af;
  }
  
  .hover\:text-primary:hover {
    color: var(--primary);
  }
  
  .transition-colors {
    transition-property: color;
  }
  
  .duration-200 {
    transition-duration: 0.2s;
  }
  
  .footer-main svg {
    vertical-align: middle;
  }
  
  .footer-main .flex svg {
    width: 22px;
    height: 22px;
    opacity: 0.9;
  }

  .footer-v3 .footer-v3-banner {
    margin-top: 96px;
  }

  .footer-v3 .footer-v3-banner-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .footer-v3 .footer-v3-body {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .footer-v3 .footer-v3-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-v3 .footer-v3-brand {
    max-width: none;
  }

  .footer-v3 .footer-v3-brand > p {
    margin: 0 0 24px;
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.625;
    letter-spacing: -0.01em;
  }

  .footer-v3 .footer-v3-contact-wrap {
    display: block;
    justify-content: flex-start;
  }

  .footer-v3 .footer-v3-contact-list {
    display: grid;
    gap: 12px;
  }

  .footer-v3 .footer-v3-bottom {
    border-top: 1px solid #374151;
    margin-top: 48px;
    padding-top: 32px;
  }

  .footer-v3 .footer-v3-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-v3 .footer-v3-policy-links {
    display: flex;
    gap: 24px;
  }

  @media (min-width: 768px) {
    .footer-v3 .footer-v3-banner {
      margin-top: 128px;
    }

    .footer-v3 .footer-v3-body {
      padding-top: 64px;
      padding-bottom: 64px;
    }

    .footer-v3 .footer-v3-grid {
      grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }

    .footer-v3 .footer-v3-contact-wrap {
      display: flex;
      justify-content: flex-end;
    }

    .footer-v3 .footer-v3-bottom-inner {
      flex-direction: row;
      gap: 16px;
    }
  }
  
  /* REMIND PAGE (계정 찾기) ---------------------------------- */
  
  .remind-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px 72px;
    background: linear-gradient(135deg, #eef4ff 0%, #ffffff 45%, #f2fbff 100%);
  }
  
  .remind-container {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  
  .remind-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 16px;
    padding-left: 6px;
    transition: color 0.15s ease;
  }
  
  .remind-back-link:hover {
    color: var(--primary);
  }
  
  .remind-back-link svg {
    width: 20px;
    height: 20px;
  }
  
  .remind-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 34px 38px 40px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  
  .remind-badge {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #eff3fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .remind-badge svg {
    width: 30px;
    height: 30px;
  }
  
  .remind-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.02em;
  }
  
  .remind-sub {
    color: #6b7280;
    font-size: 17px;
    margin-top: -6px;
  }
  
  .remind-tabs {
    width: 100%;
    max-width: 440px;
    margin: 4px auto 6px;
    padding: 5px;
    background: #f0f2f7;
    border-color: #e3e7ef;
  }
  
  .remind-tabs .auth-tab {
    height: 48px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
    color: #4b5563;
  }
  
  .remind-tabs .auth-tab svg {
    width: 16px;
    height: 16px;
  }
  
  .remind-tabs .auth-tab.active {
    color: #102a61;
    box-shadow: 0 6px 20px rgba(36, 77, 159, 0.16);
  }
  
  .remind-info {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 10px;
    background: #e8f0ff;
    border: 1px solid #cfdbfa;
    color: #1f3156;
    font-size: 15px;
    line-height: 1.5;
  }
  
  .remind-info svg {
    width: 16px;
    height: 16px;
    color: #244d9f;
    margin-top: 2px;
    flex-shrink: 0;
  }
  
  .remind-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .remind-field {
    width: 100%;
  }
  
  .remind-input svg {
    color: #c4cad7;
    width: 18px;
    height: 18px;
  }
  
  .remind-input .auth-input {
    background: #f8fafc;
  }
  
  .remind-phone-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
  }
  
  .remind-send-btn {
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    background: #f9fafb;
    border-color: #d6dae3;
    color: #1f2937;
    font-size: 15px;
  }
  
  .remind-send-btn svg {
    width: 16px;
    height: 16px;
    stroke: #4b5563;
  }
  
  .remind-send-btn:hover {
    background: #eef2f7;
    border-color: #cfd4df;
    color: #0f172a;
  }
  
  @media (max-width: 640px) {
    .remind-card {
      padding: 28px 22px 32px;
      border-radius: 14px;
    }
  
    .remind-title {
      font-size: 24px;
    }
  
    .remind-sub {
      font-size: 15px;
    }
  
    .remind-tabs .auth-tab {
      height: 46px;
      font-size: 15px;
    }
  
    .remind-phone-row {
      grid-template-columns: 1fr;
    }
  
    .remind-send-btn {
      width: 100%;
      justify-content: center;
    }
  }
:host .playback-notice {
  margin: 12px 0;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #172033;
  font: 16px/1.6 sans-serif;
  overflow-wrap: anywhere;
}
:host .playback-notice[hidden], :host .playback-stop[hidden] { display: none; }
:host .playback-notice p { margin: 0 0 12px; }
:host .playback-notice .btn, :host .playback-stop { cursor: pointer; min-height: 44px; padding: 8px 16px; }
:host .playback-stop { margin: 8px 0; }
:host .playback-notice .btn:focus-visible, :host .playback-stop:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
@media (max-width: 480px) {
  :host .playback-notice { padding: 12px; font-size: 14px; }
}
/* Policy signup and rights requests */
.policy-form-page { max-width: 42rem; margin: 3rem auto; padding: 1.5rem; line-height: 1.7; }
.policy-form-page h1, .policy-form-page h2 { margin: 1.5rem 0 1rem; }
.policy-form-page p { margin: 1rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.policy-form-page form { display: grid; gap: 1rem; }
.policy-form-page input:not([type="checkbox"]), .policy-form-page select, .policy-form-page textarea {
  width: 100%; padding: .75rem; border: 1px solid #cbd5e1; border-radius: .5rem; font: inherit; box-sizing: border-box;
}
.policy-form-page button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 480px) { .policy-form-page { margin: 1rem auto; padding: 1rem; } }

/* Social signup confirmation: reuse the standard signup fields and actions. */
.consent-page {
  --blue-600: #1470ef;
  --blue-400: #53b1fd;
  --muted-foreground: #6b7280;
  background: #f9fafb;
}
.consent-page .header-actions { display: flex; }
.consent-page .signup-wrapper { max-width: 640px; }
.consent-page .signup-main { gap: 28px; }
.consent-page .signup-sub { margin-top: 8px; font-size: 17px; }
.consent-page .consent-card {
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0fdfa80, #fff 45%);
  box-shadow: 0 20px 25px -5px rgb(15 23 42 / 8%), 0 8px 10px -6px rgb(15 23 42 / 6%);
}
.consent-page .auth-form { gap: 20px; }
.consent-page .auth-input { font: inherit; font-size: 16px; }
.consent-required { color: #ef4444; font-size: 13px; }
.consent-email-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 16px;
}
.consent-email-field svg { flex: 0 0 20px; color: #6b7280; }
.consent-email-field p { min-width: 0; overflow-wrap: anywhere; }
.consent-field-hint { font-size: 13px; color: #6b7280; }
.consent-page .consent-terms {
  min-width: 0;
  margin-top: 4px;
  padding-top: 16px;
  border: 0;
  gap: 12px;
}
.consent-terms legend {
  float: left;
  width: 100%;
  margin-bottom: 16px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 16px;
  font-weight: 600;
}
.consent-page .terms-item { align-items: baseline; gap: 10px; }
.consent-page .terms-item input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue-600);
  cursor: pointer;
}
.consent-page .terms-copy { min-width: 0; align-items: baseline; }
.consent-page .terms-item label { padding: 6px 0; }
.consent-page .terms-link { min-height: 36px; padding: 4px; font-size: 14px; }
.consent-page .terms-item span.badge { font-size: 13px; white-space: nowrap; }
.consent-page .consent-optional { padding-top: 12px; border-top: 1px solid #e5e7eb; }
.consent-status {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.consent-page .auth-actions { margin-top: 0; }
.consent-page :focus-visible { outline: 3px solid #1470ef; outline-offset: 3px; }
@media (max-width: 640px) {
  .consent-page .section-muted { padding: 32px 0 48px; }
  .consent-page .section-muted > .container { padding: 0 16px; }
  .consent-page .signup-main { gap: 24px; }
  .consent-page .auth-page-title { font-size: 28px; }
  .consent-page .signup-sub { font-size: 15px; }
  .consent-page .consent-card { padding: 24px 20px; }
  .consent-page .terms-item label { font-size: 14px; }
  .consent-page .auth-actions .btn { font-size: 15px; }
  .consent-page .header-inner { height: 72px; min-height: 72px; }
  .consent-page .header-logo-mark { width: 35px; height: 18px; }
  .consent-page .header-logo-wordmark { width: 134px; height: 16px; }
  .consent-page .header-login-btn { height: 40px; padding: 0 12px; font-size: 14px; }
}
