/* ========================================
   Stitch Newsletter Design System
   반응형 디자인 - 웹/모바일 지원
   ======================================== */

/* ========================================
   CSS Variables
   ======================================== */
:root {
  /* Stitch Colors */
  --stitch-lavender: #7B7BA8;
  --stitch-lavender-soft: #A4A4CB;
  --stitch-lavender-light: #C4C4E0;
  --stitch-golden: #F5C542;
  --stitch-golden-light: #FFE082;
  --stitch-golden-dark: #E5B532;
  --stitch-cream: #F5F2EB;
  --stitch-cream-light: #FAFAF8;
  --stitch-navy: #2D2D4A;
  --stitch-navy-light: #3D3D5A;
  --stitch-deep-purple: #1A1A2E;
  --stitch-border: #E8E6E1;
  --stitch-text-muted: #5C5C6A;

  /* Typography */
  --stitch-font-display: 'DM Serif Display', Georgia, serif;
  --stitch-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --stitch-space-xs: 4px;
  --stitch-space-sm: 8px;
  --stitch-space-md: 16px;
  --stitch-space-lg: 24px;
  --stitch-space-xl: 32px;
  --stitch-space-2xl: 48px;

  /* Border Radius */
  --stitch-radius-sm: 8px;
  --stitch-radius-md: 12px;
  --stitch-radius-lg: 16px;
  --stitch-radius-xl: 24px;
  --stitch-radius-full: 9999px;

  /* Shadows */
  --stitch-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --stitch-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --stitch-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --stitch-shadow-golden: 0 4px 16px rgba(245, 197, 66, 0.4);

  /* Layout */
  --stitch-max-width-mobile: 430px;
  --stitch-max-width-tablet: 768px;
  --stitch-max-width-desktop: 1200px;
  --stitch-header-height: 60px;
  --stitch-bottom-nav-height: 72px;
}

/* ========================================
   Base Styles
   ======================================== */
.stitch-app {
  position: relative;
  min-height: 100vh;
  background: var(--stitch-cream);
  font-family: var(--stitch-font-body);
  color: var(--stitch-navy);
  padding-bottom: var(--stitch-bottom-nav-height);
  overflow-x: hidden;
}

/* Desktop: Center content with max-width */
@media (min-width: 768px) {
  .stitch-app {
    max-width: var(--stitch-max-width-mobile);
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
  }

  .stitch-app--wide {
    max-width: var(--stitch-max-width-desktop);
  }
}

/* ========================================
   Gradient Background
   ======================================== */
.stitch-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(180deg,
    var(--stitch-lavender-light) 0%,
    var(--stitch-lavender-soft) 50%,
    var(--stitch-lavender) 100%
  );
  z-index: 0;
}

.stitch-gradient-bg--short {
  height: 200px;
}

/* ========================================
   Header
   ======================================== */
.stitch-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--stitch-space-md) var(--stitch-space-lg);
  height: var(--stitch-header-height);
}

.stitch-header--sticky {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stitch-border);
}

.stitch-header__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--stitch-radius-full);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stitch-navy);
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.stitch-header__btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.stitch-header__btn--solid {
  background: white;
  box-shadow: var(--stitch-shadow-sm);
}

.stitch-header__title {
  font-family: var(--stitch-font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--stitch-navy);
  margin: 0;
}

.stitch-header__actions {
  display: flex;
  gap: var(--stitch-space-sm);
}

/* 모바일 전용 헤더 - 태블릿 이상에서 숨김 */
.stitch-header--mobile-only {
  display: flex;
}

@media (min-width: 768px) {
  .stitch-header--mobile-only {
    display: none;
  }
}

/* ========================================
   Avatar
   ======================================== */
.stitch-avatar {
  position: relative;
  display: inline-block;
}

.stitch-avatar__ring {
  border-radius: var(--stitch-radius-full);
  padding: 4px;
  background: linear-gradient(135deg,
    var(--stitch-golden) 0%,
    var(--stitch-golden-light) 50%,
    var(--stitch-golden) 100%
  );
  box-shadow: var(--stitch-shadow-golden);
}

.stitch-avatar--sm .stitch-avatar__ring {
  width: 40px;
  height: 40px;
  padding: 2px;
}

.stitch-avatar--md .stitch-avatar__ring {
  width: 80px;
  height: 80px;
  padding: 3px;
}

.stitch-avatar--lg .stitch-avatar__ring {
  width: 120px;
  height: 120px;
}

.stitch-avatar__img,
.stitch-avatar__placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--stitch-radius-full);
  object-fit: cover;
  background: var(--stitch-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--stitch-font-display);
  color: white;
}

.stitch-avatar--sm .stitch-avatar__placeholder { font-size: 16px; }
.stitch-avatar--md .stitch-avatar__placeholder { font-size: 32px; }
.stitch-avatar--lg .stitch-avatar__placeholder { font-size: 48px; }

.stitch-avatar__badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border-radius: var(--stitch-radius-full);
  background: linear-gradient(135deg, var(--stitch-golden) 0%, var(--stitch-golden-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stitch-navy);
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(245, 197, 66, 0.5);
}

.stitch-avatar--sm .stitch-avatar__badge {
  width: 16px;
  height: 16px;
  font-size: 10px;
  bottom: 0;
  right: 0;
}

/* ========================================
   Profile Section
   ======================================== */
.stitch-profile {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--stitch-space-lg);
}

.stitch-profile__name {
  font-family: var(--stitch-font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--stitch-navy);
  margin: var(--stitch-space-md) 0 var(--stitch-space-xs);
}

.stitch-profile__handle {
  font-family: var(--stitch-font-body);
  font-size: 14px;
  color: var(--stitch-lavender);
  margin: 0;
}

.stitch-profile__actions {
  display: flex;
  justify-content: center;
  gap: var(--stitch-space-md);
  margin-top: var(--stitch-space-lg);
}

/* ========================================
   Metrics
   ======================================== */
.stitch-metrics {
  display: flex;
  justify-content: center;
  gap: var(--stitch-space-xl);
  margin-top: var(--stitch-space-lg);
  padding: var(--stitch-space-lg);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--stitch-radius-lg);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.stitch-metrics__item {
  text-align: center;
}

.stitch-metrics__value {
  display: block;
  font-family: var(--stitch-font-display);
  font-size: 24px;
  color: var(--stitch-navy);
}

.stitch-metrics__label {
  display: block;
  font-family: var(--stitch-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--stitch-lavender);
  margin-top: var(--stitch-space-xs);
}

/* ========================================
   Tabs
   ======================================== */
.stitch-tabs {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: var(--stitch-space-xl);
  padding: var(--stitch-space-lg);
  background: white;
  border-radius: var(--stitch-radius-xl) var(--stitch-radius-xl) 0 0;
  margin-top: var(--stitch-space-lg);
}

.stitch-tabs__item {
  font-family: var(--stitch-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--stitch-lavender-soft);
  text-decoration: none;
  padding: var(--stitch-space-sm) 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.stitch-tabs__item:hover {
  color: var(--stitch-lavender);
}

.stitch-tabs__item--active {
  color: var(--stitch-navy);
  border-bottom-color: var(--stitch-golden);
}

/* ========================================
   Content Area
   ======================================== */
.stitch-content {
  position: relative;
  z-index: 10;
  background: white;
  padding: var(--stitch-space-lg);
  min-height: 400px;
}

/* ========================================
   Cards
   ======================================== */
.stitch-cards {
  display: flex;
  flex-direction: column;
  gap: var(--stitch-space-md);
}

.stitch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--stitch-space-lg);
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-md);
  text-decoration: none;
  transition: all 0.2s;
}

.stitch-card:hover {
  background: var(--stitch-cream-light);
  border-color: #D4D2CD;
  transform: translateX(4px);
}

.stitch-card__content {
  flex: 1;
  min-width: 0;
}

.stitch-card__title {
  font-family: var(--stitch-font-display);
  font-size: 18px;
  color: var(--stitch-navy);
  margin: 0 0 var(--stitch-space-xs);
}

.stitch-card__desc {
  font-family: var(--stitch-font-body);
  font-size: 14px;
  color: var(--stitch-lavender);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stitch-card__arrow {
  color: var(--stitch-lavender-soft);
  font-size: 20px;
  margin-left: var(--stitch-space-md);
  flex-shrink: 0;
}

.stitch-card__thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--stitch-radius-sm);
  object-fit: cover;
  margin-left: var(--stitch-space-md);
  flex-shrink: 0;
}

/* Article Card - Cream Background */
.stitch-card--article {
  background: var(--stitch-cream);
  border: none;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding-right: 90px;
}

.stitch-card--article:hover {
  background: #EBE8E1;
  transform: translateY(-2px);
}

.stitch-card__category {
  font-family: var(--stitch-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--stitch-golden);
  text-transform: uppercase;
  margin-bottom: var(--stitch-space-sm);
}

.stitch-card--article .stitch-card__thumb {
  position: absolute;
  right: var(--stitch-space-md);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

/* ========================================
   Buttons
   ======================================== */
.stitch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--stitch-space-sm);
  padding: var(--stitch-space-md) var(--stitch-space-xl);
  border-radius: var(--stitch-radius-md);
  font-family: var(--stitch-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.stitch-btn--golden {
  background: linear-gradient(135deg, var(--stitch-golden) 0%, var(--stitch-golden-light) 100%);
  color: var(--stitch-navy);
  box-shadow: var(--stitch-shadow-golden);
}

.stitch-btn--golden:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.5);
}

.stitch-btn--navy {
  background: var(--stitch-navy);
  color: white;
}

.stitch-btn--navy:hover {
  background: var(--stitch-deep-purple);
}

.stitch-btn--outline {
  background: white;
  color: var(--stitch-navy);
  border: 1px solid var(--stitch-border);
}

.stitch-btn--outline:hover {
  background: var(--stitch-cream-light);
  border-color: var(--stitch-lavender);
}

.stitch-btn--full {
  width: 100%;
}

.stitch-btn--sm {
  padding: var(--stitch-space-sm) var(--stitch-space-md);
  font-size: 11px;
}

.stitch-btn--lg {
  padding: var(--stitch-space-lg) var(--stitch-space-2xl);
  font-size: 14px;
}

/* ========================================
   Bottom Navigation (Mobile Only)
   ======================================== */
.stitch-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: var(--stitch-space-md) var(--stitch-space-lg);
  padding-bottom: calc(var(--stitch-space-lg) + env(safe-area-inset-bottom, 0px));
  background: white;
  border-top: 1px solid var(--stitch-border);
  height: var(--stitch-bottom-nav-height);
}

/* 태블릿 이상에서 하단 네비 숨김 */
@media (min-width: 768px) {
  .stitch-bottom-nav {
    display: none;
  }
}

/* ========================================
   Desktop/Tablet Top Navigation
   ======================================== */
.stitch-top-nav {
  display: none;
}

@media (min-width: 768px) {
  .stitch-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--stitch-space-md) var(--stitch-space-xl);
    background: white;
    border-bottom: 1px solid var(--stitch-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
  }

  .stitch-top-nav__logo {
    font-family: var(--stitch-font-display);
    font-size: 24px;
    color: var(--stitch-navy);
    text-decoration: none;
    font-weight: 400;
  }

  .stitch-top-nav__menu {
    display: flex;
    align-items: center;
    gap: var(--stitch-space-xl);
  }

  .stitch-top-nav__item {
    font-family: var(--stitch-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--stitch-text-muted);
    text-decoration: none;
    padding: var(--stitch-space-sm) 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
  }

  .stitch-top-nav__item:hover {
    color: var(--stitch-navy);
  }

  .stitch-top-nav__item--active {
    color: var(--stitch-navy);
    border-bottom-color: var(--stitch-golden);
  }

  .stitch-top-nav__actions {
    display: flex;
    align-items: center;
    gap: var(--stitch-space-md);
  }

  .stitch-top-nav__btn {
    width: 40px;
    height: 40px;
    border-radius: var(--stitch-radius-full);
    background: var(--stitch-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stitch-navy);
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
  }

  .stitch-top-nav__btn:hover {
    background: var(--stitch-lavender-light);
  }

  .stitch-top-nav__avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--stitch-radius-full);
    object-fit: cover;
    border: 2px solid var(--stitch-golden);
  }

  .stitch-top-nav__write-btn {
    display: flex;
    align-items: center;
    gap: var(--stitch-space-sm);
    padding: var(--stitch-space-sm) var(--stitch-space-lg);
    background: var(--stitch-navy);
    color: white;
    border-radius: var(--stitch-radius-full);
    font-family: var(--stitch-font-body);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
  }

  .stitch-top-nav__write-btn:hover {
    background: var(--stitch-deep-purple);
    transform: translateY(-1px);
  }

  /* 태블릿 이상에서 padding-bottom 제거 */
  .stitch-app {
    padding-bottom: 0;
  }
}

.stitch-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--stitch-space-xs);
  text-decoration: none;
  transition: all 0.2s;
}

.stitch-bottom-nav__item i {
  font-size: 24px;
  color: var(--stitch-lavender-soft);
}

.stitch-bottom-nav__item span {
  font-family: var(--stitch-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--stitch-lavender-soft);
}

.stitch-bottom-nav__item--active i,
.stitch-bottom-nav__item--active span {
  color: var(--stitch-golden);
}

.stitch-bottom-nav__item:hover i,
.stitch-bottom-nav__item:hover span {
  color: var(--stitch-lavender);
}

/* ========================================
   Article View
   ======================================== */
.stitch-article {
  position: relative;
  z-index: 10;
  background: white;
  padding: var(--stitch-space-lg);
}

.stitch-article__title {
  font-family: var(--stitch-font-display);
  font-size: 32px;
  line-height: 1.2;
  color: var(--stitch-navy);
  margin: 0 0 var(--stitch-space-lg);
}

@media (min-width: 768px) {
  .stitch-article__title {
    font-size: 42px;
  }
}

.stitch-article__meta {
  display: flex;
  align-items: center;
  gap: var(--stitch-space-md);
  margin-bottom: var(--stitch-space-xl);
}

.stitch-article__author {
  flex: 1;
}

.stitch-article__author-name {
  font-family: var(--stitch-font-display);
  font-size: 16px;
  color: var(--stitch-navy);
  margin: 0;
}

.stitch-article__author-meta {
  font-family: var(--stitch-font-body);
  font-size: 13px;
  color: var(--stitch-lavender);
  margin: var(--stitch-space-xs) 0 0;
}

.stitch-article__body {
  font-family: var(--stitch-font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--stitch-text-muted);
}

.stitch-article__body p {
  margin: 0 0 var(--stitch-space-lg);
}

.stitch-article__body h2 {
  font-family: var(--stitch-font-display);
  font-size: 24px;
  color: var(--stitch-navy);
  margin: var(--stitch-space-2xl) 0 var(--stitch-space-md);
}

.stitch-article__body blockquote {
  font-family: var(--stitch-font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--stitch-lavender);
  border-left: 3px solid var(--stitch-golden);
  padding-left: var(--stitch-space-lg);
  margin: var(--stitch-space-xl) 0;
}

/* ========================================
   Article Actions
   ======================================== */
.stitch-article-actions {
  display: flex;
  justify-content: center;
  gap: var(--stitch-space-xl);
  padding: var(--stitch-space-xl) 0;
  border-top: 1px solid var(--stitch-border);
  margin-top: var(--stitch-space-xl);
}

.stitch-article-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--stitch-space-sm);
  text-decoration: none;
  transition: all 0.2s;
}

.stitch-article-action__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--stitch-radius-full);
  background: var(--stitch-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--stitch-navy);
  transition: all 0.2s;
}

.stitch-article-action:hover .stitch-article-action__icon {
  background: var(--stitch-lavender-light);
  color: var(--stitch-navy);
}

.stitch-article-action--active .stitch-article-action__icon {
  background: var(--stitch-golden);
  color: var(--stitch-navy);
}

.stitch-article-action__count {
  font-family: var(--stitch-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-navy);
}

/* ========================================
   Empty State
   ======================================== */
.stitch-empty {
  text-align: center;
  padding: var(--stitch-space-2xl) var(--stitch-space-lg);
}

.stitch-empty__text {
  font-family: var(--stitch-font-display);
  font-size: 20px;
  color: var(--stitch-lavender);
  margin: 0 0 var(--stitch-space-lg);
}

/* ========================================
   Timeline
   ======================================== */
.stitch-timeline {
  padding-left: var(--stitch-space-lg);
}

.stitch-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: var(--stitch-space-md);
  padding-bottom: var(--stitch-space-lg);
  position: relative;
}

.stitch-timeline__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--stitch-border);
}

.stitch-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: var(--stitch-radius-full);
  background: var(--stitch-lavender);
  flex-shrink: 0;
}

.stitch-timeline__content {
  display: flex;
  flex-direction: column;
}

.stitch-timeline__date {
  font-family: var(--stitch-font-display);
  font-size: 16px;
  color: var(--stitch-navy);
}

.stitch-timeline__role {
  font-family: var(--stitch-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--stitch-lavender-soft);
  margin-top: var(--stitch-space-xs);
}

/* ========================================
   Quote
   ======================================== */
.stitch-quote {
  font-family: var(--stitch-font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--stitch-lavender);
  border-left: 3px solid var(--stitch-golden);
  padding-left: var(--stitch-space-lg);
  margin: var(--stitch-space-lg) 0;
}

/* ========================================
   Social Buttons
   ======================================== */
.stitch-social {
  display: flex;
  gap: var(--stitch-space-md);
  margin-bottom: var(--stitch-space-md);
}

.stitch-social__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--stitch-space-sm);
  padding: 14px;
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: var(--stitch-radius-md);
  font-family: var(--stitch-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--stitch-navy);
  text-decoration: none;
  transition: all 0.2s;
}

.stitch-social__btn:hover {
  background: var(--stitch-cream-light);
  border-color: var(--stitch-lavender);
}

.stitch-social__btn i {
  font-size: 18px;
  color: var(--stitch-lavender);
}

/* ========================================
   Featured
   ======================================== */
.stitch-featured {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stitch-space-lg);
  align-items: center;
}

.stitch-featured span {
  font-family: var(--stitch-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-lavender-soft);
  letter-spacing: 0.02em;
}

/* ========================================
   About Section
   ======================================== */
.stitch-about__title {
  font-family: var(--stitch-font-display);
  font-size: 24px;
  color: var(--stitch-navy);
  margin: var(--stitch-space-xl) 0 var(--stitch-space-md);
}

.stitch-about__title:first-child {
  margin-top: 0;
}

.stitch-about__text {
  font-family: var(--stitch-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--stitch-text-muted);
  margin: 0 0 var(--stitch-space-md);
}

/* ========================================
   Feed / Home
   ======================================== */
.stitch-feed {
  position: relative;
  z-index: 10;
}

.stitch-feed__header {
  padding: var(--stitch-space-lg);
  text-align: center;
}

.stitch-feed__title {
  font-family: var(--stitch-font-display);
  font-size: 28px;
  color: var(--stitch-navy);
  margin: 0 0 var(--stitch-space-sm);
}

.stitch-feed__subtitle {
  font-family: var(--stitch-font-body);
  font-size: 14px;
  color: var(--stitch-lavender);
  margin: 0;
}

/* ========================================
   Desktop Responsive Enhancements
   ======================================== */
@media (min-width: 1024px) {
  .stitch-app--wide .stitch-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--stitch-space-xl);
    max-width: var(--stitch-max-width-desktop);
    margin: 0 auto;
    padding: var(--stitch-space-xl);
  }

  .stitch-app--wide .stitch-bottom-nav {
    display: none;
  }

  .stitch-app--wide {
    padding-bottom: 0;
  }
}

/* ========================================
   Grainy Texture & Special Effects
   ======================================== */
.stitch-grainy-bg {
  position: relative;
}

.stitch-grainy-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.stitch-hero-gradient {
  background: linear-gradient(180deg,
    var(--stitch-lavender-light) 0%,
    var(--stitch-lavender-soft) 40%,
    var(--stitch-cream) 100%
  );
}

.stitch-no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.stitch-no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Glass Effect */
.stitch-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Golden Glow Effect */
.stitch-golden-glow {
  box-shadow: 0 0 20px rgba(245, 197, 66, 0.3),
              0 4px 16px rgba(245, 197, 66, 0.2);
}

/* Lavender Hover Effect */
.stitch-hover-lavender {
  transition: all 0.2s ease;
}

.stitch-hover-lavender:hover {
  background: var(--stitch-lavender-light);
}

/* ========================================
   Utility Classes
   ======================================== */
.stitch-text-center { text-align: center; }
.stitch-text-left { text-align: left; }
.stitch-text-right { text-align: right; }

.stitch-mt-0 { margin-top: 0; }
.stitch-mt-sm { margin-top: var(--stitch-space-sm); }
.stitch-mt-md { margin-top: var(--stitch-space-md); }
.stitch-mt-lg { margin-top: var(--stitch-space-lg); }
.stitch-mt-xl { margin-top: var(--stitch-space-xl); }

.stitch-mb-0 { margin-bottom: 0; }
.stitch-mb-sm { margin-bottom: var(--stitch-space-sm); }
.stitch-mb-md { margin-bottom: var(--stitch-space-md); }
.stitch-mb-lg { margin-bottom: var(--stitch-space-lg); }
.stitch-mb-xl { margin-bottom: var(--stitch-space-xl); }
