/**
 * PingPlay: /_next 정적 CSS가 로드되지 않을 때(청크 깨짐·경로 문제) 최소 가독성 유지.
 * 정상 빌드에서는 globals.css(Tailwind)가 우선이며, 이 파일은 보조입니다.
 */

/* globals.css 와 동일: Tailwind 번들이 없을 때도 var(--m3-*)·배경색이 동작하도록 */
:root {
  --pp-navy: #312e81;
  --pp-blue: #6d28d9;
  --background: #f6f8fb;
  --foreground: #1a1a1a;
  --m3-primary: #6d28d9;
  --m3-on-primary: #ffffff;
  --m3-primary-container: #d3e3fd;
  --m3-accent: #fb8c00;
  --m3-surface: #ffffff;
  --m3-surface-dim: #f8f9fa;
  --m3-surface-container: #e8eef4;
  --m3-on-surface: #1f1f1f;
  --m3-on-surface-variant: #5f6368;
  --m3-outline: #dadce0;
  --m3-shape-xl: 24px;
  --m3-shape-l: 16px;
  --m3-state-hover-opacity: 0.08;
  --m3-state-pressed-opacity: 0.12;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #f6f8fb;
  color: #1a1a1a;
  line-height: 1.5;
}

/* Tailwind `min-h-screen` 미적용 시에도 본문이 보이도록 */
body.pp-app {
  min-height: 100vh;
}

a {
  color: #6d28d9;
  text-decoration: none;
}

a:hover {
  color: #5b21b6;
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  padding: 0.4rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #fff;
  cursor: pointer;
}

button:hover {
  background: #f8fafc;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="search"],
select {
  padding: 0.45rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #fff;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #312e81;
}

h2,
h3 {
  font-weight: 600;
  color: #312e81;
}

ul {
  padding-left: 1.25rem;
}

pre,
code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
}

/* -------------------------------------------------------------------------- */
/* 클럽 생성(/club/create/*): _next CSS·Tailwind CDN이 실패해도 레이아웃 유지    */
/* -------------------------------------------------------------------------- */
.pp-club-create-root {
  min-height: 100vh;
  background: linear-gradient(180deg, #eef3f9 0%, #f8fafc 100%);
}

.pp-club-create-header {
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.92);
}

.pp-club-create-header-row {
  box-sizing: border-box;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}

.pp-club-create-header-row > span:nth-child(2) {
  font-size: 0.875rem;
  font-weight: 700;
  color: #312e81;
}

.pp-club-create-main {
  box-sizing: border-box;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem;
}

.pp-club-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #312e81;
}

.pp-club-lead {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}

.pp-club-card {
  margin-top: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pp-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.pp-stepper-item {
  box-sizing: border-box;
  display: inline-block;
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.pp-stepper-item--current {
  background: #6d28d9;
  color: #fff;
}

.pp-stepper-item--done {
  background: #d1fae5;
  color: #065f46;
}

.pp-stepper-item--todo {
  background: #f1f5f9;
  color: #64748b;
}

.pp-stepper-item--disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

/* 숨김 파일 입력: Tailwind `.hidden` 없을 때 네이티브 "파일 선택" 노출 방지 */
.pp-visually-hidden-file {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pp-club-logo-stack > * + * {
  margin-top: 1.5rem;
}

.pp-club-logo-panel {
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.9);
  padding: 1rem;
}

.pp-club-logo-panel > p:first-child {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}

.pp-club-logo-panel > p:nth-child(2) {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}

.pp-club-logo-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
  padding: 0.25rem 0;
}

.pp-club-logo-divider > span {
  flex: 1 1 0;
  min-width: 0.5rem;
  height: 1px;
  background: #e2e8f0;
}

.pp-alert-warn {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #78350f;
}

.pp-alert-err {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #fecaca;
  background: #fef2f2;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #991b1b;
}

.pp-footer-link {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

/* -------------------------------------------------------------------------- */
/* 대시보드(/dashboard): Tailwind·번들 CSS 실패 시 레이아웃·카드·폼 가독성      */
/* -------------------------------------------------------------------------- */
.pp-dashboard {
  box-sizing: border-box;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
  min-height: 100vh;
}

.pp-dashboard .pp-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.pp-dashboard h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #312e81;
}

.pp-dashboard .pp-dash-lead {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}

.pp-dashboard .pp-dash-navlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0.5rem 0 0;
  padding: 0;
}

.pp-dashboard .pp-dash-navlinks a {
  font-size: 0.875rem;
  font-weight: 500;
}

.pp-dash-banner {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.pp-dash-banner--emerald {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
}

.pp-dash-banner--sky {
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0c4a6e;
}

.pp-dash-banner--amber {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #78350f;
}

.pp-dash-banner--red {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.pp-dashboard section {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pp-dashboard section h2 {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #312e81;
}

.pp-dashboard section > p {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
}

.pp-dashboard .pp-dash-section-amber {
  border-color: #fcd34d;
  background: rgba(255, 251, 235, 0.65);
}

.pp-dashboard .pp-dash-section-amber h2 {
  color: #78350f;
}

.pp-dashboard section.pp-dash-search-hero {
  border-color: #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pp-dashboard section.pp-dash-search-hero h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #312e81;
}

.pp-dashboard section.pp-dash-search-hero > p {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
}

.pp-dashboard section.pp-dash-search-hero .pp-dash-field label {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.pp-dashboard form.pp-dash-search {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: stretch;
}

.pp-dashboard .pp-dash-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}

.pp-dashboard .pp-dash-field input[type="text"],
.pp-dashboard .pp-dash-field input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0.25rem;
}

.pp-dashboard .pp-dash-callout {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #bae6fd;
  background: rgba(240, 249, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.5;
  color: #0c4a6e;
}

.pp-dashboard .pp-dash-card-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pp-dashboard h2.pp-dash-h2 {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.pp-dashboard h2.pp-dash-h2-spaced {
  margin-top: 2.5rem;
}

.pp-dashboard ul.pp-dash-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.pp-dashboard ul.pp-dash-list > li {
  margin-top: 0.65rem;
}

.pp-dashboard ul.pp-dash-list > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pp-dashboard ul.pp-dash-list > li > a:hover {
  border-color: rgba(46, 117, 182, 0.45);
}

.pp-dashboard .pp-dash-footer {
  margin-top: 2.5rem;
  text-align: center;
}

.pp-dashboard .pp-dash-footer a {
  font-size: 0.875rem;
}

/* 검색·만들기 제출 버튼 등 (색상 변형은 더 구체적으로 덮어씀) */
.pp-dashboard button[type="submit"] {
  background: #1e293b;
  color: #fff;
  border: 1px solid #0f172a;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.pp-dashboard button[type="submit"]:hover {
  background: #0f172a;
}

.pp-dashboard button[type="submit"].pp-dash-btn-blue {
  background: #6d28d9;
  border-color: #5b21b6;
}

.pp-dashboard button[type="submit"].pp-dash-btn-blue:hover {
  background: #5b21b6;
}

.pp-dashboard button[type="submit"].pp-dash-btn-emerald {
  background: #059669;
  border-color: #047857;
  color: #fff;
}

.pp-dashboard button[type="submit"].pp-dash-btn-emerald:hover {
  background: #047857;
}

.pp-dashboard button[type="submit"].pp-dash-btn-outline {
  background: #fff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.pp-dashboard button[type="submit"].pp-dash-btn-outline:hover {
  background: #f8fafc;
}

.pp-dashboard li.pp-dash-card-li {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #f1f5f9;
  margin-top: 0.65rem;
}

.pp-dashboard li.pp-dash-card-li--neutral {
  background: rgba(248, 250, 252, 0.9);
  border-color: #f1f5f9;
}

.pp-dashboard li.pp-dash-card-li--amber {
  border-color: #fef3c7;
}

.pp-dashboard li.pp-dash-card-li .pp-dash-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .pp-dashboard li.pp-dash-card-li {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 640px) {
  .pp-dashboard form.pp-dash-search {
    flex-direction: row;
    align-items: flex-end;
  }

  .pp-dashboard form.pp-dash-search .pp-dash-field {
    flex: 1;
    min-width: 0;
  }

  .pp-dashboard .pp-dash-card-form {
    flex-direction: row;
    align-items: flex-end;
  }

  .pp-dashboard .pp-dash-card-form .pp-dash-field {
    flex: 1;
    min-width: 0;
  }
}

/* -------------------------------------------------------------------------- */
/* 클럽하우스 /club/[clubId]/* : Tailwind·번들 CSS 실패 시 레이아웃·내비·카드      */
/* -------------------------------------------------------------------------- */

.pp-club-house-root {
  box-sizing: border-box;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  padding: 1.5rem 1rem;
}

.pp-club-house-root *,
.pp-club-house-root *::before,
.pp-club-house-root *::after {
  box-sizing: border-box;
}

.pp-club-house-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .pp-club-house-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.pp-club-house-main-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pp-club-house-main-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .pp-club-house-sidebar {
    width: 14rem;
    flex-shrink: 0;
  }

  .pp-club-house-content {
    flex: 1;
    min-width: 0;
  }
}

.pp-club-house-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 사이드바: 데스크톱에서만 "Club OS"·초대 문구 */
.pp-club-os-label {
  display: none;
  margin: 0;
  padding: 0 0.25rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m3-on-surface-variant);
}

.pp-club-invite-meta {
  display: none;
  margin: 0;
  padding: 0 0.25rem;
  font-size: 10px;
  color: var(--m3-on-surface-variant);
}

@media (min-width: 1024px) {
  .pp-club-os-label,
  .pp-club-invite-meta {
    display: block;
  }
}

.pp-club-hub-link {
  display: block;
  margin-top: 0.5rem;
  border-radius: var(--m3-shape-l);
  border: 1px solid rgba(251, 140, 0, 0.45);
  background: rgba(251, 140, 0, 0.12);
  padding: 0.6rem 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--m3-accent);
  text-decoration: none;
}

.pp-club-hub-link:hover {
  background: rgba(251, 140, 0, 0.2);
}

/* 내비 레일: 모바일 가로 스크롤 / 데스크톱 세로 */
.pp-club-navrail {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  border-radius: var(--m3-shape-xl);
  border: 1px solid rgba(218, 220, 224, 0.65);
  background: var(--m3-surface-container);
  padding: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pp-club-navrail a {
  position: relative;
  display: flex;
  min-width: 4.5rem;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border-radius: var(--m3-shape-l);
  padding: 0.5rem 0.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--m3-on-surface-variant);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.pp-club-navrail a:hover {
  background: rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
  .pp-club-navrail {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0.5rem;
  }

  .pp-club-navrail a {
    min-width: 0;
    width: 100%;
  }
}

/* GiantButton 폴백 */
a.pp-giant-btn {
  display: inline-flex;
  min-height: 3rem;
  min-width: 10rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}

a.pp-giant-btn--gold {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #422006;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.12);
}

a.pp-giant-btn--gold:hover {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

a.pp-giant-btn--primary {
  background: #6d28d9;
  color: #fff;
}

a.pp-giant-btn--primary:hover {
  background: #5b21b6;
}

a.pp-giant-btn--neutral {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
}

a.pp-giant-btn--neutral:hover {
  background: #f8fafc;
}

a.pp-giant-btn--cta {
  background: linear-gradient(90deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.12);
}

a.pp-giant-btn--cta:hover {
  filter: brightness(1.05);
}

/* 출석부 · 퀵 카드 · 피드 */
.pp-club-attendance {
  border-radius: 1rem;
  border: 1px solid #bae6fd;
  background: rgba(224, 242, 254, 0.65);
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #0c4a6e;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pp-club-attendance h2 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pp-navy);
}

.pp-club-quick-cards {
  display: grid;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
  .pp-club-quick-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pp-club-quick-card {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
}

.pp-club-quick-card h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pp-navy);
}

.pp-club-quick-card p {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #64748b;
}

a.pp-club-btn {
  display: inline-flex;
  margin-top: 0.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}

a.pp-club-btn--blue {
  background: #6d28d9;
}

a.pp-club-btn--blue:hover {
  background: #5b21b6;
}

a.pp-club-btn--navy {
  background: #312e81;
}

a.pp-club-btn--navy:hover {
  background: #163f5b;
}

.pp-club-feed {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pp-club-feed h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pp-navy);
}

.pp-club-feed-post {
  list-style: none;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pp-club-feed ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.pp-club-ops section {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pp-club-ops h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--pp-navy);
}

.pp-club-ops > p + h2 {
  margin-top: 1.5rem;
}

.pp-club-ops ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.pp-club-ops li {
  list-style: none;
}

.pp-club-ops > p {
  margin: 0;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.9);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}

.pp-club-feed-post.pp-club-feed-empty {
  border-style: dashed;
  border-color: #cbd5e1;
  background: #f8fafc;
  text-align: center;
  color: #64748b;
}

.pp-club-banner {
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  line-height: 1.45;
  border: 1px solid transparent;
}

.pp-club-banner--amber {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #78350f;
  font-size: 0.875rem;
}

.pp-club-banner--emerald {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.875rem;
}

/* 일정 달력: 그리드·툴바 */
.pp-club-schedule-cal {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.75rem;
}

.pp-cal-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pp-cal-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 월 이동: 다른 레이어에 가려지지 않도록 · 터치 300ms 지연 완화 */
.pp-club-schedule-cal .pp-cal-nav button.pp-cal-month-btn,
.pp-club-schedule-cal .pp-cal-head-row > button {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.pp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.pp-cal-grid--weekdays > div:nth-child(1),
.pp-cal-grid--weekdays > div:nth-child(7) {
  color: #dc2626;
}

.pp-cal-grid--weekdays > div:nth-child(2),
.pp-cal-grid--weekdays > div:nth-child(3),
.pp-cal-grid--weekdays > div:nth-child(4),
.pp-cal-grid--weekdays > div:nth-child(5),
.pp-cal-grid--weekdays > div:nth-child(6) {
  color: #64748b;
}

.pp-cal-grid--cells .pp-cal-cell {
  min-height: 5.5rem;
  border-radius: 0.5rem;
  border: 1px solid #f1f5f9;
  background: rgba(248, 250, 252, 0.85);
  padding: 0.35rem;
}

.pp-cal-grid--cells .pp-cal-cell.pp-cal-today {
  border-color: #6d28d9;
  background: #e8f2fa;
  box-shadow: inset 0 0 0 1px rgba(46, 117, 182, 0.25);
}

.pp-cal-date-red {
  color: #dc2626;
}

button.pp-giant-btn {
  display: inline-flex;
  min-height: 3rem;
  min-width: 10rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  border: 1px solid transparent;
}

button.pp-giant-btn--neutral {
  border-color: #cbd5e1;
  background: #fff;
  color: #1e293b;
}

button.pp-giant-btn--neutral:hover {
  background: #f8fafc;
}

button.pp-giant-btn--cta {
  background: linear-gradient(90deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.12);
}

button.pp-giant-btn--cta:hover {
  filter: brightness(1.05);
}
