:root {
  --bg: #0c0a10;
  --text: #f2eff7;
  --muted: #a29aaE;
  --line: #ffffff12;
  --accent: #be9aee;
  --glass: linear-gradient(145deg, #292330f5, #17141df2 60%, #1c1723f5);
  --glass-shadow: inset 0 1px 0 #ffffff0a, 0 18px 50px #05030930;
}
.sky { background: radial-gradient(ellipse at 25% 0%, #352340 0%, #1b1524 38%, #0c0a10 76%); }
.sky::before { content: ""; position: absolute; width: 55vw; height: 55vw; max-height: 700px; top: 35%; right: -30vw; border-radius: 50%; background: radial-gradient(circle, #65437525, transparent 70%); }
.grid { opacity: .045; background-size: 56px 56px; }
.bar { padding: .65rem 1.1rem; min-height: 72px; margin-top: 1rem; gap: 1.25rem; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(120deg, #27202de8, #15121bec); box-shadow: var(--glass-shadow); backdrop-filter: blur(28px) saturate(115%); -webkit-backdrop-filter: blur(28px) saturate(115%); }
.brand { gap: .55rem; font-size: 1.22rem; }
.bar .brand img { width: 36px; height: 36px; }
.main-nav { gap: 1.3rem; }
.main-nav a { position: relative; transition: color .2s; }
.main-nav a[aria-current]::after { content: ""; position: absolute; bottom: -.45rem; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.header-actions { gap: .55rem; min-width: 0; }
.header-balance, .account-link { min-height: 38px; padding: .45rem .7rem; border: 1px solid #ffffff0c; border-radius: 13px; background: #ffffff05; font-size: .8rem; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; transition: background .2s; }
.header-balance { font-variant-numeric: tabular-nums; color: #d8c5ef; }
.header-balance svg, .account-link svg { width: 16px; height: 16px; color: var(--accent); }
.header-balance:hover, .account-link:hover { background: #ffffff0c; }
.account-link > span:first-of-type { max-width: 13ch; overflow: hidden; text-overflow: ellipsis; }
.languages { border: 0; background: #09070d50; border-radius: 12px; padding: .2rem; }
.lang { padding: .35rem; border-radius: 8px; transition: opacity .2s, background .2s; }
.panel { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--glass-shadow); backdrop-filter: blur(30px) saturate(110%); -webkit-backdrop-filter: blur(30px) saturate(110%); }
.hero { padding-top: 2rem; padding-bottom: 4.5rem; }
.hero-mark img { width: 220px; height: 220px; filter: drop-shadow(0 16px 50px #a05ae833); }
.hero h1 { font-weight: 620; font-size: clamp(2.5rem, 5vw, 4.2rem); letter-spacing: -.055em; }
.hero h1 .accent { color: #c19cec; }
.hero .lede { font-size: 1rem; }
.button { min-height: 46px; padding: .8rem 1.15rem; border-radius: 13px; border: 1px solid #ffffff12; background: linear-gradient(#ffffff08, #ffffff03); box-shadow: inset 0 1px 0 #ffffff08; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.button:hover { background: #b497d01a; border-color: #c2a5df40; box-shadow: inset 0 1px 0 #ffffff10, 0 6px 18px #0002; }
.button.primary { background: linear-gradient(160deg, #a384c9, #8061a7); border-color: #d7baf938; color: #fff; }
.button.primary:hover { background: linear-gradient(160deg, #b196d3, #9272b9); }
.button.ghost { background: #ffffff03; border-color: #ffffff0b; }
.button:disabled:hover { transform: none; }
.stacked-actions { display: grid; grid-template-columns: 1fr; gap: .65rem; align-items: stretch; }
.stacked-actions > .button, .stacked-actions form, .stacked-actions form .button { width: 100%; margin: 0; }
.stacked-actions .button { display: grid; grid-template-columns: 20px minmax(0, 170px); align-items: center; justify-content: center; text-align: left; }
.stacked-actions .button > span { min-width: 0; }
.download-card .stacked-actions { max-width: 340px; }
.feature { padding: 1.7rem; gap: 2.25rem; }
.feature-art { padding: .25rem; background: transparent; }
.feature-art img { clip-path: none; border-radius: 13px; filter: drop-shadow(0 12px 24px #0003); }
.feature .product-name { font-size: 2.2rem; font-weight: 600; }
.feature-grid article { padding: 1.6rem; }
.icon-tile, .profile-avatar { background: #c6a0ec0c; border: 1px solid #c6a0ec10; color: #c4a2eb; }
.community { background: linear-gradient(120deg, #44314ff2, #251b31f5); margin-block: 3rem; }
.community p { color: #bdb0c9; }
.community h2 { font-weight: 580; }
.faq { margin-top: 4rem; }
.faq h2 { font-weight: 580; }
.faq details { padding: 1.25rem 1.4rem; }
summary { font-weight: 550; }
.breadcrumbs { font-size: .8rem; gap: .8rem; margin-bottom: 1.5rem; }
.product-layout { grid-template-columns: minmax(0, 1.9fr) minmax(305px, 1fr); gap: 1.25rem; }
.product-media { min-width: 0; }
.gallery { background: linear-gradient(145deg, #211c29f5, #15121bf5); }
.gallery > img { clip-path: none; padding: 1.5rem 1.5rem .75rem; aspect-ratio: 16/10; height: auto; object-fit: contain; animation: gallery-in .35s both; }
.gallery figcaption { position: static; background: transparent; padding: .75rem 1.25rem 1.1rem; }
.gallery figcaption strong { font-size: .84rem; font-weight: 550; }
.gallery .button { min-width: 36px; min-height: 36px; border-radius: 12px; background: #ffffff06; }
.product-specs { padding-block: 1rem; border-radius: 17px; }
.product-specs strong { font-size: .95rem; font-weight: 550; }
.product-specs span { font-size: .73rem; }
.video-panel { padding: 1.15rem; }
.video-panel .player { margin-bottom: 0; }
.order { padding: 1.4rem; }
.order header { padding-bottom: 1.2rem; gap: .6rem; }
.order h1 { font-size: 1.6rem; font-weight: 600; }
.order .purchase-form { display: block; margin-top: 1rem; }
.order legend { font-weight: 500; color: var(--muted); margin-bottom: .9rem; }
.periods { gap: .5rem; }
.periods label:last-child { grid-column: 1 / -1; }
.periods span { min-height: 65px; padding: .7rem .5rem; gap: .2rem; background: #0e0b1370; border: 1px solid #ffffff09; border-radius: 12px; transition: background .2s, border-color .2s, transform .2s; }
.periods span strong { font-weight: 550; font-size: .85rem; }
.periods small { font-size: .72rem; font-weight: 400; opacity: .75; }
.periods input:hover + span { border-color: #bda0d840; }
.periods input:checked + span { background: linear-gradient(145deg, #9f81c03b, #9370b421); border-color: #b593db85; box-shadow: inset 0 1px 0 #dbc2f41a; color: #f2e9ff; }
.periods input:checked + span small { opacity: .9; }
.receipt { background: #0c0a1265; border: 1px solid #ffffff09; border-radius: 13px; margin-block: 1rem; padding: 1rem; }
.receipt::after { display: none; }
.receipt > div { padding: .25rem 0; align-items: center; }
.receipt strong { font-weight: 550; font-variant-numeric: tabular-nums; }
.order dl { margin-top: 1.2rem; }
.profile-summary { padding: 1.6rem; }
.profile-summary h1 { font-weight: 580; }
.profile-summary .stacked-actions { margin-top: 1.3rem; }
.user-id, .table-id { letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--muted); }
.balance-number { margin-block: 1.3rem; gap: .35rem; }
.balance-number span { font-size: .8rem; }
.balance-number strong { font-size: 2rem; font-weight: 550; letter-spacing: -.04em; }
.license-card { padding: 1.8rem; }
.license-card > img { width: 72px; height: 72px; }
.license-card h2, .referral-card h2 { font-size: 1.45rem; font-weight: 550; }
.license-value { background: #0d091140; border: 1px solid #ffffff0a; border-radius: 14px; padding: 1rem; }
.license-value code { font-size: clamp(1rem, 2.4vw, 1.4rem); }
.referral-card .button { width: 100%; }
.referral-url input { font-size: .78rem; }
input:not([type=hidden]):not([type=radio]) { background: #0e0b1470; border-color: #ffffff0c; border-radius: 12px; transition: border-color .2s, background .2s; }
input:not([type=radio]):focus { border-color: #c7a4eb55; background: #131019; }
.auth { border-radius: 23px; padding: 2rem; }
.auth .eyebrow { display: none; }
.auth-logo { width: 58px; height: 58px; margin-bottom: 1.2rem; }
.auth h1, .focus h1 { font-weight: 580; }
.player { border: 1px solid #ffffff0b; }
.player-center { background: #9f80bfc7; backdrop-filter: blur(16px); border-color: #e5ccff28; box-shadow: 0 8px 30px #0003; }
.player-controls { background: linear-gradient(transparent, #17101ee8); }
.player-controls button { border-radius: 9px; }
.player-controls input[type=range] { accent-color: #c3a1e7; }
.user-search { gap: .8rem; margin: 1.7rem 0 1rem; }
.role-caption { display: block; margin-top: .35rem; color: var(--muted); font-size: .72rem; }
.admin-panel .table-wrap { margin-top: .8rem; }
.admin-panel .inline-form .button { min-width: 125px; }
.admin-panel .table-id { font-family: ui-monospace, monospace; font-size: .72rem; }
.footer { margin-top: 1rem; border-color: #ffffff09; }
main > .focus, .account-layout, .product-layout { animation: surface-in .5s both; }
@keyframes surface-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes gallery-in { from { opacity: .5; transform: scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 1020px) {
  .bar { flex-wrap: wrap; gap: .6rem; }
  .main-nav { order: 3; width: 100%; justify-content: center; padding: .6rem .3rem .35rem; }
  .bar { padding: .8rem 1rem; }
}
@media (max-width: 700px) {
  .bar { border-radius: 20px; margin-top: .6rem; padding: .65rem .8rem; }
  .bar .brand span { display: none; }
  .bar .brand img { width: 34px; height: 34px; }
  .header-actions { gap: .35rem; }
  .header-balance, .account-link { padding: .4rem .5rem; font-size: .74rem; gap: .3rem; }
  .account-link > span:first-of-type { max-width: 9ch; }
  .account-link .badge { display: none; }
  .languages { gap: 0; padding: .15rem; }
  .lang { padding: .3rem; }
  .lang img { width: 19px; height: 13px; }
  .header-balance svg { display: none; }
  .main-nav { gap: 1.4rem; }
  .main-nav a { font-size: .79rem; }
  .hero-mark img { width: 170px; height: 170px; }
  .hero { padding-top: 1.6rem; padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.7rem); }
  .feature { padding: 1rem; gap: 1rem; }
  .feature > div:last-child { padding: .5rem .5rem 1rem; }
  .gallery > img { padding: 1rem 1rem .5rem; aspect-ratio: 4/3; }
  .product-layout { gap: 1rem; }
  .order { padding: 1.25rem; }
  .account-layout { gap: 1rem; }
  .profile-summary, .license-card, .referral-card { padding: 1.4rem; }
  .user-search { align-items: stretch; }
  .user-search .button { align-self: end; }
  .auth { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
