:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eef2f1;
  background: #090a0f;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: #090a0f;
  --line: rgba(148, 163, 184, .14);
  --muted: #8b9696;
  --green: #8b5cf6;
  --green-light: #a5c9ff;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 0, rgba(139, 92, 246, .08), transparent 34%),
    #090a0f;
}
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
.page-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(148, 163, 184, .09);
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; }
.site-brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(165, 201, 255, .28);
  border-radius: 11px;
  color: #100b20;
  background: linear-gradient(145deg, #c7b5ff, #8b5cf6 76%);
  box-shadow: 0 0 24px rgba(139, 92, 246, .17);
  font-size: 15px;
  font-weight: 850;
}
.site-brand-name { font-size: 14px; font-weight: 800; letter-spacing: -.04em; }
.site-brand-name span { color: var(--green-light); }
.site-header-right { position: relative; display: flex; align-items: center; gap: 25px; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { color: #899491; font-size: 11px; transition: color .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-light); }
.site-account-actions { position: relative; display: flex; align-items: center; gap: 8px; }
.site-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.site-button:hover { transform: translateY(-1px); }
.site-button.primary { color: #100b20; background: linear-gradient(135deg, #b5a2ff, #8b5cf6 72%); }
.site-button.primary:hover { box-shadow: 0 0 20px rgba(139, 92, 246, .4); }
.site-button.quiet { border-color: var(--line); color: #d7dfdc; background: rgba(15, 20, 25, .65); }
.site-button.quiet:hover { border-color: rgba(139, 92, 246, .42); background: rgba(139, 92, 246, .07); }
.site-menu-toggle { display: none; }
.site-account-trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 10px;
  color: #e5eee9;
  background: rgba(139, 92, 246, .07);
  cursor: pointer;
}
.site-account-avatar { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; color: #100b20; background: linear-gradient(145deg, #b8a6ff, #8b5cf6); font-size: 10px; font-weight: 800; }
.site-account-name { max-width: 130px; overflow: hidden; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.site-account-menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 9px);
  right: 0;
  width: 220px;
  padding: 7px;
  border: 1px solid rgba(148, 163, 184, .17);
  border-radius: 12px;
  background: rgba(13, 18, 20, .98);
  box-shadow: 0 18px 55px #0009;
}
.site-account-menu[hidden] { display: none; }
.site-account-menu strong { display: block; overflow: hidden; padding: 10px; color: #e5eee9; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.site-account-menu button { width: 100%; padding: 10px; border: 0; border-radius: 7px; color: #c4cfca; background: transparent; cursor: pointer; font: inherit; font-size: 10px; text-align: left; }
.site-account-menu button:hover { background: rgba(139, 92, 246, .1); }
.site-account-menu button:last-child { color: #e8a4a4; }
.page-main { min-height: calc(100vh - 150px); padding: 76px 0 90px; }
.page-kicker { display: inline-flex; align-items: center; gap: 8px; color: #83dcb6; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.page-kicker::before { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(139,92,246,.8); content: ""; }
.page-title { max-width: 800px; margin: 17px 0 12px; font-size: clamp(36px, 6vw, 58px); letter-spacing: -.06em; line-height: 1.07; }
.page-title span { color: transparent; background: linear-gradient(100deg, #e7e0ff, #8b5cf6); background-clip: text; -webkit-background-clip: text; }
.page-lead { max-width: 690px; margin: 0; color: #9aa5a4; font-size: 14px; line-height: 1.8; }
.page-content { margin-top: 40px; }
.page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.page-card {
  min-height: 205px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(30, 41, 59, .42), rgba(15, 20, 25, .72) 58%);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.page-card:hover { border-color: rgba(139, 92, 246, .36); background: linear-gradient(145deg, rgba(35, 25, 61, .4), rgba(15, 20, 25, .76)); transform: translateY(-3px); }
.page-card-icon { display: grid; width: 41px; height: 41px; place-items: center; border: 1px solid rgba(139,92,246,.19); border-radius: 12px; color: #b3a0ff; background: rgba(139,92,246,.09); font-size: 17px; }
.page-card h2, .page-card h3 { margin: 18px 0 8px; color: #e8efeb; font-size: 15px; letter-spacing: -.025em; }
.page-card p { margin: 0; color: #8e9997; font-size: 12px; line-height: 1.75; }
.page-card .tag { display: inline-block; margin-top: 15px; color: #75cba6; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.feature-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-card.feature-showcase-card { min-height: 0; padding: 0; }
.feature-showcase-image { display: block; width: 100%; aspect-ratio: 3 / 2; border-bottom: 1px solid rgba(148,163,184,.13); object-fit: cover; }
.feature-showcase-copy { padding: 20px 22px 22px; }
.feature-showcase-copy h2 { margin-top: 0; }
.page-panel { padding: 25px; border: 1px solid rgba(148, 163, 184, .13); border-radius: 16px; background: rgba(15, 20, 25, .62); }
.page-panel h2 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.035em; }
.page-panel p { margin: 0; color: #929e99; font-size: 12px; line-height: 1.8; }
.announcement-state { grid-column: 1 / -1; display: grid; min-height: 260px; place-items: center; padding: 35px; border: 1px dashed rgba(148,163,184,.2); border-radius: 16px; text-align: center; }
.announcement-state-icon { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto 16px; border: 1px solid rgba(139,92,246,.2); border-radius: 16px; color: var(--green-light); background: rgba(139,92,246,.08); font-size: 21px; }
.announcement-state h2 { margin: 0 0 9px; font-size: 19px; }
.announcement-state p { max-width: 460px; margin: 0; color: #8e9997; font-size: 12px; line-height: 1.75; }
.setup-list { display: grid; gap: 12px; }
.setup-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 21px; border: 1px solid rgba(148,163,184,.13); border-radius: 14px; background: rgba(15,20,25,.62); }
.setup-step-number { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(139,92,246,.22); border-radius: 13px; color: var(--green-light); background: rgba(139,92,246,.08); font-size: 12px; font-weight: 750; }
.setup-step h2 { margin: 2px 0 7px; font-size: 15px; }
.setup-step p { margin: 0; color: #8e9997; font-size: 12px; line-height: 1.75; }
.page-faq { display: grid; max-width: 820px; gap: 9px; }
.page-faq details { border: 1px solid rgba(148,163,184,.13); border-radius: 11px; background: rgba(15,20,25,.56); }
.page-faq summary { position: relative; padding: 17px 42px 17px 17px; color: #dce5e1; cursor: pointer; font-size: 12px; font-weight: 620; list-style: none; }
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary::after { position: absolute; top: 50%; right: 17px; color: var(--green-light); content: "+"; font-size: 17px; transform: translateY(-50%); }
.page-faq details[open] summary::after { content: "−"; }
.page-faq details p { margin: 0; padding: 0 17px 17px; color: #8e9997; font-size: 11px; line-height: 1.75; }
.post-load-warning { margin: 22px 0 -20px; color: #f0bf80; font-size: 11px; line-height: 1.6; }
.post-load-warning[hidden] { display: none; }
.managed-post-content { margin-top: 12px !important; white-space: pre-wrap; }
.managed-post-date { display: block; margin-top: 13px; color: #73807b; font-size: 10px; }
.page-download { display: inline-flex; margin-top: 28px; }
.site-footer { display: flex; min-height: 72px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(148,163,184,.09); color: #687270; font-size: 10px; }
.site-footer a { color: #a1afab; }
.admin-intro { margin-bottom: 30px; }
.admin-panel { max-width: 680px; }
.admin-form { display: grid; gap: 14px; }
.admin-form label { display: grid; gap: 7px; color: #bdc7c3; font-size: 11px; font-weight: 600; }
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid rgba(148,163,184,.17);
  border-radius: 9px;
  color: #eef2f1;
  background: rgba(5,9,12,.72);
  font: inherit;
  font-size: 12px;
}
.admin-form textarea { min-height: 150px; resize: vertical; line-height: 1.65; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(139,92,246,.1); }
.admin-form select option { color: #eef2f1; background: #101719; }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-message { min-height: 18px; margin: 0; color: #f0a2a2; font-size: 11px; line-height: 1.6; }
.admin-message.success { color: #79e8bd; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 38px 0 14px; }
.admin-toolbar.top { margin-top: 0; }
.admin-toolbar h2 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.admin-post-list { display: grid; gap: 10px; }
.admin-post-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 17px; border: 1px solid rgba(148,163,184,.13); border-radius: 13px; background: rgba(15,20,25,.62); }
.admin-post-item h3 { margin: 7px 0; color: #e8efeb; font-size: 14px; }
.admin-post-item p { margin: 0; color: #8e9997; font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.admin-post-kind, .admin-post-date { color: #75cba6; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-post-date { display: block; margin-top: 10px; color: #73807b; font-weight: 500; letter-spacing: 0; text-transform: none; }
.admin-post-actions { display: flex; align-items: flex-start; gap: 6px; }
.admin-post-actions button { min-height: 33px; padding-inline: 10px; font-size: 10px; }
.admin-empty { padding: 20px; border: 1px dashed rgba(148,163,184,.2); border-radius: 12px; color: #8e9997; font-size: 12px; text-align: center; }
.admin-hidden[hidden] { display: none; }
.account-dialog { width: min(440px, calc(100% - 32px)); padding: 25px; border: 1px solid rgba(148,163,184,.18); border-radius: 17px; color: #eef2f1; background: #101719; box-shadow: 0 25px 80px #000a; }
.account-dialog::backdrop { background: rgba(3,6,8,.76); backdrop-filter: blur(8px); }
.account-dialog h2 { margin: 0 0 7px; font-size: 21px; }
.account-dialog p { margin: 0 0 18px; color: #8b9696; font-size: 11px; line-height: 1.6; }
.account-dialog dl { display: grid; gap: 8px; margin: 0 0 18px; }
.account-dialog dl div { display: flex; justify-content: space-between; gap: 14px; padding: 12px; border: 1px solid rgba(148,163,184,.11); border-radius: 9px; background: rgba(5,9,12,.42); }
.account-dialog dt { color: #85918c; font-size: 10px; }
.account-dialog dd { max-width: 65%; margin: 0; overflow: hidden; color: #dce7e1; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-dialog-actions { display: flex; justify-content: space-between; gap: 10px; }
.account-dialog-actions button:last-child { border-color: rgba(248,113,113,.2); color: #eaa4a4; background: rgba(127,29,29,.12); }
.site-header {
  position: sticky;
  top: 0;
  background: rgba(9, 10, 15, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(165, 201, 255, .28);
  border-radius: 13px;
  color: #100b20;
  background: linear-gradient(145deg, #c7b5ff, #8b5cf6 76%);
  box-shadow: 0 0 24px rgba(139, 92, 246, .15);
  font-size: 15px;
  font-weight: 850;
}
img.site-brand-mark {
  display: block;
  border: 0;
  background: transparent;
  object-fit: cover;
}
.site-brand-name { font-size: 15px; }
.page-main { padding-top: 82px; }
.page-title { max-width: 900px; font-size: clamp(42px, 6.4vw, 68px); }
.page-lead { max-width: 740px; font-size: 15px; }
.page-content { margin-top: 46px; }
.page-grid { gap: 17px; }
.page-card {
  position: relative;
  min-height: 225px;
  padding: 25px;
  overflow: hidden;
  border-color: rgba(148, 163, 184, .12);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(24, 33, 39, .78), rgba(13, 17, 22, .82));
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 18px 45px rgba(0,0,0,.12);
}
.page-card h2, .page-card h3 { font-size: 16px; }
.page-card p { font-size: 13px; }
.page-panel, .setup-step, .page-faq details {
  border-color: rgba(148, 163, 184, .12);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(24, 33, 39, .66), rgba(13, 17, 22, .78));
}
.setup-step { padding: 24px; }
.site-footer { margin-top: 20px; }
.support-main { padding-top: 68px; }
.support-intro { max-width: 760px; margin-bottom: 36px; }
.support-intro .page-title { margin-bottom: 14px; }
.support-assurance { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #b7c1d9; font-size: 11px; }
.support-assurance span { color: var(--green-light); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr); align-items: start; gap: 18px; }
.support-panel, .support-track-panel { padding: 26px; }
.support-panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.support-panel-heading h2, .support-track-panel h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.03em; }
.support-panel-heading p, .support-track-panel > p { margin: 0; color: #98a2b8; font-size: 11px; line-height: 1.7; }
.support-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(165, 201, 255, .2); border-radius: 13px; color: var(--green-light); background: rgba(139, 92, 246, .13); font-size: 19px; }
.support-form { gap: 12px; }
.support-form label span { margin-left: 6px; color: #76809a; font-size: 9px; font-weight: 400; }
.support-form input, .support-form select, .support-form textarea { border-color: rgba(154, 169, 208, .17); border-radius: 11px; background: rgba(5, 8, 15, .55); }
.support-form input:focus, .support-form select:focus, .support-form textarea:focus { border-color: #8b5cf6; outline: none; box-shadow: 0 0 0 3px rgba(139, 92, 246, .14); }
.support-form textarea { min-height: 140px; resize: vertical; }
.support-submit { justify-self: start; gap: 12px; min-height: 45px; padding-inline: 17px; }
.support-submit:disabled, #support-track-submit:disabled { opacity: .65; cursor: wait; }
.support-side { display: grid; gap: 14px; }
.support-track-panel > .support-icon { margin-bottom: 16px; }
.support-track-panel > p { margin-bottom: 19px; }
.support-message { min-height: 0; margin: 0; color: #f0a2b2; font-size: 11px; line-height: 1.6; }
.support-message:empty { display: none; }
.support-message.success { color: #b6d2ff; }
.support-success { display: grid; justify-items: start; margin-top: 22px; padding: 20px; border: 1px solid rgba(165, 201, 255, .2); border-radius: 14px; background: rgba(139, 92, 246, .1); }
.support-success[hidden], .support-ticket-result[hidden] { display: none; }
.support-success-icon { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 12px; border-radius: 10px; color: #100b20; background: #a5c9ff; font-weight: 800; }
.support-success h3 { margin: 0 0 7px; font-size: 15px; }
.support-success p { margin: 0 0 12px; color: #a2acc2; font-size: 11px; line-height: 1.7; }
.support-success strong { margin-bottom: 15px; color: #c9bcff; font-size: 14px; letter-spacing: .1em; overflow-wrap: anywhere; }
.support-success .site-button { min-height: 36px; font-size: 10px; }
.support-ticket-result { display: grid; gap: 9px; margin-top: 17px; padding-top: 16px; border-top: 1px solid rgba(154, 169, 208, .14); }
.support-ticket-result div { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; }
.support-ticket-result div span { color: #8792aa; }
.support-ticket-result div strong { color: #dce5f8; font-weight: 600; text-align: right; }
.support-ticket-result p { margin: 3px 0 0; padding: 12px; border: 1px solid rgba(165, 201, 255, .16); border-radius: 9px; color: #d5ddf0; background: rgba(139, 92, 246, .08); font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.support-note { display: flex; align-items: flex-start; gap: 11px; padding: 15px; border: 1px solid rgba(154, 169, 208, .1); border-radius: 13px; color: #8e99b0; background: rgba(15, 20, 32, .48); }
.support-note > span { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(165, 201, 255, .24); border-radius: 50%; color: #a5c9ff; font-size: 10px; font-weight: 700; }
.support-note p { margin: 1px 0 0; font-size: 10px; line-height: 1.7; }
.admin-support-panel { margin-top: 18px; }
.admin-support-list { display: grid; gap: 11px; }
.admin-ticket-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr); gap: 18px; padding: 17px; border: 1px solid rgba(154, 169, 208, .13); border-radius: 13px; background: rgba(5, 9, 15, .35); }
.admin-ticket-details h3 { margin: 8px 0; color: #e8efeb; font-size: 14px; }
.admin-ticket-message { margin: 0; color: #a0abc0; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-ticket-meta { margin: 11px 0 0; color: #9eabd0; font-size: 10px; overflow-wrap: anywhere; }
.admin-ticket-controls { display: grid; align-content: start; gap: 9px; }
.admin-ticket-label { display: grid; gap: 5px; color: #b9c3d8; font-size: 10px; font-weight: 600; }
.admin-ticket-status, .admin-ticket-reply { width: 100%; min-height: 36px; padding: 8px 10px; border: 1px solid rgba(154,169,208,.17); border-radius: 8px; color: #eef2f1; background: #0c1019; font: inherit; font-size: 11px; }
.admin-ticket-reply { min-height: 85px; resize: vertical; line-height: 1.6; }
.admin-ticket-status:focus, .admin-ticket-reply:focus { border-color: #8b5cf6; outline: none; box-shadow: 0 0 0 3px rgba(139,92,246,.13); }
@media (max-width: 900px) {
  .site-header-right { gap: 14px; }
  .site-nav { gap: 11px; }
  .site-nav a { font-size: 10px; }
  .support-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 13px; }
}
@media (max-width: 680px) {
  .page-container { width: min(100% - 32px, 1120px); }
  .site-header { min-height: 70px; }
  .site-header-right { gap: 8px; }
  .site-menu-toggle { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #d7dfdc; background: rgba(15,20,25,.62); cursor: pointer; }
  .site-menu-toggle svg { width: 17px; height: 17px; }
  .site-nav { position: absolute; z-index: 11; top: calc(100% + 9px); right: 0; display: none; min-width: 190px; align-items: stretch; gap: 3px; padding: 7px; border: 1px solid rgba(148,163,184,.17); border-radius: 11px; background: rgba(13,18,20,.98); box-shadow: 0 18px 55px #0009; }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 10px; border-radius: 7px; font-size: 11px; }
  .site-nav a:hover { background: rgba(139,92,246,.09); }
  .site-account-name { max-width: 78px; }
  .page-main { padding: 58px 0 68px; }
  .page-grid { grid-template-columns: 1fr; }
  .page-card { min-height: unset; }
  .updates-section { grid-template-columns: 1fr; }
  .admin-post-item { grid-template-columns: 1fr; }
  .admin-post-actions { justify-content: flex-start; }
  .support-main { padding-top: 54px; }
  .support-layout { grid-template-columns: 1fr; }
  .support-panel, .support-track-panel { padding: 20px; }
  .admin-ticket-item { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
