.hg-language-switch { position: relative; flex: 0 0 auto; z-index: 50; }
.hg-language-switch__button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 11px; color: #d7dbe3; background: #151a22; border: 1px solid #2b3340; border-radius: 18px; cursor: pointer; font: inherit; white-space: nowrap; }
.hg-language-switch__button:hover, .hg-language-switch.is-open .hg-language-switch__button { color: #ffd31b; border-color: #d8af12; }
.hg-language-switch__button i { font-style: normal; font-size: 13px; transition: transform .18s ease; }
.hg-language-switch.is-open .hg-language-switch__button i { transform: rotate(180deg); }
.hg-language-switch__menu { position: absolute; top: calc(100% + 8px); right: 0; display: none; min-width: 132px; padding: 6px; background: #171c25; border: 1px solid #303947; border-radius: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.hg-language-switch.is-open .hg-language-switch__menu { display: block; }
.hg-language-switch__menu a { display: block; padding: 9px 11px; color: #d7dbe3; border-radius: 7px; text-decoration: none; white-space: nowrap; }
.hg-language-switch__menu a:hover, .hg-language-switch__menu a.is-current { color: #151515; background: #ffd31b; }
.hg-topbar__inner > .hg-language-switch { margin-left: 14px; }
.hg-topbar .hg-nav__primary { font-size: 17px; font-weight: 800; color: #f1f3f7; }
.hg-topbar .hg-nav__primary.is-active { color: #17140b; }
.hg-topbar .hg-nav__secondary { font-size: 14px; font-weight: 600; color: #9ca6b7; }
.hg-topbar .hg-nav__secondary:hover { color: #ffd31b; }
.hg-global-language { display: inline-flex !important; align-items: center; margin-right: 8px; }
.hg-global-language .hg-language-switch__button { min-height: 34px; }
.hg-global-language .hg-language-switch__menu { right: 0; }
.hg-vip-section { margin: 30px 0; padding: 24px; border: 1px solid #3b3421; border-radius: 18px; background: linear-gradient(135deg, rgba(255,204,38,.10), rgba(18,23,32,.95) 38%); }
.hg-library-filters--simple { justify-content: flex-start; }
.hg-library-filters--simple .hg-vip-filter-toggle { margin-left:auto; margin-right:clamp(72px,10vw,220px); }
.hg-vip-filter-toggle { display:inline-flex; align-items:center; gap:12px; min-height:44px; padding:0 15px 0 17px; color:#ffe9a4; background:linear-gradient(135deg,rgba(255,211,27,.18),rgba(91,68,7,.18)); border:1px solid rgba(255,211,27,.48); border-radius:23px; box-shadow:0 8px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.08); font:inherit; font-weight:850; cursor:pointer; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.hg-vip-filter-toggle:hover { transform:translateY(-2px); border-color:#ffe27c; box-shadow:0 13px 30px rgba(0,0,0,.3),0 0 22px rgba(255,211,27,.14); }
.hg-vip-filter-toggle__label { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; font-size:16px; letter-spacing:.3px; }
.hg-vip-filter-toggle .hg-vip-crown { margin:0; font-size:19px; filter:drop-shadow(0 0 7px rgba(255,211,27,.56)); }
.hg-vip-filter-toggle__track { position:relative; width:45px; height:25px; border:1px solid #675b36; border-radius:13px; background:#252822; transition:background .18s ease,border-color .18s ease; }
.hg-vip-filter-toggle__track span { position:absolute; top:3px; left:3px; width:17px; height:17px; border-radius:50%; background:#a69c79; box-shadow:0 1px 4px rgba(0,0,0,.35); transition:transform .18s ease,background .18s ease; }
.hg-vip-filter-toggle[aria-pressed="true"] { color:#fff4bf; background:linear-gradient(135deg,rgba(255,211,27,.34),rgba(139,96,5,.32)); border-color:#ffd31b; }
.hg-vip-filter-toggle[aria-pressed="true"] .hg-vip-filter-toggle__track { border-color:#ffd31b; background:#8d7215; }
.hg-vip-filter-toggle[aria-pressed="true"] .hg-vip-filter-toggle__track span { transform:translateX(20px); background:#fff0a6; }
.hg-library-show-vip-only .hg-collection-row, .hg-library-show-vip-only .hg-all-section { display: none; }
.hg-vip-section__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.hg-vip-section__head h2 { margin: 0 0 6px; color: #ffe07a; font-size: 22px; }
.hg-vip-section__head p, .hg-vip-section__head span { color: #9ca6b7; font-size: 14px; }
.hg-vip-crown { color: #ffd31b; margin-right: 7px; }
.hg-vip-upgrade { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 18px; border-radius: 19px; background: #ffd31b; color: #1b1912; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hg-vip-upgrade[hidden] { display: none !important; }
.hg-vip-grid { min-height: 0; }
.hg-vip-empty { margin: 0; color: #9ca6b7; }
.hg-library-card.is-vip-locked { position: relative; }
.hg-library-card.is-vip-locked::after { content: 'VIP'; position: absolute; top: 11px; right: 11px; z-index: 3; padding: 4px 7px; border-radius: 6px; color: #201806; background: #ffd31b; font-size: 12px; font-weight: 800; }
.hg-library-card__vip-lock { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; color: #fff0a8; background: rgba(5,7,10,.56); font-size: 14px; font-weight: 700; pointer-events: none; }
.hg-library-card__vip-lock span { padding: 8px 11px; border: 1px solid rgba(255,211,27,.64); border-radius: 16px; background: rgba(9,12,17,.82); }
@media (max-width: 760px) { .hg-topbar .hg-nav__primary { font-size: 15px; } .hg-topbar .hg-nav__secondary { display: none; } .hg-topbar__inner > .hg-language-switch { margin-left: auto; } .hg-language-switch__button { padding: 0 8px; } .hg-vip-section { margin: 20px 0; padding: 17px; } .hg-vip-section__head { align-items: flex-start; flex-direction: column; gap: 12px; } }
@media (max-width: 760px) { .hg-library-filters--simple .hg-vip-filter-toggle { margin-right:0; min-height:39px; padding:0 11px; gap:8px; } .hg-vip-filter-toggle__label { font-size:13px; } .hg-vip-filter-toggle__track { width:39px; height:22px; } .hg-vip-filter-toggle__track span { width:14px; height:14px; } .hg-vip-filter-toggle[aria-pressed="true"] .hg-vip-filter-toggle__track span { transform:translateX(16px); } }
