/* 럭키TV 카피 디자인 시스템 & 스타일시트 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #08090d;
  --panel-bg: #11141d;
  --panel-bg-hover: #191e2b;
  --sidebar-bg: #0d0f15;
  --border-color: #1e2333;
  --text-main: #f5f6f9;
  --text-sub: #848a9e;
  --neon-cyan: #00f5ff;
  --neon-pink: #ff007f;
  --neon-purple: #9d4edd;
  --neon-green: #39ff14;
  --neon-yellow: #fff01f;
  
  --cyan-glow: 0 0 12px rgba(0, 245, 255, 0.4);
  --pink-glow: 0 0 12px rgba(255, 0, 127, 0.4);
  --purple-glow: 0 0 12px rgba(157, 78, 221, 0.4);
  --green-glow: 0 0 12px rgba(57, 255, 20, 0.4);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sidebar-width: 208px;
  --header-height: 70px;
  --transition-speed: 0.2s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-sub);
}

/* 기본 레이아웃 구조 */
.app-container {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  grid-template-rows: var(--header-height) 1fr;
  grid-template-areas:
    "sidebar header"
    "sidebar main";
  height: 100vh;
  width: 100vw;
}

/* 좌측 사이드바 */
.sidebar {
  grid-area: sidebar;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

.logo-section {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  background-color: transparent !important; /* 로고 검정 배경 박스 제거 (logo.png은 투명) */
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.logo video {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

.logo span {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--cyan-glow);
}

.logo-badge {
  background-color: var(--neon-pink);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--pink-glow);
}

.nav-menu {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}

.nav-item.active {
  border-left: 3px solid var(--neon-cyan);
  padding-left: 13px;
  box-shadow: inset 4px 0 10px rgba(0, 245, 255, 0.05);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--transition-speed) ease;
}

.nav-item:hover svg {
  transform: scale(1.05);
}

.nav-item.active svg {
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.5));
}

/* 좌측 메뉴 아코디언 (제휴 파트너쉽) */
.nav-group { display: flex; flex-direction: column; }
.nav-acc-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.nav-acc-arrow {
  width: 16px !important;
  height: 16px !important;
  margin-left: auto;
  opacity: 0.7;
  transition: transform var(--transition-speed) ease;
}
.nav-group.open > .nav-acc-toggle .nav-acc-arrow { transform: rotate(180deg); }
.nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 4px;
}
.nav-group.open > .nav-submenu { max-height: 420px; }
.nav-subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 32px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  border: 1.5px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  gap: 12px;
}
.nav-subitem-logo,
.nav-subitem .text-logo {
  height: 20px;
  width: 50px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.3;
  transform: scale(1);
  transform-origin: center right;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-subitem .text-logo {
  filter: brightness(0.7);
}

.nav-subitem:hover {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}
.nav-subitem:hover .nav-subitem-logo,
.nav-subitem:hover .text-logo {
  opacity: 0.5;
  filter: grayscale(50%) brightness(0.9);
}
.nav-subitem:hover .text-logo {
  filter: brightness(0.9);
}

/* 1번째 클릭: 미리보기 — 로고 밝기 50% 수준으로 살아남 (이동은 보류) */
.nav-subitem.preview {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}
.nav-subitem.preview .nav-subitem-logo,
.nav-subitem.preview .text-logo {
  opacity: 0.6;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.15);
}
.nav-subitem.preview .text-logo {
  filter: brightness(1);
}

.nav-subitem.active {
  color: #39ff14 !important;
  font-weight: 700;
  background-color: rgba(57, 255, 20, 0.04) !important;
  border: 1.5px solid #39ff14 !important;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.25);
  padding-left: 32px !important;
}
.nav-subitem.active .nav-subitem-logo,
.nav-subitem.active .text-logo {
  filter: grayscale(0%) brightness(1.5) drop-shadow(0 0 6px rgba(57, 255, 20, 0.5));
  opacity: 1;
  transform: scale(2); /* 선택 시 로고 2배 (biplays 요청) */
}
.nav-subitem.active .text-logo {
  filter: brightness(1.5);
}

/* 모바일 서브메뉴 버튼 스타일 */
.cat-submenu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.cat-btn.cat-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13px;
  border: 1.5px solid rgba(0, 229, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  color: var(--text-sub);
  transition: all 0.3s ease;
}
.cat-btn.cat-sub .cat-sub-logo,
.cat-btn.cat-sub .text-logo {
  height: 18px;
  width: 45px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.3;
  transform: scale(1);
  transform-origin: center right;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}
.cat-btn.cat-sub .text-logo {
  filter: brightness(0.7);
}

.cat-btn.cat-sub:hover {
  color: #39ff14;
  background: rgba(57, 255, 20, 0.04);
}
.cat-btn.cat-sub:hover .cat-sub-logo,
.cat-btn.cat-sub:hover .text-logo {
  opacity: 0.5;
  filter: grayscale(50%) brightness(0.9);
}
.cat-btn.cat-sub:hover .text-logo {
  filter: brightness(0.9);
}

.cat-btn.cat-sub.active {
  color: #39ff14;
  background: rgba(57, 255, 20, 0.04);
  border-color: #39ff14;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}
.cat-btn.cat-sub.active .cat-sub-logo,
.cat-btn.cat-sub.active .text-logo {
  filter: grayscale(0%) brightness(1.5) drop-shadow(0 0 4px rgba(57, 255, 20, 0.5));
  opacity: 1;
  transform: scale(1.5);
}
.cat-btn.cat-sub.active .text-logo {
  filter: brightness(1.5);
}


/* 모바일 카테고리 시트 — 제휴 파트너쉽 아코디언 (기본 접힘, 탭하면 펼침) */
.cat-acc { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.cat-acc-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cat-acc-arrow { width: 16px; height: 16px; opacity: 0.75; transition: transform 0.25s ease; }
.cat-acc.open .cat-acc-arrow { transform: rotate(180deg); }
.cat-submenu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.cat-acc.open .cat-submenu { max-height: 360px; }
.cat-btn.cat-sub { font-size: 13px; opacity: 0.92; }

/* 하단바 아이콘 (이모지 -> SVG) */
.bbar-ico svg { width: 22px; height: 22px; display: block; }

/* 서비스 준비 중 (fallback) — 프리미엄 리디자인 */
.fallback-page {
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 40px;
  text-align: center;
}
.fallback-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fbFade 0.6s ease both;
}
.fallback-icon {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, rgba(0, 245, 255, 0.12), rgba(157, 78, 221, 0.14));
  border: 1px solid rgba(0, 245, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 50px rgba(0, 245, 255, 0.14);
}
.fallback-icon::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 32px;
  border: 1px solid rgba(0, 245, 255, 0.35);
  animation: fbPulse 2.6s ease-out infinite;
}
.fallback-icon svg {
  width: 46px;
  height: 46px;
  fill: var(--neon-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.55));
}
.fallback-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #ffffff, #9bdcff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}
.fallback-desc {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
  margin: 0;
}
.fallback-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.06);
}
@keyframes fbPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.18); opacity: 0; }
}
@keyframes fbFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.sidebar-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 12px 16px;
}

.recommend-section {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}

.section-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-sub);
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-left: 8px;
  font-weight: 600;
}

.streamer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.streamer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background-color var(--transition-speed) ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.streamer-item:hover {
  background-color: var(--panel-bg-hover);
}

.avatar-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3d40, #181a1b);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.avatar.active-border {
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

.status-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--sidebar-bg);
  background-color: var(--text-sub);
}

.status-badge.live {
  background-color: var(--neon-pink);
  box-shadow: var(--pink-glow);
}

.streamer-info {
  flex: 1;
  min-width: 0;
}

.streamer-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.streamer-category {
  font-size: 11px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewer-count {
  font-size: 11px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 4px;
}

.viewer-count::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--neon-pink);
}

/* 상단 헤더 */
.header {
  grid-area: header;
  background-color: var(--sidebar-bg);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 9;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 12px;
  width: 320px;
  max-width: 100%;
  transition: border-color var(--transition-speed) ease;
}

.search-bar:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.15);
}

.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 13px;
  width: 100%;
  padding-left: 8px;
}

.search-bar input::placeholder {
  color: var(--text-sub);
}

.search-bar svg {
  width: 16px;
  height: 16px;
  fill: var(--text-sub);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
  position: relative;
}

.action-btn:hover {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}

.action-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-pink);
  box-shadow: var(--pink-glow);
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.user-profile-btn:hover {
  border-color: var(--text-sub);
  background-color: var(--panel-bg-hover);
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

/* 메인 콘텐츠 컨테이너 */
.main-content {
  grid-area: main;
  overflow-y: auto;
  position: relative;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
}

.page-container {
  display: none; /* 기본적으로 비활성화 */
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 32px;
  flex-direction: column;
  flex: 1;
}

.page-container.active {
  display: flex;
  opacity: 1;
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-sub);
}

/* 1. LIVES PAGE (라이브 목록) */
.lives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.live-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.live-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 20px rgba(0, 245, 255, 0.08);
}

.thumbnail-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Ratio */
  background-color: #0d0f15;
  overflow: hidden;
}

.thumbnail-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #151a26, #090b10);
  color: var(--text-sub);
  gap: 8px;
}

.thumbnail-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--neon-pink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: var(--pink-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.viewer-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 4px 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(2px);
}

.viewer-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

.card-info {
  padding: 16px;
  display: flex;
  gap: 12px;
  flex: 1;
}

.card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.card-streamer {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
}

.card-tags {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.tag {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-sub);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tag.neon {
  border-color: rgba(0, 245, 255, 0.2);
  color: var(--neon-cyan);
}

/* 2. PLAYER PAGE (영상 플레이어 - 극장모드) */
.player-page-container {
  padding: 0 !important; /* 극장모드는 꽉 차게 */
  height: 100%;
}

.theater-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  height: 100%;
}

.video-section {
  display: flex;
  flex-direction: column;
  background-color: #050608;
  height: 100%;
  overflow-y: auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-color: black;
  flex-shrink: 0;
}

/* 실제 라이브 플레이어 */
#lk-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

/* LIVE 뱃지 (재생 중일 때) */
.lk-live-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: none;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  z-index: 3;
}

.lk-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-pink);
  animation: pulse 1s infinite alternate;
  box-shadow: var(--pink-glow);
}

/* 신호 없음 오버레이 */
.lk-nosignal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: radial-gradient(circle, #121824 0%, #030406 100%);
  z-index: 2;
}

.lk-nosignal-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  animation: lk-spin 0.9s linear infinite;
  box-shadow: var(--cyan-glow);
}

.lk-nosignal-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: var(--cyan-glow);
}

.lk-nosignal-sub {
  font-size: 12px;
  color: var(--text-sub);
}

@keyframes lk-spin {
  to { transform: rotate(360deg); }
}

.pulse-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-pink);
  animation: pulse 1s infinite alternate;
  box-shadow: var(--pink-glow);
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

.player-details {
  padding: 24px;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
}

.player-streamer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.streamer-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.streamer-large-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.streamer-large-info h2 {
  font-size: 18px;
  font-weight: 700;
}

.streamer-large-info p {
  font-size: 13px;
  color: var(--neon-cyan);
  margin-top: 2px;
  font-weight: 600;
}

.streamer-stats {
  display: flex;
  gap: 24px;
}

.stat-box {
  text-align: right;
}

.stat-box .stat-label {
  font-size: 11px;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-box .stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

.player-description {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  background-color: var(--panel-bg);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* 실시간 채팅창 */
.chat-section {
  background-color: var(--sidebar-bg);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.chat-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  font-size: 13px;
  line-height: 1.4;
  word-break: break-all;
}

.chat-msg-user {
  font-weight: 600;
  margin-right: 6px;
  color: var(--neon-cyan);
  cursor: pointer;
}

.chat-msg-user.streamer {
  color: var(--neon-pink);
  background-color: rgba(255, 0, 127, 0.1);
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid rgba(255, 0, 127, 0.2);
}

.chat-msg-content {
  color: var(--text-main);
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background-color: var(--sidebar-bg);
}

.chat-input-wrapper {
  display: flex;
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
  align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-input-wrapper:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.12);
}

.chat-input-wrapper input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 13px;
  padding: 6px;
}

.chat-send-btn {
  background-color: var(--panel-bg-hover);
  border: 1px solid var(--border-color);
  color: var(--neon-cyan);
  padding: 6px 14px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

.chat-send-btn:hover {
  background-color: var(--neon-cyan);
  color: #000;
  box-shadow: var(--cyan-glow);
}

.chat-send-btn:active {
  transform: scale(0.96);
}

/* 3. HIGHLIGHTS PAGE (하이라이트) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.highlight-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-purple);
  box-shadow: 0 8px 20px rgba(157, 78, 221, 0.08);
}

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.highlight-info {
  padding: 12px;
}

.highlight-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.highlight-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 8px;
}

/* 4. RANKING PAGE (스트리머 랭킹) */
.ranking-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.ranking-tab {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  border-radius: 6px;
}

.ranking-tab:hover {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}

.ranking-tab.active,
.ranking-tab.active:hover {
  color: var(--neon-purple);
  background-color: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.ranking-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  padding-top: 20px;
}

.podium-place {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 180px;
}

.podium-place.first {
  height: 240px;
  border-color: var(--neon-yellow);
  box-shadow: 0 0 20px rgba(255, 240, 31, 0.1);
}

.podium-place.second {
  height: 200px;
  border-color: var(--text-sub);
}

.podium-place.third {
  height: 180px;
  border-color: #cd7f32;
}

.podium-badge {
  position: absolute;
  top: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: black;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.podium-place.first .podium-badge { background-color: var(--neon-yellow); }
.podium-place.second .podium-badge { background-color: #e5e5e5; }
.podium-place.third .podium-badge { background-color: #cd7f32; }

.podium-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
}

.podium-place.first .podium-avatar {
  border: 3px solid var(--neon-yellow);
  box-shadow: 0 0 12px rgba(255, 240, 31, 0.3);
}

.podium-name {
  font-size: 14px;
  font-weight: 700;
}

.podium-score {
  font-size: 12px;
  color: var(--neon-cyan);
  margin-top: 8px;
  font-weight: 600;
}

.ranking-table-container {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ranking-table th {
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-sub);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.ranking-table td {
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.ranking-table tr:last-child td {
  border-bottom: none;
}

.ranking-table tr:hover td {
  background-color: var(--panel-bg-hover);
}

.rank-number {
  font-weight: 700;
  font-size: 15px;
}

.rank-streamer-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.rank-score {
  color: var(--neon-cyan);
  font-weight: 600;
}

/* 5. COMMUNITY PAGE (커뮤니티) */
.community-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.write-btn {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  box-shadow: var(--cyan-glow);
}

.write-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.4);
}

.write-btn:active {
  transform: translateY(0);
}

.board-table-container {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
}

.board-table th {
  padding: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.board-table td {
  padding: 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.board-table tr:hover td {
  background-color: var(--panel-bg-hover);
  cursor: pointer;
}

.post-title-link {
  font-weight: 500;
  color: var(--text-main);
}

.post-title-link:hover {
  color: var(--neon-cyan);
}

/* 6. NOTICE PAGE (공지사항) */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-item {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition-speed) ease;
}

.notice-item:hover {
  border-color: var(--neon-pink);
}

.notice-header-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.notice-badge {
  background-color: rgba(255, 0, 127, 0.1);
  border: 1px solid rgba(255, 0, 127, 0.2);
  color: var(--neon-pink);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 12px;
}

.notice-item-title {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.notice-date {
  font-size: 12px;
  color: var(--text-sub);
  margin-right: 16px;
}

.notice-arrow {
  width: 16px;
  height: 16px;
  fill: var(--text-sub);
  transition: transform var(--transition-speed) ease;
}

.notice-item.expanded .notice-arrow {
  transform: rotate(180deg);
  fill: var(--neon-pink);
}

.notice-content {
  display: none;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

.notice-item.expanded .notice-content {
  display: block;
}

/* 7. MODALS (상세보기, 글쓰기) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  width: 560px;
  max-width: 90%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

/* 게시판 상세보기 모달 내부 */
.post-detail-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.post-detail-content {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  white-space: pre-wrap;
}

/* 글쓰기 모달 폼 */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--neon-cyan);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.btn-secondary:hover {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}

/* 모바일/반응형 스타일 */
@media (max-width: 992px) {
  .theater-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 350px;
  }
  
  .chat-section {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  .app-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    height: 100vh !important;
    width: 100vw !important;
    overflow: hidden !important;
  }
  
  .header {
    order: 1 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    display: flex !important;
  }
  
  .sidebar {
    order: 2 !important;
    position: static !important;
    height: calc(100vh - var(--header-height)) !important;
    width: 0 !important;
    opacity: 0 !important;
    transition: width var(--transition-speed) ease, opacity var(--transition-speed) ease !important;
    overflow: hidden !important;
    border-right: none !important;
    padding: 0 !important;
  }
  
  .sidebar.mobile-active {
    width: 180px !important;
    opacity: 1 !important;
    border-right: 1px solid var(--border-color) !important;
    overflow-y: auto !important;
  }
  
  .main-content {
    order: 3 !important;
    height: calc(100vh - var(--header-height)) !important;
    flex: 1 !important;
    min-width: 0 !important;
    overflow-y: auto !important;
    transition: all var(--transition-speed) ease !important;
  }
  
  /* 사이드바 가로폭 180px에 맞춘 내부 구성원 축소 */
  .logo-section {
    padding: 0 8px !important;
  }
  .nav-menu {
    padding: 8px 0 !important;
  }
  .nav-item {
    padding: 10px 12px !important;
    font-size: 13px !important;
    gap: 6px !important;
  }
  .nav-subitem {
    padding: 8px 12px 8px 18px !important;
    font-size: 12px !important;
  }
  .recommend-section {
    padding: 8px 8px !important;
  }
  .section-title {
    margin-bottom: 8px !important;
    padding-left: 4px !important;
  }
  .streamer-list {
    gap: 8px !important;
  }
  .streamer-item {
    gap: 8px !important;
    padding: 4px 6px !important;
  }
  .avatar-wrapper {
    width: 28px !important;
    height: 28px !important;
  }
  
  .menu-toggle-btn {
    display: flex !important;
  }
}

.menu-toggle-btn {
  display: none;
}

/* === 하단 버튼바(모바일전용) + 카테고리/로그인 오버레이 (Claude 추가) === */
.bottom-bar { display: none; }
@media (max-width: 992px) {
  .bottom-bar {
    position: fixed; left: 0; right: 0; bottom: 0; height: 64px; z-index: 10005;
    display: flex; justify-content: space-around; align-items: stretch;
    background: rgba(10, 12, 20, 0.98);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .main-content { padding-bottom: 80px !important; }
  /* 페이지 타이틀 영문 부제가 잘리던 것 정리 */
  .page-title { font-size: 20px !important; line-height: 1.3; }
  .page-title span { display: block !important; font-size: 11px !important; margin-top: 2px; margin-left: 0 !important; }
}
.bbar-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: none; color: #cfd3dc; font-size: 11px; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: color 0.2s, background 0.2s;
}
.bbar-btn .bbar-ico { font-size: 18px; line-height: 1; }
.bbar-btn:active, .bbar-btn.active { background: rgba(0, 229, 255, 0.12); color: #00e5ff; }

.category-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(48px + env(safe-area-inset-bottom, 0px)); /* 하단 고정바(48px) 경선에 맞춤 (claude) */
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}
.category-overlay.open { opacity: 1; pointer-events: auto; }
.category-sheet {
  width: 140px; /* 극단적으로 얇게 폭 축소 */
  background: #0d0f1b;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  border-right: 1.5px solid rgba(0, 229, 255, 0.22);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.55s cubic-bezier(0.68, -0.6, 0.27, 1.55); /* 50% 감속 및 탄성 추진 모션 */
  box-sizing: border-box;
}
.category-overlay.open .category-sheet { transform: translateX(0); }
.category-sheet-title { font-size: 12px; color: #8a8f9c; font-weight: 700; margin-bottom: 12px; text-align: center; }
.category-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
}
.cat-btn {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  box-sizing: border-box;
}
.cat-btn:active { border-color: #00e5ff; background: rgba(0, 229, 255, 0.1); }

/* 모바일용 세로형 리스트를 위한 추가 덮어쓰기 */
@media (max-width: 992px) {
  .cat-acc {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .cat-acc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양 끝 정렬 */
    padding: 8px 10px;
    font-size: 12px;
    width: 100%;
  }
  .cat-acc-arrow {
    width: 12px;
    height: 12px;
  }
  .cat-submenu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.68, -0.6, 0.27, 1.55); /* 50% 감속 및 탄성 아코디언 모션 */
  }
  .cat-acc.open .cat-submenu {
    max-height: 300px;
  }
  .cat-btn.cat-sub {
    font-size: 11px;
    padding: 6px 8px;
    justify-content: flex-start; /* 텍스트 정렬 */
  }
  /* 이미지가 사라졌으므로 로고 영역 숨김 처리 */
  .cat-btn.cat-sub .cat-sub-logo,
  .cat-btn.cat-sub .text-logo {
    display: none !important;
  }
}

.login-overlay {
  position: fixed; inset: 0; z-index: 650; background: rgba(0, 0, 0, 0.72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.login-overlay.open { opacity: 1; pointer-events: auto; }
.login-card {
  width: 100%; max-width: 340px; background: #0d0f1b;
  border: 1px solid rgba(0, 229, 255, 0.22); border-radius: 16px; padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}
.login-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.login-header h3 { font-size: 18px; font-weight: 800; color: #fff; margin: 0; }
.login-close { background: none; border: none; color: #8a8f9c; font-size: 18px; cursor: pointer; }
.login-card input {
  width: 100%; box-sizing: border-box; margin-bottom: 12px; padding: 13px 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px; color: #fff; font-size: 14px; font-family: inherit;
}
.login-card input:focus { outline: none; border-color: #00e5ff; }
.login-submit {
  width: 100%; padding: 14px; margin-top: 4px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, #00e5ff, #0080ff); color: #001018;
  font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer;
}
.login-sub { text-align: center; margin-top: 14px; font-size: 12px; color: #8a8f9c; }
.login-sub a { color: #00e5ff; text-decoration: none; }

/* 보증 사이트 그리드 및 카드 */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

.guarantee-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed) ease;
}

.guarantee-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 20px rgba(0, 245, 255, 0.08);
}

.guarantee-banner {
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.guarantee-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.guarantee-limit-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.guarantee-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.guarantee-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.guarantee-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
  flex: 1;
}

.guarantee-btn {
  display: block;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 11px;
  border-radius: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.guarantee-btn:hover {
  background-color: var(--panel-bg-hover);
  border-color: var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

/* 후기 상세 보기 오버레이 메타스타일 */
.post-detail-meta span {
  display: inline-block;
}
.post-detail-content {
  color: var(--text-main);
}

/* 포인트교환 페이지 스타일 */
.exchange-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .exchange-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.exchange-balance-card {
  background: linear-gradient(135deg, var(--panel-bg), #19162b);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(157, 78, 221, 0.05);
}

.balance-label {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 8px;
  font-weight: 500;
}

.balance-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: var(--cyan-glow);
}

.exchange-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.exchange-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.exchange-input {
  width: 100%;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.exchange-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.1);
}

.exchange-amount-input {
  width: 100%;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.exchange-amount-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.1);
}

.exchange-submit-btn {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition-speed) ease;
}

.exchange-submit-btn:hover {
  opacity: 0.9;
  box-shadow: var(--cyan-glow);
}

/* 먹튀검증 페이지 스타일 */
.mtcheck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.mtcheck-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.mtcheck-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 20px rgba(0, 245, 255, 0.08);
}

.mtcheck-card-header {
  padding: 20px 20px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mtcheck-site-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.mtcheck-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 4px 9px;
  border-radius: 5px;
  text-transform: uppercase;
}

.mtcheck-badge.badge-verified {
  background-color: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: var(--neon-green);
  text-shadow: var(--green-glow);
}

.mtcheck-badge.badge-scam {
  background-color: rgba(255, 0, 127, 0.1);
  border: 1px solid rgba(255, 0, 127, 0.3);
  color: var(--neon-pink);
  text-shadow: var(--pink-glow);
}

.mtcheck-card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mtcheck-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.info-label {
  color: var(--text-sub);
}

.info-val {
  color: var(--text-main);
  font-weight: 500;
}

.mtcheck-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mtcheck-card-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.mtcheck-card:hover .mtcheck-card-footer {
  color: var(--neon-cyan);
}

/* 먹튀검증 실데이터 출처 표시 */
.mtcheck-source-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--text-sub);
  padding: 8px 12px;
  margin-bottom: 4px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

/* 먹튀검증 타이핑 검색바 */
.mtcheck-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  max-width: 520px;
  transition: border-color var(--transition-speed) ease;
}
.mtcheck-search-bar:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.15);
}
.mtcheck-search-bar svg { width: 18px; height: 18px; color: var(--text-sub); flex-shrink: 0; }
.mtcheck-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 14px;
}
.mtcheck-search-bar input::placeholder { color: var(--text-sub); }
#mtcheck-search-clear {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
}
#mtcheck-search-clear:hover { color: var(--neon-pink); }
.mtcheck-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.7;
  background: var(--panel-bg);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
}
.mtcheck-empty span { font-size: 12px; color: var(--text-sub); }

/* 먹튀검증 썸네일 스타일 */
.mtcheck-thumbnail-container {
  width: 100%;
  padding-top: 56.25%; /* 16:9 Ratio */
  position: relative;
  overflow: hidden;
  background-color: var(--panel-bg-hover);
}

.mtcheck-thumbnail-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.mtcheck-thumbnail-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--panel-bg-hover);
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

/* 대표 라이브 featured 스타일 개편 -> 2단 분리 레이아웃 */
.lives-hero-layout {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
}

.hero-left-column {
  flex: 1 1 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-right-column {
  flex: 0 0 19%;
  width: 19%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* 독립 카드 형태 (테두리 + 라운드) */
.featured-screen-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--panel-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-speed) ease;
}

.featured-screen-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.12);
}

.main-highlights-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: var(--panel-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
  transition: all var(--transition-speed) ease;
}

.main-highlights-card:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 8px 32px rgba(157, 78, 221, 0.12);
}

.main-highlights-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: space-between;
}

.main-highlights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-hl-sec-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-hl-sec-title span {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 500;
}

.main-hl-more-btn {
  font-size: 13px;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.main-hl-more-btn:hover {
  color: #fff;
}

.main-highlights-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.main-highlight-item {
  flex: 1;
  min-width: 280px;
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, border-color 0.2s ease;
}

.main-highlight-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--neon-purple);
  transform: translateY(-2px);
}

.main-hl-thumbnail {
  width: 140px;
  height: 84px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-hl-thumbnail .play-icon {
  width: 28px;
  height: 28px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.main-hl-duration {
  position: absolute;
  bottom: 4px;
  right: 6px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 4px;
}

.main-hl-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  flex: 1;
  padding: 2px 0;
}

.main-hl-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.main-hl-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}

.main-hl-streamer {
  font-size: 11px;
  color: var(--neon-cyan);
  font-weight: 600;
}

.main-hl-views {
  font-size: 11px;
  color: var(--text-sub);
}

.hero-right-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  height: 100% !important;
  justify-content: space-between !important;
}

/* 메인 채팅창 오버라이딩 스타일 */
.main-chat-section {
  background-color: var(--panel-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  flex: 1 !important;
  height: auto !important;
  min-height: 250px !important;
  display: flex !important;
  flex-direction: column !important;
}

.main-chat-section:hover {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.08) !important;
}

.main-chat-section .chat-header {
  height: 50px !important;
  background-color: rgba(255, 255, 255, 0.01) !important;
  flex-shrink: 0 !important;
}

.main-chat-section .chat-messages {
  flex: 1 !important;
  overflow-y: auto !important;
  min-height: 0 !important;
  max-height: 480px !important;
}

.main-chat-section .chat-input-area {
  flex-shrink: 0 !important;
}

/* 실시간 라이브 전용 사이드 배너 */
.featured-hero-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  min-height: 280px;
}

.featured-thumbnail-placeholder {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #191f2e, #0b0d14);
  color: var(--text-sub);
  gap: 12px;
  z-index: 1;
}

.featured-thumbnail-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--neon-cyan);
  filter: drop-shadow(var(--cyan-glow));
}

.featured-overlay-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 13, 0.95) 0%, rgba(8, 9, 13, 0.4) 60%, rgba(8, 9, 13, 0.1) 100%);
  z-index: 2;
}

.featured-screen-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.featured-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.featured-live-badge {
  background-color: var(--neon-pink);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: var(--pink-glow);
  letter-spacing: 1px;
}

.featured-viewer-badge {
  background-color: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.2);
  color: var(--neon-cyan);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-viewer-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

.featured-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-main);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.featured-streamer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

.featured-streamer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.featured-category {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* 둘째 와이드 스크린 스타일 */
.second-hero-screen {
  position: relative;
  width: 100%;
  height: 140px;
  background: #000;
  overflow: hidden;
}

.second-thumbnail-placeholder {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #120e24, #0b0d14);
  z-index: 1;
}

.second-overlay-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 13, 0.95) 0%, rgba(8, 9, 13, 0.3) 100%);
  z-index: 2;
}

.second-screen-info {
  position: absolute;
  inset: 16px 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.second-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.second-live-badge {
  background-color: var(--neon-pink);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: var(--pink-glow);
  letter-spacing: 0.5px;
}

.second-offline-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.second-viewer-badge {
  background-color: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.2);
  color: var(--neon-purple);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.second-viewer-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--neon-purple);
  box-shadow: var(--purple-glow);
}

.second-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}

.second-streamer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.second-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  border: 1.5px solid var(--neon-purple);
  box-shadow: var(--purple-glow);
}

.second-streamer-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.second-streamer-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.second-category {
  font-size: 11px;
  color: var(--text-sub);
}



.mini-streamer-item:hover {
  background-color: var(--panel-bg-hover) !important;
}

/* 대표 라이브 모바일 반응형 */
@media (max-width: 992px) {
  .lives-hero-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .hero-left-column {
    width: 100%;
    flex: 0 0 auto;
    gap: 16px;
  }
  
  .hero-right-column {
    width: 100%;
    flex: 0 0 auto;
  }

  .featured-hero-screen {
    min-height: auto;
  }

  .main-chat-section {
    height: 360px !important;
    min-height: 0 !important;
  }

  .main-chat-section .chat-messages {
    max-height: none !important;
  }
}

/* ==========================================
   제휴 파트너쉽 페이지 스타일 (카테고리 로고 효과)
   ========================================== */
.partner-category-bar {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  scrollbar-width: none; /* Firefox */
}
.partner-category-bar::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.partner-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 140px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible; /* 1.5배 확대 시 잘리지 않도록 overflow: visible 처리 */
  gap: 8px;
}

/* 비활성 로고 이미지 / 텍스트 로고 기본값: grayscale(100%), 30% 밝기/투명도, scale(1) */
.partner-cat-btn img,
.partner-cat-btn .text-logo {
  opacity: 0.3;
  filter: grayscale(100%) brightness(0.7);
  transform: scale(1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PC: 파트너 로고 img 크기 미지정 시 원본크기로 터지는 버그 방지 — text-logo(64x100)와 동일 규격 고정 */
.partner-cat-btn img {
  height: 64px;
  width: 100px;
  object-fit: contain;
}

.partner-cat-btn .text-logo {
  filter: brightness(0.7);
}

.partner-cat-btn span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text-sub);
  transition: all 0.3s ease;
}

/* Hover 시 효과: 마우스 닿으면 50% */
.partner-cat-btn:hover {
  border-color: rgba(0, 245, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
}
.partner-cat-btn:hover img,
.partner-cat-btn:hover .text-logo {
  opacity: 0.5;
  filter: grayscale(50%) brightness(0.9);
}
.partner-cat-btn:hover .text-logo {
  filter: brightness(0.9);
}
.partner-cat-btn:hover span {
  color: var(--text-main);
}

/* Active (클릭했을때) 효과: 1.5배 확대 + 밝기 최대치(opacity 1, brightness 1.5, grayscale 0%) */
.partner-cat-btn.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
}

.partner-cat-btn.active img,
.partner-cat-btn.active .text-logo {
  opacity: 1;
  filter: grayscale(0%) brightness(1.5) drop-shadow(0 0 8px rgba(0, 245, 255, 0.6));
  transform: scale(1.5);
}
.partner-cat-btn.active .text-logo {
  filter: brightness(1.5);
}

.partner-cat-btn.active span {
  color: var(--neon-cyan);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

/* 텍스트 로고 공통 스타일 */
.text-logo {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  line-height: 1;
}

/* 파트너 카테고리 바 전용 텍스트 로고 크기 */
.partner-cat-btn .text-logo {
  font-size: 26px;
  height: 64px;
  width: 100px;
}

/* 사이드바 및 모바일 서브메뉴용 텍스트 로고 크기 */
.nav-subitem .text-logo {
  font-size: 15px;
  height: 20px;
  width: 50px;
  text-align: right;
  justify-content: flex-end;
}
.cat-btn.cat-sub .text-logo {
  font-size: 14px;
  height: 18px;
  width: 45px;
  text-align: right;
  justify-content: flex-end;
}

/* 골드슬롯 & 히든슬롯 네온 컬러 테마 */
.gold-text {
  color: #ffd700 !important;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  background: transparent !important;
  -webkit-text-fill-color: initial !important;
}
.hidden-text {
  color: #9d4edd !important;
  text-shadow: 0 0 8px rgba(157, 78, 221, 0.6);
  background: transparent !important;
  -webkit-text-fill-color: initial !important;
}

/* 상세 카드 스타일 */
.partner-detail-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.4s ease;
}

.partner-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.partner-detail-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-detail-title-info h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text-main);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-detail-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--neon-cyan);
  color: #000;
  padding: 3px 9px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  align-self: center;
  line-height: 1.4;
}

.partner-detail-limit {
  font-size: 14px;
  color: var(--neon-cyan);
  font-weight: 600;
}

.partner-detail-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-sub);
  margin: 0;
}

.partner-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.partner-info-box {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.partner-info-box:hover {
  border-color: rgba(0, 245, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.partner-info-label {
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}

.partner-info-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.partner-action-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.partner-go-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-cyan), #0055ff);
  color: #000;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, opacity 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.2);
}

.partner-go-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 245, 255, 0.4);
  color: #000;
  opacity: 0.95;
}

.partner-go-btn:active {
  transform: translateY(0);
}

/* 럭키슬롯 활성화 시 시계방향 무한 회전 애니메이션 */
@keyframes rotate-clockwise {
  from {
    transform: scale(1.5) rotate(0deg);
  }
  to {
    transform: scale(1.5) rotate(360deg);
  }
}

.partner-cat-btn[data-partner="luckyslot"].active img {
  animation: rotate-clockwise 15s linear infinite;
  transform-origin: center center;
}

/* 사이드바 서브메뉴 럭키슬롯 활성화 시 시계방향 무한 회전 애니메이션 */
@keyframes rotate-clockwise-submenu {
  from {
    transform: scale(1.5) rotate(0deg);
  }
  to {
    transform: scale(1.5) rotate(360deg);
  }
}

.nav-subitem[data-hash="#/partner-luckyslot"].active .nav-subitem-logo {
  animation: rotate-clockwise-submenu 15s linear infinite;
  transform-origin: center center;
}

/* 모바일 럭키슬롯 활성화 시 시계방향 무한 회전 애니메이션 */
.cat-btn.cat-sub[data-hash="#/partner-luckyslot"].active .cat-sub-logo {
  animation: rotate-clockwise-submenu 15s linear infinite;
  transform-origin: center center;
}



/* ===================================================================
   ASIATV.CO 모바일 재설계 (Claude 2026-06-20) — slotsite 기준 일괄 오버라이드
   =================================================================== */
@media (max-width: 992px) {
  /* --- 헤더: 앱쉘 (검색바 숨김 / 로고 노출 / 로그인 줄바꿈 방지) --- */
  .header { padding: 0 14px !important; gap: 10px; }
  .header .search-bar { display: none !important; }
  .header .menu-toggle-btn { display: none !important; }
  .mobile-logo { display: flex !important; align-items: center; height: 100%; flex-shrink: 0; }
  .mobile-logo img { height: 30px; width: auto; max-width: 150px; object-fit: contain; display: block; }
  .header-actions { gap: 8px !important; flex-shrink: 0; }
  .header-actions .user-name { white-space: nowrap !important; max-width: 108px !important; font-size: 11px !important; overflow: hidden; text-overflow: ellipsis; }
  .user-profile-btn { white-space: nowrap !important; padding: 6px 12px !important; flex-shrink: 0; }

  /* --- 하단 고정바: slotsite 스타일 (블러 + 점 인디케이터) --- */
  .bottom-bar {
    height: 64px !important;
    background: rgba(16,16,16,0.92) !important;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5) !important;
    overflow: visible !important; /* 튀어나온 아이콘/푸시업 라벨 안 잘리게 */
  }
  .bbar-btn { color: #6a6f7a !important; font-size: 10px !important; font-weight: 400 !important; gap: 4px !important; position: relative; }
  .bbar-btn .bbar-ico svg { width: 21px !important; height: 21px !important; transition: filter .2s, transform .2s; }
  .bbar-btn.active, .bbar-btn:active { color: #fff !important; background: none !important; }
  .bbar-btn.active .bbar-ico svg { color: #00e5ff; filter: drop-shadow(0 0 6px rgba(0,229,255,.8)); }
  .bbar-btn.active::before { content:''; position:absolute; top:5px; width:4px; height:4px; border-radius:50%; background:#00e5ff; box-shadow:0 0 6px #00e5ff; }

  /* --- 메뉴 드로어 (하단바 '메뉴' → category-sheet): slotsite 스타일 --- */
  .category-overlay { background: rgba(0,0,0,0.55) !important; transition: opacity .3s ease !important; }
  .category-sheet {
    width: 60vw !important; max-width: 240px !important;
    background: #0e0e0e !important;
    border-right: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 0 !important;
    padding: 18px 8px calc(18px + env(safe-area-inset-bottom,0px)) !important;
    transform: translateX(-100%);
    /* 0.5배 느리게(0.32→0.64s) + 가속감(천천히 출발→가속→감속) */
    transition: transform .64s cubic-bezier(0.5, 0.0, 0.2, 1) !important;
    box-shadow: 8px 0 32px rgba(0,0,0,0.6);
  }
  .category-overlay.open .category-sheet { transform: translateX(0) !important; }
  .category-sheet-title { font-size: 11px !important; letter-spacing:.08em; color:#888 !important; text-transform:uppercase; margin-bottom: 14px !important; padding-left: 6px; text-align: left !important; }
  .category-grid { gap: 4px !important; }

  /* 일반 메뉴 버튼: 슬림 + hover 글로우 + translateX */
  .category-sheet .cat-btn {
    border: none !important; background: transparent !important;
    color: rgba(255,255,255,0.72) !important; font-weight: 400 !important;
    font-size: 13.5px !important; padding: 12px 14px !important; border-radius: 8px !important;
    transition: all .2s ease !important;
  }
  .category-sheet .cat-btn:hover, .category-sheet .cat-btn:active {
    background: rgba(255,255,255,0.06) !important; color:#fff !important; transform: translateX(3px);
  }
  /* 제휴 파트너쉽 아코디언 토글 + 화살표 회전 */
  .category-sheet .cat-acc-toggle { font-weight: 500 !important; color: rgba(255,255,255,0.88) !important; }
  .category-sheet .cat-acc-arrow { transition: transform .3s ease; }
  .category-sheet .cat-acc.open .cat-acc-arrow { transform: rotate(180deg); }
  /* 아코디언 펼침/접힘: 부드럽게 (max-height) */
  .category-sheet .cat-submenu {
    display: flex !important; flex-direction: column; gap: 3px;
    max-height: 0; overflow: hidden;
    transition: max-height .35s cubic-bezier(0.22,1,0.36,1);
  }
  .category-sheet .cat-acc.open .cat-submenu { max-height: 420px; }
  /* 프로바이더 하위 아이템: slotsite slot-list 느낌 (네온 인디케이터 + 글로우) */
  .category-sheet .cat-sub {
    position: relative; padding: 10px 10px 10px 22px !important; font-size: 12.5px !important;
    color: rgba(120,230,180,0.85) !important; border: none !important; background: transparent !important;
  }
  .category-sheet .cat-sub:hover, .category-sheet .cat-sub:active {
    background: rgba(57,255,20,0.06) !important; color:#7CFFB2 !important; box-shadow: inset 0 0 8px rgba(57,255,20,0.12);
  }
  .category-sheet .cat-sub::before {
    content:''; position:absolute; left:10px; top:50%; transform:translateY(-50%);
    width:3px; height:0; border-radius:2px; background:#39ff14; box-shadow:0 0 8px #39ff14;
    transition: height .2s ease;
  }
  .category-sheet .cat-sub:hover::before, .category-sheet .cat-sub:active::before { height:14px; }
}

/* --- 모바일 레이아웃 교정: 세로 column (헤더 상단 고정 + 본문 풀, 사이드바 비노출) --- */
@media (max-width: 992px) {
  .app-container {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    height: 100vh !important;
    width: 100vw !important;
    overflow: hidden !important;
  }
  .header {
    order: 0 !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    flex: 0 0 56px !important;
  }
  .sidebar { display: none !important; }
  .main-content {
    order: 1 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 16px 14px 78px !important;
  }
}

/* --- 업체(프로바이더) 하위행: slotsite처럼 이름(좌) + 로고(우). agy의 display:none 숨김(1941행) 오버라이드 --- */
@media (max-width: 992px) {
  .category-sheet .cat-btn.cat-sub {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    gap: 8px; padding: 10px 12px 10px 22px !important;
  }
  .category-sheet .cat-sub .cat-sub-label { flex: 1; text-align: left; }
  .category-sheet .cat-btn.cat-sub .cat-sub-logo {
    display: block !important; height: 24px !important; width: auto !important; max-width: 62px !important;
    object-fit: contain !important; opacity: 1 !important; filter: none !important;
    flex-shrink: 0 !important; transform: none !important;
  }
  .category-sheet .cat-btn.cat-sub .text-logo.cat-sub-logo {
    display: inline-block !important; height: auto !important; width: auto !important;
    font-size: 14px !important; font-weight: 800 !important; line-height: 1 !important;
    opacity: 1 !important; filter: none !important;
  }
  .category-sheet .text-logo.gold-text.cat-sub-logo { color: #ffd700 !important; }
  .category-sheet .text-logo.hidden-text.cat-sub-logo { color: #b06bff !important; }
}

/* --- 업체 2단 클릭 효과: 1번=네온 테두리 선택 / 2번=로고 2배+발광 (럭키슬롯 회전) --- */
@media (max-width: 992px) {
  .category-sheet .cat-btn.cat-sub.selected {
    border: 1px solid #39ff14 !important;
    background: rgba(57,255,20,0.07) !important;
    box-shadow: 0 0 12px rgba(57,255,20,0.45), inset 0 0 8px rgba(57,255,20,0.18) !important;
    color: #7CFFB2 !important;
  }
  .category-sheet .cat-btn.cat-sub.enlarged { overflow: visible !important; }
  .category-sheet .cat-btn.cat-sub.enlarged .cat-sub-logo {
    transform: scale(2) !important;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.85)) brightness(1.3) !important;
    transition: transform .45s cubic-bezier(0.34,1.4,0.5,1), filter .45s ease !important;
  }
  .category-sheet .cat-btn.cat-sub.enlarged[data-hash="#/partner-luckyslot"] .cat-sub-logo {
    animation: lucky-enlarge-spin 3.2s linear infinite !important;
  }
}
@keyframes lucky-enlarge-spin {
  from { transform: scale(2) rotate(0deg); }
  to   { transform: scale(2) rotate(360deg); }
}

/* === 레일 모드 + 밝기단계(50%→100%) + 2.5배 + 헤더 아래 시작 (biplays 최종 스펙) === */
@media (max-width: 992px) {
  .category-overlay { top: 56px !important; }  /* 헤더 로고 가리지 않게 아래부터 */
  .category-overlay .category-sheet {
    transition: transform .64s cubic-bezier(0.5,0,0.2,1), width 1.0s cubic-bezier(0.5,0,0.2,1), padding .8s ease !important;
  }
  /* 로고 기본/선택 밝기 50%, 2번째 클릭 100%+2.5배 */
  .category-sheet .cat-btn.cat-sub .cat-sub-logo { filter: brightness(0.5) !important; transition: transform .45s cubic-bezier(0.34,1.4,0.5,1), filter .4s ease !important; }
  .category-sheet .cat-btn.cat-sub.selected .cat-sub-logo { filter: brightness(0.55) drop-shadow(0 0 5px rgba(57,255,20,.45)) !important; }
  .category-sheet .cat-btn.cat-sub.enlarged .cat-sub-logo {
    transform: scale(2.5) !important;
    filter: brightness(1) drop-shadow(0 0 12px rgba(255,255,255,.9)) !important;
  }
  .category-sheet .cat-btn.cat-sub.enlarged[data-hash="#/partner-luckyslot"] .cat-sub-logo { animation: lucky-enlarge-spin 3.2s linear infinite !important; }

  /* 레일: 배경 투명 + 좁은 좌측 컬럼(본문 노출), 로고만/단어만 */
  .category-overlay.rail { background: transparent !important; pointer-events: none !important; }
  .category-overlay.rail .category-sheet {
    width: 74px !important; max-width: 74px !important; pointer-events: auto !important;
    padding: 12px 4px calc(12px + env(safe-area-inset-bottom,0px)) !important;
  }
  .category-overlay.rail .category-sheet-title,
  .category-overlay.rail .cat-acc-arrow { display: none !important; }
  .category-overlay.rail .cat-sub-label { display: none !important; }
  .category-overlay.rail .cat-btn.cat-sub { justify-content: center !important; padding: 11px 2px !important; }
  .category-overlay.rail .cat-btn.cat-sub .cat-sub-logo { transform: none !important; height: 26px !important; filter: brightness(0.9) !important; }
  .category-overlay.rail .cat-btn.cat-sub.selected .cat-sub-logo { filter: brightness(1) drop-shadow(0 0 8px rgba(57,255,20,.75)) !important; }
  .category-overlay.rail .cat-acc-toggle { font-size: 0 !important; padding: 4px 2px !important; }
  .category-overlay.rail .category-grid > .cat-btn:not(.cat-sub) {
    font-size: 9px !important; padding: 9px 2px !important; text-align: center !important; line-height: 1.15 !important; word-break: keep-all;
  }
}
@keyframes lucky-enlarge-spin { from { transform: scale(2.5) rotate(0deg); } to { transform: scale(2.5) rotate(360deg); } }

/* === 레일 미세조정: 후진 2배 느리게(1.28s) + 단어 축약 + 페이드아웃 제외 === */
@media (max-width: 992px) {
  .category-overlay { transition: none !important; }            /* 배경 페이드아웃 제외(슬라이드만) */
  .category-overlay .category-sheet {
    transition: transform .64s cubic-bezier(0.5,0,0.2,1), width 1.28s cubic-bezier(0.5,0,0.2,1), padding 1.28s ease !important;
    opacity: 1 !important;                                       /* 시트 페이드아웃 제외 */
  }
  /* 레일에서 다른 메뉴: 축약(data-short) 표시 */
  .category-overlay.rail .category-grid > .cat-btn:not(.cat-sub) {
    font-size: 0 !important; padding: 11px 2px !important; text-align: center !important;
  }
  .category-overlay.rail .category-grid > .cat-btn:not(.cat-sub)::after {
    content: attr(data-short); font-size: 12px !important; font-weight: 500; color: rgba(255,255,255,0.72);
  }
}

/* === 레일 후진 스냅 수정(max-width도 transition) + 럭키 회전 4초/바퀴 === */
@media (max-width: 992px) {
  .category-overlay .category-sheet {
    transition: transform .64s cubic-bezier(0.5,0,0.2,1),
                width 1.28s cubic-bezier(0.5,0,0.2,1),
                max-width 1.28s cubic-bezier(0.5,0,0.2,1),
                padding 1.28s ease !important;
  }
  .category-sheet .cat-btn.cat-sub.enlarged[data-hash="#/partner-luckyslot"] .cat-sub-logo {
    animation: lucky-enlarge-spin 4s linear infinite !important;
  }
}

/* === 펼침/후진 속도 분리: 펼침 0.96s(후진보다 25% 빠름) / 후진 1.28s === */
@media (max-width: 992px) {
  .category-overlay .category-sheet {
    transition: transform .64s cubic-bezier(0.5,0,0.2,1),
                width .96s cubic-bezier(0.5,0,0.2,1),
                max-width .96s cubic-bezier(0.5,0,0.2,1),
                padding .96s ease !important;
  }
  .category-overlay.rail .category-sheet {
    transition: transform .64s cubic-bezier(0.5,0,0.2,1),
                width 1.28s cubic-bezier(0.5,0,0.2,1),
                max-width 1.28s cubic-bezier(0.5,0,0.2,1),
                padding 1.28s ease !important;
  }
}

/* === 닫힘 애니 순간이동 방지: 오버레이 항상 표시 + 패널 슬라이드 아웃(닫힘 .96s=열림의 50%↑ 느리게) === */
@media (max-width: 992px) {
  .category-overlay { opacity: 1 !important; background: transparent !important; pointer-events: none !important; transition: none !important; }
  .category-overlay.open { background: rgba(0,0,0,0.55) !important; pointer-events: auto !important; }
  .category-overlay.rail { background: transparent !important; pointer-events: none !important; }
  .category-overlay .category-sheet {
    transition: transform .96s cubic-bezier(0.5,0,0.2,1), width .96s cubic-bezier(0.5,0,0.2,1), max-width .96s cubic-bezier(0.5,0,0.2,1), padding .96s ease !important;
  }
  .category-overlay.open .category-sheet {
    transition: transform .64s cubic-bezier(0.5,0,0.2,1), width .96s cubic-bezier(0.5,0,0.2,1), max-width .96s cubic-bezier(0.5,0,0.2,1), padding .96s ease !important;
  }
  .category-overlay.rail .category-sheet {
    transition: transform .64s cubic-bezier(0.5,0,0.2,1), width 1.28s cubic-bezier(0.5,0,0.2,1), max-width 1.28s cubic-bezier(0.5,0,0.2,1), padding 1.28s ease !important;
  }
}

/* === [Claude 2026-06-20] 모바일 제휴파트너쉽 로고 사이즈 픽스 (agy 1.8.0 회귀 대응) === */
@media (max-width: 768px){
  .partner-category-bar{ gap:10px; padding-bottom:6px; }
  .partner-cat-btn{ min-width:92px; padding:12px 10px; }
  .partner-cat-btn img,
  .partner-cat-btn .text-logo{ width:auto !important; height:38px !important; max-width:68px !important; object-fit:contain; }
  .partner-cat-btn .text-logo{ font-size:24px !important; line-height:38px; height:38px; }
  .partner-cat-btn span{ font-size:11px; }
  .partner-cat-btn.active img,
  .partner-cat-btn.active .text-logo{ transform:scale(1.12) !important; }
  .partner-cat-btn[data-partner="luckyslot"].active img{ transform:scale(1.12) !important; }
}

/* === [Claude 2026-06-20] 라이브 페이지 신규: featured 삭제 + ON AIR 뱃지 + 온에어 정렬 + 20칸 === */
/* (구 .lives-grid 가로형/2열 규칙 → 파일 하단 'bigwinner redesign 단일화' 블록으로 통합 — 충돌 제거) */
.lives-grid .card-tags{ margin-top:2px; }
.lives-grid .card-tags .tag{ font-size:9.5px; padding:2px 6px; }
.live-card.is-off, .live-card--placeholder{ opacity:.94; }
.live-card--placeholder{ cursor:default; }
.live-card--placeholder:hover{ transform:none; border-color:var(--border-color); box-shadow:none; }
.thumbnail-placeholder--off{ filter:grayscale(.55) brightness(.72); }
.card-avatar--off{ background:#2a3344 !important; color:#6b7587; }

/* ON AIR 뱃지 (펄스 링) */
.onair-badge{ position:absolute; top:10px; left:10px; z-index:3; display:inline-flex; align-items:center; gap:6px;
  height:24px; padding:0 10px 0 9px; border-radius:7px; font-size:10.5px; font-weight:800; letter-spacing:.5px; color:#fff;
  background:linear-gradient(135deg,#FF4D6A,#E11D48);
  box-shadow:0 3px 12px rgba(255,45,85,.5), inset 0 1px 0 rgba(255,255,255,.3); text-transform:uppercase; }
.onair-badge .oa-ring{ position:relative; width:7px; height:7px; }
.onair-badge .oa-ring i{ position:absolute; inset:0; border-radius:50%; background:#fff; box-shadow:0 0 5px #fff; }
.onair-badge .oa-ring::before, .onair-badge .oa-ring::after{ content:""; position:absolute; inset:0; border-radius:50%;
  border:1.5px solid rgba(255,255,255,.85); animation:oa-radiate 1.8s ease-out infinite; }
.onair-badge .oa-ring::after{ animation-delay:.9s; }
@keyframes oa-radiate{ 0%{ transform:scale(1); opacity:.9 } 100%{ transform:scale(3); opacity:0 } }

/* OFFLINE 뱃지 */
.offline-badge{ position:absolute; top:10px; left:10px; z-index:3; display:inline-flex; align-items:center; gap:5px;
  height:22px; padding:0 9px; border-radius:7px; font-size:10px; font-weight:700; color:#9aa6bd;
  background:rgba(20,26,38,.85); border:1px solid var(--border-color); }
.offline-badge .off-dot{ width:5px; height:5px; border-radius:50%; background:#5a6577; }

/* (구 모바일 2열 .lives-grid 규칙 제거 — 하단 단일화 블록이 3열 담당) */

/* ===== [Claude 2026-06-20] 다크/화이트 모드 (대표님 요청) ===== */
/* ===== 엔진급 실사 다크/라이트 토글 스위치 ===== */
.theme-switch{ all:unset; cursor:pointer; display:inline-flex; align-items:center; line-height:0; }
.theme-switch:focus-visible{ outline:2px solid var(--neon-cyan); outline-offset:3px; border-radius:999px; }
.ts-track{
  position:relative; width:60px; height:28px; border-radius:999px; overflow:hidden;
  background:linear-gradient(180deg,#202d52 0%,#0c1430 55%,#070b1c 100%);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.65), inset 0 -1px 2px rgba(120,150,255,.18),
              inset 0 0 0 1px rgba(255,255,255,.05), 0 1px 1px rgba(255,255,255,.06);
  transition: background .55s ease, box-shadow .55s ease;
}
.theme-switch:hover .ts-knob{ filter:brightness(1.04); }
.theme-switch:active .ts-knob{ width:25px; }
/* 별 (다크) */
.ts-stars{ position:absolute; inset:0; opacity:1; transition:opacity .4s ease; pointer-events:none; }
.ts-stars::before, .ts-stars::after{ content:""; position:absolute; background:#fff; border-radius:50%; box-shadow:0 0 3px #fff; }
.ts-stars::before{ width:2px; height:2px; top:7px; left:9px;
  box-shadow:7px 5px 0 -0.3px rgba(255,255,255,.85), 15px -2px 0 -0.4px rgba(255,255,255,.65), 4px 13px 0 -0.4px rgba(255,255,255,.6), 20px 9px 0 -0.5px rgba(255,255,255,.5); }
.ts-stars::after{ width:1.5px; height:1.5px; top:5px; left:24px; opacity:.7;
  box-shadow:-6px 11px 0 0 rgba(255,255,255,.5), 6px 6px 0 0 rgba(255,255,255,.4); }
/* 구름 (라이트) */
.ts-cloud{ position:absolute; width:14px; height:6px; border-radius:6px; background:rgba(255,255,255,.9);
  top:15px; left:8px; opacity:0; transition:opacity .5s ease; pointer-events:none;
  box-shadow: 7px -3px 0 -1px rgba(255,255,255,.85), 14px 1px 0 -1px rgba(255,255,255,.8), 30px -4px 0 -1px rgba(255,255,255,.55); }
/* 노브 — 다크=은빛 달 */
.ts-knob{
  position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; z-index:2;
  background:radial-gradient(circle at 33% 28%, #ffffff 0%, #e3e7ee 42%, #c2c9d6 70%, #aab2c2 100%);
  box-shadow: 0 3px 5px rgba(0,0,0,.5), 0 0 7px rgba(180,200,255,.35),
              inset 0 -2px 3px rgba(40,50,70,.25), inset 0 2px 3px rgba(255,255,255,.95);
  transition: left .5s cubic-bezier(.66,.05,.28,1.3), background .45s ease, box-shadow .45s ease;
}
/* 달 크레이터 */
.ts-knob::before{ content:""; position:absolute; inset:0; border-radius:50%; opacity:1; transition:opacity .35s ease;
  background:
    radial-gradient(circle at 38% 58%, rgba(150,160,182,.6) 0 2px, transparent 2.6px),
    radial-gradient(circle at 63% 66%, rgba(150,160,182,.5) 0 1.7px, transparent 2.2px),
    radial-gradient(circle at 70% 40%, rgba(150,160,182,.55) 0 1.5px, transparent 2px); }
/* === LIGHT === */
html[data-theme="light"] .ts-track{
  background:linear-gradient(180deg,#69b8ff 0%,#9fd4ff 60%,#cfeaff 100%);
  box-shadow: inset 0 2px 6px rgba(30,80,150,.4), inset 0 -1px 2px rgba(255,255,255,.6),
              inset 0 0 0 1px rgba(255,255,255,.25), 0 1px 1px rgba(255,255,255,.3);
}
html[data-theme="light"] .ts-stars{ opacity:0; }
html[data-theme="light"] .ts-cloud{ opacity:.95; }
html[data-theme="light"] .ts-knob{
  left:35px;
  background:radial-gradient(circle at 35% 30%, #fff6c2 0%, #ffd23f 50%, #ffab17 80%, #ff8a00 100%);
  box-shadow: 0 0 9px 2px rgba(255,180,20,.65), 0 3px 5px rgba(170,110,0,.4),
              inset 0 -2px 3px rgba(190,110,0,.35), inset 0 2px 3px rgba(255,255,255,.85);
}
html[data-theme="light"] .ts-knob::before{ opacity:0; }

/* 라이트(화이트) 테마 — html[data-theme="light"] */
html[data-theme="light"]{
  /* 프리미엄 라이트 — 샴페인 아이보리 + 골드 액센트 + 딥티얼 */
  --bg-color:#f3eee3;
  --panel-bg:#fffdf8;
  --panel-bg-hover:#f8f2e6;
  --sidebar-bg:#f7f1e6;
  --border-color:#e8ddc8;
  --text-main:#2a2620;
  --text-sub:#8a7e66;
  --neon-cyan:#b8974a;
  --neon-green:#17897a;
  --cyan-glow:0 0 10px rgba(184,151,74,.30);
  --pink-glow:0 0 10px rgba(255,0,127,.16);
}
html[data-theme="light"] .search-bar{ background-color:#f7f1e6; }
html[data-theme="light"] .live-card:hover{ border-color:#b8974a; box-shadow:0 8px 22px rgba(160,120,40,.12); }
html[data-theme="light"] body{ background-color:var(--bg-color); }
html[data-theme="light"] .header{ background-color:#ffffff; border-bottom:1px solid var(--border-color); }
html[data-theme="light"] .sidebar{ background-color:var(--sidebar-bg); border-right:1px solid var(--border-color); }
html[data-theme="light"] .main-content{ background-color:var(--bg-color); }
html[data-theme="light"] .search-bar{ background-color:#eef1f7; border:1px solid var(--border-color); }
html[data-theme="light"] .search-bar input{ color:var(--text-main); }
html[data-theme="light"] .live-card,
html[data-theme="light"] .card,
html[data-theme="light"] .partner-detail-card,
html[data-theme="light"] .main-chat-section,
html[data-theme="light"] .chat-section,
html[data-theme="light"] .partner-cat-btn{ background-color:var(--panel-bg); border-color:var(--border-color); box-shadow:0 2px 10px rgba(20,30,60,.05); }
html[data-theme="light"] .thumbnail-placeholder{ background:linear-gradient(135deg,#dfe5f0,#eef2f8); color:#9aa3b8; }
html[data-theme="light"] .chat-messages{ background:transparent; }
html[data-theme="light"] .chat-input-area input,
html[data-theme="light"] #main-chat-input{ background:#f2f5fb; color:var(--text-main); border-color:var(--border-color); }
html[data-theme="light"] .nav-item,
html[data-theme="light"] .cat-btn{ color:var(--text-sub); }
html[data-theme="light"] .nav-item.active,
html[data-theme="light"] .nav-item:hover{ color:var(--text-main); background-color:var(--panel-bg-hover); }
html[data-theme="light"] .offline-badge{ background:rgba(230,235,244,.92); color:#5a6477; border-color:var(--border-color); }
html[data-theme="light"] .bottom-bar{ background:rgba(255,255,255,.86) !important; border-top:1px solid var(--border-color); }
html[data-theme="light"] .bbar-btn{ color:#7a8294 !important; }
/* 좌측 카테고리 드로어 — 라이트모드 배경/글씨 (다크: #0e0e0e, 라이트: 밝게) */
html[data-theme="light"] .category-overlay .category-sheet{ background:var(--panel-bg) !important; border-right-color:var(--border-color) !important; }
html[data-theme="light"] .category-sheet-title{ color:var(--text-sub) !important; }
html[data-theme="light"] .category-sheet .cat-acc-toggle{ color:var(--text-main) !important; }
html[data-theme="light"] .category-sheet .cat-sub{ color:var(--text-sub) !important; }
html[data-theme="light"] .category-sheet .cat-btn.cat-top{ color:var(--text-main) !important; }
/* 로고 셀은 브랜드 블랙 유지(메탈릭 로고 가독) */

/* === [Claude 2026-06-20] 전부 생방송 데모 — 카드 영상 재생 === */
.card-live-video,
.card-live-thumb{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; background:#0a0d14; }
.thumbnail-container{ background:#0a0d14; }
/* 유튜브 라이브 스타일 LIVE 뱃지 (ON AIR 대체) */
/* LIVE 뱃지: 썸네일 폭 비율로 크게(시안 왼쪽처럼). 카드 크기와 무관하게 항상 비례해서 큼 */
.live-badge{ position:absolute; top:7px; left:7px; z-index:3; line-height:0; width:auto; background:none !important; padding:0 !important; box-shadow:none !important; border-radius:0 !important; border:none !important; }
.live-badge img{ width:auto; height:58px; display:block; filter:drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.card-code{ color:var(--neon-cyan); font-weight:700; }

/* === [Claude 2026-06-20] 모바일 헤더 로고 노출 (데스크톱 숨김) === */
.mobile-logo{ display:none; }
@media (max-width: 992px){
  .header{ justify-content:space-between; }
  .header-actions{ margin-left:auto; }
  .mobile-logo img{ height:30px; width:auto; max-width:160px; object-fit:contain; display:block; filter:drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
  html[data-theme="light"] .mobile-logo img{ filter:drop-shadow(0 1px 3px rgba(120,90,30,.25)); }
}

/* === [Claude 2026-06-20] 모바일 라이브 카드 뱃지 축소 (그리드 컬럼은 하단 단일화 블록 담당) === */
@media (max-width: 768px){
  .onair-badge{ height:17px; padding:0 6px; font-size:8px; gap:4px; }
  .onair-badge .oa-ring{ width:5px; height:5px; }
  .offline-badge{ height:16px; font-size:8px; padding:0 6px; }
  .viewer-badge{ font-size:8.5px !important; padding:2px 5px !important; }
}

/* === [Claude 2026-06-20] 채팅 패널 뷰포트 sticky — 입력창 항상 노출 (긴 그리드 대응) === */
@media (min-width: 993px){
  .lives-hero-layout{ align-items:flex-start !important; }
  .hero-right-column{ position:sticky !important; top:86px !important; height:520px !important; max-height:calc(100vh - 104px) !important; align-self:flex-start !important; }
  .main-chat-section{ flex:1 1 auto !important; height:auto !important; min-height:0 !important; }
  .main-chat-section .chat-messages{ max-height:none !important; flex:1 1 auto !important; min-height:0 !important; }
  .main-chat-section .chat-input-area{ flex-shrink:0 !important; }
}

/* === [Claude 2026-06-20] 모바일 메뉴 드로어 레일 모드 (일본 미닫이문) — 재구현 === */
@media (max-width: 992px){
  /* 드로어 폭 넉넉히(로고+이름) + 미닫이문 슬로우 트랜지션 */
  .category-sheet{ width:43vw !important; max-width:175px !important;
    transition: width 1.15s cubic-bezier(.5,0,.2,1), transform .6s cubic-bezier(.5,0,.2,1) !important; }

  /* cat-sub = 이름(좌) + 투명 로고(우) */
  .category-overlay .cat-btn.cat-sub{ display:flex !important; align-items:center; justify-content:space-between !important;
    gap:8px; padding:8px 10px !important; overflow:visible !important; position:relative; }
  .category-overlay .cat-btn.cat-sub .cat-sub-name{ flex:1; white-space:nowrap; text-align:left; }
  .category-overlay .cat-btn.cat-sub .cat-sub-logo,
  .category-overlay .cat-btn.cat-sub .text-logo{ display:block !important; height:22px; width:auto; max-width:58px;
    object-fit:contain; opacity:.32; filter:grayscale(.15) brightness(.7);
    transition: opacity .35s, filter .45s, transform .55s cubic-bezier(.5,0,.2,1.25); transform-origin:right center; }

  /* 1번째 클릭 = 선택: 로고 발광(약 50%) + 좌측 네온 인디케이터 */
  .category-overlay .cat-btn.cat-sub.selected{ border-color:#00e5ff !important; background:rgba(0,229,255,.08) !important;
    box-shadow: inset 3px 0 0 #00e5ff, 0 0 12px rgba(0,229,255,.22); }
  .category-overlay .cat-btn.cat-sub.selected .cat-sub-logo,
  .category-overlay .cat-btn.cat-sub.selected .text-logo{ opacity:.9; filter:brightness(1.4) drop-shadow(0 0 6px rgba(0,229,255,.5)); }

  /* 2번째 클릭 = 확대: 로고 2배 + 밝기 2배 발광 */
  .category-overlay .cat-btn.cat-sub.enlarged .cat-sub-logo,
  .category-overlay .cat-btn.cat-sub.enlarged .text-logo{ opacity:1; transform:scale(2);
    filter: brightness(2) drop-shadow(0 0 12px rgba(0,229,255,.85)); }

  /* === 레일 모드 (미닫이문 후퇴 — 빛나는 로고 영역만 남김) === */
  .category-overlay.rail{ background:transparent !important; pointer-events:none !important; }
  .category-overlay.rail .category-sheet{ width:80px !important; max-width:80px !important; pointer-events:auto;
    background:rgba(13,15,27,.92); }
  .category-overlay.rail .cat-sub-name{ display:none !important; }
  .category-overlay.rail .cat-btn.cat-sub{ justify-content:center !important; padding:10px 4px !important; }
  .category-overlay.rail .cat-btn.cat-sub .cat-sub-logo,
  .category-overlay.rail .cat-btn.cat-sub .text-logo{ opacity:.92; transform-origin:center center; max-width:48px; }
  .category-overlay.rail .cat-btn.cat-sub.enlarged .cat-sub-logo,
  .category-overlay.rail .cat-btn.cat-sub.enlarged .text-logo{ transform:scale(1.5);
    filter: brightness(2) drop-shadow(0 0 10px rgba(0,229,255,.85)); }
  .category-overlay.rail .cat-acc-toggle{ font-size:0 !important; justify-content:center; padding:8px 2px !important; }
  .category-overlay.rail .cat-acc-toggle::after{ content:"제휴"; font-size:10px; color:#8a8f9c; }
  .category-overlay.rail .cat-acc-arrow{ display:none !important; }
  .category-overlay.rail .cat-btn.cat-top{ font-size:0 !important; text-align:center; padding:9px 2px !important; }
  .category-overlay.rail .cat-btn.cat-top::after{ content:attr(data-short); font-size:10px; }
  .category-overlay.rail .category-sheet-title{ font-size:0 !important; }
  .category-overlay.rail .category-sheet-title::after{ content:"메뉴"; font-size:10px; color:#8a8f9c; }
}

/* === [Claude 2026-06-20] 로그인/회원가입 카드 프리미엄 === */
.login-overlay{ backdrop-filter:blur(6px); background:rgba(5,7,12,.78) !important; }
.login-card{ position:relative; max-width:360px !important; padding:30px 26px 26px !important;
  background:linear-gradient(180deg,#12151f,#0a0c14) !important; border:none !important; border-radius:20px !important;
  box-shadow:0 24px 70px rgba(0,0,0,.65), 0 0 0 1px rgba(0,229,255,.12), inset 0 1px 0 rgba(255,255,255,.05) !important; }
.login-card::before{ content:""; position:absolute; inset:0; border-radius:20px; padding:1.5px;
  background:linear-gradient(140deg, rgba(0,229,255,.6), rgba(157,78,221,.25) 50%, rgba(0,229,255,.05));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; }
.login-brand{ display:flex; justify-content:center; margin-bottom:6px; }
.login-brand img{ height:34px; width:auto; max-width:170px; object-fit:contain; filter:drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.login-card .login-header{ justify-content:center !important; margin-bottom:20px !important; }
.login-card .login-header h3{ font-size:15px !important; color:#aeb8c9 !important; letter-spacing:.6px; font-weight:700 !important; }
.login-card .login-close{ position:absolute !important; top:14px; right:16px; z-index:2; width:28px; height:28px; border-radius:8px; display:grid; place-items:center; line-height:1; }
.login-card .login-close:hover{ background:rgba(255,255,255,.06); color:#fff; }
.login-card input{ margin-bottom:13px !important; padding:14px 15px !important; border-radius:12px !important;
  background:rgba(255,255,255,.05) !important; border:1px solid rgba(255,255,255,.09) !important; transition:border-color .2s, box-shadow .2s, background .2s; }
.login-card input:focus{ border-color:#00e5ff !important; background:rgba(0,229,255,.05) !important; box-shadow:0 0 0 3px rgba(0,229,255,.12) !important; }
.login-card input::placeholder{ color:#6a7081; }
#register-code{ border-color:rgba(184,151,74,.45) !important; background:rgba(184,151,74,.06) !important; }
#register-code:focus{ border-color:#c8a24a !important; box-shadow:0 0 0 3px rgba(200,162,74,.15) !important; }
.login-submit{ padding:15px !important; border-radius:12px !important; font-size:15px !important; letter-spacing:.5px;
  background:linear-gradient(135deg,#00e5ff,#7b5cff) !important; color:#04121a !important;
  box-shadow:0 8px 22px rgba(0,170,255,.32) !important; transition:transform .15s, box-shadow .2s, filter .2s; }
.login-submit:hover{ filter:brightness(1.06); box-shadow:0 10px 28px rgba(0,170,255,.42) !important; }
.login-submit:active{ transform:translateY(1px); }
.login-sub{ margin-top:18px !important; }
/* 라이트(샴페인) 테마 로그인 */
html[data-theme="light"] .login-overlay{ background:rgba(40,35,25,.45) !important; }
html[data-theme="light"] .login-card{ background:linear-gradient(180deg,#fffdf8,#f7f1e6) !important;
  box-shadow:0 24px 60px rgba(120,90,30,.18), 0 0 0 1px rgba(184,151,74,.2) !important; }
html[data-theme="light"] .login-card::before{ background:linear-gradient(140deg, rgba(184,151,74,.6), rgba(184,151,74,.1) 60%); }
html[data-theme="light"] .login-card .login-header h3{ color:#6a5f48 !important; }
html[data-theme="light"] .login-card input{ background:#fff !important; border-color:#e3d8c2 !important; color:#2a2620 !important; }
html[data-theme="light"] .login-card input::placeholder{ color:#a99e86; }
html[data-theme="light"] .login-submit{ background:linear-gradient(135deg,#c8a24a,#9c7a2e) !important; color:#fff !important; box-shadow:0 8px 22px rgba(160,120,40,.3) !important; }

/* === [Claude 2026-06-21] 모바일: 로고1.5배 + 라이브그리드 좌우 꽉참 + 드로어 더 좁게 === */
@media (max-width: 768px){
  /* ① 로고 1.5배 */
  .mobile-logo img{ height:45px !important; max-width:210px !important; }
  /* ② 라이브 그리드 좌우 여백 제거(꽉차게) — page-lives 좌우 패딩 0, 헤더 텍스트만 재패딩 */
  #page-lives.page-container{ padding-left:0 !important; padding-right:0 !important; padding-top:10px !important; }
  #page-lives .lives-hero-layout{ gap:0 !important; }
  #page-lives .hero-left-column{ width:100% !important; flex:1 1 100% !important; }
  #page-lives .lives-grid{ grid-template-columns:repeat(3,1fr) !important; gap:3px !important; }
  #page-lives .live-card{ border-radius:6px !important; }
  #page-lives > .lives-hero-layout > .hero-left-column > .page-header{ padding:0 12px !important; }
  #page-lives .main-highlights-container{ padding:0 12px !important; }
  #page-lives .hero-right-column{ padding:0 12px !important; }
  /* ③ 드로어 더 좁게 + 내부 여백 축소 (biplays "중간 여백 줄여 좌우폭 축소") */
  .category-sheet{ width:38vw !important; max-width:155px !important; padding:14px 5px !important; }
  .category-overlay .cat-btn{ padding:7px 6px !important; }
  .category-overlay .cat-btn.cat-sub{ padding:6px 6px !important; gap:4px !important; }
  .category-overlay .cat-btn.cat-sub .cat-sub-name{ font-size:11px; }
  .category-overlay .cat-btn.cat-sub .cat-sub-logo,
  .category-overlay .cat-btn.cat-sub .text-logo{ height:18px; max-width:42px; }
  .cat-acc, .cat-submenu, .category-grid{ gap:5px !important; }
}

/* === [Claude 2026-06-21] 모바일 게시판(.board-table) 카드형 변환 — 세로글씨 깨짐 해결 === */
@media (max-width: 768px){
  .board-table-container{ overflow:visible !important; }
  .board-table{ display:block; width:100%; border:none; }
  .board-table thead{ display:none !important; }
  .board-table tbody{ display:block; width:100%; }
  .board-table tr{ display:flex; flex-wrap:wrap; align-items:center; gap:5px 9px; width:100%;
    background:var(--panel-bg); border:1px solid var(--border-color); border-radius:10px;
    margin-bottom:9px; padding:11px 13px; box-sizing:border-box; }
  .board-table td{ display:inline-block; width:auto !important; padding:0 !important; border:none !important;
    text-align:left !important; white-space:normal !important; word-break:break-word; font-size:12px; line-height:1.4; }
  .board-table td:nth-child(1){ display:none !important; }        /* 번호 숨김 */
  .board-table td:nth-child(3),
  .board-table td.post-title-link{ order:-2; width:100% !important; font-size:14px !important; font-weight:700;
    color:var(--text-main) !important; margin-bottom:2px; }       /* 제목 = 첫 줄 강조 */
  .board-table td:nth-child(2){ order:-1; }                       /* 게임종류 태그 */
  .board-table td:nth-child(4){ font-weight:700; }                /* 승리금액 */
  .board-table td:nth-child(6){ color:var(--text-sub) !important; }/* 작성자 */
  .board-table td:nth-child(7){ color:var(--text-sub) !important; font-size:11px; margin-left:auto; } /* 작성일 우측 */
  .board-table tr:active{ border-color:var(--neon-cyan); }
}

/* === [Claude 2026-06-21] 라이브 카드 네온 그라데이션 테두리 불빛 (밝기 ~40%) === */
.lives-grid .live-card{ position:relative; }
.lives-grid .live-card::after{ content:""; position:absolute; inset:0; border-radius:inherit; padding:1.5px;
  background:linear-gradient(135deg, rgba(0,229,255,.55) 0%, rgba(157,78,221,.4) 45%, rgba(255,0,127,.5) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none; opacity:.42; z-index:1;
  transition:opacity .3s ease; }
.lives-grid .live-card{ box-shadow:0 0 14px rgba(0,180,255,.12), 0 2px 10px rgba(0,0,0,.3); }
.lives-grid .live-card.is-live{ box-shadow:0 0 16px rgba(0,200,255,.18), 0 0 10px rgba(255,0,127,.1); }
.lives-grid .live-card:hover::after{ opacity:.7; }
.lives-grid .live-card:hover{ box-shadow:0 0 22px rgba(0,200,255,.28), 0 6px 18px rgba(0,0,0,.35); }
/* 라이트(샴페인) 테마는 골드 그라데 테두리 */
html[data-theme="light"] .lives-grid .live-card::after{
  background:linear-gradient(135deg, rgba(184,151,74,.55), rgba(212,180,120,.35) 50%, rgba(160,120,40,.5)); opacity:.4; }
html[data-theme="light"] .lives-grid .live-card{ box-shadow:0 0 12px rgba(184,151,74,.14), 0 2px 8px rgba(120,90,30,.08); }

/* === [Claude 2026-06-21] 구 녹색 rail 잔재 제거 → 시안 통일 (biplays "녹색 버튼 오버레이 안되게") === */
@media (max-width: 992px){
  .category-sheet .cat-sub:hover, .category-sheet .cat-sub:active,
  .category-overlay .cat-btn.cat-sub:hover, .category-overlay .cat-btn.cat-sub:active{
    background:transparent !important; box-shadow:none !important; color:#fff !important; }
  .category-sheet .cat-sub::before{ display:none !important; }
  .category-sheet .cat-btn.cat-sub.selected,
  .category-overlay .cat-btn.cat-sub.selected{
    border:1px solid #00e5ff !important; background:rgba(0,229,255,.08) !important;
    box-shadow: inset 3px 0 0 #00e5ff, 0 0 12px rgba(0,229,255,.22) !important; color:#fff !important; }
  .category-sheet .cat-btn.cat-sub.selected .cat-sub-logo,
  .category-overlay .cat-btn.cat-sub.selected .cat-sub-logo{ filter:brightness(1.4) drop-shadow(0 0 6px rgba(0,229,255,.5)) !important; }
  .category-overlay.rail .cat-btn.cat-sub.selected .cat-sub-logo{ filter:brightness(2) drop-shadow(0 0 10px rgba(0,229,255,.85)) !important; }
}
/* 로그인 팝업 로고 키움 (biplays) */
.login-brand img{ height:50px !important; max-width:220px !important; margin:2px 0 4px !important; }

/* === [Claude 2026-06-21] 모바일 방송시청(플레이어) 반응형 수정 (biplays "사이즈 안맞음") === */
@media (max-width: 768px){
  #page-player.page-container{ padding:0 0 84px !important; }
  .theater-layout{ display:flex !important; flex-direction:column !important; height:auto !important; }
  .video-section{ height:auto !important; overflow:visible !important; }
  .video-container{ width:100% !important; padding-top:56.25% !important; }
  .player-details{ padding:12px 14px !important; }
  .player-streamer-row{ flex-wrap:wrap !important; gap:8px !important; align-items:center; }
  .streamer-large-avatar{ width:42px !important; height:42px !important; font-size:15px !important; flex:0 0 42px !important; }
  .streamer-large-info h2{ font-size:15px !important; }
  .streamer-large-info p{ font-size:12px !important; }
  .streamer-stats{ width:100% !important; justify-content:flex-start !important; gap:20px !important; }
  .streamer-stats .stat-box{ margin-right:0 !important; }
  #page-player .chat-section{ height:auto !important; min-height:300px; border-top:1px solid var(--border-color); }
  #page-player .chat-section .chat-messages{ max-height:280px !important; }
}

/* === [Claude 2026-06-21] 플레이어 채팅 입력칸 하단 고정 (하단바 위) — biplays "입력창 안보임" === */
@media (max-width: 768px){
  #page-player .chat-section .chat-messages{ max-height:none !important; }
  #page-player .chat-input-area{
    position:fixed !important; left:0; right:0;
    bottom:calc(100px + env(safe-area-inset-bottom,0px)); z-index:10004;
    background:var(--panel-bg); border-top:1px solid var(--border-color);
    padding:8px 12px !important; box-shadow:0 -4px 14px rgba(0,0,0,.4); margin:0 !important; }
  #page-player .chat-input-area .chat-input-wrapper{ display:flex; gap:8px; }
  #page-player .chat-input-area input{ flex:1; }
  #page-player.page-container{ padding-bottom:128px !important; }
}

/* === [Claude 2026-06-21 · redesign] 골드 메탈릭 하단바 5칸 (메뉴/방송/홈/쿠폰포인트/프로필) === */
/* 균형 잡힌 등간격 행 — 5개 버튼이 동일한 원형 footprint 로 정렬, 클릭 시 가볍게 떠오름.
   겹침(overlap) 레이아웃 폐기: 이전엔 -26px 로 포개져 일부 엠블럼이 가려지고 z축이 산만했음.
   넓은 ASIA TV(bnav_live) 로고는 따로 살짝 축소해 원형 엠블럼과 동일한 가시 폭으로 맞춤. */
.bbar-gold{ display:flex; justify-content:space-between; align-items:center;
  gap:0; padding:0 8px; }
.bbar-gold .bbar-btn{ flex:1 1 0; min-width:0; max-width:88px;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:1px;
  font-size:0 !important; /* 라벨 기본 숨김 — 클릭(active) 시에만 노출 */ padding:0; margin:0;
  background:none; border:none; cursor:pointer; position:relative; z-index:1;
  color:#e9c66a; font-weight:700; letter-spacing:-.2px;
  transform:translateY(-26px); /* 경계선보다 위로 튀어나옴 */
  transition:transform .28s cubic-bezier(.34,1.5,.5,1), font-size .18s ease; }
/* 모든 엠블럼이 동일한 정사각 셀에 contain 으로 들어가 footprint/baseline 통일 */
.bbar-gold .bbar-ico{ width:62px; height:62px; display:grid; place-items:center;
  position:relative; transition:transform .26s cubic-bezier(.34,1.25,.5,1); }
.bbar-gold .bbar-ico img{ width:100%; height:100%; object-fit:contain; display:block;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.45)); transition:filter .22s ease, transform .26s ease; }
.bbar-gold .bbar-ico svg{ display:none !important; }
/* 넓은 ASIA TV 로고만 축소 → 원형 엠블럼들과 같은 가시 폭/리듬으로 정렬 */
.bbar-gold .bbar-btn[data-action="live"] .bbar-ico img{ transform:scale(.86); }
/* 테마별 하단바 아이콘 스왑 (다크=ico-dark, 라이트=ico-light) */
.bbar-gold .bbar-ico .ico-light{ display:none; }
html[data-theme="light"] .bbar-gold .bbar-ico .ico-dark{ display:none; }
html[data-theme="light"] .bbar-gold .bbar-ico .ico-light{ display:block; }
/* 데스크톱 포인터 호버: 가볍게 떠오름(겹침/대형확대 없음) */
@media (hover:hover){
  .bbar-gold .bbar-btn:hover{ transform:translateY(-3px); }
  .bbar-gold .bbar-btn:hover .bbar-ico img{ filter:drop-shadow(0 3px 7px rgba(0,0,0,.5)) brightness(1.06); }
}
/* 선택(active) 상태: 클릭 시 버튼이 푸시업(더 솟음)되며 그 버튼 한글 라벨 노출 + 골드 글로우 링 */
.bbar-gold .bbar-btn.active{ z-index:6; transform:translateY(-38px) scale(1.06); font-size:9px !important; }
.bbar-gold .bbar-btn.active .bbar-ico img{
  filter:drop-shadow(0 0 7px rgba(224,190,90,.8)) drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.bbar-gold .bbar-btn.active .bbar-ico::after{
  content:''; position:absolute; left:50%; top:50%; width:54px; height:54px;
  transform:translate(-50%,-50%); border-radius:50%;
  background:radial-gradient(circle, rgba(224,190,90,.28) 0%, rgba(224,190,90,0) 70%);
  pointer-events:none; z-index:-1; }
.bbar-gold .bbar-btn.active::before{ display:none !important; }
@media (max-width:768px){
  .bbar-gold{ padding:0 6px; }
  .bbar-gold .bbar-ico{ width:58px; height:58px; }
  .bbar-gold .bbar-btn.active .bbar-ico::after{ width:50px; height:50px; }
}
/* 좁은 폭(≤412px 등) 안전 — 5칸이 넘치지 않도록 셀 더 축소 */
@media (max-width:420px){
  .bbar-gold{ padding:0 4px; }
  .bbar-gold .bbar-ico{ width:52px; height:52px; }
}
html[data-theme="light"] .bbar-gold .bbar-btn{ color:#8a7e66; }
html[data-theme="light"] .bbar-gold .bbar-ico img{ filter:drop-shadow(0 2px 4px rgba(120,90,30,.28)); }
html[data-theme="light"] .bbar-gold .bbar-btn.active .bbar-ico img{
  filter:drop-shadow(0 0 7px rgba(184,151,74,.85)) drop-shadow(0 3px 6px rgba(120,90,30,.3)); }
html[data-theme="light"] .bbar-gold .bbar-btn.active .bbar-ico::after{
  background:radial-gradient(circle, rgba(184,151,74,.3) 0%, rgba(184,151,74,0) 70%); }

/* === [Claude 2026-06-21] 동영상방 세로형 큰 카드 규칙 → 하단 'bigwinner redesign 단일화' 블록으로 이전 (중복 제거) === */

/* === [Polish 2026-06-21] 라이트(샴페인) 테마 디테일 대비 보정 === */
/* 아이보리 패널 위에서 거의 안 보이던 흰색-알파 요소들을 골드톤 미묘 보정 */
html[data-theme="light"] .tag{
  background-color: rgba(120,90,30,0.05);
  border-color: rgba(120,90,30,0.08);
  color: var(--text-sub);
}
html[data-theme="light"] .tag.neon{
  border-color: rgba(184,151,74,0.32);
  color: var(--neon-cyan);
}
html[data-theme="light"] .viewer-badge{
  background-color: rgba(20,18,12,0.62);
}
html[data-theme="light"] ::-webkit-scrollbar-track{ background: var(--bg-color); }
html[data-theme="light"] ::-webkit-scrollbar-thumb{ background: var(--border-color); }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover{ background: var(--text-sub); }
/* 게시판/랭킹 호버 — 라이트에서 살짝 더 또렷한 골드 틴트 */
html[data-theme="light"] .board-table tr:hover td,
html[data-theme="light"] .ranking-table tr:hover td{ background-color: var(--panel-bg-hover); }
/* 파트너 인포박스 — 라이트에서 검정 알파 대신 골드 알파 */
html[data-theme="light"] .partner-info-box{
  background: rgba(184,151,74,0.05);
  border-color: rgba(120,90,30,0.06);
}
html[data-theme="light"] .partner-info-box:hover{
  border-color: rgba(184,151,74,0.22);
  background: rgba(184,151,74,0.09);
}

/* === [Polish 2026-06-21] 입력 focus 링 일관화 (모달/교환 폼) === */
.form-group input:focus,
.form-group textarea:focus{
  box-shadow: 0 0 0 3px rgba(0,245,255,0.10);
}
html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group textarea:focus,
html[data-theme="light"] .exchange-input:focus,
html[data-theme="light"] .exchange-amount-input:focus{
  box-shadow: 0 0 0 3px rgba(184,151,74,0.14);
}

/* === [Update 2026-06-21] 채팅창 완전 제거 및 레이아웃 100% 확장 (대표님 요청 반영) === */
/* 1. 메인 페이지(Lives) 실시간 채팅 영역 제거 및 콘텐츠(좌측) 영역 100% 확장 */
.hero-right-column {
  display: none !important;
}
.hero-left-column {
  flex: 0 0 100% !important;
  width: 100% !important;
}

/* 2. 극장모드 플레이어 페이지 실시간 채팅 영역 제거 및 비디오 영역 100% 확장 */
/* [Claude 2026-06-23] 라이브룸 실시간 채팅창 복구 */
#page-player .chat-section {
  display: flex !important;
}
.theater-layout {
  grid-template-columns: 1fr 340px;
}

/* === [Claude 2026-06-21 · bigwinner redesign] 추천 방송 가로 스트립 (플레이어 채팅 공백 대체) === */
.reco-strip{ margin-top:20px; padding-top:18px; border-top:1px solid var(--border-color); }
.reco-head{ font-size:15px; font-weight:800; color:var(--text-main); margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.reco-head span{ font-size:11px; font-weight:700; color:var(--neon-pink); letter-spacing:1px; }
.reco-track{ display:flex; gap:12px; overflow-x:auto; padding-bottom:8px; scrollbar-width:thin; -webkit-overflow-scrolling:touch; }
.reco-card{ flex:0 0 200px; width:200px; background:var(--panel-bg); border:1px solid var(--border-color);
  border-radius:12px; overflow:hidden; cursor:pointer; transition:transform .22s cubic-bezier(.22,1,.36,1), border-color .2s, box-shadow .2s; }
.reco-card:hover{ transform:translateY(-3px); border-color:var(--neon-cyan); box-shadow:0 8px 20px rgba(0,245,255,.1); }
.reco-thumb{ position:relative; width:100%; aspect-ratio:16/9; background:#0d0f15; overflow:hidden; }
.reco-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.reco-live{ position:absolute; top:8px; left:8px; width:46px; line-height:0; filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.reco-live img{ width:100%; height:auto; display:block; }
.reco-meta{ padding:9px 11px; }
.reco-title{ font-size:12.5px; font-weight:600; line-height:1.35; color:var(--text-main);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.reco-streamer{ margin-top:5px; font-size:11px; color:var(--neon-cyan); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.reco-streamer .reco-code{ color:var(--text-sub); }
html[data-theme="light"] .reco-card:hover{ border-color:#b8974a; box-shadow:0 8px 20px rgba(160,120,40,.12); }
@media (max-width:768px){
  .reco-strip{ margin-top:14px; padding:14px 14px 0; }
  .reco-card{ flex:0 0 150px; width:150px; }
  .reco-head{ font-size:14px; }
}

/* === [Claude 2026-06-21 · bigwinner redesign] 보증업체 칩 (방송→보증업체 연결) === */
.card-partner-chip{
  display:inline-flex; align-items:center; gap:5px; align-self:flex-start;
  margin-top:6px; padding:3px 9px 3px 8px; border-radius:999px;
  font-size:10.5px; font-weight:700; line-height:1; text-decoration:none; white-space:nowrap;
  color:#0a0c14; background:linear-gradient(135deg,#ffe49a,#e0be5a);
  border:1px solid rgba(184,151,74,.5);
  box-shadow:0 2px 8px rgba(184,151,74,.28), inset 0 1px 0 rgba(255,255,255,.5);
  transition:filter .18s ease, transform .18s ease;
}
.card-partner-chip:hover{ filter:brightness(1.06); transform:translateY(-1px); }
.card-partner-chip .cpc-dot{
  width:6px; height:6px; border-radius:50%; background:#0a0c14;
  box-shadow:0 0 4px rgba(0,0,0,.4); flex:0 0 6px;
}
html[data-theme="light"] .card-partner-chip{
  color:#3a2e10; background:linear-gradient(135deg,#ffd86b,#c8a24a);
  border-color:rgba(120,90,30,.4); box-shadow:0 2px 8px rgba(160,120,40,.3), inset 0 1px 0 rgba(255,255,255,.55);
}
html[data-theme="light"] .card-partner-chip .cpc-dot{ background:#3a2e10; }

/* === [Claude 2026-06-21 · bigwinner redesign] featured 히어로 — live_badge.png 대형 LIVE 엠블럼 === */
.featured-live-emblem{
  position:absolute; top:14px; left:14px; z-index:4; display:block;
  width:84px; max-width:30%; line-height:0; pointer-events:none;
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.5));
}
.featured-live-emblem img{ width:100%; height:auto; display:block; }
.featured-hero-poster{ background:#0d0f15; }
@media (max-width:768px){
  /* 엣지투엣지 페이지에서 히어로는 좌우 12px 정렬(page-header 와 동일) */
  #page-lives .featured-screen-card{ margin-left:12px !important; margin-right:12px !important; margin-bottom:12px !important; }
  .featured-live-emblem{ width:62px; top:10px; left:10px; }
  .featured-hero-screen{ min-height:0 !important; }
  .featured-title{ font-size:16px !important; margin-bottom:8px !important; }
  .featured-screen-info{ bottom:14px; left:14px; right:14px; }
  /* 칩: 모바일 3열 카드에서도 작게 노출 (card-tags 는 숨김이지만 칩은 핵심 association) */
  .card-partner-chip{ font-size:8.5px; padding:2px 6px 2px 5px; margin-top:4px; gap:3px; }
  .card-partner-chip .cpc-dot{ width:4px; height:4px; flex:0 0 4px; }
}
@media (max-width:412px){
  .card-partner-chip{ font-size:8px; padding:2px 5px; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
}

/* === [Claude 2026-06-21 · bigwinner redesign] .lives-grid 반응형 단일화 ===
   이전: repeat(5) vs repeat(3) 등 !important 충돌 다발. 아래 한 세트로 통합.
   클라이언트 확정 컬럼수 보존 — 데스크톱 4열 / 태블릿(769~1200) 3열 / 모바일(≤768) 3열. */
.lives-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.lives-grid .live-card{ flex-direction:column; }
.lives-grid .thumbnail-container{ width:100%; flex:none; aspect-ratio:16/9; padding-top:0; height:auto; }
.lives-grid .card-info{ flex-direction:row; padding:11px 12px; gap:10px; align-items:flex-start; }
.lives-grid .card-avatar{ display:flex; width:34px; height:34px; flex:0 0 34px; }
.lives-grid .card-title{ font-size:13.5px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; }
.lives-grid .card-streamer{ font-size:11px; color:var(--neon-cyan); }
@media (min-width:769px) and (max-width:1200px){
  .lives-grid{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:768px){
  .lives-grid{ grid-template-columns:repeat(3, 1fr); gap:8px; }
  .lives-grid .card-info{ flex-direction:column; padding:6px 7px; gap:3px; }
  .lives-grid .card-avatar{ display:none; }
  .lives-grid .card-title{ font-size:10.5px; }
  .lives-grid .card-streamer{ font-size:9.5px; }
  .lives-grid .card-code{ font-size:9.5px; }
  .lives-grid .card-tags{ display:none; }
}


/* 2026-06-23 하단바 제일밑 여백 제거 (claude) — 아이콘을 바 하단에 붙이고 죽은 공간 삭제 */
@media (max-width: 992px){
  .bottom-bar.bbar-gold{ height: 48px !important; align-items: flex-end !important; padding-bottom: env(safe-area-inset-bottom, 0px) !important; }
  .bbar-gold .bbar-btn{ transform: translateY(0) !important; }
  .bbar-gold .bbar-btn.active{ transform: translateY(-15px) scale(1.06) !important; }
}

/* 2026-06-23 모달 모바일 잘림 방지 v2 — 카드 100vw, 내부 전부 shrink/wrap (claude) */
@media (max-width: 768px) {
  .modal-overlay.active { align-items: flex-start !important; justify-content: center !important; padding: 10px !important; overflow-y: auto !important; box-sizing: border-box; }
  .modal-card { width: calc(100vw - 20px) !important; max-width: calc(100vw - 20px) !important; margin: 0 auto !important; box-sizing: border-box; }
  .modal-body { overflow-x: hidden !important; }
  .modal-body *, .channel-management-info * { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
  .modal-body button, .modal-body a { white-space: normal !important; }
}

/* === [Claude 2026-06-23] 모바일 라이브룸 = 온카티비 레퍼런스 매칭 (영상→채팅 꽉채움→입력) ===
   biplays "채팅창 위치/스크린 위치 온카티비처럼". 영상 바로밑 채팅이 화면 채우고, 입력은 하단바 위 고정. */
@media (max-width: 768px){
  #page-player.page-container.active{
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important; right: 0 !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 0 !important; margin: 0 !important;
    height: auto !important; overflow: hidden !important;
    display: flex !important; flex-direction: column !important;
  }
  #page-player .theater-layout{
    flex: 1 1 auto !important; min-height: 0 !important;
    display: flex !important; flex-direction: column !important; height: auto !important;
  }
  #page-player .video-section{
    flex: 0 0 auto !important; height: auto !important; overflow: visible !important;
  }
  /* clutter 숨김: 방송제목/설명/시청자스탯/추천스트립 → 영상 바로밑 채팅 (온카티비처럼 깔끔) */
  #page-player .player-description,
  #page-player #player-live-title,
  #page-player .streamer-stats,
  #page-player .reco-strip{ display: none !important; }
  #page-player .player-details{ padding: 8px 12px !important; flex: 0 0 auto !important; }
  #page-player .player-streamer-row{ margin: 0 !important; }
  /* 채팅 = 남은 공간 전부 차지 */
  #page-player .chat-section{
    flex: 1 1 auto !important; min-height: 0 !important; height: auto !important;
    display: flex !important; flex-direction: column !important;
    border-top: 1px solid var(--border-color) !important;
  }
  #page-player .chat-section .chat-header{ flex: 0 0 auto !important; height: 40px !important; }
  #page-player .chat-section .chat-messages{
    flex: 1 1 auto !important; min-height: 0 !important; max-height: none !important;
    overflow-y: auto !important;
  }
  /* 입력칸: fixed 해제 → 컬럼 맨 아래 in-flow (하단바 위) */
  #page-player .chat-input-area{
    position: static !important; bottom: auto !important; left: auto !important; right: auto !important;
    flex: 0 0 auto !important; z-index: auto !important; margin: 0 !important;
    box-shadow: none !important;
  }
}

/* === [Claude 2026-06-23] 라이트 테마 로고칸 흰색 배경 (biplays "피씨 라이트버젼 로고바탕 흰색") === */
html[data-theme="light"] .logo-section{ background-color: #ffffff !important; }

/* === [Claude 2026-06-23] PC 채팅창 고정높이 + 내부스크롤 (biplays "채팅 길어지면 채팅창도 같이 길어져") ===
   flexbox min-height:auto 때문에 채팅이 쌓이면 컨테이너가 늘어나 페이지가 커졌음.
   min-height:0 으로 체인 끊어 chat-messages 만 내부 스크롤되게 고정. */
@media (min-width: 769px){
  #page-player{ min-height: 0 !important; overflow: hidden !important; }
  #page-player .theater-layout{ min-height: 0 !important; height: 100% !important; }
  #page-player .video-section{ min-height: 0 !important; }
  #page-player .chat-section{ min-height: 0 !important; height: 100% !important; }
  #page-player .chat-section .chat-header{ flex: 0 0 auto !important; }
  #page-player .chat-section .chat-messages{
    flex: 1 1 auto !important; min-height: 0 !important; max-height: none !important;
    overflow-y: auto !important;
  }
  #page-player .chat-section .chat-input-area{ flex: 0 0 auto !important; }
}

/* === [Claude 2026-06-23] 방송 종료 FAB + 끈방송 검정공란 (biplays) === */
#end-broadcast-fab{
  position: fixed; right: 18px; bottom: 90px; z-index: 10050;
  display: none; align-items: center; gap: 6px;
  background: #ff2d2d; color: #fff; border: none; border-radius: 26px;
  padding: 13px 22px; font-size: 14px; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 22px rgba(255,45,45,.5); animation: ebfab 1.5s infinite;
}
@keyframes ebfab{ 0%,100%{ box-shadow:0 6px 22px rgba(255,45,45,.5);} 50%{ box-shadow:0 6px 30px rgba(255,45,45,.85);} }
@media (max-width:768px){ #end-broadcast-fab{ bottom: 78px; right: 12px; padding:11px 17px; font-size:13px; } }

/* 끈 방송/빈 슬롯 = 검정 공란, 라이브마크 없음 */
.live-card--placeholder{ background:#0b0d12 !important; }
.live-card--placeholder .thumbnail-container,
.live-card--placeholder .thumbnail-placeholder--off{ background:#000 !important; }
.live-card--placeholder .offline-badge{ display:none !important; }

/* === [Claude 2026-06-24 david] 오프라인 실제채널 카드 = 검정(준비중 placeholder와 통일) === */
.live-card.is-off .thumbnail-container{ background:#0b0d12 !important; }
.live-card.is-off .thumbnail-placeholder,
.live-card.is-off .thumbnail-placeholder--off{ background:#000 !important; }
.live-card.is-off .offline-badge{ background:rgba(0,0,0,.55) !important; }

/* === [Claude 2026-06-24 david] 생방송중 아니면 전부 검정 — 오프라인 카드 풀블랙(모바일/라이트테마 포함) === */
.live-card.is-off, html[data-theme="light"] .live-card.is-off{ background:#0b0d12 !important; }
.live-card.is-off .card-info, html[data-theme="light"] .live-card.is-off .card-info{ background:#0b0d12 !important; }
.live-card.is-off .thumbnail-container,
.live-card.is-off .thumbnail-placeholder,
.live-card.is-off .thumbnail-placeholder--off{ background:#000 !important; }
.live-card.is-off .card-live-thumb{ display:none !important; }
.live-card.is-off .card-title{ color:#e8eaed !important; }
.live-card.is-off .card-streamer{ color:#9aa0aa !important; }
.live-card.is-off .card-tags .tag{ background:#1a1d24 !important; color:#9aa0aa !important; border-color:#2a2d33 !important; }

/* === [Claude 2026-06-24 우팀장] 모바일 메뉴 드로어 스크롤 복구 (내용 길면 안 내려가던 것) === */
.category-sheet{ overflow-y:auto !important; -webkit-overflow-scrolling:touch !important; min-height:0 !important; }
.category-overlay .category-sheet{ overflow-y:auto !important; }

/* === [Claude 2026-06-24 우팀장] 카드 그라데이션 테두리(캔버스) 제거 — 분홍/시안 프레임 없애고 깨끗하게 (배지는 저것만) === */
.lives-grid .live-card::after,
html[data-theme="light"] .lives-grid .live-card::after{ display:none !important; }
.lives-grid .live-card.is-live{ box-shadow:0 2px 10px rgba(0,0,0,.3) !important; }

/* === [Claude 2026-06-24 우팀장] 모바일 본문 스크롤 강제 복구 (포인트교환 등 일부 페이지 안 내려가던 것) === */
@media (max-width: 992px){
  .app-container{ height:100dvh !important; }
  .main-content{ flex:1 1 0 !important; min-height:0 !important; height:auto !important; overflow-y:auto !important; -webkit-overflow-scrolling:touch !important; }
  .main-content .page-container.active{ min-height:0 !important; }
}

/* === [Claude 2026-06-24] 불꺼진 방 ASIATV.co 로고 워터마크 (오프라인/방송준비중 카드) === */
.live-card--placeholder .thumbnail-container,
.live-card.is-off .thumbnail-container{ position:relative; }
.live-card--placeholder .thumbnail-container::after,
.live-card.is-off .thumbnail-container::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:url(logo.png) no-repeat center 54% / 56% auto;
  opacity:.92;
}
/* 카메라 아이콘은 로고 위로(상단)·연하게 — 시안처럼 로고가 중앙, 카메라가 위 */
.live-card--placeholder .thumbnail-placeholder svg,
.live-card.is-off .thumbnail-placeholder svg{
  position:relative; z-index:2; transform:translateY(-30px); opacity:.45;
}
