@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   XenoWare — web layer
   Ground: cool graphite with a faint violet tint (from the X).
   One accent: X violet. Panels, chips and the selected-item bar
   are taken from the in-game menu.
   ============================================================ */
:root {
  color-scheme: dark;

  /* neutrals (hue ~285, very low chroma) */
  --ground: #07070b;
  --surface-1: #0e0e14;
  --surface-2: #14141c;
  --surface-3: #1c1b26;
  --line: rgba(228, 224, 255, .08);
  --line-strong: rgba(228, 224, 255, .15);
  --ink: #f1f0f6;
  --ink-2: #cac8d4;
  --muted: #9896a4;

  /* accent: the X */
  --accent: #7b4ff0;
  --accent-hover: #8a60f6;
  --accent-ink: #b69cff;
  --accent-line: rgba(160, 120, 255, .55);
  --accent-wash: rgba(123, 79, 240, .12);

  /* status */
  --ok: #7fd1a3;
  --danger: #ff8a8a;

  /* radius scale: chip < control < panel < frame */
  --r-chip: 6px;
  --r-control: 10px;
  --r-panel: 14px;
  --r-frame: 18px;

  /* spacing */
  --gutter: 24px;
  --container: 1240px;
  --section: 112px;

  /* motion */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-micro: 160ms;
  --t-normal: 260ms;
  --t-reveal: 620ms;

  /* legacy names used by site.css / rockstar-theme.css */
  --rs-bg: var(--ground);
  --rs-panel: var(--surface-1);
  --rs-field: var(--surface-2);
  --rs-border: var(--line);
  --rs-text: var(--ink);
  --rs-muted: var(--muted);
  --rs-accent: var(--accent);
  --rs-accent-dark: var(--accent-hover);
}

html { background: var(--ground); scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--ground); color: var(--ink); font-family: Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -webkit-user-select: text; user-select: text; }
body::before { display: none; }
button, input, textarea, select { font: inherit; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
::selection { background: #5b36c4; color: #fff; }
html { scrollbar-color: #2a2836 var(--ground); }

/* ---------- header ---------- */
.site-header { background: rgba(9, 9, 14, .86); border-bottom: 1px solid var(--line); padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2)); transition: background var(--t-normal) ease, border-color var(--t-normal) ease; }
body[data-page="home-page"] .site-header { background: transparent; border-color: transparent; }
body[data-page="home-page"] .site-header.is-scrolled { background: rgba(9, 9, 14, .78); border-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); }
.site-header .container { backdrop-filter: none; background: transparent; border: 0; border-radius: 0; min-height: 72px; padding: 0; position: relative; }
.site-brand { gap: 10px; }
.brand-mark { filter: none; height: 30px; width: 30px; object-fit: contain; }
.title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.site-header nav li { margin: 0 14px; }
.site-header nav a, .header-logout { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; min-height: 44px; position: relative; white-space: nowrap; }
.site-header nav a::after { background: var(--accent-ink); bottom: 8px; content: ''; height: 1px; left: 0; position: absolute; right: 0; transform: scaleX(0); transform-origin: left; transition: transform var(--t-normal) var(--ease-out); }
.site-header nav a:hover, .site-header nav a.is-active, .header-logout:hover { color: var(--ink); }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after, .site-header nav a.is-active::after { transform: scaleX(1); }
.site-header nav .nav-icon { display: none; }
.mobile-nav-action { display: none; }
.header-actions { gap: 20px; }
.header-user { color: var(--muted); font-size: 13px; font-weight: 600; }
.header-logout-form { display: inline; }
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.header-register, .primary-action, .signup-form button, .modal-primary, .admin-form button, .profile-download, .chat-form button, .subscription-key-form button {
  align-items: center; background: var(--accent); border: 0; border-radius: var(--r-control);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .18);
  color: #fff; cursor: pointer; display: inline-flex; font-size: 14px; font-weight: 700; justify-content: center;
  min-height: 44px; padding: 11px 20px; text-decoration: none;
  transition: background var(--t-micro) ease, transform var(--t-micro) var(--ease-out), opacity var(--t-micro) ease;
}
.header-register { min-height: 40px; padding: 9px 16px; font-size: 13px; }
.header-register:hover, .primary-action:hover, .signup-form button:hover, .modal-primary:hover, .admin-form button:hover, .profile-download:hover, .chat-form button:hover, .subscription-key-form button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.header-register:active, .primary-action:active, .signup-form button:active, .modal-primary:active, .admin-form button:active, .profile-download:active, .chat-form button:active, .subscription-key-form button:active { transform: translateY(0) scale(.98); transition-duration: 90ms; }
.signup-form button:disabled, .modal-primary:disabled, .admin-form button:disabled, .chat-form button:disabled, .subscription-key-form button:disabled, .signup-form button[aria-busy="true"] { cursor: progress; opacity: .6; transform: none; }
.secondary-action {
  align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); border-radius: var(--r-control);
  color: var(--ink); display: inline-flex; font-size: 14px; font-weight: 600; justify-content: center; min-height: 44px; padding: 11px 20px; text-decoration: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background var(--t-micro) ease, border-color var(--t-micro) ease;
}
.secondary-action:hover { background: rgba(255, 255, 255, .1); border-color: rgba(228, 224, 255, .3); }

/* ---------- hero ---------- */
.landing { margin-top: -72px; overflow: clip; }
.hero { overflow: hidden; align-items: center; background: #06060c; display: flex; isolation: isolate; min-height: max(680px, 100svh); padding: 120px max(var(--gutter), calc((100% - var(--container)) / 2)) 96px; position: relative; }
.hero-bg { inset: -16px; position: absolute; z-index: -2; }
.hero-bg img { display: block; height: 100%; object-fit: cover; object-position: 62% 50%; width: 100%; }
.hero-shade { inset: 0; position: absolute; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 10, .94) 0%, rgba(6, 6, 12, .78) 32%, rgba(6, 6, 12, .30) 64%, rgba(6, 6, 12, .12) 100%),
    linear-gradient(0deg, var(--ground) 0%, rgba(7, 7, 11, 0) 28%),
    linear-gradient(180deg, rgba(7, 6, 16, .55) 0%, rgba(7, 6, 16, 0) 22%);
}
.hero-inner { max-width: 640px; position: relative; }
.hero-mark { display: block; height: 84px; margin: 0 0 28px -6px; position: relative; width: 84px;
  -webkit-mask: url('../img/xenoware-logo.webp') center / contain no-repeat; mask: url('../img/xenoware-logo.webp') center / contain no-repeat; }
.hero-mark img { display: block; height: 100%; width: 100%; }
.hero-mark::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 48%, transparent 64%); content: ''; inset: 0; position: absolute; transform: translateX(-120%); }
.hero h1 { font-size: clamp(64px, 8.4vw, 124px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 0 0 24px; }
.hero-lead { color: var(--ink-2); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; margin: 0; max-width: 40ch; text-wrap: pretty; }
.hero-actions { gap: 12px; justify-content: flex-start; margin-top: 36px; }
.hero-actions .primary-action, .hero-actions .secondary-action { min-height: 52px; padding: 14px 24px; font-size: 15px; }

/* ---------- section scaffolding ---------- */
.tour, .access, .faq { margin: 0 auto; max-width: calc(var(--container) + var(--gutter) * 2); padding: var(--section) var(--gutter); }
.tour h2, .access h2, .faq h2, .closing h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 0; text-wrap: balance; }

/* ---------- tour: the real menu, explained ---------- */
.tour { padding-top: 104px; }
.tour-head { margin-bottom: 44px; max-width: 620px; }
.tour-head p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 16px 0 0; }
.tour-body { align-items: start; display: grid; gap: 48px; grid-template-columns: minmax(0, 856px) minmax(260px, 1fr); }
.tour-shot { margin: 0; min-width: 0; }
.tour-cats { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-control); display: inline-flex; flex-wrap: wrap; gap: 2px; margin-bottom: 14px; padding: 3px; }
.tour-cat { background: transparent; border: 0; border-radius: 7px; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 600; min-height: 36px; padding: 7px 14px; transition: background var(--t-micro) ease, color var(--t-micro) ease; }
.tour-cat:hover { color: var(--ink); }
.tour-cat[aria-pressed="true"] { background: var(--surface-3); color: var(--ink); }
.tour-viewport { aspect-ratio: 854 / 624; background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(123, 79, 240, .08), transparent 70%), var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-frame); overflow: hidden; position: relative; }
.tour-viewport::after { border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); content: ''; inset: 0; pointer-events: none; position: absolute; }
.tour-stage { backface-visibility: hidden; height: 100%; position: relative; transform-origin: 0 0; transition: transform 820ms var(--ease-out-expo); width: 100%; }
.tour-img { display: block; height: 100%; inset: 0; opacity: 0; position: absolute; transition: opacity 380ms var(--ease-out); width: 100%; }
.tour-img.is-active { opacity: 1; }
.tour-focus { border: 1px solid var(--accent-line); border-radius: 10px; box-shadow: 0 0 0 200vmax rgba(5, 5, 9, .52), inset 0 0 24px rgba(123, 79, 240, .14); height: var(--fh, 0); left: var(--fx, 0); opacity: 0; pointer-events: none; position: absolute; top: var(--fy, 0); transition: left 620ms var(--ease-out-expo), top 620ms var(--ease-out-expo), width 620ms var(--ease-out-expo), height 620ms var(--ease-out-expo), opacity 400ms ease; width: var(--fw, 0); }
.tour.is-live .tour-focus { opacity: 1; }
.tour-shot figcaption { color: var(--muted); font-size: 13px; margin-top: 14px; min-height: 1.5em; }
.tour-caption { display: none; }

.tour-list { display: grid; gap: 4px; }
.tour-item { background: transparent; border: 0; border-radius: var(--r-control); color: inherit; cursor: pointer; display: grid; gap: 6px; overflow: hidden; padding: 18px 18px 18px 22px; position: relative; text-align: left; transition: background var(--t-normal) ease; }
.tour-item::before { background: var(--accent-ink); border-radius: 2px; content: ''; height: 20px; left: 0; position: absolute; top: 20px; transform: scaleY(0); transition: transform var(--t-normal) var(--ease-out); width: 2px; }
.tour-item:hover { background: rgba(255, 255, 255, .03); }
.tour-item[aria-pressed="true"] { background: var(--surface-2); }
.tour-item:focus-visible { outline-offset: -2px; }
.tour-item[aria-pressed="true"]::before { transform: scaleY(1); }
.tour-item-title { color: var(--ink-2); font-size: 17px; font-weight: 700; letter-spacing: -.01em; transition: color var(--t-normal) ease; }
.tour-item[aria-pressed="true"] .tour-item-title { color: var(--ink); }
.tour-item-text { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- access / pricing ---------- */
.access { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 72px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.access-offer { background: linear-gradient(180deg, rgba(123, 79, 240, .09), rgba(123, 79, 240, 0) 55%), var(--surface-1); border: 1px solid rgba(160, 120, 255, .22); border-radius: var(--r-frame); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); padding: 36px; }
.access-offer h2 { font-size: 26px; letter-spacing: -.02em; }
.access-price { font-size: clamp(72px, 7vw, 96px); font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 28px 0 18px; }
.access-price span { color: var(--ink-2); font-size: .4em; font-weight: 700; letter-spacing: 0; margin-left: 8px; }
.access-note { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 28px; max-width: 32ch; }
.access-offer .primary-action { width: 100%; min-height: 50px; }
.access-steps { counter-reset: step; list-style: none; margin: 0; padding: 8px 0 0; }
.access-steps li { border-top: 1px solid var(--line); counter-increment: step; display: grid; gap: 4px 24px; grid-template-columns: 40px minmax(0, 1fr); padding: 28px 0; }
.access-steps li:last-child { border-bottom: 1px solid var(--line); }
.access-steps li::before { color: var(--accent-ink); content: counter(step); font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 700; grid-row: span 2; padding-top: 3px; }
.access-steps h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.access-steps p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 4px 0 0; max-width: 56ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); display: grid; gap: 72px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.faq-aside { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 16px 0 0; max-width: 30ch; }
.faq-aside a { color: var(--accent-ink); text-underline-offset: 3px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { color: var(--ink); cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; padding: 22px 40px 22px 0; position: relative; transition: color var(--t-micro) ease; }
.faq-list summary:hover { color: #fff; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { background: var(--muted); content: ''; height: 1.5px; position: absolute; right: 4px; top: 50%; transition: transform var(--t-normal) var(--ease-out), background var(--t-normal) ease; width: 14px; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details[open] summary::before, .faq-list details[open] summary::after { background: var(--accent-ink); }
.faq-list details p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: -6px 0 24px; max-width: 60ch; }
.faq-list details[open] p { animation: faq-open 320ms var(--ease-out) both; }
.faq-list a { color: var(--accent-ink); text-underline-offset: 3px; }

/* ---------- closing band ---------- */
.closing { align-items: center; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; padding: 136px var(--gutter) 128px; position: relative; text-align: center; }
.closing::before { background: url('../img/hero-night-1280.webp') center 78% / cover no-repeat; content: ''; filter: saturate(.8); inset: 0; opacity: .32; position: absolute; z-index: -2; }
.closing::after { background: radial-gradient(ellipse 44% 60% at 50% 42%, rgba(123, 79, 240, .16), transparent 70%), linear-gradient(180deg, var(--ground) 0%, rgba(7, 7, 11, .7) 40%, var(--ground) 100%); content: ''; inset: 0; position: absolute; z-index: -1; }
.closing-mark { height: 56px; margin-bottom: 28px; width: 56px; }
.closing p { color: var(--ink-2); font-size: 17px; margin: 16px 0 32px; }
.closing .primary-action { min-height: 52px; padding: 14px 28px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ground); border-top: 1px solid var(--line); margin: 0; max-width: none; padding: 56px max(var(--gutter), calc((100% - var(--container)) / 2)) 40px; }
.footer-inner { align-items: start; display: grid; gap: 40px; grid-template-columns: 1fr auto; }
.footer-brand { align-items: center; color: var(--ink); display: inline-flex; font-size: 17px; font-weight: 700; gap: 10px; text-decoration: none; }
.footer-brand img { object-fit: contain; }
.footer-inner p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-inner nav a { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.footer-inner nav a:hover { color: var(--ink); }
.footer-inner small { border-top: 1px solid var(--line); color: #7d7b89; font-size: 12px; grid-column: 1 / -1; padding-top: 24px; }

/* ---------- auth ---------- */
main.register-page { background: radial-gradient(ellipse 60% 40% at 50% 0, rgba(123, 79, 240, .10), transparent 70%); padding-top: 72px; padding-bottom: 104px; }
.registration { background: rgba(14, 14, 20, .92); border: 1px solid var(--line-strong); border-radius: var(--r-frame); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .04); padding: clamp(28px, 4vw, 44px); width: min(100%, 480px); }
.registration h1 { font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px; text-align: left; }
.registration-copy { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 28px; text-align: left; }
.signup-form { gap: 16px; }
.signup-form label { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.signup-form input, .modal-form input, .admin-form input, .admin-form select, .admin-search, .chat-form input, .subscription-key-form input { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-control); color: var(--ink); font-size: 16px; min-height: 46px; transition: border-color var(--t-micro) ease, background var(--t-micro) ease; }
.signup-form input:hover, .modal-form input:hover { border-color: rgba(228, 224, 255, .24); }
.signup-form input:focus, .modal-form input:focus, .admin-form input:focus, .admin-form select:focus, .admin-search:focus, .chat-form input:focus, .subscription-key-form input:focus { background: var(--surface-3); border-color: var(--accent-line); outline: 3px solid rgba(123, 79, 240, .22); outline-offset: 0; }
.signup-form input[aria-invalid="true"] { border-color: rgba(255, 138, 138, .6); }
.signup-form button { margin-top: 4px; min-height: 48px; width: 100%; }
.form-status:empty { display: none; }
.form-status { border-radius: var(--r-chip); font-size: 13px; line-height: 1.5; margin: 0; }
.xeno-password-wrap { display: block; position: relative; }
.xeno-password-wrap input { padding-right: 48px; width: 100%; }
.xeno-password-toggle { align-items: center; background: transparent !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important; color: var(--muted) !important; cursor: pointer; display: inline-flex !important; height: 36px; margin: 0 !important; justify-content: center; min-height: 36px !important; padding: 0 !important; position: absolute; right: 5px; top: 50%; transform: translateY(-50%) !important; transition: color var(--t-micro) ease, background var(--t-micro) ease !important; width: 36px !important; }
.xeno-password-toggle:hover { background: rgba(255, 255, 255, .06) !important; color: var(--ink) !important; }
.xeno-password-toggle svg { display: block; }
.resend-box { color: var(--muted); font-size: 14px; margin-top: 18px; }
.resend-box summary { cursor: pointer; }
.resend-box summary:hover { color: var(--ink-2); }
.registration-login { color: var(--muted); font-size: 14px; margin-top: 24px; }
.registration-login a, .terms a { color: var(--accent-ink); }
.content-page .terms { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(30px, 5vw, 58px); }

/* ---------- account ---------- */
.profile-page { gap: 48px; grid-template-columns: 200px minmax(0, 1fr); max-width: 1200px; padding-top: 64px; padding-bottom: 120px; }
.profile-nav { align-self: start; gap: 2px; padding-top: 0; position: sticky; top: 96px; }
.profile-nav a, .profile-nav button { border: 0; border-radius: var(--r-control); color: var(--ink-2); font-size: 14px; font-weight: 600; min-height: 42px; padding: 11px 14px 11px 18px; position: relative; text-align: left; }
.profile-nav a::before, .profile-nav button::before { background: var(--accent-ink); border-radius: 2px; content: ''; height: 16px; left: 0; position: absolute; top: 50%; transform: translateY(-50%) scaleY(0); transition: transform var(--t-normal) var(--ease-out); width: 2px; }
.profile-nav a:hover, .profile-nav button:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
.profile-nav .is-active { background: var(--surface-2); color: var(--ink); }
.profile-nav .is-active::before { transform: translateY(-50%) scaleY(1); }
.profile-head { margin-bottom: 36px; }
.profile-head h1 { font-size: 40px; font-weight: 700; letter-spacing: -.035em; }
.profile-head p { color: var(--muted); }
.profile-identity { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-panel); margin-bottom: 16px; padding: 22px; }
.profile-identity .profile-avatar { height: 54px; width: 54px; }
.profile-identity .profile-avatar-placeholder { font-size: 20px; }
.profile-identity-info strong { font-size: 18px; }
.subscription-current { background: linear-gradient(180deg, rgba(123, 79, 240, .10), rgba(123, 79, 240, 0) 70%), var(--surface-1); border-color: rgba(160, 120, 255, .24); border-radius: var(--r-panel); padding: 24px; }
.subscription-current strong { color: var(--ink); }
.subscription-current b { color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.6; }
.profile-details, .profile-keys, .profile-purchases { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-panel); margin-bottom: 16px; padding: 24px; }
.profile-details h2, .profile-section-head h2 { color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: -.005em; }
.profile-details dl { gap: 0 32px; }
.profile-details dl div { border-bottom: 1px solid var(--line); font-size: 14px; padding: 13px 0; }
.profile-keys-list { list-style: none; margin: 0; padding: 0; }
.profile-keys-list code { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.purchase-history-item { border-top: 1px solid var(--line); }
.profile-keys-empty { color: var(--muted); font-size: 14px; }
.modal { z-index: 60; }
.modal-panel { background: var(--surface-1); border: 1px solid var(--line-strong); border-radius: var(--r-frame); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7); padding: 28px; }
.modal-close { background: var(--surface-3); border-radius: var(--r-control); min-height: 40px; min-width: 40px; }
.admin-page { max-width: 1240px; padding-top: 60px; }
.admin-heading h1 { font-weight: 700; letter-spacing: -.035em; }
.admin-user, .admin-key { background: var(--surface-1); border-radius: var(--r-panel); }
.admin-action { background: var(--surface-3); border-color: var(--line); border-radius: var(--r-chip); }
.admin-action:hover { background: #2a2536; }

/* ---------- motion: one entrance, then quiet ---------- */
@keyframes hero-bg-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes mark-in { from { filter: blur(10px); opacity: 0; transform: scale(.9); } to { filter: blur(0); opacity: 1; transform: scale(1); } }
@keyframes mark-sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.hero-bg img { animation: hero-bg-in 1600ms var(--ease-out-expo) both; }
.hero-mark { animation: mark-in 900ms 200ms var(--ease-out-expo) both; }
.hero-mark::after { animation: mark-sweep 1100ms 950ms var(--ease-in-out) both; }
.hero h1 { animation: rise-in 700ms 380ms var(--ease-out-expo) both; }
.hero-lead { animation: rise-in 700ms 480ms var(--ease-out-expo) both; }
.hero-actions { animation: rise-in 700ms 580ms var(--ease-out-expo) both; }
.hero-bg, .hero-mark img { transition: transform 900ms var(--ease-out); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease-out-expo), transform var(--t-reveal) var(--ease-out-expo); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .hero-mark::after { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .site-header nav { left: auto; position: static; transform: none; }
  .site-header nav li { margin: 0 8px; }
  .tour-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tour-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access, .faq { gap: 48px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 88px; }
  .site-header .container { align-items: center; gap: 12px; min-height: 64px; }
  /* compact soft-glass dropdown that opens right under the burger */
  .site-header nav { background: rgba(20, 19, 29, .62); border: 1px solid rgba(255, 255, 255, .10); border-radius: var(--r-panel); box-shadow: 0 18px 48px -12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); left: auto; min-width: 200px; opacity: 0; padding: 6px; pointer-events: none; position: absolute; right: 0; top: calc(100% - 4px); transform: translateY(-4px) scale(.96); transform-origin: top right; transition: opacity 160ms ease, transform 220ms var(--ease-out), visibility 0s 220ms; visibility: hidden; width: max-content; z-index: 30; -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); }
  .site-header nav.is-open { opacity: 1; pointer-events: auto; transform: none; transition: opacity 160ms ease, transform 220ms var(--ease-out); visibility: visible; }
  .site-header nav ul { align-items: stretch; display: grid; gap: 0; }
  .site-header nav li { margin: 0; }
  .site-header nav a { border-radius: 9px; color: var(--ink-2); display: flex; font-size: 15px; font-weight: 500; justify-content: flex-start; min-height: 42px; padding: 10px 12px; }
  .site-header nav a::after { display: none; }
  .site-header nav a:hover, .site-header nav a:focus-visible { background: rgba(255, 255, 255, .06); color: var(--ink); }
  .site-header nav a.is-active { background: none; color: var(--ink); }
  .mobile-nav-action { display: list-item; }
  li:not(.mobile-nav-action) + .mobile-nav-action { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 4px; padding-top: 4px; }
  .header-actions { margin-left: auto; }
  .header-actions .header-logout, .header-actions .header-register, .header-user { display: none; }
  .header-actions .header-logout-form .header-logout { display: inline-flex; }
  .menu-toggle { align-items: center; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-control); cursor: pointer; display: flex; flex-direction: column; gap: 5px; height: 44px; justify-content: center; order: 3; padding: 0; width: 44px; }
  .menu-toggle span { background: var(--ink); border-radius: 1px; display: block; height: 1.5px; transition: transform var(--t-normal) var(--ease-out); width: 18px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .landing { margin-top: -64px; }
  .hero { align-items: flex-end; min-height: max(640px, 100svh); padding: 120px var(--gutter) 64px; }
  .hero-bg img { object-position: 70% 50%; }
  .hero-shade { background: linear-gradient(0deg, var(--ground) 0%, rgba(6, 6, 12, .86) 38%, rgba(6, 6, 12, .35) 75%, rgba(6, 6, 12, .55) 100%); }
  .hero-mark { height: 60px; margin-bottom: 22px; width: 60px; }
  .hero h1 { font-size: clamp(52px, 15vw, 72px); margin-bottom: 18px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 28px; }
  .hero-actions a { width: 100%; }
  .tour { padding-top: 72px; }
  .tour-head { margin-bottom: 28px; }
  .tour-head p { font-size: 16px; }
  .tour-list { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-panel); gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; }
  .tour-item[aria-pressed="true"] { background: var(--surface-3); }
  .tour-item { justify-items: center; min-height: 44px; padding: 11px 10px; text-align: center; }
  .tour-item::before { display: none; }
  .tour-item-title { font-size: 15px; }
  .tour-item-text { display: none; }
  .tour-caption { color: var(--ink-2); display: block; font-size: 15px; line-height: 1.55; margin: 0; min-height: 3.1em; padding: 0 4px; }
  .tour-shot figcaption { font-size: 12px; margin-top: 10px; }
  .tour-cats { display: flex; margin-bottom: 10px; }
  .tour-cat { flex: 1 1 auto; padding: 7px 10px; }
  .tour-viewport { border-radius: var(--r-panel); }
  .access, .faq { gap: 32px; grid-template-columns: 1fr; }
  .access-offer { padding: 28px 24px; }
  .access-steps { padding-top: 0; }
  .access-steps li { grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; padding: 22px 0; }
  .closing { padding: 96px var(--gutter) 88px; }
  .footer-inner { gap: 28px; grid-template-columns: 1fr; }
  .footer-inner small { grid-column: auto; }
  .profile-page { gap: 22px; grid-template-columns: 1fr; padding: 32px 20px 80px; }
  .profile-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 8px; position: static; white-space: nowrap; }
  .profile-nav a, .profile-nav button { border: 1px solid var(--line); flex: 0 0 auto; padding: 10px 14px; }
  .profile-nav a::before, .profile-nav button::before { display: none; }
  .profile-nav .is-active { border-color: var(--accent-line); }
  .profile-head { align-items: start; flex-direction: column; }
  .profile-head h1 { font-size: 32px; }
}
@media (max-width: 520px) {
  .title { font-size: 16px; }
  .brand-mark { height: 28px; width: 28px; }
  .profile-details dl { grid-template-columns: 1fr; }
  .subscription-current { grid-template-columns: 1fr; }
}

/* admin: tidy cards (inline styles in admin.php overridden here, markup untouched) */
.admin-user { align-items: center; border: 1px solid var(--line); display: flex !important; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 14px 16px !important; }
.admin-user-main, .admin-user-data { min-width: 0; }
.admin-user-data span { display: block; margin-top: 2px; }
.admin-user-actions { display: flex !important; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.admin-action { color: var(--ink-2); font-size: 13px; min-height: 34px; padding: 6px 12px; }
.admin-action:hover { color: var(--ink); }
.admin-key { background: var(--surface-1) !important; border: 1px solid var(--line) !important; border-radius: var(--r-control) !important; }
.admin-key code { color: var(--ink-2) !important; font-variant-numeric: tabular-nums; }
.chat-message { background: var(--surface-2) !important; border-color: var(--line) !important; border-radius: var(--r-control) !important; }
.chat-form textarea { background: var(--surface-2) !important; border-color: var(--line-strong) !important; border-radius: var(--r-control) !important; }
main.profile-page { display: grid; justify-content: stretch; margin: 0 auto; width: 100%; }
.profile-workspace { max-width: 880px; width: 100%; }
.profile-details dl div { gap: 16px; }
@media (min-width: 761px) { main.profile-page { grid-template-columns: 220px minmax(0, 1fr); padding-left: 24px; padding-right: 24px; } }

/* ============ web ClickGUI replica (client visual DNA) ============ */
.xgui { --xg-accent: #7dc5ca; --xg-panel: rgba(22, 24, 30, .9); --xg-inner: rgba(38, 41, 49, .55); --xg-text: #e4e6ea; --xg-muted: #9299a3; --xg-line: rgba(255, 255, 255, .06); color: var(--xg-text); font-family: Inter, "SF Pro Text", Manrope, system-ui, sans-serif; margin: 0 auto; max-width: 1000px; position: relative; }
.xgui::before { background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(123, 79, 240, .12), transparent 70%); content: ''; inset: -60px -40px; pointer-events: none; position: absolute; z-index: -1; }
.xgui button { font: inherit; }
.xgui svg { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 18px; }
.xgui-themes { background: var(--xg-panel); border: 1px solid var(--xg-line); border-radius: 10px; display: inline-flex; gap: 8px; margin-bottom: 12px; padding: 8px 10px; }
.xgui-theme { background: var(--c); border: 0; border-radius: 4px; cursor: pointer; height: 16px; outline-offset: 3px; padding: 0; position: relative; width: 16px; }
.xgui-theme[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--xg-panel), 0 0 0 3.5px rgba(230, 240, 245, .85); }
.xgui-panel { -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); background: var(--xg-panel); border: 1px solid var(--xg-line); border-radius: 14px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); display: grid; gap: 12px; grid-template-columns: 58px 290px minmax(0, 1fr); height: 600px; padding: 12px; }
.xgui-rail, .xgui-list, .xgui-side { min-height: 0; }
.xgui-rail { align-items: center; background: var(--xg-inner); border-radius: 10px; display: flex; flex-direction: column; padding: 16px 0; }
.xgui-logo { height: 22px; width: 22px; }
.xgui-cats { display: grid; gap: 8px; margin: auto 0; }
.xgui-cat { align-items: center; background: transparent; border: 0; border-radius: 8px; color: #c9cdd3; cursor: pointer; display: flex; height: 34px; justify-content: center; position: relative; transition: background .16s ease, color .16s ease; width: 34px; }
.xgui-cat:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.xgui-cat[aria-current="true"] { background: rgba(255, 255, 255, .06); color: var(--xg-accent); }
.xgui-cat[aria-current="true"]::before { background: var(--xg-accent); border-radius: 2px; content: ''; height: 14px; left: -12px; position: absolute; top: 10px; width: 2px; }
.xgui-list { display: grid; gap: 10px; grid-template-rows: auto minmax(0, 1fr); }
.xgui-search { align-items: center; background: var(--xg-inner); border-radius: 10px; color: var(--xg-muted); display: flex; gap: 8px; height: 40px; padding: 0 12px; }
.xgui-search svg { height: 15px; width: 15px; }
.xgui-search input { background: transparent; border: 0; color: var(--xg-text); flex: 1; font: inherit; font-size: 14px; min-width: 0; outline: 0; }
.xgui-search:focus-within { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--xg-accent) 55%, transparent); }
.xgui-modules { background: var(--xg-inner); border-radius: 10px; list-style: none; margin: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px; scrollbar-color: color-mix(in srgb, var(--xg-accent) 60%, transparent) transparent; scrollbar-width: thin; }
.xgui-module { align-items: start; border-radius: 8px; display: grid; gap: 2px 8px; grid-template-columns: minmax(0, 1fr) auto auto; padding: 10px 10px 10px 12px; position: relative; transition: background .16s ease; }
.xgui-module:hover { background: rgba(255, 255, 255, .03); }
.xgui-module.is-selected { background: rgba(255, 255, 255, .06); }
.xgui-module.is-selected::before { background: var(--xg-accent); border-radius: 2px; content: ''; inset: 8px auto 8px 0; position: absolute; width: 2px; }
.xgui-module-open { background: none; border: 0; color: inherit; cursor: pointer; display: grid; gap: 3px; padding: 0; text-align: left; }
.xgui-module-open::after { content: ''; inset: 0; position: absolute; }
.xgui-module-name { font-size: 14px; font-weight: 600; }
.xgui-module-desc { color: var(--xg-muted); font-size: 12px; line-height: 1.35; }
.xgui-bind { color: #6f7680; font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.xgui-bind.is-set { color: var(--xg-accent); }
.xgui-switch { background: none; border: 0; cursor: pointer; padding: 2px 0; position: relative; z-index: 1; }
.xgui-toggle { background: #3a3e46; border-radius: 999px; display: block; height: 14px; position: relative; transition: background .18s ease; width: 26px; }
.xgui-toggle::after { background: #767c85; border-radius: 50%; content: ''; height: 10px; left: 2px; position: absolute; top: 2px; transition: transform .2s cubic-bezier(.23, 1, .32, 1), background .18s ease; width: 10px; }
.xgui-toggle.is-on { background: color-mix(in srgb, var(--xg-accent) 70%, #1b1d22); }
.xgui-toggle.is-on::after { background: #f2f5f7; transform: translateX(12px); }
.xgui-sr { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.xgui-side { display: grid; gap: 10px; grid-template-rows: auto minmax(0, 1fr); }
.xgui-side-head { align-items: center; background: var(--xg-inner); border-radius: 10px; color: var(--xg-text); display: flex; font-size: 14px; font-weight: 600; gap: 8px; height: 40px; padding: 0 14px; }
.xgui-side-head .xgui-cat-icon, .xgui-mhead .xgui-cat-icon { color: var(--xg-accent); display: inline-flex; }
.xgui-side-head svg, .xgui-mhead svg { height: 15px; width: 15px; }
.xgui-back { display: none; }
.xgui-settings { background: var(--xg-inner); border-radius: 10px; display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; padding: 0 16px; }
.xgui-mhead { align-items: start; border-bottom: 1px solid var(--xg-line); display: grid; gap: 8px; grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 14px 4px 12px; }
.xgui-mhead strong { display: block; font-size: 14px; font-weight: 600; }
.xgui-mhead div span { color: var(--xg-muted); display: block; font-size: 12px; margin-top: 2px; }
.xgui-mhead em { color: var(--xg-muted); font-size: 12px; font-style: normal; font-weight: 600; }
.xgui-slist { overflow-y: auto; overscroll-behavior: contain; padding: 6px 4px 14px; scrollbar-color: color-mix(in srgb, var(--xg-accent) 60%, transparent) transparent; scrollbar-width: thin; }
.xs { align-items: center; display: grid; gap: 8px 12px; grid-template-columns: minmax(0, 1fr) auto; padding: 12px 0; }
.xs-name { font-size: 14px; font-weight: 500; }
.xs-value { color: color-mix(in srgb, var(--xg-accent) 75%, #8a9098); font-size: 12px; font-variant-numeric: tabular-nums; }
.xs-slider input { -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, var(--xg-accent) var(--p), #33373e var(--p)); border-radius: 3px; cursor: pointer; grid-column: 1 / -1; height: 3px; margin: 4px 0; width: 100%; }
.xs-slider input::-webkit-slider-thumb { -webkit-appearance: none; background: #dfeaec; border: 0; border-radius: 50%; height: 11px; width: 11px; }
.xs-slider input::-moz-range-thumb { background: #dfeaec; border: 0; border-radius: 50%; height: 11px; width: 11px; }
.xs-chips { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.xs-chip { background: rgba(255, 255, 255, .04); border: 0; border-radius: 5px; color: #aab0b8; cursor: pointer; font-size: 13px; padding: 4px 8px; transition: background .16s ease, color .16s ease; }
.xs-chip:hover { color: #fff; }
.xs-chip[aria-checked="true"], .xs-chip[aria-pressed="true"] { background: color-mix(in srgb, var(--xg-accent) 26%, #22252b); color: #e8f2f3; }
.xgui-empty { color: var(--xg-muted); font-size: 13px; list-style: none; padding: 16px 4px; }
.xgui-noscript { padding: 24px; }
.xgui-note { color: var(--muted); font-size: 13px; margin: 18px auto 0; max-width: 1000px; }
.xgui:not(.is-ready) .xgui-modules, .xgui:not(.is-ready) .xgui-settings { opacity: .4; }

/* client timings (SoftGlass.TRANSITION_MS = 180, EaseInOutQuad; open 180ms SINE_OUT, close 160ms SINE_IN; slider 60ms linear) */
.xgui { --xg-t: 180ms; --xg-ease: cubic-bezier(.45, 0, .55, 1); --xg-open: cubic-bezier(.61, 1, .88, 1); --xg-scale: 1; }
.xgui-stage { transform: scale(var(--xg-scale)); transform-origin: 0 0; width: 960px; }
.xgui-wrap-h { height: calc(var(--xg-h, 700px) * var(--xg-scale)); }
.xgui-panel { grid-template-columns: 58px 280px minmax(0, 1fr); height: 640px; }
.xgui-cat, .xgui-module, .xgui-toggle, .xgui-toggle::after, .xs-chip, .xgui-theme, .xgui-search, .xgui-module-name, .xgui-bind { transition-duration: var(--xg-t) !important; transition-timing-function: var(--xg-ease) !important; }
.xgui-cat[aria-current]::before { opacity: 0; transition: opacity var(--xg-t) var(--xg-ease); }
.xgui-cat[aria-current="true"]::before { opacity: 1; }
.xgui-cat::before { background: var(--xg-accent); border-radius: 2px; content: ''; height: 14px; left: -12px; position: absolute; top: 10px; width: 2px; }
.xgui-module::before { opacity: 0; transition: opacity var(--xg-t) var(--xg-ease); background: var(--xg-accent); border-radius: 2px; content: ''; inset: 8px auto 8px 0; position: absolute; width: 2px; }
.xgui-module.is-selected::before { opacity: 1; }
.xs-slider input { transition: background 60ms linear; }
.xgui-modules > li, .xgui-slist, .xgui-mhead { animation: xg-fade var(--xg-t) var(--xg-ease) both; }
@keyframes xg-fade { from { opacity: 0; } to { opacity: 1; } }
/* open: panel fades in 180ms sine-out, glow slides 30px, one white pulse (Menu.java "Свечение") */
.xgui .xgui-stage { opacity: 0; }
.xgui.is-open .xgui-stage { opacity: 1; transition: opacity var(--xg-t) var(--xg-open); }
.xgui::before { opacity: 0; transform: translateY(30px); transition: opacity var(--xg-t) var(--xg-open), transform var(--xg-t) var(--xg-open); }
.xgui.is-open::before { opacity: 1; transform: none; }
.xgui::after { background: #fff; border-radius: 50%; content: ''; height: 120%; left: 50%; opacity: 0; pointer-events: none; position: absolute; top: 50%; transform: translate(-50%, -50%) scale(0); width: 120%; aspect-ratio: 1; z-index: 2; }
.xgui.is-open::after { animation: xg-pulse var(--xg-t) var(--xg-open); }
@keyframes xg-pulse { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0); } 50% { opacity: .2; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .xgui .xgui-stage { opacity: 1; } .xgui::after { display: none; } }
.xgui .xs-chip { font-size: 13px; line-height: 1.3; } .xgui .xgui-module-name, .xgui .xs-name { font-size: 14px; }
.xgui { overflow: clip; } .xgui::before { inset: 0; }
.xgui .no-anim > li, .xgui .no-anim .xgui-slist, .xgui .no-anim .xgui-mhead { animation: none; }

/* legal / info pages */
.doc-page { margin: 0 auto; max-width: 820px; padding: 72px var(--gutter) 112px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -.03em; margin: 0 0 8px; }
.doc-date { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 1.7; max-width: 70ch; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc a:not(.primary-action) { color: var(--accent-ink); text-underline-offset: 3px; }
.doc-contacts { border-top: 1px solid var(--line); margin: 28px 0; }
.doc-contacts div { border-bottom: 1px solid var(--line); display: grid; gap: 4px 24px; grid-template-columns: 200px 1fr; padding: 16px 0; }
.doc-contacts dt { color: var(--muted); }
.doc-contacts dd { margin: 0; }
.doc-plan { background: var(--surface-1); border: 1px solid rgba(160, 120, 255, .22); border-radius: var(--r-frame); display: grid; gap: 24px 40px; grid-template-columns: 1fr 1fr; margin: 28px 0 8px; padding: 28px; }
.doc-plan h2 { margin: 0; }
.doc-plan-price { color: var(--ink) !important; font-size: 48px !important; font-variant-numeric: tabular-nums; font-weight: 800; letter-spacing: -.04em; line-height: 1.1 !important; margin: 12px 0 !important; }
.doc-plan ul { margin: 0; }
.pay-consent { color: var(--muted); display: block; font-size: 12px; line-height: 1.55; margin: 12px 0 0; }
.pay-consent a { color: var(--accent-ink); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; grid-column: 1 / -1; }
.footer-legal a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-legal a:hover { color: var(--ink); }
.footer-verify { color: #6d6b78; font-size: 12px; margin-left: auto; }
@media (max-width: 760px) { .doc-plan { grid-template-columns: 1fr; } .doc-contacts div { grid-template-columns: 1fr; } .footer-legal { grid-column: auto; } .footer-verify { margin-left: 0; } }
.pay-soon { color: var(--ink-2); display: block; font-size: 13px; line-height: 1.55; margin-top: 10px; }
.link-button { background: none; border: 0; color: var(--accent-ink); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.profile-download:disabled { cursor: not-allowed; opacity: .55; transform: none; }
