/* Каркас приложения: сброс, переменные темы, шапка, панель профиля,
   скелетоны, поля ввода и кнопки, карточка Дара с аккордеоном,
   текст главы книги, база знаний и энциклопедия, нижняя навигация. */
*{margin:0;padding:0;box-sizing:border-box}
input,textarea,select{background-color:#111111 !important;color:#f1f5f9 !important;-webkit-appearance:none;appearance:none;color-scheme:dark}
:root{color-scheme:dark;--bg:#080808;--text:#f1f5f9;--text-dim:#a09080;--text-muted:#847868;--border:rgba(212,175,55,0.15);--border-bright:rgba(212,175,55,0.3);--card:rgba(255,255,255,0.04);--accent-1:#D4AF37;--accent-2:#C5A028;--accent-3:#9A7B1A;--glow:rgba(212,175,55,0.2);--surface-glass:rgba(10,10,10,0.7)}
html,body{height:100%;overflow:hidden;background:var(--bg);font-family:'Manrope',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text)}
body{display:flex;flex-direction:column}
.stars{display:none}
#btn-profile{position:fixed;top:14px;right:14px;z-index:9999;width:38px;height:38px;border-radius:50%;background:linear-gradient(160deg,#E8C84A 0%,#D4AF37 30%,#9A7B1A 70%,#D4AF37 100%);border:2px solid rgba(212,175,55,0.5);color:#080808;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:Manrope,sans-serif;font-weight:bold;overflow:hidden;transition:all .2s;box-shadow:0 2px 10px rgba(212,175,55,0.3)}
#btn-profile:hover{transform:scale(1.1);box-shadow:0 2px 15px rgba(212,175,55,0.5)}
#btn-profile img{width:100%;height:100%;object-fit:cover}
#profile-overlay{display:none;position:fixed;inset:0;z-index:9997;background:rgba(0,0,0,0.6);backdrop-filter:blur(3px)}
#profile-panel{position:fixed;top:0;right:-100%;width:85%;max-width:380px;height:100%;z-index:9998;background:linear-gradient(180deg,#080808 0%,#0d0d0d 50%,#080808 100%);border-left:1px solid rgba(212,175,55,0.3);overflow-y:auto;transition:right .35s cubic-bezier(0.4,0,0.2,1);padding:20px 16px 100px}
#profile-panel.open{right:0}
.profile-section{background:rgba(255,255,255,0.07);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:12px}
.profile-section-title{font-size:11px;color:#D4AF37;letter-spacing:1.5px;text-transform:none;margin-bottom:10px;font-weight:600}
.lk-collapse .lk-body{display:none;padding-top:8px}
.lk-collapse.lk-open .lk-body{display:block}
.lk-toggle{cursor:pointer;display:flex;justify-content:space-between;align-items:center;margin-bottom:0!important}
.lk-open .lk-toggle{margin-bottom:8px!important}
.lk-arrow{font-size:9px;transition:transform 0.2s;color:var(--text-muted)}
.lk-open .lk-arrow{transform:rotate(180deg)}
.profile-level-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:20px;font-size:13px;letter-spacing:1px;font-family:Manrope,sans-serif}
.level-basic{background:rgba(255,255,255,0.08);border:1px solid var(--border);color:var(--text-dim)}
.level-extended{background:rgba(212,175,55,0.15);border:1px solid rgba(212,175,55,0.3);color:#D4AF37}
.level-premium{background:rgba(212,175,55,0.15);border:1px solid rgba(212,175,55,0.5);color:#D4AF37}
.profile-friend{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,0.05)}
.profile-friend:last-child{border-bottom:none}
.profile-friend-avatar{width:36px;height:36px;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:14px;background:rgba(255,255,255,0.05);color:var(--text-dim);flex-shrink:0}
.profile-friend-avatar img{width:100%;height:100%;object-fit:contain;filter:invert(85%) sepia(25%) saturate(600%) hue-rotate(10deg) brightness(110%) drop-shadow(0 0 4px #D4AF37)}
header{position:relative;z-index:1;min-height:52px;padding:8px 0;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-bottom:1px solid var(--border);background:rgba(8,8,8,0.8);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
header h1{font-size:14px;letter-spacing:3px;color:var(--text);font-weight:normal;margin:0}
header .subtitle{font-size:8px;letter-spacing:3px;color:#D4AF37;font-weight:600;margin-top:3px;opacity:0.75;cursor:pointer}
#app{position:relative;z-index:1;flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:90px}
#app input,#app textarea{user-select:text;-webkit-user-select:text;-moz-user-select:text}
#profile-panel{-webkit-touch-callout:none}
#profile-panel input{user-select:text;-webkit-user-select:text;-moz-user-select:text}
.tab{display:none}.tab.active{display:block}
/* Скелетоны - плейсхолдеры пока грузится контент */
@keyframes skeletonShimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.skeleton {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200px 100%;
  background-repeat: no-repeat;
  border-radius: 6px;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
}
.skeleton-line { height: 14px; margin-bottom: 8px; width: 100%; }
.skeleton-line.short { width: 60%; }
.skeleton-line.med { width: 80%; }
.skeleton-title { height: 22px; width: 50%; margin: 0 auto 12px; }
.skeleton-block { height: 80px; border-radius: 12px; margin-bottom: 12px; width: 100%; }
.skeleton-circle { width: 80px; height: 80px; border-radius: 50%; }
.skeleton-card { padding: 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; margin-bottom: 10px; }
#tab-calc{padding:16px}
.main-container{max-width:650px;margin:0 auto;width:100%}
.input-screen{text-align:center;padding-top:24px}
.input-screen .logo{font-size:48px;margin-bottom:16px}
.input-screen h2{font-size:18px;color:var(--text);letter-spacing:0.5px;margin-bottom:10px;font-weight:700}
.input-screen p{font-size:14px;color:var(--text-dim);margin-bottom:28px;line-height:1.6}
.date-input{display:none}
.date-fields{margin-bottom:4px}
.date-field-group{display:flex;align-items:center;justify-content:center;gap:4px}
.date-field{width:68px;padding:14px 0;background:#111111 !important;border:1px solid var(--border);border-radius:14px;color:var(--text) !important;font-size:24px;font-weight:700;letter-spacing:2px;text-align:center;outline:none;font-family:Manrope,sans-serif;transition:border-color .3s,box-shadow .3s;-webkit-appearance:none;appearance:none;color-scheme:dark}
.date-field.df-year{width:100px}
.date-field:focus{border-color:rgba(212,175,55,0.6);box-shadow:0 0 0 3px rgba(212,175,55,0.25),0 0 20px rgba(212,175,55,0.15)}
.date-field::placeholder{color:var(--text-muted);font-size:16px;font-weight:500;letter-spacing:1px}
.date-field.filled{border-color:rgba(212,175,55,0.4)}
.date-dot{color:#D4AF37;font-size:28px;font-weight:800;line-height:1;padding:0 2px}
.error-msg{color:#f87171;font-size:13px;min-height:18px;margin-top:8px;text-align:center}
/* Глобально убираем тёмную «вспышку» Android/iOS при тапе на любых интерактивных элементах.
   До этого мобильный браузер накладывал rgba(0,0,0,0.4) поверх кнопок и тестеры жаловались
   что текст «пропадает» при нажатии. Заменяем на прозрачность + наш светлый :active. */
button, a, .btn, [role="button"], [onclick]{-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}
.btn{width:100%;padding:15px;border-radius:9999px;border:none;cursor:pointer;font-family:Manrope,sans-serif;font-size:15px;font-weight:700;letter-spacing:0.5px;transition:all .25s;margin-top:14px;position:relative;overflow:hidden}
.btn-primary{background:linear-gradient(160deg,#E8C84A 0%,#D4AF37 25%,#B8960F 50%,#D4AF37 75%,#E8C84A 100%);color:#1a1000;border:none;box-shadow:0 4px 16px rgba(212,175,55,0.3),inset 0 1px 0 rgba(255,255,255,0.25)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(212,175,55,0.45),inset 0 1px 0 rgba(255,255,255,0.3)}
.btn-primary:active{transform:scale(0.98);filter:brightness(1.05)}
.btn-secondary{background:linear-gradient(160deg,#E8C84A 0%,#D4AF37 30%,#9A7B1A 70%,#D4AF37 100%);color:#1a1000;border:none;font-weight:800;box-shadow:0 4px 16px rgba(212,175,55,0.25),inset 0 1px 0 rgba(255,255,255,0.2);transition:all .25s}
.btn-secondary:hover{box-shadow:0 8px 28px rgba(212,175,55,0.45);transform:translateY(-2px)}
.btn-secondary:active{transform:scale(0.98);filter:brightness(1.05)}
.btn-ghost:active{filter:brightness(1.1)}
.btn-ghost{background:transparent;color:var(--text-dim);border:1px solid var(--border);font-size:13px;padding:12px;margin-top:8px;font-weight:500}
.btn-ghost:hover{border-color:rgba(212,175,55,0.35);color:var(--text);background:rgba(212,175,55,0.04)}
.btn:disabled{opacity:0.5;cursor:not-allowed;filter:grayscale(0.3)}
.btn-back{display:none;background:none;border:none;color:var(--text-dim);font-size:13px;cursor:pointer;padding:0 0 12px;font-family:Manrope,sans-serif;text-align:left}
.btn-back:hover{color:var(--text)}
.result-card{text-align:center;background:var(--card);border:1px solid var(--border);border-radius:20px;padding:24px 20px;backdrop-filter:blur(10px)}
.dar-image-wrap{width:110px;height:110px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center}
.dar-image-wrap img{width:100%;height:100%;object-fit:contain;filter:invert(85%) sepia(25%) saturate(600%) hue-rotate(10deg) brightness(110%) contrast(110%) drop-shadow(0 0 10px #D4AF37)}
/* Плейсхолдер вместо картинки Дара. Показывается владельцам 17 кодов-интеграторов:
   svg-файлов для них не рисовали. Раньше был серый круг с мелким тусклым текстом —
   читался как ошибка загрузки. Теперь золото той же палитры, что имя Дара, чтобы
   отсутствие картинки выглядело как особенность кода, а не как поломка. */
.dar-placeholder{width:110px;height:110px;border-radius:50%;border:1.5px solid rgba(212,175,55,0.35);background:radial-gradient(circle,rgba(212,175,55,0.10) 0%,transparent 70%);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#D4AF37;letter-spacing:3px;text-align:center;padding:8px;text-shadow:0 0 12px rgba(212,175,55,0.4)}
.dar-name,#darName{font-size:32px !important;letter-spacing:4px;color:#D4AF37 !important;text-shadow:0 0 20px rgba(212,175,55,0.5);margin-bottom:6px;font-weight:700}
.dar-code{font-size:13px;color:var(--text-dim);letter-spacing:3px;margin-bottom:8px}
.dar-archetype{font-size:14px;color:#D4AF37;font-style:italic;letter-spacing:1px;margin-bottom:20px}
#full-description-block{margin-top:16px}
.accordion-item{margin-bottom:8px;border-radius:14px;overflow:hidden;border:1px solid var(--border)}
.accordion-header{width:100%;padding:14px 16px;background:rgba(255,255,255,0.05);border:none;cursor:pointer;display:flex;align-items:center;gap:12px;text-align:left;transition:background .2s;font-family:Manrope,sans-serif}
.accordion-header:hover{background:rgba(212,175,55,0.15)}
.accordion-header.open{background:rgba(212,175,55,0.15)}
.accordion-icon{font-size:20px;flex-shrink:0}
.accordion-title{flex:1;font-size:14px;letter-spacing:1px;color:var(--text)}
.accordion-arrow{font-size:12px;color:var(--text-dim);transition:transform .3s;flex-shrink:0}
.accordion-header.open .accordion-arrow{transform:rotate(180deg)}
.accordion-body{display:none;padding:16px;background:rgba(0,0,0,0.2);border-top:1px solid var(--border);text-align:left}
.accordion-body.open{display:block;animation:fadeUp .3s ease}
@keyframes fadeUp{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.accordion-body p{font-size:14px;line-height:1.8;color:#e0e0e0;margin-bottom:14px;text-align:left}
.accordion-body p:last-child{margin-bottom:0}
.accordion-body strong{color:#e8d5ff;font-weight:bold}
.accordion-body em{color:#D4AF37;font-style:italic}
.accordion-body ul{padding-left:18px;margin-bottom:12px}
.accordion-body ul li{font-size:14px;line-height:1.8;color:#e0e0e0;margin-bottom:8px;text-align:left}
.accordion-body ul li::marker{color:#D4AF37}
.accordion-body ol{padding-left:20px;margin-bottom:12px}
.accordion-body ol li{font-size:14px;line-height:1.8;color:#e0e0e0;margin-bottom:10px;text-align:left}
.accordion-body ol li::marker{color:#D4AF37;font-weight:bold}
#tab-profile{padding:40px 24px;text-align:center}
#tab-base{padding:0;max-width:700px;margin:0 auto}
#tab-book{max-width:720px;margin:0 auto}
.book-chapter{overflow-wrap:break-word;word-wrap:break-word}
.book-chapter .book-body p{margin:0 0 14px;text-align:justify;hyphens:auto}
.book-chapter .book-body h1,.book-chapter .book-body h2,.book-chapter .book-body h3{margin:20px 0 10px;line-height:1.3;text-align:center}
.book-chapter .book-body h1{font-size:1.3em;color:#D4AF37}
.book-chapter .book-body h2{font-size:1.2em;color:#D4AF37}
.book-chapter .book-body h3{font-size:1.1em;color:#D4AF37}
.book-chapter.theme-sepia .book-body h1,.book-chapter.theme-sepia .book-body h3{color:#8b6b2c}
.book-chapter.theme-sepia .book-body h2{color:#6b4f9c}
.book-chapter.theme-light .book-body h1,.book-chapter.theme-light .book-body h3{color:#D4AF37}
.book-chapter.theme-light .book-body h2{color:#1a1a1a}
.book-chapter .book-body ul,.book-chapter .book-body ol{padding-left:20px;margin:0 0 14px}
.book-chapter .book-body li{margin-bottom:6px;line-height:inherit}
.book-chapter .book-body img{display:block;max-width:100%;height:auto;margin:16px auto;border-radius:8px;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
/* На тёмной теме картинки книги (тёмные символы даров) перекрашиваем
   в чистый золотой #D4AF37 без подложки. Прозрачный фон остаётся
   прозрачным, тёмные пиксели становятся золотыми со свечением. */
.book-chapter.theme-dark .book-body img{
  filter: brightness(0) saturate(100%) invert(74%) sepia(54%) saturate(2476%) hue-rotate(353deg) brightness(89%) contrast(85%) drop-shadow(0 0 14px rgba(212,175,55,0.55));
}
/* Иллюстрации-схемы (figure) — реальные картинки/фото, а не глифы Даров:
   золотой перекрас к ним не применяем, показываем как есть. */
.book-chapter .book-body figure{margin:18px 0;text-align:center}
.book-chapter.theme-dark .book-body .book-figure img{filter:none;box-shadow:0 4px 16px rgba(0,0,0,0.35)}
.book-chapter .book-body figcaption{margin-top:8px;font-size:0.85em;color:var(--text-dim,#9aa);font-style:italic;text-align:center;line-height:1.4}
.book-chapter.theme-sepia .book-body figcaption{color:#6b5a3a}
.book-chapter.theme-light .book-body figcaption{color:#666}
.book-chapter .book-body strong{font-weight:700}
.book-chapter .book-body em{font-style:italic;opacity:0.95}
.book-chapter .book-body blockquote{margin:14px 0;padding:10px 14px;border-left:3px solid #D4AF37;background:rgba(212,175,55,0.08);border-radius:0 8px 8px 0;font-style:italic}
.book-chapter.theme-sepia .book-body blockquote{border-left-color:#8b6b2c;background:rgba(139,107,44,0.12)}
.book-chapter.theme-light .book-body blockquote{border-left-color:#D4AF37;background:rgba(212,175,55,0.08)}
.base-lock{text-align:center;padding:40px 24px}
.promo-input{width:100%;max-width:320px;padding:14px;background:#111111 !important;border:1px solid var(--border);border-radius:12px;color:var(--text) !important;font-size:18px;letter-spacing:3px;text-align:center;outline:none;font-family:Manrope,sans-serif;text-transform:uppercase;-webkit-appearance:none;appearance:none;color-scheme:dark}
.promo-input:focus{border-color:rgba(212,175,55,0.5)}
.promo-input::placeholder{color:var(--text-muted);letter-spacing:2px;text-transform:none;font-size:14px}
.base-sub-nav{display:flex;gap:10px;padding:10px 16px;position:sticky;top:0;z-index:10;background:rgba(8,8,8,0.95);border-bottom:1px solid var(--border);justify-content:center;max-width:700px;margin:0 auto}
.base-sub-btn{flex:1;padding:12px 20px;border-radius:12px;border:1px solid var(--border);background:rgba(255,255,255,0.04);cursor:pointer;font-family:Manrope,sans-serif;font-size:14px;letter-spacing:1px;color:var(--text-dim);text-align:center;transition:all .2s}
.base-sub-btn.active{background:rgba(212,175,55,0.2);border-color:rgba(212,175,55,0.5);color:var(--text)}
/* Подтабы Сокровищницы (этап 6 слияния, 2026-05-25) */
.treasury-subnav{display:flex;gap:6px;padding:10px 12px 12px;max-width:700px;margin:0 auto;overflow-x:auto;scrollbar-width:none}
.treasury-subnav::-webkit-scrollbar{display:none}
.treasury-subtab{flex:1 1 auto;min-width:80px;padding:9px 8px;border-radius:11px;border:1px solid rgba(255,255,255,0.06);background:rgba(255,255,255,0.03);cursor:pointer;font-family:Manrope,sans-serif;font-size:12px;font-weight:600;letter-spacing:0.3px;color:var(--text-dim);text-align:center;transition:all .2s;white-space:nowrap}
.treasury-subtab:hover{border-color:rgba(212,175,55,0.25);color:var(--text)}
.treasury-subtab.active{background:rgba(212,175,55,0.15);border-color:rgba(212,175,55,0.45);color:#D4AF37;box-shadow:0 0 10px rgba(212,175,55,0.1) inset}
.base-content{padding:16px;max-width:700px;margin:0 auto}
.field-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.field-folder{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px 12px;text-align:center;cursor:pointer;transition:all .2s}
.field-folder:hover{border-color:rgba(212,175,55,0.4);background:rgba(212,175,55,0.1)}
.field-folder-num{font-size:28px;margin-bottom:6px}
.field-folder-name{font-size:14px;color:var(--text);letter-spacing:1px;margin-bottom:4px}
.field-folder-arch{font-size:11px;color:var(--text-dim);font-style:italic;margin-bottom:6px}
.field-folder-count{font-size:11px;color:var(--text-muted)}
.dar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;max-width:700px;margin:0 auto}
.dar-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:14px 10px;text-align:center;cursor:pointer;transition:all .2s}
.dar-card:hover{border-color:rgba(212,175,55,0.4);background:rgba(212,175,55,0.1)}
.dar-card-img{width:60px;height:60px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center}
.dar-card-img img{width:100%;height:100%;object-fit:contain;filter:invert(85%) sepia(25%) saturate(600%) hue-rotate(10deg) brightness(110%) contrast(110%) drop-shadow(0 0 6px #D4AF37)}
.dar-card-placeholder{width:50px;height:50px;border-radius:50%;border:1px solid var(--border);background:rgba(255,255,255,0.05);display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--text-dim)}
.dar-card-name{font-size:15px;color:var(--text);letter-spacing:1px;margin-bottom:2px}
.dar-card-arch{font-size:11px;color:var(--text-dim);font-style:italic}
.dar-detail{text-align:center}
.dar-detail-img{width:100px;height:100px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center}
.dar-detail-img img{width:100%;height:100%;object-fit:contain;filter:invert(85%) sepia(25%) saturate(600%) hue-rotate(10deg) brightness(110%) contrast(110%) drop-shadow(0 0 10px #D4AF37)}
.dar-detail-name{font-size:28px;letter-spacing:3px;color:var(--text);margin-bottom:4px}
.dar-detail-code{font-size:12px;color:var(--text-muted);letter-spacing:2px;margin-bottom:4px}
.dar-detail-arch{font-size:14px;color:#D4AF37;font-style:italic;margin-bottom:16px}
.dar-inner-tabs{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap;justify-content:center}
.dar-inner-tab{padding:8px 14px;border-radius:10px;border:1px solid var(--border);background:rgba(255,255,255,0.04);cursor:pointer;font-family:Manrope,sans-serif;font-size:12px;color:var(--text-dim);transition:all .2s}
.dar-inner-tab.active{background:rgba(212,175,55,0.2);border-color:rgba(212,175,55,0.5);color:var(--text)}
.dar-inner-content{text-align:left;background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:12px}
.dar-meta-row{margin-bottom:12px}
.dar-meta-label{font-size:11px;color:var(--text-muted);letter-spacing:0.5px;text-transform:none;margin-bottom:4px}
.dar-meta-value{font-size:14px;color:#e0e0e0;line-height:1.7}
.field-enc-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:10px;text-align:left}
.field-enc-name{font-size:18px;color:var(--text);letter-spacing:2px;margin-bottom:2px}
.field-enc-arch{font-size:13px;color:#D4AF37;font-style:italic;margin-bottom:10px}
.field-enc-row{margin-bottom:10px}
.field-enc-label{font-size:11px;color:var(--text-muted);letter-spacing:0.5px;text-transform:none;margin-bottom:2px}
.field-enc-val{font-size:13px;color:#e0e0e0;line-height:1.6}
.stub-title{font-size:20px;letter-spacing:2px;color:var(--text);font-weight:normal;margin-bottom:12px}
.stub-text{font-size:14px;color:var(--text-dim);line-height:1.7;max-width:300px;margin:0 auto}
.user-name{font-size:15px;color:var(--text);margin-bottom:14px}
.nav-bar{position:fixed;bottom:0;bottom:env(safe-area-inset-bottom,0);left:50%;transform:translateX(-50%);z-index:200;padding:8px 16px 12px;padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px));background:rgba(8,8,8,0.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-top:1px solid var(--border);display:flex;gap:8px;justify-content:center;width:100%;max-width:700px;will-change:transform}
.nav-btn{flex:1 1 0;min-width:0;padding:10px 4px 8px;border-radius:12px;border:1px solid rgba(255,255,255,0.06);background:rgba(255,255,255,0.03);cursor:pointer;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;transition:all .2s}
.nav-btn.active{background:rgba(212,175,55,0.15);border-color:rgba(212,175,55,0.4)}
.nav-btn .nav-icon{font-size:20px;line-height:1}
.nav-btn .nav-label{font-size:10px;letter-spacing:0.5px;color:var(--text);font-family:Manrope,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.nav-btn .nav-desc{font-size:9px;color:var(--text-dim)}

