/* ===== 폰트 ===== */
@import url('https://fonts.googleapis.com/css2?family=Jua&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ===== 디자인 토큰 ===== */
:root {
  --bg-body:      #050810;
  --btn-green:    #6DFF96;
  --btn-sky:      #7CFCED;
  --btn-yellow:   #FFD157;
  --text-white:   #ffffff;
  --text-dim:     rgba(255,255,255,0.6);
  --text-faint:   rgba(255,255,255,0.32);
  --neon-cyan:    rgba(0,229,255,0.55);
  --neon-glow:    0 0 10px rgba(0,229,255,0.3), 0 0 25px rgba(0,229,255,0.1);
  --neon-glow-lg: 0 0 12px rgba(0,229,255,0.25), 0 0 30px rgba(0,229,255,0.1);
  --cell-bg:      rgba(5,8,16,0.78);
  --nav-h:        65px;
  --top-h:        52px;
  --font-hand:    'Jua', sans-serif;
  --font-label:   'Space Grotesk', sans-serif;
}

/* ===== 리셋 ===== */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html, body {
  min-height: 100%;
}
body {
  background: transparent;
  color: var(--text-white);
  font-family: var(--font-hand);
  min-height: 100vh;
}
#bg-fixed {
  position: fixed;
  inset: 0;
  background-image: url('../back.JPG');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}
#app {
  position: relative;
  z-index: 1;
}

/* ===== 앱 컨테이너 ===== */
#app {
  max-width: 768px;
  margin: 0 auto;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background: transparent;
}

/* ===== 페이지 공통 ===== */
.page {
  display: none;
  min-height: 100vh;
  padding-bottom: var(--nav-h);
  position: relative;
}
.page.active { display: flex; flex-direction: column; }
.hidden { display: none !important; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* === 고정 하단 네비게이션 (전역)             */
/* ============================================ */
.bottom-nav-fixed {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 768px;
  height: var(--nav-h);
  background: var(--bg-body);
  border-top: 1px solid rgba(0,229,255,0.3);
  display: flex;
  align-items: center;
  z-index: 200;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: all 0.18s;
}
.nav-icon-wrap {
  font-size: 22px;
  opacity: 0.45;
  transition: opacity 0.18s;
}
.nav-label {
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.18s;
}
.nav-item.active .nav-icon-wrap { opacity: 1; }
.nav-item.active .nav-label { color: var(--btn-sky); }
.nav-item.nav-locked .nav-icon-wrap { opacity: 0.25; }
.nav-item.nav-locked .nav-label { color: var(--text-faint); }
.nav-item.nav-locked::after {
  content: '🔒';
  position: absolute;
  top: 5px;
  right: calc(50% - 18px);
  font-size: 9px;
  opacity: 0.55;
}

/* ============================================ */
/* === 서브 페이지 공통 상단 바 ================ */
/* ============================================ */
.sub-top-bar {
  height: var(--top-h);
  background: rgba(5,8,16,0.9);
  border-bottom: 1px solid rgba(0,229,255,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
  z-index: 10;
}
.sub-page-title {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--text-white);
  letter-spacing: 0.5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.btn-back {
  font-family: var(--font-hand);
  font-size: 17px;
  background: none;
  border: none;
  color: var(--btn-sky);
  cursor: pointer;
  padding: 4px 0;
  min-width: 64px;
  z-index: 2;
}
.btn-next {
  font-family: var(--font-hand);
  font-size: 17px;
  background: none;
  border: none;
  color: var(--btn-sky);
  cursor: pointer;
  padding: 4px 0;
  min-width: 64px;
  text-align: right;
  z-index: 2;
}

/* ============================================ */
/* === 메인 홈 ================================= */
#page-home {
}
/* ============================================ */

/* 최상단 헤더 */
.top-header {
  background: rgba(5,8,16,0.92);
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 14px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0,229,255,0.2);
}
.btn-header {
  font-family: var(--font-hand);
  font-size: 16px;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1.5px solid;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-login    { border-color: var(--btn-sky);   color: var(--btn-sky); }
.btn-admin    { border-color: var(--btn-green);  color: var(--btn-green); }
.btn-withdraw { border-color: rgba(255,77,109,0.7); color: rgba(255,77,109,0.9); font-size: 13px; }
.btn-login:hover    { background: rgba(124,252,237,0.12); }
.btn-admin:hover    { background: rgba(109,255,150,0.12); }
.btn-withdraw:hover { background: rgba(255,77,109,0.12); }

/* 타이틀 바 */
.home-title-bar {
  background: rgba(5,8,16,0.92);
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  flex-shrink: 0;
}
.home-title {
  font-family: var(--font-hand);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: 0.5px;
  line-height: 1;
}

/* 메인 콘텐츠 영역 */
.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 4-그리드 */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* 개별 패널 공통 */
.grid-panel {
  background: rgba(5,8,16,0.72);
  border: 1px solid rgba(0,229,255,0.55);
  box-shadow: var(--neon-glow);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 7px;
  backdrop-filter: blur(4px);
  min-height: 0;
  min-width: 0;
}
.panel-title {
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--btn-sky);
  margin-bottom: 5px;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}
.title-dl { font-size: 14px; opacity: 0.7; }

/* 이미지 플레이스홀더 */
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-faint);
  font-family: var(--font-hand);
  font-size: 16px;
  pointer-events: none;
}

/* === A: 오늘의 픽 === */
.panel-pick {
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.panel-pick:active { opacity: 0.85; }
.panel-pick .panel-title {
  position: absolute;
  top: 7px;
  left: 9px;
  z-index: 2;
  margin: 0;
  background: rgba(5,8,16,0.55);
  padding: 2px 7px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.pic-img-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
}
.pic-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* === 구독 패널 === */
.sub-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
}
.sub-preview-text {
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--text-white);
  line-height: 1.4;
}
.sub-desc-text {
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  flex: 1;
}
.sub-btn {
  padding: 7px 4px;
  border: 1.5px solid;
  border-radius: 8px;
  font-family: var(--font-hand);
  font-size: 13px;
  background: transparent;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.18s;
}
.sub-btn:active { opacity: 0.75; }
.sub-btn-sky   { border-color: var(--btn-sky);   color: var(--btn-sky); }
.sub-btn-green { border-color: var(--btn-green);  color: var(--btn-green); }

/* === B: 오늘의 음악 === */
.music-vid-wrap {
  position: relative;
  background: rgba(0,0,0,0.5);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  border: 1px solid rgba(0,229,255,0.3);
}
.music-vid-wrap video,
.music-vid-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.vid-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--text-faint);
}
.free-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 7px;
  border-radius: 10px;
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 700;
  background: rgba(109,255,150,0.8);
  color: #050810;
  z-index: 2;
}

/* 미니 컨트롤 */
.mini-controls {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 4px 0;
  flex-shrink: 0;
}
.mini-btn {
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 13px;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}
.mini-btn:hover { background: rgba(0,229,255,0.18); }
.mini-btn.mini-play {
  background: rgba(109,255,150,0.18);
  color: var(--btn-green);
  border-color: var(--btn-green);
}

/* C: 가사 스크롤 */
.lyrics-box {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,229,255,0.18);
  min-height: 0;
}
.lyrics-inner {
  padding: 5px 7px;
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.lyrics-inner::-webkit-scrollbar { display: none; }
.lyrics-line {
  font-family: var(--font-hand);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  text-align: center;
}

/* === D: 오늘의 만화 === */
.comic-scroll-wrap {
  flex: 1;
  overflow-y: auto;
  border-radius: 6px;
  position: relative;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,229,255,0.3);
  cursor: pointer;
  min-height: 0;
}
.comic-scroll-wrap::-webkit-scrollbar { width: 2px; }
.comic-scroll-wrap::-webkit-scrollbar-thumb {
  background: rgba(0,229,255,0.3);
  border-radius: 2px;
}
.comic-scroll-wrap img { width: 100%; display: none; }
.comic-ph { position: absolute; inset: 0; }

/* ============================================ */
/* === 구독혜택 페이지 ========================= */
/* ============================================ */
.benefits-wrap {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.benefits-card {
  background: rgba(5,8,16,0.78);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefits-card-highlight {
  border-color: var(--btn-sky);
  box-shadow: 0 0 14px rgba(124,252,237,0.25);
}
.benefits-card-special {
  border-color: var(--btn-yellow);
  box-shadow: 0 0 14px rgba(255,209,87,0.2);
}
.benefits-card-title {
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--text-white);
}
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--text-white);
}
.benefit-icon { font-size: 20px; }
.benefits-desc {
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ============================================ */
/* === 오늘의 픽 상세 페이지 =================== */
/* ============================================ */
#page-today-pick { }

.pick-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 20px;
}
.pick-img-container {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow-lg);
  background: rgba(0,0,0,0.4);
}
.pick-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pick-download-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pick-download-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 44px;
  background: rgba(5,8,16,0.85);
  border: 1.5px solid var(--btn-green);
  box-shadow: 0 0 14px rgba(109,255,150,0.25);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.pick-download-btn:hover {
  background: rgba(109,255,150,0.12);
  transform: translateY(-2px);
}
.pick-download-icon { font-size: 34px; line-height: 1; }
.pick-download-label {
  display: block;
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--btn-green);
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.5;
}

/* ============================================ */
/* === 로그인 ================================== */
/* ============================================ */
#page-login { }

.form-wrap {
  flex: 1;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.form-logo {
  text-align: center;
  margin-bottom: 14px;
}
.form-logo-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  background: rgba(5,8,16,0.6);
}
.form-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,8,16,0.6);
  font-size: 36px;
}
.form-logo h2 {
  font-family: var(--font-hand);
  font-size: 26px;
  color: var(--btn-sky);
  letter-spacing: 0.5px;
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  background: rgba(5,8,16,0.7);
  border: 1px solid var(--neon-cyan);
  border-radius: 10px;
  color: var(--text-white);
  font-family: var(--font-hand);
  font-size: 18px;
  outline: none;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.input-field:focus {
  border-color: var(--btn-sky);
  box-shadow: 0 0 8px rgba(124,252,237,0.25);
}
.input-field::placeholder { color: var(--text-faint); }

textarea.input-field { resize: none; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-divider hr { flex: 1; border: none; height: 1px; background: rgba(0,229,255,0.2); }
.form-divider span { font-family: var(--font-hand); font-size: 14px; color: var(--text-dim); }

/* 공통 버튼 */
.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-hand);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: rgba(5,8,16,0.7);
  border: 1.5px solid var(--btn-sky);
  color: var(--btn-sky);
  box-shadow: 0 0 10px rgba(124,252,237,0.2);
}
.btn-primary:hover { background: rgba(124,252,237,0.12); box-shadow: 0 0 16px rgba(124,252,237,0.35); }
.btn-green-solid {
  background: rgba(109,255,150,0.15);
  border: 1.5px solid var(--btn-green);
  color: var(--btn-green);
  box-shadow: 0 0 10px rgba(109,255,150,0.2);
}
.btn-green-solid:hover { background: rgba(109,255,150,0.25); }
.btn-yellow-solid {
  background: linear-gradient(135deg, rgba(255,209,87,0.35), rgba(255,160,30,0.25));
  border: 2px solid var(--btn-yellow);
  color: #ffe066;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 0 0 18px rgba(255,209,87,0.5), 0 0 6px rgba(255,209,87,0.3);
  text-shadow: 0 0 8px rgba(255,209,87,0.6);
  animation: btn-pulse-gold 2s ease-in-out infinite;
}
.btn-yellow-solid:hover {
  background: linear-gradient(135deg, rgba(255,209,87,0.55), rgba(255,160,30,0.45));
  box-shadow: 0 0 28px rgba(255,209,87,0.8);
  animation: none;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--btn-sky);
}
.btn-outline:hover { background: rgba(0,229,255,0.08); }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
}
.btn-ghost:hover { color: var(--text-white); }
.btn-gold {
  background: rgba(255,209,87,0.15);
  border: 1.5px solid var(--btn-yellow);
  color: var(--btn-yellow);
}

/* ============================================ */
/* === 관리자 인증 ============================= */
/* ============================================ */
#page-admin-verify {
  background: transparent;
}
.verify-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  gap: 24px;
}
.verify-title {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--text-white);
}
.hack-text {
  font-family: var(--font-label);
  font-size: 14px;
  color: var(--btn-green);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(0,229,255,0.3);
  box-shadow: var(--neon-glow);
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  line-height: 2;
  text-align: left;
}
.spin-circle {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(0,229,255,0.15);
  border-top-color: var(--btn-sky);
  border-radius: 50%;
  animation: spin-anim 0.9s linear infinite;
}
@keyframes spin-anim { to { transform: rotate(360deg); } }

/* ============================================ */
/* === 구독 플랜 ================================ */
/* ============================================ */
#page-plans { }

.plans-wrap {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.plans-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.plans-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.plan-card {
  background: rgba(5,8,16,0.78);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-card:hover { background: rgba(0,229,255,0.06); transform: translateY(-2px); }
.plan-card-featured { border-color: var(--btn-sky); box-shadow: 0 0 14px rgba(124,252,237,0.25); }
.plan-card-gold { border-color: var(--btn-yellow); box-shadow: 0 0 14px rgba(255,209,87,0.2); }
.plan-image-bg {
  border-radius: 14px;
  overflow: hidden;
  background-image: url('../back.JPG');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 120px;
}
.plan-image-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,8,16,0.65);
}
.plan-name {
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--text-white);
}
.plan-price {
  font-family: var(--font-hand);
  font-size: 24px;
  color: var(--btn-sky);
}
.plan-period { font-size: 14px; color: var(--text-dim); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.plan-features li {
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--text-dim);
}
.plan-features li::before { content: '✓  '; color: var(--btn-green); }
.badge-best {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--font-label); font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  background: rgba(255,209,87,0.15); color: var(--btn-yellow);
  border: 1px solid rgba(255,209,87,0.4);
}
@keyframes btn-pulse-sky {
  0%, 100% { box-shadow: 0 0 6px rgba(124,252,237,0.4), 0 0 0 0 rgba(124,252,237,0.3); }
  50% { box-shadow: 0 0 14px rgba(124,252,237,0.7), 0 0 10px 4px rgba(124,252,237,0.15); }
}
@keyframes btn-pulse-gold {
  0%, 100% { box-shadow: 0 0 6px rgba(255,209,87,0.4), 0 0 0 0 rgba(255,209,87,0.3); }
  50% { box-shadow: 0 0 14px rgba(255,209,87,0.7), 0 0 10px 4px rgba(255,209,87,0.15); }
}
.btn-select {
  font-family: var(--font-hand);
  font-size: 16px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--btn-sky);
  background: transparent;
  color: var(--btn-sky);
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  width: 100%;
  margin-top: auto;
  animation: btn-pulse-sky 2s ease-in-out infinite;
}
.btn-select:hover {
  background: rgba(124,252,237,0.18);
  transform: scale(1.04);
  animation: none;
  box-shadow: 0 0 18px rgba(124,252,237,0.6);
}
.btn-select-gold {
  border-color: var(--btn-yellow);
  color: var(--btn-yellow);
  animation: btn-pulse-gold 2s ease-in-out infinite;
}
.btn-select-gold:hover {
  background: rgba(255,209,87,0.18);
  animation: none;
  box-shadow: 0 0 18px rgba(255,209,87,0.6);
}
.plans-cta {
  font-family: var(--font-hand);
  font-size: 18px;
  padding: 13px;
  border-radius: 12px;
  border: 1.5px solid var(--btn-sky);
  background: rgba(5,8,16,0.7);
  color: var(--btn-sky);
  cursor: pointer;
  width: 100%;
  box-shadow: 0 0 12px rgba(124,252,237,0.2);
  transition: all 0.18s;
}
.plans-cta:hover { background: rgba(124,252,237,0.1); }
.plans-login-link {
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--text-dim);
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}

/* ============================================ */
/* === 결제 ==================================== */
/* ============================================ */
#page-payment { }

.payment-wrap {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.payment-summary {
  background: rgba(5,8,16,0.8);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.plan-label-sm {
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.payment-amount {
  font-family: var(--font-hand);
  font-size: 38px;
  color: var(--btn-sky);
}
.pay-methods-title {
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--text-dim);
  padding: 0 2px;
}
.payment-methods { display: flex; flex-direction: column; gap: 8px; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(5,8,16,0.7);
  border: 1px solid var(--neon-cyan);
  border-radius: 12px;
  padding: 13px 16px;
  cursor: pointer;
  transition: all 0.18s;
}
.pay-method:hover { background: rgba(0,229,255,0.06); }
.pay-method.selected {
  border-color: var(--btn-sky);
  background: rgba(124,252,237,0.08);
  box-shadow: 0 0 10px rgba(124,252,237,0.2);
}
.pay-icon { font-size: 22px; }
.pay-name {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--text-white);
  flex: 1;
}
.pay-method input[type=radio] { accent-color: var(--btn-sky); }
.payment-note {
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

/* ============================================ */
/* === 환영 ==================================== */
/* ============================================ */
#page-welcome { }

.welcome-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  gap: 20px;
}
.welcome-title {
  font-family: var(--font-hand);
  font-size: 44px;
  color: var(--text-white);
  line-height: 1.2;
  font-weight: 400;
}
.welcome-name {
  font-family: var(--font-hand);
  font-size: 36px;
  color: var(--text-white);
  line-height: 1.2;
}
.welcome-mascot {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow-lg);
  background: rgba(5,8,16,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.welcome-sub {
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================ */
/* === 프리미엄 ================================ */
/* ============================================ */
#page-premium { }

.premium-wrap {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}
.premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.premium-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prem-section {
  background: rgba(5,8,16,0.78);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.prem-section-label {
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--btn-sky);
}
.prem-pick-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0,229,255,0.3);
  background: rgba(0,0,0,0.4);
  display: block;
}
.prem-pick-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 8px;
  border: 1px dashed rgba(0,229,255,0.3);
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 14px;
}
.prem-music-vid {
  width: 65%;
  margin: 0 auto;
  display: block;
  aspect-ratio: 16/9;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0,229,255,0.3);
  background: rgba(0,0,0,0.4);
  display: block;
}
#homeMusicVid {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.prem-music-title {
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--text-white);
  text-align: center;
}
.prem-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.prem-ctrl-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-dim);
  padding: 2px;
  transition: color 0.18s;
}
.prem-ctrl-btn:hover { color: var(--text-white); }
.prem-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(5,8,16,0.7);
  border: 1.5px solid var(--btn-sky);
  color: var(--btn-sky);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.prem-progress {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  cursor: pointer;
}
.prem-progress-fill {
  height: 100%;
  background: var(--btn-sky);
  border-radius: 2px;
  width: 0%;
}
.prem-lyrics {
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  height: 95px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.8;
}
.prem-lyrics::-webkit-scrollbar { display: none; }
.lyrics-scroll-btns {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 2px 0;
}
.lyrics-scroll-btn {
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 4px;
  color: var(--btn-sky);
  font-size: 10px;
  cursor: pointer;
  padding: 2px 10px;
  line-height: 1;
  transition: background 0.15s;
}
.lyrics-scroll-btn:hover { background: rgba(0,229,255,0.2); }
/* 홈 환영 섹션 */
.home-welcome-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.home-welcome-badge {
  font-family: var(--font-hand);
  font-size: 13px;
  color: #050810;
  background: var(--btn-yellow);
  width: 100%;
  padding: 4px 0;
  border-radius: 6px;
  letter-spacing: 1px;
}
.home-welcome-msg {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--text-white);
  line-height: 1.4;
}
.home-welcome-body {
  background: rgba(0,0,0,0.82);
  border-radius: 6px;
  padding: 8px;
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--text-white);
  line-height: 1.6;
  width: 100%;
}

/* 홈 구독 프로모션 */
.home-sub-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.home-sub-title {
  font-family: var(--font-hand);
  font-size: 15px;
  font-weight: 700;
  color: #050810;
  background: var(--btn-sky);
  width: 100%;
  padding: 4px 0;
  border-radius: 6px;
  letter-spacing: 1px;
  text-align: center;
}
.home-sub-body {
  background: rgba(0,0,0,0.82);
  border-radius: 6px;
  padding: 6px 8px;
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--text-white);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.home-sub-btn-gold {
  width: 100%;
  background: var(--btn-yellow);
  color: #050810;
  border: none;
  border-radius: 6px;
  font-family: var(--font-hand);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 0;
  cursor: pointer;
}
.home-sub-btn-dark {
  width: 100%;
  background: rgba(5,8,16,0.85);
  color: var(--btn-yellow);
  border: 2px solid var(--btn-yellow);
  border-radius: 6px;
  font-family: var(--font-hand);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 0;
  cursor: pointer;
}
/* Heart bars */
.heart-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.heart-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.heart-row-name {
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--text-dim);
  min-width: 30px;
  flex-shrink: 0;
}
.heart-icon { font-size: 14px; color: rgba(255,255,255,0.5); transition: transform 0.2s, color 0.2s; }
.heart-filled { color: #ff4d9e !important; filter: drop-shadow(0 0 6px rgba(255,77,158,0.9)); transform: scale(1.3); }
.heart-bar-bg {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
}
.heart-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.heart-bar-1 { background: linear-gradient(90deg, #ff6b9d, #c026d3); }
.heart-bar-2 { background: linear-gradient(90deg, #f97316, #ff6b9d); }
.heart-bar-3 { background: linear-gradient(90deg, #22d3ee, #6366f1); }
.heart-bar-4 { background: linear-gradient(90deg, #84cc16, #22d3ee); }
.heart-bar-5 { background: linear-gradient(90deg, #fbbf24, #84cc16); }
.prem-heart-full { margin-top: 0; }
.heart-count-label {
  font-family: var(--font-hand);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
}
.heart-up-label {
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--text-faint);
  text-align: center;
}
.prem-comic-label {
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--btn-sky);
}
.prem-comic-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-comic-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.prem-comic-scroll {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.prem-comic-scroll::-webkit-scrollbar { display: none; }
.prem-comic-img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(0,229,255,0.2);
}
.prem-comic-placeholder {
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 6px;
  border: 1px dashed rgba(0,229,255,0.25);
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 13px;
}

/* ============================================ */
/* === 4컷만화 풀스크린 뷰어 =================== */
/* ============================================ */
.comic-viewer-fullscreen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 300;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 새 만화 페이지 레이아웃 */
.comic-img-wrap {
  width: 100%;
  background: #000;
  position: relative;
}
.comic-img-wrap > img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.comic-bottom-bar {
  height: 56px;
  background: rgba(5,8,16,0.92);
  border-top: 1px solid rgba(0,229,255,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  flex-shrink: 0;
}
.comic-ctrl-btn {
  background: none;
  border: none;
  color: var(--btn-sky);
  font-family: var(--font-hand);
  font-size: 16px;
  cursor: pointer;
  padding: 6px 12px;
  min-width: 72px;
  transition: opacity 0.2s;
}
.comic-ctrl-btn.nav-disabled,
.comic-ctrl-btn:disabled {
  opacity: 0.2;
  cursor: default;
}
.comic-bottom-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.comic-date-inline {
  font-family: var(--font-label);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.comic-viewer-fullscreen > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.22s ease;
}
.comic-overlay-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: rgba(5,8,16,0.7);
  backdrop-filter: blur(10px);
  z-index: 20;
  border-bottom: 1px solid rgba(0,229,255,0.2);
}
.comic-next-top-btn {
  background: none;
  border: none;
  color: var(--btn-sky);
  font-family: var(--font-hand);
  font-size: 17px;
  cursor: pointer;
  padding: 4px 0;
  min-width: 64px;
  text-align: right;
}
.comic-back-btn {
  background: transparent;
  border: none;
  color: var(--btn-sky);
  font-family: var(--font-hand);
  font-size: 17px;
  cursor: pointer;
}
.comic-overlay-title {
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--text-white);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.comic-page-indicator {
  font-family: var(--font-label);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.45);
  padding: 3px 10px;
  border-radius: 20px;
}
.comic-viewer-date {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-label);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.5);
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 10;
}
.comic-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 80px;
  border: none;
  border-radius: 6px;
  background: rgba(0,229,255,0.15);
  backdrop-filter: blur(8px);
  color: var(--btn-sky);
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.18s;
}
.comic-arrow:hover { background: rgba(0,229,255,0.28); }
.arrow-left  { left: 0;  border-radius: 0 6px 6px 0; }
.arrow-right { right: 0; border-radius: 6px 0 0 6px; }
.comic-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,8,16,0.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.comic-lock-box { text-align: center; padding: 32px 28px; }
.comic-lock-title {
  font-family: var(--font-hand);
  font-size: 28px;
  color: var(--text-white);
  margin-bottom: 10px;
}
.comic-lock-sub {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============================================ */
/* === 음악전용 페이지 ========================= */
/* ============================================ */
#page-music-window { }

.music-full-wrap {
  flex: 1;
  padding: 10px 14px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.music-video-area {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow-lg);
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.music-video-area video,
.music-video-area img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.music-lyrics-label {
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--text-dim);
  text-align: center;
  flex-shrink: 0;
}
.music-lyrics-full {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 0;
  background: rgba(0,0,0,0.55);
  border-radius: 10px;
  padding: 10px 8px;
}
.music-lyrics-full p {
  font-family: var(--font-hand);
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 2;
  text-align: center;
  transition: all 0.4s;
}
.music-lyrics-full p.current {
  font-size: 26px;
  color: var(--btn-green);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(109,255,150,0.4);
}
.music-full-controls {
  background: rgba(5,8,16,0.78);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.music-song-title {
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--text-white);
  text-align: center;
}
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--btn-sky), var(--btn-green));
  border-radius: 2px;
  width: 0%;
  transition: width 0.5s linear;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--btn-sky);
  box-shadow: 0 0 6px rgba(124,252,237,0.5);
}
.time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-label);
  font-size: 13px;
  color: var(--text-dim);
}
.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.ctrl-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-dim);
  transition: color 0.18s;
}
.ctrl-btn:hover { color: var(--text-white); }
.ctrl-btn.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(5,8,16,0.7);
  border: 1.5px solid var(--btn-sky);
  color: var(--btn-sky);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(124,252,237,0.25);
}

/* ============================================ */
/* === 관리자 업로드 =========================== */
/* ============================================ */
#page-admin-upload {
  background: transparent;
}
.admin-wrap {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.admin-section {
  background: rgba(5,8,16,0.8);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-section-title {
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--btn-sky);
  margin-bottom: 4px;
}
.admin-sub-title {
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
  padding: 4px 0;
}
.upload-zone {
  border: 2px dashed rgba(0,229,255,0.35);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s;
}
.upload-zone:hover { border-color: var(--btn-sky); }
.upload-icon { font-size: 26px; margin-bottom: 6px; }
.upload-zone p {
  font-family: var(--font-hand);
  font-size: 15px;
  color: var(--text-dim);
}
/* Admin upload slots grid */
.comic-upload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.comic-slot {
  aspect-ratio: 3/4;
  background: rgba(5,8,16,0.6);
  border: 1px dashed rgba(0,229,255,0.3);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  position: relative;
  overflow: hidden;
  gap: 3px;
  padding: 4px;
}
.comic-slot:hover { background: rgba(0,229,255,0.07); }
.slot-up-icon { font-size: 18px; color: var(--text-faint); }
.slot-up-text {
  font-family: var(--font-hand);
  font-size: 10px;
  color: var(--text-faint);
  text-align: center;
}
.slot-date {
  font-family: var(--font-label);
  font-size: 8px;
  color: rgba(255,255,255,0.2);
  text-align: center;
}
/* Pick slots (same style, 4 in a row) */
.pick-upload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.pick-slot {
  aspect-ratio: 1/1;
  background: rgba(5,8,16,0.6);
  border: 1px dashed rgba(0,229,255,0.3);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  position: relative;
  overflow: hidden;
  gap: 3px;
  padding: 4px;
}
.pick-slot:hover { background: rgba(0,229,255,0.07); }
.admin-upload-btn {
  font-family: var(--font-hand);
  font-size: 18px;
  padding: 12px;
  border-radius: 10px;
  border: 1.5px solid var(--btn-sky);
  background: rgba(5,8,16,0.7);
  color: var(--btn-sky);
  cursor: pointer;
  width: 100%;
  box-shadow: 0 0 10px rgba(124,252,237,0.18);
  transition: all 0.18s;
}
.admin-upload-btn:hover { background: rgba(124,252,237,0.1); }

/* 관리자 페이지 헤더 */
.admin-page-header {
  padding: 12px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-header-title {
  font-family: var(--font-hand);
  font-size: 20px;
  font-weight: 700;
  color: var(--btn-sky);
  text-align: center;
  background: rgba(5,8,16,0.8);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  border-radius: 10px;
  padding: 10px 14px;
  letter-spacing: 0.5px;
}
.admin-header-hint {
  font-family: var(--font-hand);
  font-size: 13px;
  color: rgba(124,252,237,0.6);
  text-align: center;
  padding: 2px 0;
}

/* 관리자 메인 카드 */
.admin-main-card {
  background: rgba(5,8,16,0.85);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow-lg);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-card-header {
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--text-white);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,229,255,0.2);
}

/* 단일 업로드 하기 버튼 */
.admin-upload-all-btn {
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  padding: 16px;
  border-radius: 14px;
  border: 2px solid var(--btn-sky);
  background: linear-gradient(135deg, rgba(0,229,255,0.18) 0%, rgba(109,255,150,0.1) 100%);
  color: var(--btn-sky);
  cursor: pointer;
  width: 100%;
  box-shadow: 0 0 20px rgba(0,229,255,0.35), 0 0 40px rgba(0,229,255,0.1);
  transition: all 0.22s;
  letter-spacing: 2px;
}
.admin-upload-all-btn:hover {
  background: linear-gradient(135deg, rgba(0,229,255,0.28) 0%, rgba(109,255,150,0.18) 100%);
  box-shadow: 0 0 28px rgba(0,229,255,0.5), 0 0 55px rgba(0,229,255,0.15);
}

/* ============================================ */
/* === 로딩 오버레이 & 토스트 ================== */
/* ============================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,8,16,0.9);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  gap: 16px;
}
.loading-overlay.hidden { display: none !important; }
.loading-text {
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--text-dim);
}

.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5,8,16,0.95);
  border: 1px solid var(--neon-cyan);
  box-shadow: var(--neon-glow);
  border-radius: 10px;
  padding: 10px 22px;
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--text-white);
  z-index: 9999;
  white-space: nowrap;
  animation: toast-in 0.3s ease, toast-out 0.3s ease 2.5s forwards;
}
@keyframes toast-in {
  from { opacity:0; transform:translateX(-50%) translateY(8px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
@keyframes toast-out { to { opacity:0; } }

/* ===== 오늘의 작품 ===== */
.today-work-wrap {
  padding: 12px 14px 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tw-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.tw-tab {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-hand);
  font-size: 13px;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.tw-tab.active {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: #000;
  font-weight: 700;
}
.tw-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
}
.tw-label {
  font-family: var(--font-hand);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-cyan);
  padding: 10px 14px 6px;
  letter-spacing: 1px;
}
.tw-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 14px 14px;
}
.tw-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
}
.tw-cartoon {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 10px;
}
.tw-video {
  width: 100%;
  border-radius: 0 0 10px 10px;
  background: #000;
  display: block;
}
.tw-placeholder {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-hand);
  font-size: 13px;
  margin: 0 14px 14px;
}
.tw-lyrics {
  padding: 8px 16px 16px;
  font-family: var(--font-hand);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  white-space: pre-wrap;
  max-height: 200px;
  overflow-y: auto;
}
