/* HourBoost — quiet dark surfaces, soft glass and native system typography. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  color-scheme: dark;
  --bg-primary: #0a0c10;
  --bg-secondary: #10141c;
  --bg-card: rgba(22, 27, 36, .30);
  --bg-card-hover: rgba(29, 36, 47, .42);
  --accent: #78a9f9;
  --accent-hover: #9bc1ff;
  --accent-glow: rgba(104, 158, 246, .14);
  --primary: #b6d3ff;
  --text-primary: #f0f2f6;
  --text-secondary: #a5adba;
  --text-muted: #8993a3;
  --success: #7fd5ad;
  --warning: #e6bf77;
  --danger: #f199a3;
  --border: rgba(185, 204, 235, .11);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 64px rgba(0, 0, 0, .22);
  --transition: 180ms ease;
}
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; min-height: 100vh; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse 65% 48% at 50% -8%, rgba(58, 88, 137, .17), transparent 80%); pointer-events: none; z-index: -1; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button, a, input, select, textarea { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { color: #fff; background: #325e9e; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.035em; line-height: 1.18; }
strong { font-weight: 600; color: #d9e0ec; }
svg { flex-shrink: 0; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 5000; padding: 10px 18px; background: var(--accent); color: #081321; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.w-full { width: 100%; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.form-help { color: var(--text-muted); font-size: .8rem; display: block; margin-top: 8px; line-height: 1.6; }
.empty-state { text-align: center; color: var(--text-muted); padding: 42px 20px; }
.eyebrow { color: var(--accent); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: 14px; }
/* Navigation */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10, 13, 18, .76); backdrop-filter: blur(24px) saturate(145%); -webkit-backdrop-filter: blur(24px) saturate(145%); border-bottom: 1px solid var(--border); padding: 0 max(28px, calc((100vw - 1200px) / 2)); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar-brand { display: flex; align-items: center; gap: 11px; color: var(--text-primary); font-size: 1.05rem; font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.navbar-brand:hover { color: #fff; }
.navbar-brand svg { width: 31px; height: 31px; filter: drop-shadow(0 2px 7px rgba(89, 141, 229, .14)); }
.navbar-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.navbar-links a { font-size: .83rem; color: #aeb5c0; font-weight: 450; }
.navbar-links a:hover, .navbar-links a[aria-current] { color: #fff; }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.navbar .btn { min-height: 36px; border-radius: 10px; }
.admin-navbar { position: static; }
/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 21px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 550; letter-spacing: -.01em; cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: #79a9f6; border-color: #8ab4f9; color: #0b182e; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 3px 12px rgba(36, 77, 143, .14); }
.btn-primary:hover { background: #96bdff; border-color: #aacbff; color: #07142a; transform: translateY(-1px); box-shadow: 0 4px 24px rgba(75, 129, 211, .17); }
.btn-secondary { background: rgba(255, 255, 255, .025); border-color: rgba(199, 216, 243, .15); color: #d9dfe9; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
.btn-secondary:hover { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(199, 216, 243, .28); }
.btn-danger { background: rgba(218, 106, 124, .1); color: var(--danger); border-color: rgba(233, 139, 151, .18); }
.btn-danger:hover { background: rgba(218, 106, 124, .2); color: #ffc6cd; }
.btn-success { background: #a0d8be; color: #10241b; border-color: #b5e6ce; }
.btn-success:hover { background: #bce8d3; color: #10241b; }
.btn-sm { padding: 7px 14px; min-height: 34px; font-size: .77rem; }
.btn-lg { padding: 14px 25px; min-height: 50px; font-size: .9rem; border-radius: 13px; }
.btn:disabled, .btn.loading { cursor: wait; opacity: .6; pointer-events: none; }
.btn:active { transform: translateY(0); }
/* Intro */
.hero { padding: 158px 24px 52px; text-align: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; color: #bdcce2; font-size: .75rem; letter-spacing: .015em; padding: 6px 12px; border: 1px solid rgba(148, 179, 227, .16); background: rgba(89, 126, 183, .06); border-radius: 30px; margin-bottom: 26px; }
.hero-badge::before { content: ""; width: 5px; height: 5px; background: #8aafe6; border-radius: 50%; }
.hero h1 { font-size: clamp(2.5rem, 5.7vw, 4.5rem); font-weight: 620; letter-spacing: -.055em; line-height: 1.09; margin-bottom: 23px; }
.hero h1 span { color: #98bbf1; }
.hero p { font-size: 1.02rem; color: var(--text-secondary); max-width: 540px; margin: 0 auto 29px; line-height: 1.8; letter-spacing: -.012em; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; }
.hero-note { display: block; margin-top: 17px; font-size: .73rem; color: var(--text-muted); }
.hero-compact { padding-top: 145px; padding-bottom: 36px; }
.hero-compact h1 { font-size: clamp(2.35rem, 5vw, 3.5rem); }
/* An explicitly labelled illustration of the real panel workflow. */
.preview-wrap { max-width: 1060px; margin: 0 auto 10px; padding: 0 24px; }
.product-preview { position: relative; background: linear-gradient(120deg, rgba(30, 39, 53, .92), rgba(16, 21, 29, .97)); border: 1px solid rgba(176, 201, 240, .17); border-radius: 22px; box-shadow: 0 30px 100px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 23px; border-bottom: 1px solid var(--border); color: #acb8c9; font-size: .7rem; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #566174; }
.window-dots i:nth-child(2) { background: #3f4a5b; }
.window-dots i:nth-child(3) { background: #333e4e; }
.preview-location { display: flex; align-items: center; gap: 7px; opacity: .85; }
.preview-location svg { width: 11px; height: 11px; }
.preview-label { color: #8392a8; font-size: .62rem; letter-spacing: .12em; }
.preview-content { display: grid; grid-template-columns: 174px 1fr; min-height: 270px; }
.preview-sidebar { padding: 27px 16px; border-right: 1px solid var(--border); background: rgba(5, 9, 15, .14); }
.preview-brand { font-size: .79rem; font-weight: 600; color: #dde5f1; margin: 0 9px 24px; }
.preview-nav-item { color: #7f8da1; font-size: .73rem; padding: 10px 12px; border-radius: 9px; margin-bottom: 5px; display: flex; align-items: center; gap: 9px; }
.preview-nav-item svg { width: 14px; height: 14px; }
.preview-nav-item.selected { color: #b2d0ff; background: rgba(108, 158, 237, .09); }
.preview-main { padding: 27px 28px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 26px; }
.preview-heading h2 { font-size: 1.14rem; letter-spacing: -.025em; margin-bottom: 4px; }
.preview-heading p { font-size: .72rem; color: var(--text-muted); }
.preview-status { border: 1px solid rgba(119, 163, 226, .17); border-radius: 20px; padding: 5px 10px; font-size: .62rem; color: #a7c5ee; white-space: nowrap; }
.preview-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.preview-game { background: rgba(255, 255, 255, .025); border: 1px solid rgba(195, 212, 239, .08); border-radius: 13px; padding: 15px; display: flex; gap: 11px; align-items: center; }
.game-monogram { width: 36px; height: 42px; flex-shrink: 0; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; letter-spacing: -.05em; }
.game-monogram.cs { color: #e5c48c; background: linear-gradient(145deg, #39352c, #282622); }
.game-monogram.rust { color: #d3968b; background: linear-gradient(145deg, #3f2c2b, #2b2226); }
.game-monogram.dota { color: #c39fae; background: linear-gradient(145deg, #3a2934, #25212b); }
.preview-game strong { font-size: .69rem; letter-spacing: -.015em; display: block; white-space: nowrap; }
.preview-game small { font-size: .61rem; color: var(--text-muted); display: block; margin-top: 3px; }
.preview-bottom { display: flex; align-items: center; gap: 8px; color: #a5b3c7; font-size: .67rem; margin-top: 24px; }
.preview-bottom svg { width: 13px; height: 13px; color: #8eaad2; }
.preview-bottom span:last-child { margin-left: auto; color: #72839c; }
/* Plan facts */
.stats-bar { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 43px 24px 28px; }
.stat-item { text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 1.35rem; letter-spacing: -.04em; font-weight: 600; color: #d8e4f7; }
.stat-label { font-size: .7rem; color: var(--text-muted); margin-top: 5px; }
/* Sections and game library */
.section { max-width: 1160px; padding: 72px 28px; margin: 0 auto; }
.section-title { margin-bottom: 32px; }
.section-title h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 11px; }
.section-title p { color: var(--text-secondary); font-size: .93rem; }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.section-title-row p { max-width: 315px; margin-bottom: 3px; }
.games-section { padding-bottom: 58px; }
.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.game-card { background: linear-gradient(140deg, rgba(30, 36, 46, .56), rgba(17, 22, 30, .6)); border: 1px solid var(--border); border-radius: 16px; padding: 24px 15px 19px; text-align: center; transition: border-color var(--transition), background var(--transition); }
.game-card:hover { border-color: rgba(147, 183, 236, .25); background: rgba(32, 41, 56, .65); }
.game-card .game-monogram { margin: 0 auto 18px; width: 49px; height: 59px; border-radius: 10px; font-size: .95rem; }
.game-card .game-monogram { position: relative; overflow: hidden; }
.game-card .game-monogram img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7px; transition: transform .2s ease; }
.game-card:hover .game-monogram img { transform: scale(1.06); }
.game-monogram.source { color: #a3b7b3; background: linear-gradient(145deg, #2b3736, #202a2b); }
.game-monogram.tf { color: #ccb196; background: linear-gradient(145deg, #3a322b, #282622); }
.game-monogram.more { color: #a6bddc; background: linear-gradient(145deg, #273548, #1d2633); font-size: 1.6rem; font-weight: 300; }
.game-card h3 { font-size: .75rem; line-height: 1.5; letter-spacing: -.015em; min-height: 2.2em; }
.game-card p { margin-top: 7px; font-size: .64rem; color: var(--text-muted); }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color var(--transition), background var(--transition), transform var(--transition); }
.feature-card:hover { border-color: rgba(163, 190, 231, .22); background: var(--bg-card-hover); transform: translateY(-2px); }
.feature-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #a9c6f1; background: rgba(125, 167, 230, .07); border: 1px solid rgba(140, 179, 238, .11); margin-bottom: 25px; }
.feature-icon svg { width: 19px; height: 19px; stroke-width: 1.5; }
.feature-card h3 { font-size: 1rem; margin-bottom: 10px; letter-spacing: -.022em; }
.feature-card p { font-size: .82rem; color: var(--text-secondary); line-height: 1.8; }
/* Pricing */
.pricing-section { background: linear-gradient(135deg, rgba(23, 32, 47, .5), rgba(13, 18, 25, .4)); border: 1px solid var(--border); border-radius: 26px; margin-top: 26px; margin-bottom: 20px; padding: 48px 28px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 auto; align-items: stretch; }
.pricing-card { background: rgba(22, 28, 38, .8); border: 1px solid var(--border); border-radius: 18px; padding: 27px 19px 20px; position: relative; display: flex; flex-direction: column; text-align: left; }
.pricing-card h3 { font-size: .92rem; letter-spacing: -.02em; }
.plan-description { color: var(--text-muted); font-size: .65rem; margin-top: 6px; }
.pricing-card .price { order: 3; color: var(--text-primary); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 600; letter-spacing: -.07em; line-height: 1; margin: 24px 0 12px; white-space: nowrap; }
.pricing-card .price span { font-size: .64rem; color: var(--text-muted); font-weight: 400; display: block; letter-spacing: 0; margin-top: 10px; }
.pricing-card .price .price-value { display: inline !important; font-size: inherit; color: inherit; font-weight: inherit; letter-spacing: inherit; margin: 0; }
.pricing-card h3 { order: 1; }
.pricing-card .pricing-features { order: 2; }
.pricing-card > .btn { order: 4; }
.pricing-features { list-style: none; margin: 23px 0 25px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 7px; color: #b2bccb; font-size: .69rem; padding: 7px 0; line-height: 1.55; }
.pricing-features li::before { content: "✓"; color: #8faed9; flex-shrink: 0; }
.pricing-card .btn { font-size: .72rem; padding: 9px 11px; min-height: 39px; width: 100%; border-radius: 10px; color: #dcecff; border-color: rgba(119, 199, 255, .34); background: linear-gradient(135deg, rgba(71, 164, 225, .22), rgba(103, 126, 230, .22)); box-shadow: 0 8px 22px rgba(37, 123, 194, .10), inset 0 1px 0 rgba(255,255,255,.10); }
.pricing-card .btn:hover,
.pricing-card .btn:focus-visible { color: #071522; border-color: rgba(184, 229, 255, .82); background: linear-gradient(135deg, #75d1ff, #94b6ff); box-shadow: 0 12px 30px rgba(65, 174, 240, .30), inset 0 1px 0 rgba(255,255,255,.42); transform: translateY(-2px); }
.pricing-card.unlimited-plan { border-color: rgba(220, 177, 89, .34); background: linear-gradient(150deg, rgba(101, 73, 24, .27), rgba(36, 30, 27, .62) 62%, rgba(18, 24, 36, .76)); box-shadow: 0 22px 58px rgba(0,0,0,.25), 0 0 36px rgba(207, 154, 53, .055), inset 0 1px 0 rgba(255, 226, 158, .10); }
.pricing-card.unlimited-plan h3, .pricing-card.unlimited-plan .price { color: #f0d69a; }
.pricing-card.unlimited-plan .pricing-features li::before { color: #d8b66e; }
.pricing-card.unlimited-plan .btn { color: #f4dfaa; border-color: rgba(226, 187, 103, .42); background: linear-gradient(135deg, rgba(172, 126, 42, .25), rgba(114, 78, 24, .28)); box-shadow: 0 8px 24px rgba(154, 108, 30, .13), inset 0 1px 0 rgba(255, 232, 177, .12); }
.pricing-card.unlimited-plan .btn:hover,
.pricing-card.unlimited-plan .btn:focus-visible { color: #241704; border-color: rgba(255, 222, 143, .88); background: linear-gradient(135deg, #e7bc62, #f4d58c); box-shadow: 0 12px 32px rgba(205, 152, 48, .30), inset 0 1px 0 rgba(255,255,255,.38); }
.pricing-plans { padding-top: 22px; }
.pricing-note a { display: inline-flex; align-items: center; gap: 5px; }
.pricing-note svg { width: 13px; height: 13px; }
.pricing-note { color: var(--text-muted); text-align: center; font-size: .73rem; margin-top: 25px; }
.purchase-section { text-align: center; max-width: 740px; padding-top: 38px; }
.purchase-section h2 { font-size: 1.65rem; margin-bottom: 18px; }
.purchase-section p { color: var(--text-secondary); font-size: .88rem; line-height: 1.9; }
.contact-actions { display: flex; gap: 12px; justify-content: center; margin-top: 25px; flex-wrap: wrap; }
/* FAQ */
.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; padding-top: 90px; padding-bottom: 90px; }
.faq-section .section-title { max-width: 295px; }
.faq-list { display: flex; flex-direction: column; gap: 9px; width: 100%; max-width: 820px; margin: 0 auto; }
.faq-item { background: rgba(23, 29, 39, .5); border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
.faq-question { font: inherit; color: #d5dce7; width: 100%; padding: 18px 20px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; font-size: .81rem; font-weight: 500; transition: background var(--transition); }
.faq-question:hover { background: rgba(255, 255, 255, .025); }
.faq-question::after { content: "+"; color: #9fb9e1; font-size: 1.15rem; font-weight: 300; flex-shrink: 0; line-height: 1; }
.faq-item.active .faq-question::after { content: "−"; }
.faq-answer { display: none; padding: 0 20px 19px; color: var(--text-secondary); font-size: .79rem; line-height: 1.9; }
.faq-item.active .faq-answer { display: block; }
.support-faq { padding-top: 15px; padding-bottom: 52px; }
.support-contact { text-align: center; border-top: 1px solid var(--border); padding-top: 50px; padding-bottom: 80px; }
.support-contact h2 { margin-bottom: 12px; font-size: 1.7rem; }
.support-contact p { color: var(--text-secondary); font-size: .88rem; }
/* Footer */
.footer { border-top: 1px solid var(--border); background: rgba(6, 9, 14, .3); padding: 46px 28px 25px; }
.footer-content { max-width: 1104px; margin: 0 auto; display: grid; grid-template-columns: 1fr 170px 130px; gap: 50px; }
.footer-brand { font-size: 1rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: 10px; }
.footer-desc { max-width: 275px; font-size: .78rem; line-height: 1.8; color: var(--text-muted); }
.footer-links h4 { font-size: .73rem; margin-bottom: 15px; letter-spacing: 0; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .74rem; color: var(--text-muted); }
.footer-links a:hover { color: #d9e5f5; }
.footer-bottom { max-width: 1104px; margin: 34px auto 0; padding-top: 22px; border-top: 1px solid var(--border); font-size: .68rem; color: #778294; }
/* Authentication */
.auth-container { min-height: 82vh; display: flex; align-items: center; justify-content: center; padding: 135px 24px 75px; }
.auth-card { background: linear-gradient(145deg, rgba(30, 37, 49, .79), rgba(17, 23, 32, .86)); border: 1px solid rgba(193, 214, 248, .13); border-radius: 24px; padding: 36px; width: 100%; max-width: 430px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .035); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.auth-mark { margin: 0 auto 25px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #a1c1f1; border: 1px solid rgba(145, 182, 238, .18); border-radius: 13px; background: rgba(126, 172, 242, .06); }
.auth-mark svg { width: 23px; height: 23px; }
.auth-card h1 { text-align: center; font-size: 1.65rem; margin-bottom: 10px; }
.auth-card .subtitle { color: var(--text-secondary); text-align: center; font-size: .82rem; margin-bottom: 30px; }
.auth-card .btn[type="submit"] { margin-top: 6px; width: 100%; }
.auth-footer { text-align: center; color: var(--text-muted); font-size: .78rem; margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--border); }
.auth-footer a { color: #b3cff8; }
.auth-security-note { text-align: center; color: var(--text-muted); font-size: .69rem; margin-top: 18px; }
body[data-page="admin-login"] .auth-container { min-height: 100vh; padding-top: 70px; }
/* Forms */
.form-group { margin-bottom: 19px; }
.form-group label { display: block; font-size: .77rem; font-weight: 500; color: #b9c2d0; margin-bottom: 8px; }
.form-input { width: 100%; background: rgba(5, 10, 18, .47); border: 1px solid rgba(177, 199, 231, .15); border-radius: 11px; padding: 12px 14px; color: var(--text-primary); font-size: .85rem; transition: border-color var(--transition), box-shadow var(--transition); outline: none; min-height: 46px; }
.form-input:focus { border-color: rgba(139, 181, 248, .7); box-shadow: 0 0 0 3px rgba(104, 158, 246, .09); }
.form-input::placeholder { color: #6f7c90; opacity: 1; }
.form-input[readonly] { color: #c6d8f3; }
textarea.form-input { resize: vertical; line-height: 1.8; }
select.form-input { color-scheme: dark; cursor: pointer; }
.form-error { color: var(--danger); font-size: .77rem; margin-top: 7px; display: none; }
.form-error.visible { display: block; }
.form-row { display: flex; flex-wrap: wrap; gap: 15px; align-items: flex-end; }
.form-row .form-group { flex: 1; min-width: 150px; margin-bottom: 0; }
.form-row .form-group.form-short { flex: .35; min-width: 100px; }
.license-form { display: flex; flex-wrap: wrap; gap: 12px; }
.license-form .form-input { flex: 1; min-width: 200px; }
.panel-description { color: var(--text-secondary); font-size: .82rem; margin-bottom: 20px; max-width: 700px; line-height: 1.8; }
/* Dashboard */
.dashboard { padding-top: 115px; padding-bottom: 70px; min-height: 100vh; max-width: 1240px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.dashboard-header h1 { font-size: 2.2rem; margin-bottom: 7px; }
.dashboard-header p { color: var(--text-secondary); font-size: .83rem; }
.dashboard-email { display: block; color: var(--text-muted); font-size: .78rem; letter-spacing: 0; font-weight: 400; margin-top: 12px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin-bottom: 26px; }
.dash-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: 17px; padding: 22px 20px; }
.dash-stat .label { color: var(--text-secondary); font-size: .71rem; margin-bottom: 12px; }
.dash-stat .value { font-size: 1.65rem; font-weight: 550; letter-spacing: -.045em; }
.dash-stat .value.accent { color: #a2c3f7; }
.dash-stat .value.success { color: var(--success); }
.dash-stat .sub { font-size: .69rem; color: var(--text-muted); margin-top: 7px; }
#stat-server { font-size: 1.15rem; padding-top: 7px; padding-bottom: 5px; letter-spacing: -.02em; }
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .015); backdrop-filter: blur(22px) saturate(145%); -webkit-backdrop-filter: blur(22px) saturate(145%); }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.panel-header h3 { font-size: 1rem; letter-spacing: -.025em; }
#license-panel { background: linear-gradient(120deg, rgba(35, 52, 80, .43), rgba(20, 27, 38, .72)); }
body[data-page="admin"] .dashboard { padding-top: 42px; }
body[data-page="admin"] .dashboard-stats { grid-template-columns: repeat(4, 1fr); }
.trial-note { margin-top: 14px; border-radius: 11px; padding: 12px 15px; color: var(--text-secondary); background: var(--accent-glow); font-size: .78rem; }
.table-wrapper { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #334257 transparent; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 13px; text-align: left; border-bottom: 1px solid var(--border); font-size: .77rem; vertical-align: middle; }
th { color: #8997aa; font-weight: 500; font-size: .64rem; letter-spacing: .05em; white-space: nowrap; }
td { color: #c4cdda; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(132, 170, 227, .025); }
td .btn { margin: 3px 3px 3px 0; font-size: .68rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; font-size: .65rem; line-height: 1.5; font-weight: 500; white-space: nowrap; }
.badge-success { color: #99d7b9; background: rgba(116, 187, 152, .09); }
.badge-success::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #99d7b9; }
.badge-danger { color: #eda2ad; background: rgba(215, 119, 135, .1); }
.badge-muted { color: #a5b0c0; background: rgba(160, 179, 210, .08); }
.progress-bar { height: 4px; background: rgba(110, 140, 183, .12); border-radius: 10px; overflow: hidden; margin-top: 13px; }
.progress-fill { height: 100%; width: 0; background: #8fb7f3; border-radius: inherit; transition: width 500ms ease; }
.game-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.game-tag { color: #afc9f0; background: rgba(123, 165, 226, .08); padding: 3px 8px; border-radius: 6px; font-size: .65rem; font-weight: 500; }
.active-game-row { background: rgba(5, 10, 18, .35); border: 1px solid var(--border); border-radius: 12px; padding: 15px; margin-bottom: 9px; }
.active-game-row h4 { margin-bottom: 8px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; }
/* Dialogs and messages */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(3, 6, 11, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 2000; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.active { display: flex; }
.modal { width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; background: linear-gradient(140deg, #1c2431, #111923); border: 1px solid rgba(175, 201, 242, .18); border-radius: 23px; padding: 31px; position: relative; box-shadow: 0 30px 100px #0006; }
.modal h3 { margin-bottom: 20px; padding-right: 24px; font-size: 1.35rem; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; background: rgba(255, 255, 255, .025); color: var(--text-secondary); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.modal-close:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.toast { position: fixed; bottom: 24px; right: 24px; max-width: min(420px, calc(100vw - 48px)); padding: 14px 20px; border: 1px solid var(--border); border-radius: 13px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: .8rem; box-shadow: var(--shadow); z-index: 3000; transform: translateY(100px); opacity: 0; transition: transform 250ms ease, opacity 250ms ease; }
.toast.visible { transform: translateY(0); opacity: 1; }
.toast-success { background: rgba(29, 54, 44, .95); color: #b8e8d2; }
.toast-error { background: rgba(63, 33, 43, .95); color: #ffd2d9; }
.spinner { width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.not-found { min-height: 75vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 135px 24px 60px; text-align: center; }
.not-found-code { color: #a6c8fc; font-size: 6rem; line-height: 1; font-weight: 500; letter-spacing: -.08em; margin-bottom: 20px; }
.not-found h1 { margin-bottom: 13px; font-size: 2rem; }
.not-found p { color: var(--text-secondary); margin-bottom: 28px; }
/* Hosted design preview */
.preview-notice { min-height: 36px; position: fixed; top: 0; left: 0; right: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 7px 18px; font-size: .65rem; color: #aebcd1; background: #152034; border-bottom: 1px solid rgba(153, 187, 241, .15); }
.preview-notice a { font-size: .65rem; color: #c3d8f9; }
.design-preview .navbar { top: 36px; }
.design-preview .hero { padding-top: 194px; }
.design-preview .dashboard { padding-top: 151px; }
.design-preview .auth-container { padding-top: 171px; }
/* Adaptive layout */
@media (min-width: 1500px) { .hero { padding-top: 175px; } }
@media (max-width: 1080px) {
  .navbar { padding-inline: 28px; } .navbar-links { gap: 23px; }
  .preview-content { grid-template-columns: 150px 1fr; } .preview-main { padding: 25px 22px; }
  .preview-game { padding: 12px; gap: 8px; } .preview-game strong { font-size: .64rem; }
  .game-monogram { width: 29px; height: 36px; }
  .pricing-card { padding-inline: 15px; } .pricing-card .price { font-size: 2rem; } .pricing-features li { font-size: .64rem; }
  .dashboard-stats { grid-template-columns: repeat(3, 1fr); } .faq-section { gap: 40px; }
}
@media (max-width: 820px) {
  .navbar { height: 70px; gap: 15px; padding-inline: 22px; } .navbar-brand { font-size: .95rem; gap: 8px; }
  .navbar-links { gap: 17px; } .navbar-links a { font-size: .73rem; } .navbar-actions { gap: 7px; } .navbar .btn { padding: 7px 11px; font-size: .7rem; }
  .hero { padding-top: 133px; } .hero h1 { font-size: 3.5rem; }
  .preview-sidebar { display: none; } .preview-content { grid-template-columns: 1fr; min-height: 245px; } .preview-main { padding: 25px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); } .game-card { padding: 23px 15px 18px; } .game-card h3 { min-height: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } .pricing-card { padding: 27px 20px 22px; } .pricing-card .price { font-size: 2.2rem; } .pricing-features li { font-size: .73rem; }
  .faq-section { grid-template-columns: 1fr; gap: 10px; padding-block: 65px; } .faq-section .section-title { max-width: 100%; }
  .footer-content { grid-template-columns: 1fr 120px 100px; gap: 30px; }
  .section { padding-inline: 24px; } .section-title-row { align-items: flex-start; flex-direction: column; gap: 0; } .section-title-row p { max-width: 100%; }
}
@media (max-width: 600px) {
  .navbar { height: 66px; padding-inline: 17px; gap: 10px; } .navbar-brand { font-size: .86rem; gap: 7px; } .navbar-brand svg { width: 26px; height: 26px; }
  .navbar-links { display: none; } .navbar-actions { gap: 6px; } .navbar .btn { padding-inline: 11px; min-height: 34px; font-size: .68rem; }
  .hero { padding: 119px 23px 39px; } .hero-badge { margin-bottom: 22px; font-size: .68rem; }
  .hero h1 { font-size: clamp(2.2rem, 8.6vw, 3.2rem); letter-spacing: -.05em; } .hero p { font-size: .88rem; line-height: 1.85; max-width: 340px; margin-bottom: 25px; }
  .hero .btn-lg { padding: 12px 21px; min-height: 46px; font-size: .8rem; } .hero-note { font-size: .65rem; }
  .preview-wrap { padding-inline: 17px; } .product-preview { border-radius: 16px; } .preview-toolbar { padding: 13px 15px; }
  .preview-label { font-size: .51rem; letter-spacing: .06em; } .preview-location { font-size: .6rem; } .preview-main { padding: 21px 17px; }
  .preview-heading { margin-bottom: 18px; } .preview-heading h2 { font-size: 1rem; } .preview-heading p { font-size: .64rem; } .preview-status { font-size: .52rem; padding: 4px 7px; }
  .preview-games { gap: 7px; } .preview-game { padding: 12px 7px; flex-direction: column; align-items: flex-start; gap: 10px; border-radius: 10px; }
  .preview-game strong { font-size: .58rem; } .preview-game small { font-size: .55rem; } .preview-game .game-monogram { width: 26px; height: 31px; font-size: .52rem; }
  .preview-bottom { font-size: .57rem; gap: 5px; margin-top: 18px; } .preview-bottom span:last-child { display: none; }
  .stats-bar { padding: 28px 17px 17px; grid-template-columns: repeat(2, 1fr); row-gap: 23px; } .stat-item:nth-child(2) { border-right: none; } .stat-value { font-size: 1.15rem; } .stat-label { font-size: .64rem; }
  .section { padding: 52px 20px; } .section-title { margin-bottom: 25px; } .section-title h2 { font-size: 1.8rem; } .section-title p { font-size: .83rem; } .eyebrow { font-size: .61rem; margin-bottom: 12px; }
  .games-grid { gap: 9px; } .game-card { border-radius: 13px; padding: 19px 8px 15px; } .game-card .game-monogram { width: 36px; height: 44px; margin-bottom: 13px; font-size: .72rem; }
  .game-card h3 { font-size: .65rem; min-height: 2.6em; } .game-card p { font-size: .56rem; }
  .features-grid { grid-template-columns: 1fr; gap: 11px; } .feature-card { padding: 24px; border-radius: 17px; } .feature-icon { margin-bottom: 20px; width: 36px; height: 36px; } .feature-card h3 { font-size: .95rem; } .feature-card p { font-size: .79rem; }
  .pricing-section { margin: 0 12px; padding: 35px 13px; border-radius: 20px; } .pricing-section .section-title { padding-inline: 7px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; max-width: 390px; } .pricing-card { border-radius: 17px; padding: 25px; } .pricing-card h3 { font-size: 1rem; }
  .pricing-card .price { font-size: 2.2rem; margin-top: 18px; } .pricing-card .price span { display: inline; margin-left: 6px; font-size: .7rem; }
  .pricing-features { display: grid; grid-template-columns: 1fr; row-gap: 9px; margin: 17px 0 20px; } .pricing-features li { font-size: .75rem; } .pricing-card .btn { font-size: .78rem; min-height: 43px; }
  .pricing-plans { padding-top: 15px; }
  .faq-section { gap: 8px; } .faq-question { font-size: .76rem; padding: 17px; } .faq-answer { font-size: .74rem; padding-inline: 17px; }
  .footer { padding: 35px 22px 22px; } .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-content > div:first-child { grid-column: 1 / -1; } .footer-desc { max-width: 300px; } .footer-bottom { font-size: .63rem; line-height: 1.8; }
  .auth-container { min-height: 85vh; padding: 110px 17px 50px; } .auth-card { padding: 30px 25px; border-radius: 21px; } .auth-card h1 { font-size: 1.5rem; }
  .dashboard { padding-top: 100px; } .dashboard-header { align-items: flex-start; gap: 10px; } .dashboard-header h1 { font-size: 1.8rem; } .dashboard-header p { font-size: .76rem; }
  .dashboard-stats, body[data-page="admin"] .dashboard-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; } .dash-stat { padding: 18px 16px; border-radius: 14px; } .dash-stat .value { font-size: 1.5rem; } .dash-stat .label { font-size: .65rem; margin-bottom: 10px; } .dash-stat .sub { font-size: .63rem; }
  .panel { padding: 20px 16px; border-radius: 16px; } .panel-header { gap: 13px; align-items: flex-start; flex-wrap: wrap; } .panel-header h3 { font-size: .92rem; } .panel-description { font-size: .76rem; }
  th, td { padding: 13px 10px; } .license-form .form-input { min-width: 100%; } .license-form .btn { width: 100%; }
  .modal-overlay { padding: 14px; } .modal { padding: 28px 22px; border-radius: 19px; } .modal h3 { font-size: 1.2rem; } .toast { right: 17px; bottom: 17px; max-width: calc(100vw - 34px); }
  .admin-navbar .navbar-brand { font-size: .8rem; } .admin-navbar .navbar-actions .btn { font-size: .65rem; }
  .preview-notice { font-size: .56rem; gap: 9px; min-height: 38px; padding-inline: 10px; } .preview-notice a { font-size: .56rem; }
  .design-preview .navbar { top: 38px; } .design-preview .hero { padding-top: 157px; } .design-preview .dashboard { padding-top: 138px; } .design-preview .auth-container { padding-top: 148px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (prefers-contrast: more) { :root { --text-secondary: #c5cbd6; --text-muted: #aeb8c8; --border: rgba(185, 204, 235, .3); } }
@supports not (backdrop-filter: blur(1px)) { .navbar { background: #0d1119; } .auth-card { background: #171e29; } }
::-webkit-scrollbar { width: 7px; height: 6px; } ::-webkit-scrollbar-track { background: var(--bg-primary); } ::-webkit-scrollbar-thumb { background: #2d394c; border-radius: 10px; }

/* Account workspace — scoped to the signed-in panel. */
body[data-page="dashboard"] { background: #0b0e14; }
.dashboard-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; max-width: 1410px; margin: 0 auto; padding: 112px 32px 55px; align-items: start; }
.dashboard-shell [hidden] { display: none !important; }
.dashboard-sidebar { position: sticky; top: 112px; min-height: calc(100vh - 152px); display: flex; flex-direction: column; padding: 9px 20px 0 0; border-right: 1px solid var(--border); }
.sidebar-heading { display: flex; gap: 11px; align-items: center; margin: 0 3px 40px; }
.sidebar-symbol { width: 34px; height: 37px; background: rgba(118, 167, 244, .06); border: 1px solid rgba(148, 182, 234, .14); color: #aac8f7; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.sidebar-symbol svg { width: 22px; height: 22px; }
.sidebar-heading strong { display: block; font-size: .8rem; font-weight: 550; letter-spacing: -.015em; color: #d5deec; }
.sidebar-heading div > span { display: block; color: #718198; font-size: .63rem; margin-top: 2px; }
.sidebar-label { color: #64758d; font-size: .58rem; letter-spacing: .13em; font-weight: 600; padding-inline: 13px; margin-bottom: 12px; }
.dashboard-navigation { display: flex; flex-direction: column; gap: 6px; }
.dashboard-nav-link { display: flex; gap: 11px; align-items: center; min-height: 44px; padding: 11px 13px; font-size: .82rem; color: #91a0b5; border: 1px solid transparent; border-radius: 11px; transition: color var(--transition), background var(--transition), border-color var(--transition); }
.dashboard-nav-link svg { width: 17px; height: 17px; }
.dashboard-nav-link:hover { color: #c9d6ea; background: rgba(160, 187, 228, .035); }
.dashboard-nav-link.is-active { color: #a8c8f9; background: linear-gradient(120deg, rgba(111, 158, 231, .12), rgba(111, 158, 231, .05)); border-color: rgba(126, 169, 234, .11); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
.sidebar-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; min-height: 20px; padding-inline: 5px; color: #8c9eb9; border: 1px solid rgba(147, 176, 219, .09); background: rgba(147, 176, 219, .035); font-size: .59rem; border-radius: 6px; margin-left: auto; }
.sidebar-bottom { margin-top: auto; padding-top: 60px; }
.sidebar-plan { background: linear-gradient(140deg, rgba(30, 43, 63, .52), rgba(20, 28, 40, .52)); border: 1px solid rgba(149, 178, 222, .1); border-radius: 13px; padding: 15px; margin-bottom: 23px; }
.sidebar-plan-heading { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.sidebar-plan-heading > span { color: #8b9db7; font-size: .63rem; }
.sidebar-plan-heading strong { font-size: .68rem; color: #bdcff0; }
.sidebar-plan .progress-bar { margin-top: 15px; height: 3px; }
.sidebar-plan p { font-size: .58rem; color: #8396b1; margin-top: 9px; line-height: 1.8; }
.sidebar-plan a { display: flex; justify-content: space-between; color: #b0cdf8; font-size: .64rem; margin-top: 17px; }
.sidebar-support { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: #8495af; font-size: .7rem; }
.sidebar-support svg { width: 16px; height: 16px; }
.support-info-card { padding-top: 0; }
.support-info-card-inner { max-width: 820px; margin: 0 auto; padding: 32px; border: 1px solid rgba(149,178,222,.14); border-radius: 22px; background: linear-gradient(145deg, rgba(25,37,55,.58), rgba(10,15,24,.72)); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.support-info-card-inner h2 { max-width: 620px; margin: 10px 0 12px; }
.support-info-card-inner > p { color: var(--text-secondary); max-width: 680px; }
.support-info-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.support-info-list li { padding: 14px 16px; border: 1px solid rgba(149,178,222,.09); border-radius: 13px; background: rgba(255,255,255,.025); color: var(--text-secondary); line-height: 1.65; }
.support-info-list strong { color: var(--text-primary); }
.support-info-note { margin-top: 20px; font-size: .82rem; }
.sidebar-user { border-top: 1px solid var(--border); margin-top: 17px; padding: 20px 2px 5px; display: flex; gap: 9px; align-items: center; min-width: 0; }
.sidebar-avatar { width: 27px; height: 27px; border-radius: 9px; background: #192333; border: 1px solid rgba(147, 176, 219, .1); color: #9dbce8; font-size: .65rem; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.sidebar-user #user-email { font-size: .61rem; color: #8d9eb7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user a { margin-left: auto; display: flex; color: #6e809c; padding: 4px; }
.sidebar-user a:hover { color: #c2d4ee; }
.sidebar-user a svg { width: 16px; height: 16px; }
.dashboard-content { min-width: 0; }
.referral-invite-panel, .referral-progress-panel, .referral-list-panel { margin-bottom: 18px; }
.referral-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.referral-heading h2 { margin: 8px 0 9px; font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.referral-heading .panel-caption { max-width: 660px; line-height: 1.75; }
.referral-mark { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(128, 207, 255, .18); border-radius: 14px; color: #a9dcff; background: linear-gradient(140deg, rgba(73, 154, 219, .15), rgba(127, 115, 229, .1)); font-size: 1.3rem; }
.referral-code-row, .referral-link-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 17px; border: 1px solid rgba(151, 183, 229, .12); border-radius: 14px; background: rgba(5, 11, 20, .3); }
.referral-code-row { margin-top: 20px; }
.referral-code-label { display: block; margin-bottom: 5px; color: #8093ad; font-size: .66rem; }
.referral-code-row strong { color: #dce9fb; letter-spacing: .12em; font: 650 .94rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.referral-link-row { margin-top: 9px; }
.referral-link-row .form-input { min-width: 0; }
.referral-progress-count { flex: 0 0 auto; color: #9bdfff; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.referral-track { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 5px; margin: 28px 9px 18px; }
.referral-track-line { position: absolute; z-index: 0; left: 0; right: 0; height: 3px; overflow: hidden; border-radius: 5px; background: rgba(142, 168, 205, .14); }
.referral-track-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #57c9f4, #8ca7ff); transition: width .35s ease; }
.referral-step { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(151, 181, 223, .2); border-radius: 50%; color: #8495ad; background: #111925; font-size: .61rem; font-weight: 650; }
.referral-step.is-complete { color: #06131d; border-color: #8bdcff; background: linear-gradient(135deg, #8fe2ff, #9eaaff); box-shadow: 0 0 15px rgba(95, 196, 255, .22); }
.referral-step.is-milestone { width: 33px; height: 33px; border-color: rgba(236, 193, 105, .5); color: #e6c578; background: #211d17; }
.referral-step.is-milestone.is-complete { color: #211709; background: linear-gradient(135deg, #f3d78c, #d5a94f); }
.referral-progress-caption { display: flex; justify-content: space-between; gap: 10px; color: #8497b2; font-size: .7rem; }
.referral-reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.referral-reward-grid article { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(151, 183, 229, .11); border-radius: 13px; background: rgba(255,255,255,.025); }
.referral-reward-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #a9ddff; background: rgba(74, 159, 220, .12); font-size: .68rem; font-weight: 700; }
.referral-reward-icon.is-gold { color: #f0d38a; background: rgba(208, 166, 78, .12); font-size: 1.15rem; }
.referral-reward-grid article > div { min-width: 0; }
.referral-reward-grid article strong { display: block; color: #d4e0f1; font-size: .72rem; }
.referral-reward-grid article p { margin: 4px 0 0; color: #8597b1; font-size: .64rem; line-height: 1.55; }
.referral-reward-grid .paid-feature-badge { margin-left: auto; }
.referral-invited-list { display: grid; }
.referral-invited-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 2px; border-top: 1px solid rgba(151, 183, 229, .09); }
.referral-invited-row:first-child { border-top: 0; }
.referral-invited-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid rgba(144, 183, 238, .15); border-radius: 12px; color: #a8c7f2; background: rgba(67, 96, 141, .18); font-size: .75rem; }
.referral-person-info { min-width: 0; display: grid; gap: 4px; }
.referral-person-info strong { overflow: hidden; color: #d3dfef; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.referral-person-info > span { color: #8497b2; font-size: .64rem; line-height: 1.5; }
.referral-purchase-status { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; margin-left: auto; padding: 7px 9px; border: 1px solid rgba(232, 183, 100, .15); border-radius: 9px; color: #d8b76d; background: rgba(194, 147, 58, .07); font-size: .62rem; }
.referral-purchase-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.referral-purchase-status.is-purchased { color: #82d8b0; border-color: rgba(91, 193, 143, .17); background: rgba(49, 158, 107, .07); }
.workspace-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 4px 0 10px; }
.workspace-header .eyebrow { color: #7d9dca; font-size: .59rem; letter-spacing: .14em; margin-bottom: 11px; }
.workspace-header h1 { font-size: 2.2rem; font-weight: 550; letter-spacing: -.045em; }
.workspace-header p { color: #8291a8; font-size: .79rem; margin-top: 9px; }
.workspace-header .btn { font-size: .7rem; padding: 9px 13px; min-height: 36px; }
.workspace-header .btn svg { width: 14px; height: 14px; }
.workspace-sync-status { color: #61758f; font-size: .62rem; min-height: 18px; margin-bottom: 28px; }
.workspace-sync-status.has-error { color: #d8b97f; }
.workspace-header .is-refreshing svg { animation: spin 1s linear infinite; }
.dashboard-preview-note { color: #8da5c7; display: flex; align-items: center; gap: 9px; font-size: .67rem; border: 1px solid rgba(134, 168, 219, .14); background: rgba(82, 122, 185, .055); border-radius: 10px; padding: 10px 13px; margin-bottom: 22px; }
.dashboard-preview-note svg { width: 15px; height: 15px; }
.workspace-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 27px; }
.section-heading-inline { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading-inline h2 { margin-top: 8px; }
.package-status-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.package-status-card { border: 1px solid rgba(148,177,219,.12); background: linear-gradient(145deg, rgba(21,32,48,.24), rgba(9,15,24,.30)); border-radius: 17px; padding: 20px; backdrop-filter: blur(22px) saturate(155%); -webkit-backdrop-filter: blur(22px) saturate(155%); }
.package-status-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid rgba(144,174,219,.08); }
.package-status-header h3 { margin-top: 6px; font-size: 1.02rem; color: #dce7f7; }
.package-status-header p { margin-top: 5px; color: #7f92ad; font-size: .68rem; }
.package-account-count { color: #a9c5ef; font-size: .68rem; padding: 5px 9px; border-radius: 8px; background: rgba(137,181,242,.08); white-space: nowrap; }
.package-account-list { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.package-account-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.package-account-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.package-account-identity > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.package-account-identity strong { color: #d4dfef; font-size: .76rem; overflow-wrap: anywhere; }
.package-account-identity span:not(.account-avatar) { color: #7589a6; font-size: .61rem; overflow-wrap: anywhere; }
.package-empty { padding: 12px 0 2px; color: #7589a6; font-size: .68rem; }
.workspace-stat { background: linear-gradient(135deg, rgba(28, 37, 51, .66), rgba(20, 27, 38, .66)); border: 1px solid rgba(157, 184, 225, .1); border-radius: 16px; padding: 22px 20px 19px; }
.workspace-stat-label { font-size: .67rem; color: #99a9be; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.workspace-stat > strong { display: block; font-size: 2rem; font-weight: 500; letter-spacing: -.06em; color: #dee8f8; margin-top: 14px; line-height: 1.15; }
.workspace-stat > span:last-child { display: block; color: #7588a4; font-size: .61rem; margin-top: 9px; line-height: 1.7; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; flex-shrink: 0; }
.status-dot.is-running { color: #83cfa7; }
.status-dot.is-stopped { color: #dd8b96; }
.dashboard-content .panel { border-color: rgba(157, 184, 225, .1); background: linear-gradient(125deg, rgba(23, 31, 43, .34), rgba(16, 23, 33, .38)); border-radius: 18px; padding: 24px; margin-bottom: 20px; backdrop-filter: blur(22px) saturate(155%); -webkit-backdrop-filter: blur(22px) saturate(155%); }
.dashboard-content .panel-header { margin-bottom: 20px; }
.dashboard-content .panel-header h2 { font-size: 1rem; font-weight: 550; letter-spacing: -.025em; }
.panel-caption { font-size: .7rem; color: #7588a4; margin-top: 7px; }
.account-status-list { display: flex; flex-direction: column; }
.account-overview-row { display: grid; grid-template-columns: 39px minmax(0, 1fr) 126px 80px; align-items: center; column-gap: 14px; padding: 21px 0; border-bottom: 1px solid rgba(167, 191, 229, .075); }
.account-overview-row:last-child { border-bottom: none; padding-bottom: 3px; }
.account-avatar { width: 38px; height: 41px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #aac0df; background: linear-gradient(135deg, #233147, #182332); border: 1px solid rgba(149, 180, 227, .1); font-size: .86rem; font-weight: 500; flex-shrink: 0; }
.account-overview-info { min-width: 0; }
.account-overview-info h3, .managed-account-identity h3 { font-size: .83rem; font-weight: 550; color: #d6dfed; letter-spacing: -.015em; overflow-wrap: anywhere; }
.account-overview-info p, .managed-account-identity p { font-size: .64rem; color: #7488a6; margin-top: 7px; line-height: 1.8; }
.account-status { display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; white-space: nowrap; border: 1px solid transparent; border-radius: 7px; font-size: .64rem; line-height: 1.7; padding: 4px 8px; width: fit-content; }
.account-status.is-running { color: #8ad2ac; border-color: rgba(128, 207, 167, .11); background: rgba(128, 207, 167, .065); }
.account-status.is-stopped { color: #e09aa4; border-color: rgba(223, 140, 154, .1); background: rgba(223, 140, 154, .06); }
.account-status.is-guard { color: #e2bf80; border-color: rgba(221, 181, 115, .13); background: rgba(221, 181, 115, .07); }
.account-status.is-connecting { color: #98bceb; border-color: rgba(145, 181, 231, .13); background: rgba(145, 181, 231, .065); }
.account-status.is-unknown { color: #8b9bb2; background: rgba(145, 164, 195, .05); }
.account-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.account-row-actions .btn { font-size: .64rem; min-height: 31px; padding: 6px 11px; border-radius: 8px; }
.card-drop-control { display: inline-flex; align-items: center; gap: 7px; color: #b9d8f4; font-size: .62rem; white-space: nowrap; cursor: pointer; user-select: none; }
.card-drop-control input { position: absolute; opacity: 0; pointer-events: none; }
.card-drop-switch { width: 29px; height: 17px; border-radius: 999px; border: 1px solid rgba(130, 188, 238, .32); background: rgba(55, 83, 116, .45); position: relative; transition: background var(--transition), border-color var(--transition), box-shadow var(--transition); }
.card-drop-switch::after { content: ''; position: absolute; width: 11px; height: 11px; top: 2px; left: 2px; border-radius: 50%; background: #9eb4cd; transition: transform var(--transition), background var(--transition); }
.card-drop-control input:checked + .card-drop-switch { background: linear-gradient(135deg, #63c9ff, #8e9dff); border-color: rgba(176, 226, 255, .72); box-shadow: 0 0 14px rgba(92, 190, 255, .18); }
.card-drop-control input:checked + .card-drop-switch::after { transform: translateX(12px); background: #071522; }
.card-drop-control:focus-within .card-drop-switch { outline: 2px solid rgba(126, 203, 255, .38); outline-offset: 2px; }
.card-drop-control.is-locked { color: #71849d; cursor: not-allowed; opacity: .75; }
.account-package-badge { display: inline-flex; margin-top: 5px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(124, 201, 255, .22); color: #a8dfff; background: rgba(71, 145, 204, .12); font-size: .59rem; }
.workspace-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 230px; padding: 25px 20px; }
.workspace-empty h3 { font-size: 1rem; color: #c6d4e9; margin-top: 17px; }
.workspace-empty p { font-size: .73rem; color: #7c90ad; margin-top: 9px; line-height: 1.8; max-width: 340px; }
.workspace-empty .btn { margin-top: 23px; font-size: .7rem; }
.workspace-empty .spinner { color: #a3bfe7; }
.workspace-empty.compact { min-height: 95px; }
.empty-account-icon { width: 43px; height: 46px; display: flex; align-items: center; justify-content: center; background: rgba(129, 164, 216, .055); border: 1px solid rgba(143, 175, 224, .12); border-radius: 13px; color: #87a4cc; }
.empty-account-icon svg { width: 21px; height: 21px; }
.dashboard-content .workspace-details { padding: 0 23px; background: rgba(20, 28, 39, .55); }
.workspace-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; padding: 19px 0; }
.workspace-details summary::-webkit-details-marker { display: none; }
.workspace-details summary::after { content: "+"; font-size: 1.2rem; font-weight: 300; color: #7186a4; }
.workspace-details[open] summary::after { content: "−"; }
.details-heading { display: flex; gap: 10px; align-items: center; font-size: .79rem; color: #b4c1d5; font-weight: 500; }
.details-heading svg { width: 16px; height: 16px; color: #7795be; }
.details-meta { margin-left: auto; color: #7b91b1; font-size: .64rem; }
.workspace-details-body { padding: 1px 0 22px; }
.workspace-details-body .panel-description { font-size: .76rem; margin-bottom: 17px; }
.workspace-details-body .form-help { font-size: .66rem; margin-top: 14px; }
.dashboard-content .workspace-details-body th { font-size: .61rem; }
.dashboard-content .workspace-details-body td { font-size: .69rem; }
.dashboard-content .license-form .form-input { font-size: .75rem; min-height: 40px; }
.dashboard-content .license-form .btn { font-size: .75rem; min-height: 40px; }
/* Inline bot form */
.add-bot-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 30px; }
.add-bot-icon { width: 43px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 13px; color: #9abbed; background: rgba(118, 164, 233, .07); border: 1px solid rgba(143, 177, 229, .12); }
.add-bot-icon svg { width: 24px; height: 24px; }
.add-bot-heading h2 { font-size: 1.3rem; font-weight: 550; letter-spacing: -.035em; }
.add-bot-heading p { font-size: .71rem; color: #7e92b0; margin-top: 5px; }
.bot-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 22px; }
.bot-form-grid .form-group { margin: 0; min-width: 0; }
.bot-form-full { grid-column: 1 / -1; }
.add-bot-panel .form-group label { font-size: .74rem; margin-bottom: 9px; color: #b8c7dd; }
.field-optional { color: #6f84a3; font-size: .64rem; font-weight: 400; margin-left: 8px; }
.add-bot-panel .form-input { font-size: .78rem; background: rgba(5, 11, 20, .33); border-color: rgba(142, 174, 221, .14); border-radius: 11px; min-height: 45px; padding-inline: 13px; }
.add-bot-panel .form-input:focus { border-color: rgba(143, 186, 250, .6); }
.add-bot-panel .form-input::placeholder { color: #526b8b; }
.add-bot-panel .form-input:disabled { background: rgba(7, 13, 23, .2); color: #5e7698; opacity: .65; cursor: not-allowed; }
.add-bot-panel .form-help { font-size: .63rem; line-height: 1.85; margin-top: 8px; color: #6e86a7; }
.bot-label-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 9px; min-height: 17px; }
.bot-label-row label { margin-bottom: 0 !important; }
.paid-feature-badge { display: inline-flex; color: #a9aec0; border: 1px solid rgba(166, 179, 204, .13); background: rgba(138, 151, 180, .04); border-radius: 5px; padding: 2px 6px; font-size: .53rem; line-height: 1.4; white-space: nowrap; }
.paid-feature-badge.is-unlocked { color: #a1bce4; border-color: rgba(135, 173, 226, .15); background: rgba(104, 148, 212, .06); }
.bot-timer-option { display: flex; gap: 20px; align-items: center; justify-content: space-between; border: 1px solid rgba(143, 175, 223, .11); background: rgba(114, 151, 207, .025); border-radius: 12px; padding: 17px; }
.bot-checkbox { display: flex; gap: 9px; align-items: center; font-size: .74rem; color: #b5c5dc; cursor: pointer; }
.bot-checkbox input { position: absolute; opacity: 0; width: 18px; height: 18px; }
.checkbox-shape { width: 17px; height: 17px; flex-shrink: 0; background: rgba(5, 11, 20, .4); border: 1px solid rgba(144, 174, 219, .28); border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.bot-checkbox input:checked + .checkbox-shape { background: #91b6ee; border-color: #a7c7f6; }
.bot-checkbox input:checked + .checkbox-shape::after { content: "✓"; color: #102039; font-size: .7rem; line-height: 1; font-weight: 700; }
.bot-checkbox input:focus-visible + .checkbox-shape { outline: 3px solid var(--accent); outline-offset: 3px; }
.bot-timer-option p { font-size: .6rem; line-height: 1.8; color: #6a83a6; margin: 7px 0 0 26px; }
.bot-hours-control { display: flex; gap: 9px; align-items: center; flex-shrink: 0; color: #627b9f; }
.bot-hours-control .form-input { width: 72px; min-height: 36px; padding: 6px 9px; font-size: .75rem; }
.bot-hours-control > span { font-size: .64rem; }
.bot-hours-control.is-enabled > span { color: #9ab1d2; }
.bot-form-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(144, 174, 219, .09); }
.bot-form-footer > p { color: #748cad; font-size: .66rem; display: flex; align-items: center; gap: 7px; }
.bot-form-footer > p svg { width: 14px; height: 14px; color: #83a4cf; }
.bot-form-footer .btn { font-size: .78rem; padding: 11px 24px; min-width: 135px; }
.bot-submit-error { margin-top: 20px; font-size: .73rem; }
.managed-accounts-list { display: flex; flex-direction: column; gap: 13px; }
.managed-account { border: 1px solid rgba(148, 177, 219, .1); background: rgba(10, 18, 29, .22); border-radius: 13px; padding: 18px; }
.managed-account-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.managed-account-identity { display: flex; align-items: center; gap: 13px; min-width: 0; }
.managed-account-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 17px 0 0 51px; padding-top: 14px; border-top: 1px solid rgba(144, 174, 219, .075); }
.managed-account-config { display: flex; flex-direction: column; gap: 8px; }
.managed-account-config .game-tags { margin-top: 0; gap: 5px; }
.managed-account-config .game-tag { font-size: .6rem; padding: 2px 7px; }
.account-config-tag, .account-config-muted { font-size: .62rem; color: #7c94b5; overflow-wrap: anywhere; }
.account-delete { width: 31px; padding: 6px !important; }
.account-delete svg { width: 14px; height: 14px; }
.guard-account-label { color: #aac7ee; font-size: .8rem; margin: -6px 0 20px; }
.guard-dismiss-note { margin-top: 18px; font-size: .7rem; text-align: center; }
.guard-cancel-link { display: block; border: 0; background: transparent; color: #b88491; font-size: .7rem; margin: 15px auto 0; cursor: pointer; }
.guard-cancel-link:hover { color: #efb4c0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.design-preview .dashboard-shell { padding-top: 148px; }
.design-preview .dashboard-sidebar { top: 148px; min-height: calc(100vh - 188px); }
@media (min-width: 1700px) { .dashboard-shell { max-width: 1470px; gap: 44px; } }
@media (max-width: 1120px) {
  .dashboard-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 25px; padding-inline: 24px; }
  .dashboard-sidebar { padding-right: 15px; }
  .workspace-stats { gap: 10px; }
  .workspace-stat { padding: 19px 14px 16px; }
  .workspace-stat-label { font-size: .61rem; }
  .workspace-stat > span:last-child { font-size: .57rem; }
  .workspace-stat > strong { font-size: 1.8rem; }
  .dashboard-content .panel { padding: 21px; }
  .dashboard-content .workspace-details { padding: 0 21px; }
  .account-overview-row { grid-template-columns: 34px minmax(0, 1fr) 112px 72px; column-gap: 11px; }
  .account-avatar { width: 33px; height: 37px; border-radius: 10px; font-size: .75rem; }
  .account-overview-info h3 { font-size: .76rem; }
  .account-overview-info p { font-size: .59rem; }
  .account-status { font-size: .58rem; padding: 4px 6px; }
  .account-row-actions .btn { font-size: .6rem; padding-inline: 9px; }
  .bot-form-grid { gap: 21px 17px; }
  .bot-timer-option { gap: 13px; padding: 15px; }
  .bot-checkbox { font-size: .7rem; }
  .bot-timer-option p { font-size: .57rem; }
  .bot-form-footer > p { font-size: .61rem; }
}
@media (max-width: 900px) {
  .dashboard-shell { grid-template-columns: 170px minmax(0, 1fr); gap: 22px; padding-inline: 20px; }
  .sidebar-heading { gap: 8px; }
  .sidebar-heading strong { font-size: .72rem; }
  .sidebar-heading div > span { font-size: .56rem; }
  .sidebar-symbol { width: 29px; height: 32px; border-radius: 9px; }
  .sidebar-heading { margin-bottom: 32px; }
  .dashboard-nav-link { font-size: .74rem; padding-inline: 10px; }
  .workspace-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-stat-label { font-size: .66rem; }
  .workspace-stat > span:last-child { font-size: .6rem; }
  .account-overview-row { grid-template-columns: 34px minmax(0, 1fr) auto; row-gap: 11px; }
  .account-overview-row .account-status { grid-column: 2; grid-row: 2; }
  .account-overview-row .account-row-actions { grid-column: 3; grid-row: 1 / 3; }
  .bot-timer-option { flex-direction: column; align-items: flex-start; }
  .bot-hours-control { margin-left: 26px; }
  .bot-form-footer { align-items: flex-start; }
  .bot-form-footer > p { max-width: 180px; line-height: 1.8; }
  .bot-form-footer > p svg { align-self: flex-start; margin-top: 3px; }
  .bot-form-footer .btn { padding-inline: 15px; min-width: 110px; }
  .managed-account-top { align-items: flex-start; }
  .managed-account-identity p { font-size: .58rem; }
  .managed-account-bottom { margin-left: 0; }
}
@media (max-width: 700px) {
  .package-status-list { grid-template-columns: 1fr; }
  .section-heading-inline { align-items: flex-start; flex-direction: column; gap: 12px; }
  .dashboard-shell { display: block; padding: 85px 17px 45px; }
  .dashboard-sidebar { position: static; min-height: auto; display: block; border-right: 0; padding: 0; margin-bottom: 27px; }
  .sidebar-heading, .sidebar-label, .sidebar-bottom { display: none; }
  .dashboard-navigation { flex-direction: row; padding: 4px; gap: 4px; border: 1px solid rgba(153, 181, 224, .11); background: rgba(24, 33, 47, .5); border-radius: 12px; }
  .dashboard-nav-link { flex: 1; justify-content: center; min-height: 40px; border-radius: 8px; font-size: .76rem; gap: 8px; padding: 9px 12px; }
  .dashboard-nav-link svg { width: 15px; height: 15px; }
  .sidebar-count { margin-left: 2px; min-width: 17px; min-height: 17px; font-size: .56rem; }
  .workspace-header { margin-top: 0; }
  .workspace-header h1 { font-size: 1.95rem; }
  .workspace-header .eyebrow { font-size: .56rem; margin-bottom: 10px; }
  .workspace-header p { font-size: .71rem; max-width: 250px; line-height: 1.8; }
  .workspace-header .btn { min-height: 34px; font-size: .64rem; padding: 8px 10px; }
  .workspace-sync-status { font-size: .57rem; margin-top: 5px; margin-bottom: 24px; }
  .workspace-stats { gap: 10px; margin-bottom: 22px; }
  .workspace-stat { padding: 18px 17px; border-radius: 14px; }
  .workspace-stat-label { font-size: .65rem; }
  .workspace-stat > strong { font-size: 1.9rem; margin-top: 12px; }
  .workspace-stat > span:last-child { font-size: .57rem; }
  .dashboard-content .panel { padding: 21px 18px; border-radius: 16px; }
  .dashboard-content .panel-header { gap: 13px; align-items: center; flex-wrap: nowrap; }
  .dashboard-content .panel-header h2 { font-size: .91rem; }
  .panel-caption { font-size: .63rem; line-height: 1.8; }
  .account-status-panel .panel-header > .btn { font-size: .6rem; padding: 7px 10px; min-height: 31px; }
  .account-overview-row { padding: 20px 0; column-gap: 12px; }
  .account-overview-row:first-child { padding-top: 10px; }
  .account-overview-info h3 { font-size: .77rem; }
  .account-overview-info p { font-size: .59rem; }
  .account-status { font-size: .59rem; }
  .workspace-empty { min-height: 210px; padding-inline: 8px; }
  .workspace-empty h3 { font-size: .95rem; }
  .workspace-empty p { font-size: .68rem; max-width: 270px; }
  .dashboard-content .workspace-details { padding: 0 18px; }
  .workspace-details summary { padding-block: 18px; }
  .details-heading { font-size: .73rem; }
  .details-meta { font-size: .59rem; }
  .add-bot-heading { gap: 12px; margin-bottom: 26px; }
  .add-bot-heading h2 { font-size: 1.2rem; }
  .add-bot-heading p { font-size: .66rem; max-width: 230px; line-height: 1.8; }
  .add-bot-icon { width: 39px; height: 43px; border-radius: 12px; }
  .bot-form-grid { gap: 21px 15px; }
  .add-bot-panel .form-input { min-height: 45px; font-size: .76rem; }
  .add-bot-panel .form-group label { font-size: .72rem; }
  .field-optional { font-size: .58rem; }
  .bot-label-row { gap: 4px; }
  .paid-feature-badge { font-size: .49rem; padding-inline: 4px; }
  .add-bot-panel .form-help { font-size: .61rem; }
  .bot-timer-option { flex-direction: row; align-items: center; gap: 12px; }
  .bot-timer-option p { font-size: .55rem; }
  .bot-checkbox { font-size: .68rem; line-height: 1.7; }
  .bot-hours-control { margin-left: 0; gap: 6px; }
  .bot-hours-control .form-input { width: 63px; min-height: 35px; font-size: .7rem; }
  .bot-hours-control > span { font-size: .59rem; }
  .bot-form-footer { margin-top: 23px; padding-top: 22px; align-items: center; }
  .bot-form-footer > p { font-size: .59rem; max-width: 210px; }
  .bot-form-footer .btn { min-width: 115px; font-size: .72rem; }
  .managed-account { padding: 16px; }
  .managed-account-identity h3 { font-size: .76rem; }
  .managed-account-identity p { font-size: .57rem; }
  .managed-account-bottom { margin-top: 14px; padding-top: 13px; gap: 12px; }
  .design-preview .dashboard-shell { padding-top: 123px; }
  .design-preview .dashboard-sidebar { min-height: auto; }
  .dashboard-preview-note { font-size: .61rem; line-height: 1.8; padding: 9px 11px; }
}
@media (max-width: 460px) {
  .bot-form-grid { grid-template-columns: 1fr; gap: 20px; }
  .bot-form-full { grid-column: auto; }
  .bot-label-row { min-height: 18px; }
  .paid-feature-badge { font-size: .55rem; }
  .bot-timer-option { flex-direction: column; align-items: flex-start; padding: 15px; }
  .bot-hours-control { margin-left: 26px; }
  .bot-timer-option p { font-size: .59rem; }
  .bot-checkbox { font-size: .72rem; }
  .bot-form-footer { flex-direction: column; align-items: stretch; gap: 18px; }
  .bot-form-footer > p { max-width: none; font-size: .61rem; }
  .bot-form-footer .btn { width: 100%; }
  .managed-account-top { flex-wrap: wrap; gap: 12px; }
  .managed-account-top > .account-status { margin-left: 46px; }
  .account-overview-row { grid-template-columns: 32px minmax(0, 1fr) 67px; column-gap: 10px; }
  .account-overview-row .account-avatar { width: 32px; height: 35px; }
  .account-row-actions .btn { font-size: .58rem; padding-inline: 8px; }
  .workspace-stat { padding: 17px 14px; }
  .workspace-stat-label { font-size: .61rem; }
  .workspace-stat > span:last-child { font-size: .54rem; }
  .workspace-header .btn > span { display: none; }
  .workspace-header .btn { min-height: 33px; padding: 8px; }
  .workspace-header .btn svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) { .workspace-header .is-refreshing svg { animation: none; } }
.status-dot.is-guard { color: #e2bf80; }
.plan-usage-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid rgba(145, 177, 224, .08); border-radius: 10px; background: rgba(88, 132, 201, .025); }
.plan-usage-summary > span:first-child { font-size: .7rem; color: #8099bc; margin-right: auto; }
.plan-usage-summary strong { font-size: .95rem; color: #b9d2f7; font-weight: 500; }
.plan-usage-summary > span:last-child { font-size: .65rem; color: #728cad; }

/* Liquid glass refinement — inspired by the supplied visual reference, kept restrained for readability. */
:root {
  --bg-primary: #05070d;
  --bg-secondary: #0b101a;
  --bg-card: rgba(17, 24, 38, .58);
  --bg-card-hover: rgba(25, 34, 51, .72);
  --border: rgba(204, 222, 255, .13);
  --accent: #75c9ff;
  --accent-hover: #a6dcff;
  --accent-glow: rgba(72, 181, 255, .18);
  --primary: #bfe6ff;
  --shadow: 0 26px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .07);
}
body {
  background:
    radial-gradient(900px 580px at 6% 12%, rgba(31, 148, 203, .10), transparent 70%),
    radial-gradient(850px 600px at 92% 16%, rgba(118, 74, 196, .12), transparent 72%),
    radial-gradient(700px 520px at 52% 92%, rgba(33, 92, 159, .09), transparent 70%),
    #05070d;
  background-attachment: fixed;
}
body::before {
  background:
    radial-gradient(ellipse 52% 36% at 50% -4%, rgba(101, 192, 255, .16), transparent 78%),
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, .018) 45%, transparent 68%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image: linear-gradient(rgba(255,255,255,.013) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.01) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.navbar {
  top: 14px;
  left: 50%;
  right: auto;
  width: min(calc(100% - 28px), 1240px);
  height: 64px;
  padding: 0 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(209, 227, 255, .16);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(20, 28, 43, .70), rgba(8, 12, 20, .58));
  box-shadow: 0 18px 55px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 -1px 0 rgba(0, 0, 0, .32);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
}
.design-preview .navbar { top: 50px; }
.navbar-brand svg { filter: drop-shadow(0 0 14px rgba(69, 188, 255, .30)); }
.navbar-brand svg rect { fill: #4daeea; }
.navbar .btn { border-radius: 999px; }
.btn-primary {
  background: linear-gradient(135deg, #73d0ff, #8da7ff 72%, #b18af0);
  border-color: rgba(199, 232, 255, .55);
  color: #07111f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 28px rgba(64, 158, 230, .22);
}
.btn-primary:hover { background: linear-gradient(135deg, #9cddff, #adbcff 72%, #c6a6f7); }
.btn-secondary, .language-trigger {
  background: linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  border-color: rgba(216, 231, 255, .17);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}
.product-preview, .feature-card, .pricing-card, .pricing-section, .faq-item, .auth-card,
.panel, .workspace-stat, .managed-account, .dashboard-preview-note, .dashboard-navigation {
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 58%, rgba(73, 120, 192, .028));
  border-color: rgba(211, 229, 255, .14);
  box-shadow: 0 22px 65px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.09), inset 0 -1px 0 rgba(0,0,0,.22);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}
.feature-card:hover, .pricing-card:hover, .faq-item:hover, .managed-account:hover {
  border-color: rgba(142, 211, 255, .28);
  box-shadow: 0 26px 70px rgba(0,0,0,.34), 0 0 34px rgba(64, 183, 255, .07), inset 0 1px 0 rgba(255,255,255,.13);
}
.pricing-card.unlimited-plan:hover { border-color: rgba(235, 194, 105, .56); box-shadow: 0 28px 76px rgba(0,0,0,.38), 0 0 42px rgba(213, 163, 59, .10), inset 0 1px 0 rgba(255, 231, 176, .16); }
.form-input {
  background: linear-gradient(135deg, rgba(3, 8, 16, .56), rgba(15, 24, 39, .42));
  border-color: rgba(195, 220, 255, .17);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.025);
}
.form-input:focus { border-color: rgba(105, 205, 255, .72); box-shadow: 0 0 0 3px rgba(75, 185, 247, .10), 0 0 26px rgba(76, 174, 241, .08); }
.hero h1 span, .eyebrow { color: #83d4ff; }
.hero h1 span {
  background: linear-gradient(90deg, #a5e2ff, #91b6ff 58%, #c5a1f4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.language-switcher { position: relative; flex: 0 0 auto; }
.language-trigger {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(216, 231, 255, .17);
  border-radius: 999px;
  color: #dce8f9;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 650;
  cursor: pointer;
}
.language-trigger:hover { background: rgba(255,255,255,.10); border-color: rgba(140, 211, 255, .36); }
.language-trigger svg { width: 15px; height: 15px; color: #8fd8ff; }
.language-chevron { color: #7f91aa; font-size: .8rem; transform: translateY(-1px); }
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 190px;
  padding: 7px;
  border: 1px solid rgba(210, 230, 255, .18);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(22, 31, 48, .94), rgba(8, 13, 23, .94));
  box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(30px) saturate(165%);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  z-index: 1400;
}
.language-menu[hidden] { display: none; }
.language-menu button {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #cbd7e8;
  display: grid;
  grid-template-columns: 1fr auto 18px;
  align-items: center;
  gap: 8px;
  text-align: left;
  font-size: .76rem;
  cursor: pointer;
}
.language-menu button:hover, .language-menu button:focus-visible { color: #fff; background: rgba(112, 192, 247, .10); }
.language-menu button[aria-selected="true"] { color: #bfe8ff; background: rgba(92, 185, 244, .09); }
.language-code { color: #71849e; font-size: .59rem; letter-spacing: .08em; }
.language-check { color: #80d4ff; text-align: right; font-weight: 700; }
.navbar.admin-navbar { position: relative; top: 14px; left: auto; right: auto; margin: 0 auto 14px; transform: none; }

@media (max-width: 900px) {
  .navbar { width: calc(100% - 22px); padding-inline: 14px; }
  .navbar-links { gap: 14px; }
  .navbar-actions { gap: 6px; }
}
@media (max-width: 700px) {
  .navbar { top: 9px; width: calc(100% - 16px); height: 58px; padding-inline: 10px; }
  .design-preview .navbar { top: 47px; }
  .navbar-brand { font-size: 0; gap: 0; }
  .navbar-brand svg { width: 28px; height: 28px; }
  .language-trigger { min-height: 34px; padding: 7px 9px; }
  .language-trigger svg { width: 14px; height: 14px; }
  .language-menu { position: fixed; top: 75px; right: 10px; width: min(210px, calc(100vw - 20px)); }
  .design-preview .language-menu { top: 113px; }
  .navbar-actions > .btn { padding-inline: 10px; }
  .navbar.admin-navbar { top: 9px; }
}
@media (max-width: 420px) {
  .navbar-actions > .btn-secondary { display: none; }
  .navbar-actions > .btn { font-size: .64rem; padding-inline: 9px; }
  .language-trigger { gap: 5px; }
  .language-chevron { display: none; }
}
@media (max-width: 700px) {
  .dashboard-navigation { overflow-x: auto; justify-content: flex-start; }
  .dashboard-nav-link { flex: 0 0 auto; }
  .referral-heading h2 { font-size: 1.25rem; }
  .referral-code-row, .referral-link-row { align-items: stretch; flex-direction: column; }
  .referral-code-row { flex-direction: row; align-items: center; }
  .referral-code-row .btn, .referral-link-row .btn { align-self: flex-start; }
  .referral-progress-panel .panel-header { align-items: flex-start; }
  .referral-progress-count { font-size: .95rem; }
  .referral-track { gap: 2px; margin-inline: 0; }
  .referral-step { width: 23px; height: 23px; font-size: .54rem; }
  .referral-step.is-milestone { width: 28px; height: 28px; }
  .referral-progress-caption { flex-direction: column; font-size: .64rem; }
  .referral-reward-grid { grid-template-columns: 1fr; }
  .referral-invited-row { flex-wrap: wrap; }
  .referral-person-info { flex: 1 1 calc(100% - 52px); }
  .referral-purchase-status { margin-left: 48px; }
}
@supports not (backdrop-filter: blur(1px)) {
  .navbar, .language-menu { background: #0d1421; }
  .product-preview, .feature-card, .pricing-card, .faq-item, .auth-card, .panel, .workspace-stat { background: #111927; }
}
