:root {
  color-scheme: dark;
  font-family: Geist, Inter, system-ui, sans-serif;
  color: #fcf8f8;
  background: #0e0e11;
  --background: #0e0e11;
  --surface: #100e0e;
  --line: #34343b;
  --muted: #aaa0a1;
  --dim: #a19697;
  --red: #9a9ca5;
  --accent: #9a9ca5;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap, .wrap-wide { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.wrap-wide { width: min(1240px, calc(100% - 48px)); }
.skip-link { position: fixed; z-index: 8; top: 10px; left: 10px; padding: 10px 16px; background: var(--red); color: #0e0e11; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 5; top: 12px; left: 0; right: 0; padding-inline: 24px; }
.nav-shell { width: min(100%, 1160px); min-height: 60px; margin: auto; padding: 8px 11px 8px 17px; border: 1px solid #34343b; border-radius: 17px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; background: #0e0e11ef; backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 9px; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.brand img, .demo-brand img { object-fit: cover; border-radius: 6px; }
nav, .nav-actions { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
nav a, .nav-community { color: var(--muted); font-size: .875rem; }
nav a:hover, .nav-community:hover, .text-link:hover { color: var(--accent); }
.nav-actions { justify-self: end; gap: 16px; }
.customer-nav { color: #ececf0; font-weight: 600; }
.customer-nav[aria-current="page"] { color: #ececf0; border-bottom: 2px solid #9a9ca5; padding-block: 7px; }
@media (min-width:701px) and (max-width:960px) {
  .nav-shell { grid-template-columns: 1fr auto; gap: 10px; }
  .nav-shell nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding: 2px 0 5px; }
  .nav-actions { grid-column: 2; grid-row: 1; }
}

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; width: fit-content; border: 1px solid transparent; border-radius: 11px; padding: 0 20px; cursor: pointer; font-size: .9rem; font-weight: 650; text-align: center; transition: background-color 160ms, border-color 160ms; }
.button-small { min-height: 38px; padding: 0 14px; border-radius: 9px; font-size: .82rem; }
.primary { background: var(--red); color: #0e0e11; box-shadow: 0 5px 26px #686a732a; }
.primary:hover { background: #ececf0; }
.secondary { background: #17171b; border-color: #34343b; }
.secondary:hover { border-color: #9a9ca5; background: #25252b; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; font-weight: 600; }

.hero { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; min-height: 100vh; min-height: 100svh; padding: 110px 24px 75px; text-align: center; background: radial-gradient(ellipse 52% 49% at 50% 6%, #34343b 0%, #17171b 52%, transparent 96%); }
.hero-content { position: relative; z-index: 1; width: min(100%, 1350px); }
.stars { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: var(--size); height: var(--size); border-radius: 50%; background: #ececf0; opacity: var(--opacity); }
.hero-orbit { position: absolute; z-index: -1; left: calc(50% - min(37vw, 550px)); top: 50%; width: clamp(155px, 18vw, 265px); aspect-ratio: 1; border: 1px solid #9a9ca538; border-radius: 50%; box-shadow: inset 0 0 44px #686a7312; transform: translateY(-66%); }
.hero-orbit span { position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: #ececf0; opacity: .6; box-shadow: 0 0 12px #9a9ca5; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 6px 13px; border: 1px solid #686a73; border-radius: 999px; background: #25252b; color: #ececf0; font-size: .76rem; }
.status-pill i, .demo-status i, .online i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 11px #9a9ca5; }
.status-pill strong { border-left: 1px solid #686a73; padding-left: 9px; color: #fff0f0; font-weight: 600; }
.hero h1 { font-size: clamp(52px, 11vw, 187px); letter-spacing: -.083em; line-height: .9; margin: 34px -.035em 28px 0; font-weight: 750; text-wrap: balance; }
.hero h1 span { color: #fff8f8; }
.hero p { color: #c7b7b9; font-size: clamp(1rem, 2vw, 1.55rem); line-height: 1.4; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 33px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 480px; margin: 54px auto 0; border-top: 1px solid #34343b; }
.hero-facts div { padding: 18px 8px 0; }
.hero-facts div + div { border-left: 1px solid #34343b; }
.hero-facts dt { color: var(--dim); font-size: .75rem; margin-bottom: 7px; }
.hero-facts dd { font-size: .92rem; font-weight: 650; }

.section { padding-block: 83px 102px; }
.section-heading { max-width: 780px; margin: 0 auto 47px; padding-inline: 14px; text-align: center; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 660; line-height: 1.05; letter-spacing: -.058em; text-wrap: balance; }
.section-heading p { max-width: 670px; margin: 17px auto 0; color: var(--muted); font-size: 1.06rem; line-height: 1.55; text-wrap: pretty; }
.eyebrow { display: block; margin-bottom: 15px; color: #ececf0; font-size: .8rem; font-weight: 500; }

.demo-section { padding-top: 48px; }
.demo-frame { overflow: hidden; border: 1px solid #34343b; border-radius: 17px; background: #090808; box-shadow: 0 22px 70px #25252b47; }
.frame-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 42px; padding-inline: 14px; background: #17171b; border-bottom: 1px solid var(--line); gap: 8px; }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { background: #34343b; border-radius: 50%; width: 9px; height: 9px; }
.frame-address { color: var(--dim); font-family: ui-monospace, monospace; font-size: .69rem; text-align: center; }
.demo-badge { justify-self: end; color: #ececf0; border: 1px solid #686a73; border-radius: 999px; background: #25252b; padding: 4px 8px; font-size: .68rem; font-weight: 650; }
.demo-shell { display: grid; min-height: 620px; grid-template-columns: minmax(184px, 21.25%) minmax(0, 1fr); }
.demo-sidebar { display: flex; flex-direction: column; gap: 14px; padding: 17px 13px 13px; border-right: 1px solid #34343b; background: #0e0e11; }
.demo-brand, .demo-user, .demo-status { display: flex; align-items: center; gap: 10px; font-size: .83rem; }
.demo-brand { padding: 1px 6px 3px; }
.demo-sidebar small, .demo-view small { display: block; margin-top: 4px; color: var(--dim); font-size: .73rem; line-height: 1.35; }
.demo-user, .demo-status { padding: 11px 9px; border: 1px solid var(--line); border-radius: 11px; background: #17171b; }
.demo-user { margin-top: auto; }
.demo-status i { margin-inline: 4px; }
.menu-label { display: block; margin: 6px 0 7px 8px; color: #ececf0; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.demo-menu button { display: flex; width: 100%; min-height: 43px; padding: 4px 8px; align-items: center; text-align: left; cursor: pointer; gap: 9px; border: 1px solid transparent; background: transparent; border-radius: 9px; font-size: .82rem; font-weight: 600; }
.demo-menu button:hover { background: #25252b; }
.demo-menu button[aria-pressed="true"] { color: #fff5f5; border-color: #686a73; background: #25252b; }
.menu-icon, .heading-icon { display: inline-grid; width: 29px; height: 29px; flex: none; place-items: center; border: 1px solid #34343b; border-radius: 8px; background: #25252b; color: #ececf0; font-size: 1rem; line-height: 1; }
.demo-menu button[aria-pressed="true"] .menu-icon { background: var(--red); border-color: var(--red); color: #17171b; }
.demo-toolbar { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 0 19px; font-size: .75rem; color: var(--dim); }
.demo-toolbar strong { color: var(--text, #fcf8f8); margin-left: 4px; }
.demo-toolbar span span { margin-left: 5px; }
.online { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; color: #d9c8c9; font-size: .68rem; }
.online i { width: 5px; height: 5px; }
.demo-content { padding: 25px 22px; }
.panel-heading { display: flex; gap: 13px; align-items: center; margin-bottom: 22px; }
.heading-icon { width: 43px; height: 43px; border-radius: 11px; font-size: 1.3rem; }
.panel-heading h3 { font-size: 1.55rem; line-height: 1.1; letter-spacing: -.042em; }
.panel-heading p { font-size: .84rem; color: var(--dim); margin-top: 5px; }
.segmented { display: flex; align-items: center; width: fit-content; gap: 3px; border: 1px solid var(--line); background: #17171b; padding: 4px; border-radius: 10px; margin-bottom: 16px; }
.segmented button { padding: 7px 10px; border: none; background: none; border-radius: 6px; color: #c5b6b8; cursor: pointer; font-weight: 600; font-size: .78rem; }
.segmented button:hover { background: #25252b; }
.segmented button[aria-pressed="true"] { background: var(--red); color: #17171b; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.demo-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.demo-card h4 { display: flex; min-height: 53px; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 650; }
.setting-row, .slider-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-inline: 14px; padding-block: 13px; font-size: .81rem; }
.setting-row + .setting-row, .slider-row + .slider-row { border-top: 1px solid var(--line); }
.setting-row { cursor: pointer; }
.switch { position: relative; appearance: none; width: 38px; height: 21px; flex: none; margin: 0; border: 1px solid #686a73; border-radius: 999px; background: #34343b; cursor: pointer; }
.switch::before { content: ''; position: absolute; width: 13px; height: 13px; top: 3px; left: 3px; border-radius: 50%; background: #d3c0c2; transition: transform 150ms; }
.switch:checked { background: var(--red); border-color: var(--red); }
.switch:checked::before { transform: translateX(17px); background: #17171b; }
.slider-row { display: grid; grid-template-columns: minmax(0, 1fr); }
.slider-row span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.slider-row output { color: #e9d3d4; font-size: .74rem; font-variant-numeric: tabular-nums; }
.slider-row input { width: 100%; margin: 0; accent-color: var(--red); cursor: pointer; }
.card-body { display: grid; justify-items: start; gap: 11px; padding: 15px; font-size: .84rem; }
.card-body p, .card-body label { color: var(--muted); line-height: 1.55; }
.key-field { width: min(100%, 230px); padding: 9px 10px; border: 1px solid #686a73; border-radius: 7px; color: inherit; background: #17171b; }
.display-preview { --preview-color: 245 72 80; --intensity: .35; --zoom: 1; display: grid; min-height: 100px; place-items: center; margin: 12px 14px 14px; overflow: hidden; border: 1px solid #34343b; border-radius: 10px; background: radial-gradient(ellipse, rgb(var(--preview-color) / var(--intensity)), transparent 85%), #0e0e11; }
.display-preview[data-grid-preview="true"] { background-image: repeating-linear-gradient(0deg, #fff1 0 1px, transparent 1px 17px), repeating-linear-gradient(90deg, #fff1 0 1px, transparent 1px 17px), radial-gradient(ellipse, rgb(var(--preview-color) / var(--intensity)), transparent 85%); }
.display-preview > div { display: flex; align-items: center; gap: 7px; padding: 8px; font-size: .74rem; transform: scale(var(--zoom)); }
.display-preview img { border-radius: 6px; }
.display-preview[data-profile-preview="Kompakt"] > div { gap: 4px; padding: 2px; font-size: .65rem; }
.display-preview[data-profile-preview="Kontrast"] > div { background: #0e0e11; border: 1px solid #fff; border-radius: 7px; color: white; }

.feature-section { padding-top: 75px; }
.feature-leads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(88px, .55fr); align-items: center; min-height: 201px; gap: 22px; padding: 28px; border: 1px solid #34343b; border-radius: 16px; background: radial-gradient(ellipse at 90% 60%, #25252b, transparent 70%), #0e0e11; }
.feature-lead > img, .feature-lead > span { justify-self: center; }
.feature-lead > img { border: 1px solid #686a73; border-radius: 14px; box-shadow: 0 0 35px #686a7333; object-fit: cover; }
.feature-lead h3 { font-size: 1.4rem; letter-spacing: -.035em; }
.feature-lead p, .feature-grid p { color: var(--muted); margin-top: 8px; line-height: 1.55; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 48px 18px 0; }
.feature-grid h3 { margin-top: 15px; font-size: 1rem; letter-spacing: -.018em; }
.feature-grid p { font-size: .88rem; }
.feature-illustration { display: inline-grid; place-items: center; width: 54px; height: 52px; color: #ececf0; font-size: 2.65rem; line-height: 1; }
.illustration-window { position: relative; width: 88px; height: 64px; border: 2px solid #9a9ca5; border-radius: 10px; box-shadow: 0 0 25px #9a9ca53a; }
.illustration-window::before { content: ''; position: absolute; inset: 13px 0 auto; border-top: 2px solid #9a9ca5; }
.illustration-window::after { content: ''; position: absolute; inset: 14px auto 0 24px; border-left: 2px solid #9a9ca5; }

.price-grid { display: grid; max-width: 940px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-inline: auto; }
.price-card { display: grid; grid-template-rows: 1fr auto; border: 1px solid #34343b; border-radius: 18px; background: #17171b; overflow: hidden; }
.price-card.featured { border-color: #686a73; box-shadow: 0 0 38px #9a9ca51a; }
.price-top { padding: 29px 30px 27px; display: flex; flex-direction: column; }
.price-top h3 { font-size: 1.47rem; line-height: 1.15; letter-spacing: -.04em; }
.price-top p { color: var(--muted); margin-top: 9px; line-height: 1.45; font-size: .93rem; }
.price-amount { font-size: clamp(2.1rem, 4.2vw, 3.35rem); font-weight: 700; line-height: 1; letter-spacing: -.07em; margin: 29px 0; }
.price-top .button { width: 100%; margin-top: auto; }
.price-top p + .button { margin-top: auto; }
.price-bottom { min-height: 154px; padding: 21px 30px; border-top: 1px solid var(--line); background: #17171b; }
.price-bottom :is(ul, ol) { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: #ddcfd0; }
.price-bottom ol { counter-reset: entry; }
.price-bottom li { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; line-height: 1.4; }
.price-bottom li::before { content: '✓'; display: inline-grid; place-items: center; width: 17px; height: 17px; flex: none; border-radius: 50%; background: #9a9ca5; color: #17171b; font-weight: 800; font-size: .69rem; }
.price-bottom ol li::before { counter-increment: entry; content: counter(entry); }

.faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: 50px; padding-inline: 24px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 22px 31px 22px 2px; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; width: 7px; height: 7px; right: 6px; top: 26px; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list p { margin: 0 19px 21px 2px; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.faq-list p a { color: #ececf0; text-decoration: underline; text-underline-offset: 3px; }

.community { display: grid; width: min(1112px, calc(100% - 48px)); grid-template-columns: 1.2fr 1fr; margin-block: 45px 94px; border: 1px solid #34343b; border-radius: 19px; overflow: hidden; background: #17171b; }
.community-main, .community-side { padding: clamp(27px, 4.1vw, 48px); }
.community-side { border-left: 1px solid #34343b; background: #17171b; }
.community h2 { max-width: 500px; text-wrap: initial; }
.community h3 { font-size: 1.09rem; }
.community p { margin-top: 17px; color: var(--muted); line-height: 1.6; }
.community .button, .community .text-link { margin-top: 23px; }
.community .text-link { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 15px 22px; }

@media (max-width: 870px) {
  .nav-community { display: none; }
  .hero-orbit { left: 8%; }
  .feature-grid { margin-inline: 0; gap: 20px; }
  .feature-lead { padding: 22px; }
  .faq-section { padding-inline: 0; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 115px; }
  .wrap, .wrap-wide, .community { width: calc(100% - 32px); }
  .site-header { top: 8px; padding-inline: 12px; }
  .nav-shell { grid-template-columns: 1fr auto; gap: 7px 10px; padding: 8px 9px 9px 12px; border-radius: 13px; }
  .nav-shell nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: clamp(12px, 4vw, 28px); }
  .nav-shell nav a { padding-block: 3px; }
  .nav-actions { grid-row: 1; grid-column: 2; }
  .hero { padding: 125px 16px 69px; }
  .hero h1 { font-size: clamp(48px, 11.5vw, 82px); margin-top: 24px; margin-bottom: 20px; }
  .hero-orbit { left: -25px; transform: translateY(-94%); }
  .hero-facts { margin-top: 40px; }
  .section { padding-block: 60px 72px; }
  .section-heading { margin-bottom: 31px; }
  .section-heading p { font-size: .96rem; }
  .demo-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .demo-sidebar { gap: 8px; padding: 9px; border: 0; border-bottom: 1px solid var(--line); }
  .demo-sidebar .demo-brand, .demo-sidebar .demo-status, .demo-user, .menu-label { display: none; }
  .demo-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
  .demo-menu button { min-height: 36px; padding: 3px 4px; gap: 5px; }
  .demo-menu .menu-icon { width: 23px; height: 23px; }
  .demo-toolbar { padding-inline: 12px; }
  .demo-content { padding: 16px 10px; }
  .panel-heading { margin-bottom: 16px; }
  .demo-grid { gap: 9px; }
  .feature-leads, .price-grid, .faq-section, .community { grid-template-columns: minmax(0, 1fr); }
  .feature-leads, .price-grid { gap: 12px; }
  .feature-lead { min-height: 154px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .price-top, .price-bottom { padding-inline: 20px; }
  .price-top p + .button { margin-top: 23px; }
  .price-bottom { min-height: 0; }
  .faq-section { gap: 28px; }
  .community { margin-block: 5px 59px; }
  .community-side { border: 0; border-top: 1px solid #34343b; }
  .site-footer { flex-wrap: wrap; gap: 14px; padding-inline: 0; }
  .site-footer nav { flex-wrap: wrap; gap: 12px 20px; }
}
@media (max-width: 450px) {
  .hero h1 { font-size: clamp(44px, 11.4vw, 54px); }
  .hero-actions .button { padding-inline: 11px; min-height: 42px; gap: 6px; font-size: .8rem; }
  .status-pill { font-size: .7rem; }
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-lead { padding: 18px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Storefront interactions */
button { font-family: inherit; }
.button { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button:disabled { cursor: wait; opacity: .6; transform: none; }
.nav-actions { gap: 10px; }
.cart-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 65px; height: 38px; padding: 0 11px; border: 1px solid #686a73; border-radius: 9px; background: #25252b; cursor: pointer; font-weight: 700; }
.cart-button:hover { background: #34343b; }
.bag-icon { display: block; position: relative; width: 16px; height: 17px; border: 1.5px solid currentColor; border-radius: 3px; margin-top: 4px; }
.bag-icon::before { content: ''; position: absolute; left: 3px; top: -6px; width: 7px; height: 7px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.cart-button.bump { animation: cart-bump .4s ease; }
.red-dot { color: var(--red); }
.purchase-note { text-align: center; color: var(--muted); font-size: .75rem; margin-top: 14px; }
.price-card, .feature-lead { transition: border-color .3s, box-shadow .3s, transform .3s; }
.price-card:hover, .feature-lead:hover { border-color: #686a73; box-shadow: 0 15px 55px #34343b26; transform: translateY(-5px); }
.hero::before { content: ''; position: absolute; z-index: -2; width: 60%; height: 65%; top: -28%; left: 20%; border-radius: 50%; background: #686a7338; filter: blur(75px); animation: halo-drift 14s ease-in-out infinite alternate; }
.hero-orbit { animation: orbit-drift 12s ease-in-out infinite; }
.hero-orbit::after { content: ''; position: absolute; inset: -18px; border: 1px solid #9a9ca514; border-radius: 50%; }
.stars i { animation: twinkle 5s ease-in-out infinite alternate; animation-delay: calc(var(--opacity) * -20s); }
.hero-content > * { animation: enter-up .85s both; }
.hero h1 { animation-delay: .12s; }
.hero-content > p { animation-delay: .22s; }
.hero-actions { animation-delay: .32s; }
.hero-facts { animation-delay: .42s; }
html.motion-ready .reveal { opacity: 0; transform: translateY(25px); transition: opacity .65s, transform .65s; }
html.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.feedback-float { position: fixed; right: 22px; bottom: 22px; z-index: 6; display: flex; align-items: center; gap: 8px; min-height: 43px; padding: 0 17px; border: 1px solid #686a73; border-radius: 999px; background: #25252bf5; backdrop-filter: blur(12px); color: #fff0f2; box-shadow: 0 8px 35px #0008; cursor: pointer; font-weight: 650; font-size: .85rem; transition: transform .2s, background-color .2s; }
.feedback-float span { color: #ececf0; font-size: 1.2rem; }
.feedback-float:hover { transform: translateY(-3px); background: #34343b; }
.shop-toast { position: fixed; z-index: 20; bottom: 24px; left: 50%; transform: translate(-50%,20px); max-width: calc(100% - 30px); padding: 12px 20px; border: 1px solid #686a73; background: #25252b; border-radius: 12px; color: #fff; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; font-size: .85rem; text-align: center; }
.shop-toast.visible { opacity: 1; transform: translate(-50%,0); }
body:has(dialog[open]) { overflow: hidden; }
.shop-dialog { color: var(--text,#fcf8f8); background: radial-gradient(ellipse at 100% 0%,#25252b80,transparent 58%),#17171b; border: 1px solid #34343b; border-radius: 22px; padding: 0; width: min(470px,calc(100% - 28px)); max-height: calc(100dvh - 30px); box-shadow: 0 25px 110px #000b; }
.shop-dialog[open] { animation: dialog-enter .24s ease-out; }
.shop-dialog::backdrop { background: #000a; backdrop-filter: blur(8px); animation: fade-in .2s; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 22px 26px 0; }
.dialog-header .eyebrow { margin: 0; }
.close-button { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid #34343b; background: #25252b; color: #ececf0; font-size: 1.5rem; cursor: pointer; }
.close-button:hover { background: #34343b; }
.dialog-logo { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: .85rem; }
.dialog-logo img { object-fit: cover; border-radius: 10px; }
.auth-body { padding: 27px; }
.auth-body h2 { font-size: 2.1rem; letter-spacing: -.055em; }
.dialog-copy { color: #bda8b0; margin-top: 12px; font-size: .9rem; line-height: 1.6; }
.auth-tabs { width: 100%; margin-block: 22px; }
.auth-tabs button { flex: 1; min-height: 33px; }
.form-field { display: grid; gap: 8px; font-size: .82rem; font-weight: 550; margin-top: 17px; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #34343b; border-radius: 10px; padding: 13px; background: #17171b; color: #fff2f5; font: inherit; font-size: .9rem; min-width: 0; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9a9ca5; font-weight: 400; }
.form-field input:focus, .form-field textarea:focus { border-color: #9a9ca5; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 83px; }
.password-wrap button { position: absolute; top: 0; right: 2px; height: 100%; padding: 0 10px; background: none; border: 0; color: #ececf0; cursor: pointer; font-size: .72rem; }
.form-error { color: #ececf0; font-size: .83rem; line-height: 1.5; }
.form-error:not(:empty) { margin-block: 13px; }
.form-submit { width: 100%; margin-top: 20px; }
.plain-button { border: 0; background: none; color: #ececf0; cursor: pointer; padding: 0; font: inherit; font-size: .85rem; }
.plain-button:hover { color: #ececf0; }
.recovery-link, .logout-button { display: block; margin: 18px auto 0; text-decoration: underline; text-underline-offset: 3px; }
.customer-email { margin-top: 10px; color: #bda8b0; overflow-wrap: anywhere; }
.account-info { display: flex; gap: 12px; align-items: center; padding: 19px; margin-top: 25px; border: 1px solid #34343b; border-radius: 13px; background: #25252b; font-size: .86rem; }
.account-info p { margin-top: 4px; color: #ececf0; line-height: 1.5; }
.account-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: #686a73; color: #ececf0; flex: none; }
.recovery-result { padding-top: 24px; }
.recovery-result p { margin-top: 12px; color: #ececf0; line-height: 1.5; font-size: .85rem; }
.recovery-result code { display: block; user-select: all; margin-block: 17px; padding: 14px; border: 1px solid #686a73; border-radius: 10px; background: #25252b; color: #ececf0; word-break: break-all; font-size: .84rem; line-height: 1.8; }
.cart-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; border-radius: 20px 0 0 20px; height: 100dvh; max-height: 100dvh; width: min(445px,100%); border-right: 0; }
.cart-drawer[open] { display: flex; flex-direction: column; animation: drawer-in .3s ease; }
.cart-drawer .dialog-header { padding: 28px 25px; border-bottom: 1px solid #34343b; }
.cart-drawer h2 { margin-top: 8px; font-size: 2.1rem; }
.cart-empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 28px; text-align: center; }
.cart-empty > .bag-icon { width: 39px; height: 43px; margin-bottom: 28px; color: #9a9ca5; }
.cart-empty > .bag-icon::before { width: 20px; height: 15px; left: 8px; top: -13px; border-radius: 10px 10px 0 0; }
.cart-empty h3 { font-size: 1.55rem; letter-spacing: -.04em; }
.cart-empty p { color: #ececf0; margin-top: 10px; }
.cart-empty .button { margin-top: 25px; }
.cart-filled { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.cart-item { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 13px; align-items: center; padding-bottom: 25px; border-bottom: 1px solid #34343b; }
.cart-item img { border: 1px solid #686a73; border-radius: 13px; object-fit: cover; }
.cart-item h3 { font-size: .97rem; }
.cart-item p { margin-block: 5px 9px; font-size: .78rem; color: #ececf0; }
.cart-item strong { font-size: .9rem; }
.remove-button { grid-column: 2; justify-self: start; background: none; border: none; cursor: pointer; padding: 0; color: #ececf0; font-size: .76rem; }
.cart-bottom { margin-top: auto; padding-top: 28px; }
.cart-total { display: flex; justify-content: space-between; gap: 12px; font-size: 1.1rem; }
.cart-bottom > p:not(.form-error) { margin-block: 13px 20px; color: #ececf0; font-size: .81rem; line-height: 1.5; }
.cart-bottom .button { width: 100%; }
.rating-field { border: 0; padding: 0; margin: 22px 0 0; font-size: .82rem; }
.rating-options { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin-top: 9px; }
.rating-options label { position: relative; cursor: pointer; }
.rating-options input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.rating-options label > span { display: flex; justify-content: center; gap: 5px; padding: 11px 2px; border: 1px solid #34343b; border-radius: 9px; background: #25252b; color: #cbb1bc; }
.rating-options input:checked + span { color: #fff; background: #686a73; border-color: #ececf0; }
.rating-options input:focus-visible + span { outline: 2px solid #ececf0; outline-offset: 3px; }
.rating-options span span { color: #ececf0; }
.feedback-success { display: grid; justify-items: center; gap: 18px; padding-block: 35px 13px; text-align: center; }
.feedback-success p { color: #ececf0; font-size: .88rem; }
.site-footer { padding-bottom: 78px; }
@keyframes enter-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drawer-in { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cart-bump { 50% { transform: scale(1.15); background: #686a73; } }
@keyframes halo-drift { to { transform: translate(12%,25%) scale(1.2); opacity: .6; } }
@keyframes orbit-drift { 50% { transform: translateY(-59%) rotate(12deg); } }
@keyframes twinkle { to { opacity: calc(var(--opacity) * .3); transform: scale(.6); } }
@media (max-width:700px) {
  .brand { font-size: .8rem; gap: 7px; }
  .brand img { width: 25px; height: 25px; }
  .nav-actions { gap: 6px; }
  .account-button { padding-inline: 9px; min-height: 34px; font-size: .75rem; }
  .cart-button { min-width: 45px; height: 34px; gap: 7px; padding-inline: 7px; font-size: .76rem; }
  .feedback-float { right: 14px; bottom: 14px; min-height: 40px; padding-inline: 13px; }
  .dialog-header { padding: 20px 20px 0; }
  .auth-body { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.motion-ready .reveal { opacity: 1; transform: none; }
}

/* Discord Button */
.button-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #5865F2 !important;
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
  text-decoration: none;
}
.button-discord:hover {
  background: #4752C4 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.5);
}

/* Maintenance & Developer Lock Screen */
#mula-maintenance-gate {
  display: none;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse 65% 55% at 50% 25%, #34343b 0%, #17171b 50%, #0e0e11 90%);
  position: fixed;
  inset: 0;
  z-index: 99999;
}

html.under-maintenance body > *:not(#mula-maintenance-gate) {
  display: none !important;
}

html.under-maintenance #mula-maintenance-gate {
  display: grid !important;
}

.maintenance-box {
  width: 100%;
  max-width: 480px;
  background: rgba(18, 14, 15, 0.95);
  border: 1px solid #34343b;
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9), 0 0 60px rgba(245, 72, 80, 0.2);
  backdrop-filter: blur(20px);
}

.maintenance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #25252b;
  border: 1px solid #686a73;
  color: #ececf0;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.maintenance-logo {
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 0 35px rgba(245, 72, 80, 0.4);
  border: 1px solid #34343b;
}

.maintenance-box h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 12px;
}

.maintenance-copy {
  font-size: 0.9rem;
  color: #c7b7b9;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Floating Dev Status Pill */
.dev-mode-pill {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 9999;
  background: rgba(32, 18, 20, 0.94);
  border: 1px solid #686a73;
  border-radius: 999px;
  padding: 7px 16px;
  color: #ececf0;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}
.dev-mode-pill a, .dev-mode-pill button {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.72rem;
}


/* ═════════════════════════════════════════════════════════════════════════
   AUTHENTIC QUANTIX / MULA IMGUI MENU STYLES
   ═════════════════════════════════════════════════════════════════════════ */
.imgui-window-frame {
  position: relative;
  border-radius: 18px;
  background: #0e0e11;
  border: 1px solid #34343b;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.85), 0 0 50px rgba(245, 72, 80, 0.15);
  overflow: hidden;
  font-family: 'Geist', 'Inter', -apple-system, sans-serif;
  color: #fff;
}

/* Watermark & Title Bar */
.imgui-watermark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #17171b;
  border-bottom: 1px solid #25252b;
  font-size: 0.76rem;
  user-select: none;
}
.imgui-watermark-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.imgui-watermark-brand img {
  border-radius: 6px;
}
.imgui-watermark-brand small {
  color: #ececf0;
  font-weight: 500;
  font-size: 0.72rem;
  margin-left: 6px;
  border-left: 1px solid #34343b;
  padding-left: 8px;
}
.imgui-telemetry {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #9a9ca5;
}
.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25252b;
  border: 1px solid #34343b;
  border-radius: 6px;
  padding: 3px 8px;
  color: #ececf0;
}
.telemetry-pill.is-live {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
}
.telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

/* Layout Shell */
.imgui-layout-shell {
  display: flex;
  min-height: 580px;
  background: #0e0e11;
}

/* Sidebar Navigation Rail (224px) */
.imgui-sidebar {
  width: 224px;
  flex-shrink: 0;
  background: #17171b;
  border-right: 1px solid #25252b;
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
}
.imgui-rail-accent {
  position: absolute;
  left: 2px;
  top: 0;
  width: 3px;
  height: 22px;
  background: #9a9ca5;
  border-radius: 3px;
  box-shadow: 0 0 10px #9a9ca5;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 5;
}
.imgui-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #25252b;
}
.imgui-sidebar-brand span strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.imgui-sidebar-brand span small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
}
.imgui-sidebar-nav {
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex: 1;
}

/* Tabs & Accordion */
.imgui-nav-tab {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.imgui-tab-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: #a79597;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  transition: all 0.15s ease;
}
.imgui-tab-header:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.imgui-nav-tab.is-active > .imgui-tab-header {
  background: rgba(245, 72, 80, 0.12);
  color: #fff;
}
.imgui-tab-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #9a9ca5;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.imgui-nav-tab.is-active .imgui-tab-icon {
  color: #9a9ca5;
}
.imgui-tab-arrow {
  margin-left: auto;
  font-size: 0.65rem;
  color: #686a73;
  transition: transform 0.2s ease;
}
.imgui-nav-tab.is-active .imgui-tab-arrow {
  transform: rotate(90deg);
  color: #9a9ca5;
}

/* Tree Rail for Subtabs */
.imgui-subtab-list {
  display: flex;
  flex-direction: column;
  padding-left: 28px;
  position: relative;
  margin-block: 2px 6px;
}
.imgui-subtab-list::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 6px;
  bottom: 8px;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.12);
}
.imgui-subtab-btn {
  display: flex;
  align-items: center;
  position: relative;
  padding: 6px 12px;
  font-size: 0.77rem;
  color: #837275;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: all 0.12s ease;
}
.imgui-subtab-btn::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.imgui-subtab-btn:hover {
  color: #fff;
}
.imgui-subtab-btn.is-active {
  color: #fff;
  background: rgba(245, 72, 80, 0.14);
  font-weight: 600;
}
.imgui-subtab-btn.is-active::before {
  background: #9a9ca5;
}

/* User Chip */
.imgui-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid #25252b;
  background: #0e0e11;
}
.imgui-user-chip img {
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(245, 72, 80, 0.3);
}
.imgui-user-info strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
}
.imgui-user-info small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Topbar Navigation Mode */
.imgui-topbar-wrap {
  display: none;
  background: #17171b;
  border-bottom: 1px solid #25252b;
  padding: 10px 16px;
  user-select: none;
}
.topbar-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}
.topbar-tab-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid transparent;
  color: #9a9ca5;
  cursor: pointer;
  transition: all 0.15s ease;
}
.topbar-tab-icon:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.topbar-tab-icon.is-active {
  background: rgba(245, 72, 80, 0.18);
  border-color: #34343b;
  color: #fff;
}
.imgui-topbar-substrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.topbar-sub-btn {
  padding: 5px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #9f8c8f;
  background: #17171b;
  border: 1px solid #34343b;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.topbar-sub-btn:hover {
  background: #25252b;
  color: #fff;
}
.topbar-sub-btn.is-active {
  background: #9a9ca5;
  border-color: #9a9ca5;
  color: #fff;
}

/* Content Area */
.imgui-content-area {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  max-height: 600px;
}
.imgui-page-header {
  margin-bottom: 18px;
}
.breadcrumb-tab {
  font-size: 0.72rem;
  color: #9a9ca5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.breadcrumb-sub {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  margin-top: 2px;
}

/* Card 2-Column Grid */
.imgui-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.imgui-card {
  background: #17171b;
  border: 1px solid #34343b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.imgui-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #25252b;
  border-bottom: 1px solid #25252b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.card-header-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9a9ca5;
  box-shadow: 0 0 6px #9a9ca5;
}
.imgui-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Rows & Controls */
.imgui-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.control-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.control-label {
  font-size: 0.79rem;
  font-weight: 600;
  color: #fff;
}
.control-desc {
  font-size: 0.68rem;
  color: #9a9ca5;
  line-height: 1.35;
}

/* Custom Toggle Switch */
.imgui-switch {
  position: relative;
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #25252b;
  border: 1px solid #34343b;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s ease;
}
.imgui-switch::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #c3abad;
  transition: transform 0.16s ease, background 0.16s ease;
}
.imgui-switch:checked {
  background: #9a9ca5;
  border-color: #9a9ca5;
  box-shadow: 0 0 10px rgba(245, 72, 80, 0.4);
}
.imgui-switch:checked::before {
  transform: translateX(16px);
  background: #fff;
}

/* Sliders */
.imgui-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.77rem;
}
.slider-header strong {
  font-weight: 600;
  color: #fff;
}
.slider-header output {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #9a9ca5;
  font-weight: 600;
}
.imgui-range {
  width: 100%;
  accent-color: #9a9ca5;
  cursor: pointer;
  height: 4px;
  border-radius: 4px;
}

/* Keybinds */
.imgui-keybind-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  background: #25252b;
  border: 1px solid #34343b;
  border-radius: 6px;
  padding: 4px 10px;
  color: #ececf0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.imgui-keybind-btn:hover {
  background: #25252b;
  color: #fff;
  border-color: #686a73;
}
.imgui-keybind-btn.is-listening {
  background: #9a9ca5;
  border-color: #9a9ca5;
  color: #fff;
  animation: pulseKey 0.8s infinite alternate;
}
@keyframes pulseKey {
  from { opacity: 0.8; }
  to { opacity: 1; transform: scale(1.04); }
}

/* Combos / Selects */
.imgui-select {
  background: #17171b;
  border: 1px solid #34343b;
  border-radius: 6px;
  color: #fff;
  font-size: 0.74rem;
  padding: 5px 10px;
  cursor: pointer;
  outline: none;
}

/* Action Buttons */
.imgui-btn {
  background: #25252b;
  border: 1px solid #34343b;
  color: #fff;
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}
.imgui-btn:hover {
  background: #9a9ca5;
  border-color: #9a9ca5;
}

/* Color tile */
.imgui-color-swatch {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-block;
}

/* Friends list rows */
.friend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #25252b;
  border: 1px solid #25252b;
  border-radius: 7px;
  font-size: 0.75rem;
  transition: all 0.15s ease;
}
.friend-row span strong {
  color: #4ade80;
  margin-right: 6px;
}
.friend-row span small {
  color: #9a9ca5;
}
.btn-remove-friend {
  background: none;
  border: none;
  color: #9a9ca5;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.btn-remove-friend:hover {
  background: rgba(245, 72, 80, 0.15);
}

/* ─── ESP & AIM PREVIEW PANEL (340px) ──────────────────────────────────── */
.imgui-preview-panel {
  width: 330px;
  flex-shrink: 0;
  background: #17171b;
  border-left: 1px solid #25252b;
  display: flex;
  flex-direction: column;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

/* Top Preset Header */
.preview-preset-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #17171b;
  border: 1px solid #34343b;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease;
}
.preview-preset-bar:hover {
  border-color: #686a73;
}
.preview-preset-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #9a9ca5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preview-preset-val {
  font-size: 0.76rem;
  font-weight: 700;
  color: #9a9ca5;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mannequin Stage */
.mannequin-stage {
  position: relative;
  width: 100%;
  height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, rgba(245, 72, 80, 0.12), transparent 70%), #0e0e11;
  border: 1px solid #25252b;
  border-radius: 12px;
}
.mannequin-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 162px; /* 249 * 0.65 */
  height: 320px; /* 492 * 0.65 */
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.9));
}

/* Aim Bones Overlay */
.aim-bones-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 162px;
  height: 320px;
  transform: translate(-50%, -50%);
}
.aim-bone-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bone-line-active {
  filter: drop-shadow(0 0 4px #9a9ca5);
}
.bone-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #17171b;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  z-index: 10;
}
.bone-dot-inner {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}
.bone-dot:hover {
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.3);
}
.bone-dot.is-active {
  background: #9a9ca5;
  border-color: #fff;
  box-shadow: 0 0 10px #9a9ca5;
}
.bone-dot.is-active .bone-dot-inner {
  background: #fff;
}

/* ESP HUD Overlay */
.esp-hud-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 176px;
  height: 334px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.esp-hud-box {
  position: absolute;
  inset: 0;
  border: 1.5px solid #9a9ca5;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(245, 72, 80, 0.5);
}
.esp-hud-box.style-dashed {
  border: none;
  background-image: 
    linear-gradient(to right, #9a9ca5 14px, transparent 14px),
    linear-gradient(to left, #9a9ca5 14px, transparent 14px),
    linear-gradient(to bottom, #9a9ca5 14px, transparent 14px),
    linear-gradient(to top, #9a9ca5 14px, transparent 14px);
  background-repeat: no-repeat;
  background-size: 100% 2px, 100% 2px, 2px 100%, 2px 100%;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
}
.esp-head-dot {
  position: absolute;
  top: 48px;
  left: 88px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid #9a9ca5;
  background: rgba(245, 72, 80, 0.25);
  box-shadow: 0 0 6px #9a9ca5;
}
.esp-bar-wrap {
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
}
.esp-hp-bar {
  background: linear-gradient(to top, #9a9ca5, #22c55e);
  border-radius: 2px;
  width: 100%;
  height: 100%;
  position: relative;
}
.esp-bar-val {
  position: absolute;
  right: 6px;
  top: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  color: #22c55e;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
}
.esp-ap-bar-wrap {
  position: absolute;
  left: -15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
}
.esp-ap-bar {
  background: #38bdf8;
  border-radius: 2px;
  width: 100%;
  height: 85%;
}
.esp-tag-name {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 3px #000;
}
.esp-tag-id {
  color: #9a9ca5;
  font-size: 0.64rem;
  margin-left: 4px;
}
.esp-tag-bottom {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  white-space: nowrap;
}
.esp-tag-weapon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ececf0;
  text-shadow: 0 1px 2px #000;
}
.esp-tag-dist {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: #cbd5e1;
}
.esp-flags-wrap {
  position: absolute;
  right: -52px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 800;
}
.esp-flag-pill {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #34343b;
  color: #ececf0;
}

/* Toast Container */
.imgui-toast {
  position: absolute;
  top: 54px;
  right: 18px;
  background: rgba(19, 13, 15, 0.96);
  border: 1px solid #686a73;
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(245, 72, 80, 0.3);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.imgui-toast.is-active {
  opacity: 1;
  transform: translateY(0);
}
.imgui-toast .toast-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #9a9ca5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.imgui-toast .toast-msg {
  font-size: 0.75rem;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .imgui-layout-shell {
    flex-direction: column;
  }
  .imgui-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #25252b;
  }
  .imgui-subtab-list {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
  }
  .imgui-subtab-list::before {
    display: none;
  }
  .imgui-card-grid {
    grid-template-columns: 1fr;
  }
  .imgui-preview-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid #25252b;
  }
}


/* ═════════════════════════════════════════════════════════════════════════
   LEGAL MODAL & STATUTORY COMPLIANCE STYLES (IMPRESSUM, DSGVO, AGB)
   ═════════════════════════════════════════════════════════════════════════ */
.legal-dialog {
  width: min(820px, calc(100% - 32px)) !important;
  max-height: calc(100dvh - 50px) !important;
}
.legal-dialog .dialog-header {
  padding: 20px 24px 14px;
}
.legal-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 24px;
  background: #17171b;
  border-bottom: 1px solid #25252b;
  overflow-x: auto;
}
.legal-tab-btn {
  padding: 7px 15px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #9a9ca5;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.legal-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.legal-tab-btn.is-active {
  background: #25252b;
  border-color: #34343b;
  color: #ececf0;
}
.legal-body {
  padding: 20px 26px 28px;
  overflow-y: auto;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #cfc2c4;
}
.legal-section {
  display: none;
}
.legal-section.is-active {
  display: block;
}
.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-top: 24px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.legal-section h3:first-child {
  margin-top: 0;
}
.legal-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ececf0;
  margin-top: 18px;
  margin-bottom: 6px;
}
.legal-section p, .legal-section ul {
  margin-bottom: 12px;
}
.legal-section ul {
  padding-left: 20px;
}
.legal-section li {
  margin-bottom: 4px;
}
.legal-badge-card {
  background: #17171b;
  border: 1px solid #34343b;
  border-radius: 10px;
  padding: 14px 18px;
  margin-block: 16px;
}

/* Cookie & Storage Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 440px;
  width: calc(100% - 40px);
  background: rgba(18, 12, 14, 0.96);
  border: 1px solid #34343b;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 72, 80, 0.15);
  backdrop-filter: blur(14px);
  z-index: 99998;
  font-size: 0.79rem;
  line-height: 1.5;
  color: #cfc2c4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
