/* ==========================================================================
   PureClient – Grafit-Glas-Stil (Entwurf „glas-mono“, von Robin am 23.10.2026 abgenommen)
   Lädt nach launchpad.css: dunkles Grafit mit weichen Lichtflächen, alle Flächen als mattes Glas,
   weiße Hauptknöpfe, Schriften wie auf pureclient.de (Archivo, Geist, Geist Mono).
   ========================================================================== */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(assets/fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(assets/fonts/archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/geist-mono-latin.woff2) format('woff2'); }
@font-face { font-family: 'Monocraft'; src: url(assets/fonts/Monocraft.ttf) format('truetype'); font-display: swap; }

:root {
  --bg: #060607;
  --frame: transparent;
  --panel: rgba(255,255,255,.055);
  --panel-2: rgba(255,255,255,.09);
  --panel-3: rgba(255,255,255,.14);
  --line: rgba(255,255,255,.16);
  --line-soft: rgba(255,255,255,.1);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #6b6b74;
  --green: #f4f4f5;
  --green-hi: #ffffff;
  --green-lo: #e4e6ee;
  --green-ink: #ffffff;
  --body-font: 'Geist', 'Inter', system-ui, sans-serif;
  --label-font: 'Geist Mono', ui-monospace, monospace;
  --title-font: 'Archivo', 'Geist', sans-serif;
  --ga: 1;
  --tint: 255,255,255;
  --orb: 118,118,132;
  --glass-bg: linear-gradient(140deg, rgba(var(--tint),calc(.13 * var(--ga))) 0%, rgba(var(--tint),calc(.045 * var(--ga))) 38%, rgba(var(--tint),calc(.03 * var(--ga))) 62%, rgba(var(--tint),calc(.08 * var(--ga))) 100%);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.38), inset 1px 0 0 rgba(255,255,255,.08), 0 26px 70px -30px rgba(0,0,0,.85);
  --glass-blur: blur(32px) saturate(1.7);
}
::selection { background: rgba(255,255,255,.3); }
body, body.font-system, body.font-mono { --title-font: 'Archivo', 'Geist', sans-serif; --label-font: 'Geist Mono', ui-monospace, monospace; }
body, body.font-system { --body-font: 'Geist', 'Inter', system-ui, sans-serif; }
body.font-mono { --body-font: 'Geist Mono', monospace; }

/* ---------- Fenster: Grafit mit weichen Lichtflächen hinter allem ---------- */
html, body { background: var(--bg); }
#launcher {
  grid-template-columns: 98px 1fr; grid-template-rows: 64px minmax(0, 1fr);
  background:
    radial-gradient(620px 620px at -6% -18%, rgba(var(--orb),.55), transparent 70%),
    radial-gradient(520px 520px at 104% 34%, rgba(var(--orb),.32), transparent 70%),
    radial-gradient(560px 420px at 48% 118%, rgba(var(--orb),.42), transparent 70%),
    radial-gradient(260px 260px at 80% 104%, rgba(var(--orb),.25), transparent 70%),
    var(--bg);
}
.viewport { margin: 0 14px 14px 0; background: transparent; border: 0; border-radius: 0; overflow: visible; }
body:not(.bg-glass) .viewport { border-radius: 26px; overflow: hidden; }
body.bg-glass #bg { display: none; }
body:not(.bg-glass) #bg { display: block; }

/* starkes Glas für alle Flächen */
.topbar .chip, .running-chip, .icon-plain, .window-buttons button, #sidebar,
.inst-card, .skin-card, .cape-card, .list-row, .profile-row, .stat, .content-card, .choice, .rail-card, .key-box,
.filters .sources, .mod-sort-control, .target-bar, .server-shortcuts, .lock-chip, .shot, .log-row, .update-card,
.pc-panel, .pc-stage, .pc-tag, .pc-quick, .popover, .settings-modal, #dialog, .field, .search, .searchbar, .path-row input, select.field,
.filter-option, .mod-card, .mod-row, .side-item, .inst-add, .skin-card.add {
  background: var(--glass-bg) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  box-shadow: var(--glass-edge) !important;
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}

/* ---------- Kopfzeile ---------- */
.topbar { height: 64px; padding: 0 16px 0 22px; gap: 8px; background: transparent; }
.header-emblem { width: 28px; height: 28px; filter: drop-shadow(0 0 10px rgba(255,255,255,.45)); }
.app-title strong { font: 800 16px var(--title-font) !important; font-stretch: 125% !important; letter-spacing: .04em; }
.app-title strong span { font-weight: 300; letter-spacing: .14em; color: #d4d4d8; }
.app-title small { font: 500 11px var(--label-font); color: var(--dim); }
.history button { width: 30px; height: 30px; border-radius: 999px; }
#page-crumb { font: 500 11px var(--label-font); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.topbar .chip, .running-chip { height: 38px; padding: 0 14px; border-radius: 999px !important; font: 500 13px var(--body-font) !important; }
.topbar .chip.square, .icon-plain { width: 38px; height: 38px; padding: 0; border-radius: 999px !important; display: inline-grid; place-items: center; }
.topbar .chip .profile-head { width: 26px; height: 26px; border-radius: 999px; }
.running-chip { font: 500 11.5px var(--label-font) !important; letter-spacing: .04em; color: var(--muted); }
.window-buttons button { width: 32px; height: 32px; border-radius: 999px; background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none; }
.window-buttons button:hover { background: rgba(255,255,255,.1) !important; }
.window-buttons .close:hover { background: #c42b2b !important; }

/* ---------- Seitenleiste als schwebende Glasleiste ---------- */
#sidebar { margin: 0 12px 14px 14px; width: 72px; border-radius: 26px; padding: 14px 0; align-items: center; }
.brand { display: grid; place-items: center; margin-bottom: 14px; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(255,255,255,.5)); }
#navigation { gap: 8px; padding-top: 0; }
.nav-item { width: 48px; min-height: 48px; border-radius: 15px; }
.nav-item i { font-size: 19px; color: rgba(255,255,255,.66); }
.nav-item:hover { background: rgba(255,255,255,.08); }
.nav-item.active { background: linear-gradient(180deg, #fff, #e7e9f1); box-shadow: inset 0 1px 0 #fff, 0 10px 28px -8px rgba(255,255,255,.5); }
.nav-item.active i { color: #000; }
.nav-item::after, .side-add::after, .side-settings::after { background: rgba(14,14,18,.92); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; backdrop-filter: blur(12px); font: 500 12px var(--body-font); }
.side-add, .side-settings { width: 48px; height: 48px; border-radius: 15px; font-size: 19px; color: rgba(255,255,255,.66); }
.side-divider { width: 32px; background: rgba(255,255,255,.14); }

/* ---------- Grundbausteine ---------- */
.btn, .tool-btn, .tab, .icon-btn, .btn.outline, .btn.small, .segmented button, .pose, .font-option, .effect, .custom-color, .launch-more {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22); color: #f4f4f5; font: 500 13.5px var(--body-font) !important; backdrop-filter: blur(16px);
}
.btn:hover, .tool-btn:hover, .tab:hover, .icon-btn:hover, .btn.outline:hover, .btn.small:hover, .segmented button:hover, .pose:hover, .font-option:hover, .effect:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }
.btn { height: 42px; padding: 0 20px; }
.btn.small { height: 36px; padding: 0 16px; }
.icon-btn { width: 40px; height: 40px; }
.effect, .font-option, .choice { border-radius: 16px; }
/* Hauptaktionen: glänzendes Weiß statt Grün */
.btn.hot, .tab.active, .segmented button.active, .pose.active, .launch-main, .tool-btn.active {
  background: linear-gradient(180deg, #ffffff, #e3e6ef) !important; color: #000 !important; border: 1px solid rgba(255,255,255,.7) !important;
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px -14px rgba(255,255,255,.55) !important; text-shadow: none !important;
}
.btn.hot i, .tab.active i, .segmented button.active i, .pose.active i { color: #000 !important; }
.btn.small.install-mod { background: linear-gradient(180deg, #ffffff, #e3e6ef) !important; color: #000 !important; border-color: rgba(255,255,255,.7) !important; }
.btn.small.is-installed, .update-btn { background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.22) !important; color: #fff !important; }
.profile-row .copy strong em, .skin-card .badge, .inst-card .badge, .choice-icon { background: rgba(255,255,255,.1) !important; border: 1px solid rgba(255,255,255,.3) !important; color: #fff !important; border-radius: 999px; }
.skin-card.add .plus, .inst-add .plus, .news-unread { background: #fff !important; color: #000 !important; border-color: transparent !important; }
.list-row.selected { border-color: rgba(255,255,255,.45) !important; box-shadow: inset 3px 0 0 #fff, var(--glass-edge) !important; }
.switch { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.switch[aria-checked="true"] { background: #fff !important; }
.switch[aria-checked="true"] i { background: #000 !important; }
.range::-webkit-slider-runnable-track { background: linear-gradient(to right, #fff var(--fill), rgba(255,255,255,.15) var(--fill)); }
.field, .search, .searchbar, .path-row input, select.field { border-radius: 999px !important; font: 500 14px var(--body-font) !important; }
textarea.field { border-radius: 16px !important; }
.inst-card, .skin-card, .cape-card, .content-card, .stat, .key-box, .rail-card, .update-card { border-radius: 22px !important; }
.list-row, .profile-row, .shot, .log-row, .lock-chip, .target-bar, .mod-sort-control { border-radius: 16px !important; }
.inst-card.active, .inst-card.selected { border-color: rgba(255,255,255,.45) !important; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 0 40px -16px rgba(255,255,255,.4), var(--glass-edge) !important; }
.cat.active, .side-item.active { background: rgba(255,255,255,.12) !important; }
.cat.active i, .sub-head i, .filter-head em, .filter-option.active i, .pop-item.selected, .update-kicker { color: #fff !important; }
.subs button.active::before, .effect.active::after, .update-bar i.on { background: #fff !important; color: #000 !important; }
.status-dot.on, .online-pill i { background: #7CFFB2 !important; box-shadow: 0 0 8px #7CFFB2 !important; }

/* Überschriften im Stil der Website */
h1, .page-title, .library-heading h1, .inst-top h1 { font-family: var(--title-font) !important; font-stretch: 125%; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .01em; }
.eyebrow, .kicker, .library-heading small { font: 500 11px var(--label-font) !important; letter-spacing: .24em !important; color: var(--muted) !important; }

/* Popover, Dialoge, Einstellungen */
.popover, .settings-modal, #dialog { border-radius: 24px !important; background: linear-gradient(140deg, rgba(30,30,36,.82), rgba(16,16,20,.86)) !important; }
#dialog::backdrop, .modal-backdrop { background: rgba(4,4,6,.55) !important; backdrop-filter: blur(6px); }
.pop-item { border-radius: 12px; }
.pop-item:hover { background: rgba(255,255,255,.1); }

/* ==========================================================================
   Launchpad: Bühne mit Skin, Spielen-Knopf und Quick Play, rechts Freunde und Neuigkeiten
   ========================================================================== */
.pc-home { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 16px; padding: 0; }
.pc-stage { position: relative; border-radius: 28px !important; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 20px 20px; min-height: 0; }
.pc-light { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at 50% 38%, rgba(140,140,152,.42), transparent 70%),
              radial-gradient(ellipse 35% 35% at 78% 22%, rgba(60,60,72,.5), transparent 70%),
              radial-gradient(ellipse 40% 30% at 22% 80%, rgba(150,150,162,.24), transparent 70%); }
.pc-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask: radial-gradient(ellipse 60% 55% at 50% 45%, #000, transparent 75%); mask: radial-gradient(ellipse 60% 55% at 50% 45%, #000, transparent 75%); }
.pc-floor { position: absolute; left: 50%; bottom: 33%; width: 60%; max-width: 520px; height: 110px; transform: translate(-50%, 30%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,255,255,.38), transparent 68%); filter: blur(6px); pointer-events: none; }
.pc-ring { position: absolute; left: 50%; bottom: 33%; width: 300px; height: 56px; transform: translate(-50%, 50%); border-radius: 50%; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 0 30px rgba(255,255,255,.15), inset 0 0 30px rgba(255,255,255,.08); pointer-events: none; }
.pc-stage .skin-holder { position: absolute; left: 50%; top: 118px; bottom: 19%; width: min(460px, 72%); transform: translateX(-50%); filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); }
.pc-stage .skin-holder canvas { width: 100% !important; height: 100% !important; }
.pc-tag { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 8px !important; border-radius: 999px !important; color: #fff; font-family: 'Monocraft', var(--label-font) !important; font-size: 22px !important; font-weight: 400 !important; cursor: pointer; text-shadow: 2px 2px 0 rgba(0,0,0,.35); }
.pc-tag .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6b6b74; }
.pc-launch { position: relative; z-index: 3; display: flex; align-items: stretch; border-radius: 20px; overflow: hidden; margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(236,240,250,.92)); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255,255,255,.55), 0 24px 60px -16px rgba(0,0,0,.8), 0 0 60px -10px rgba(255,255,255,.55); }
.pc-launch .launch-game { all: unset; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 0 32px 0 26px; height: 72px; color: #000; }
.pc-launch .launch-game i { font-size: 22px; }
.pc-launch .launch-game strong { display: block; font: 800 21px var(--title-font); font-stretch: 125%; text-transform: uppercase; letter-spacing: .01em; }
.pc-launch .launch-game small { display: block; font: 12px var(--label-font); color: #5a5a66; margin-top: 2px; }
.pc-launch .launch-game:hover { background: rgba(255,255,255,.5); }
.pc-launch .launch-caret { all: unset; cursor: pointer; width: 66px; display: grid; place-items: center; color: #111; font-size: 18px; border-left: 1px solid rgba(20,20,40,.12); background: rgba(255,255,255,.4); }
.pc-launch .launch-caret:hover { background: rgba(255,255,255,.8); }
.pc-launch { transition: background .25s, box-shadow .25s; }
.pc-launch .launch-game { min-width: 240px; position:relative; z-index:1; }
.pc-launch .launch-game span { max-width:330px; }
.pc-launch .launch-game small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pc-launch.is-running { background:linear-gradient(180deg,#f2515e,#c82437);box-shadow:inset 0 1px 0 #ff9ba3,0 0 0 1px #ef6c78,0 14px 44px -15px #d72b49; }
.pc-launch.is-running .launch-game,.pc-launch.is-running .launch-caret {color:#fff;}
.pc-launch.is-running .launch-game small {color:#ffe0e3;}
.pc-launch.is-running .launch-game:hover {background:rgba(255,255,255,.08);}
.pc-launch.is-running .launch-caret {background:rgba(0,0,0,.08);border-color:#ffffff25;}
.pc-launch.is-busy::after {content:'';position:absolute;left:0;bottom:0;height:4px;width:var(--launch-progress,0%);background:#737987;transition:width .2s;z-index:2;}
.pc-launch.is-busy .launch-game i {animation:launch-spin 1s linear infinite;}
.pc-launch .launch-game:disabled {cursor:wait;}
.pc-launch .launch-caret:disabled {cursor:default;opacity:.4;pointer-events:none;}
@keyframes launch-spin {to{transform:rotate(360deg);}}
.reduce-motion .pc-launch .launch-game i {animation:none;}
.pc-launch .launch-game:focus-visible, .pc-launch .launch-caret:focus-visible { outline: 2px solid #000; outline-offset: -4px; }
.pc-quick { position: relative; z-index: 3; display: flex; align-items: center; gap: 16px; padding: 10px 18px !important; border-radius: 16px !important; max-width: 100%; overflow: hidden; }
.pc-quick-label { font: 500 10.5px var(--label-font); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); white-space: nowrap; }
.pc-quick button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 8px; font: 500 12.5px var(--body-font); color: #fff; white-space: nowrap; padding: 4px 6px; border-radius: 8px; }
.pc-quick button:hover { background: rgba(255,255,255,.1); }
.pc-quick button i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font: 800 10px var(--title-font); font-style: normal; background: rgba(255,255,255,.16); color: #fff; }
.pc-quick .pc-quick-add i { background: none; font-size: 12px; }

.pc-side { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.pc-panel { border-radius: 24px !important; padding: 16px; }
.pc-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font: 500 10.5px var(--label-font); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.pc-panel .pc-panel-head button { all: unset; cursor: pointer; color: #fff; font: 500 10.5px var(--label-font) !important; letter-spacing: .2em; text-transform: uppercase; }
.pc-panel-head button:hover { opacity: .75; }
.pc-side .friend-rows { display: grid; gap: 2px; }
.pc-side .friend-row { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 12px; }
.pc-side .friend-row img { width: 34px; height: 34px; border-radius: 10px; image-rendering: pixelated; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.pc-side .friend-row strong { display: block; font: 600 13.5px var(--body-font); }
.pc-side .friend-row small { font: 11px var(--label-font); color: rgba(255,255,255,.55); }
.pc-side .friend-row em { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #7CFFB2; box-shadow: 0 0 8px #7CFFB2; }
.pc-side .friend-row:not(.online) { opacity: .45; }
.pc-empty { padding: 14px 4px 4px; color: rgba(255,255,255,.62); font-size: 13.5px; }
.pc-empty p { margin: 0 0 12px; }
.pc-news { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.pc-news-tile { position: relative; flex: none; width: 100%; aspect-ratio: 2 / 1 !important; border-radius: 16px !important; overflow: hidden; border: 1px solid rgba(255,255,255,.18) !important; padding: 0; background: #0b0b0d; cursor: pointer; }
.pc-news-tile canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-news-badge { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25); font: 500 10px var(--label-font); letter-spacing: .16em; text-transform: uppercase; color: #fff; backdrop-filter: blur(8px); }
.pc-news-list { display: grid; gap: 2px; margin-top: 10px; }
.pc-news-list button { all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; font: 500 13px var(--body-font); color: rgba(255,255,255,.85); }
.pc-news-list button:hover { background: rgba(255,255,255,.08); color: #fff; }
.pc-news-list button i { font-size: 12px; color: rgba(255,255,255,.5); }

@media (max-width: 1100px) { .pc-home { grid-template-columns: minmax(0, 1fr) 250px; } .pc-quick-label { display: none; } }
body.reduce-motion .pc-stage .skin-holder { filter: none; }

/* ---------- Restliche Akzente: Weiß statt Grün ---------- */
.inst-active { color: #000 !important; background: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 4px 10px !important; font: 600 10px var(--label-font) !important; letter-spacing: .14em !important; }
.inst-add-icon { background: #fff !important; color: #000 !important; box-shadow: 0 10px 30px -10px rgba(255,255,255,.6); }
.inst-card.selected, .cape-card.selected, .effect.active, .icon-choice.active { border-color: rgba(255,255,255,.5) !important; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 0 40px -18px rgba(255,255,255,.45), var(--glass-edge) !important; }
.filter-option.active { background: rgba(255,255,255,.14) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4) !important; }
.filters .sources button.active, .sources .active { background: linear-gradient(180deg, #fff, #e3e6ef) !important; color: #000 !important; }
.filters .sources button.active i, .sources .active i { color: #000 !important; }

/* Mods: jeder Eintrag als eigene Glaskarte */
.mod-list { display: grid; gap: 10px; padding-right: 8px; }
.mod-row { border-radius: 20px !important; padding: 14px 16px !important; border-bottom: 1px solid rgba(255,255,255,.15) !important; }
.mod-row.mismatch { border-color: rgba(255,110,110,.28) !important; }
.mod-icon { border-radius: 16px !important; }
.mod-title, .mod-copy h3 { font: 700 18px var(--title-font) !important; font-stretch: 112% !important; }
.mod-copy p { color: rgba(255,255,255,.72) !important; }

/* Leistungsmodus: keine Unschärfe hinter Glasflächen */
body.perf *, body.perf *::before, body.perf *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body.perf { --glass-bg: rgba(28,28,32,.92); }

/* ==========================================================================
   Einstellungen als eigene Seite (Rubriken links, Karten rechts)
   ========================================================================== */
body.settings-open #main { display: none; }
body.settings-open .side-settings { background: linear-gradient(180deg, #fff, #e7e9f1); color: #000; box-shadow: inset 0 1px 0 #fff, 0 10px 28px -8px rgba(255,255,255,.5); }
body.settings-open .side-settings i { color: #000; }
body.settings-open .nav-item.active { background: transparent; box-shadow: none; }
body.settings-open .nav-item.active i { color: rgba(255,255,255,.66); }
.ps-page { position: fixed; z-index: 40; top: 64px; left: 98px; right: 14px; bottom: 14px; display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 16px; animation: psIn .35s cubic-bezier(.16,1,.3,1); }
@keyframes psIn { from { opacity: 0; transform: translateY(12px); } }
body.reduce-motion .ps-page { animation: none; }
.ps-nav { display: flex; flex-direction: column; gap: 4px; padding: 20px 14px 16px; border-radius: 26px; background: var(--glass-bg); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--glass-edge); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); min-height: 0; }
.ps-nav h1 { margin: 2px 8px 14px; font: 800 16px var(--title-font) !important; font-stretch: 125% !important; letter-spacing: .04em; text-transform: uppercase; }
.ps-find { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; margin: 0 2px 12px; }
.ps-find input { all: unset; flex: 1; min-width: 0; font: 500 13px var(--body-font) !important; color: #fff; }
.ps-find input::placeholder { color: rgba(255,255,255,.45); }
.ps-find i { font-size: 13px; color: rgba(255,255,255,.5); }
.ps-cat { all: unset; cursor: pointer; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-radius: 14px; color: rgba(255,255,255,.72); font: 500 14px var(--body-font) !important; }
.ps-cat i { width: 18px; text-align: center; font-size: 15px; }
.ps-cat:hover { background: rgba(255,255,255,.08); color: #fff; }
.ps-cat.active { background: linear-gradient(180deg, #fff, #e6e9f1); color: #000; box-shadow: inset 0 1px 0 #fff, 0 10px 26px -10px rgba(255,255,255,.5); }
.ps-cat:focus-visible, .ps-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ps-grow { flex: 1; }
.ps-close { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 12px; color: rgba(255,255,255,.6); font: 500 13px var(--body-font) !important; }
.ps-close:hover { background: rgba(255,255,255,.08); color: #fff; }
.ps-ver { margin: 6px 14px 0; font: 11px var(--label-font); letter-spacing: .06em; color: rgba(255,255,255,.38); text-transform: uppercase; }
.ps-main { display: flex; flex-direction: column; min-height: 0; }
.ps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 4px 4px 14px; }
.ps-kicker { margin: 0; font: 500 10.5px var(--label-font); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.ps-head h2 { margin: 8px 0 0; font: 800 38px/.95 var(--title-font) !important; font-stretch: 125% !important; text-transform: uppercase; }
.ps-head h2 span { color: #77777d; }
.ps-head > p { margin: 0; max-width: 300px; text-align: right; font-size: 13px; color: rgba(255,255,255,.55); }
.ps-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 6px 4px 2px; }
.ps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.ps-card { border-radius: 22px; padding: 18px 20px; background: var(--glass-bg); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--glass-edge); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); min-width: 0; }
.ps-card.wide { grid-column: 1 / -1; }
.ps-ct { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ps-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.ps-ct b { display: block; font: 600 14.5px var(--body-font); }
.ps-ct small { display: block; margin-top: 1px; font-size: 12px; color: rgba(255,255,255,.55); }
.ps-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ps-value { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); display: inline-flex; align-items: center; gap: 2px; font: 500 12.5px var(--body-font); }
.ps-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.08); }
.ps-ct + .ps-row { border-top: 0; padding-top: 2px; }
.ps-seg + .ps-row { margin-top: 6px; }
.ps-row > span { flex: 1; min-width: 0; }
.ps-row b { display: block; font: 500 13.5px var(--body-font); }
.ps-row small { display: block; margin-top: 1px; font-size: 11.5px; color: rgba(255,255,255,.5); }
.ps-control { display: flex; align-items: center; gap: 8px; flex: none; }
.ps-control .field.number { width: 86px; height: 36px; text-align: center; padding: 0 8px; }
.ps-control .times { color: rgba(255,255,255,.5); }
.ps-control .range { width: 180px; }
.ps-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.25); }
.ps-seg button { all: unset; cursor: pointer; flex: 1; text-align: center; height: 34px; line-height: 34px; padding: 0 12px; border-radius: 999px; font: 500 12.5px var(--body-font) !important; color: rgba(255,255,255,.72); white-space: nowrap; }
.ps-seg button:hover { color: #fff; background: rgba(255,255,255,.08); }
.ps-seg button.active { background: linear-gradient(180deg, #fff, #e6e9f1); color: #000; font-weight: 600 !important; }
.ps-seg button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.ps-path { display: flex; align-items: center; gap: 10px; }
.ps-path > span, .ps-path > input { flex: 1; min-width: 0; height: 38px; display: flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.25); font: 12px var(--label-font); color: rgba(255,255,255,.75); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ps-path .btn { height: 36px; padding: 0 16px; flex: none; }
.ps-hint { margin: 12px 0 0; font-size: 12px; color: rgba(255,255,255,.55); }
.ps-hint + .btn { margin-top: 12px; }
.ps-link { all: unset; cursor: pointer; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ps-card .range { width: 100%; }
.ps-ram { display: flex; align-items: center; gap: 28px; }
.ps-ram-num { display: flex; align-items: baseline; gap: 6px; flex: none; }
.ps-ram-num output { font: 700 64px/.9 var(--title-font); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.6px #fff; min-width: 54px; }
.ps-ram-num small { font: 700 22px var(--title-font); font-stretch: 125%; color: rgba(255,255,255,.6); }
.ps-ram-track { position: relative; flex: 1; padding-top: 24px; }
.ps-ram-mark { position: absolute; top: 0; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: #fff; color: #000; font: 500 10px var(--label-font); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ps-ticks { display: flex; justify-content: space-between; margin-top: 8px; font: 11px var(--label-font); color: rgba(255,255,255,.45); }
.ps-bg-name { font: 500 12.5px var(--body-font); color: rgba(255,255,255,.8); }
.ps-glassdemo { display: flex; gap: 10px; margin-top: 14px; }
.ps-glassdemo i { flex: 1; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,calc(.1 + .15 * var(--g))); background: linear-gradient(140deg, rgba(255,255,255,calc(.18 * var(--g))), rgba(255,255,255,calc(.04 * var(--g)))); box-shadow: inset 0 1px 0 rgba(255,255,255,calc(.4 * var(--g))); }
.ps-corners { display: flex; gap: 10px; margin-top: 14px; }
.ps-corners i { width: 46px; height: 30px; border: 1.5px solid rgba(255,255,255,.5); }
.ps-account { display: flex; align-items: center; gap: 16px; }
.ps-account .ps-head { width: 56px; height: 56px; border-radius: 14px; flex: none; image-rendering: pixelated; box-shadow: 0 0 0 1px rgba(255,255,255,.2); background-color: #1b1b20; background-size: 800% 800%, 800% 800%; background-position: 71.43% 14.29%, 14.29% 14.29%; background-repeat: no-repeat; }
.ps-account > div { flex: 1; min-width: 0; }
.ps-account b { display: block; font: 700 18px var(--title-font); font-stretch: 112%; }
.ps-account small { font-size: 12.5px; color: rgba(255,255,255,.55); }
.ps-links { display: flex; gap: 10px; }
.ps-rpc { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: #111214; border: 1px solid rgba(255,255,255,.1); }
.ps-rpc img { width: 58px; height: 58px; padding: 10px; border-radius: 12px; background: #1e1f22; }
.ps-rpc b { display: block; font: 700 14px var(--body-font); }
.ps-rpc span, .ps-rpc small { display: block; font-size: 12.5px; color: rgba(255,255,255,.7); }
.ps-rpc small { color: rgba(255,255,255,.45); }
.ps-rpc.off { opacity: .4; filter: grayscale(1); }
.ps-storage { display: flex; align-items: center; gap: 20px; margin-bottom: 6px; }
.ps-storage strong { font: 700 40px/.9 var(--title-font); font-stretch: 125%; white-space: nowrap; }
.ps-storage .storage-bar { flex: 1; }
.ps-page .no-results { margin: 30px 4px; color: rgba(255,255,255,.55); }
@media (max-width: 1100px) { .ps-page { grid-template-columns: 200px minmax(0, 1fr); } .ps-tints { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Glas-Farbe: Vorschau-Kacheln */
.ps-tints { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.ps-tint { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 8px; }
.ps-tint-art { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  background: radial-gradient(circle at 18% 12%, rgba(var(--o),.85), transparent 60%), radial-gradient(circle at 90% 90%, rgba(var(--o),.45), transparent 55%), #08080a; }
.ps-tint-art i { position: absolute; left: 20%; top: 22%; right: 20%; bottom: 22%; border-radius: 9px; border: 1px solid rgba(var(--t),.35);
  background: linear-gradient(140deg, rgba(var(--t),.26), rgba(var(--t),.06)); box-shadow: inset 0 1px 0 rgba(var(--t),.5); backdrop-filter: blur(6px); }
.ps-tint.active .ps-tint-art, .ps-tint:focus-visible .ps-tint-art { outline: 2px solid #fff; outline-offset: 3px; }
.ps-tint.active .ps-bg-name { color: #fff; font-weight: 600; }

/* Update-Meldung im laufenden Launcher */
.update-notice { position: fixed; z-index: 90; right: 18px; bottom: 18px; width: 340px; padding: 14px 14px 14px 16px; border-radius: 20px; background: var(--glass-bg); border: 1px solid rgba(255,255,255,.16); box-shadow: var(--glass-edge), 0 24px 60px -20px rgba(0,0,0,.7); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; transition: opacity .35s, transform .45s cubic-bezier(.16,1,.3,1); }
.update-notice.on { opacity: 1; transform: none; pointer-events: auto; }
.un-head { display: flex; align-items: center; gap: 12px; }
.un-head > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.un-head b { font: 700 13.5px var(--title-font); font-stretch: 112%; color: #fff; }
.un-head small { font: 500 11.5px var(--label-font); color: rgba(255,255,255,.62); }
.un-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(var(--tint),.14); border: 1px solid rgba(var(--tint),.24); color: #fff; animation: unPulse 1.6s ease-in-out infinite; }
.update-notice.done .un-ico, .update-notice.bad .un-ico { animation: none; }
.update-notice.bad .un-ico { background: rgba(255,90,90,.16); border-color: rgba(255,90,90,.35); }
@keyframes unPulse { 50% { transform: translateY(2px); } }
.un-close { all: unset; cursor: pointer; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: rgba(255,255,255,.5); }
.un-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.un-bar { margin-top: 12px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.un-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(var(--tint),.7), #fff); box-shadow: 0 0 12px rgba(var(--tint),.6); transition: width .4s ease; }
.un-actions { margin-top: 12px; display: flex; justify-content: flex-end; }

/* Favoriten: eigenes goldenes Glas, derselbe Stern nimmt den Favoriten wieder raus */
.inst-card.is-favorite { border-color: rgba(250,204,21,.55) !important; background: linear-gradient(165deg, rgba(250,204,21,.17) 0%, rgba(250,204,21,.05) 38%, rgba(255,255,255,.03) 70%, rgba(250,204,21,.08) 100%) !important; box-shadow: 0 0 0 1px rgba(250,204,21,.18), 0 0 46px -14px rgba(250,204,21,.55), var(--glass-edge) !important; }
.inst-card.is-favorite:hover { border-color: rgba(250,204,21,.8) !important; }
.inst-card.is-favorite .inst-top { background: radial-gradient(ellipse 70% 85% at 50% 62%, rgba(250,204,21,.28), transparent 70%), repeating-linear-gradient(115deg, rgba(250,204,21,.06) 0 2px, transparent 2px 14px) !important; border-bottom-color: rgba(250,204,21,.22) !important; }
.inst-card.is-favorite .inst-icon { filter: drop-shadow(0 8px 22px rgba(250,204,21,.45)); }
.inst-card .star { transition: background .25s, color .25s, box-shadow .25s, transform .25s; }
.inst-card .star:hover { transform: scale(1.1); }
.inst-card.is-favorite .star { background: linear-gradient(180deg, #fde68a, #facc15) !important; color: #3a2a00 !important; box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset, 0 6px 20px -4px rgba(250,204,21,.85); }
.inst-card.is-favorite .star:hover { background: rgba(0,0,0,.45) !important; color: #facc15 !important; }
.inst-card .star.pop { animation: favPop .55s cubic-bezier(.2,1.6,.4,1); }
@keyframes favPop { 0% { transform: scale(.6) rotate(-30deg); } 60% { transform: scale(1.3) rotate(8deg); } 100% { transform: none; } }
.inst-kicker.fav-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: rgba(250,204,21,.16); border: 1px solid rgba(250,204,21,.4); color: #fde68a !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }
.inst-kicker.fav-badge i { font-size: 9px; color: #facc15; }

/* Mod-Quelle: nur Modrinth, mit echtem Logo */
.filters .source.modrinth { gap: 10px; }
.filters .source.modrinth img { width: 18px; height: 18px; flex: none; filter: drop-shadow(0 0 6px rgba(27,217,106,.45)); }

/* Mod-Liste: Karten passen immer in die Spalte, kein Querscrollen */
.mod-list { grid-template-columns: minmax(0, 1fr); overflow-x: hidden; scrollbar-gutter: stable; }
.mod-list > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.mod-row .mod-copy { min-width: 0; }
.mod-row .mod-copy .tags { min-width: 0; flex-wrap: wrap; row-gap: 4px; }
.mod-row .mod-side { min-width: 0; flex-shrink: 0; }
.mod-row .mod-side .downloads { white-space: nowrap; }

/* Ecken-Regler: alle Rundungen hängen an --rk (0 = kantig wie Minecraft, 1 = Standard 14 px, 1.43 = 20 px) */
:root { --rk: 1; --pill: calc(var(--radius, 14px) * 2.2); }
#sidebar, .ps-nav, body:not(.bg-glass) .viewport { border-radius: calc(26px * var(--rk)) !important; }
.pc-stage { border-radius: calc(28px * var(--rk)) !important; }
.pc-panel, .popover, .settings-modal, #dialog { border-radius: calc(24px * var(--rk)) !important; }
.inst-card, .skin-card, .cape-card, .content-card, .stat, .key-box, .rail-card, .update-card, .ps-card { border-radius: calc(22px * var(--rk)) !important; }
.mod-row, .pc-launch, .update-notice { border-radius: calc(20px * var(--rk)) !important; }
.list-row, .profile-row, .shot, .log-row, .lock-chip, .target-bar, .mod-sort-control, .mod-icon, .pc-quick, .pc-news-tile, .effect, .font-option, .choice, textarea.field, .filters .sources { border-radius: calc(16px * var(--rk)) !important; }
.nav-item, .side-add, .side-settings, .ps-cat, .ps-tint-art { border-radius: calc(14px * var(--rk)) !important; }
.ps-ic, .pop-item, .pc-side .friend-row, .filters .source, .filter-option { border-radius: calc(12px * var(--rk)) !important; }
.btn, .tool-btn, .tab, .icon-btn, .btn.outline, .btn.small, .segmented button, .pose, .custom-color, .launch-more,
.field, .search, .searchbar, .path-row input, select.field, .topbar .chip, .running-chip, .topbar .chip.square, .icon-plain, .ps-seg, .ps-seg button, .inst-active, .pc-tag { border-radius: var(--pill) !important; }

/* Skin-Animation oben rechts auf der Bühne */
.pc-anim { position: absolute; top: 20px; right: 20px; z-index: 4; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: var(--pill); background: var(--glass-bg); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--glass-edge); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.pc-anim > button:not(.switch) { all: unset; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--pill); color: rgba(255,255,255,.62); font-size: 14px; transition: background .2s, color .2s; }
.pc-anim > button:not(.switch):hover { color: #fff; background: rgba(255,255,255,.08); }
.pc-anim > button.active { background: linear-gradient(180deg, #fff, #e3e6ef); color: #000; }
.pc-anim.off > button:not(.switch) { opacity: .45; }
.pc-anim.off > button.active { background: rgba(255,255,255,.14); color: #fff; }
.pc-anim-sep { width: 1px; height: 20px; margin: 0 4px; background: rgba(255,255,255,.16); }
.pc-anim .switch { margin: 0 4px 0 2px; }
