/*
 * Classy Crew™ v0.20.1 — Editorial Social Club refinement layer.
 * Kept as a final compatibility layer for this release; selectors here become
 * the canonical migration target as legacy bundles are retired safely.
 */
:root{
  --cc-v201-radius-sm:10px;
  --cc-v201-radius-md:16px;
  --cc-v201-radius-lg:20px;
  --cc-v201-body:15px;
  --cc-v201-meta:12px;
  --cc-v201-line:#e8e1d8;
  --cc-v201-surface:#fff;
  --cc-v201-canvas:#f7f5f1;
}

.cc-app-v2{font-size:var(--cc-v201-body);background:var(--cc-v201-canvas)}
.cc-app-v2 :where(button,input,textarea,select){font-family:var(--cc-sans)}
.cc-app-v2 :where(button,a,input,textarea,select,summary,[tabindex]):focus-visible,
.cc-auth-wrap :where(button,a,input,textarea,select):focus-visible{
  outline:3px solid rgba(167,13,26,.28)!important;
  outline-offset:3px;
}
.cc-app-v2 .cc-eyebrow{font-size:11px;line-height:1.35;letter-spacing:.13em}
.cc-app-v2 .cc-section-title p,
.cc-app-v2 .cc-discovery-title a,
.cc-app-v2 .cc-card-head a,
.cc-app-v2 .cc-muted-copy{font-size:var(--cc-v201-meta)}
.cc-app-v2 .cc-section-title h1{font-size:clamp(30px,4vw,42px)}
.cc-app-v2 .cc-section-title h2,
.cc-app-v2 .cc-discovery-title h2{font-size:clamp(21px,2.5vw,28px)}

/* Remove dashboard-like decoration from routine social surfaces. */
.cc-app-v2 .cc-feed-post,
.cc-app-v2 .cc-compose-launch,
.cc-app-v2 .cc-suggestion-card,
.cc-app-v2 .cc-person-card,
.cc-app-v2 .cc-notification,
.cc-app-v2 .cc-connections-section,
.cc-app-v2 .cc-profile-about,
.cc-app-v2 .cc-member-media,
.cc-app-v2 .cc-profile-connections{
  border-color:var(--cc-v201-line);
  box-shadow:none;
}
.cc-app-v2 .cc-feed-post{border-radius:var(--cc-v201-radius-md)}
.cc-app-v2 .cc-feed-post>p{font-size:15px;line-height:1.55}
.cc-app-v2 .cc-feed-post header strong{font-size:14px}
.cc-app-v2 .cc-feed-post header span,
.cc-app-v2 .cc-post-meta{font-size:12px}
.cc-app-v2 .cc-post-actions button{font-size:13px;min-height:42px}
.cc-app-v2 .cc-comment strong{font-size:12px}
.cc-app-v2 .cc-comment p,
.cc-app-v2 .cc-comments form input{font-size:13px}

/* Discover should read as a social home rather than a stack of admin cards. */
.cc-app-v2 .cc-discover-hero{border-radius:var(--cc-v201-radius-lg)}
.cc-app-v2 .cc-discovery-home{display:grid;gap:0}
.cc-app-v2 .cc-discovery-section{margin-block:30px}
.cc-app-v2 .cc-discovery-title{margin-bottom:15px}
.cc-app-v2 .cc-first-look-discover{border-radius:var(--cc-v201-radius-md);box-shadow:none}
.cc-app-v2 .cc-empty{border-radius:var(--cc-v201-radius-md);box-shadow:none}
.cc-app-v2 .cc-empty p{font-size:14px;line-height:1.55}
.cc-app-v2 .cc-empty .cc-btn{margin-top:12px}
.cc-app-v2 .cc-story-card strong{font-size:12px}
.cc-app-v2 .cc-stories-head span{font-size:12px}

/* Profiles and settings keep structure without feeling like nested forms. */
.cc-app-v2 .cc-profile-cover{border-radius:var(--cc-v201-radius-lg);box-shadow:none}
.cc-app-v2 .cc-profile-identity p,
.cc-app-v2 .cc-profile-identity span,
.cc-app-v2 .cc-profile-about :where(p,dt,dd),
.cc-app-v2 .cc-profile-form-v2>label{font-size:13px}
.cc-app-v2 .cc-profile-editor{box-shadow:none}

/* Messaging gets a real page heading and readable metadata. */
.cc-app-v2 .cc-message-toolbar h1{margin:0;font:800 clamp(27px,3vw,36px)/1.1 var(--cc-sans);letter-spacing:-.035em}
.cc-app-v2 .cc-message-toolbar span,
.cc-app-v2 .cc-message-contact small,
.cc-app-v2 .cc-message-contact time{font-size:12px}
.cc-app-v2 .cc-bubble p{font-size:14px}
.cc-app-v2 .cc-bubble span{font-size:11px}

/* Creator link is a labelled, one-tap control instead of a bare readonly box. */
.cc-creator-referral .cc-referral-label{display:block;margin-top:14px;font-size:12px;font-weight:800}
.cc-creator-referral #cc-creator-referral-link{width:100%;margin-top:6px;font-size:13px}
.cc-creator-referral .cc-copy-referral{width:100%;margin-top:7px;min-height:40px}

/* Registration: stable checkbox columns, readable legal copy, native-friendly fields. */
.cc-auth-wrap{padding-inline:clamp(16px,4vw,40px)}
.cc-auth-card{box-shadow:0 18px 50px rgba(35,27,22,.08)}
.cc-auth-card .cc-form :where(input,textarea,select){min-height:52px;font-size:16px}
.cc-auth-card .cc-form label{font-size:14px;line-height:1.4}
.cc-auth-card .cc-form label>small{display:block;margin:4px 0 7px;font-size:12px}
.cc-auth-card .cc-form .cc-check{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  align-items:start!important;
  gap:12px!important;
}
.cc-auth-card .cc-form .cc-check>input[type="checkbox"]{grid-column:1;width:24px!important;height:24px!important;margin:1px 0 0!important}
.cc-auth-card .cc-form .cc-check>span{grid-column:2;min-width:0;font-size:14px;line-height:1.55;word-break:normal;overflow-wrap:anywhere}

/* Never mix desktop/tablet chrome with the phone dock. */
@media (min-width:768px) and (max-width:1000px){
  .cc-mobile-dock,.cc-mobile-dock-v2{display:none!important}
  .cc-app-main{padding-bottom:32px!important}
}

@media (max-width:767px){
  .cc-app-main{padding-inline:14px}
  .cc-app-v2 .cc-discover-hero{border-radius:16px}
  .cc-app-v2 .cc-discover-hero__content h1{font-size:clamp(29px,9vw,38px)}
  .cc-app-v2 .cc-discovery-section{margin-block:24px}
  .cc-app-v2 .cc-discovery-title h2{font-size:22px}
  .cc-app-v2[data-cc-view="feed"] .cc-app-main{padding-inline:0}
  .cc-app-v2[data-cc-view="feed"] .cc-stories,
  .cc-app-v2[data-cc-view="feed"] .cc-compose-launch,
  .cc-app-v2[data-cc-view="feed"] .cc-feed-topics,
  .cc-app-v2[data-cc-view="feed"] .cc-feed-pagination{margin-inline:14px}
  .cc-app-v2[data-cc-view="feed"] .cc-feed-post{border-left:0;border-right:0;border-radius:0}
  .cc-auth-wrap{padding:38px 14px 64px}
  .cc-auth-card{padding:24px 20px;border-radius:20px}
  .cc-auth-card h1{font-size:clamp(36px,11vw,48px);line-height:1.04}
  .cc-auth-card .cc-form-grid{grid-template-columns:minmax(0,1fr)!important}
  .cc-auth-card .cc-span-2{grid-column:1!important}
}

@media (prefers-reduced-motion:reduce){
  .cc-app-v2 *,
  .cc-app-v2 *::before,
  .cc-app-v2 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
