/**
 * 주전자닷컴 - ZUZUNZA 디자인 패밀리룩
 * wscp-frontend flat 디자인 차용: Pretendard, orange-magenta-purple 팔레트
 */
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

:root {
  /* wscp flat palette */
  --flat-bg: #f5f7fb;
  --flat-surface: #ffffff;
  --flat-surface-muted: #edf1f7;
  --flat-border: #d4dbe6;
  --flat-text: #111827;
  --flat-text-muted: #667085;
  --flat-accent: #f49303;
  --flat-accent-orange: #f49303;
  --flat-accent-magenta: #ff00d4;
  --flat-accent-purple: #6244ff;

  /* 호환용 (flat 기반) */
  --ju-gold: var(--flat-accent-orange);
  --ju-gold-light: #ffae6f;
  --ju-brown: var(--flat-accent-purple);
  --ju-brown-light: #8a7dff;
  --ju-dark: #1a1a2e;
  --ju-dark-block: #121a29;
  --ju-bg: var(--flat-surface);
  --ju-bg-alt: var(--flat-surface-muted);
  --ju-border: var(--flat-border);
  --ju-text: var(--flat-text);
  --ju-text-muted: var(--flat-text-muted);
}

* {
  box-sizing: border-box;
}

body.jujeonja-body {
  margin: 0;
  font-family: 'Pretendard', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  background: var(--flat-bg);
  color: var(--flat-text);
  line-height: 1.6;
}

/* wscp 그라데이션 바 */
.jujeonja-gradient-bar {
  height: 4px;
  background: linear-gradient(90deg, #f49303, #ff00d4, #6244ff);
}

.jujeonja-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header - wscp 스타일 (그라데이션바 + flat) */
.jujeonja-header {
  background: var(--flat-surface);
  border-bottom: 2px solid var(--flat-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.jujeonja-header-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jujeonja-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.jujeonja-logo-sub {
  font-size: 0.9rem;
  color: var(--flat-text-muted);
  font-weight: 600;
}

.jujeonja-logo-main {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  color: var(--flat-text);
}

.jujeonja-logo-accent {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  color: var(--flat-accent-magenta);
}

.jujeonja-mascot {
  width: 48px;
  height: 48px;
}

.jujeonja-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.jujeonja-header-util {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

.jujeonja-header-util a {
  color: var(--flat-text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.jujeonja-header-util a:hover {
  color: var(--flat-accent-magenta);
}

/* Nav bar - wscp: uppercase, font-black, magenta 언더라인 */
.jujeonja-header-nav {
  background: var(--flat-surface-muted);
  border-top: 2px solid var(--flat-border);
}

.jujeonja-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.jujeonja-nav {
  display: flex;
  gap: 0;
}

.jujeonja-nav a {
  position: relative;
  padding: 12px 20px;
  color: var(--flat-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}

.jujeonja-nav a:hover {
  color: var(--flat-accent-magenta);
}

.jujeonja-nav a:hover::after {
  transform: scaleX(1);
}

.jujeonja-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--flat-accent-magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.jujeonja-nav a.active {
  background: var(--flat-accent-purple);
  color: #fff;
  border-bottom-color: var(--flat-accent-purple);
}

.jujeonja-nav a.active::after {
  display: none;
}

.jujeonja-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jujeonja-user {
  color: var(--ju-text-muted);
  font-size: 0.9rem;
}

/* 버튼 - wscp border-2 스타일 */
.jujeonja-btn {
  padding: 8px 16px;
  border: 2px solid var(--flat-border);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.jujeonja-btn-sm {
  background: transparent;
  border: 2px solid var(--flat-border);
  color: var(--flat-text);
}

.jujeonja-btn-sm:hover {
  border-color: var(--flat-accent-magenta);
  color: var(--flat-accent-magenta);
}

.jujeonja-btn-primary {
  background: linear-gradient(90deg, #f49303, #ff00d4);
  border: 2px solid transparent;
  color: #fff;
}

.jujeonja-btn-primary:hover {
  box-shadow: 0 4px 12px rgba(255,0,212,0.35);
  transform: translateY(-1px);
}

/* Main */
.jujeonja-main {
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
}

/* Featured block - wscp dark surface + gradient PLAY */
.jujeonja-featured {
  background: var(--ju-dark-block);
  border: 2px solid var(--flat-border);
  padding: 32px 40px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.jujeonja-featured-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #f49303, #ff00d4);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.jujeonja-featured-play:hover {
  box-shadow: 0 6px 20px rgba(255,0,212,0.4);
  transform: translateY(-2px);
}

.jujeonja-featured-link {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Section titles - wscp badge + purple accent */
.jujeonja-section {
  margin-bottom: 28px;
}

.jujeonja-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--flat-border);
}

.jujeonja-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jujeonja-section-title h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--flat-text);
}

.jujeonja-section-more {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flat-accent-purple);
  text-decoration: none;
  border: 2px solid var(--flat-border);
  padding: 6px 14px;
  transition: all 0.2s;
}

.jujeonja-section-more:hover {
  border-color: var(--flat-accent-purple);
  background: var(--flat-accent-purple);
  color: #fff;
}

.jujeonja-section > .jujeonja-section-title {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--flat-accent-magenta);
}

.jujeonja-section > .jujeonja-section-title h2 {
  margin: 0;
}

/* wscp badge (CURATED 스타일) */
.jujeonja-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--flat-accent-magenta);
}

/* Grid - 카드 */
.jujeonja-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.jujeonja-card {
  background: var(--flat-surface);
  border: 2px solid var(--flat-border);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.jujeonja-card:hover {
  border-color: var(--flat-accent-magenta);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,0,212,0.12);
}

.jujeonja-card-thumb {
  aspect-ratio: 1;
  background: var(--ju-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jujeonja-card-thumb i,
.jujeonja-card-thumb span {
  font-size: 2rem;
  color: var(--flat-accent-purple);
  opacity: 0.6;
  font-weight: 700;
}

.jujeonja-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jujeonja-card-body {
  padding: 10px 12px;
  background: var(--ju-bg);
}

.jujeonja-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ju-text);
}

.jujeonja-card-meta {
  font-size: 0.75rem;
  color: var(--ju-text-muted);
}

/* 클립 리스트 - 리스트 위주 + 썸네일 보조 (썸네일 깨짐 대응) */
.jujeonja-clip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--flat-surface);
  border: 2px solid var(--flat-border);
}

.jujeonja-clip-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--flat-border);
  transition: background 0.2s;
}

.jujeonja-clip-list li:last-child {
  border-bottom: none;
}

.jujeonja-clip-list li:hover {
  background: var(--ju-bg-alt);
}

.jujeonja-clip-list-link {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jujeonja-clip-list-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ju-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jujeonja-clip-list-meta {
  font-size: 0.8rem;
  color: var(--ju-text-muted);
}

.jujeonja-clip-list-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 42px;
  background: var(--ju-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.jujeonja-clip-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jujeonja-clip-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--flat-accent-purple);
  opacity: 0.6;
}

.jujeonja-clip-list-thumb.has-thumb .jujeonja-clip-list-icon {
  display: none;
}

.jujeonja-clip-list-thumb.has-thumb.jujeonja-thumb-broken .jujeonja-clip-list-icon {
  display: flex;
}

.jujeonja-clip-list-thumb.jujeonja-thumb-broken img {
  display: none;
}

/* 자작 플래시 페이지 - 좌우 사이드바 + 메인 3컬럼 */
.jujeonja-clips-page {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 24px;
}

.jujeonja-clips-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.jujeonja-clips-main {
  min-width: 0;
}

.jujeonja-tag-search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jujeonja-tag-search-input {
  padding: 10px 12px;
  border: 2px solid var(--flat-border);
  font-size: 0.9rem;
  font-family: inherit;
}

.jujeonja-tag-search-input:focus {
  outline: none;
  border-color: var(--flat-accent-purple);
}

.jujeonja-popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jujeonja-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.8rem;
  background: var(--ju-bg-alt);
  border: 1px solid var(--flat-border);
  color: var(--ju-text);
  text-decoration: none;
  transition: all 0.2s;
}

.jujeonja-tag-badge:hover,
.jujeonja-tag-badge.active {
  border-color: var(--flat-accent-purple);
  color: var(--flat-accent-purple);
}

.jujeonja-tag-badge.active {
  background: rgba(98, 68, 255, 0.08);
}

.jujeonja-tag-count {
  font-size: 0.75rem;
  color: var(--ju-text-muted);
}

.jujeonja-tag-badge:hover .jujeonja-tag-count,
.jujeonja-tag-badge.active .jujeonja-tag-count {
  color: inherit;
}

.jujeonja-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  line-height: 1.6;
}

.jujeonja-tag-cloud-item {
  color: var(--ju-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.jujeonja-tag-cloud-item:hover,
.jujeonja-tag-cloud-item.active {
  color: var(--flat-accent-purple);
}

.jujeonja-filter-badge {
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.8rem;
  background: var(--flat-accent-purple);
  color: #fff;
  font-weight: 600;
}

.jujeonja-filter-clear {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--flat-accent-purple);
  text-decoration: none;
}

.jujeonja-filter-clear:hover {
  text-decoration: underline;
}

.jujeonja-sidebar-empty {
  font-size: 0.85rem;
  color: var(--ju-text-muted);
  margin: 0;
}

@media (max-width: 1100px) {
  .jujeonja-clips-page {
    grid-template-columns: 1fr;
  }
  .jujeonja-clips-sidebar-left {
    order: 1;
  }
  .jujeonja-clips-main { order: 0; }
  .jujeonja-clips-sidebar-right {
    order: 2;
  }
}

/* Layout: 메인 + 사이드바 */
.jujeonja-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
}

@media (max-width: 900px) {
  .jujeonja-layout {
    grid-template-columns: 1fr;
  }
}

.jujeonja-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

/* Sidebar box - 황금 헤더 */
.jujeonja-sidebar-box {
  background: var(--ju-bg);
  border: 1px solid var(--ju-border);
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}

.jujeonja-sidebar-box h3 {
  margin: 0;
  padding: 10px 14px;
  background: var(--flat-accent-magenta);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.jujeonja-sidebar-box-inner {
  padding: 16px;
}

.jujeonja-ranking {
  background: var(--ju-bg);
  border: 1px solid var(--ju-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}

.jujeonja-ranking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: linear-gradient(90deg, #f49303, #ff00d4);
  color: #fff;
}

.jujeonja-ranking-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.jujeonja-ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jujeonja-ranking-list li {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ju-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.jujeonja-ranking-list li:last-child {
  border-bottom: none;
}

.jujeonja-ranking-num {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--flat-accent-purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.jujeonja-ranking-list li:nth-child(1) .jujeonja-ranking-num { background: var(--flat-accent-orange); }
.jujeonja-ranking-list li:nth-child(2) .jujeonja-ranking-num { background: var(--flat-accent-magenta); }
.jujeonja-ranking-list li:nth-child(3) .jujeonja-ranking-num { background: var(--flat-accent-purple); }

.jujeonja-ranking-list a {
  color: var(--flat-text);
  text-decoration: none;
  flex: 1;
  font-weight: 600;
}

.jujeonja-ranking-list a:hover {
  color: var(--flat-accent-magenta);
}

/* Login form in sidebar */
.jujeonja-login-form input {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid var(--ju-border);
  border-radius: 4px;
  font-size: 0.9rem;
}

.jujeonja-login-form .jujeonja-btn {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  text-align: center;
}

.jujeonja-login-links {
  margin-top: 12px;
  font-size: 0.8rem;
}

.jujeonja-login-links a {
  color: var(--flat-accent-purple);
  text-decoration: none;
}

.jujeonja-login-links a:hover {
  color: var(--flat-accent-magenta);
}

/* Footer */
.jujeonja-footer {
  position: relative;
  background: var(--ju-bg-alt);
  margin-top: 48px;
  border-top: 1px solid var(--ju-border);
}

.jujeonja-footer-gradient {
  height: 4px;
  background: linear-gradient(90deg, #f49303, #ff00d4, #6244ff);
}

.jujeonja-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}

.jujeonja-footer-brand .jujeonja-logo-main {
  color: var(--flat-accent-purple);
}

.jujeonja-footer-brand p {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--flat-text-muted);
}

.jujeonja-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jujeonja-footer-links a {
  color: var(--ju-text-muted);
  text-decoration: none;
}

.jujeonja-footer-links a:hover {
  color: var(--flat-accent-magenta);
}

.jujeonja-footer-copy {
  font-size: 0.85rem;
  color: var(--ju-text-muted);
}

/* Form (login/signup pages) */
.jujeonja-form {
  max-width: 400px;
  margin: 0 auto;
}

.jujeonja-form-group {
  margin-bottom: 16px;
}

.jujeonja-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.jujeonja-form-group input {
  width: 100%;
  padding: 12px 14px;
  background: var(--ju-bg);
  border: 1px solid var(--ju-border);
  border-radius: 6px;
  color: var(--ju-text);
  font-size: 1rem;
}

.jujeonja-form-group input:focus {
  outline: none;
  border-color: var(--flat-accent-magenta);
}

.jujeonja-form-actions {
  margin-top: 24px;
}

/* Community */
.jujeonja-board-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jujeonja-board-list li {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ju-border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.jujeonja-board-list li:hover {
  background: var(--ju-bg-alt);
}

.jujeonja-board-list a {
  color: inherit;
  text-decoration: none;
  flex: 1;
}

/* 게시물/작품 콘텐츠 (jujeonja_content_render 출력) */
.jujeonja-content {
  line-height: 1.7;
  word-wrap: break-word;
}

.jujeonja-content p {
  margin: 0 0 0.75em;
}

.jujeonja-content p:last-child {
  margin-bottom: 0;
}

.jujeonja-content a {
  color: var(--flat-accent-purple);
  text-decoration: underline;
}

.jujeonja-content a:hover {
  color: var(--flat-accent-magenta);
}

.jujeonja-content pre,
.jujeonja-content code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9em;
}

.jujeonja-content pre {
  padding: 12px;
  background: var(--flat-surface-muted);
  border: 1px solid var(--flat-border);
  overflow-x: auto;
}

/* 404 페이지 */
.jujeonja-404 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.jujeonja-404-inner {
  text-align: center;
  max-width: 420px;
}

.jujeonja-404-code {
  display: block;
  font-size: 6rem;
  font-weight: 900;
  color: var(--flat-accent-magenta);
  line-height: 1;
  opacity: 0.9;
  letter-spacing: -4px;
}

.jujeonja-404-title {
  margin: 16px 0 12px;
  font-size: 1.35rem;
  color: var(--ju-dark);
}

.jujeonja-404-desc {
  margin: 0 0 28px;
  color: var(--ju-text-muted);
  font-size: 0.95rem;
}

.jujeonja-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 500 페이지 */
.jujeonja-500 .jujeonja-404-code {
  color: var(--flat-accent-purple);
}

/* 503 페이지 */
.jujeonja-503 .jujeonja-404-code {
  color: var(--flat-text-muted);
}

.jujeonja-section-empty {
  margin: 16px 0;
  color: var(--ju-text-muted);
  font-size: 0.9rem;
}

/* ========== 일러스트 페이지 - 캐러셀 + 마소니 + 페이징 ========== */
.jujeonja-illust-page {
  margin-bottom: 32px;
}

.jujeonja-illust-header {
  margin-bottom: 20px;
}

/* 캐러셀 */
.jujeonja-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ju-dark-block);
  margin-bottom: 28px;
  aspect-ratio: 16/6;
  max-height: 280px;
}

/* Canvas 슬라이더 */
.jujeonja-carousel-canvas {
  display: block;
}

.jujeonja-carousel-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.jujeonja-carousel-canvas-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  cursor: pointer;
}

.jujeonja-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.jujeonja-carousel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.jujeonja-carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.jujeonja-carousel-item .jujeonja-carousel-title {
  position: relative;
  z-index: 2;
  padding: 10px 20px;
  background: var(--flat-accent-magenta);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jujeonja-carousel-item i.ri-image-fill {
  font-size: 4rem;
  opacity: 0.5;
}

.jujeonja-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.2s;
  z-index: 3;
}

.jujeonja-carousel-btn:hover {
  background: var(--flat-accent-magenta);
}

.jujeonja-carousel-prev { left: 12px; }
.jujeonja-carousel-next { right: 12px; }

.jujeonja-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.jujeonja-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
}

.jujeonja-carousel-dot:hover {
  background: rgba(255,255,255,0.6);
}

.jujeonja-carousel-dot.active {
  background: var(--flat-accent-magenta);
  transform: scale(1.2);
}

/* 마소니 그리드 (CSS columns) */
.jujeonja-masonry {
  margin-bottom: 28px;
}

.jujeonja-masonry-grid {
  column-count: 4;
  column-gap: 16px;
}

.jujeonja-masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--flat-surface);
  border: 2px solid var(--flat-border);
  overflow: hidden;
  transition: all 0.3s;
}

.jujeonja-masonry-item:hover {
  border-color: var(--flat-accent-magenta);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,212,0.15);
}

.jujeonja-masonry-thumb {
  width: 100%;
  background: var(--ju-bg-alt);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jujeonja-masonry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jujeonja-masonry-thumb i.ri-image-fill {
  font-size: 3rem;
  color: var(--flat-accent-purple);
  opacity: 0.5;
}

.jujeonja-masonry-body {
  padding: 10px 12px;
}

.jujeonja-masonry-body h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ju-text);
}

/* 페이징 */
.jujeonja-pagination {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jujeonja-pagination-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ju-border);
  border-radius: 6px;
  color: var(--ju-text);
  text-decoration: none;
  transition: all 0.2s;
}

.jujeonja-pagination-btn:hover {
  border-color: var(--flat-accent-magenta);
  color: var(--flat-accent-magenta);
}

.jujeonja-pagination-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
}

.jujeonja-pagination-num {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--ju-border);
  border-radius: 6px;
  color: var(--ju-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.jujeonja-pagination-num:hover {
  border-color: var(--flat-accent-magenta);
  color: var(--flat-accent-magenta);
}

.jujeonja-pagination-num.active {
  background: var(--flat-accent-magenta);
  border-color: var(--flat-accent-magenta);
  color: #fff;
}

@media (max-width: 900px) {
  .jujeonja-masonry-grid {
    column-count: 3;
  }
}

@media (max-width: 600px) {
  .jujeonja-carousel {
    aspect-ratio: 16/7;
    max-height: 200px;
  }
  .jujeonja-masonry-grid {
    column-count: 2;
  }
}

/* 일러스트 상세 (frontend illustration-detail 스타일) */
.jujeonja-artwork-detail {
  padding-bottom: 24px;
}

.jujeonja-artwork-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

@media (max-width: 900px) {
  .jujeonja-artwork-grid {
    grid-template-columns: 1fr;
  }
}

.jujeonja-artwork-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jujeonja-artwork-image-card {
  background: var(--ju-dark-block);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ju-border);
}

.jujeonja-artwork-main-img {
  width: 100%;
  max-height: 900px;
  object-fit: contain;
  object-position: top;
  display: block;
}

.jujeonja-artwork-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.jujeonja-artwork-gallery-btn {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--ju-border);
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.jujeonja-artwork-gallery-btn.active {
  border-color: var(--flat-accent-magenta);
}

.jujeonja-artwork-gallery-btn img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.jujeonja-artwork-info-card {
  background: var(--ju-bg);
  border: 1px solid var(--ju-border);
  border-radius: 16px;
  padding: 24px;
}

.jujeonja-artwork-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 0 16px;
}

.jujeonja-artwork-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.jujeonja-artwork-description p { margin: 0.75em 0; }
.jujeonja-artwork-description a { text-decoration: underline; word-break: break-word; color: var(--flat-accent-magenta); }
.jujeonja-artwork-description ul, .jujeonja-artwork-description ol { margin: 0.75em 0; padding-left: 1.25em; }
.jujeonja-artwork-description blockquote {
  margin: 0.9em 0;
  padding: 0.4em 0.9em;
  border-left: 4px solid rgba(244, 147, 3, 0.5);
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
}

.jujeonja-artwork-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--ju-text-muted);
  font-weight: 700;
}

.jujeonja-artwork-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.jujeonja-artwork-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.jujeonja-artwork-tag {
  padding: 4px 12px;
  background: var(--ju-dark-block);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ju-text-muted);
}

.jujeonja-artwork-comments {
  background: var(--ju-bg);
  border: 1px solid var(--ju-border);
  border-radius: 16px;
  padding: 24px;
}

.jujeonja-artwork-comments-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 0 16px;
}

.jujeonja-artwork-comments-empty {
  color: var(--ju-text-muted);
  margin: 0;
}

.jujeonja-artwork-comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jujeonja-artwork-comment-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--ju-border);
}

.jujeonja-artwork-comment-item:last-child { border-bottom: none; }

.jujeonja-artwork-comment-header {
  margin-bottom: 4px;
}

.jujeonja-artwork-comment-author {
  font-weight: 700;
}

.jujeonja-artwork-comment-date {
  font-size: 0.8rem;
  color: var(--ju-text-muted);
  margin-left: 8px;
}

.jujeonja-artwork-comment-body {
  font-size: 0.95rem;
  line-height: 1.5;
}

.jujeonja-artwork-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.jujeonja-artwork-author-card {
  background: var(--ju-bg);
  border: 1px solid var(--ju-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.jujeonja-artwork-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--flat-accent-magenta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
}

.jujeonja-artwork-author-name { margin: 0; font-weight: 900; font-size: 1rem; }
.jujeonja-artwork-author-id { margin: 4px 0 0; font-size: 0.85rem; color: var(--ju-text-muted); }

.jujeonja-artwork-related-card {
  background: var(--ju-bg);
  border: 1px solid var(--ju-border);
  border-radius: 16px;
  padding: 20px;
}

.jujeonja-artwork-related-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 0 16px;
}

.jujeonja-artwork-related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jujeonja-artwork-related-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 4px 0;
}

.jujeonja-artwork-related-item:hover .jujeonja-artwork-related-title-text {
  color: var(--flat-accent-magenta);
}

.jujeonja-artwork-related-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ju-dark-block);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jujeonja-artwork-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jujeonja-artwork-related-thumb i {
  font-size: 1.5rem;
  color: var(--ju-text-muted);
}

.jujeonja-artwork-related-body { flex: 1; min-width: 0; }
.jujeonja-artwork-related-title-text {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 클립 상세 - 비디오 플레이어 (YouTube, MP4, SWF) */
.jujeonja-artwork-media-card {
  background: var(--ju-dark-block);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ju-border);
}

.jujeonja-video-wrapper {
  position: relative;
  width: 100%;
  background: #000;
}

.jujeonja-video-16-9 {
  aspect-ratio: 16/9;
}

.jujeonja-video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.jujeonja-video-wrapper video {
  display: block;
  width: 100%;
  max-height: 70vh;
}

.jujeonja-clip-swf-area {
  aspect-ratio: 16/9;
  position: relative;
  background: var(--ju-dark-block);
}

.jujeonja-clip-play-cover {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.jujeonja-clip-play-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ju-dark-block);
}

.jujeonja-clip-play-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jujeonja-clip-play-poster i {
  font-size: 4rem;
  color: var(--ju-text-muted);
}

.jujeonja-clip-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  transition: background 0.3s;
}

.jujeonja-clip-play-cover:hover .jujeonja-clip-play-overlay {
  background: rgba(0,0,0,0.5);
}

.jujeonja-clip-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(90deg, #f49303, #ff00d4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.jujeonja-clip-play-overlay p {
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.jujeonja-artwork-simple {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 600px) {
  .jujeonja-artwork-simple { grid-template-columns: 1fr; }
}

.jujeonja-artwork-simple-thumb {
  aspect-ratio: 1;
  background: var(--ju-dark-block);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jujeonja-artwork-simple-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jujeonja-artwork-simple-thumb i {
  font-size: 3rem;
  color: var(--ju-text-muted);
}

/* ========== 게임 상세 (wscp game-detail 스타일) ========== */
.jujeonja-game-detail {
  margin-bottom: 32px;
}

.jujeonja-game-detail-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .jujeonja-game-detail-grid {
    grid-template-columns: 1fr;
  }
}

.jujeonja-game-player-area {
  border-radius: 16px;
  overflow: hidden;
  background: var(--ju-dark-block);
  border: 2px solid var(--flat-border);
  margin-bottom: 24px;
  aspect-ratio: 16/9;
  position: relative;
}

.jujeonja-game-player-area a {
  cursor: pointer;
}

.jujeonja-game-player-active {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--ju-dark-block);
}

.jujeonja-game-player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.jujeonja-game-player-close,
.jujeonja-game-player-fullscreen {
  padding: 6px 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.jujeonja-game-player-close:hover,
.jujeonja-game-player-fullscreen:hover {
  border-color: var(--flat-accent-magenta);
  color: var(--flat-accent-magenta);
}

.jujeonja-game-ruffle {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.jujeonja-game-ruffle .jujeonja-play-placeholder {
  position: absolute;
}

.jujeonja-game-play-cover {
  display: block;
  position: absolute;
  inset: 0;
  text-decoration: none;
  color: inherit;
}

.jujeonja-game-play-cover:hover .jujeonja-game-play-btn {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(255, 0, 212, 0.4);
}

.jujeonja-game-play-poster {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.jujeonja-game-play-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jujeonja-game-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(244, 147, 3, 0.2), rgba(255, 0, 212, 0.2), rgba(98, 68, 255, 0.2));
}

.jujeonja-game-play-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f49303, #ff00d4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.jujeonja-game-play-btn i {
  margin-left: 6px;
}

.jujeonja-game-play-text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}

.jujeonja-game-play-sub {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.jujeonja-game-play-disabled .jujeonja-game-play-overlay {
  cursor: default;
}

.jujeonja-game-play-disabled .jujeonja-game-play-text {
  font-size: 1.1rem;
}

.jujeonja-game-header {
  margin-bottom: 24px;
}

.jujeonja-game-title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--flat-text);
  letter-spacing: -0.02em;
}

.jujeonja-game-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.jujeonja-game-badge {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  background: linear-gradient(90deg, #f49303, #ff00d4);
  color: #fff;
}

.jujeonja-game-stat {
  font-size: 0.9rem;
  color: var(--flat-text-muted);
}

.jujeonja-game-stat i {
  color: var(--flat-accent-orange);
  margin-right: 4px;
}

.jujeonja-game-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #f49303, #ff00d4);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.jujeonja-game-cta:hover {
  box-shadow: 0 6px 24px rgba(255, 0, 212, 0.4);
  transform: translateY(-2px);
}

.jujeonja-game-desc {
  background: var(--flat-surface-muted);
  border: 2px solid var(--flat-border);
  border-radius: 12px;
  padding: 24px;
}

.jujeonja-game-desc h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--flat-text);
}

.jujeonja-game-sidebar {
  position: sticky;
  top: 20px;
}

.jujeonja-game-sidebar-card {
  background: var(--flat-surface);
  border: 2px solid var(--flat-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.jujeonja-game-sidebar-card h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--flat-text);
}

.jujeonja-game-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--flat-border);
  font-size: 0.9rem;
}

.jujeonja-game-info-row:last-child {
  border-bottom: none;
}

.jujeonja-game-info-row span {
  color: var(--flat-text-muted);
}

.jujeonja-game-info-row strong {
  color: var(--flat-text);
}

.jujeonja-game-more-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: transparent;
  border: 2px solid var(--flat-accent-purple);
  color: var(--flat-accent-purple);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s;
}

.jujeonja-game-more-link:hover {
  background: var(--flat-accent-purple);
  color: #fff;
}

/* 플레이 페이지 (Ruffle) - wscp 스타일 */
.jujeonja-play-page {
  margin: 0 -20px 24px;
}

.jujeonja-play-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 2px solid var(--flat-border);
}

.jujeonja-play-back {
  color: var(--ju-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 2px solid var(--flat-border);
  border-radius: 8px;
  transition: all 0.2s;
}

.jujeonja-play-back:hover {
  color: var(--flat-accent-magenta);
  border-color: var(--flat-accent-magenta);
}

.jujeonja-play-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  flex: 1;
  color: var(--flat-text);
}

.jujeonja-play-fullscreen {
  background: transparent;
  border: 2px solid var(--flat-border);
  color: inherit;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.2s;
}

.jujeonja-play-fullscreen:hover {
  border-color: var(--flat-accent-magenta);
  color: var(--flat-accent-magenta);
}

.jujeonja-play-stage-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--flat-border);
  background: var(--ju-dark-block);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.jujeonja-play-stage {
  background: var(--ju-dark-block);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.jujeonja-play-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  padding: 48px;
}

.jujeonja-play-placeholder p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.jujeonja-play-spinner {
  font-size: 2.5rem;
  color: var(--flat-accent-orange);
  animation: jujeonja-spin 1s linear infinite;
}

@keyframes jujeonja-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========== wscp 차용: 커스텀 스크롤바, 마퀴, 스피너 ========== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--flat-accent-magenta);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--flat-accent-orange);
}

/* 마퀴 애니메이션 (CategoryMarquee 스타일) */
@keyframes jujeonja-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.jujeonja-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.jujeonja-marquee-inner {
  display: inline-flex;
  animation: jujeonja-marquee 30s linear infinite;
}

.jujeonja-marquee:hover .jujeonja-marquee-inner {
  animation-play-state: paused;
}

.jujeonja-marquee-section {
  margin-bottom: 24px;
  overflow: hidden;
}

.jujeonja-marquee-items {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.jujeonja-marquee-item {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(17,24,39,0.08);
  margin: 0 12px;
}

@media (min-width: 600px) {
  .jujeonja-marquee-item { font-size: 2rem; }
}

@media (min-width: 900px) {
  .jujeonja-marquee-item { font-size: 2.5rem; }
}

.jujeonja-marquee-sep {
  font-size: 1.2rem;
  color: var(--flat-accent-magenta);
  opacity: 0.5;
  margin: 0 4px;
}

/* wscp 스피너 (orbit 스타일) */
@keyframes ws-spinner-orbit {
  0% { transform: rotate(20deg); opacity: 0; }
  16% { opacity: 1; }
  84% { opacity: 1; }
  100% { transform: rotate(380deg); opacity: 0; }
}

@keyframes ws-spinner-core {
  0%, 100% { transform: scale(0.86); opacity: 0.6; }
  50% { transform: scale(1); opacity: 1; }
}

.jujeonja-spinner-shell {
  width: 56px;
  height: 56px;
  position: relative;
  background: radial-gradient(circle at center, rgba(244,147,3,0.2) 0%, transparent 60%), rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(21,35,63,0.12);
}

.jujeonja-spinner-track {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(21,35,63,0.14);
}

.jujeonja-spinner-dot {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.7), #f49303);
  box-shadow: 0 0 12px rgba(244,147,3,0.45);
  animation: ws-spinner-orbit 1.45s cubic-bezier(0.47, 0.09, 0.53, 0.91) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .jujeonja-marquee-inner,
  .jujeonja-spinner-dot {
    animation-duration: 2.2s;
  }
}
