:root {
  --bg: #0b0a0c; --bg-2: #131116; --panel: #17151b; --panel-2: #1e1b24; --line: #2a2631; --line-2: #3a3544;
  --text: #ece8f2; --muted: #9a93a8; --accent: #ff8a1f; --accent-2: #ffb15c; --accent-soft: rgba(255, 138, 31, .12); --accent-line: rgba(255, 138, 31, .45);
  --on-accent: #1a0e02; --ok: #3fd68a; --err: #ff5d5d; --warn: #f5c518; --blue: #4d8dff;
  --pixel: "Pixelify Sans", ui-monospace, monospace;
  --common: #9a93a8; --rare: #4d8dff; --epic: #a66bff; --legendary: #f5c518;
  --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 Inter, system-ui, sans-serif; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden;
  background-image: radial-gradient(900px 400px at 80% -10%, rgba(255, 138, 31, .09), transparent), repeating-linear-gradient(0deg, transparent 0 23px, rgba(255, 255, 255, .018) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, rgba(255, 255, 255, .018) 23px 24px); }
a { color: var(--accent-2); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--pixel); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.1; } h2 { font-size: 22px; } h3 { font-size: 15px; letter-spacing: .1em; }
p { margin: 0; } .muted { color: var(--muted); } .grow { flex: 1; }
img { image-rendering: pixelated; }
::selection { background: var(--accent); color: var(--on-accent); }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--line-2); border: 2px solid var(--bg); } ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---- layout */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 0 var(--gut); height: 60px; background: rgba(11, 10, 12, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 0 var(--accent-soft); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--pixel); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand:hover { text-decoration: none; } .brand img { width: 30px; height: 30px; image-rendering: auto; } .brand b { color: var(--accent); }
#nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
#nav a { padding: 7px 14px; color: var(--muted); font-family: var(--pixel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid transparent; transition: color .12s, background .12s; }
#nav a:hover { color: var(--text); text-decoration: none; background: var(--panel); }
#nav a.on { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }
#nav a.cta { background: var(--accent); color: var(--on-accent); font-weight: 700; box-shadow: 3px 3px 0 rgba(0, 0, 0, .5); } #nav a.cta:hover { background: var(--accent-2); }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; background: var(--panel-2); border: 1px solid var(--line-2); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger i { display: block; width: 18px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.burger[aria-expanded=true] i:nth-child(1) { transform: translateY(7px) rotate(45deg); } .burger[aria-expanded=true] i:nth-child(2) { opacity: 0; } .burger[aria-expanded=true] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 36px var(--gut) 60px; }
main.wide { max-width: none; padding: 0; }
footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px var(--gut); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.brand-s { font-family: var(--pixel); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }

@media (max-width: 760px) {
  .burger { display: flex; }
  #nav { position: fixed; inset: 60px 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 18px; background: rgba(11, 10, 12, .98); border-bottom: 2px solid var(--accent); transform: translateY(-120%); transition: transform .25s cubic-bezier(.3, .9, .3, 1); max-height: calc(100dvh - 60px); overflow: auto; }
  #nav.open { transform: none; }
  #nav a { padding: 14px 6px; font-size: 15px; border: 0; border-bottom: 1px solid var(--line); }
  #nav a.cta { margin-top: 12px; text-align: center; border: 0; }
}

/* ---- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); font-family: var(--pixel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: transform .1s, background .12s, border-color .12s; box-shadow: 3px 3px 0 rgba(0, 0, 0, .45); }
.btn:hover { border-color: var(--accent); text-decoration: none; background: var(--accent-soft); } .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(0, 0, 0, .45); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; } .btn.primary:hover { background: var(--accent-2); }
.btn.lg { min-height: 52px; padding: 0 28px; font-size: 15px; box-shadow: 4px 4px 0 rgba(0, 0, 0, .5); }
.btn.danger { color: var(--err); } .btn.danger:hover { border-color: var(--err); background: rgba(255, 93, 93, .1); }
.btn.sm { min-height: 30px; padding: 0 12px; font-size: 11px; box-shadow: 2px 2px 0 rgba(0, 0, 0, .45); }
.btn:disabled { opacity: .45; cursor: default; pointer-events: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); font-family: var(--pixel); letter-spacing: .1em; text-transform: uppercase; }
.input, select, textarea { width: 100%; padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font: 14px Inter, sans-serif; letter-spacing: 0; text-transform: none; outline: 0; border-radius: 0; }
.input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
textarea { min-height: 80px; resize: vertical; } input[type=file] { padding: 8px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .stack { display: flex; flex-direction: column; gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } @media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- cards */
.card { background: var(--panel); border: 1px solid var(--line); padding: 20px; }
.card.acc { border-top: 3px solid var(--accent); }
.card h2 { margin-bottom: 14px; }
.chip { display: inline-block; padding: 1px 9px; font-family: var(--pixel); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--c, var(--line-2)); color: var(--c, var(--muted)); background: color-mix(in srgb, var(--c, var(--muted)) 10%, transparent); }
.r-common { --c: var(--common); } .r-rare { --c: var(--rare); } .r-epic { --c: var(--epic); } .r-legendary { --c: var(--legendary); }

/* =========================================================== LANDING */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
.sec { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--gut) 0; }
.kick { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kick::before { content: ""; width: 22px; height: 3px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.sec-h { font-size: clamp(28px, 5.2vw, 52px); line-height: 1.05; max-width: 18ch; } .sec-h span { color: var(--accent); }
.sec-p { margin-top: 16px; max-width: 58ch; color: var(--muted); font-size: 16px; }

/* hero */
.hero2 { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 84px) var(--gut) 0; isolation: isolate; }
.hero2 .fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero2::before { content: ""; position: absolute; z-index: -2; inset: -10% -10% auto -10%; height: 90%; background: radial-gradient(60% 60% at 50% 0%, rgba(255, 138, 31, .22), transparent 70%); }
.hero2::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-in { max-width: 1240px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 6px; border: 1px solid var(--accent-line); background: var(--accent-soft); font-family: var(--pixel); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.badge b { background: var(--accent); color: var(--on-accent); padding: 1px 8px; }
.hero2 h1 { margin-top: 22px; font-size: clamp(38px, 9.2vw, 112px); line-height: .95; letter-spacing: .04em; text-shadow: 4px 4px 0 rgba(0, 0, 0, .55); }
.hero2 h1 .or { display: block; color: var(--accent); text-shadow: 4px 4px 0 rgba(0, 0, 0, .55), 0 0 40px rgba(255, 138, 31, .45); }
.hero2 .lead { margin: 22px auto 30px; max-width: 60ch; font-size: clamp(15px, 2.2vw, 18px); color: var(--muted); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.meta-row { margin-top: 22px; display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; font-family: var(--pixel); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta-row span::before { content: "■"; color: var(--accent); margin-right: 8px; font-size: 9px; vertical-align: 1px; }

.stage3 { position: relative; width: 100%; max-width: 1100px; margin: clamp(36px, 6vw, 70px) auto 0; perspective: 1600px; }
.stage3::before { content: ""; position: absolute; left: 8%; right: 8%; top: 12%; bottom: -6%; background: radial-gradient(ellipse at center, rgba(255, 138, 31, .4), transparent 68%); filter: blur(48px); z-index: -1; }
.tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }

/* launcher-fenster-rahmen */
.win { position: relative; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 8px 8px 0 rgba(0, 0, 0, .55), 0 30px 80px rgba(0, 0, 0, .6); }
.win .bar { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; background: #0f0e12; border-bottom: 1px solid var(--line); font-family: var(--pixel); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.win .bar i { width: 8px; height: 8px; background: var(--line-2); } .win .bar i:first-child { background: var(--accent); }
.win .bar em { margin-left: auto; font-style: normal; color: var(--accent-2); }
.win img { display: block; width: 100%; height: auto; image-rendering: auto; }
.win.shot { cursor: zoom-in; }
.float { position: absolute; z-index: 2; padding: 10px 14px; background: var(--panel); border: 1px solid var(--accent-line); border-left: 4px solid var(--accent); box-shadow: 5px 5px 0 rgba(0, 0, 0, .5); font-family: var(--pixel); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; animation: bob 4s ease-in-out infinite; }
.float small { display: block; font: 12px Inter, sans-serif; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 2px; }
.float.a { left: -2%; top: 18%; } .float.b { right: -2%; top: 52%; animation-delay: -2s; } .float.c { left: 6%; bottom: -4%; animation-delay: -1s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .float { display: none; } }

/* marquee */
.marq { margin-top: clamp(40px, 7vw, 80px); border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marq-t { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marq:hover .marq-t { animation-play-state: paused; }
.marq span { padding: 14px 26px; font-family: var(--pixel); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marq span::after { content: "◆"; margin-left: 52px; color: var(--accent); }
@keyframes mq { to { transform: translateX(-50%); } }

/* showcase */
.show { display: grid; grid-template-columns: 280px 1fr; gap: 26px; margin-top: 36px; align-items: start; }
.show-tabs { display: flex; flex-direction: column; gap: 6px; }
.show-tabs button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-family: var(--pixel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .12s; position: relative; }
.show-tabs button i { font-style: normal; width: 22px; color: var(--line-2); font-size: 11px; }
.show-tabs button:hover { color: var(--text); border-color: var(--line-2); transform: translateX(3px); }
.show-tabs button.on { color: var(--accent-2); border-color: var(--accent-line); background: linear-gradient(90deg, var(--accent-soft), var(--panel)); box-shadow: inset 3px 0 0 var(--accent); }
.show-tabs button.on i { color: var(--accent); }
.show-main { position: relative; min-width: 0; }
.show-img { position: relative; aspect-ratio: 1682 / 1052; }
.show-img img { position: absolute; inset: 26px 0 0 0; width: 100%; height: calc(100% - 26px); opacity: 0; transition: opacity .35s; image-rendering: auto; }
.show-img img.on { opacity: 1; }
.show-cap { margin-top: 18px; display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.show-cap h3 { font-size: 20px; color: var(--accent-2); } .show-cap p { color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) {
  .show { grid-template-columns: 1fr; gap: 14px; }
  .show-tabs { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; scroll-snap-type: x proximity; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .show-tabs::-webkit-scrollbar { display: none; }
  .show-tabs button { flex: none; scroll-snap-align: start; padding: 10px 14px; } .show-tabs button i { display: none; }
  .show-tabs button:hover { transform: none; }
}

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 36px; }
.bt { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 22px; background: var(--panel); border: 1px solid var(--line); transition: transform .18s, border-color .18s, box-shadow .18s; isolation: isolate; }
.bt:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: 6px 6px 0 rgba(0, 0, 0, .5); }
.bt .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, top left); opacity: .7; transition: transform .6s, opacity .3s; image-rendering: auto; }
.bt:hover .bg { transform: scale(1.06); opacity: .9; }
.bt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 10, 12, .1) 0%, rgba(11, 10, 12, .85) 62%, var(--bg) 100%); }
.bt .ic { width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2); font-family: var(--pixel); font-size: 18px; margin-bottom: 12px; backdrop-filter: blur(4px); }
.bt p { margin-top: 6px; color: #c9c3d4; font-size: 14px; max-width: 46ch; }
.bt.w2 { grid-column: span 2; } .bt.w3 { grid-column: span 3; } .bt.w4 { grid-column: span 4; }
.bt.tall { min-height: 360px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .bt.w2, .bt.w3, .bt.w4 { grid-column: span 2; } .bt { min-height: 240px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bt.w2, .bt.w3, .bt.w4 { grid-column: auto; } }

/* cape lab */
.lab { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; margin-top: 36px; align-items: center; }
.lab-view { position: relative; display: grid; place-items: center; min-height: 460px; background: radial-gradient(circle at 50% 108%, rgba(255, 138, 31, .28), transparent 62%), repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, .03) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, .03) 31px 32px), var(--panel); border: 1px solid var(--line); box-shadow: 8px 8px 0 rgba(0, 0, 0, .5); overflow: hidden; }
.lab-view::before { content: "▲"; position: absolute; bottom: 24px; left: 50%; width: 220px; height: 26px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(0, 0, 0, .7), transparent 70%); font-size: 0; }
.lab-view canvas { position: relative; max-width: 100%; }
.lab-hint { position: absolute; left: 14px; bottom: 12px; font-family: var(--pixel); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.lab-name { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; align-items: center; }
.lab-name b { font-family: var(--pixel); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-top: 22px; }
.pick button { --c: var(--common); position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px 10px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--c); color: var(--muted); font-family: var(--pixel); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: transform .12s, border-color .12s; }
.pick button:hover { transform: translateY(-3px); color: var(--text); }
.pick button.on { border-color: var(--accent); border-top-color: var(--c); color: var(--accent-2); background: linear-gradient(160deg, var(--accent-soft), var(--panel) 70%); box-shadow: 3px 3px 0 rgba(0, 0, 0, .5); }
.lab-feats { margin-top: 22px; display: grid; gap: 10px; }
.lab-feats div { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; } .lab-feats b { color: var(--accent); font-family: var(--pixel); }
@media (max-width: 900px) { .lab { grid-template-columns: 1fr; gap: 22px; } .lab-view { min-height: 400px; } }

/* stats */
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: clamp(56px, 9vw, 110px); }
.nums div { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.nums b { display: block; font-family: var(--pixel); font-size: clamp(30px, 5vw, 44px); line-height: 1; } .nums span { font-family: var(--pixel); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* download cta */
.cta-big { position: relative; overflow: hidden; margin-top: clamp(56px, 9vw, 110px); padding: clamp(30px, 6vw, 64px); text-align: center; background: radial-gradient(70% 120% at 50% 130%, rgba(255, 138, 31, .35), transparent 70%), var(--panel); border: 1px solid var(--accent-line); border-top: 4px solid var(--accent); box-shadow: 8px 8px 0 rgba(0, 0, 0, .5); isolation: isolate; }
.cta-big canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cta-big h2 { font-size: clamp(26px, 5vw, 50px); line-height: 1.05; }
.cta-big p { margin: 14px auto 26px; max-width: 52ch; color: var(--muted); }
.last { padding-bottom: clamp(40px, 7vw, 80px); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 3vw; background: rgba(5, 4, 6, .93); backdrop-filter: blur(6px); cursor: zoom-out; }
.lightbox[hidden] { display: none; } .lightbox img { max-width: 100%; max-height: 92vh; border: 1px solid var(--accent-line); box-shadow: 10px 10px 0 rgba(0, 0, 0, .6); image-rendering: auto; }
.lb-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); font-size: 16px; cursor: pointer; }

/* ---- auth */

.err { color: var(--err); font-size: 13px; min-height: 18px; }

/* ---- dashboard */
.tabs { display: flex; gap: 4px; margin: 20px 0 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { padding: 10px 18px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); font-family: var(--pixel); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; margin-bottom: -1px; }
.tabs button:hover { color: var(--text); } .tabs button.on { color: var(--accent-2); border-bottom-color: var(--accent); }
.who { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.who img { width: 64px; height: 64px; border: 2px solid var(--line-2); background: var(--bg); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; font-size: 12px; font-family: var(--pixel); letter-spacing: .1em; text-transform: uppercase; border: 1px solid; }
.pill.ok { color: var(--ok); border-color: rgba(63, 214, 138, .4); background: rgba(63, 214, 138, .08); } .pill.no { color: var(--muted); border-color: var(--line-2); }
.admin-b { background: #e0243a; color: #fff; padding: 1px 8px; font-family: var(--pixel); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ---- wardrobe */
.wardrobe { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cos { --c: var(--common); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--c); transition: transform .14s, box-shadow .14s; }
.cos:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 rgba(0, 0, 0, .45); }
.cos.equipped { background: linear-gradient(160deg, var(--accent-soft), var(--panel) 60%); border-color: var(--accent-line); border-top-color: var(--accent); }
.cos.locked .preview { filter: grayscale(.8) brightness(.6); }
.cos .preview { display: flex; justify-content: center; align-items: center; gap: 8px; height: 150px; background: radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.cos canvas { max-width: 100%; }
.cos .nm { font-family: var(--pixel); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; } .cos .ds { font-size: 12px; color: var(--muted); min-height: 36px; }
.cos .flag { position: absolute; top: -3px; right: 10px; padding: 1px 9px 2px; background: var(--accent); color: var(--on-accent); font-family: var(--pixel); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }

/* ---- tables / lists */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl th { text-align: left; font-family: var(--pixel); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; } .tbl tr:hover td { background: rgba(255, 255, 255, .02); }
.tbl-wrap { overflow-x: auto; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); } .stat b { display: block; font-family: var(--pixel); font-size: 26px; } .stat span { font-size: 12px; color: var(--muted); font-family: var(--pixel); letter-spacing: .1em; text-transform: uppercase; }
code, .mono { font: 12px Consolas, monospace; background: var(--bg-2); padding: 1px 6px; border: 1px solid var(--line); word-break: break-all; }
.rel { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; } .rel:last-child { border: 0; }
.rel .v { font-family: var(--pixel); font-size: 18px; min-width: 90px; color: var(--accent-2); }
.empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); }

/* ---- toasts */
#toasts { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
@media (max-width: 560px) { #toasts { left: 14px; right: 14px; } .toast { min-width: 0; max-width: none; width: 100%; } }
.toast { min-width: 240px; max-width: 360px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line-2); border-left: 4px solid var(--ok); box-shadow: 5px 5px 0 rgba(0, 0, 0, .5); animation: tin .3s cubic-bezier(.3, 1.4, .5, 1); }
.toast.err { border-left-color: var(--err); } @keyframes tin { from { opacity: 0; transform: translateX(40px); } }

/* ---- Upload */
.up { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.up-prev { width: 150px; height: 160px; display: grid; place-items: center; background: repeating-conic-gradient(var(--bg-2) 0 25%, var(--bg) 0 50%) 0 0 / 12px 12px; border: 1px dashed var(--line-2); overflow: hidden; }
.up-prev canvas { max-width: 100%; }

/* ---- download */
@media (max-width: 760px) { .who img { width: 52px; height: 52px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* =========================================================== AUTH */
.auth-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; min-height: min(640px, calc(100dvh - 190px)); border: 1px solid var(--line); box-shadow: 8px 8px 0 rgba(0, 0, 0, .5); background: var(--panel); }
.auth-side { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(22px, 4vw, 44px); background: radial-gradient(80% 70% at 20% 0%, rgba(255, 138, 31, .22), transparent 70%), var(--bg-2); border-right: 1px solid var(--line); }
.auth-side .fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.auth-side h2 { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.05; margin: 0; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #c9c3d4; font-size: 14px; }
.perks b { color: var(--accent); margin-right: 10px; font-size: 10px; vertical-align: 1px; }
.auth-side .win { margin-top: 8px; transform: rotate(-1.5deg) translateX(8%); width: 108%; }
.auth-form { display: grid; place-items: center; padding: clamp(18px, 4vw, 40px); }
.card.acc.auth, .auth { width: 100%; max-width: 420px; background: transparent; border: 0; border-top: 0; padding: 0; }
.auth h1 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 6px; } .auth form { margin-top: 22px; } .auth-foot { margin-top: 18px; font-size: 13px; }
.auth .btn.lg { width: 100%; }
.btn.busy { position: relative; color: transparent !important; } .btn.busy::after { content: ""; position: absolute; width: 18px; height: 18px; border: 3px solid var(--on-accent); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pw { position: relative; } .pw .input { padding-right: 44px; }
.eye { position: absolute; right: 0; top: 0; bottom: 0; width: 42px; background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; } .eye:hover { color: var(--accent-2); }
.meter { display: flex; align-items: center; gap: 4px; height: 14px; } .meter i { flex: 1; height: 4px; background: var(--line-2); transition: background .2s; } .meter span { margin-left: 8px; font-size: 10px; letter-spacing: .12em; min-width: 52px; color: var(--muted); }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--err); } .meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); } .meter[data-s="3"] i:nth-child(-n+3) { background: #9ad94a; } .meter[data-s="4"] i { background: var(--ok); }
@media (max-width: 860px) { .auth-split { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-form { padding: 26px 18px; } }

/* =========================================================== DASHBOARD */
.dash-head { display: flex; gap: 28px; align-items: center; padding: 22px; background: radial-gradient(70% 140% at 12% 100%, rgba(255, 138, 31, .25), transparent 65%), repeating-linear-gradient(0deg, transparent 0 31px, rgba(255, 255, 255, .025) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, .025) 31px 32px), var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: 6px 6px 0 rgba(0, 0, 0, .45); }
.dash-view { flex: none; width: 190px; height: 250px; display: grid; place-items: center; } .dash-view .skin { height: 200px; width: auto; image-rendering: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); }
.dash-view .skin[src$="icon.png"] { height: 110px; opacity: .6; }
.dash-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; } .dash-info h1 { font-size: clamp(26px, 4.4vw, 42px); overflow-wrap: anywhere; }
.dstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 14px; }
.dstat { padding: 10px 12px; background: rgba(11, 10, 12, .6); border: 1px solid var(--line); border-left: 3px solid var(--accent); min-width: 0; } .dstat span { display: block; font-family: var(--pixel); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } .dstat b { display: block; font-family: var(--pixel); font-size: 17px; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .dash-head { flex-direction: column; text-align: center; padding: 18px; } .dash-info .row { justify-content: center; } .dash-info .kick { align-self: center; } }

.prof { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; } @media (max-width: 860px) { .prof { grid-template-columns: 1fr; } }
.mc-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; } .mc-card img { width: 96px; height: 96px; border: 3px solid var(--accent); background: var(--bg); box-shadow: 4px 4px 0 rgba(0, 0, 0, .5); }
.mc-info { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; } .mc-name { font-family: var(--pixel); font-size: 26px; letter-spacing: .06em; }
.steps { display: grid; gap: 12px; } .step { display: flex; gap: 14px; align-items: flex-start; padding: 12px; background: var(--bg-2); border: 1px solid var(--line); } .step > b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-family: var(--pixel); font-size: 17px; } .step h3 { margin-bottom: 2px; } .step p { font-size: 13px; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; } .kv span { color: var(--muted); font-family: var(--pixel); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; } .kv b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }

/* =========================================================== DOWNLOAD */
.dlp { display: flex; flex-direction: column; }
.dl-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 34px; align-items: center; padding: clamp(22px, 4vw, 44px); background: radial-gradient(70% 100% at 80% 0%, rgba(255, 138, 31, .2), transparent 70%), var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); box-shadow: 8px 8px 0 rgba(0, 0, 0, .5); overflow: hidden; }
.dl-hero .fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.dl-hero h1 { font-size: clamp(34px, 6vw, 64px); line-height: .98; } .dl-hero h1 span { color: var(--accent); text-shadow: 0 0 36px rgba(255, 138, 31, .45); }
.dl-main { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.dl-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.dl-os { gap: 8px; font-size: 13px; } .btn.off { opacity: .5; cursor: default; pointer-events: none; }
.note { padding: 12px 14px; border: 1px dashed var(--accent-line); background: var(--accent-soft); font-size: 14px; }
.dl-shot { perspective: 1400px; min-width: 0; }
.dsteps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 22px; }
.dstep { position: relative; padding: 22px 20px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; } .dstep:hover { border-color: var(--accent-line); }
.dstep > b { position: absolute; right: 10px; top: -6px; font-family: var(--pixel); font-size: 64px; line-height: 1; color: rgba(255, 138, 31, .12); } .dstep h3 { color: var(--accent-2); margin-bottom: 8px; } .dstep p { font-size: 13px; }
.dl-sec, .dl-hist { margin-top: clamp(40px, 7vw, 70px); }
.reqs { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .reqs > div { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); } .reqs h3 { margin-bottom: 10px; color: var(--accent-2); } .reqs ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; } .reqs li::marker { color: var(--accent); }
.tl { position: relative; margin-top: 22px; padding-left: 26px; display: grid; gap: 12px; } .tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--line-2)); }
.tl-i { position: relative; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); } .tl-i::before { content: ""; position: absolute; left: -26px; top: 20px; width: 14px; height: 14px; background: var(--bg); border: 3px solid var(--line-2); } .tl-i.cur { border-color: var(--accent-line); } .tl-i.cur::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.tl-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .tl-h .v { font-family: var(--pixel); font-size: 20px; color: var(--accent-2); } .tl-n { margin-top: 8px; white-space: pre-wrap; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .dl-hero { grid-template-columns: 1fr; } .reqs { grid-template-columns: 1fr; } }

/* =========================================================== SKELETONS */
/* Skeleton = echtes Layout; .sk-b blendet Text/Bilder aus und zeigt dafuer einen Schimmer-Block gleicher Groesse */
.skeleton { pointer-events: none; user-select: none; animation: skin .25s ease both; }
.skeleton .sk-b { color: transparent !important; text-shadow: none !important; box-shadow: none !important; border-color: var(--line) !important; border-radius: 0; width: fit-content;
  background: linear-gradient(100deg, var(--panel-2) 30%, rgba(255, 138, 31, .2) 50%, var(--panel-2) 70%) 0 0 / 250% 100% !important; animation: shimbg 1.3s ease-in-out infinite; }
.skeleton span.sk-b { display: inline-block; } .skeleton .tabs button.sk-b { margin-bottom: 8px; margin-right: 6px; }
.skeleton h1 .sk-b { display: block; } .skeleton .win .bar { opacity: .7; }
.skeleton .meta-row span::before, .skeleton .marq span::after { opacity: 0; } .skeleton .marq span.sk-b { margin: 0 14px; padding: 6px 26px; }
.skeleton .show-tabs button.sk-b { width: 100%; }
.skeleton .cos:hover, .skeleton .dstep:hover { transform: none; box-shadow: none; }
canvas.cape3d.sk { background: linear-gradient(100deg, var(--panel-2) 30%, rgba(255, 138, 31, .2) 50%, var(--panel-2) 70%) 0 0 / 250% 100%; animation: shimbg 1.3s ease-in-out infinite; border: 1px solid var(--line); }
@keyframes shimbg { to { background-position: -150% 0; } }
@keyframes skin { from { opacity: 0; transform: translateY(6px); } }
#view > :not(.skeleton) { animation: popin .3s cubic-bezier(.2, .9, .3, 1.2) both; } @keyframes popin { from { opacity: 0; transform: translateY(8px) scale(.985); } }
