/* 만화(코믹) 대화형 레이아웃 전용 스타일 */

.comic-section {
  max-width: 960px;
  margin: 0 auto;
}

.comic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .comic-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .comic-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.comic-panel {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eef0f5;
  padding: 0.9rem;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid #e6e9f2;
  background: #f8f9ff;
}

.bubble {
  position: relative;
  background: #f5f7ff;
  border: 1px solid #e0e6ff;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  color: #1f2a44;
  line-height: 1.5;
}

.bubble:after {
  content: '';
  position: absolute;
  top: 14px;
  left: -8px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent #e0e6ff transparent transparent;
}
.bubble:before {
  content: '';
  position: absolute;
  top: 14px;
  left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #f5f7ff transparent transparent;
}

.panel-meta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #5b6b90;
}

.bubble .highlight { color: #2a3a8f; font-weight: 800; }

.bubble .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  background: #eef3ff;
  border: 1px solid #d8e3ff;
  color: #3353d1;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  margin-right: 0.3rem;
}

.comic-title {
  margin: 0 0 0.5rem 0;
  font-weight: 900;
  font-size: 1.35rem;
}

.comic-desc { margin: 0 0 1rem 0; color: #3b4a73; }

/* 홈페이지 대화형 히어로 확장 */
.comic-hero {
  background: linear-gradient(135deg, #667eea 0%, #4ecdc4 100%);
  color: #fff;
  border-radius: 18px;
  padding: 1.2rem;
}
.comic-hero .comic-title { color: #fff; font-size: 1.6rem; }
.comic-hero .comic-desc { color: #e8fbff; }


