:root{
  --gh-bg:#f8fafc;
  --gh-bg-2:#eef2ff;
  --gh-surface:rgba(255,255,255,.86);
  --gh-surface-strong:#ffffff;
  --gh-card:#ffffff;
  --gh-card-2:#f8fafc;
  --gh-border:#e2e8f0;
  --gh-border-strong:#cbd5e1;
  --gh-text:#0f172a;
  --gh-muted:#64748b;
  --gh-faint:#94a3b8;
  --gh-accent:#4f46e5;
  --gh-accent-2:#06b6d4;
  --gh-accent-3:#22c55e;
  --gh-warn:#f59e0b;
  --gh-danger:#e11d48;
  --gh-radius:24px;
  --gh-radius-sm:16px;
  --gh-shadow:0 22px 70px rgba(15,23,42,.10);
  --gh-shadow-soft:0 14px 34px rgba(15,23,42,.07);
  --gh-glow:0 18px 60px rgba(79,70,229,.16);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;font-family:"Manrope","Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--gh-bg);color:var(--gh-text);overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 8% 6%,rgba(79,70,229,.14),transparent 32%),radial-gradient(circle at 88% 12%,rgba(6,182,212,.14),transparent 30%),radial-gradient(circle at 50% 100%,rgba(34,197,94,.08),transparent 36%),linear-gradient(180deg,#ffffff 0%,#f8fafc 42%,#eef2ff 100%);z-index:-3}
body:after{content:"";position:fixed;inset:0;background-image:linear-gradient(rgba(15,23,42,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(15,23,42,.035) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.16),transparent 72%);pointer-events:none;z-index:-2}.gh-noise{position:fixed;inset:0;pointer-events:none;z-index:-1;background:repeating-radial-gradient(circle at 20% 10%,rgba(15,23,42,.035) 0 1px,transparent 1px 6px);opacity:.12;mix-blend-mode:multiply}.gh-container{width:min(1220px,calc(100% - 32px));margin:0 auto}
a{color:inherit}.gh-public-nav{position:sticky;top:16px;z-index:30;margin:16px auto 0;width:min(1220px,calc(100% - 32px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;border:1px solid var(--gh-border);border-radius:999px;background:rgba(255,255,255,.82);backdrop-filter:blur(22px);box-shadow:var(--gh-shadow-soft)}.gh-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--gh-text);min-width:0}.gh-logo{width:42px;height:42px;border-radius:16px;background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));display:grid;place-items:center;color:#fff;box-shadow:var(--gh-glow);flex:0 0 auto}.gh-logo i{font-size:1.35rem}.gh-brand-title{font-weight:950;letter-spacing:.05em;line-height:1}.gh-brand-sub{display:block;font-size:.76rem;color:var(--gh-muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gh-public-links{display:flex;align-items:center;gap:6px}.gh-public-links a,.gh-nav-link{color:var(--gh-muted);text-decoration:none;padding:10px 13px;border-radius:999px;font-size:.92rem;font-weight:800;transition:.18s}.gh-public-links a:hover,.gh-nav-link:hover{color:var(--gh-text);background:#f1f5f9}.gh-btn{border:1px solid transparent;border-radius:999px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:850 .92rem/1 "Manrope",sans-serif;text-decoration:none;cursor:pointer;transition:.18s;white-space:nowrap}.gh-btn-primary{background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));color:#fff;box-shadow:0 14px 38px rgba(79,70,229,.24)}.gh-btn-primary:hover{transform:translateY(-2px);box-shadow:0 20px 50px rgba(79,70,229,.3)}.gh-btn-ghost{background:#fff;border-color:var(--gh-border);color:var(--gh-text);box-shadow:0 8px 22px rgba(15,23,42,.045)}.gh-btn-ghost:hover{background:#f8fafc;border-color:var(--gh-border-strong);transform:translateY(-1px)}.gh-btn-danger{background:#fff1f2;border-color:#fecdd3;color:#be123c}.gh-btn-small{padding:9px 12px;font-size:.82rem}.gh-hero{padding:86px 0 46px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:34px;align-items:center}.gh-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#eef2ff;border:1px solid #ddd6fe;color:#4338ca;font-weight:900;font-size:.82rem}.gh-hero h1{font-size:clamp(2.35rem,6vw,5.2rem);line-height:.95;margin:20px 0 18px;letter-spacing:-.07em}.gh-gradient-text{background:linear-gradient(135deg,#111827 0%,#4f46e5 48%,#0891b2 100%);-webkit-background-clip:text;background-clip:text;color:transparent}.gh-lead{color:var(--gh-muted);font-size:clamp(1rem,2vw,1.18rem);line-height:1.75;max-width:680px}.gh-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.gh-hero-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.gh-pill{display:inline-flex;align-items:center;gap:7px;border-radius:999px;border:1px solid var(--gh-border);background:#fff;padding:9px 12px;color:#334155;font-size:.85rem;font-weight:800;box-shadow:0 10px 24px rgba(15,23,42,.04)}.gh-preview{border:1px solid var(--gh-border);border-radius:32px;padding:18px;background:linear-gradient(180deg,#fff,rgba(255,255,255,.76));box-shadow:var(--gh-shadow);position:relative;overflow:hidden}.gh-preview:before{content:"";position:absolute;inset:-120px -90px auto auto;width:240px;height:240px;background:radial-gradient(circle,rgba(6,182,212,.18),transparent 66%)}.gh-window-bar{display:flex;gap:7px;margin-bottom:14px}.gh-dot{width:10px;height:10px;border-radius:50%;background:#ef4444}.gh-dot:nth-child(2){background:#f59e0b}.gh-dot:nth-child(3){background:#22c55e}.gh-preview-grid{display:grid;gap:12px}.gh-preview-card{position:relative;border:1px solid var(--gh-border);border-radius:22px;background:#fff;padding:16px;box-shadow:0 12px 28px rgba(15,23,42,.06)}.gh-preview-title{font-weight:950}.gh-preview-muted{color:var(--gh-muted);font-size:.9rem;margin-top:4px}.gh-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.gh-mini-stat{border:1px solid var(--gh-border);border-radius:18px;background:#f8fafc;padding:12px}.gh-mini-stat b{display:block;font-size:1.35rem}.gh-mini-stat span{color:var(--gh-muted);font-size:.78rem}.gh-section{padding:48px 0}.gh-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:20px}.gh-section-title{font-size:clamp(1.7rem,3vw,2.75rem);line-height:1.04;margin:10px 0 0;letter-spacing:-.045em}.gh-section-sub{color:var(--gh-muted);max-width:620px;line-height:1.7}.gh-grid{display:grid;gap:16px}.gh-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gh-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-card{border:1px solid var(--gh-border);border-radius:var(--gh-radius);background:#fff;box-shadow:var(--gh-shadow-soft);padding:20px;position:relative;overflow:hidden}.gh-card:hover{border-color:var(--gh-border-strong)}.gh-card-icon{width:44px;height:44px;border-radius:17px;background:#eef2ff;border:1px solid #ddd6fe;display:grid;place-items:center;color:#4f46e5;font-size:1.35rem;margin-bottom:14px}.gh-card h3{margin:0 0 8px;font-size:1.05rem}.gh-card p{margin:0;color:var(--gh-muted);line-height:1.65;font-size:.92rem}.gh-plan{padding:22px}.gh-plan.featured{background:linear-gradient(180deg,#ffffff,#f5f3ff);border-color:#c4b5fd;box-shadow:var(--gh-glow)}.gh-plan-label{color:#4f46e5;font-weight:950;font-size:.78rem;text-transform:uppercase;letter-spacing:.14em}.gh-plan-name{font-size:1.6rem;font-weight:950;margin:9px 0}.gh-plan-price{font-size:2rem;font-weight:950;margin-bottom:12px}.gh-plan-price small{font-size:.88rem;color:var(--gh-muted);font-weight:700}.gh-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px;color:#334155}.gh-list li{display:flex;gap:9px;align-items:flex-start}.gh-list i{color:#0891b2;margin-top:2px}.gh-footer{width:min(1220px,calc(100% - 32px));margin:42px auto 26px;border:1px solid var(--gh-border);border-radius:28px;background:#fff;padding:20px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:var(--gh-muted);box-shadow:var(--gh-shadow-soft)}.gh-footer b{color:var(--gh-text)!important}.gh-footer a{color:#334155;text-decoration:none;margin-right:14px;font-weight:850}.gh-footer a:hover{color:var(--gh-accent)}
.gh-app{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;width:min(1460px,calc(100% - 28px));margin:18px auto;align-items:start}.gh-sidebar{position:sticky;top:18px;min-height:calc(100vh - 36px);border:1px solid var(--gh-border);border-radius:30px;background:rgba(255,255,255,.88);backdrop-filter:blur(22px);box-shadow:var(--gh-shadow);padding:16px;display:flex;flex-direction:column;gap:16px}.gh-sidebar-user{border:1px solid #ddd6fe;border-radius:22px;background:linear-gradient(135deg,#eef2ff,#ecfeff);padding:15px}.gh-user-row{display:flex;justify-content:space-between;gap:8px;align-items:center}.gh-user-name{font-weight:950}.gh-user-tag{font-size:.72rem;color:#0369a1;background:#e0f2fe;border:1px solid #bae6fd;padding:4px 8px;border-radius:999px;font-weight:900}.gh-balance{margin-top:12px;color:var(--gh-muted);font-size:.82rem}.gh-balance b{display:block;color:var(--gh-text);font-size:1.35rem;margin-top:3px}.gh-nav-section{display:grid;gap:6px}.gh-nav-title{font-size:.72rem;color:var(--gh-faint);text-transform:uppercase;letter-spacing:.16em;font-weight:950;margin:6px 8px}.gh-side-link{display:flex;align-items:center;gap:10px;color:var(--gh-muted);text-decoration:none;border-radius:16px;padding:11px 12px;border:1px solid transparent;transition:.16s;font-weight:850}.gh-side-link:hover{color:var(--gh-text);background:#f8fafc}.gh-side-link.active{color:#3730a3;background:linear-gradient(135deg,#eef2ff,#ecfeff);border-color:#c7d2fe}.gh-side-link i{font-size:1.12rem}.gh-main{min-width:0}.gh-topbar{border:1px solid var(--gh-border);border-radius:30px;background:rgba(255,255,255,.86);backdrop-filter:blur(22px);padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;box-shadow:var(--gh-shadow-soft)}.gh-page-title{font-size:clamp(1.55rem,3vw,2.55rem);line-height:1.05;margin:0;letter-spacing:-.05em}.gh-page-sub{margin:7px 0 0;color:var(--gh-muted);line-height:1.55}.gh-top-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.gh-panel-grid{display:grid;gap:16px}.gh-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.gh-stat{border:1px solid var(--gh-border);border-radius:24px;background:#fff;padding:18px;box-shadow:var(--gh-shadow-soft)}.gh-stat .k{font-size:.8rem;color:var(--gh-muted);font-weight:900;text-transform:uppercase;letter-spacing:.08em}.gh-stat .v{font-size:1.85rem;font-weight:950;margin-top:8px;letter-spacing:-.04em}.gh-stat .m{font-size:.82rem;color:var(--gh-faint);margin-top:4px}.gh-dashboard-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:16px}.gh-hero-card{padding:24px;border:1px solid #c7d2fe;border-radius:30px;background:linear-gradient(135deg,#eef2ff,#ecfeff);box-shadow:var(--gh-glow);overflow:hidden;position:relative}.gh-hero-card:after{content:"";position:absolute;right:-80px;top:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.75),transparent 66%)}.gh-hero-card>*{position:relative}.gh-hero-card h2{margin:0;font-size:2rem;letter-spacing:-.055em}.gh-hero-card p{color:#475569;line-height:1.7;max-width:650px}.gh-server-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gh-server-card{border:1px solid var(--gh-border);border-radius:28px;background:#fff;padding:18px;display:grid;gap:14px;box-shadow:var(--gh-shadow-soft)}.gh-server-top{display:flex;gap:13px;align-items:center}.gh-server-icon{width:56px;height:56px;border-radius:20px;object-fit:cover;background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));border:1px solid #e2e8f0}.gh-server-fallback{width:56px;height:56px;border-radius:20px;background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));color:#fff;display:grid;place-items:center;font-weight:950}.gh-server-name{font-size:1.08rem;font-weight:950}.gh-server-code{color:var(--gh-muted);font-size:.8rem;margin-top:3px}.gh-server-desc{color:var(--gh-muted);line-height:1.6;font-size:.92rem;min-height:44px}.gh-meta-row{display:flex;gap:8px;flex-wrap:wrap}.gh-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#f8fafc;border:1px solid var(--gh-border);font-size:.78rem;color:#334155;font-weight:850}.gh-server-actions{display:flex;gap:8px;flex-wrap:wrap}.gh-alert{border-radius:20px;padding:14px 16px;display:flex;gap:10px;align-items:flex-start;margin-bottom:16px;border:1px solid var(--gh-border);background:#fff;color:#334155;box-shadow:var(--gh-shadow-soft)}.gh-alert.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.gh-alert.error{border-color:#fecdd3;background:#fff1f2;color:#be123c}.gh-form-card{border:1px solid var(--gh-border);border-radius:30px;background:#fff;padding:22px;box-shadow:var(--gh-shadow-soft)}.gh-form{display:grid;gap:14px}.gh-field{display:grid;gap:7px}.gh-field label{font-weight:900;font-size:.9rem}.gh-field span{color:var(--gh-muted);font-size:.82rem}.gh-input,.gh-textarea,.gh-select{width:100%;border:1px solid var(--gh-border);border-radius:17px;background:#fff;color:var(--gh-text);padding:13px 14px;font:750 .94rem/1.4 "Manrope",sans-serif;outline:none;transition:.18s;box-shadow:0 8px 20px rgba(15,23,42,.035)}.gh-input:focus,.gh-textarea:focus,.gh-select:focus{border-color:#38bdf8;box-shadow:0 0 0 4px rgba(6,182,212,.13);background:#fff}.gh-textarea{min-height:118px;resize:vertical}.gh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gh-plan-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gh-plan-radio{position:relative;border:1px solid var(--gh-border);border-radius:25px;background:#fff;padding:18px;cursor:pointer;transition:.18s;box-shadow:var(--gh-shadow-soft)}.gh-plan-radio input{position:absolute;opacity:0}.gh-plan-radio:hover{transform:translateY(-2px);border-color:#c7d2fe}.gh-plan-radio:has(input:checked){border-color:#38bdf8;background:linear-gradient(135deg,#eef2ff,#ecfeff);box-shadow:0 0 0 4px rgba(6,182,212,.08),var(--gh-shadow-soft)}.gh-billing{display:flex;gap:10px;flex-wrap:wrap}.gh-billing label{cursor:pointer}.gh-table-wrap{overflow:auto;border:1px solid var(--gh-border);border-radius:22px;background:#fff;box-shadow:var(--gh-shadow-soft)}.gh-table{width:100%;border-collapse:collapse;min-width:660px}.gh-table th,.gh-table td{padding:14px;border-bottom:1px solid var(--gh-border);text-align:left}.gh-table th{color:#475569;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;background:#f8fafc}.gh-table td{color:var(--gh-muted)}.gh-empty{border:1px dashed var(--gh-border-strong);border-radius:28px;padding:30px;text-align:center;color:var(--gh-muted);background:#fff;box-shadow:var(--gh-shadow-soft)}.gh-empty i{font-size:2.3rem;color:#4f46e5}.gh-auth-shell{width:min(1080px,calc(100% - 32px));margin:36px auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:18px;align-items:stretch}.gh-auth-side{border:1px solid #c7d2fe;border-radius:34px;background:linear-gradient(135deg,#eef2ff,#ecfeff);box-shadow:var(--gh-shadow);padding:28px;display:flex;flex-direction:column;justify-content:space-between;min-height:620px}.gh-auth-side h1{font-size:clamp(2.1rem,5vw,4.2rem);line-height:.96;letter-spacing:-.07em;margin:42px 0 18px}.gh-auth-card{border:1px solid var(--gh-border);border-radius:34px;background:#fff;box-shadow:var(--gh-shadow);padding:22px}.gh-tabs{display:flex;background:#f1f5f9;border:1px solid var(--gh-border);border-radius:999px;padding:4px;width:fit-content;margin-bottom:18px}.gh-tab{border:0;background:transparent;color:var(--gh-muted);border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer}.gh-tab.active{background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));color:#fff;box-shadow:0 10px 26px rgba(79,70,229,.18)}.gh-auth-pane{display:none}.gh-auth-pane.active{display:block}.gh-auth-pane h2{font-size:1.75rem;margin:0 0 8px;letter-spacing:-.045em}.gh-separator{height:1px;background:var(--gh-border);margin:18px 0}.gh-mobile-toggle{display:none;position:fixed;right:16px;bottom:16px;z-index:80;width:50px;height:50px;border-radius:18px;border:1px solid var(--gh-border);background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));color:white;font-size:1.25rem;box-shadow:var(--gh-shadow)}
@media(max-width:1050px){.gh-hero{grid-template-columns:1fr}.gh-dashboard-hero{grid-template-columns:1fr}.gh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-server-grid,.gh-grid-3,.gh-grid-2{grid-template-columns:1fr}.gh-plan-picker{grid-template-columns:1fr}.gh-auth-shell{grid-template-columns:1fr}.gh-auth-side{min-height:auto}.gh-public-links{display:none}.gh-app{grid-template-columns:1fr}.gh-sidebar{position:fixed;left:14px;top:14px;bottom:14px;width:min(320px,calc(100% - 28px));z-index:70;transform:translateX(calc(-100% - 24px));transition:.22s}.gh-sidebar.open{transform:translateX(0)}.gh-mobile-toggle{display:grid;place-items:center}.gh-topbar{padding-right:72px}.gh-form-grid{grid-template-columns:1fr}}
@media(max-width:620px){.gh-public-nav{border-radius:24px}.gh-brand-sub{display:none}.gh-hero{padding-top:54px}.gh-mini-stats,.gh-stats{grid-template-columns:1fr}.gh-topbar{align-items:flex-start;flex-direction:column}.gh-top-actions{justify-content:flex-start}.gh-actions{flex-direction:column}.gh-btn{width:100%}.gh-footer{display:grid}.gh-auth-shell{width:min(100% - 20px,1080px)}.gh-auth-card,.gh-auth-side{border-radius:26px;padding:18px}.gh-container{width:min(100% - 20px,1220px)}}


/* === GlowHost theme switcher + mobile polish === */
.gh-theme-toggle,.gh-public-menu-toggle{border:1px solid var(--gh-border);border-radius:999px;background:var(--gh-card);color:var(--gh-text);width:42px;height:42px;display:inline-grid;place-items:center;cursor:pointer;transition:.18s;box-shadow:0 8px 22px rgba(15,23,42,.045);flex:0 0 auto}
.gh-theme-toggle:hover,.gh-public-menu-toggle:hover{transform:translateY(-1px);border-color:var(--gh-border-strong)}
.gh-public-menu-toggle{display:none}.gh-public-actions{display:flex;align-items:center;gap:8px}.gh-public-nav .gh-theme-toggle{margin-left:2px}.gh-sidebar .gh-theme-toggle{width:100%;height:auto;min-height:42px;display:flex;justify-content:center;gap:8px;font-weight:900}
:root[data-theme="dark"]{--gh-bg:#090d16;--gh-bg-2:#0f172a;--gh-surface:rgba(15,23,42,.84);--gh-surface-strong:#111827;--gh-card:#111827;--gh-card-2:#0f172a;--gh-border:rgba(148,163,184,.22);--gh-border-strong:rgba(148,163,184,.38);--gh-text:#f8fafc;--gh-muted:#cbd5e1;--gh-faint:#94a3b8;--gh-accent:#818cf8;--gh-accent-2:#22d3ee;--gh-accent-3:#34d399;--gh-warn:#fbbf24;--gh-danger:#fb7185;--gh-shadow:0 24px 80px rgba(0,0,0,.45);--gh-shadow-soft:0 14px 40px rgba(0,0,0,.28);--gh-glow:0 20px 70px rgba(129,140,248,.22)}
:root[data-theme="dark"] body{background:var(--gh-bg);color:var(--gh-text)}
:root[data-theme="dark"] body:before{background:radial-gradient(circle at 8% 6%,rgba(129,140,248,.18),transparent 34%),radial-gradient(circle at 88% 12%,rgba(34,211,238,.14),transparent 30%),radial-gradient(circle at 50% 100%,rgba(52,211,153,.10),transparent 36%),linear-gradient(180deg,#070b13 0%,#0f172a 48%,#111827 100%)}
:root[data-theme="dark"] body:after{background-image:linear-gradient(rgba(148,163,184,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.045) 1px,transparent 1px)}
:root[data-theme="dark"] .gh-noise{opacity:.18;mix-blend-mode:screen}
:root[data-theme="dark"] .gh-public-nav,:root[data-theme="dark"] .gh-sidebar,:root[data-theme="dark"] .gh-topbar,:root[data-theme="dark"] .gh-footer,:root[data-theme="dark"] .gh-card,:root[data-theme="dark"] .gh-stat,:root[data-theme="dark"] .gh-server-card,:root[data-theme="dark"] .gh-form-card,:root[data-theme="dark"] .gh-auth-card,:root[data-theme="dark"] .gh-preview,:root[data-theme="dark"] .gh-preview-card,:root[data-theme="dark"] .gh-table-wrap,:root[data-theme="dark"] .gh-empty{background:var(--gh-surface);border-color:var(--gh-border);box-shadow:var(--gh-shadow-soft)}
:root[data-theme="dark"] .gh-card:hover,:root[data-theme="dark"] .gh-server-card:hover{border-color:var(--gh-border-strong)}
:root[data-theme="dark"] .gh-sidebar-user,:root[data-theme="dark"] .gh-hero-card,:root[data-theme="dark"] .gh-auth-side,:root[data-theme="dark"] .gh-plan.featured{background:linear-gradient(135deg,rgba(129,140,248,.18),rgba(34,211,238,.10));border-color:rgba(129,140,248,.32);box-shadow:var(--gh-glow)}
:root[data-theme="dark"] .gh-btn-ghost,:root[data-theme="dark"] .gh-theme-toggle,:root[data-theme="dark"] .gh-public-menu-toggle,:root[data-theme="dark"] .gh-pill,:root[data-theme="dark"] .gh-badge,:root[data-theme="dark"] .gh-mini-stat,:root[data-theme="dark"] .gh-tabs,:root[data-theme="dark"] .gh-plan-radio{background:var(--gh-card-2);border-color:var(--gh-border);color:var(--gh-text)}
:root[data-theme="dark"] .gh-public-links a:hover,:root[data-theme="dark"] .gh-nav-link:hover,:root[data-theme="dark"] .gh-side-link:hover{background:rgba(148,163,184,.12);color:var(--gh-text)}
:root[data-theme="dark"] .gh-side-link.active{background:linear-gradient(135deg,rgba(129,140,248,.18),rgba(34,211,238,.10));border-color:rgba(129,140,248,.35);color:#e0e7ff}
:root[data-theme="dark"] .gh-gradient-text{background:linear-gradient(135deg,#f8fafc 0%,#a5b4fc 48%,#67e8f9 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
:root[data-theme="dark"] .gh-input,:root[data-theme="dark"] .gh-textarea,:root[data-theme="dark"] .gh-select{background:#0b1220;border-color:var(--gh-border);color:var(--gh-text);box-shadow:none}
:root[data-theme="dark"] .gh-input:focus,:root[data-theme="dark"] .gh-textarea:focus,:root[data-theme="dark"] .gh-select:focus{background:#0f172a;border-color:#22d3ee;box-shadow:0 0 0 4px rgba(34,211,238,.12)}
:root[data-theme="dark"] .gh-table th{background:#0f172a;color:#e2e8f0}:root[data-theme="dark"] .gh-table td{color:#cbd5e1}:root[data-theme="dark"] .gh-list{color:#cbd5e1}:root[data-theme="dark"] .gh-footer a{color:#cbd5e1}:root[data-theme="dark"] .gh-footer a:hover{color:#67e8f9}:root[data-theme="dark"] .gh-alert{background:var(--gh-card);border-color:var(--gh-border);color:var(--gh-text)}
:root[data-theme="dark"] .gh-alert.success{background:rgba(34,197,94,.10);border-color:rgba(34,197,94,.28);color:#bbf7d0}:root[data-theme="dark"] .gh-alert.error{background:rgba(244,63,94,.10);border-color:rgba(244,63,94,.32);color:#fecdd3}
@media(max-width:1050px){.gh-public-menu-toggle{display:inline-grid}.gh-public-nav{align-items:center;border-radius:26px;flex-wrap:wrap}.gh-public-links{display:none!important;position:absolute;left:0;right:0;top:calc(100% + 10px);margin:0 auto;width:100%;padding:12px;border:1px solid var(--gh-border);border-radius:24px;background:var(--gh-surface-strong);box-shadow:var(--gh-shadow-soft);backdrop-filter:blur(22px);grid-template-columns:1fr;gap:6px}.gh-public-nav.open .gh-public-links{display:grid!important}.gh-public-links a,.gh-public-links .gh-btn{width:100%;justify-content:center}.gh-public-actions{margin-left:auto}.gh-app{width:min(100% - 20px,1460px)}}
@media(max-width:620px){.gh-public-nav{width:min(100% - 20px,1220px);padding:10px}.gh-public-actions .gh-btn-primary{display:none}.gh-public-actions{gap:6px}.gh-theme-toggle,.gh-public-menu-toggle{width:40px;height:40px}.gh-server-actions,.gh-actions,.gh-top-actions,.gh-billing{justify-content:center}.gh-server-actions .gh-btn,.gh-top-actions .gh-btn,.gh-actions .gh-btn{width:100%;justify-content:center}.gh-page-title{text-align:left}.gh-form-card .gh-btn,.gh-auth-card .gh-btn{width:100%;justify-content:center}.gh-table-wrap{border-radius:18px}}


/* GlowHost toast notifications */
.gh-toast-stack{position:fixed;z-index:99999;top:18px;right:18px;width:min(420px,calc(100vw - 28px));display:grid;gap:12px;pointer-events:none}.gh-toast{pointer-events:auto;position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:flex-start;border:1px solid var(--gh-toast-border,var(--gh-border,#e5e7eb));border-radius:22px;background:var(--gh-toast-bg,var(--gh-card,#fff));color:var(--gh-toast-text,var(--gh-text,#111827));box-shadow:0 22px 70px rgba(15,23,42,.18);padding:14px 14px 16px;transform:translateY(-12px) scale(.98);opacity:0;transition:opacity .24s ease,transform .24s ease,filter .24s ease;backdrop-filter:blur(18px)}.gh-toast.show{opacity:1;transform:translateY(0) scale(1)}.gh-toast.hiding{opacity:0;transform:translateY(-10px) scale(.98);filter:blur(1px)}.gh-toast-icon{width:38px;height:38px;border-radius:15px;display:grid;place-items:center;flex:0 0 auto;background:var(--gh-toast-soft,rgba(79,70,229,.12));color:var(--gh-toast-accent,var(--gh-accent,#4f46e5));font-size:1.2rem}.gh-toast-body{min-width:0}.gh-toast-title{font-weight:950;letter-spacing:-.02em;margin-bottom:3px}.gh-toast-message{font-size:.91rem;line-height:1.45;color:var(--gh-toast-muted,var(--gh-muted,#64748b));overflow-wrap:anywhere}.gh-toast-message a{color:inherit;font-weight:900;text-decoration:underline;text-underline-offset:3px}.gh-toast-close{width:32px;height:32px;border-radius:12px;border:1px solid var(--gh-toast-border,var(--gh-border,#e5e7eb));background:transparent;color:var(--gh-toast-muted,var(--gh-muted,#64748b));cursor:pointer;display:grid;place-items:center;padding:0}.gh-toast-close:hover{background:var(--gh-toast-soft,rgba(79,70,229,.08));color:var(--gh-toast-text,var(--gh-text,#111827));transform:none}.gh-toast-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--gh-toast-accent,var(--gh-accent,#4f46e5));transform-origin:left center;animation:ghToastProgress var(--gh-toast-duration,5s) linear forwards}@keyframes ghToastProgress{from{transform:scaleX(1)}to{transform:scaleX(0)}}.gh-toast-success{--gh-toast-accent:#16a34a;--gh-toast-soft:rgba(34,197,94,.13);--gh-toast-border:rgba(34,197,94,.30)}.gh-toast-error{--gh-toast-accent:#e11d48;--gh-toast-soft:rgba(244,63,94,.13);--gh-toast-border:rgba(244,63,94,.32)}.gh-toast-warning{--gh-toast-accent:#f59e0b;--gh-toast-soft:rgba(245,158,11,.15);--gh-toast-border:rgba(245,158,11,.34)}.gh-toast-info{--gh-toast-accent:#2563eb;--gh-toast-soft:rgba(59,130,246,.13);--gh-toast-border:rgba(59,130,246,.30)}:root[data-theme="dark"] .gh-toast{--gh-toast-bg:rgba(15,23,42,.92);--gh-toast-text:#e5e7eb;--gh-toast-muted:#cbd5e1;box-shadow:0 26px 80px rgba(0,0,0,.42)}@media(max-width:640px){.gh-toast-stack{top:12px;left:12px;right:12px;width:auto}.gh-toast{border-radius:19px;padding:13px 13px 15px}.gh-toast-icon{width:34px;height:34px;border-radius:13px}.gh-toast-title{font-size:.94rem}.gh-toast-message{font-size:.86rem}}



/* === Legal pages === */
.gh-legal-hero{padding:66px 0 18px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:22px;align-items:end}.gh-legal-hero h1{font-size:clamp(2rem,4.5vw,4.2rem);line-height:1;margin:18px 0 12px;letter-spacing:-.065em}.gh-legal-meta-card{border:1px solid var(--gh-border);border-radius:30px;background:var(--gh-card);box-shadow:var(--gh-shadow-soft);padding:22px}.gh-legal-meta-card h3{margin:0 0 8px}.gh-legal-meta-card p{margin:0;color:var(--gh-muted);line-height:1.7}.gh-legal-tabs{position:sticky;top:92px;z-index:20;display:flex;gap:8px;overflow:auto;padding:10px;margin-top:12px;margin-bottom:12px;border:1px solid var(--gh-border);border-radius:24px;background:rgba(255,255,255,.82);backdrop-filter:blur(18px);box-shadow:var(--gh-shadow-soft)}.gh-legal-tabs a{flex:0 0 auto;text-decoration:none;color:var(--gh-muted);font-weight:900;font-size:.9rem;padding:10px 13px;border-radius:999px;border:1px solid transparent}.gh-legal-tabs a:hover{background:#f1f5f9;color:var(--gh-text)}.gh-legal-tabs a.active{background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));color:#fff;box-shadow:0 12px 28px rgba(79,70,229,.20)}.gh-legal-section{padding:12px 0}.gh-legal-card{border:1px solid var(--gh-border);border-radius:30px;background:var(--gh-card);box-shadow:var(--gh-shadow-soft);padding:24px;overflow:hidden}.gh-legal-card p{color:var(--gh-muted);line-height:1.85;margin:12px 0}.gh-legal-card a{color:var(--gh-accent);font-weight:900;text-decoration:none}.gh-legal-card a:hover{text-decoration:underline;text-underline-offset:3px}.gh-legal-title-row{display:flex;align-items:center;gap:14px;margin-bottom:10px}.gh-legal-title-row h2{margin:0;font-size:clamp(1.25rem,2.2vw,1.75rem);letter-spacing:-.035em}.gh-legal-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px;color:var(--gh-muted);line-height:1.65}.gh-legal-list li{position:relative;padding-left:28px}.gh-legal-list li:before{content:"\eb7b";font-family:"remixicon";position:absolute;left:0;top:0;color:var(--gh-accent-3);font-weight:400}.gh-legal-note{border:1px solid rgba(79,70,229,.20);border-radius:20px;background:rgba(79,70,229,.08);padding:14px 16px;color:var(--gh-text)!important}.gh-legal-card code{border:1px solid var(--gh-border);border-radius:10px;background:var(--gh-card-2);padding:2px 6px;color:var(--gh-text)}.gh-legal-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gh-legal-contact-grid>div{border:1px solid var(--gh-border);border-radius:20px;background:var(--gh-card-2);padding:15px}.gh-legal-contact-grid span{display:block;color:var(--gh-muted);font-size:.82rem;font-weight:800;margin-bottom:5px}.gh-legal-contact-grid b{display:block;color:var(--gh-text);overflow-wrap:anywhere}.gh-legal-form{display:grid;gap:16px}.gh-legal-form label{display:grid;gap:7px;color:var(--gh-text);font-weight:900}.gh-legal-form .gh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gh-legal-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start}.gh-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}.gh-legal-contact-cards .gh-card a{color:var(--gh-accent);font-weight:950;text-decoration:none}.gh-legal-footer{margin-top:34px}.gh-legal-footer div:last-child{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.gh-legal-footer a{margin-right:0}:root[data-theme="dark"] .gh-legal-tabs,:root[data-theme="dark"] .gh-legal-card,:root[data-theme="dark"] .gh-legal-meta-card,:root[data-theme="dark"] .gh-legal-contact-grid>div{background:var(--gh-surface);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-legal-tabs a:hover{background:rgba(148,163,184,.12);color:var(--gh-text)}:root[data-theme="dark"] .gh-legal-note{background:rgba(129,140,248,.12);border-color:rgba(129,140,248,.26)}@media(max-width:900px){.gh-legal-hero{grid-template-columns:1fr;padding-top:44px}.gh-legal-contact-grid,.gh-legal-form .gh-form-grid{grid-template-columns:1fr}.gh-legal-tabs{top:78px}}@media(max-width:620px){.gh-legal-hero{padding-top:34px}.gh-legal-card,.gh-legal-meta-card{border-radius:24px;padding:18px}.gh-legal-title-row{align-items:flex-start}.gh-legal-actions .gh-btn{width:100%;justify-content:center}.gh-legal-footer div:last-child{justify-content:flex-start}.gh-legal-tabs{border-radius:20px}}

/* === APK build progress modal === */
.gh-apk-modal{position:fixed;inset:0;z-index:100000;display:none;place-items:center;padding:22px;background:rgba(15,23,42,.58);backdrop-filter:blur(18px)}.gh-apk-modal.open{display:grid}.gh-apk-dialog{position:relative;overflow:hidden;width:min(680px,calc(100vw - 24px));border:1px solid rgba(148,163,184,.30);border-radius:34px;background:var(--gh-card,#fff);box-shadow:0 34px 120px rgba(15,23,42,.35);padding:24px;color:var(--gh-text,#111827)}.gh-apk-glow{position:absolute;inset:-90px -120px auto auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(34,211,238,.32),rgba(129,140,248,.18) 45%,transparent 70%);pointer-events:none}.gh-apk-head{position:relative;display:flex;align-items:flex-start;gap:14px}.gh-apk-icon{width:54px;height:54px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,var(--gh-accent,#4f46e5),var(--gh-accent-2,#7c3aed));color:#fff;font-size:1.55rem;box-shadow:0 18px 42px rgba(79,70,229,.28)}.gh-apk-head h2{margin:0 0 4px;font-size:1.45rem;letter-spacing:-.04em}.gh-apk-head p{margin:0;color:var(--gh-muted,#64748b);line-height:1.45}.gh-apk-x{margin-left:auto;width:40px;height:40px;border-radius:15px;border:1px solid var(--gh-border,#e5e7eb);background:var(--gh-card-2,#f8fafc);color:var(--gh-muted,#64748b);display:grid;place-items:center;cursor:pointer}.gh-apk-x:disabled{opacity:.45;cursor:not-allowed}.gh-apk-progress-meta{position:relative;margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--gh-muted,#64748b);font-size:.9rem;font-weight:900}.gh-apk-progress-meta b{color:var(--gh-text,#111827)}.gh-apk-progress{position:relative;margin-top:9px;height:13px;border-radius:999px;overflow:hidden;background:rgba(148,163,184,.20);box-shadow:inset 0 1px 2px rgba(15,23,42,.10)}.gh-apk-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--gh-accent,#4f46e5),var(--gh-accent-2,#7c3aed),var(--gh-accent-3,#22c55e));transition:width .35s ease}.gh-apk-current{margin-top:14px;padding:13px 14px;border:1px solid rgba(79,70,229,.16);border-radius:18px;background:rgba(79,70,229,.07);color:var(--gh-text,#111827);font-weight:850;line-height:1.45;overflow-wrap:anywhere}.gh-apk-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:15px}.gh-apk-steps div{min-width:0;border:1px solid var(--gh-border,#e5e7eb);border-radius:16px;background:var(--gh-card-2,#f8fafc);padding:10px 8px;text-align:center;color:var(--gh-muted,#64748b);font-size:.76rem;font-weight:850}.gh-apk-steps i{display:block;font-size:1.1rem;margin-bottom:4px}.gh-apk-steps div.active{border-color:rgba(79,70,229,.40);background:rgba(79,70,229,.10);color:var(--gh-accent,#4f46e5)}.gh-apk-steps div.done{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.10);color:#16a34a}.gh-apk-steps div.error{border-color:rgba(244,63,94,.35);background:rgba(244,63,94,.10);color:#e11d48}.gh-apk-log{margin:14px 0 0;max-height:170px;overflow:auto;white-space:pre-wrap;word-break:break-word;border:1px solid var(--gh-border,#e5e7eb);border-radius:18px;background:#0b1220;color:#dbeafe;padding:13px;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.gh-apk-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:15px}:root[data-theme="dark"] .gh-apk-dialog{background:rgba(15,23,42,.96);border-color:var(--gh-border);box-shadow:0 34px 130px rgba(0,0,0,.62)}:root[data-theme="dark"] .gh-apk-current{background:rgba(129,140,248,.13);border-color:rgba(129,140,248,.25)}:root[data-theme="dark"] .gh-apk-steps div{background:rgba(15,23,42,.72);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-apk-log{background:#020617;color:#bfdbfe;border-color:rgba(148,163,184,.22)}@media(max-width:760px){.gh-apk-dialog{border-radius:26px;padding:18px}.gh-apk-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-apk-head h2{font-size:1.25rem}.gh-apk-actions .gh-btn{width:100%;justify-content:center}}

/* === Hosting support tickets === */
.gh-support-layout{display:grid;grid-template-columns:minmax(300px,390px) minmax(0,1fr);gap:16px;align-items:start}.gh-support-list-card,.gh-support-chat-card{border:1px solid var(--gh-border);border-radius:var(--gh-radius);background:var(--gh-card);box-shadow:var(--gh-shadow-soft);padding:18px;overflow:hidden}.gh-support-main{display:grid;gap:16px;min-width:0}.gh-support-ticket-list{display:grid;gap:10px;max-height:720px;overflow:auto;padding-right:4px}.gh-support-ticket{display:grid;gap:7px;border:1px solid var(--gh-border);border-radius:20px;background:var(--gh-card-2);padding:13px;text-decoration:none;color:var(--gh-text);transition:.16s}.gh-support-ticket:hover{transform:translateY(-1px);border-color:var(--gh-border-strong);background:#fff}.gh-support-ticket.active{border-color:#a5b4fc;background:linear-gradient(135deg,#eef2ff,#ecfeff);box-shadow:0 12px 28px rgba(79,70,229,.12)}.gh-support-ticket-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.gh-support-ticket-top b{font-size:.92rem;line-height:1.35}.gh-support-ticket span:not(.gh-support-ticket-top){color:var(--gh-muted);font-size:.84rem;line-height:1.45}.gh-support-ticket small{color:var(--gh-faint);font-weight:850}.gh-support-ticket em{font-style:normal;flex:0 0 auto;border-radius:999px;padding:5px 8px;font-size:.69rem;font-weight:950;border:1px solid var(--gh-border);background:#fff;color:var(--gh-muted)}.gh-support-ticket em.open{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.gh-support-ticket em.answered{background:#ecfeff;border-color:#a5f3fc;color:#0e7490}.gh-support-ticket em.closed{background:#f1f5f9;border-color:#cbd5e1;color:#475569}.gh-support-chat-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.gh-support-chat-head h2{font-size:1.35rem;letter-spacing:-.035em;margin:10px 0 4px}.gh-support-chat-head p{margin:0;color:var(--gh-muted);line-height:1.5}.gh-support-chat{display:grid;gap:12px;max-height:560px;overflow:auto;padding:12px;border:1px solid var(--gh-border);border-radius:22px;background:linear-gradient(180deg,var(--gh-card-2),rgba(238,242,255,.45));margin-bottom:14px}.gh-support-msg{display:grid;gap:6px;max-width:78%}.gh-support-msg.mine{justify-self:end}.gh-support-msg.agent{justify-self:start}.gh-support-msg-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--gh-faint);font-size:.75rem;font-weight:850}.gh-support-msg.mine .gh-support-msg-meta{justify-content:flex-end}.gh-support-msg-meta b{color:var(--gh-text);font-size:.8rem}.gh-support-bubble{border:1px solid var(--gh-border);border-radius:20px;padding:12px 14px;line-height:1.62;white-space:normal;word-break:break-word;background:#fff;color:var(--gh-text);box-shadow:0 10px 22px rgba(15,23,42,.045)}.gh-support-msg.mine .gh-support-bubble{background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));border-color:transparent;color:#fff}.gh-support-msg.agent .gh-support-bubble{background:#fff}.gh-support-reply{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.gh-support-textarea{min-height:112px;resize:vertical;line-height:1.6}.gh-support-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.gh-support-filters a{border:1px solid var(--gh-border);border-radius:999px;background:var(--gh-card-2);padding:8px 10px;text-decoration:none;color:var(--gh-muted);font-weight:900;font-size:.78rem}.gh-support-filters a.active,.gh-support-filters a:hover{background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));border-color:transparent;color:#fff}.gh-support-status-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.gh-support-status-form .gh-input{width:180px;padding-top:10px;padding-bottom:10px}:root[data-theme="dark"] .gh-support-list-card,:root[data-theme="dark"] .gh-support-chat-card{background:var(--gh-surface);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-support-ticket{background:rgba(15,23,42,.72);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-support-ticket:hover{background:rgba(30,41,59,.78)}:root[data-theme="dark"] .gh-support-ticket.active{background:linear-gradient(135deg,rgba(79,70,229,.18),rgba(6,182,212,.11));border-color:rgba(129,140,248,.45)}:root[data-theme="dark"] .gh-support-chat{background:rgba(15,23,42,.52);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-support-bubble,:root[data-theme="dark"] .gh-support-msg.agent .gh-support-bubble{background:rgba(30,41,59,.92);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-support-ticket em{background:rgba(15,23,42,.78)}@media(max-width:1050px){.gh-support-layout{grid-template-columns:1fr}.gh-support-ticket-list{max-height:420px}}@media(max-width:680px){.gh-support-list-card,.gh-support-chat-card{padding:14px;border-radius:22px}.gh-support-chat-head{display:grid}.gh-support-reply{grid-template-columns:1fr}.gh-support-reply .gh-btn{width:100%;justify-content:center}.gh-support-msg{max-width:94%}.gh-support-status-form{justify-content:stretch}.gh-support-status-form .gh-input,.gh-support-status-form .gh-btn{width:100%}}
.gh-alert.warning{background:#fff7ed;border-color:#fed7aa;color:#9a3412}:root[data-theme="dark"] .gh-alert.warning{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.32);color:#fdba74}

/* GlowHost services page */
.gh-services-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px;align-items:stretch;margin-bottom:16px}.gh-services-hero-main{position:relative;overflow:hidden;border:1px solid #c7d2fe;border-radius:30px;background:linear-gradient(135deg,#eef2ff,#ecfeff);box-shadow:var(--gh-glow);padding:26px}.gh-services-hero-main:after{content:"";position:absolute;right:-90px;top:-110px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.78),transparent 67%);pointer-events:none}.gh-services-hero-main>*{position:relative}.gh-services-hero-main h2{margin:14px 0 10px;font-size:clamp(2rem,4vw,3.25rem);line-height:1;letter-spacing:-.065em}.gh-services-hero-main p{margin:0;color:#475569;line-height:1.72;max-width:760px}.gh-services-hero-side{display:grid;gap:12px}.gh-services-mini-stat{border:1px solid var(--gh-border);border-radius:24px;background:var(--gh-card);box-shadow:var(--gh-shadow-soft);padding:18px}.gh-services-mini-stat span{display:block;color:var(--gh-muted);font-size:.78rem;font-weight:950;text-transform:uppercase;letter-spacing:.1em}.gh-services-mini-stat b{display:block;font-size:2rem;line-height:1.05;margin-top:7px;letter-spacing:-.05em}.gh-services-mini-stat em{display:block;margin-top:5px;color:var(--gh-faint);font-style:normal;font-weight:850;font-size:.82rem}.gh-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gh-service-card{position:relative;overflow:hidden;border:1px solid var(--gh-border);border-radius:28px;background:var(--gh-card);box-shadow:var(--gh-shadow-soft);padding:20px;display:flex;flex-direction:column;gap:13px;min-height:360px}.gh-service-card:hover{transform:translateY(-2px);border-color:var(--gh-border-strong);box-shadow:var(--gh-shadow)}.gh-service-card.featured{background:linear-gradient(180deg,#ffffff,#f5f3ff);border-color:#c4b5fd;box-shadow:var(--gh-glow)}.gh-service-card.free{background:linear-gradient(180deg,#ffffff,#ecfdf5);border-color:#bbf7d0}.gh-service-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.gh-service-icon{width:50px;height:50px;border-radius:19px;background:#eef2ff;border:1px solid #ddd6fe;color:#4f46e5;display:grid;place-items:center;font-size:1.45rem}.gh-service-card.free .gh-service-icon{background:#ecfdf5;border-color:#bbf7d0;color:#16a34a}.gh-service-card.featured .gh-service-icon{background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));border-color:transparent;color:#fff;box-shadow:0 16px 36px rgba(79,70,229,.24)}.gh-service-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;border:1px solid var(--gh-border);background:var(--gh-card-2);color:var(--gh-muted);font-size:.74rem;font-weight:950;padding:7px 10px}.gh-service-card h3{margin:0;font-size:1.32rem;letter-spacing:-.04em}.gh-service-price{font-size:2rem;line-height:1;font-weight:950;letter-spacing:-.05em}.gh-service-card p{margin:0;color:var(--gh-muted);line-height:1.67;font-size:.92rem}.gh-service-meta{display:grid;gap:8px;margin-top:auto}.gh-service-meta span{display:flex;align-items:center;gap:8px;color:var(--gh-muted);font-size:.82rem;font-weight:850}.gh-service-meta i{color:#0891b2}.gh-service-meta b{color:var(--gh-text)}.gh-service-card .gh-btn{margin-top:3px;width:100%}.gh-services-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}:root[data-theme="dark"] .gh-services-hero-main{background:linear-gradient(135deg,rgba(79,70,229,.18),rgba(6,182,212,.11));border-color:rgba(129,140,248,.38);box-shadow:none}:root[data-theme="dark"] .gh-services-hero-main p{color:var(--gh-muted)}:root[data-theme="dark"] .gh-services-mini-stat,:root[data-theme="dark"] .gh-service-card{background:var(--gh-surface);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-service-card.featured{background:linear-gradient(180deg,rgba(30,41,59,.96),rgba(79,70,229,.12));border-color:rgba(129,140,248,.42)}:root[data-theme="dark"] .gh-service-card.free{background:linear-gradient(180deg,rgba(30,41,59,.96),rgba(34,197,94,.10));border-color:rgba(74,222,128,.28)}:root[data-theme="dark"] .gh-service-icon{background:rgba(129,140,248,.14);border-color:rgba(129,140,248,.26)}:root[data-theme="dark"] .gh-service-badge{background:rgba(15,23,42,.74);border-color:var(--gh-border)}@media(max-width:1180px){.gh-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-services-info-grid{grid-template-columns:1fr}}@media(max-width:900px){.gh-services-hero{grid-template-columns:1fr}.gh-services-hero-side{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.gh-services-grid,.gh-services-hero-side{grid-template-columns:1fr}.gh-services-hero-main,.gh-service-card{border-radius:24px;padding:18px}.gh-services-hero-main .gh-actions .gh-btn{width:100%;justify-content:center}}


/* Public top servers and services */
.gh-section-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.gh-top-hero{padding:76px 0 28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);gap:28px;align-items:center}.gh-top-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gh-top-summary-card{border:1px solid var(--gh-border);border-radius:24px;background:#fff;box-shadow:var(--gh-shadow-soft);padding:18px}.gh-top-summary-card span{display:block;color:var(--gh-muted);font-size:.78rem;font-weight:950;text-transform:uppercase;letter-spacing:.1em}.gh-top-summary-card b{display:block;font-size:2rem;letter-spacing:-.055em;line-height:1.05;margin-top:8px}.gh-top-summary-card em{display:block;margin-top:5px;color:var(--gh-faint);font-style:normal;font-weight:850;font-size:.82rem}.gh-top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gh-top-mini-card,.gh-top-server-card{position:relative;border:1px solid var(--gh-border);border-radius:28px;background:#fff;box-shadow:var(--gh-shadow-soft);padding:18px;display:grid;gap:13px;overflow:hidden}.gh-top-mini-card:hover,.gh-top-server-card:hover{transform:translateY(-2px);border-color:var(--gh-border-strong);box-shadow:var(--gh-shadow)}.gh-top-mini-card.first,.gh-top-server-card.first{background:linear-gradient(135deg,#fff7ed,#eef2ff 56%,#ecfeff);border-color:#fbbf24;box-shadow:0 24px 70px rgba(245,158,11,.16)}.gh-top-mini-place,.gh-top-place{position:absolute;right:16px;top:14px;border-radius:999px;background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));color:#fff;font-weight:950;padding:7px 11px;box-shadow:0 12px 32px rgba(79,70,229,.22)}.gh-top-mini-card p,.gh-top-server-card p{margin:0;color:var(--gh-muted);line-height:1.65;font-size:.92rem;padding-right:10px}.gh-top-list{display:grid;gap:14px}.gh-top-server-card{grid-template-columns:76px minmax(0,1.1fr) minmax(360px,.9fr) auto;align-items:center}.gh-top-server-card .gh-top-place{position:static;width:58px;height:58px;border-radius:20px;display:grid;place-items:center;padding:0;font-size:1.05rem}.gh-top-server-card .gh-server-actions{justify-content:flex-end}.gh-top-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gh-top-metrics span{border:1px solid var(--gh-border);border-radius:18px;background:var(--gh-card-2);padding:10px}.gh-top-metrics b{display:block;font-size:1.1rem;letter-spacing:-.035em}.gh-top-metrics em{display:block;color:var(--gh-muted);font-style:normal;font-size:.75rem;font-weight:850;margin-top:2px}.gh-public-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gh-public-service{border:1px solid var(--gh-border);border-radius:28px;background:#fff;box-shadow:var(--gh-shadow-soft);padding:20px;display:flex;flex-direction:column;gap:13px;min-height:320px}.gh-public-service:hover{transform:translateY(-2px);border-color:var(--gh-border-strong);box-shadow:var(--gh-shadow)}.gh-public-service.free{background:linear-gradient(180deg,#ffffff,#ecfdf5);border-color:#bbf7d0}.gh-public-service.featured{background:linear-gradient(180deg,#ffffff,#f5f3ff);border-color:#c4b5fd;box-shadow:var(--gh-glow)}.gh-public-service h3{margin:0;font-size:1.25rem;letter-spacing:-.04em}.gh-public-service p{margin:0;color:var(--gh-muted);line-height:1.68}.gh-public-service .gh-btn{margin-top:auto}.gh-public-service.free .gh-service-icon{background:#ecfdf5;border-color:#bbf7d0;color:#16a34a}.gh-public-service.featured .gh-service-icon{background:linear-gradient(135deg,var(--gh-accent),var(--gh-accent-2));border-color:transparent;color:#fff;box-shadow:0 16px 36px rgba(79,70,229,.24)}:root[data-theme="dark"] .gh-top-summary-card,:root[data-theme="dark"] .gh-top-mini-card,:root[data-theme="dark"] .gh-top-server-card,:root[data-theme="dark"] .gh-public-service{background:var(--gh-surface);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-top-mini-card.first,:root[data-theme="dark"] .gh-top-server-card.first{background:linear-gradient(135deg,rgba(245,158,11,.16),rgba(79,70,229,.14),rgba(6,182,212,.09));border-color:rgba(251,191,36,.42)}:root[data-theme="dark"] .gh-top-metrics span{background:rgba(15,23,42,.74);border-color:var(--gh-border)}:root[data-theme="dark"] .gh-public-service.free{background:linear-gradient(180deg,rgba(30,41,59,.96),rgba(34,197,94,.10));border-color:rgba(74,222,128,.28)}:root[data-theme="dark"] .gh-public-service.featured{background:linear-gradient(180deg,rgba(30,41,59,.96),rgba(79,70,229,.12));border-color:rgba(129,140,248,.42)}@media(max-width:1120px){.gh-top-server-card{grid-template-columns:64px minmax(0,1fr);}.gh-top-server-card .gh-top-metrics,.gh-top-server-card .gh-server-actions{grid-column:2}.gh-top-server-card p{grid-column:2}.gh-top-grid,.gh-public-services-grid{grid-template-columns:1fr}.gh-top-hero{grid-template-columns:1fr}}@media(max-width:720px){.gh-top-summary,.gh-top-metrics{grid-template-columns:1fr}.gh-top-server-card{grid-template-columns:1fr}.gh-top-server-card .gh-top-place{width:auto;height:auto;display:inline-flex;padding:8px 12px}.gh-top-server-card .gh-top-metrics,.gh-top-server-card .gh-server-actions,.gh-top-server-card p{grid-column:auto}.gh-top-hero{padding-top:54px}.gh-top-mini-place{position:static;width:max-content;margin-bottom:-4px}}

/* GlowHost top page layout fix: keep action buttons inside the server card */
.gh-top-list{overflow:visible;}
.gh-top-server-card{
  overflow:visible;
  grid-template-columns:68px minmax(240px,1.1fr) minmax(220px,.9fr) minmax(360px,.95fr);
  grid-template-areas:
    "place info desc metrics"
    "place actions actions metrics";
  gap:12px 18px;
  align-items:center;
  min-height:0;
}
.gh-top-server-card .gh-top-place{
  grid-area:place;
  align-self:center;
  justify-self:center;
}
.gh-top-server-card .gh-server-top{
  grid-area:info;
  min-width:0;
}
.gh-top-server-card .gh-server-top > div:last-child{
  min-width:0;
}
.gh-top-server-card .gh-server-name,
.gh-top-server-card .gh-server-code{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.gh-top-server-card > p{
  grid-area:desc;
  padding-right:0;
  min-width:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.gh-top-server-card .gh-top-metrics{
  grid-area:metrics;
  min-width:0;
}
.gh-top-server-card .gh-server-actions{
  grid-area:actions;
  justify-content:flex-start;
  min-width:0;
  overflow:visible;
}
.gh-top-server-card .gh-server-actions .gh-btn{
  max-width:100%;
}
@media(max-width:1180px){
  .gh-top-server-card{
    grid-template-columns:64px minmax(0,1fr) minmax(330px,.9fr);
    grid-template-areas:
      "place info metrics"
      "place desc metrics"
      "place actions metrics";
  }
}
@media(max-width:860px){
  .gh-top-server-card{
    grid-template-columns:58px minmax(0,1fr);
    grid-template-areas:
      "place info"
      "desc desc"
      "metrics metrics"
      "actions actions";
  }
  .gh-top-server-card .gh-top-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  .gh-top-server-card{
    grid-template-columns:1fr;
    grid-template-areas:"place" "info" "desc" "metrics" "actions";
  }
  .gh-top-server-card .gh-top-place{justify-self:start;width:auto;height:auto;display:inline-flex;padding:8px 12px;}
  .gh-top-server-card .gh-top-metrics{grid-template-columns:1fr;}
  .gh-top-server-card .gh-server-actions .gh-btn{width:100%;}
}

/* === GlowHost 2026-05-30: normal mobile adaptation for public pages + dashboard === */
img,svg,video,canvas{max-width:100%;height:auto}.gh-server-top>div:last-child{min-width:0}.gh-server-name,.gh-server-code{max-width:100%;overflow:hidden;text-overflow:ellipsis}.gh-top-mini-card,.gh-top-server-card,.gh-card,.gh-public-service,.gh-preview,.gh-form-card{min-width:0}.gh-public-links{z-index:90}

@media(max-width:1050px){
  body{overflow-x:hidden}.gh-container,.gh-public-nav,.gh-footer{width:calc(100% - 24px);max-width:1220px}.gh-public-nav{top:10px;margin-top:10px;border-radius:24px;padding:10px}.gh-public-links{max-height:calc(100vh - 92px);overflow:auto}.gh-public-links a,.gh-public-links .gh-btn{min-height:44px}.gh-hero{padding:58px 0 32px;gap:22px}.gh-preview{max-width:720px;margin:0 auto;width:100%}.gh-section{padding:34px 0}.gh-section-head{display:grid;align-items:start;gap:12px}.gh-section-sub{max-width:none;margin:0}.gh-top-hero{padding:48px 0 14px;gap:18px}.gh-top-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.gh-top-summary-card{padding:14px;border-radius:20px}.gh-top-summary-card b{font-size:1.6rem}.gh-top-grid,.gh-public-services-grid{grid-template-columns:1fr}.gh-top-mini-card{border-radius:24px}.gh-public-service{min-height:0}.gh-footer{display:grid;gap:12px}.gh-footer div:last-child{display:flex;gap:8px 12px;flex-wrap:wrap}
}

@media(max-width:760px){
  .gh-container,.gh-public-nav,.gh-footer{width:calc(100% - 18px)}.gh-public-nav{border-radius:22px}.gh-logo{width:38px;height:38px;border-radius:14px}.gh-brand{gap:9px}.gh-brand-title{font-size:.94rem}.gh-brand-sub{font-size:.68rem}.gh-public-actions{gap:6px}.gh-theme-toggle,.gh-public-menu-toggle{width:38px;height:38px}.gh-public-links{top:calc(100% + 8px);border-radius:22px;padding:10px}.gh-hero{padding:42px 0 24px}.gh-hero h1,.gh-top-hero h1{font-size:clamp(2.05rem,11vw,3.5rem);line-height:.98;letter-spacing:-.055em;margin:16px 0 12px}.gh-lead{font-size:.98rem;line-height:1.65}.gh-kicker{font-size:.76rem;padding:7px 10px}.gh-actions{gap:9px;margin-top:20px}.gh-actions .gh-btn,.gh-section-actions .gh-btn{width:100%;min-height:45px}.gh-hero-meta{gap:8px;margin-top:18px}.gh-pill{width:100%;justify-content:center}.gh-preview{border-radius:24px;padding:12px}.gh-preview-card{border-radius:18px;padding:14px}.gh-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gh-mini-stat{padding:10px;border-radius:15px}.gh-mini-stat b{font-size:1.05rem}.gh-section-title{font-size:clamp(1.55rem,8vw,2.25rem)}.gh-grid{gap:12px}.gh-card{border-radius:22px;padding:16px}.gh-plan-price{font-size:1.65rem}.gh-top-hero{padding:34px 0 8px}.gh-top-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gh-top-summary-card span{font-size:.68rem}.gh-top-summary-card b{font-size:1.42rem}.gh-top-summary-card em{font-size:.72rem}.gh-top-server-card{grid-template-columns:1fr!important;grid-template-areas:"place" "info" "desc" "metrics" "actions"!important;padding:14px;border-radius:22px;gap:12px}.gh-top-server-card .gh-top-place{justify-self:start;width:auto;height:auto;display:inline-flex;padding:8px 12px;border-radius:16px}.gh-top-server-card .gh-server-top{grid-area:info;align-items:flex-start}.gh-top-server-card>p{grid-area:desc;-webkit-line-clamp:3;font-size:.88rem}.gh-top-server-card .gh-top-metrics{grid-area:metrics;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.gh-top-metrics span{padding:9px;border-radius:15px}.gh-top-metrics b{font-size:1rem}.gh-top-server-card .gh-server-actions{grid-area:actions;display:grid;grid-template-columns:1fr;gap:8px}.gh-top-server-card .gh-server-actions .gh-btn{width:100%;min-height:42px}.gh-top-mini-card{padding:14px;border-radius:22px}.gh-top-mini-place{position:static!important;display:inline-flex;width:max-content;margin:0 0 2px}.gh-top-mini-card .gh-server-top{align-items:flex-start}.gh-top-mini-card .gh-server-code,.gh-top-server-card .gh-server-code{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}.gh-top-mini-card .gh-server-name,.gh-top-server-card .gh-server-name{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.2}.gh-server-icon,.gh-server-fallback{width:48px;height:48px;border-radius:17px;flex:0 0 auto}.gh-public-service{border-radius:22px;padding:16px}.gh-footer{margin:28px auto 18px;border-radius:22px;padding:16px}.gh-footer div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gh-footer a{margin:0;font-size:.86rem}
}

@media(max-width:520px){
  .gh-container,.gh-public-nav,.gh-footer{width:calc(100% - 14px)}.gh-public-nav{top:7px;margin-top:7px;padding:8px;border-radius:20px}.gh-brand-sub{display:none}.gh-logo{width:36px;height:36px}.gh-theme-toggle,.gh-public-menu-toggle{width:36px;height:36px}.gh-public-links{left:0;right:0;width:100%;border-radius:20px}.gh-hero{padding-top:34px}.gh-hero h1,.gh-top-hero h1{font-size:clamp(1.9rem,12vw,2.85rem)}.gh-lead{font-size:.93rem}.gh-btn{padding:11px 13px;font-size:.88rem}.gh-mini-stats{grid-template-columns:1fr}.gh-preview-grid{gap:9px}.gh-section{padding:28px 0}.gh-card-icon,.gh-service-icon{width:40px;height:40px;border-radius:15px}.gh-top-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-top-summary-card{padding:12px;border-radius:18px}.gh-top-summary-card b{font-size:1.25rem}.gh-top-summary-card em{display:none}.gh-top-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gh-server-top{gap:10px}.gh-server-name{font-size:1rem}.gh-server-code{font-size:.76rem}.gh-meta-row{display:grid;grid-template-columns:1fr;gap:7px}.gh-badge{justify-content:center;border-radius:14px}.gh-public-service .gh-btn{width:100%}.gh-footer div:last-child{grid-template-columns:1fr}.gh-footer a{padding:8px 0;border-top:1px solid var(--gh-border)}
}

@media(max-width:390px){
  .gh-top-summary,.gh-top-server-card .gh-top-metrics,.gh-top-metrics{grid-template-columns:1fr!important}.gh-hero h1,.gh-top-hero h1{font-size:1.82rem}.gh-kicker{max-width:100%;white-space:normal;border-radius:16px}.gh-server-icon,.gh-server-fallback{width:44px;height:44px;border-radius:15px}.gh-public-nav{gap:8px}.gh-brand-title{font-size:.88rem}.gh-actions .gh-btn{white-space:normal;line-height:1.2}.gh-top-server-card,.gh-top-mini-card,.gh-card,.gh-public-service{padding:13px}.gh-card h3,.gh-public-service h3{font-size:1rem}.gh-service-price{font-size:1.6rem}
}

@media(max-width:760px){
  .gh-app{width:calc(100% - 14px);margin:10px auto}.gh-sidebar{left:8px;right:auto;top:8px;bottom:8px;width:min(310px,calc(100% - 16px));border-radius:24px;overflow:auto}.gh-mobile-toggle{right:12px;bottom:12px;width:48px;height:48px;border-radius:17px}.gh-topbar{display:grid;align-items:start;padding:15px 64px 15px 15px;border-radius:24px}.gh-top-actions{justify-content:stretch}.gh-top-actions .gh-btn{width:100%}.gh-page-title{font-size:1.65rem}.gh-stats{grid-template-columns:1fr}.gh-dashboard-hero,.gh-server-grid,.gh-form-grid,.gh-grid-2,.gh-grid-3,.gh-plan-picker,.gh-services-grid,.gh-services-info-grid,.gh-services-hero,.gh-services-hero-side{grid-template-columns:1fr!important}.gh-hero-card,.gh-form-card,.gh-auth-card,.gh-auth-side,.gh-services-hero-main,.gh-service-card{border-radius:24px;padding:16px}.gh-auth-shell{width:calc(100% - 16px);margin:14px auto;grid-template-columns:1fr}.gh-auth-side{min-height:0}.gh-auth-side h1{font-size:2.2rem;margin:24px 0 14px}.gh-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.gh-tab{text-align:center}.gh-input,.gh-textarea,.gh-select{border-radius:15px}.gh-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.gh-table{min-width:620px}.gh-toast-stack{left:10px;right:10px;top:10px}.gh-toast{width:100%;max-width:none}
}
/* === GlowHost full-page mobile audit hardening 2026-05-30 === */
/* Проверено для публичных страниц, Dashboard, услуг, поддержки, документации, юридических страниц и управления сервером. */
html, body { width:100%; max-width:100%; overflow-x:hidden; }
body { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
*, *::before, *::after { min-width:0; }
img, svg, video, canvas, iframe { max-width:100%; height:auto; }
pre, code, .gh-doc-code { overflow-wrap:anywhere; word-break:break-word; }
a, button, input, select, textarea { max-width:100%; }
.gh-main, .gh-container, .gh-card, .gh-form-card, .gh-auth-card, .gh-auth-side, .gh-hero-card, .gh-server-card,
.gh-service-card, .gh-public-service, .gh-legal-card, .gh-legal-meta-card, .gh-support-list-card, .gh-support-chat-card,
.gh-doc-section, .gh-doc-item, .gh-ms-card, .gh-ms-tool, .gh-ms-status, .gh-ms-dialog { min-width:0; }
.gh-server-name, .gh-server-code, .gh-page-title, .gh-section-title, .gh-service-price, .gh-ms-title, .gh-ms-desc,
.gh-doc-title, .gh-legal-hero h1 { overflow-wrap:anywhere; }
.gh-input, .gh-textarea, .gh-select, .gh-ms-input, .gh-ms-textarea, .gh-ms-select { min-width:0; }
.gh-table-wrap, .gh-doc-table-wrap, .gh-ms-table-wrap { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.gh-table, .gh-doc-table, .gh-ms-table { max-width:none; }
.gh-public-menu-toggle { touch-action:manipulation; }
.gh-sidebar { will-change:transform; }
body.gh-menu-open { overflow:hidden; }
.gh-mobile-backdrop { display:none; position:fixed; inset:0; background:rgba(15,23,42,.42); backdrop-filter:blur(2px); z-index:65; }
body.gh-menu-open .gh-mobile-backdrop { display:block; }

@media (max-width: 1180px) {
  .gh-container, .gh-public-nav, .gh-footer { width:calc(100% - 24px) !important; }
  .gh-hero, .gh-top-hero, .gh-legal-hero, .gh-services-hero, .gh-doc-hero { grid-template-columns:1fr !important; }
  .gh-grid-3, .gh-public-services-grid, .gh-services-grid, .gh-services-info-grid, .gh-server-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .gh-stats, .gh-ms-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .gh-support-layout { grid-template-columns:1fr !important; }
  .gh-doc-layout { grid-template-columns:1fr !important; }
  .gh-doc-nav { position:static !important; }
  .gh-doc-nav .gh-card { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:6px !important; }
  .gh-ms-hero { grid-template-columns:1fr !important; }
  .gh-ms-tools { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 1050px) {
  .gh-public-nav { position:sticky !important; top:10px !important; align-items:center !important; border-radius:24px !important; }
  .gh-public-actions { margin-left:auto !important; }
  .gh-public-menu-toggle { display:inline-grid !important; place-items:center !important; }
  .gh-public-links { display:none !important; position:absolute !important; left:0 !important; right:0 !important; top:calc(100% + 8px) !important; z-index:100 !important; grid-template-columns:1fr !important; gap:8px !important; padding:10px !important; border:1px solid var(--gh-border) !important; border-radius:22px !important; background:rgba(255,255,255,.96) !important; box-shadow:var(--gh-shadow) !important; backdrop-filter:blur(22px) !important; max-height:calc(100vh - 92px) !important; overflow:auto !important; }
  html[data-theme="dark"] .gh-public-links { background:rgba(15,23,42,.96) !important; }
  .gh-public-nav.open .gh-public-links { display:grid !important; }
  .gh-public-links a, .gh-public-links .gh-btn { width:100% !important; justify-content:center !important; text-align:center !important; min-height:44px !important; }

  .gh-app { width:calc(100% - 20px) !important; margin:10px auto !important; grid-template-columns:1fr !important; gap:12px !important; }
  .gh-sidebar { position:fixed !important; left:10px !important; top:10px !important; bottom:10px !important; width:min(330px,calc(100vw - 20px)) !important; min-height:0 !important; overflow:auto !important; z-index:70 !important; transform:translateX(calc(-100% - 32px)) !important; transition:transform .22s ease !important; border-radius:24px !important; }
  .gh-sidebar.open { transform:translateX(0) !important; }
  .gh-mobile-toggle { display:grid !important; place-items:center !important; right:14px !important; bottom:14px !important; z-index:90 !important; }
  .gh-topbar { border-radius:24px !important; padding:15px 66px 15px 16px !important; display:grid !important; grid-template-columns:1fr !important; align-items:start !important; }
  .gh-top-actions { justify-content:flex-start !important; width:100% !important; }
  .gh-top-actions .gh-btn { min-height:42px !important; }

  .gh-hero { padding:46px 0 26px !important; }
  .gh-top-hero { padding:42px 0 14px !important; }
  .gh-section { padding:32px 0 !important; }
  .gh-section-head { display:grid !important; grid-template-columns:1fr !important; gap:12px !important; align-items:start !important; }
  .gh-section-actions { width:100% !important; }
  .gh-section-actions .gh-btn { width:100% !important; }
  .gh-grid-2, .gh-grid-3, .gh-dashboard-hero, .gh-plan-picker, .gh-form-grid, .gh-public-services-grid,
  .gh-services-grid, .gh-services-info-grid, .gh-services-hero, .gh-services-hero-side, .gh-server-grid { grid-template-columns:1fr !important; }
  .gh-auth-shell { width:calc(100% - 20px) !important; margin:14px auto !important; grid-template-columns:1fr !important; }
  .gh-auth-side { min-height:0 !important; }
  .gh-legal-tabs { top:78px !important; max-width:calc(100% - 24px) !important; }
  .gh-legal-contact-grid, .gh-legal-form .gh-form-grid { grid-template-columns:1fr !important; }
  .gh-top-grid { grid-template-columns:1fr !important; }
  .gh-top-server-card { grid-template-columns:64px minmax(0,1fr) !important; grid-template-areas:"place info" "place desc" "metrics metrics" "actions actions" !important; }
  .gh-top-server-card .gh-top-place { grid-area:place !important; }
  .gh-top-server-card .gh-server-top { grid-area:info !important; }
  .gh-top-server-card > p { grid-area:desc !important; }
  .gh-top-server-card .gh-top-metrics { grid-area:metrics !important; }
  .gh-top-server-card .gh-server-actions { grid-area:actions !important; justify-content:flex-start !important; }
  .gh-support-ticket-list { max-height:360px !important; }
}

@media (max-width: 820px) {
  .gh-container, .gh-public-nav, .gh-footer { width:calc(100% - 16px) !important; }
  .gh-public-nav { top:8px !important; margin-top:8px !important; padding:8px !important; gap:8px !important; }
  .gh-logo { width:38px !important; height:38px !important; border-radius:14px !important; }
  .gh-brand { gap:9px !important; }
  .gh-brand-title { font-size:.94rem !important; }
  .gh-brand-sub { font-size:.68rem !important; }
  .gh-theme-toggle, .gh-public-menu-toggle { width:38px !important; height:38px !important; flex:0 0 auto !important; }

  .gh-hero h1, .gh-top-hero h1, .gh-legal-hero h1, .gh-auth-side h1 { font-size:clamp(2rem,10vw,3.3rem) !important; line-height:1 !important; letter-spacing:-.055em !important; }
  .gh-lead { font-size:.96rem !important; line-height:1.65 !important; }
  .gh-kicker { max-width:100% !important; white-space:normal !important; border-radius:16px !important; font-size:.76rem !important; }
  .gh-actions { display:grid !important; grid-template-columns:1fr !important; gap:9px !important; }
  .gh-actions .gh-btn { width:100% !important; min-height:44px !important; justify-content:center !important; }
  .gh-hero-meta { display:grid !important; grid-template-columns:1fr !important; gap:8px !important; }
  .gh-pill { width:100% !important; justify-content:center !important; text-align:center !important; }
  .gh-mini-stats { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:8px !important; }
  .gh-preview, .gh-card, .gh-plan, .gh-public-service, .gh-legal-card, .gh-legal-meta-card,
  .gh-form-card, .gh-auth-card, .gh-auth-side, .gh-server-card, .gh-service-card, .gh-hero-card { border-radius:22px !important; padding:16px !important; }
  .gh-page-title { font-size:1.65rem !important; line-height:1.08 !important; }
  .gh-page-sub { font-size:.92rem !important; }
  .gh-stats, .gh-top-summary, .gh-ms-grid, .gh-doc-stats { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:9px !important; }
  .gh-stat { padding:14px !important; border-radius:20px !important; }
  .gh-stat .v { font-size:1.45rem !important; }
  .gh-server-top { align-items:flex-start !important; }
  .gh-server-icon, .gh-server-fallback { width:48px !important; height:48px !important; border-radius:17px !important; flex:0 0 auto !important; }
  .gh-server-name, .gh-server-code { white-space:normal !important; overflow:visible !important; text-overflow:clip !important; line-height:1.3 !important; }
  .gh-meta-row { display:grid !important; grid-template-columns:1fr !important; gap:7px !important; }
  .gh-badge { width:100% !important; justify-content:center !important; text-align:center !important; border-radius:14px !important; }
  .gh-server-actions { display:grid !important; grid-template-columns:1fr !important; gap:8px !important; }
  .gh-server-actions .gh-btn { width:100% !important; justify-content:center !important; }
  .gh-table { min-width:620px !important; }
  .gh-footer { margin:26px auto 16px !important; border-radius:22px !important; padding:16px !important; display:grid !important; grid-template-columns:1fr !important; }
  .gh-footer div:last-child { display:grid !important; grid-template-columns:1fr 1fr !important; gap:8px !important; justify-content:stretch !important; }
  .gh-footer a { margin:0 !important; padding:8px 0 !important; text-align:left !important; }

  .gh-legal-tabs { position:relative !important; top:auto !important; width:calc(100% - 16px) !important; max-width:none !important; display:grid !important; grid-template-columns:1fr 1fr !important; overflow:visible !important; gap:6px !important; border-radius:20px !important; }
  .gh-legal-tabs a { text-align:center !important; white-space:normal !important; }
  .gh-legal-title-row { align-items:flex-start !important; }
  .gh-legal-actions { display:grid !important; grid-template-columns:1fr !important; }
  .gh-legal-actions .gh-btn { width:100% !important; justify-content:center !important; }

  .gh-doc-title { font-size:1.7rem !important; }
  .gh-doc-grid, .gh-doc-stats, .gh-doc-nav .gh-card { grid-template-columns:1fr !important; }
  .gh-doc-table { min-width:640px !important; }
  .gh-doc-table th, .gh-doc-table td { padding:10px !important; }
  .gh-doc-list li { grid-template-columns:30px minmax(0,1fr) !important; }

  .gh-support-layout { gap:12px !important; }
  .gh-support-list-card, .gh-support-chat-card { padding:14px !important; border-radius:22px !important; }
  .gh-support-chat-head { display:grid !important; gap:10px !important; }
  .gh-support-status-form { display:grid !important; grid-template-columns:1fr !important; justify-content:stretch !important; }
  .gh-support-status-form .gh-input, .gh-support-status-form .gh-btn { width:100% !important; }
  .gh-support-reply { grid-template-columns:1fr !important; }
  .gh-support-reply .gh-btn { width:100% !important; justify-content:center !important; }
  .gh-support-msg { max-width:94% !important; }
  .gh-support-chat { max-height:58vh !important; padding:10px !important; }
  .gh-support-filters { display:grid !important; grid-template-columns:1fr 1fr !important; }
  .gh-support-filters a { text-align:center !important; }

  .gh-top-summary-card { padding:13px !important; border-radius:18px !important; }
  .gh-top-summary-card b { font-size:1.35rem !important; }
  .gh-top-server-card { grid-template-columns:1fr !important; grid-template-areas:"place" "info" "desc" "metrics" "actions" !important; padding:14px !important; border-radius:22px !important; }
  .gh-top-server-card .gh-top-place, .gh-top-mini-place { position:static !important; justify-self:start !important; width:auto !important; height:auto !important; display:inline-flex !important; padding:8px 12px !important; border-radius:16px !important; }
  .gh-top-metrics { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:8px !important; }
  .gh-top-metrics span { padding:9px !important; border-radius:15px !important; }

  .gh-services-hero-main, .gh-services-hero-side { grid-template-columns:1fr !important; }
  .gh-service-card-top { display:grid !important; grid-template-columns:1fr !important; gap:10px !important; }
  .gh-service-meta { display:grid !important; grid-template-columns:1fr !important; }
  .gh-service-card .gh-btn, .gh-public-service .gh-btn { width:100% !important; justify-content:center !important; }

  .gh-ms-hero { border-radius:24px !important; padding:16px !important; }
  .gh-ms-profile { flex-direction:column !important; align-items:flex-start !important; gap:12px !important; }
  .gh-ms-icon { width:82px !important; height:82px !important; border-radius:22px !important; }
  .gh-ms-title { font-size:clamp(1.65rem,9vw,2.25rem) !important; line-height:1.02 !important; }
  .gh-ms-hero-actions, .gh-ms-tool-footer, .gh-ms-link-row, .gh-ms-modal-actions { display:grid !important; grid-template-columns:1fr !important; gap:8px !important; justify-content:stretch !important; }
  .gh-ms-hero-actions .gh-btn, .gh-ms-tool-footer .gh-btn, .gh-ms-link-row .gh-btn, .gh-ms-modal-actions .gh-btn { width:100% !important; justify-content:center !important; }
  .gh-ms-status-row { align-items:flex-start !important; flex-direction:column !important; }
  .gh-ms-value { text-align:left !important; }
  .gh-ms-grid, .gh-ms-tools, .gh-ms-preview-grid, .gh-ms-form-grid, .gh-ms-builds { grid-template-columns:1fr !important; }
  .gh-ms-card { border-radius:22px !important; padding:15px !important; }
  .gh-ms-card-head { display:grid !important; grid-template-columns:1fr !important; gap:10px !important; }
  .gh-ms-stat { border-radius:20px !important; padding:13px !important; }
  .gh-ms-table { min-width:720px !important; }
  .gh-ms-input.tiny, .gh-ms-input.small, .gh-ms-input.long { width:100% !important; min-width:0 !important; }
  .gh-ms-modal { padding:8px !important; align-items:stretch !important; }
  .gh-ms-dialog { width:calc(100vw - 16px) !important; max-height:calc(100vh - 16px) !important; border-radius:24px !important; }
  .gh-ms-modal-head { padding:70px 14px 14px !important; min-height:0 !important; }
  .gh-ms-modal-brand { left:14px !important; top:14px !important; width:44px !important; height:44px !important; border-radius:17px !important; }
  .gh-ms-close { position:absolute !important; top:14px !important; right:14px !important; }
  .gh-ms-modal-body { padding:14px !important; }
  .gh-ms-modal-toolbar { margin:-14px -14px 14px !important; padding:12px 14px !important; flex-direction:column !important; align-items:stretch !important; }
  .gh-ms-search-wrap { min-width:0 !important; }
  .gh-ms-row-count { justify-content:center !important; }

  .gh-apk-dialog { width:calc(100vw - 16px) !important; max-height:calc(100vh - 16px) !important; border-radius:24px !important; }
  .gh-apk-head, .gh-apk-actions { display:grid !important; grid-template-columns:1fr !important; gap:10px !important; }
  .gh-apk-actions .gh-btn { width:100% !important; }
  .gh-apk-steps { grid-template-columns:1fr !important; }
  .gh-apk-log { max-height:38vh !important; overflow:auto !important; white-space:pre-wrap !important; word-break:break-word !important; }
}

@media (max-width: 560px) {
  .gh-container, .gh-public-nav, .gh-footer, .gh-app, .gh-auth-shell { width:calc(100% - 12px) !important; }
  .gh-public-nav { border-radius:18px !important; }
  .gh-brand-sub { display:none !important; }
  .gh-brand-title { font-size:.88rem !important; }
  .gh-logo { width:36px !important; height:36px !important; border-radius:13px !important; }
  .gh-theme-toggle, .gh-public-menu-toggle { width:36px !important; height:36px !important; }
  .gh-public-actions { gap:6px !important; }
  .gh-public-links { border-radius:18px !important; }
  .gh-hero, .gh-top-hero, .gh-legal-hero { padding-top:28px !important; }
  .gh-hero h1, .gh-top-hero h1, .gh-legal-hero h1, .gh-auth-side h1 { font-size:clamp(1.82rem,12vw,2.65rem) !important; }
  .gh-section { padding:24px 0 !important; }
  .gh-section-title { font-size:clamp(1.42rem,8.5vw,2rem) !important; }
  .gh-card-icon, .gh-service-icon { width:40px !important; height:40px !important; border-radius:15px !important; }
  .gh-mini-stats, .gh-stats, .gh-top-summary, .gh-ms-grid, .gh-doc-stats { grid-template-columns:1fr !important; }
  .gh-tabs { width:100% !important; display:grid !important; grid-template-columns:1fr 1fr !important; border-radius:18px !important; }
  .gh-tab { text-align:center !important; border-radius:14px !important; padding:10px 8px !important; }
  .gh-input, .gh-textarea, .gh-select, .gh-ms-input, .gh-ms-textarea, .gh-ms-select { border-radius:14px !important; font-size:16px !important; }
  .gh-btn { white-space:normal !important; line-height:1.2 !important; }
  .gh-footer div:last-child { grid-template-columns:1fr !important; }
  .gh-footer a { border-top:1px solid var(--gh-border) !important; }
  .gh-legal-tabs { grid-template-columns:1fr !important; width:calc(100% - 12px) !important; }
  .gh-legal-card p { line-height:1.7 !important; }
  .gh-legal-list li { padding-left:24px !important; }
  .gh-support-filters { grid-template-columns:1fr !important; }
  .gh-support-ticket-top { display:grid !important; grid-template-columns:1fr !important; }
  .gh-support-ticket em { width:max-content !important; max-width:100% !important; }
  .gh-support-chat { max-height:54vh !important; }
  .gh-support-msg { max-width:100% !important; }
  .gh-support-bubble { padding:11px 12px !important; border-radius:17px !important; }
  .gh-top-metrics { grid-template-columns:1fr !important; }
  .gh-top-summary-card em { display:none !important; }
  .gh-public-service, .gh-service-card { min-height:0 !important; }
  .gh-service-price { font-size:1.65rem !important; }
  .gh-doc-table, .gh-table { min-width:560px !important; }
  .gh-ms-table { min-width:640px !important; }
  .gh-ms-modal-title { font-size:1.12rem !important; }
  .gh-ms-modal-sub { font-size:.82rem !important; }
  .gh-ms-modal-actions { margin-left:-14px !important; margin-right:-14px !important; padding:12px 14px !important; }
  .gh-toast-stack { left:8px !important; right:8px !important; top:8px !important; }
  .gh-toast { width:100% !important; max-width:none !important; }
}

@media (max-width: 390px) {
  .gh-container, .gh-public-nav, .gh-footer, .gh-app, .gh-auth-shell { width:calc(100% - 10px) !important; }
  .gh-public-nav { padding:7px !important; }
  .gh-brand-title { font-size:.82rem !important; }
  .gh-logo, .gh-theme-toggle, .gh-public-menu-toggle { width:34px !important; height:34px !important; }
  .gh-hero h1, .gh-top-hero h1, .gh-legal-hero h1, .gh-auth-side h1 { font-size:1.72rem !important; }
  .gh-card, .gh-plan, .gh-public-service, .gh-legal-card, .gh-legal-meta-card, .gh-form-card,
  .gh-auth-card, .gh-auth-side, .gh-server-card, .gh-service-card, .gh-hero-card, .gh-ms-card { padding:13px !important; }
  .gh-page-title { font-size:1.48rem !important; }
  .gh-topbar { padding:14px 60px 14px 14px !important; }
  .gh-sidebar { left:6px !important; top:6px !important; bottom:6px !important; width:calc(100vw - 12px) !important; }
  .gh-mobile-toggle { right:10px !important; bottom:10px !important; width:46px !important; height:46px !important; }
  .gh-server-icon, .gh-server-fallback { width:44px !important; height:44px !important; border-radius:15px !important; }
  .gh-table, .gh-doc-table { min-width:520px !important; }
  .gh-ms-table { min-width:600px !important; }
}

/* Server social links editor */
.gh-ms-social-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px}.gh-ms-social-field{display:grid;gap:8px;border:1px solid var(--gh-border,#e5e7eb);background:rgba(255,255,255,.72);border-radius:18px;padding:12px}.gh-ms-social-label{display:inline-flex;align-items:center;gap:8px;font-weight:900;color:var(--gh-text,#111827);font-size:.92rem}.gh-ms-social-label i{font-size:1.1rem;color:var(--gh-accent,#4f46e5)}:root[data-theme="dark"] .gh-ms-social-field{background:rgba(15,23,42,.74);border-color:rgba(148,163,184,.24)}@media(max-width:900px){.gh-ms-social-grid{grid-template-columns:1fr}}@media(max-width:560px){.gh-ms-social-field{border-radius:16px;padding:10px}}
