/* Der simulierte Mac. Alle Maße gelten für eine feste Fläche (sim.js setzt Breite, Höhe und Maßstab);
   dadurch sieht die Simulation in jeder Fensterbreite gleich aus. Farben und Maße der Nudgebar-Teile
   folgen der echten App (dunkles Erscheinungsbild). */
.screen { position: relative; box-sizing: content-box; border: 11px solid #08080a; border-radius: 26px; background: #000; overflow: hidden;
  box-shadow: 0 0 0 1.5px #3a3a40, 0 0 0 3px #0c0c0e, 0 40px 90px -24px rgba(12,14,30,.55), 0 12px 30px -10px rgba(12,14,30,.35); }
#desk { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; border-radius: 13px; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  font: 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: var(--t1);
  --t1: #f2f2f5; --t2: rgba(235,235,245,.62); --t3: rgba(235,235,245,.34); --sep: rgba(255,255,255,.1); --fill: rgba(255,255,255,.09); --fill2: rgba(255,255,255,.15);
  --win: #1f1f22; --side: #29292d; --card: #2a2a2e; --blue: #0a84ff; --green: #30d158; --orange: #ff9f0a; --yellow: #ffd60a; --red: #ff453a;
  --glass: rgba(40,40,46,.8); --glass-edge: 0 0 0 .5px rgba(255,255,255,.2), inset 0 .5px 0 rgba(255,255,255,.22); }
#desk * { box-sizing: border-box; }
#desk button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: default; }
#desk .ic { display: block; flex: none; }
.grow { flex: 1; min-width: 0; }
.cut1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Schreibtischbild */
.wall { position: absolute; inset: 0; background: #070a1c; overflow: hidden; }
.wall::before { content: ""; position: absolute; inset: -25%; filter: blur(46px) saturate(125%); background:
  radial-gradient(34% 44% at 18% 84%, #ff4f86 0, transparent 70%),
  radial-gradient(40% 50% at 78% 92%, #ff9440 0, transparent 70%),
  radial-gradient(46% 52% at 52% 46%, #6447ff 0, transparent 72%),
  radial-gradient(36% 44% at 92% 18%, #17b5c9 0, transparent 70%),
  radial-gradient(34% 42% at 6% 12%, #2438d8 0, transparent 70%); }
.wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,6,20,.5) 0, rgba(4,6,20,0) 22%, rgba(4,6,20,0) 70%, rgba(4,6,20,.28) 100%); }

/* Menüleiste */
.mb { position: absolute; left: 0; right: 0; top: 0; height: 34px; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; color: #fff; z-index: 50; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.mb-l, .mb-r { display: flex; align-items: center; }
.mb-l > * { padding: 0 9px; font-weight: 500; }
.mb-l b { font-weight: 700; }
.mb-l .logo { font-size: 11px; }
.mb-r { gap: 1px; }
.mb-i { height: 24px; min-width: 28px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; position: relative; }
#desk button.mb-i { cursor: pointer; }
#desk button.mb-i:hover, .mb-i.on { background: rgba(255,255,255,.2); }
.mb-x { display: inline-flex; overflow: hidden; max-width: 130px; transition: max-width .38s cubic-bezier(.3,.9,.3,1), opacity .25s ease; }
.mb-x i { width: 30px; height: 24px; display: grid; place-items: center; flex: none; }
#desk.mbc:not(.mbr):not(.mbcmd) .mb-x { max-width: 0; opacity: 0; }
/* Immer versteckt: nur mit ⌘ zu sehen. Mit ⌘ zeigen leichte Flächen, was wohin gehört. */
.mb-a { display: inline-flex; overflow: hidden; max-width: 0; opacity: 0; border-radius: 7px; transition: max-width .38s cubic-bezier(.3,.9,.3,1), opacity .25s ease, background .25s ease; }
.mb-a i, .mb-r > i { width: 30px; height: 24px; display: grid; place-items: center; flex: none; border-radius: 7px; }
#desk.mbcmd .mb-a { max-width: 130px; opacity: 1; overflow: visible; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); margin-right: 3px; }
#desk.mbcmd .mb-x { background: rgba(255,255,255,.06); border-radius: 7px; overflow: visible; }
.mb-r i.lift { position: relative; z-index: 3; background: rgba(255,255,255,.28); box-shadow: 0 6px 16px rgba(0,0,0,.35); transition: background .15s ease; }
.chev .ic { transition: transform .3s cubic-bezier(.3,.9,.3,1); }
#desk.mbc:not(.mbr):not(.mbcmd) .chev .ic { transform: rotate(180deg); }
.mb-clock { padding-left: 8px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: pre; }
.nb::after { content: ""; position: absolute; right: 3px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .25s cubic-bezier(.3,1.5,.5,1); }
#desk.is-awake .nb::after { opacity: 1; transform: none; }

/* Notch: oben bündig mit nach außen gezogenen Ecken, unten weich gerundet */
.notch { position: absolute; left: 50%; top: 0; width: var(--w); height: 32px; margin-left: calc(var(--w) / -2); --w: 180px; --ear: 6px; z-index: 60; color: #fff;
  transition: width .44s cubic-bezier(.3,1.25,.4,1), height .44s cubic-bezier(.3,1.25,.4,1), margin-left .44s cubic-bezier(.3,1.25,.4,1); }
.notch.live { --w: 260px; }
.notch.open { --w: 584px; --ear: 10px; height: 170px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.4)); }
.notch::before, .notch::after { content: ""; position: absolute; top: 0; width: var(--ear); height: var(--ear); }
.notch::before { left: calc(var(--ear) * -1); background: radial-gradient(circle at 0 100%, transparent calc(var(--ear) - .5px), #000 var(--ear)); }
.notch::after { right: calc(var(--ear) * -1); background: radial-gradient(circle at 100% 100%, transparent calc(var(--ear) - .5px), #000 var(--ear)); }
.n-in { position: absolute; inset: 0; background: #000; border-radius: 0 0 9px 9px; overflow: hidden; transition: border-radius .3s ease; }
.notch.open .n-in { border-radius: 0 0 24px 24px; }
.n-live { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; font: 600 11px/1 -apple-system, system-ui, sans-serif; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .2s ease; }
.notch.live:not(.open) .n-live { opacity: 1; transition-delay: .16s; }
.n-live > span { width: 40px; display: grid; place-items: center; }
.art { border-radius: 5px; background: linear-gradient(140deg, #ff5f6d, #ffc371 60%, #fff0b8); flex: none; }
.n-live .art { width: 20px; height: 20px; }
.wave { display: flex; gap: 2px; align-items: center; height: 14px; }
.wave i { width: 2.5px; border-radius: 2px; background: #fff; height: 30%; }
.notch.live .wave i { animation: wave .9s ease-in-out infinite alternate; }
.wave i:nth-child(2) { animation-delay: -.3s !important; } .wave i:nth-child(3) { animation-delay: -.6s !important; } .wave i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes wave { from { height: 22%; } to { height: 100%; } }
.n-x { position: absolute; left: 50%; top: 0; width: 584px; margin-left: -292px; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.notch.open .n-x { opacity: 1; pointer-events: auto; transition-delay: .1s; }
.n-top { height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 8px 0 18px; font-size: 12px; }
.n-top b { font-weight: 600; } .n-top span { color: rgba(255,255,255,.55); flex: 1; }
#desk .nbtn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
#desk .nbtn:hover { background: rgba(255,255,255,.12); }
#desk .nbtn.soft { color: rgba(255,255,255,.55); } #desk .nbtn.soft:hover { color: #fff; }
.n-cards { height: 138px; padding: 6px 12px 14px; display: flex; gap: 8px; }
.n-card { background: rgba(255,255,255,.07); border-radius: 16px; opacity: 0; transform: translateY(-8px) scale(.96); transform-origin: 50% 0; transition: opacity .2s ease, transform .4s cubic-bezier(.3,1.4,.5,1); }
.notch.open .n-card { opacity: 1; transform: none; }
.notch.open .n-card:nth-child(1) { transition-delay: .09s; } .notch.open .n-card:nth-child(2) { transition-delay: .13s; } .notch.open .n-card:nth-child(3) { transition-delay: .17s; }
.n-music { width: 204px; padding: 10px; display: flex; gap: 12px; }
.n-music .art { width: 60px; height: 60px; border-radius: 12px; box-shadow: 0 3px 6px rgba(0,0,0,.35); position: relative; }
.n-music .art i { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(#ff6b81, #f5334f); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.n-music b { display: block; font-size: 13px; font-weight: 600; } .n-music small { font-size: 11px; color: rgba(255,255,255,.55); }
.n-ctl { display: flex; gap: 2px; margin: 4px 0 0 -6px; }
.n-cal { width: 200px; padding: 10px; }
.n-cal h6 { margin: 0 0 6px; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.55); display: flex; gap: 5px; align-items: center; }
.ev { height: 18px; display: flex; align-items: center; gap: 6px; font-size: 11px; margin-bottom: 6px; }
.ev i { width: 3px; height: 14px; border-radius: 2px; flex: none; }
.ev em { font-style: normal; font-size: 10px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.ev:first-of-type span { font-weight: 600; } .ev:first-of-type em { color: #fff; }
.n-ctlc { width: 140px; padding: 10px 12px; display: flex; flex-direction: column; gap: 9px; }
.ts { display: flex; align-items: center; gap: 8px; height: 20px; color: rgba(255,255,255,.55); cursor: pointer; touch-action: none; }
.ts-t { flex: 1; height: 9px; border-radius: 5px; background: rgba(255,255,255,.16); position: relative; transition: height .12s ease; }
.ts:hover .ts-t { height: 11px; }
.ts-f { position: absolute; inset: 0 auto 0 0; background: #fff; border-radius: 5px; min-width: 9px; }
#desk .n-awake { margin-top: auto; height: 24px; padding: 0 10px; border-radius: 99px; background: rgba(255,255,255,.09); display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; cursor: pointer; width: 100%; }
#desk .n-awake:hover { background: rgba(255,255,255,.16); }
#desk .n-awake.on { color: var(--orange); background: rgba(255,159,10,.2); }
#desk .n-awake span { flex: 1; text-align: left; font-variant-numeric: tabular-nums; }

/* Fenster */
.wins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wins > .win:not(.gone) { pointer-events: auto; }
.win { position: absolute; display: flex; flex-direction: column; background: var(--win); border-radius: 16px; overflow: hidden; container-type: inline-size;
  box-shadow: 0 0 0 .5px rgba(255,255,255,.22), 0 0 0 1px rgba(0,0,0,.5), 0 22px 54px -6px rgba(0,0,0,.6); transition: opacity .2s ease, transform .25s ease, filter .2s ease; }
.win:not(.front) { filter: brightness(.9); }
.win.gone { opacity: 0; transform: scale(.94); pointer-events: none; }
.tb { height: 40px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; cursor: grab; touch-action: none; position: relative; }
.tb:active { cursor: grabbing; }
.tb > i { width: 12px; height: 12px; border-radius: 50%; background: #4a4a4f; flex: none; }
.win.front .tb > i:nth-child(1) { background: #ff5f57; } .win.front .tb > i:nth-child(2) { background: #febc2e; } .win.front .tb > i:nth-child(3) { background: #28c840; }
.tb > span { position: absolute; left: 80px; right: 80px; text-align: center; font-weight: 600; color: var(--t2); pointer-events: none; }
.win.front .tb > span { color: var(--t1); }
.wc { flex: 1; min-height: 0; position: relative; overflow: hidden; display: flex; }
.pane { width: 150px; flex: none; background: var(--side); margin: 0 0 8px 8px; border-radius: 12px; padding: 8px 6px; overflow: hidden; }
.pane small { display: block; color: var(--t3); font-size: 11px; font-weight: 600; padding: 4px 8px; }
.pane .it { display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 8px; white-space: nowrap; }
.pane .it .ic { color: var(--blue); }
.pane .it.on { background: var(--fill2); }
#desk .pane button.it { width: 100%; cursor: pointer; text-align: left; padding: 5px 8px; }
#desk .pane button.it.on { background: var(--fill2); }
@container (max-width: 400px) { .pane { display: none; } }

.notes { flex: 1; padding: 6px 20px 16px; overflow: hidden; }
.notes h4 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.notes p { margin: 0 0 6px; color: var(--t2); }
.notes .pasted { color: var(--t1); min-height: 18px; }
.notes .pasted::after { content: ""; display: inline-block; width: 1.5px; height: 15px; background: var(--yellow); vertical-align: -2.5px; margin-left: 1px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nlist .it { display: block; } .nlist .it b, .nlist .it span { display: block; overflow: hidden; text-overflow: ellipsis; } .nlist .it b { font-weight: 600; } .nlist .it span { color: var(--t3); font-size: 11.5px; }
.nlist .it.on { background: #b8860b55; }

.web { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.web-url { position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 46%; height: 26px; border-radius: 9px; background: var(--fill); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--t2); pointer-events: none; }
.web-nav { position: absolute; left: 76px; top: 12px; display: flex; gap: 12px; color: var(--t3); pointer-events: none; }
.web-nav .on { color: var(--t1); }
.web-view { flex: 1; background: #fff; color: #1d1d1f; position: relative; overflow: hidden; margin: 0 6px 6px; border-radius: 6px 6px 11px 11px; }
.web-page { padding: 26px 30px; will-change: transform; position: absolute; left: 0; right: 0; top: 0; }
.web-page h5 { margin: 0 0 4px; font: 800 26px/1.1 ui-serif, Georgia, serif; letter-spacing: -.02em; }
.web-page small { color: #8a8a90; }
.web-hero { height: 150px; border-radius: 12px; margin: 16px 0; background: radial-gradient(60% 90% at 80% 20%, #ffd27a 0, transparent 60%), radial-gradient(70% 100% at 10% 90%, #0aa39a 0, transparent 60%), linear-gradient(120deg, #123a6b, #2f6bff); }
.web-hero.b { background: radial-gradient(60% 90% at 20% 20%, #ffc46b 0, transparent 60%), linear-gradient(120deg, #c2410c, #ff7a59); }
.web-page p { height: 9px; border-radius: 5px; background: #e6e6eb; margin: 10px 0; }
.web-page p.s { width: 62%; }
.web-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 18px 0; }
.web-cards i { height: 78px; border-radius: 10px; background: #f0f0f4; }
.web-cards i:nth-child(2) { background: #ffe8d6; } .web-cards i:nth-child(3) { background: #e3e9ff; }
.web-page.p2 { transform: translateX(-102%); }
.web-page.p2 li { list-style: none; padding: 12px 0; border-top: 1px solid #ececf0; font-weight: 600; display: flex; justify-content: space-between; }
.web-page.p2 li span { color: #8a8a90; font-weight: 400; } .web-page.p2 ul { padding: 0; margin: 16px 0 0; }

.fd-grid { flex: 1; padding: 6px 14px 14px; display: grid; grid-template-columns: repeat(auto-fill, 86px); gap: 8px 6px; align-content: start; }
.file { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 2px; border-radius: 8px; font-size: 11.5px; text-align: center; cursor: pointer; transition: opacity .2s ease; }
.file u { width: 42px; height: 52px; border-radius: 6px; background: linear-gradient(#fdfdfd, #e9e9ee); box-shadow: 0 2px 5px rgba(0,0,0,.35); display: grid; place-items: end center; padding-bottom: 6px; font-size: 8.5px; font-weight: 800; text-decoration: none; }
.file u.pdf { color: #e5484d; } .file u.img { color: #0b9b8f; } .file u.doc { color: #2f6bff; } .file u.zip { color: #77777d; }
.file span { padding: 1px 5px; border-radius: 4px; }
.file.sel u { outline: 3px solid rgba(255,255,255,.18); outline-offset: 2px; } .file.sel span { background: var(--blue); color: #fff; }
.file.cut { opacity: .38; }
.file.pop { animation: pop .45s cubic-bezier(.3,1.5,.5,1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* Nudgebar-Fenster */
.app-side { width: 172px; flex: none; padding: 40px 8px 10px; overflow-y: auto; scrollbar-width: none; }
.app-side hr { border: 0; border-top: 1px solid var(--sep); margin: 8px; }
.app-side small { display: block; color: var(--t3); font-size: 11px; font-weight: 600; padding: 9px 8px 3px; }
#desk .app-side button { width: 100%; text-align: left; cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 4.5px 8px; border-radius: 8px; white-space: nowrap; }
.app-side button .ic { color: var(--blue); flex: none; }
#desk .app-side button.on { background: var(--blue); color: #fff; } .app-side button.on .ic { color: #fff; }
@container (max-width: 700px) { .app-side { width: 150px; } }
.app-main { position: relative; flex: 1; min-width: 0; background: #1a1a1c; display: flex; flex-direction: column; border-left: 1px solid var(--sep); }
.app-bar { height: 40px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; font-weight: 600; color: var(--t2); pointer-events: none; }
.app-bar small { display: block; font-weight: 400; font-size: 11px; color: var(--t3); }
.app-bar .btn { pointer-events: auto; }
.app-c { flex: 1; padding: 6px 16px 16px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; overscroll-behavior: contain; }
.app-c h6 { margin: 12px 2px 7px; font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.th { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 14px; padding: 11px 14px; }
.th i { width: 40px; height: 40px; border-radius: 11px; background: #3a3a3f; display: grid; place-items: center; flex: none; }
.th b { display: block; font-size: 18px; letter-spacing: -.01em; } .th span { color: var(--t2); font-size: 12px; }
.gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.gauge { background: var(--card); border-radius: 14px; padding: 11px 12px; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.08); }
.gauge small { color: var(--t2); display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 600; }
.gauge b { display: block; font-size: 17px; margin: 5px 0 7px; font-variant-numeric: tabular-nums; }
.gauge em { display: block; font-style: normal; font-size: 10.5px; color: var(--t3); margin-top: 7px; }
.meter { height: 5px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--green); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.card { background: var(--card); border-radius: 14px; }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.row + .row { border-top: 1px solid var(--sep); }
.row small { display: block; color: var(--t2); font-size: 11.5px; }
#desk .btn { background: var(--fill2); padding: 4px 11px; border-radius: 7px; font-size: 12px; font-weight: 500; cursor: pointer; white-space: nowrap; }
#desk .btn.pri { background: var(--blue); color: #fff; font-weight: 600; }
#desk .btn:active { transform: scale(.96); }
.ok { color: var(--green); display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; font-weight: 500; }
.upd { color: var(--orange); display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; font-weight: 500; }
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--fill2); border-top-color: var(--blue); animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.acard { background: var(--card); border-radius: 14px; padding: 11px 12px; display: flex; gap: 11px; align-items: center; min-width: 0; }
.acard .sq { width: 34px; height: 34px; border-radius: 9px; flex: none; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.25); }
.acard b { display: block; font-weight: 600; } .acard small { display: block; color: var(--t2); font-size: 11px; margin: 1px 0 3px; }
@container (max-width: 520px) { .agrid { grid-template-columns: 1fr; } }

/* Screenshot-Editor */
.ed { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.win.over .tb { position: absolute; left: 0; right: 0; top: 0; z-index: 1; }
.ed-bar > *, .app-bar .btn { position: relative; z-index: 2; }
.ed-g { display: flex; gap: 6px; }
.ed-bar { height: 48px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 84px; pointer-events: none; }
.ed-bar > * { pointer-events: auto; }
.seg { display: flex; background: var(--fill); border-radius: 8px; padding: 2px; }
.seg b { width: 32px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--t2); cursor: pointer; }
.seg b.on { background: #636368; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.dots { display: flex; gap: 6px; }
.dots i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid transparent; cursor: pointer; }
.dots i::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 .5px rgba(255,255,255,.35); }
.dots i.on { border-color: rgba(255,255,255,.8); }
#desk .gbtn { width: 30px; height: 26px; border-radius: 99px; display: grid; place-items: center; background: var(--fill); cursor: pointer; box-shadow: inset 0 .5px 0 rgba(255,255,255,.18); }
#desk .gbtn:hover { background: var(--fill2); }
.ed-c { flex: 1; display: grid; place-items: center; padding: 6px 16px 16px; min-height: 0; }
.ed-img { position: relative; width: min(100%, 470px); aspect-ratio: 470 / 290; border-radius: 4px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: crosshair; }
.capt { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; color: #1d1d1f; }
.capt .web-page { position: static; }
.mark { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mark path { stroke: #ff3b30; stroke-width: 4.5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 500; stroke-dashoffset: 500; }
.drawn .mark path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s ease; }

/* Vorschau beim Einrasten */
.snap { position: absolute; border-radius: 14px; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .15s ease, left .18s ease, top .18s ease, width .18s ease, height .18s ease; pointer-events: none; z-index: 5; }
.snap.on { opacity: 1; }

/* Dock */
.dockbar { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 22px; z-index: 40;
  background: rgba(60,60,72,.38); backdrop-filter: blur(28px) saturate(170%); -webkit-backdrop-filter: blur(28px) saturate(170%); box-shadow: var(--glass-edge), 0 12px 30px rgba(0,0,0,.35); }
#desk .dk { width: 50px; height: 50px; position: relative; cursor: pointer; transition: transform .2s cubic-bezier(.3,1.4,.5,1); display: grid; place-items: center; }
#desk .dk:hover, #desk .dk.hov { transform: translateY(-6px) scale(1.1); }
.dk.run::after { content: ""; position: absolute; bottom: -5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255,255,255,.8); }
.ai { display: grid; place-items: center; color: #fff; border-radius: 23%; flex: none; box-shadow: inset 0 .5px 0 rgba(255,255,255,.5), inset 0 0 0 .5px rgba(255,255,255,.14), 0 2px 5px rgba(0,0,0,.3); position: relative; overflow: hidden; }
.ai::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 45%); }
.ai img { width: 118%; height: 118%; display: block; }
.ai.real { box-shadow: 0 2px 5px rgba(0,0,0,.3); background: none !important; } .ai.real::after { display: none; }

/* Dock-Vorschau */
.dprev { position: absolute; bottom: 74px; display: flex; gap: 10px; padding: 10px; border-radius: 18px; z-index: 41; background: var(--glass); backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%);
  box-shadow: var(--glass-edge), 0 16px 40px rgba(0,0,0,.45); opacity: 0; transform: translateY(8px) scale(.95); transform-origin: 50% 100%; transition: opacity .16s ease, transform .24s cubic-bezier(.3,1.2,.5,1); pointer-events: none; }
.dprev.on { opacity: 1; transform: none; pointer-events: auto; }
.dw { width: 190px; padding: 6px; border-radius: 12px; cursor: pointer; }
.dw:hover, .dw.hov { background: var(--fill); }
.dw-h { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; margin-bottom: 6px; }
.dw-h i { width: 18px; height: 18px; border-radius: 50%; background: var(--fill2); display: grid; place-items: center; opacity: .5; flex: none; }
.dw:hover .dw-h i { opacity: 1; }

/* Kleine Fensterbilder */
.mini { height: 110px; border-radius: 6px; overflow: hidden; background: var(--win); box-shadow: 0 0 0 .5px rgba(255,255,255,.2); position: relative; display: flex; flex-direction: column; }
.mini::before { content: ""; height: 13px; flex: none; background: radial-gradient(circle at 8px 6.500px, #ff5f57 2.200px, transparent 2.700px), radial-gradient(circle at 16px 6.500px, #febc2e 2.200px, transparent 2.700px), radial-gradient(circle at 24px 6.500px, #28c840 2.200px, transparent 2.700px); }
.mini i { flex: 1; margin: 0 3px 3px; border-radius: 3px; }
.mini.m-web i { background: linear-gradient(#fff 0 18%, transparent 18%), radial-gradient(60% 90% at 80% 20%, #ffd27a 0, transparent 60%), linear-gradient(120deg, #123a6b, #2f6bff); background-color: #fff; background-size: 100% 100%, 86% 52%, 86% 52%; background-position: 0 0, 50% 46%, 50% 46%; background-repeat: no-repeat; }
.mini.m-web2 i { background: linear-gradient(#fff 0 22%, #f0f0f4 22% 30%, #fff 30% 40%, #f0f0f4 40% 48%, #fff 48% 58%, #f0f0f4 58% 66%, #fff 66%); }
.mini.m-notes i { background: linear-gradient(90deg, var(--side) 0 30%, transparent 30%), linear-gradient(transparent 0 20%, rgba(255,255,255,.5) 20% 26%, transparent 26% 36%, rgba(255,255,255,.2) 36% 40%, transparent 40% 48%, rgba(255,255,255,.2) 48% 52%, transparent 52%); background-size: 100% 100%, 50% 100%; background-position: 0 0, 76% 0; background-repeat: no-repeat; }
.mini.m-finder i { background: linear-gradient(90deg, var(--side) 0 30%, transparent 30%), radial-gradient(circle, #e9e9ee 0 6px, transparent 7px); background-size: 100% 100%, 26px 32px; background-position: 0 0, 62% 30%; background-repeat: no-repeat, repeat-x; }
.mini.m-app i { background: linear-gradient(90deg, #252528 0 30%, #1a1a1c 30%); }

/* Umschalter */
.switcher { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%) scale(.95); display: flex; gap: 10px; padding: 14px; border-radius: 26px; z-index: 66;
  background: var(--glass); backdrop-filter: blur(34px) saturate(170%); -webkit-backdrop-filter: blur(34px) saturate(170%); box-shadow: var(--glass-edge), 0 26px 60px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .14s ease, transform .2s ease; }
.switcher.on { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.sw { width: 196px; padding: 6px; border-radius: 15px; border: 1px solid transparent; transform: scale(.97); transition: transform .16s ease, background .16s ease; cursor: pointer; }
.sw.sel { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); transform: none; }
.sw-p { height: 122px; border-radius: 10px; background: rgba(255,255,255,.06); padding: 6px; }
.sw-p .mini { height: 100%; }
.sw-t { display: flex; align-items: center; gap: 6px; padding: 7px 2px 0; font-size: 11.5px; font-weight: 500; }

/* Nudgebar-Panel */
.panel { position: absolute; top: 38px; width: 320px; padding: 12px; border-radius: 20px; z-index: 70; display: flex; flex-direction: column; gap: 10px;
  background: var(--glass); backdrop-filter: blur(34px) saturate(180%); -webkit-backdrop-filter: blur(34px) saturate(180%); box-shadow: var(--glass-edge), 0 24px 54px -6px rgba(0,0,0,.6);
  opacity: 0; transform: scale(.9); transform-origin: 82% 0; pointer-events: none; transition: opacity .16s ease, transform .28s cubic-bezier(.3,1.25,.5,1); }
.panel.on { opacity: 1; transform: none; pointer-events: auto; }
.p-head { display: flex; align-items: center; gap: 6px; padding-left: 4px; font-weight: 700; font-size: 13.5px; }
.p-head > span:not(.ai) { flex: 1; }
#desk .circ { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--t2); cursor: pointer; transition: transform .12s ease; }
#desk .circ:hover { background: rgba(255,255,255,.15); } #desk .circ:active { transform: scale(.88); }
.strip { display: flex; padding: 5px 4px; border-radius: 99px; background: rgba(255,255,255,.07); position: relative; }
#desk .strip button { flex: 1; height: 32px; display: grid; place-items: center; border-radius: 99px; position: relative; z-index: 1; cursor: pointer; transition: transform .2s cubic-bezier(.3,1.5,.5,1); }
#desk .strip button:hover { transform: scale(1.1); } #desk .strip button.on { transform: none; }
.strip button.dot::after { content: ""; position: absolute; right: 18%; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: blink 1.8s ease-in-out infinite alternate; }
.strip button.dot.on::after { display: none; }
.pill-s { position: absolute; top: 5px; left: 0; height: 32px; border-radius: 99px; background: linear-gradient(#3b9bff, #0a84ff); box-shadow: 0 2px 8px rgba(10,132,255,.45); transition: transform .32s cubic-bezier(.3,1.2,.4,1); }
.platter { background: rgba(255,255,255,.07); border-radius: 16px; padding: 12px; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.08); }
.pl-h { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 10px; }
.pl-h .ib { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; background: linear-gradient(#3b9bff, #0a84ff); }
.pl-h .ar { color: var(--t3); margin-left: auto; }
.pl-b { animation: plin .28s cubic-bezier(.3,1,.4,1); }
@keyframes plin { from { opacity: 0; transform: translateX(24px) scale(.98); } }
.pill { flex: 1; height: 20px; border-radius: 99px; background: rgba(255,255,255,.1); position: relative; cursor: pointer; touch-action: none; }
.pill-f { position: absolute; inset: 0 auto 0 0; background: #fff; border-radius: 99px; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.pill-i { position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; color: rgba(0,0,0,.55); }
.plr { display: flex; align-items: center; gap: 8px; }
.plr em { font-style: normal; font-size: 11.5px; color: var(--t2); width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
.dname { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.dname .ic { color: var(--t2); } .dname small { color: var(--t2); font-size: 11.5px; }
#desk .dname button { color: var(--t2); cursor: pointer; padding: 2px; }
.drow + .drow { margin-top: 10px; } .drow.off .dname span { color: var(--t2); } .drow.off .dname button { color: var(--t1); } .drow.off .plr { opacity: .4; pointer-events: none; }
#desk .dev { color: var(--t2); font-size: 11.5px; margin-top: 7px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.pl-s { font-size: 12.5px; color: var(--t2); margin: 0 0 8px; } .pl-s.act { color: var(--t1); }
.chips { display: flex; gap: 4px; }
#desk .chip { flex: 1; min-height: 24px; border-radius: 99px; background: rgba(255,255,255,.1); font-size: 11.5px; cursor: pointer; transition: transform .1s ease; }
#desk .chip:active { transform: scale(.94); }
#desk .chip.on { background: var(--t1); color: #1c1c1e; font-weight: 600; }
.caps { display: flex; gap: 4px; }
#desk .cap-b { flex: 1; padding: 6px 0; border-radius: 8px; background: rgba(255,255,255,.07); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; cursor: pointer; }
#desk .cap-b:hover { background: rgba(255,255,255,.13); } #desk .cap-b.f { flex: none; width: 28px; justify-content: center; }
.crow { display: flex; align-items: center; gap: 8px; height: 26px; }
.crow .ic { color: var(--t2); } .crow span { flex: 1; font-size: 12.5px; }
#desk .crow button { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: var(--t2); cursor: pointer; } #desk .crow button:hover { background: var(--fill); }
#desk .lnk { color: var(--blue); font-size: 11.5px; margin-top: 4px; cursor: pointer; }

/* Menü (wie ein Aufklappmenü von macOS) */
.menu { position: absolute; min-width: 170px; padding: 5px; border-radius: 12px; z-index: 95; background: rgba(50,50,56,.86); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: var(--glass-edge), 0 14px 34px rgba(0,0,0,.5);
  opacity: 0; transform: scale(.96); transform-origin: 20% 0; pointer-events: none; transition: opacity .12s ease, transform .16s ease; }
.menu.on { opacity: 1; transform: none; pointer-events: auto; }
.menu div { padding: 4px 10px 4px 24px; border-radius: 7px; position: relative; cursor: default; white-space: nowrap; }
.menu div:hover, .menu div.hov { background: var(--blue); color: #fff; }
.menu div.chk::before { content: "✓"; position: absolute; left: 8px; font-weight: 700; font-size: 11px; top: 5px; }
.menu hr { border: 0; border-top: 1px solid var(--sep); margin: 4px 8px; }

/* Zwischenablage-Verlauf */
.clip { position: absolute; left: 50%; top: 44%; width: 440px; height: 380px; margin: -190px 0 0 -220px; padding: 14px; border-radius: 22px; z-index: 65; display: flex; flex-direction: column; gap: 10px;
  background: var(--glass); backdrop-filter: blur(34px) saturate(170%); -webkit-backdrop-filter: blur(34px) saturate(170%); box-shadow: var(--glass-edge), 0 26px 60px rgba(0,0,0,.55);
  opacity: 0; transform: scale(.95); pointer-events: none; transition: opacity .14s ease, transform .22s cubic-bezier(.3,1.2,.5,1); }
.clip.on { opacity: 1; transform: none; pointer-events: auto; }
.clip-s { display: flex; align-items: center; gap: 8px; padding: 0 6px; color: var(--t2); font-size: 17px; }
.clip-s span { color: var(--t3); } .clip-s span::before { content: ""; display: inline-block; width: 1.5px; height: 18px; background: var(--blue); vertical-align: -3px; margin-right: 1px; animation: blink 1.1s steps(2) infinite; }
.ci { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; margin-bottom: 2px; }
.ci.sel { background: rgba(255,255,255,.12); }
.ci > i { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; color: var(--t2); flex: none; }
.ci > i.th2 { background: linear-gradient(120deg, #123a6b, #2f6bff); } .ci > i.col { background: #2f6bff; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.4); }
.ci kbd { font: 11.5px -apple-system, system-ui, sans-serif; color: var(--t3); }
@media (max-width: 700px) { .clip { width: 400px; margin-left: -200px; } }

/* Bildschirmfoto: Auswahl, Vorschau, angeheftetes Bild */
.shot { position: absolute; inset: 0; z-index: 64; pointer-events: none; opacity: 0; }
.shot.on { opacity: 1; }
.sel-r { position: absolute; background: rgba(110,115,130,.24); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 .5px rgba(0,0,0,.55); }
.sel-s { position: absolute; right: -4px; bottom: -22px; color: #fff; font: 600 10.5px ui-monospace, "SF Mono", Menlo, monospace; text-shadow: 0 0 3px #000, 0 0 1px #000; white-space: nowrap; }
.pv { position: absolute; right: 16px; bottom: 16px; width: 232px; padding: 6px; border-radius: 14px; z-index: 46; background: var(--glass); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: var(--glass-edge), 0 14px 34px rgba(0,0,0,.5);
  transform: translateX(270px); transition: transform .28s cubic-bezier(.2,.8,.3,1), opacity .2s ease; cursor: pointer; }
.pv.on { transform: none; }
.pv-img { height: 136px; border-radius: 8px; overflow: hidden; position: relative; background: #fff; }
.pv-b { position: absolute; inset: 12px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.pv:hover .pv-b, .pv.hov .pv-b { opacity: 1; pointer-events: auto; }
.pv-b div { display: flex; justify-content: space-between; gap: 5px; } .pv-b div:last-child { justify-content: flex-end; }
#desk .pv-b button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(60,60,66,.82); box-shadow: var(--glass-edge); cursor: pointer; }
.pinned { position: absolute; left: 26px; top: 60px; width: 250px; aspect-ratio: 470 / 290; border-radius: 6px; z-index: 45; overflow: hidden; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.5), 0 16px 40px rgba(0,0,0,.55);
  opacity: 0; transform: scale(.7); transition: opacity .2s ease, transform .4s cubic-bezier(.3,1.3,.5,1); pointer-events: none; }
.pinned.on { opacity: 1; transform: none; }
.pinned .mark path { stroke-dashoffset: 0; }

/* Tasten-Einblendung, Abdunklung, Zeiger */
.keys { position: absolute; left: 50%; bottom: 92px; transform: translate(-50%, 10px); display: flex; gap: 5px; padding: 8px 10px; border-radius: 13px; background: rgba(20,20,24,.82); z-index: 80; opacity: 0; transition: opacity .16s ease, transform .22s ease; pointer-events: none; box-shadow: var(--glass-edge); }
.keys.on { opacity: 1; transform: translate(-50%, 0); }
.keys kbd { min-width: 30px; height: 30px; padding: 0 8px; display: grid; place-items: center; border-radius: 7px; background: #f4f4f6; color: #1d1d1f; font: 600 15px -apple-system, system-ui, sans-serif; box-shadow: 0 2px 0 rgba(0,0,0,.5); }
.dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 90; transition: opacity .12s linear; }
.cursor { position: absolute; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .25s ease; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); will-change: transform; }
#desk.auto .cursor { opacity: 1; }
.cursor svg { display: block; transition: transform .09s ease; transform-origin: 3px 2px; }
.cursor.down svg { transform: scale(.82); }
.cursor .cross { display: none; } .cursor.x .arrow { display: none; } .cursor.x .cross { display: block; margin: -9px 0 0 -8px; }

/* Akku: Menüleisten-Symbol und Panel */
.bg { position: relative; height: 15px; min-width: 30px; padding: 0 4px 0 3px; margin-right: 3px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 1px;
  font-size: 10.5px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: rgba(0,0,0,.8); text-shadow: none;
  background: linear-gradient(90deg, #fff var(--p), rgba(255,255,255,.42) var(--p)); }
.bg::after { content: ""; position: absolute; right: -3px; top: 4.5px; width: 2px; height: 6px; border-radius: 1px; background: rgba(255,255,255,.42); }
.bg .ic { stroke-width: 2.2; flex: none; }
.bpanel { gap: 12px; padding: 16px; }
.bpanel .p-head { padding: 0; }
.b-top { display: flex; align-items: center; gap: 13px; }
.b-top .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b-top .grow b { font-size: 13px; font-weight: 600; } .b-top .grow span { font-size: 11.5px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-top .grow span.on { color: var(--green); }
.b-ring { position: relative; width: 50px; height: 50px; flex: none; display: grid; place-items: center; align-content: center; }
.b-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.b-ring circle { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 5; }
.b-ring .fg { stroke: var(--t1); stroke-linecap: round; transition: stroke-dasharray .2s linear, stroke .3s ease; }
.b-ring.charging .fg { stroke: var(--green); }
.b-ring .mk { stroke: var(--t2); stroke-width: 2; stroke-linecap: round; transform-origin: 25px 25px; transition: transform .35s cubic-bezier(.3,1.2,.4,1); }
.b-ring b { position: relative; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.b-ring i { position: relative; height: 8px; margin-top: 1px; color: var(--t2); display: grid; }
.b-ring i:empty { display: none; }
.b-sec { border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.b-sec h6 { margin: 0; font-size: 11.5px; font-weight: 600; color: var(--t2); }
.b-chart { display: flex; gap: 6px; height: 78px; }
.b-plot { flex: 1; min-width: 0; } .b-plot svg { display: block; width: 100%; height: 100%; }
.b-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 9.5px; color: var(--t3); width: 34px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.b-x { position: relative; height: 11px; margin: -4px 40px 0 0; font-size: 9.5px; color: var(--t3); }
.b-x span { position: absolute; top: 0; transform: translateX(-50%); }
.b-figs { display: flex; gap: 6px; }
.b-figs div { flex: 1; min-width: 0; padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,.06); }
.b-figs small { display: block; font-size: 10px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-figs b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.b-flow { display: flex; align-items: center; }
.b-pill { height: 30px; padding: 0 10px; border-radius: 99px; background: rgba(255,255,255,.09); display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; white-space: nowrap; flex: none; }
.b-pill em { font-style: normal; font-variant-numeric: tabular-nums; }
.b-pill.off { background: rgba(255,255,255,.05); color: var(--t2); } .b-pill.off .ic { color: var(--t3); } .b-pill.g .ic { color: var(--green); }
.b-pipe { flex: 1; min-width: 18px; height: 5px; position: relative; overflow: hidden; border-radius: 3px; background: rgba(10,132,255,.2); --dot: var(--blue);
  -webkit-mask: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); mask: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); }
.b-pipe::after { content: ""; position: absolute; inset: 0 0 0 -13px; background: radial-gradient(circle at 2.5px 50%, var(--dot) 2.4px, transparent 2.6px) 0 0 / 13px 100% repeat-x; animation: bflow .55s linear infinite; }
.b-pipe.g { background: rgba(48,209,88,.2); --dot: var(--green); }
.b-pipe.rev::after { animation-direction: reverse; }
.b-pipe.off { background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 4px, transparent 4px 8px); -webkit-mask: none; mask: none; }
.b-pipe.off::after { display: none; }
@keyframes bflow { to { transform: translateX(13px); } }
#desk .bpanel .chip { min-height: 26px; flex: 1 1 auto; padding: 0 7px; white-space: nowrap; }
#desk .b-up { height: 28px; border-radius: 99px; background: rgba(255,255,255,.1); font-size: 11.5px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform .1s ease; }
#desk .b-up:active { transform: scale(.97); } #desk .b-up[hidden] { display: none; }

@media (max-width: 700px) { .screen { border-width: 6px; border-radius: 16px; } #desk { border-radius: 10px; } }
@media (prefers-reduced-motion: reduce) {
  #desk *, #desk *::after, #desk *::before { animation: none !important; transition-duration: .01s !important; }
}
@media (prefers-reduced-transparency: reduce) {
  #desk { --glass: #2c2c32; } .dockbar { background: #3a3a46; } .menu { background: #323238; }
  #desk * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* Kontrollzentrum im Panel: Kacheln aus Glas, nur der Kreis schaltet */
.pl-b.ctl { position: relative; }
.cg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ct { display: flex; align-items: center; gap: 8px; padding: 7px 6px 7px 7px; border-radius: 14px; min-width: 0;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14), inset 0 .5px 0 rgba(255,255,255,.18); }
.ctx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ctx[data-op] { cursor: pointer; }
.ctx b { font-size: 12px; font-weight: 600; } .ctx small { font-size: 11px; color: var(--t2); }
.ct .ar { color: var(--t3); cursor: pointer; display: grid; place-items: center; width: 12px; }
#desk .cc { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--t1); transition: background .2s ease, color .2s ease, transform .15s cubic-bezier(.3,1.5,.5,1); }
#desk .cc:active { transform: scale(.88); }
#desk .cc.on { background: linear-gradient(#3b9bff, #0a84ff); color: #fff; box-shadow: 0 2px 8px rgba(10,132,255,.35); }
#desk .cc.or.on { background: linear-gradient(#ffb340, #ff9f0a); box-shadow: 0 2px 8px rgba(255,159,10,.35); }
#desk i.cc { cursor: default; } #desk .cc.s { width: 24px; height: 24px; }
.cd { border-radius: 18px; padding: 8px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14), inset 0 .5px 0 rgba(255,255,255,.18); }
.cd-h { display: flex; align-items: center; gap: 8px; }
.cd-h b { font-size: 13px; display: block; } .cd-h small { font-size: 11px; color: var(--t2); display: block; }
#desk .cbk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none;
  background: rgba(255,255,255,.12); box-shadow: inset 0 .5px 0 rgba(255,255,255,.25); transition: transform .12s ease; }
#desk .cbk:active { transform: scale(.88); }
.cd hr { border: 0; height: .5px; background: rgba(255,255,255,.12); margin: 6px 4px; }
.cr { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 10px; cursor: pointer; font-size: 12.5px; }
.cr:hover { background: rgba(255,255,255,.08); }
.cr .ic { flex: none; } .cr em { font-style: normal; font-size: 11px; color: var(--t2); font-variant-numeric: tabular-nums; }
.cr .lk { color: var(--t3); display: grid; } .cr.f { color: var(--t1); }
.cn { font-size: 11.5px; color: var(--t2); padding: 3px 6px; }
#desk .swt { width: 32px; height: 19px; border-radius: 99px; background: rgba(255,255,255,.2); position: relative; cursor: pointer; flex: none; transition: background .2s ease; }
#desk .swt i { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
#desk .swt.on { background: var(--green); } #desk .swt.on i { transform: translateX(13px); }
.dz { margin: 4px 2px; padding: 16px 10px; border-radius: 14px; border: 1.5px dashed rgba(255,255,255,.22); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--t2); }
.dz p { font-size: 11.5px; max-width: 200px; }
#desk .gb { font-size: 11.5px; padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.12); color: var(--t1); box-shadow: inset 0 .5px 0 rgba(255,255,255,.25); cursor: pointer; }
#desk .cc.cy.on { background: linear-gradient(#5ad8f5, #32ade6); box-shadow: 0 2px 8px rgba(50,173,230,.35); }
.clean { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.clean.in { opacity: 1; }
.clean-c { pointer-events: auto; width: 290px; padding: 22px 22px 20px; border-radius: 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: rgba(40,40,46,.72); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.18), inset 0 .5px 0 rgba(255,255,255,.25), 0 20px 50px rgba(0,0,0,.4);
  transform: scale(.94); transition: transform .3s cubic-bezier(.3,1.3,.5,1); }
.clean.in .clean-c { transform: none; }
.clean-i { position: relative; color: #5ad8f5; margin-bottom: 4px; } .clean-i i { position: absolute; top: -8px; right: -14px; color: #5ad8f5; animation: cleanPulse 1.4s ease-in-out infinite; }
@keyframes cleanPulse { 50% { opacity: .35; } }
.clean-c b { font-size: 16px; } .clean-c p { font-size: 12.5px; color: var(--t2); } .clean-c small { font-size: 11px; color: var(--t2); font-variant-numeric: tabular-nums; }
#desk .gb.p { margin-top: 6px; min-width: 120px; padding: 6px 16px; font-size: 13px; background: linear-gradient(#3b9bff, #0a84ff); color: #fff; }
#desk .ct.whole { cursor: pointer; transition: transform .15s cubic-bezier(.3,1.5,.5,1); } #desk .ct.whole:active { transform: scale(.96); }

/* Geräumige Notch (große Bildschirme) */
.notch.sp.open { --w: 872px; height: 272px; }
.notch.sp .n-x { width: 872px; margin-left: -436px; }
.n-cards.big { height: 240px; }
.big .n-music { width: 320px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.nm-top { display: flex; gap: 14px; align-items: center; }
.nm-art { flex: none; width: 112px; height: 112px; border-radius: 18px; box-shadow: 0 5px 12px rgba(0,0,0,.45); position: relative; }
.nm-art i { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(#ff6b81, #f5334f); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.big .n-music b { font-size: 16px; font-weight: 700; } .big .n-music small { font-size: 12.5px; }
.cut2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nm-prog { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 500; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.nm-prog div { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; } .nm-prog i { display: block; width: 32%; height: 100%; background: rgba(255,255,255,.8); }
.nm-ctl { display: flex; justify-content: center; align-items: center; gap: 30px; }
#desk .nm-ctl .n-play { width: 48px; height: 48px; box-shadow: 0 3px 8px rgba(0,0,0,.35); background: #fff; color: #000; }
#desk .nm-ctl .n-play:hover { background: #e8e8ed; }
.big .n-cal { width: 376px; padding: 12px; }
.nc-wrap { display: flex; gap: 12px; height: 186px; }
.nc-grid { width: 168px; display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 1px; align-content: start; }
.nc-grid em { font-style: normal; font-size: 8.5px; font-weight: 600; text-align: center; color: rgba(255,255,255,.55); padding-bottom: 3px; }
.nc-grid span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.nc-grid b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 400; font-variant-numeric: tabular-nums; }
.nc-grid .out b { color: rgba(255,255,255,.3); }
.nc-grid .today b { background: #ff453a; font-weight: 700; }
.nc-grid i { width: 3.5px; height: 3.5px; border-radius: 50%; }
.nc-line { width: 1px; background: rgba(255,255,255,.08); }
.nc-day { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.nc-day > b { font-size: 13px; font-weight: 700; color: #ff453a; }
.nc-ev { display: flex; gap: 8px; } .nc-ev > i { width: 3px; border-radius: 2px; flex: none; }
.nc-ev div { min-width: 0; } .nc-ev b { display: block; font-size: 11.5px; font-weight: 600; } .nc-ev small { font-size: 10px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.big .n-ctlc { width: 132px; padding: 12px; gap: 10px; }
.tall-row { flex: 1; display: flex; justify-content: center; gap: 10px; min-height: 0; }
.ts.tall { flex: none; width: 42px; height: auto; position: relative; border-radius: 14px; background: rgba(255,255,255,.14); overflow: hidden; display: block; color: #fff; }
.ts.tall .ts-f { position: absolute; inset: auto 0 0 0; width: auto; min-width: 0; border-radius: 0; background: #fff; transition: height .08s linear; }
.ts.tall .tv { position: absolute; top: 9px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55); z-index: 1; font-variant-numeric: tabular-nums; }
.ts.tall.full .tv { color: rgba(0,0,0,.6); }
.ts.tall > i { position: absolute; bottom: 9px; left: 0; right: 0; display: grid; place-items: center; color: rgba(0,0,0,.75); z-index: 1; }
.aw small { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.55); margin-bottom: 5px; }
.aw-g { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
#desk .aw-g button { height: 24px; border-radius: 99px; background: rgba(255,255,255,.1); font-size: 11.5px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
#desk .aw-g button:hover { background: rgba(255,255,255,.18); }
.big #desk .n-awake, #desk .big .n-awake { display: none; height: 32px; }
#desk.is-awake .big .n-awake { display: flex; }
#desk.is-awake .big .aw-g, #desk.is-awake .big .aw small { display: none; }
.n-cal h6 .nc-month { flex: 1; }
#desk .nc-arr { width: 20px; height: 18px; border-radius: 99px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); display: grid; place-items: center; cursor: pointer; }
#desk .nc-arr:hover { background: rgba(255,255,255,.14); color: #fff; }
#desk .nc-arr:not(.nx) .ic { transform: rotate(180deg); }
.nc-grid.slide-l { animation: ncl .3s cubic-bezier(.3,.9,.3,1); } .nc-grid.slide-r { animation: ncr .3s cubic-bezier(.3,.9,.3,1); }
@keyframes ncl { from { opacity: 0; transform: translateX(14px); } } @keyframes ncr { from { opacity: 0; transform: translateX(-14px); } }
/* Kompakte Notch: Tage zum Scrollen */
.ncl { height: 104px; overflow-y: auto; scrollbar-width: none; scroll-behavior: auto; }
.ncl::-webkit-scrollbar { display: none; }
.ncl-d > b { display: block; font-size: 9.5px; font-weight: 700; color: rgba(255,255,255,.55); margin: 2px 0 3px; }
.ncl-d.today > b { color: #ff453a; }
.ncl .ev { margin-bottom: 3px; }
.ncl .ev.first span { font-weight: 600; } .ncl .ev.first em { color: #fff; }
.ncl .ev.past { opacity: .45; }
/* Geräumiger Player: App über dem Titel */
.nm-top .grow { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nm-app { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.55); }
.nm-app > i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(#ff6b81, #f5334f); display: grid; place-items: center; color: #fff; }
.nm-wv { display: inline-flex; align-items: center; gap: 1.5px; height: 10px; }
.nm-wv em { width: 2px; height: 4px; border-radius: 1px; background: #fff; animation: nmwv .9s ease-in-out infinite alternate; }
.nm-wv em:nth-child(2) { animation-delay: .3s; } .nm-wv em:nth-child(3) { animation-delay: .6s; }
@keyframes nmwv { to { height: 10px; } }
@media (prefers-reduced-motion: reduce) { .nm-wv em { animation: none; height: 7px; } }

/* ---------- Erweiterte Simulation ---------- */

/* Notch: kompakt oder geräumig */
.notch:not(.sp) .n-cards.big, .notch.sp .n-cards:not(.big) { display: none; }
/* Live-Aktivität: lange Zeiten kleiner statt umbrochen */
.n-live > span { white-space: nowrap; }
.n-live > span.long { font-size: 9.5px; letter-spacing: -.03em; }
.rdot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rdot 1.2s ease-in-out infinite alternate; }
.rdot.or { background: var(--orange); }
@keyframes rdot { to { opacity: .45; } }
.ring { width: 15px; height: 15px; display: block; }
.ring circle { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 2.2; }
.ring .fg { stroke: currentColor; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
/* Kurze Hinweise aus der Notch */
.n-flash { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .18s ease; font: 600 11.5px/1.2 -apple-system, system-ui, sans-serif; }
.notch:is(.f-side, .f-below, .f-detail):not(.open) .n-flash { opacity: 1; transition-delay: .14s; }
.notch:is(.f-side, .f-below, .f-detail):not(.open) .n-live { opacity: 0; transition-delay: 0s; }
.notch.f-side:not(.open) { --w: 416px; }
.notch.f-below:not(.open) { --w: 264px; height: 64px; }
.notch.f-detail:not(.open) { --w: 340px; height: 88px; }
.notch:is(.f-below, .f-detail):not(.open) .n-in { border-radius: 0 0 18px 18px; }
.nf-s { height: 32px; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; }
.nf-s > span { width: 104px; display: flex; gap: 6px; align-items: center; min-width: 0; }
.nf-s > span:last-child { justify-content: flex-end; }
.nf-b { position: absolute; left: 0; right: 0; top: 32px; height: 30px; display: flex; gap: 8px; align-items: center; padding: 0 14px; }
.nf-d { position: absolute; left: 0; right: 0; top: 30px; height: 54px; display: flex; gap: 10px; align-items: center; padding: 0 14px; }
.nf-d > i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.nf-d b { display: block; font-size: 12.5px; } .nf-d small { display: block; color: rgba(255,255,255,.6); font-weight: 400; font-size: 11px; margin-top: 2px; }
.n-flash em { font-style: normal; font-variant-numeric: tabular-nums; }
.n-flash u { width: 46px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; display: block; flex: none; }
.n-flash u i { display: block; height: 100%; background: #fff; border-radius: 2px; transition: width .2s ease; }
/* Menüleiste */
#desk .mb-i.rec { display: none; gap: 5px; color: var(--red); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
#desk.is-rec .mb-i.rec { display: inline-flex; }
#desk.noarrow .chev { display: none; }
.bg.thin { min-width: 24px; height: 11px; padding: 0; border-radius: 4px; }
.bg.thin::after { top: 3px; height: 5px; }
.bat em { font-style: normal; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 0 3px; }
.bat .ring { display: inline-block; }
/* Nudgebar-Fenster: Formulare */
.fs { background: var(--card); border-radius: 12px; margin-top: 8px; }
.fr { display: flex; align-items: center; gap: 10px; padding: 8px 12px; min-height: 36px; }
.fr + .fr { border-top: 1px solid var(--sep); }
.fr.col { flex-direction: column; align-items: stretch; gap: 7px; }
.fr small { display: block; color: var(--t2); font-size: 11px; margin-top: 2px; }
.fr em, .row em { font-style: normal; color: var(--t2); font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row em { width: 50px; text-align: right; }
.ff { color: var(--t3); font-size: 11px; margin: 6px 4px 0; }
.sgm { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--fill); }
#desk .sgm button { flex: 1; min-width: 0; padding: 4px 6px; border-radius: 6px; font-size: 11.5px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#desk .sgm button.on { background: #66666c; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.kb { font: 500 11.5px -apple-system, system-ui, sans-serif; color: var(--t2); background: var(--fill); padding: 2px 7px; border-radius: 6px; letter-spacing: .08em; white-space: nowrap; }
.tl { display: inline-flex; gap: 7px; align-items: center; font-weight: 500; } .tl .ic { color: var(--blue); }
#desk .pk { display: inline-flex; gap: 5px; align-items: center; color: var(--t2); cursor: pointer; }
.sq { display: inline-block; border-radius: 6px; flex: none; }
.bdg { font-size: 10.5px; padding: 2px 7px; border-radius: 99px; background: var(--fill); color: var(--t2); white-space: nowrap; }
.row.tools { padding: 8px 2px 4px; min-height: 30px; }
.th > div { min-width: 0; }
.acard .st { display: block; }
#desk .acard .more { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--t2); cursor: pointer; flex: none; }
#desk .acard .more:hover { background: var(--fill); }
.app-c a.btn { color: inherit; text-decoration: none; }
/* Deinstallieren */
.sheet { position: absolute; inset: 0; z-index: 5; background: rgba(0,0,0,.45); display: grid; place-items: center; }
.sheet > div { width: min(90%, 390px); background: #2c2c30; border-radius: 14px; padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 0 0 .5px rgba(255,255,255,.14); }
.sheet b { font-size: 14px; } .sheet > div > small { display: block; color: var(--t2); font-size: 11.5px; }
.sheet h6 { margin: 12px 2px 0; font-size: 11.5px; font-weight: 600; color: var(--t2); }
.sheet .fr { cursor: pointer; font-size: 11.5px; min-height: 30px; padding: 6px 10px; }
.sheet .chk { width: 15px; height: 15px; border-radius: 4px; background: var(--fill2); display: grid; place-items: center; flex: none; color: transparent; }
.sheet .chk.on { background: var(--blue); color: #fff; }
.sh-b { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
/* Nudgebar-Panel: App Manager */
.am-top { display: flex; gap: 11px; align-items: center; } .am-top > .ic { color: var(--orange); flex: none; }
.am-top b { display: block; } .am-top small { color: var(--t2); font-size: 11.5px; }
.am-b { margin-top: 11px; }
/* Zwischenablage */
.clip-s span.has { color: var(--t1); } .clip-s span.has::before { display: none; }
.clip-s span.has::after { content: ""; display: inline-block; width: 1.5px; height: 18px; background: var(--blue); vertical-align: -3px; margin-left: 1px; animation: blink 1.1s steps(2) infinite; }
.clip > .grow { overflow: hidden; }
.clip-f { margin: 0; padding: 8px 6px 0; border-top: 1px solid var(--sep); color: var(--t3); font-size: 11px; }
/* Bildschirmfoto */
.winhl { position: absolute; z-index: 63; border-radius: 12px; background: rgba(10,132,255,.26); box-shadow: inset 0 0 0 2px var(--blue); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.winhl.on { opacity: 1; }
.blitz { position: absolute; inset: 0; z-index: 90; background: #fff; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.blitz.on { opacity: .75; transition: none; }
.capt.scr { inset: 0; background: linear-gradient(140deg, #16356a, #3f7df2 55%, #9a6bff); }
.capt.scr i { position: absolute; border-radius: 2px; background: rgba(28,28,32,.92); box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.capt.scr i:nth-child(1) { left: 6%; top: 12%; width: 36%; height: 50%; } .capt.scr i:nth-child(2) { left: 30%; top: 18%; width: 46%; height: 58%; background: #f4f4f6; } .capt.scr i:nth-child(3) { left: 56%; top: 42%; width: 37%; height: 42%; }
.pv:not(.isvid) [data-p="gif"] { display: none; }
.pv.isvid .pv-img::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: rgba(0,0,0,.55) conic-gradient(from 0deg, transparent, transparent); box-shadow: 0 0 0 1.5px rgba(255,255,255,.8); }
.pv.isvid .pv-img::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; margin: -7px 0 0 -4px; border: 7px solid transparent; border-left: 11px solid #fff; border-right: 0; }
.draw { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.draw .arrow { fill: none; stroke: var(--c); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.draw .rect { fill: none; stroke: var(--c); stroke-width: 3; }
.draw .crop { fill: rgba(255,255,255,.08); stroke: #fff; stroke-width: 1.5; stroke-dasharray: 5 4; }
.draw .pixel { fill: #b9bac4; stroke: #a3a4b0; stroke-width: 6; stroke-dasharray: 6 6; }
.draw text { fill: var(--c); font: 700 18px -apple-system, system-ui, sans-serif; paint-order: stroke; stroke: rgba(0,0,0,.25); stroke-width: 1px; }
.ed-c.bgon { margin: 0 16px 16px; border-radius: 12px; background: linear-gradient(135deg, #4f8cff, #a86bff 60%, #ff8fb1); }
.ed-c.bgon .ed-img { width: min(84%, 400px); border-radius: 9px; box-shadow: 0 12px 32px rgba(0,0,0,.4); }
/* Umschalter: große Symbole und Liste */
.sw-p { position: relative; }
.sw-p > b { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.6); display: grid; place-items: center; }
.switcher.icons { flex-direction: column; align-items: center; gap: 8px; padding: 14px 16px 10px; }
.sw-row { display: flex; gap: 8px; }
.swi { padding: 9px; border-radius: 20px; border: 1px solid transparent; cursor: pointer; }
.swi.sel { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }
.switcher.icons p { margin: 0; font-size: 12px; font-weight: 500; }
.switcher.list { flex-direction: column; gap: 2px; width: 340px; padding: 8px; border-radius: 16px; }
.swl { display: flex; gap: 9px; align-items: center; padding: 6px 9px; border-radius: 9px; cursor: pointer; font-size: 12.5px; }
.swl.sel { background: var(--blue); color: #fff; }
.swl em { font-style: normal; color: var(--t2); font-size: 11.5px; } .swl.sel em { color: rgba(255,255,255,.8); }
/* Finder: schwebende Ablage, Umbenennen */
.cutp { position: absolute; left: 16px; bottom: 96px; width: 240px; z-index: 47; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px;
  background: var(--glass); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: var(--glass-edge), 0 14px 34px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .18s ease, transform .25s cubic-bezier(.3,1.3,.5,1); }
.cutp.on { opacity: 1; transform: none; pointer-events: auto; }
.cutp u { width: 26px; height: 32px; border-radius: 4px; background: linear-gradient(#fdfdfd, #e9e9ee); display: grid; place-items: end center; padding-bottom: 4px; font: 800 7px -apple-system, system-ui, sans-serif; text-decoration: none; flex: none; }
.cutp u.pdf { color: #e5484d; } .cutp u.img { color: #0b9b8f; } .cutp u.doc { color: #2f6bff; } .cutp u.zip { color: #77777d; }
.cutp b { display: block; font-weight: 600; font-size: 12px; } .cutp small { display: block; color: var(--t2); font-size: 11px; }
#desk .cutp button { width: 20px; height: 20px; border-radius: 50%; background: var(--fill2); display: grid; place-items: center; cursor: pointer; flex: none; }
.file span.edit { background: #fff; color: #000; outline: 2px solid var(--blue); min-width: 30px; }
.file span.edit::after { content: ""; display: inline-block; width: 1px; height: 11px; background: #000; vertical-align: -1px; animation: blink 1.1s steps(2) infinite; }

/* Nudgebar-Fenster ohne Seitenleiste */
.app-side { display: none; }
.app-bar { padding-left: 82px; }
.app-main { border-left: 0; }

/* Kalender: geöffneter Termin */
.ncl .ev, .nc-ev { cursor: pointer; border-radius: 5px; }
.ncl .ev:hover, .nc-ev:hover { background: rgba(255,255,255,.1); box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
.calw { position: absolute; left: 50%; top: 190px; width: 300px; margin-left: -150px; z-index: 50; border-radius: 16px; overflow: hidden; background: var(--win);
  box-shadow: 0 0 0 .5px rgba(255,255,255,.2), 0 26px 60px rgba(0,0,0,.55); opacity: 0; transform: scale(.94); pointer-events: none; transition: opacity .16s ease, transform .24s cubic-bezier(.3,1.3,.5,1); }
.calw.on { opacity: 1; transform: none; pointer-events: auto; }
.calw .tb { cursor: default; } .calw .tb > i { cursor: pointer; }
.calw .tb > i:nth-child(1) { background: #ff5f57; } .calw .tb > i:nth-child(2) { background: #febc2e; } .calw .tb > i:nth-child(3) { background: #28c840; }
.calw-c { padding: 4px 16px 18px; }
.calw-c > small { display: block; color: #ff453a; font-weight: 700; font-size: 12px; margin-bottom: 9px; }
.calw-e { display: flex; gap: 10px; background: var(--card); border-radius: 10px; padding: 11px 12px; }
.calw-e > i { width: 4px; border-radius: 2px; flex: none; }
.calw-e b { display: block; font-size: 14px; } .calw-e span { color: var(--t2); font-size: 12px; font-variant-numeric: tabular-nums; }

/* Bildschirmfoto in der Notiz */
.shotin { position: relative; width: 170px; margin-top: 10px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.45); animation: pop .4s cubic-bezier(.3,1.5,.5,1); }
.shotin .mark path { stroke-dashoffset: 0; }

/* Gespräch in einer Meeting-App */
.callw { position: absolute; right: 7%; top: 150px; width: 330px; z-index: 50; border-radius: 16px; overflow: hidden; background: #17181c; color: #fff;
  box-shadow: 0 0 0 .5px rgba(255,255,255,.2), 0 26px 60px rgba(0,0,0,.55); opacity: 0; transform: scale(.94); pointer-events: none; transition: opacity .16s ease, transform .24s cubic-bezier(.3,1.3,.5,1); }
.callw.on { opacity: 1; transform: none; pointer-events: auto; }
.callw .tb { cursor: default; color: rgba(255,255,255,.75); } .callw .tb > i { cursor: pointer; }
.callw .tb > i:nth-child(1) { background: #ff5f57; } .callw .tb > i:nth-child(2) { background: #febc2e; } .callw .tb > i:nth-child(3) { background: #28c840; }
.callw-c { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 2px 12px 0; }
.callw-c > div { height: 74px; border-radius: 10px; background: #26282e; display: grid; place-items: center; }
.callw-c b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #4a6cf7; }
.callw-c > div:nth-child(2) b { background: #d9822b; } .callw-c > div:nth-child(3) b { background: #2aa772; }
.callw-c > .me b { background: #3a3d45; color: rgba(255,255,255,.7); }
.callw-b { display: flex; justify-content: center; gap: 10px; padding: 12px 0 14px; }
.callw-b > i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #2f3138; }
.callw-b > .off { color: #ff6961; position: relative; }
.callw-b > .off:nth-child(2)::after { content: ""; position: absolute; width: 20px; height: 1.6px; background: currentColor; transform: rotate(-45deg); }
.callw-b > .callw-end { background: #ff453a; cursor: pointer; }
@media (max-width: 700px) { .callw { right: 50%; margin-right: -150px; width: 300px; } }
