/*!
 * HGfast sidebar.css v1 (claude-sidebar-rewrite 2026-04-20)
 * 抽自 public/index.html 原 inline <style>（保持选择器 !important 等价）
 * 新增 .hg-ic-* / .hg-brand-* / .hg-group-title-gold / .hg-mobile-* 替代原 inline style 属性
 * 不覆盖 global.css 里 .hg-sidebar / .hg-nav-item 等基础 class（由 global-r73 继续供样式）
 */

/* ---- 品牌区图标 + 文字（原 inline style 抽出）---- */
.hg-sidebar-brand .hg-brand-icon { font-size: 22px; color: #0A84FF; }
.hg-sidebar-brand .hg-brand-title { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.hg-sidebar-brand .hg-brand-sub { font-size: 10px; color: rgba(255,255,255,0.3); font-family: monospace; letter-spacing: 1px; }

/* ---- 折叠组组头 (原本是 <div onclick>，改 <button data-action>) ---- */
.hg-sidebar .hg-nav-group-header { display: flex; align-items: center; width: 100%; background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer; color: inherit; font: inherit; text-align: left; }
.hg-sidebar .hg-nav-group-header:focus-visible { outline: 2px solid rgba(109,74,255,0.55); outline-offset: 2px; }
.hg-sidebar .hg-group-title { flex: 1; }
.hg-sidebar .hg-group-title-gold { color: #F3D27E; }

/* ---- 侧栏图标的各平台强调色（原 inline style color 抽出）---- */
.hg-nav-item .hg-ic-dashboard { color: #0A84FF; }
.hg-nav-item .hg-ic-store     { color: #FF9F0A; }
.hg-nav-item .hg-ic-node      { color: #30D158; }
.hg-nav-item .hg-ic-emby      { color: #FF453A; }
.hg-nav-item .hg-ic-apps      { color: #0A84FF; }
.hg-nav-item .hg-ic-appleid   { color: #8E8E93; }
.hg-nav-item .hg-ic-ai        { color: #30D158; }
.hg-nav-item .hg-ic-tasks     { color: #FFD60A; }
.hg-nav-item .hg-ic-broadband { color: #BF5AF2; }
.hg-nav-item .hg-ic-isp       { color: #BF5AF2; }
.hg-nav-item .hg-ic-tiktok    { color: #FE0979; }
.hg-nav-item .hg-ic-game      { color: #30D158; }
.hg-nav-item .hg-ic-enterprise{ color: #5AC8FA; }
.hg-nav-item .hg-ic-relay     { color: #FF9F0A; }
.hg-nav-item .hg-ic-sub       { color: #0A84FF; }
.hg-nav-item .hg-ic-rule      { color: #64D2FF; }
.hg-nav-item .hg-ic-speedtest { color: #30D158; }
.hg-nav-item .hg-ic-topup     { color: #FFD60A; }
.hg-nav-item .hg-ic-carpool   { color: #5AC8FA; }
.hg-nav-item .hg-ic-radar     { color: #FF453A; }
.hg-nav-item .hg-ic-order     { color: #FF9F0A; }
.hg-nav-item .hg-ic-traffic   { color: #5AC8FA; }
.hg-nav-item .hg-ic-coupon    { color: #FF6482; }
.hg-nav-item .hg-ic-invite    { color: #30D158; }
.hg-nav-item .hg-ic-reseller  { color: #FFD60A; }
.hg-nav-item .hg-ic-check     { color: #00CFA1; }
.hg-nav-item .hg-ic-devices   { color: #8E8E93; }
.hg-nav-item .hg-ic-knowledge { color: #5AC8FA; }
.hg-nav-item .hg-ic-ticket    { color: #BF5AF2; }
.hg-nav-item .hg-ic-ticket-list{ color: #5AC8FA; }
.hg-nav-item .hg-ic-profile   { color: #8E8E93; font-size: 18px; }
.hg-nav-item .hg-ic-vip       { color: #D4AF37; }
.hg-nav-item .hg-ic-settings  { color: #5AC8FA; }
.hg-nav-item .hg-ic-planet    { color: #BF5AF2; }
.hg-nav-item .hg-ic-logout    { color: #FF453A; }

/* ---- 账户设置 footer 链接（替代原 inline style）---- */
.hg-sidebar-footer .hg-footer-profile { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 8px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; text-decoration: none; transition: 0.18s; }
.hg-sidebar-footer .hg-footer-profile:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); color: #fff; }

/* ---- mobile header 文字/占位 ---- */
.hg-mobile-header .hg-mobile-title { font-size: 16px; font-weight: 700; color: #fff; }
.hg-mobile-header .hg-mobile-spacer { width: 36px; }

/* ---- logout 按钮（原为 <a href="javascript:void(0)">，现为 <button>）---- */
.hg-sidebar-footer .hg-logout-btn { background: transparent; border: 0; cursor: pointer; width: 100%; text-align: left; font: inherit; color: inherit; display: flex; align-items: center; gap: 12px; }
.hg-sidebar-footer .hg-logout-btn:focus-visible { outline: 2px solid rgba(255,69,58,0.55); outline-offset: 2px; border-radius: 10px; }
.hg-sidebar-footer .hg-logout-btn .hg-logout-label { display: inline-block; color: rgba(255,69,58,0.85); font-size: 14px; font-weight: 500; }

/* ---- footer actions 双按钮（原 L129-140 抽出，保持 !important 等价）---- */
/* flex-shrink:0 必须加，否则 .hg-sidebar flex column 里 footer 会被 scroll 挤到高度 0 */
.hg-sidebar-footer { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 10px 10px 14px !important; flex-shrink: 0 !important; }
.hg-sf-actions { display: flex !important; flex-direction: column !important; gap: 6px !important; padding: 0 !important; margin: 0 !important; }
.hg-sf-btn { display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important; height: 42px !important; width: 100% !important; padding: 0 14px !important; border-radius: 11px !important; background: rgba(255,255,255,0.04) !important; border: 1px solid rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.85) !important; font-size: 13px !important; font-weight: 500 !important; text-decoration: none !important; transition: all 0.18s ease !important; box-sizing: border-box !important; cursor: pointer !important; font-family: inherit !important; }
.hg-sf-btn > i { font-size: 18px !important; color: inherit !important; width: auto !important; height: auto !important; background: none !important; border: none !important; box-shadow: none !important; flex-shrink: 0 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
.hg-sf-btn > span { flex: 1 !important; min-width: 0 !important; font-size: 13px !important; font-weight: 500 !important; color: inherit !important; line-height: 1.2 !important; text-align: left !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; display: block !important; }
.hg-sf-btn:hover { background: rgba(109,74,255,0.14) !important; border-color: rgba(109,74,255,0.42) !important; color: #fff !important; transform: translateY(-1px) !important; }
.hg-sf-btn.hg-sf-accent { background: linear-gradient(135deg, rgba(109,74,255,0.22), rgba(138,109,255,0.1)) !important; border-color: rgba(109,74,255,0.4) !important; color: #fff !important; }
.hg-sf-btn.hg-sf-accent:hover { background: linear-gradient(135deg, rgba(109,74,255,0.34), rgba(138,109,255,0.18)) !important; box-shadow: 0 6px 18px rgba(109,74,255,0.3) !important; }
.hg-sf-btn:focus-visible { outline: 2px solid rgba(109,74,255,0.55) !important; outline-offset: 2px !important; }

.hg-sidebar-footer .hg-logout-btn { margin-top: 4px !important; }
.hg-sidebar-footer .hg-logout-btn > span { display: inline-block !important; color: rgba(255,69,58,0.85) !important; font-size: 14px !important; font-weight: 500 !important; }

/* ---- chevron 旋转（组折叠）: 原来写在 inline onclick 里，依赖 .open toggle ---- */
.hg-nav-group .hg-chevron { transition: transform 0.18s ease; }
.hg-nav-group.open .hg-chevron { transform: rotate(180deg); }

/* ---- v3 压紧：scroll 不撑满，剩余空间落到 footer 下方（而不是 scroll/footer 中间）---- */
/* 原 global.css: .hg-sidebar-scroll { flex:1; overflow-y:auto; } */
/* 改为 flex 自然高度 + 可 shrink；min-height:0 保证长内容时 overflow-y:auto 能工作 */
.hg-sidebar .hg-sidebar-scroll { flex: 0 1 auto !important; min-height: 0 !important; }

/* ==================================================================== */
/* v4 升级：图标 tinted-bg 圆角 + 阴影层次 + active/hover 强化（iOS Settings 风格）*/
/* ==================================================================== */

/* 主导航 & 折叠组下菜单项的图标：统一 rounded-square + 色彩派生 bg + subtle shadow */
.hg-sidebar .hg-nav-item > i:first-child {
  flex-shrink: 0 !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  background: color-mix(in srgb, currentColor 14%, rgba(255,255,255,0.02)) !important;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent) !important;
  box-shadow: 0 2px 8px color-mix(in srgb, currentColor 18%, transparent), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  transition: transform 0.18s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s ease, background 0.2s ease !important;
}
.hg-sidebar .hg-nav-group-body .hg-nav-item > i:first-child {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}
.hg-sidebar .hg-nav-item:hover > i:first-child {
  background: color-mix(in srgb, currentColor 26%, rgba(255,255,255,0.04)) !important;
  box-shadow: 0 6px 18px color-mix(in srgb, currentColor 32%, transparent), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  transform: scale(1.08) !important;
}
/* 整条 item 的阴影/hover/active 提升 */
.hg-sidebar .hg-nav-item { box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset !important; }
.hg-sidebar .hg-nav-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.22), 0 1px 0 rgba(255,255,255,0.04) inset !important; }
.hg-sidebar .hg-nav-item.active { box-shadow: 0 10px 26px rgba(109,74,255,0.28), 0 0 0 1px rgba(109,74,255,0.32) inset, 0 1px 0 rgba(255,255,255,0.08) inset !important; }
.hg-sidebar .hg-nav-item.active > i:first-child {
  background: linear-gradient(135deg, rgba(109,74,255,0.34), rgba(138,109,255,0.2)) !important;
  border-color: rgba(109,74,255,0.55) !important;
  box-shadow: 0 4px 18px rgba(109,74,255,0.48), inset 0 1px 0 rgba(255,255,255,0.12) !important;
  color: #C6B7FF !important;
}

/* 折叠组组头的图标 */
.hg-sidebar .hg-nav-group-header > i:first-child {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  background: color-mix(in srgb, currentColor 12%, rgba(255,255,255,0.02));
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  box-shadow: 0 1px 4px color-mix(in srgb, currentColor 12%, transparent), inset 0 1px 0 rgba(255,255,255,0.04);
}
.hg-sidebar .hg-nav-group-header:hover > i:first-child {
  background: color-mix(in srgb, currentColor 22%, rgba(255,255,255,0.04));
}

/* ==================================================================== */
/* v6 组头升级：边框 + 字体 + 分组配色                                     */
/* 用 #hg-sidebar ID selector + [data-grp] attr 或 .hg-group-title-* class  */
/* 避免 :has() 兼容性风险；specificity 101+ 压过任何 class-based global rule */
/* ==================================================================== */
/* 组容器边框加强（原 global.css .hg-nav-group 权重 10，这里 110 必胜）*/
#hg-sidebar .hg-nav-group {
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
#hg-sidebar .hg-nav-group:hover { border-color: rgba(255,255,255,0.14) !important; }
#hg-sidebar .hg-nav-group.open {
  border-color: rgba(109,74,255,0.24) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22), 0 0 0 1px rgba(109,74,255,0.12) inset, 0 1px 0 rgba(255,255,255,0.05) inset !important;
}

/* 组头 padding / 字体 / 字号 */
#hg-sidebar .hg-nav-group-header {
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  gap: 10px !important;
}
#hg-sidebar .hg-nav-group-header .hg-group-title {
  color: rgba(255,255,255,0.92) !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  letter-spacing: 0.4px;
}
#hg-sidebar .hg-nav-group-header:hover .hg-group-title { color: #fff !important; }

/* 每组专属色 —— 通过 span 额外 class（sidebar.js runtime 打）*/
#hg-sidebar .hg-group-title.hg-group-title-gold   { color: #F3D27E !important; text-shadow: 0 1px 3px rgba(212,175,55,0.3); }
#hg-sidebar .hg-group-title.hg-group-title-purple { color: #C4B5FD !important; text-shadow: 0 1px 3px rgba(139,92,246,0.32); }
#hg-sidebar .hg-group-title.hg-group-title-blue   { color: #93C5FD !important; text-shadow: 0 1px 3px rgba(59,130,246,0.32); }

/* 每组专属 border/阴影色（用 data-grp 属性，sidebar.js 打）*/
#hg-sidebar .hg-nav-group[data-grp="vip"].open { border-color: rgba(212,175,55,0.38) !important; box-shadow: 0 6px 22px rgba(0,0,0,0.24), 0 0 0 1px rgba(212,175,55,0.2) inset, 0 1px 0 rgba(255,255,255,0.06) inset !important; }
#hg-sidebar .hg-nav-group[data-grp="services"].open { border-color: rgba(139,92,246,0.38) !important; box-shadow: 0 6px 22px rgba(0,0,0,0.24), 0 0 0 1px rgba(139,92,246,0.2) inset, 0 1px 0 rgba(255,255,255,0.06) inset !important; }
#hg-sidebar .hg-nav-group[data-grp="account"].open { border-color: rgba(59,130,246,0.38) !important; box-shadow: 0 6px 22px rgba(0,0,0,0.24), 0 0 0 1px rgba(59,130,246,0.2) inset, 0 1px 0 rgba(255,255,255,0.06) inset !important; }
#hg-sidebar .hg-nav-group[data-grp="vip"]:hover { border-color: rgba(212,175,55,0.26) !important; }
#hg-sidebar .hg-nav-group[data-grp="services"]:hover { border-color: rgba(139,92,246,0.26) !important; }
#hg-sidebar .hg-nav-group[data-grp="account"]:hover { border-color: rgba(59,130,246,0.26) !important; }

/* chevron 色（无 :has，用 data-grp）*/
#hg-sidebar .hg-nav-group[data-grp="vip"] .hg-chevron { color: #D4AF37 !important; }
#hg-sidebar .hg-nav-group[data-grp="services"] .hg-chevron { color: #BF5AF2 !important; }
#hg-sidebar .hg-nav-group[data-grp="account"] .hg-chevron { color: #5AC8FA !important; }

/* 徽章：subtle glow */
.hg-sidebar .hg-badge {
  box-shadow: 0 2px 6px color-mix(in srgb, currentColor 26%, transparent), inset 0 1px 0 rgba(255,255,255,0.14) !important;
  letter-spacing: 0.4px;
}

/* 品牌区火箭图标 glow */
.hg-sidebar-brand .hg-brand-icon { filter: drop-shadow(0 2px 6px rgba(10,132,255,0.5)); }

/* 整个 sidebar 阴影 —— desktop 右边沿 + mobile open 全阴影 */
@media (min-width: 851px) {
  .hg-sidebar { box-shadow: 6px 0 40px rgba(0,0,0,0.55), inset -1px 0 0 rgba(109,74,255,0.14) !important; }
}
.hg-sidebar.open { box-shadow: 10px 0 50px rgba(0,0,0,0.75), 0 0 0 1px rgba(109,74,255,0.18) !important; }

/* footer 按钮：层次性 shadow */
.hg-sidebar-footer .hg-sf-btn { box-shadow: 0 2px 6px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.04) !important; }
.hg-sidebar-footer .hg-sf-btn:hover { box-shadow: 0 8px 22px rgba(109,74,255,0.38), 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08) !important; transform: translateY(-1px) !important; }
.hg-sidebar-footer .hg-sf-btn.hg-sf-accent { box-shadow: 0 6px 18px rgba(109,74,255,0.36), inset 0 1px 0 rgba(255,255,255,0.14) !important; }
.hg-sidebar-footer .hg-sf-btn.hg-sf-accent:hover { box-shadow: 0 12px 28px rgba(109,74,255,0.52), inset 0 1px 0 rgba(255,255,255,0.18) !important; }
.hg-sidebar-footer .hg-footer-profile { box-shadow: 0 1px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04) !important; }
.hg-sidebar-footer .hg-footer-profile:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08) !important; transform: translateY(-1px); }
.hg-sidebar-footer .hg-logout-btn:hover { background: rgba(255,69,58,0.06) !important; border-radius: 10px !important; }

/* mobile header 汉堡按钮阴影 */
.hg-mobile-header .hg-hamburger:hover { box-shadow: 0 4px 14px rgba(109,74,255,0.32) !important; }

/* overlay backdrop 加强（原 global backdrop-filter:blur(4px) → blur(8px) + saturate）*/
.hg-sidebar-overlay.active { backdrop-filter: blur(8px) saturate(130%); -webkit-backdrop-filter: blur(8px) saturate(130%); }

/* ---- iOS tutorial modal (sidebar App 下载 · iOS 专属)  ---- */
/* 参考 views/home/modals.js (#modal-ios-tutorial) 的视觉 + 结构，sidebar 版完全 DOM API 生成 */
.hg-ios-modal-bd { position: fixed; inset: 0; z-index: 99998; background: rgba(8,6,20,0.68); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); opacity: 0; transition: opacity 0.22s ease; }
.hg-ios-modal-bd.show { opacity: 1; }
.hg-ios-modal-wrap { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; pointer-events: none; }
.hg-ios-modal-wrap.show { pointer-events: auto; }
.hg-ios-modal-card { width: 100%; max-width: 480px; background: linear-gradient(180deg, rgba(26,22,48,0.97), rgba(18,15,36,0.97)); border: 1px solid rgba(109,74,255,0.22); border-radius: 20px; color: #fff; transform: translateY(16px) scale(0.96); opacity: 0; transition: all 0.26s cubic-bezier(0.2,0.8,0.2,1); box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset; overflow: hidden; max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.hg-ios-modal-wrap.show .hg-ios-modal-card { transform: translateY(0) scale(1); opacity: 1; }
.hg-ios-modal-h { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hg-ios-modal-h .hg-ios-modal-t { flex: 1; font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.hg-ios-modal-h .hg-ios-modal-t i { color: #fff; margin-right: 6px; font-size: 18px; vertical-align: -2px; }
.hg-ios-modal-x { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); border: 0; font-size: 16px; transition: all 0.18s; }
.hg-ios-modal-x:hover { background: rgba(255,255,255,0.1); color: #fff; }
.hg-ios-modal-body { padding: 16px 18px; overflow-y: auto; flex: 1; }
.hg-ios-warn { background: rgba(255,159,10,0.1); border: 1px solid rgba(255,159,10,0.3); color: #FF9F0A; padding: 12px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.6; margin-bottom: 18px; }
.hg-ios-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none; transition: all 0.2s ease; margin-bottom: 12px; color: #fff; }
.hg-ios-opt:last-child { margin-bottom: 0; }
.hg-ios-opt-primary { background: linear-gradient(145deg, rgba(212,175,55,0.14), rgba(255,69,58,0.08)); border: 1px solid rgba(212,175,55,0.5); }
.hg-ios-opt-primary:hover { background: linear-gradient(145deg, rgba(212,175,55,0.22), rgba(255,69,58,0.12)); border-color: rgba(212,175,55,0.7); transform: translateY(-1px); }
.hg-ios-opt-primary i:first-child { color: #D4AF37; font-size: 28px; filter: drop-shadow(0 0 10px rgba(212,175,55,0.5)); flex-shrink: 0; }
.hg-ios-opt-primary .hg-ios-opt-title { color: #F3D27E; font-weight: 800; font-size: 14px; }
.hg-ios-opt-primary i:last-child { color: #D4AF37; font-size: 18px; flex-shrink: 0; }
.hg-ios-opt-sec { background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.2); }
.hg-ios-opt-sec:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }
.hg-ios-opt-sec i:first-child { color: #8e8e93; font-size: 24px; flex-shrink: 0; }
.hg-ios-opt-sec .hg-ios-opt-title { color: #fff; font-weight: 700; font-size: 13px; }
.hg-ios-opt-sec i:last-child { color: #8e8e93; font-size: 16px; flex-shrink: 0; }
.hg-ios-opt-body { flex: 1; min-width: 0; }
.hg-ios-opt-desc { font-size: 12px; color: rgba(255,255,255,0.62); font-weight: 500; margin-top: 3px; line-height: 1.45; }
.hg-ios-modal-f { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.18); }
.hg-ios-go-btn { width: 100%; height: 44px; background: #fff; color: #000; border: 0; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform 0.15s; font-family: inherit; }
.hg-ios-go-btn:hover { transform: translateY(-1px); filter: brightness(0.94); }
.hg-ios-go-btn i { font-size: 18px; }
.hg-ios-modal-x:focus-visible, .hg-ios-opt:focus-visible, .hg-ios-go-btn:focus-visible { outline: 2px solid rgba(109,74,255,0.55); outline-offset: 2px; }
@media (max-width: 500px) { .hg-ios-modal-card { max-width: 95vw; } .hg-ios-warn { font-size: 12px; } }
