/* SOUL TALK - Mobile Only Photorealistic Design */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap');

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  background:#0B0E1A;
  color:#E8E6DF;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
.serif { font-family: 'Noto Serif KR', serif; }

.phone-frame {
  max-width:480px;
  margin:0 auto;
  min-height:100vh;
  min-height:100dvh; /* iOS/Android 주소창 접힘으로 인한 100vh 점프 방지 */
  background:linear-gradient(180deg,#111428 0%, #0B0E1A 100%);
  position:relative;
  box-shadow:0 0 80px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,215,0,0.08);
}

/* Header */
.top-bar {
  height:calc(56px + env(safe-area-inset-top));
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
  padding-top:env(safe-area-inset-top);
  background:rgba(11,14,26,0.9);
  backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(255,215,0,0.12);
  position:sticky; top:0; z-index:100;
}
.logo { display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:-0.5px; }
.logo-icon {
  width:32px; height:32px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%, #FFD700, #8B5A00);
  display:grid; place-items:center;
  box-shadow:0 0 20px rgba(255,215,0,0.4);
}

/* Bottom Nav - from screenshots */
.bottom-nav {
  position:fixed; bottom:0; left:50%; transform:translateX(-50%);
  width:100%; max-width:480px;
  height:calc(78px + env(safe-area-inset-bottom));
  background:rgba(11,14,26,0.98);
  backdrop-filter:blur(30px);
  border-top:1px solid rgba(255,215,0,0.15);
  display:flex; justify-content:space-around; align-items:center;
  z-index:200;
  padding-bottom:calc(8px + env(safe-area-inset-bottom));
}
.nav-item {
  display:flex; flex-direction:column; align-items:center; gap:4px;
  color:#6B7280; text-decoration:none; font-size:11px; font-weight:500;
  transition:all 0.3s;
}
.nav-item.active { color:#FFD700; }
.nav-item .icon { width:28px; height:28px; font-size:22px; display:grid; place-items:center; }

/* 하단 네비 정가운데 "상담" 강조 버튼 - 떠 있는 원형 버튼으로 시선이 먼저 가게 한다 */
.nav-item-fab {
  display:flex; flex-direction:column; align-items:center; gap:3px;
  text-decoration:none; color:#1A1A1A; font-size:11px; font-weight:800;
  position:relative; top:-16px;
}
.nav-item-fab .fab-circle {
  width:54px; height:54px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%, #FFD700, #FFB800);
  display:grid; place-items:center; font-size:24px;
  box-shadow:0 6px 18px rgba(255,184,0,0.55), 0 0 0 4px var(--fab-ring-color, #0B0E1A);
  animation: fabPulse 2.4s ease-in-out infinite;
}
.nav-item-fab span { color:#FFD700; text-shadow:0 1px 4px rgba(0,0,0,0.4); }
@keyframes fabPulse {
  0%,100% { box-shadow:0 6px 18px rgba(255,184,0,0.55), 0 0 0 4px var(--fab-ring-color, #0B0E1A); transform:scale(1); }
  50% { box-shadow:0 8px 24px rgba(255,184,0,0.85), 0 0 0 4px var(--fab-ring-color, #0B0E1A); transform:scale(1.05); }
}

/* Cards - photorealistic */
.glass-card {
  background:linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border:1px solid rgba(255,215,0,0.15);
  border-radius:20px;
  backdrop-filter:blur(20px);
  overflow:hidden;
  box-shadow:0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.gold-card {
  background:linear-gradient(135deg, #1A1D35 0%, #252845 100%);
  border:1px solid rgba(255,215,0,0.25);
  border-radius:16px;
  position:relative;
}
.gold-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,215,0,0.5), transparent);
}

.btn-gold {
  background:linear-gradient(135deg, #FFD700 0%, #FFB800 100%);
  color:#1A1A1A; font-weight:700; border:none;
  border-radius:14px; padding:14px 22px;
  box-shadow:0 4px 20px rgba(255,215,0,0.3), inset 0 1px 0 rgba(255,255,255,0.6);
  cursor:pointer; transition:transform 0.2s, box-shadow 0.2s;
  font-size:15px;
}
.btn-gold:active { transform:scale(0.97); }
.btn-purple {
  background:linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  color:white; border-radius:14px; padding:14px 22px; border:none; font-weight:700;
  box-shadow:0 4px 20px rgba(124,58,237,0.4);
}
.btn-outline {
  background:transparent; border:1px solid rgba(255,215,0,0.3);
  color:#FFD700; border-radius:12px; padding:10px 18px;
}

/* Manse Table - from screenshot 05,06 */
.manse-table {
  width:100%; border-collapse:collapse; font-size:13px;
  background:#FAF6EB; color:#2C1810; border-radius:12px; overflow:hidden;
}
.manse-table th { background:#2C1810; color:#FFD700; padding:8px 4px; font-size:12px; }
.manse-table td { border:1px solid #E8DCC0; padding:6px 4px; text-align:center; }

/* Jami Palace Grid - screenshot 02 */
.jami-grid {
  display:grid; grid-template-columns:repeat(4, 1fr); grid-template-rows:repeat(4, minmax(112px, auto));
  gap:2px; background:#C9A86A; padding:2px; border-radius:12px;
}
.jami-palace {
  background:#0F1220; padding:8px; position:relative;
  display:flex; flex-direction:column; justify-content:space-between; gap:4px;
}
.jami-palace.myung { border:2px solid #FF6B35; }
.jami-palace.jeontaek { border:2px solid #FFD700; }
.jami-palace .gung-name { font-size:12px; font-weight:700; color:#FFD700; }
.jami-palace .stars { font-size:10px; line-height:1.3; }
.jami-palace .age { font-size:9px; color:#6B7280; }
.jami-center {
  grid-column:2 / 4; grid-row:2 / 4;
  background:radial-gradient(circle, #1A1D35, #0B0E1A);
  display:grid; place-items:center;
  border:1px solid rgba(255,215,0,0.2);
}

/* Free fortune tiles */
.fortune-tile {
  background:linear-gradient(180deg, #FFFBF0 0%, #F5E6C8 100%);
  border-radius:16px; padding:12px; text-align:center;
  border:1px solid #E8DCC0; color:#2C1810; min-height:160px;
  display:flex; flex-direction:column; justify-content:space-between;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.fortune-tile .badge {
  font-size:9px; background:#FF4757; color:white; padding:2px 6px; border-radius:4px;
  position:absolute; top:8px; left:8px;
}

/* Chat bubbles - screenshot 09 */
.chat-bubble { max-width:78%; padding:14px 16px; border-radius:18px; font-size:14px; line-height:1.5; margin:6px 0; }
.bubble-user { background:#FFED4A; color:#1A1A1A; align-self:flex-end; border-bottom-right-radius:4px; }
.bubble-ai { background:#252845; color:#E8E6DF; border-bottom-left-radius:4px; border:1px solid rgba(255,215,0,0.15); }
.bubble-system { background:rgba(255,255,255,0.06); color:#9CA3AF; font-size:12px; text-align:center; max-width:100%; }

/* Tarot - 카드 뒷면도 실사 촛불 테이블 질감 위에 금박 문양 */
.tarot-card {
  aspect-ratio:2/3; border-radius:12px;
  background-image:linear-gradient(rgba(26,29,53,0.75),rgba(45,42,90,0.75)), url('/img/tarot-table.jpg');
  background-size:cover; background-position:center;
  border:2px solid rgba(255,215,0,0.2);
  position:relative; transform-style:preserve-3d; transition:transform 0.6s;
  cursor:pointer; overflow:hidden;
}
.tarot-card.flipped { transform:rotateY(180deg); }
.tarot-card img { width:100%; height:100%; object-fit:cover; }

/* Voice button - screenshot 01,06 */
.voice-btn {
  width:88px; height:88px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%, #FF3B30, #8B0000);
  border:4px solid #FFD700; display:grid; place-items:center;
  box-shadow:0 0 30px rgba(255,59,48,0.5), inset 0 2px 0 rgba(255,255,255,0.3);
  animation:pulse 2s infinite;
}
@keyframes pulse { 0%,100%{ transform:scale(1); box-shadow:0 0 0 0 rgba(255,59,48,0.4);} 50%{ transform:scale(1.05);} }

/* Coupon */
.coupon {
  background:linear-gradient(135deg, #FFB800, #FF8C00);
  border-radius:16px; padding:4px;
  clip-path:polygon(0 0, 100% 0, 100% 70%, 95% 75%, 100% 80%, 100% 100%, 0 100%, 0 80%, 5% 75%, 0 70%);
}

/* Scrollbar hide */
.hide-scrollbar { -ms-overflow-style:none; scrollbar-width:none; }
.hide-scrollbar::-webkit-scrollbar { display:none; }

/* Realistic image treatments */
.img-real {
  object-fit:cover; filter:saturate(1.1) contrast(1.05);
  box-shadow:0 8px 24px rgba(0,0,0,0.5);
}

/* Auth forms */
.auth-form { display:flex; flex-direction:column; }
.auth-label { font-size:12px; color:#9CA3AF; margin:14px 0 6px; }
.auth-input {
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,215,0,0.2); border-radius:12px;
  padding:13px 14px; color:#E8E6DF; font-size:14px; outline:none; width:100%;
}
.auth-input:focus { border-color:#FFD700; }
.auth-radio { display:flex; align-items:center; gap:6px; font-size:13px; color:#E8E6DF; background:rgba(255,255,255,0.05); padding:10px 16px; border-radius:10px; border:1px solid rgba(255,215,0,0.15); flex:1; justify-content:center; }
.auth-error { background:rgba(220,38,38,0.15); border:1px solid #DC2626; color:#FCA5A5; padding:10px 14px; border-radius:10px; font-size:12px; margin-bottom:12px; }

/* 회원가입 - 12간지 시(時) 선택 칩 */
.jiji-chip {
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12); color:#E8E6DF;
  border-radius:8px; padding:6px 4px; font-size:11px; font-weight:700; cursor:pointer; line-height:1.6;
}
.jiji-chip.active { background:rgba(255,215,0,0.15); border-color:#FFD700; color:#FFD700; }

/* Toast */
.toast {
  position:fixed; bottom:100px; left:50%; transform:translateX(-50%);
  background:#1A1D35; border:1px solid rgba(255,215,0,0.3); color:#E8E6DF;
  padding:12px 20px; border-radius:14px; font-size:13px; z-index:500;
  box-shadow:0 8px 24px rgba(0,0,0,0.5); max-width:88%; text-align:center;
  opacity:0; transition:opacity 0.3s;
}
.toast.show { opacity:1; }

/* Disabled state */
.btn-gold:disabled, .btn-purple:disabled { opacity:0.4; cursor:not-allowed; }

/* Mini game result card */
.mg-result {
  margin-top:14px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,215,0,0.2);
  border-radius:16px; padding:16px; font-size:13px; line-height:1.6;
}
.mg-score { display:inline-block; background:#FFD700; color:#1A1A1A; font-weight:800; padding:3px 10px; border-radius:20px; font-size:12px; }
.mg-loading { text-align:center; padding:20px; color:#9CA3AF; font-size:13px; }

/* User header chip */
.user-chip { display:flex; align-items:center; gap:6px; font-size:11px; color:#FFD700; }

/* 운명트렌드 카테고리 필터 버튼 */
.cat-filter-btn { background:#252845; color:#9CA3AF; transition:background 0.2s, color 0.2s; cursor:pointer; }
.cat-filter-btn.active { background:white; color:#1A1A1A; }

/* 학습관 - 만세력 읽는 법 탭 */
.sibi-tab {
  border:1px solid #E8DCC0; background:white; color:#2C1810; padding:6px 12px;
  border-radius:20px; font-size:12px; white-space:nowrap; cursor:pointer;
}
.sibi-tab.active { background:#FEF3C7; border-color:#F59E0B; font-weight:700; }

/* 상담사 "말하는 중" 실사 이미지 애니메이션 - TTS 재생과 동기화 */
.master-photo { transition:box-shadow 0.3s, transform 0.3s; }
.master-photo.speaking {
  animation:speakPulse 1.1s ease-in-out infinite;
  box-shadow:0 0 0 rgba(255,215,0,0.6), 0 8px 20px rgba(0,0,0,0.3);
}
@keyframes speakPulse {
  0%,100% { box-shadow:0 0 0 0 rgba(255,215,0,0.55), 0 8px 20px rgba(0,0,0,0.3); transform:scale(1); }
  50% { box-shadow:0 0 0 10px rgba(255,215,0,0), 0 8px 24px rgba(0,0,0,0.35); transform:scale(1.02); }
}
.speaking-ring {
  position:absolute; inset:-6px; border-radius:inherit; pointer-events:none;
  border:2px solid rgba(255,215,0,0.7); opacity:0; transition:opacity 0.3s;
}
.master-photo.speaking + .speaking-ring,
.speaking .speaking-ring { opacity:1; animation:ringExpand 1.1s ease-out infinite; }
@keyframes ringExpand {
  0% { transform:scale(1); opacity:0.8; }
  100% { transform:scale(1.18); opacity:0; }
}
.speak-indicator {
  display:inline-flex; align-items:center; gap:3px; height:14px;
}
.speak-indicator span {
  width:3px; background:#FFD700; border-radius:2px; display:inline-block;
  animation:soundBar 0.9s ease-in-out infinite;
}
.speak-indicator span:nth-child(1){ height:6px; animation-delay:0s; }
.speak-indicator span:nth-child(2){ height:12px; animation-delay:0.15s; }
.speak-indicator span:nth-child(3){ height:8px; animation-delay:0.3s; }
@keyframes soundBar { 0%,100%{ transform:scaleY(0.4); } 50%{ transform:scaleY(1); } }

/* 음소거 토글 버튼 */
.voice-toggle {
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,215,0,0.3);
  background:rgba(255,255,255,0.06); color:#FFD700; display:grid; place-items:center;
  font-size:15px; cursor:pointer; flex-shrink:0;
}
.voice-toggle.muted { color:#6B7280; border-color:rgba(255,255,255,0.15); }

/* 타로 대화형 리딩 */
.tarot-dialogue { display:flex; flex-direction:column; gap:10px; }
.tarot-dialogue .chat-bubble { opacity:0; animation:bubbleIn 0.4s ease forwards; }
@keyframes bubbleIn { from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:translateY(0);} }
.tarot-reveal-card {
  aspect-ratio:2/3; border-radius:12px; border:2px solid rgba(255,215,0,0.3);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:8px; transition:transform 0.5s;
}

/* ===== 운세관 미니게임 애니메이션 - 실사 배경 사진 위에서 진행 ===== */
.mg-stage {
  display:flex; justify-content:center; align-items:center; min-height:120px; margin-top:6px;
  border-radius:16px; overflow:hidden; position:relative;
  background:linear-gradient(rgba(11,14,26,0.55),rgba(11,14,26,0.55)), url('/img/tarot-table.jpg');
  background-size:cover; background-position:center;
}
/* 게임 종류별 실사 배경 - 윷점(한지 위 윷가락), 화투점(촛불 테이블 화투패), 동전점(고서 위 옛 동전), 수정구슬(신비한 도사), 띠운세(12간지 원반) */
.mg-stage.stage-yut     { background:linear-gradient(rgba(11,14,26,0.4),rgba(11,14,26,0.4)), url('/img/yut-scene.jpg'); background-size:cover; background-position:center; }
.mg-stage.stage-hwatu   { background:linear-gradient(rgba(11,14,26,0.4),rgba(11,14,26,0.4)), url('/img/hwatu-scene.jpg'); background-size:cover; background-position:center; }
.mg-stage.stage-coin    { background:linear-gradient(rgba(11,14,26,0.4),rgba(11,14,26,0.4)), url('/img/coin-scene.jpg'); background-size:cover; background-position:center; }
.mg-stage.stage-crystal { background:linear-gradient(rgba(11,14,26,0.35),rgba(11,14,26,0.35)), url('/img/crystal-scene.jpg'); background-size:cover; background-position:center; }
.mg-stage.stage-tti     { background:linear-gradient(rgba(11,14,26,0.4),rgba(11,14,26,0.4)), url('/img/tti-scene.jpg'); background-size:cover; background-position:center; }

/* 윷점: 실사 윷가락 사진, 막대 4개가 튀어오르며 회전 */
.yut-stick {
  width:20px; height:64px; border-radius:7px; margin:0 4px; display:inline-block;
  object-fit:cover; background:#C9A86A;
  box-shadow:0 3px 6px rgba(0,0,0,0.5), inset -2px 0 3px rgba(0,0,0,0.25), inset 2px 0 3px rgba(255,255,255,0.4);
  border:1px solid #6B4423;
}
.yut-stick.rolling { animation:yutTumble 0.45s ease-in-out infinite; }
.yut-stick:nth-child(2).rolling{ animation-delay:0.08s; }
.yut-stick:nth-child(3).rolling{ animation-delay:0.16s; }
.yut-stick:nth-child(4).rolling{ animation-delay:0.24s; }
@keyframes yutTumble { 0%,100%{ transform:translateY(0) rotate(0deg);} 50%{ transform:translateY(-22px) rotate(200deg);} }

/* 동전점: 실사 한국 동전 사진 3개가 위아래로 튀며 회전 */
.mg-coin {
  width:42px; height:42px; border-radius:50%; margin:0 6px; display:inline-flex; align-items:center; justify-content:center;
  object-fit:cover;
  box-shadow:0 4px 8px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.6);
  border:1px solid #6B4E12;
}
.mg-coin.rolling { animation:coinFlip 0.5s linear infinite; }
.mg-coin:nth-child(2).rolling{ animation-delay:0.1s; }
.mg-coin:nth-child(3).rolling{ animation-delay:0.2s; }
@keyframes coinFlip { 0%{ transform:rotateY(0deg) translateY(0);} 50%{ transform:rotateY(180deg) translateY(-14px);} 100%{ transform:rotateY(360deg) translateY(0);} }

/* 화투점: 실사 한지 두루마리 질감의 카드가 촛불 테이블 위에서 뒤집힘 */
.mg-hwatu-card {
  width:68px; height:100px; border-radius:8px; overflow:hidden;
  background-image:linear-gradient(rgba(26,29,53,0.35),rgba(26,29,53,0.35)), url('/img/manse-scroll.jpg');
  background-size:cover; background-position:center;
  border:2px solid rgba(255,215,0,0.5); display:flex; align-items:center; justify-content:center;
  font-size:26px; transform-style:preserve-3d; transition:transform 0.6s;
  box-shadow:0 6px 16px rgba(0,0,0,0.5);
}
.mg-hwatu-card.flipped {
  transform:rotateY(180deg);
  background-image:none;
}
.mg-hwatu-card img { width:100%; height:100%; object-fit:cover; transform:rotateY(180deg); }
.mg-hwatu-card.rolling { animation:hwatuShuffle 0.4s ease-in-out infinite; }
@keyframes hwatuShuffle { 0%,100%{ transform:translateX(0) rotate(0deg);} 25%{ transform:translateX(-4px) rotate(-3deg);} 75%{ transform:translateX(4px) rotate(3deg);} }

/* 수정구슬: 실사 촛불 테이블 배경 위 유리 오브가 은은하게 빛나며 소용돌이 */
.mg-orb {
  width:88px; height:88px; border-radius:50%;
  background:radial-gradient(circle at 40% 35%, rgba(255,255,255,0.85), rgba(124,58,237,0.55) 40%, rgba(30,27,75,0.85) 78%),
             url('/img/tarot-table.jpg');
  background-size:cover, cover; background-blend-mode:overlay;
  box-shadow:0 0 30px rgba(124,58,237,0.6), inset 0 0 20px rgba(255,255,255,0.4), inset 0 -10px 20px rgba(0,0,0,0.3);
  position:relative; overflow:hidden;
}
.mg-orb.rolling { animation:orbPulse 1s ease-in-out infinite; }
@keyframes orbPulse { 0%,100%{ box-shadow:0 0 30px rgba(124,58,237,0.6), inset 0 0 20px rgba(255,255,255,0.4); transform:scale(1);} 50%{ box-shadow:0 0 50px rgba(124,58,237,0.9), inset 0 0 30px rgba(255,255,255,0.6); transform:scale(1.05);} }
.mg-orb::after {
  content:''; position:absolute; inset:0; border-radius:50%;
  background:conic-gradient(from 0deg, transparent, rgba(255,255,255,0.35), transparent 40%);
  animation:orbSwirl 2s linear infinite;
}
@keyframes orbSwirl { from{ transform:rotate(0deg);} to{ transform:rotate(360deg);} }

/* 띠 운세 등장 배경도 실사 테이블 위에서 */
.mg-zodiac-pop { position:relative; z-index:1; }

/* 띠 운세: 등장 바운스 */
.mg-zodiac-pop { font-size:44px; animation:zodiacPop 0.5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes zodiacPop { 0%{ transform:scale(0.3); opacity:0;} 70%{ transform:scale(1.15); opacity:1;} 100%{ transform:scale(1);} }
.mg-zodiac-photo {
  width:92px; height:92px; border-radius:50%; object-fit:cover;
  border:3px solid #FFD700; box-shadow:0 4px 16px rgba(0,0,0,0.5);
  animation:zodiacPop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

.mg-result-fade { animation:mgFadeIn 0.4s ease; }
@keyframes mgFadeIn { from{ opacity:0; transform:translateY(6px);} to{ opacity:1; transform:translateY(0);} }

/* ===== 전역 페이지 전환 로딩바 - 링크 클릭/폼 제출 시 화면 맨 위에서 즉시 반응 ===== */
#__pageLoadBar {
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:9999;
  background:linear-gradient(90deg,#FFD700,#FFB800); box-shadow:0 0 8px rgba(255,215,0,0.6);
  transition:width 0.3s ease-out, opacity 0.2s ease-out; opacity:0; pointer-events:none;
}
#__pageLoadBar.active { opacity:1; width:70%; }

/* ===== 버튼/영역 안 인라인 스피너 - 결과를 기다리는 동안 텍스트 옆에 붙여 쓴다 ===== */
.spinner {
  display:inline-block; width:13px; height:13px; border-radius:50%;
  border:2px solid rgba(255,255,255,0.35); border-top-color:currentColor;
  animation:spin 0.7s linear infinite; vertical-align:-2px; margin-right:6px;
}
@keyframes spin { to { transform:rotate(360deg); } }

/* ===== 스켈레톤 로딩 블록 - 카드/리스트가 채워지기 전 자리 표시 ===== */
.skeleton {
  background:linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 37%, rgba(255,255,255,0.06) 63%);
  background-size:400% 100%; animation:skeletonShine 1.4s ease infinite; border-radius:8px;
}
@keyframes skeletonShine { 0%{ background-position:100% 50%; } 100%{ background-position:0% 50%; } }

/* ===== 관리자 페이지 ===== */
.admin-tab {
  flex-shrink:0; padding:8px 14px; border-radius:20px; font-size:12px; font-weight:600;
  color:#9CA3AF; background:rgba(255,255,255,0.05); text-decoration:none; white-space:nowrap;
}
.admin-tab.active { background:#FFD700; color:#1A1A1A; }
.admin-stat { padding:14px; text-align:center; }
.admin-stat-label { font-size:11px; color:#9CA3AF; }
.admin-stat-value { font-size:24px; font-weight:900; color:#FFD700; margin-top:4px; }
.admin-stat-sub { font-size:10px; color:#6B7280; margin-top:2px; }
.admin-search {
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,215,0,0.2); border-radius:12px;
  padding:11px 14px; color:#E8E6DF; font-size:13px; outline:none; width:100%;
}
.admin-btn {
  border:none; border-radius:8px; padding:6px 10px; font-size:11px; font-weight:700; cursor:pointer;
}
.admin-btn-gold { background:#FFD700; color:#1A1A1A; }
.admin-btn-outline { background:transparent; border:1px solid rgba(255,255,255,0.2); color:#D1D5DB; }
.admin-btn-danger { background:rgba(220,38,38,0.85); color:white; }
