# 상단 배너 영역
.ad-banner-area {
  width: 100%;
  min-height: 48px;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eee;
  z-index: 100;
}
.ad-banner-area.active {
  display: flex;
}
.ad-banner-card {
  width: 100%;
  padding: 0;
  margin: 0;
  background: #fff;
  text-align: center;
  font-size: 15px;
  color: #222;
}
/* ============================================================
   SunnyTalk (써니톡) — Main Stylesheet
   Background: 연두색(#B8F5A0) + 밝은 하늘색(#87D4F5) gradient
   Primary:    #FF1C8E (hot pink / magenta)
   ============================================================ */

:root {
  --primary:      #FF1C8E;
  --primary-dark: #CC006E;
  --primary-light:#FFB3D9;
  --bg-gradient-start: #B8F5A0;
  --bg-gradient-end:   #87D4F5;
  --bg-solid:     #9FE4C8;
  --card-bg:      rgba(255, 255, 255, 0.93);
  --text:         #222;
  --subtext:      #666;
  --border:       #e0e0e0;
  --radius:       12px;
  --shadow:       0 2px 8px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ============================================================
   SCREENS
   ============================================================ */
.screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  background: linear-gradient(160deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  overflow: hidden;
  animation: slideIn 0.22s ease-out;
}
.screen.active { display: flex; }

@keyframes slideIn {
  from { transform: translateX(30px); opacity: 0.6; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================================
   SPLASH
   ============================================================ */
#screen-splash {
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #FF80C0 0%, #FF1C8E 100%);
}
.splash-inner { text-align: center; color: #fff; }
.splash-logo  { font-size: 72px; margin-bottom: 16px; }
.splash-title { font-size: 36px; font-weight: 900; letter-spacing: 4px; }
.splash-sub   { font-size: 16px; margin-top: 6px; opacity: 0.85; }

/* ============================================================
   HEADERS
   ============================================================ */
.main-header {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255,28,142,0.35);
}
.logo-icon {
  display: inline-flex;
  margin-right: 8px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  background-image: url("../img/magpie-small.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent !important;
}
.app-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
}
/* 모든 앱 아이콘 배경 투명 처리 */
.logo-icon, .logo-big, .logo-small, .scr-logo-up, .login-logo {
  background-repeat: no-repeat;
  background-color: transparent !important;
  background-position: center;
  background-size: contain;
  background-image: url("../img/imgmagpie.png");
  border: 0 !important;
  box-shadow: none !important;
  background-clip: padding-box;
  width: auto !important;
  height: auto !important;
  display: inline-block;
  opacity: 1;
}

/* 메인 헤더의 작게 쓰는 경우 */
.logo-icon.logo-small {
  background-image: url("../img/magpie-small.png");
}
.logo-big {
  width: 90px;
  height: 90px;
}
.logo-small {
  width: 28px;
  height: 28px;
}
.scr-logo-up {
  width: 84px;
  height: 84px;
  margin: 0 auto 10px;
}

.sub-header {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(255,28,142,0.35);
}
.back-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}
.header-btn-right {
  margin-left: auto;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}

/* ============================================================
   TAB BAR
   ============================================================ */
.tab-bar {
  display: flex;
  background: var(--card-bg);
  border-bottom: 2px solid var(--border);
  flex-shrink: 0;
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px 6px;
  cursor: pointer;
  color: #999;
  font-size: 11px;
  transition: color 0.15s;
}
.tab-item.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}
.tab-icon  { font-size: 20px; line-height: 1; }
.tab-label { margin-top: 2px; font-weight: 600; }

/* ============================================================
   TAB CONTENT
   ============================================================ */
.tab-content { flex: 1; overflow: hidden; position: relative; }

.tab-pane {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.tab-pane.active { display: flex; }

/* ============================================================
   SUB-TABS
   ============================================================ */
.subtab-bar {
  display: flex;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 0 4px;
  overflow-x: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subtab-bar::-webkit-scrollbar { display: none; }
.subtab {
  background: none;
  border: none;
  padding: 10px 12px;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}
.subtab.active { color: var(--primary); border-bottom: 2px solid var(--primary); font-weight: 700; }
.subtab.write-btn {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  margin: 5px 4px;
  padding: 5px 10px;
  font-size: 12px;
}

/* ============================================================
   LIST CONTAINER
   ============================================================ */
.list-container {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0;
}

/* ============================================================
   TALK LIST ITEM
   ============================================================ */
.talk-item {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 6px 8px;
  gap: 8px;
}
.talk-body { margin: 0; padding: 0; }
.talk-title { margin-bottom: 2px; }
.talk-meta { margin-top: 0; }
.talk-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e0e0e0;
}
.talk-thumb-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #f0f0f0;
  flex-shrink: 0;
}
.talk-body  { flex: 1; min-width: 0; }
.talk-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.talk-meta  { font-size: 12px; color: var(--subtext); margin-top: 3px; }
.talk-meta .username { color: var(--primary); font-weight: 600; }
.talk-meta .time     { color: #aaa; }
.talk-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.btn-more-dot {
  background: none;
  border: none;
  font-size: 20px;
  color: #bbb;
  cursor: pointer;
  padding: 0 2px;
}
.btn-write-msg {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
  text-align: center;
}
.btn-write-msg:active { background: var(--primary-dark); }

/* ============================================================
   NEARBY LIST ITEM
   ============================================================ */
.nearby-item {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  gap: 12px;
}
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0e0e0;
  border: 2px solid #FFD0E8;
}
.avatar-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD0E8, #FFB3D9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.nearby-body { flex: 1; min-width: 0; }
.nearby-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}
.nearby-info { font-size: 12px; color: var(--subtext); margin-top: 2px; }
.nearby-bio  { font-size: 13px; color: #444; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============================================================
   THEME LIST ITEM
   ============================================================ */
.theme-chips-wrap {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 6px 8px;
  flex-shrink: 0;
}
.theme-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.theme-chips::-webkit-scrollbar { display: none; }
.chip {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

.theme-item {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 14px;
  cursor: pointer;
}
.theme-item:active { background: #f8f0f5; }
.theme-item-title { font-size: 15px; font-weight: 700; color: var(--text); }
.theme-item-meta  { font-size: 12px; color: var(--subtext); margin-top: 5px; }
.theme-item-meta .username { color: var(--primary); font-weight: 600; }
.reply-count { color: var(--primary); font-weight: 700; }

/* ============================================================
   MESSAGE LIST ITEM
   ============================================================ */
.msg-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ml-auto { margin-left: auto; }

.msg-item {
  display: flex;
  align-items: flex-start;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 12px;
  gap: 10px;
  cursor: pointer;
}
.msg-item:active { background: #f8f0f5; }
.msg-avatar { flex-shrink: 0; }
.msg-body   { flex: 1; min-width: 0; }
.msg-header-row { display: flex; justify-content: space-between; align-items: baseline; }
.msg-from   { font-size: 14px; font-weight: 700; color: var(--primary); }
.msg-info   { font-size: 12px; color: var(--subtext); }
.msg-time   { font-size: 11px; color: #aaa; }
.msg-preview { font-size: 13px; color: #444; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-unread {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 6px;
}
.msg-read-status {
  font-size: 10px;
  color: #888;
  margin-left: 8px;
}
.chat-media {
  max-width: 220px;
  max-height: 220px;
  border-radius: 10px;
}
.gift-item {
  background: #fff2e8;
  border: 1px dashed #ff8c54;
  color: #d34e15;
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 700;
}

/* ============================================================
   MESSAGE DETAIL
   ============================================================ */
.msg-detail-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble-wrap { display: flex; }
.bubble-wrap.mine { justify-content: flex-end; }
.bubble {
  max-width: 72%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
}
.bubble-wrap.theirs .bubble { background: #fff; border: 1px solid var(--border); }
.bubble-wrap.mine   .bubble { background: var(--primary); color: #fff; }
.bubble-time { font-size: 10px; color: #aaa; align-self: flex-end; margin: 0 6px 2px; }

.msg-input-bar {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  color: #444;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.msg-input-bar input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 14px;
  outline: none;
}
.btn-send {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   MORE TAB
   ============================================================ */
.more-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.more-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 4px;
  background: var(--card-bg);
  cursor: pointer;
  gap: 5px;
}
.more-item:active { background: #f8f0f5; }
.more-icon  { font-size: 22px; }
.more-label { font-size: 11px; color: #444; font-weight: 600; }

.more-banner {
  padding: 12px;
  flex-shrink: 0;
}
.banner-box {
  background: linear-gradient(135deg, #FFD0E8 0%, #FFB3D9 100%);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.banner-title { font-size: 15px; font-weight: 900; color: var(--primary-dark); margin-bottom: 6px; }
.banner-text  { font-size: 13px; color: #333; line-height: 1.6; margin-bottom: 10px; }

.more-notices {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notice-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}
.notice-icon { font-size: 28px; flex-shrink: 0; }
.notice-text { font-size: 13px; color: #444; line-height: 1.6; }

/* ============================================================
   CHARGE SCREEN
   ============================================================ */
.charge-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
}
.balance-num { color: var(--primary); font-size: 20px; }
.charge-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.charge-item:last-of-type { border-bottom: none; }
.btn-pay {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   PROFILE SETTINGS
   ============================================================ */
.profile-photo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 10px;
}
.profile-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--primary-light);
  cursor: pointer;
  background: #f0f0f0;
}
.profile-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-hint { font-size: 12px; color: #aaa; margin-top: 6px; }

/* ============================================================
   GUIDE SCREEN
   ============================================================ */
.guide-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.guide-menu-btn {
  background: var(--card-bg);
  border: none;
  padding: 13px 8px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
}
.guide-menu-btn.active { background: #f5f5f5; font-weight: 700; color: var(--text); }
.guide-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
.guide-content h3 { color: var(--primary); margin: 12px 0 6px; font-size: 15px; }
.guide-content h3::before { content: "● "; }

/* ============================================================
   LOGIN SCREEN
   ============================================================ */
#screen-login {
  justify-content: center;
  padding: 20px 20px;
}
.login-header {
  text-align: center;
  margin-bottom: 24px;
}
.login-logo     { font-size: 56px; }
.login-header h1 { font-size: 28px; font-weight: 900; color: var(--primary); letter-spacing: 3px; }
.login-tagline  { font-size: 14px; color: #888; margin-top: 4px; }
.login-divider  {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  margin: 10px 0;
  position: relative;
}
.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}
.login-divider::before { left: 0; }
.login-divider::after  { right: 0; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.screen-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-bottom: 5px;
  min-width: 60px;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  background: #fafafa;
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: #fff; }
.form-group textarea { resize: vertical; min-height: 80px; }

.radio-group, .checkbox-group {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}
.radio-label, .checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  cursor: pointer;
}
.required { color: var(--primary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:active { background: var(--primary-dark); }
.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.btn-ghost {
  background: none;
  color: var(--subtext);
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
}
.btn-google {
  background: #4285F4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-google:active { background: #3367d6; }
.btn-ghost-sm {
  background: none;
  color: var(--subtext);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}
.btn-primary-sm {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}
.btn-full   { display: block; width: 100%; text-align: center; }
.mt-12      { margin-top: 12px; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 480px;
  padding-bottom: env(safe-area-inset-bottom, 12px);
  animation: slideUp 0.25s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.modal-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
}
.modal-body    { padding: 14px 16px; }
.modal-footer  { padding: 0 16px 16px; }
.modal-body textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  outline: none;
}
.modal-body textarea:focus { border-color: var(--primary); }
.choco-notice { font-size: 12px; color: #aaa; margin-top: 6px; }

/* ============================================================
   MISC
   ============================================================ */
.notice-card   { font-size: 13px; color: #555; line-height: 1.7; }
.notice-card p { margin-bottom: 8px; }
.notice-card p:last-child { margin-bottom: 0; }

.illegal-warning h3 { color: #e53935; margin-bottom: 10px; font-size: 17px; }
.illegal-warning p  { margin-bottom: 8px; font-size: 14px; line-height: 1.7; }
.illegal-warning ul { padding-left: 20px; color: #c62828; }
.illegal-warning ul li { margin-bottom: 4px; font-size: 13px; }

.empty-state { text-align: center; padding: 32px; color: #aaa; font-size: 14px; }

.photo-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.photo-preview img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.78);
  color: #fff;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   SCROLLBARS
   ============================================================ */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
