* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #f5f3ff;
  --bg: #f4f4f6;
  --bg2: #ffffff;
  --text: #1a1a1a;
  --text2: #555;
  --text3: #999;
  --border: #e0e0e0;
  --badge-new: #7c3aed;
  --badge-hot: #e8380d;
  --badge-free: #0070c0;
  --sidebar-w: 220px;
  --accent: #f59e0b;
}

body {
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

/* ── TOP BAR ── */
.topbar { background: #222; color: #aaa; font-size: 12px; padding: 5px 0; border-bottom: 1px solid #333; }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 12px; display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #aaa; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 14px; }
.topbar-links a::before { content: '·'; margin-right: 14px; color: #444; }
.topbar-links a:first-child::before { content: ''; margin-right: 0; }

/* ── HEADER ── */
header { background: #fff; border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; gap: 20px; height: 54px; }
.logo { font-size: 22px; font-weight: 900; color: var(--primary); letter-spacing: -1px; white-space: nowrap; flex-shrink: 0; }
.logo em { color: #ff6b00; font-style: normal; }
.search-bar { flex: 1; max-width: 500px; display: flex; border: 1.5px solid var(--border); border-radius: 4px; overflow: hidden; }
.search-bar input { flex: 1; border: none; outline: none; padding: 7px 12px; font-size: 13px; background: #fafafa; }
.search-bar button { background: var(--primary); border: none; color: #fff; padding: 0 14px; cursor: pointer; font-size: 16px; }
.header-actions { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; align-items: center; }
.btn-sm { padding: 5px 12px; border-radius: 3px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: #fff; color: var(--text2); }
.btn-sm.primary { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── GNB ── */
.gnb { background: var(--primary); }
.gnb-inner { max-width: 1280px; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; gap: 0; }
.gnb-item { padding: 9px 16px; color: rgba(255,255,255,0.88); font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 5px; border-bottom: 2px solid transparent; transition: background 0.15s; }
.gnb-item:hover { background: rgba(255,255,255,0.12); color: #fff; }
.gnb-item.active { background: rgba(0,0,0,0.15); color: #fff; border-bottom-color: #fff; }
.gnb-item i { font-size: 15px; }

/* ── TICKER ── */
.ticker { background: #fff8f6; border-bottom: 1px solid #ffd5cc; padding: 6px 0; overflow: hidden; }
.ticker-inner { max-width: 1280px; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; gap: 12px; }
.ticker-label { background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 2px; font-size: 11px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.ticker-mask { flex: 1; overflow: hidden; }
.ticker-track { display: inline-flex; gap: 24px; white-space: nowrap; will-change: transform; animation: ticker-scroll 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.ticker-item { font-size: 12px; color: var(--text2); flex-shrink: 0; }
.ticker-item .price { color: var(--primary); font-weight: 600; }
.ticker-item a:hover { color: var(--primary); }

/* ── MAIN LAYOUT ── */
.page-wrap { max-width: 1280px; margin: 0 auto; padding: 14px 12px; display: grid; grid-template-columns: var(--sidebar-w) 1fr var(--sidebar-w); gap: 12px; align-items: start; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 10px; }
.widget { background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.widget-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-bottom: 1px solid var(--border); background: #fafafa; }
.widget-head .title { font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 5px; }
.widget-head .title i { color: var(--primary); font-size: 15px; }
.widget-head .more { font-size: 11px; color: var(--text3); }
.widget-head .more:hover { color: var(--primary); }
.widget-body { padding: 8px 0; }

.cat-list { list-style: none; }
.cat-list li a { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; font-size: 13px; color: var(--text2); transition: background 0.1s; cursor: pointer; }
.cat-list li a:hover { background: var(--primary-light); color: var(--primary); }
.cat-list li.active a { color: var(--primary); font-weight: 600; background: var(--primary-light); }
.cat-list .cnt { background: #f0f0f0; color: var(--text3); font-size: 10px; padding: 1px 6px; border-radius: 10px; min-width: 24px; text-align: center; }
.cat-list li.active .cnt { background: var(--primary); color: #fff; }

.popular-list { list-style: none; }
.popular-list li { display: flex; align-items: flex-start; gap: 8px; padding: 7px 12px; border-bottom: 1px solid #f5f5f5; }
.popular-list li:last-child { border-bottom: none; }
.pop-rank { font-size: 13px; font-weight: 700; color: var(--primary); min-width: 16px; flex-shrink: 0; }
.pop-rank.gray { color: var(--text3); }
.popular-list .pop-title { font-size: 12px; color: var(--text); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; cursor: pointer; }
.popular-list .pop-title:hover { color: var(--primary); }

.ad-box { background: #f9f9f9; border: 1px dashed #ddd; border-radius: 4px; height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #bbb; font-size: 12px; gap: 6px; }
.ad-box i { font-size: 28px; color: #ddd; }

.store-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.store-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; background: #fafafa; border: 1px solid var(--border); border-radius: 6px; font-size: 11px; color: var(--text2); cursor: pointer; transition: all 0.15s; }
.store-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.store-btn i { font-size: 20px; color: var(--text3); }
.store-btn:hover i { color: var(--primary); }

/* ── CENTER CONTENT ── */
.center { display: flex; flex-direction: column; gap: 10px; }

/* BANNER */
.banner-slot { background: var(--primary); border-radius: 6px; overflow: hidden; height: 90px; display: flex; align-items: center; padding: 0 24px; gap: 16px; position: relative; }
.banner-slot .b-text { color: #fff; }
.banner-slot .b-title { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.banner-slot .b-sub { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 4px; }
.banner-slot .b-btn { margin-left: auto; background: #fff; color: var(--primary); padding: 8px 18px; border-radius: 4px; font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.banner-deco { position: absolute; right: 120px; top: 50%; transform: translateY(-50%); font-size: 52px; opacity: 0.15; }

/* BOARD SECTION */
.board-section { background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 2px solid var(--primary); background: #fafafa; }
.board-head-left { display: flex; align-items: center; gap: 10px; }
.board-title { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.board-title i { color: var(--primary); }
.board-tabs { display: flex; gap: 0; }
.board-tab { padding: 4px 12px; font-size: 12px; color: var(--text3); border: 1px solid var(--border); cursor: pointer; background: #fff; transition: all 0.1s; }
.board-tab:first-child { border-radius: 3px 0 0 3px; }
.board-tab:last-child { border-radius: 0 3px 3px 0; }
.board-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.board-more { font-size: 12px; color: var(--text3); display: flex; align-items: center; gap: 2px; cursor: pointer; }
.board-more:hover { color: var(--primary); }

.post-list { list-style: none; }
.post-item { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid #f5f5f5; transition: background 0.1s; }
.post-item:last-child { border-bottom: none; }
.post-item:hover { background: #fafafa; }

.badge { flex-shrink: 0; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 2px; white-space: nowrap; }
.badge.hot { background: #ff6b00; color: #fff; }
.badge.new { background: var(--primary); color: #fff; }
.badge.free { background: #0070c0; color: #fff; }
.badge.ali { background: #ff4500; color: #fff; }
.badge.cup { background: #e8380d; color: #fff; }
.badge.end { background: #888; color: #fff; }
.badge.best { background: #7c3aed; color: #fff; }

.post-title { flex: 1; font-size: 13px; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.post-title:hover { color: var(--primary); }
.post-title .keyword { color: var(--primary); font-weight: 600; }

.post-price { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; flex-shrink: 0; min-width: 60px; text-align: right; }
.post-price .original { font-size: 11px; font-weight: 400; color: var(--text3); text-decoration: line-through; display: block; text-align: right; }

.post-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.post-store { font-size: 11px; color: var(--text3); background: #f5f5f5; padding: 2px 6px; border-radius: 2px; }
.post-views { font-size: 11px; color: var(--text3); display: flex; align-items: center; gap: 2px; }
.post-views i { font-size: 12px; }
.post-time { font-size: 11px; color: var(--text3); white-space: nowrap; }
.post-like { font-size: 11px; color: var(--primary); display: flex; align-items: center; gap: 2px; font-weight: 600; cursor: pointer; }
.post-like i { font-size: 12px; }
.post-like.liked { color: var(--badge-hot); }

/* 3단 그리드 보드 */
.board-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-board { background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.mini-board-head { padding: 9px 12px; border-bottom: 2px solid var(--primary); display: flex; align-items: center; justify-content: space-between; background: #fafafa; }
.mini-board-head .t { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.mini-board-head .t i { color: var(--primary); font-size: 15px; }
.mini-board-head .m { font-size: 11px; color: var(--text3); cursor: pointer; }
.mini-post-list { list-style: none; }
.mini-post { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-bottom: 1px solid #f5f5f5; }
.mini-post:last-child { border-bottom: none; }
.mini-post:hover { background: #fafafa; }
.mini-post .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.mini-post .mt { flex: 1; font-size: 12px; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-post .mt:hover { color: var(--primary); }
.mini-post .mp { font-size: 12px; color: var(--primary); font-weight: 600; white-space: nowrap; }
.mini-post .time { font-size: 11px; color: var(--text3); white-space: nowrap; }

/* CARD GRID (오늘의 핫딜) */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px; }
.deal-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #fff; transition: box-shadow 0.15s, transform 0.15s; cursor: pointer; }
.deal-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.deal-thumb { height: 120px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 36px; position: relative; }
.deal-discount-badge { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 2px; }
.deal-store-badge { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.55); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 2px; }
.deal-body { padding: 10px; }
.deal-name { font-size: 12px; color: var(--text); line-height: 1.4; margin-bottom: 8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 34px; }
.deal-prices { display: flex; align-items: baseline; gap: 6px; }
.deal-price { font-size: 15px; font-weight: 700; color: var(--primary); }
.deal-original { font-size: 11px; color: var(--text3); text-decoration: line-through; }
.deal-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; border-top: 1px solid #f5f5f5; }
.deal-likes { font-size: 11px; color: var(--primary); display: flex; align-items: center; gap: 3px; font-weight: 600; }
.deal-views { font-size: 11px; color: var(--text3); display: flex; align-items: center; gap: 2px; }
.deal-time { font-size: 11px; color: var(--text3); }

/* NOTICE BOARD */
.notice-bar { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 8px 14px; display: flex; align-items: center; gap: 10px; }
.notice-tag { background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 2px; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.notice-text { font-size: 13px; color: var(--text2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notice-time { font-size: 11px; color: var(--text3); flex-shrink: 0; margin-left: auto; }

/* WRITE BTN */
.write-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: #fff; padding: 6px 14px; border-radius: 3px; font-size: 12px; font-weight: 600; cursor: pointer; border: none; flex-shrink: 0; }

/* PAGINATION */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 12px; }
.page-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 3px; font-size: 12px; color: var(--text2); cursor: pointer; background: #fff; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* EMPTY / LOADING */
.empty-state { padding: 40px 16px; text-align: center; color: var(--text3); font-size: 13px; }

/* FOOTER */
footer { background: #222; color: #888; padding: 24px 12px; margin-top: 20px; font-size: 12px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { font-size: 18px; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.footer-desc { font-size: 12px; color: #666; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: #777; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { max-width: 1280px; margin: 16px auto 0; padding-top: 16px; border-top: 1px solid #333; text-align: center; font-size: 11px; color: #555; }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: 10px; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.modal.wide { max-width: 560px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 6px; }
.modal-close { font-size: 22px; color: var(--text3); cursor: pointer; background: none; border: none; line-height: 1; }
.modal-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.modal-body .field { display: flex; flex-direction: column; gap: 5px; }
.modal-body label { font-size: 12px; color: var(--text2); font-weight: 600; }
.modal-body input, .modal-body select, .modal-body textarea { border: 1px solid var(--border); border-radius: 6px; padding: 9px 11px; font-size: 13px; outline: none; font-family: inherit; }
.modal-body input:focus, .modal-body select:focus, .modal-body textarea:focus { border-color: var(--primary); }
.modal-body textarea { resize: vertical; min-height: 70px; }
.btn-primary { background: var(--primary); color: #fff; border: none; border-radius: 6px; padding: 11px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-switch { text-align: center; font-size: 12px; color: var(--text2); }
.modal-switch a { color: var(--primary); font-weight: 600; cursor: pointer; }
.form-error { color: var(--badge-hot); font-size: 12px; min-height: 16px; }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }

/* ── TOAST ── */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: #222; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,0.3); animation: toastIn 0.2s ease; }
.toast.ok { background: #16a34a; }
.toast.err { background: #dc2626; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE — 태블릿 */
@media (max-width: 1100px) {
  .page-wrap { grid-template-columns: var(--sidebar-w) 1fr; }
  .sidebar-right { display: none; }
}

/* RESPONSIVE — 모바일 */
@media (max-width: 768px) {
  .topbar { display: none; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 8px 10px; gap: 8px; }
  .logo { font-size: 20px; }
  /* Force the search bar onto its own full-width row (flex-basis:100% beats the
     desktop `flex:1`/basis:0 which otherwise squeezes it next to the buttons). */
  .search-bar { order: 3; flex: 1 0 100%; width: 100%; max-width: 100%; }
  .header-actions { margin-left: auto; }
  .header-actions { gap: 6px; }
  .btn-sm { padding: 5px 8px; font-size: 11px; }
  .write-btn { padding: 5px 10px; font-size: 11px; }
  /* Wrap GNB onto multiple rows so no category is cut off on narrow screens. */
  .gnb-inner { flex-wrap: wrap; padding: 4px 6px; gap: 2px; }
  .gnb-item { padding: 7px 9px; font-size: 12px; white-space: nowrap; border-bottom: none; border-radius: 4px; }
  .gnb-item.active { border-bottom: none; background: rgba(0,0,0,0.18); }
  .ticker-inner { gap: 8px; }
  .ticker-label { font-size: 10px; padding: 2px 6px; }
  .ticker-track { gap: 16px; }
  .ticker-item { font-size: 11px; }
  .page-wrap { grid-template-columns: 1fr; padding: 8px; gap: 8px; }
  .sidebar-left { display: none; }
  .sidebar-right { display: none; }
  .notice-bar { padding: 6px 10px; gap: 6px; }
  .notice-tag { font-size: 10px; padding: 2px 6px; }
  .notice-text { font-size: 12px; }
  .notice-time { display: none; }
  .banner-slot { height: 70px; padding: 0 14px; }
  .banner-slot .b-title { font-size: 14px; }
  .banner-slot .b-sub { font-size: 11px; }
  .banner-slot .b-btn { padding: 6px 12px; font-size: 12px; }
  .banner-deco { display: none; }
  .board-head { padding: 8px 10px; flex-wrap: wrap; gap: 6px; }
  .board-title { font-size: 13px; }
  .board-tabs { display: none; }
  .board-more { font-size: 11px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; }
  .deal-thumb { height: 90px; font-size: 28px; }
  .deal-discount-badge { font-size: 10px; padding: 2px 4px; }
  .deal-store-badge { font-size: 9px; }
  .deal-body { padding: 7px; }
  .deal-name { font-size: 11px; margin-bottom: 5px; }
  .deal-price { font-size: 13px; }
  .deal-original { font-size: 10px; }
  .deal-foot { padding: 5px 7px; }
  .deal-likes, .deal-views, .deal-time { font-size: 10px; }
  .post-item { padding: 7px 10px; gap: 6px; flex-wrap: wrap; }
  .badge { font-size: 9px; padding: 2px 4px; }
  .post-title { font-size: 12px; width: calc(100% - 60px); white-space: normal; }
  .post-price { font-size: 12px; min-width: 50px; }
  .post-price .original { font-size: 10px; }
  .post-store { display: none; }
  .post-views { display: none; }
  .post-like { font-size: 11px; }
  .post-time { font-size: 10px; }
  .pagination { padding: 10px; gap: 3px; }
  .page-btn { width: 26px; height: 26px; font-size: 11px; }
  .board-3col { grid-template-columns: 1fr; gap: 8px; }
  .mini-board-head { padding: 8px 10px; }
  .mini-board-head .t { font-size: 12px; }
  .mini-post { padding: 6px 10px; }
  .mini-post .mt { font-size: 11px; }
  .mini-post .mp { font-size: 11px; }
  .mini-post .time { font-size: 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 1rem; }
  footer { padding: 16px 12px; }
  .footer-logo { font-size: 16px; }
  .footer-desc { font-size: 11px; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .footer-links a { font-size: 11px; }
  .footer-bottom { font-size: 10px; }
}

@media (max-width: 380px) {
  .card-grid { grid-template-columns: 1fr; }
  .deal-thumb { height: 120px; font-size: 40px; }
  .header-actions .btn-sm.hide-xs { display: none; }
}

/* ── 모바일 하단 네비게이션 ── */
.bottom-nav { display: none; }
@media (max-width: 768px) {
  .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #e0e0e0; z-index: 200; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgba(0,0,0,0.08); }
  .bottom-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0 6px; gap: 3px; cursor: pointer; color: #999; font-size: 10px; transition: color 0.15s; }
  .bottom-tab i { font-size: 22px; }
  .bottom-tab.active { color: #7c3aed; }
  .bottom-tab.active i { color: #7c3aed; }
  footer { padding-bottom: 70px; }
  body { padding-bottom: 56px; }
}
