:root {
  --top: 32px;
  --dock: 72px;
  --accent: #e95420;
  --accent-soft: rgba(233, 84, 32, .22);
  --panel: #2d2d2d;
  --panel2: #242424;
  --head: #303030;
  --line: rgba(255, 255, 255, .08);
  --text: #f2f2f2;
  --muted: #a8a8a8;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden; color: var(--text); background: #2c001e;
  font: 14px/1.45 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
  user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; }
input, textarea, select { font: inherit; user-select: text; -webkit-user-select: text; }
svg { fill: currentColor; }

/* ---------- duvar kâğıdı ---------- */
#wallpaper { position: fixed; inset: 0; background-size: cover; background-position: center; transition: background .4s; }

/* ---------- üst çubuk ---------- */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--top); z-index: 1000;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 6px; padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box;
  background: rgba(10, 10, 10, .88); backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 500;
}
.tb-btn {
  height: 24px; padding: 0 12px; border: 0; border-radius: 99px; background: transparent;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap;
}
.tb-btn:hover, .tb-btn.on { background: rgba(255, 255, 255, .14); }
#activities { justify-self: start; }
#tray { justify-self: end; }
.tray-stat { font-variant-numeric: tabular-nums; color: #ddd; font-size: 12px; }
.tray-ico svg { width: 15px; height: 15px; display: block; }

/* ---------- dock ---------- */
#dock {
  position: fixed; top: var(--top); left: 0; bottom: 0; width: var(--dock); z-index: 900;
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 10px;
  background: rgba(22, 22, 22, .72); backdrop-filter: blur(18px);
  border-right: 1px solid var(--line);
}
#dockApps { display: flex; flex-direction: inherit; align-items: center; gap: 6px; flex: 1; overflow: auto; scrollbar-width: none; padding: 2px 0; }
.dock-sep { width: 36px; height: 1px; background: rgba(255, 255, 255, .15); }
.dock-item {
  position: relative; width: 56px; height: 56px; flex-shrink: 0; border: 0; border-radius: 14px;
  background: transparent; display: grid; place-items: center; cursor: pointer;
  transition: background .15s, transform .15s;
}
.dock-item:hover { background: rgba(255, 255, 255, .12); }
.dock-item:active { transform: scale(.92); }
.dock-item .ico { --s: 42px; }
.dock-item .dot { position: absolute; left: 2px; top: 50%; width: 4px; height: 4px; border-radius: 4px; background: var(--accent); transform: translateY(-50%); opacity: 0; transition: height .2s, opacity .2s; }
.dock-item.running .dot { opacity: 1; }
.dock-item.active .dot { height: 14px; }
.dock-item.active { background: rgba(255, 255, 255, .08); }
.grid-ico { width: 26px; height: 26px; color: #ddd; }

body.dock-bottom #dock {
  top: auto; bottom: 8px; left: 50%; transform: translateX(-50%); width: auto; max-width: calc(100% - 16px);
  height: 70px; flex-direction: row; padding: 0 8px; border-radius: 20px; border: 1px solid var(--line);
}
body.dock-bottom #dockApps { flex: none; padding: 0 2px; }
body.dock-bottom .dock-sep { width: 1px; height: 36px; }
body.dock-bottom .dock-item .dot { left: 50%; top: auto; bottom: 2px; transform: translateX(-50%); }
body.dock-bottom .dock-item.active .dot { width: 14px; height: 4px; }

/* ---------- masaüstü ---------- */
#desktop { position: fixed; top: var(--top); left: var(--dock); right: 0; bottom: 0; padding: 18px; }
body.dock-bottom #desktop { left: 0; bottom: 86px; }
#icons {
  height: 100%; display: grid; grid-auto-flow: column; gap: 6px;
  grid-template-rows: repeat(auto-fill, 108px); grid-auto-columns: 100px; align-content: start;
}
.d-icon {
  width: 100px; height: 108px; border: 1px solid transparent; border-radius: 12px; background: transparent;
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; cursor: pointer;
}
.d-icon:hover { background: rgba(255, 255, 255, .12); }
.d-icon:focus-visible, .d-icon.sel { background: var(--accent-soft); border-color: rgba(233, 84, 32, .6); outline: none; }
.d-icon .ico { --s: 54px; }
.d-icon span.lbl, .f-item span.lbl, .launch-item span.lbl {
  font-size: 12.5px; text-align: center; line-height: 1.25; max-width: 100%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.d-icon span.lbl { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }

/* ---------- simgeler ---------- */
.ico {
  --s: 48px; width: var(--s); height: var(--s); border-radius: 24%; flex-shrink: 0;
  display: grid; place-items: center; position: relative; overflow: hidden;
  font-size: calc(var(--s) * .52); line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 6px rgba(0, 0, 0, .35);
}
.ico img { width: 100%; height: 100%; object-fit: cover; }
.ico .letter { font-weight: 700; color: #fff; font-size: calc(var(--s) * .45); }
.ico.folder { background: none; box-shadow: none; overflow: visible; border-radius: 0; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.ico.folder svg { position: absolute; inset: 6% 0 0; width: 100%; height: 88%; }
.ico.folder > span { position: relative; top: 9%; font-size: calc(var(--s) * .36); }

/* ---------- pencereler ---------- */
#windows { position: fixed; top: var(--top); left: var(--dock); right: 0; bottom: 0; z-index: 100; pointer-events: none; }
body.dock-bottom #windows { left: 0; bottom: 86px; }
.win {
  position: absolute; pointer-events: auto; display: flex; flex-direction: column;
  min-width: 300px; min-height: 180px;
  background: var(--panel2); border-radius: 12px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .09);
  animation: winIn .18s ease-out;
}
@keyframes winIn { from { opacity: 0; transform: scale(.94); } }
.win.closing { animation: winOut .14s ease-in forwards; }
@keyframes winOut { to { opacity: 0; transform: scale(.94); } }
.win.minimized { display: none; }
.win.max, .win.snap-left, .win.snap-right { top: 0 !important; height: 100% !important; border-radius: 0; }
.win.max { left: 0 !important; width: 100% !important; }
.win.snap-left { left: 0 !important; width: 50% !important; }
.win.snap-right { left: 50% !important; width: 50% !important; }
.win.max .rz, .win.snap-left .rz, .win.snap-right .rz { display: none; }
.titlebar {
  height: 44px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 12px;
  background: var(--head); border-bottom: 1px solid #1b1b1b; border-radius: 12px 12px 0 0; touch-action: none;
}
.win.max .titlebar, .win.snap-left .titlebar, .win.snap-right .titlebar { border-radius: 0; }
.win:not(.active) .titlebar { background: #262626; color: #9a9a9a; }
.titlebar .ico { --s: 20px; border-radius: 6px; box-shadow: none; }
.t-title { flex: 1; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-btns { display: flex; gap: 8px; }
.t-btns button {
  width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.t-btns button svg { width: 12px; height: 12px; }
.t-btns button:hover { background: rgba(255, 255, 255, .2); }
.t-btns .x:hover { background: var(--accent); color: #fff; }
.win-body { flex: 1; min-height: 0; overflow: auto; position: relative; border-radius: 0 0 12px 12px; user-select: text; -webkit-user-select: text; }
.win.max .win-body { border-radius: 0; }
.rz { position: absolute; z-index: 2; touch-action: none; }
.rz-n { top: -4px; left: 10px; right: 10px; height: 8px; cursor: ns-resize; }
.rz-s { bottom: -4px; left: 10px; right: 10px; height: 8px; cursor: ns-resize; }
.rz-e { right: -4px; top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rz-w { left: -4px; top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rz-ne, .rz-nw, .rz-se, .rz-sw { width: 16px; height: 16px; }
.rz-ne { top: -5px; right: -5px; cursor: nesw-resize; }
.rz-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
.rz-nw { top: -5px; left: -5px; cursor: nwse-resize; }
.rz-se { bottom: -5px; right: -5px; cursor: nwse-resize; }
body.dragging, body.dragging * { user-select: none !important; }
body.dragging iframe { pointer-events: none; }
#snapHint { position: absolute; background: rgba(233, 84, 32, .18); border: 2px solid rgba(233, 84, 32, .6); border-radius: 12px; pointer-events: none; transition: all .12s; z-index: 0; }

/* ortak düğmeler */
.b {
  border: 0; border-radius: 8px; padding: 7px 13px; background: #3a3a3a; cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.b:hover { background: #474747; }
.b.primary { background: var(--accent); color: #fff; }
.b.primary:hover { background: #f26a3a; }
.b.danger { color: #ff8a80; }
.b.danger:hover { background: #5a2a2a; }
.b.sm { padding: 5px 10px; font-size: 12.5px; }

/* ---------- web penceresi ---------- */
.win-body.web { display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.web-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: #2a2a2a; font-size: 12.5px; }
.web-bar .b { padding: 4px 10px; }
.web-url { flex: 1; min-width: 0; background: #1b1b1b; border-radius: 8px; padding: 5px 10px; color: #bbb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-ext { color: #ffab85; text-decoration: none; white-space: nowrap; }
.web-ext:hover { text-decoration: underline; }
.win-body.web iframe { flex: 1; width: 100%; border: 0; background: #fff; }

/* ---------- yan menülü düzen (Dosyalar, Ayarlar) ---------- */
.split { display: grid; grid-template-columns: 200px 1fr; height: 100%; container-type: inline-size; }
.split > aside { background: #2a2a2a; padding: 10px 8px; overflow: auto; border-right: 1px solid #1d1d1d; }
.side-btn {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 2px;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.side-btn:hover { background: rgba(255, 255, 255, .07); }
.side-btn.on { background: var(--accent-soft); color: #fff; }
.side-btn .si { width: 20px; text-align: center; flex-shrink: 0; }
.side-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 10px 10px 4px; }
.split-main { overflow: auto; padding: 16px 20px; }
@container (max-width: 540px) {
  .split { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .split > aside { display: flex; gap: 4px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #1d1d1d; }
  .split > aside .side-btn { width: auto; flex-shrink: 0; }
  .side-label { display: none; }
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.head-row h2 { margin: 0; font-size: 18px; font-weight: 500; }
.head-row .acts { display: flex; gap: 8px; flex-wrap: wrap; }

.f-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.f-item {
  border: 1px solid transparent; border-radius: 10px; background: transparent; padding: 10px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
}
.f-item:hover { background: rgba(255, 255, 255, .07); }
.f-item .ico { --s: 52px; }
.empty { color: var(--muted); text-align: center; padding: 40px 10px; }

.list { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #2c2c2c; border-radius: 10px; }
.row .ico { --s: 36px; }
.row .r-txt { flex: 1; min-width: 0; }
.row .r-txt small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .acts { display: flex; gap: 6px; }

.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.wp { height: 80px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; background-size: cover; position: relative; }
.wp span { position: absolute; left: 8px; bottom: 6px; font-size: 12px; text-shadow: 0 1px 3px #000; }
.wp.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.s-section { margin-bottom: 22px; }
.s-section h3 { font-size: 14px; font-weight: 500; color: #ddd; margin: 0 0 10px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 180px; }
.seg { display: inline-flex; background: #1e1e1e; border-radius: 9px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 6px 14px; border-radius: 7px; cursor: pointer; }
.seg button.on { background: #3d3d3d; }
.json-area { width: 100%; min-height: 320px; font: 12.5px/1.5 'Ubuntu Mono', monospace; resize: vertical; }
.note { color: var(--muted); font-size: 12.5px; }
.note code { background: #1b1b1b; padding: 1px 5px; border-radius: 4px; }
.kv { width: 100%; border-collapse: collapse; }
.kv td { padding: 7px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv td:first-child { color: var(--muted); width: 38%; }

input[type=text], input[type=url], input[type=password], input[type=search], select, textarea {
  background: #1d1d1d; color: var(--text); border: 1px solid #444; border-radius: 8px; padding: 8px 10px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type=color] { width: 56px; height: 36px; border: 1px solid #444; border-radius: 8px; background: #1d1d1d; padding: 2px; }

/* ---------- terminal ---------- */
.win-body.term { background: #300a24; font: 14px/1.5 'Ubuntu Mono', ui-monospace, monospace; padding: 8px 10px; cursor: text; }
.term-out div { white-space: pre-wrap; word-break: break-word; }
.term-out .cmd { color: #fff; }
.term-out .err { color: #ff8a80; }
.term-out .dim { color: #c9a8bd; }
.term-out .ok { color: #8ae234; }
.term-line { display: flex; gap: 8px; }
.ps1 { white-space: nowrap; }
.ps1 b { color: #8ae234; font-weight: 700; }
.ps1 i { color: #729fcf; font-style: normal; font-weight: 700; }
.term-line input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; outline: none; box-shadow: none; padding: 0; font: inherit; }

/* ---------- sistem izleyici ---------- */
.mon { padding: 16px; display: grid; gap: 12px; }
.mon-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.card { background: #2c2c2c; border-radius: 12px; padding: 14px; }
.card h4 { margin: 0 0 6px; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.card .big { font-size: 28px; font-weight: 300; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 8px; background: #1b1b1b; overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #f6a04d); border-radius: 8px; transition: width .4s; }
.spark { width: 100%; height: 60px; margin-top: 6px; }

/* ---------- notlar ---------- */
.notes-area { width: 100%; height: 100%; display: block; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; resize: none; padding: 18px; font-size: 15px; line-height: 1.6; background: #1f1f1f !important; }

/* ---------- açılır paneller ---------- */
.popover {
  position: fixed; top: calc(var(--top) + 6px); z-index: 2000; background: var(--panel); border-radius: 16px;
  padding: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5), 0 0 0 1px var(--line); animation: pop .14s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.popover.center { left: 50%; translate: -50% 0; width: 300px; }
.popover.right { right: 8px; width: 290px; }
.cal-title { font-weight: 500; margin: 2px 4px 2px; }
.cal-sub { color: var(--muted); font-size: 12.5px; margin: 0 4px 10px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-nav button { border: 0; background: transparent; border-radius: 8px; width: 30px; height: 30px; cursor: pointer; }
.cal-nav button:hover { background: rgba(255, 255, 255, .1); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 2px; font-size: 12.5px; }
.cal-grid .wd { color: var(--muted); font-size: 11px; padding: 4px 0; }
.cal-grid .d { padding: 6px 0; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; }
.cal-grid .d.out { color: #666; }
.cal-grid .d.today { background: var(--accent); color: #fff; font-weight: 700; }
.tray-stats { display: grid; gap: 10px; padding: 4px 4px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.tray-stats .lbl { display: flex; justify-content: space-between; font-size: 12.5px; }
.menu-list button { width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 12px; border-radius: 9px; cursor: pointer; display: flex; gap: 10px; }
.menu-list button:hover { background: rgba(255, 255, 255, .08); }

/* ---------- bağlam menüsü ---------- */
.ctx { position: fixed; z-index: 4000; min-width: 210px; background: var(--panel); border-radius: 12px; padding: 5px; box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 0 1px var(--line); }
.ctx button { width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 12px; border-radius: 7px; cursor: pointer; }
.ctx button:hover { background: rgba(255, 255, 255, .09); }
.ctx button.danger { color: #ff8a80; }
.ctx hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; }

/* ---------- başlatıcı ---------- */
#launcher {
  position: fixed; top: var(--top); left: 0; right: 0; bottom: 0; z-index: 1500; overflow: auto;
  background: rgba(15, 15, 15, .55); backdrop-filter: blur(24px) saturate(1.2);
  padding: 34px 24px 110px; animation: fade .16s;
}
@keyframes fade { from { opacity: 0; } }
#launchSearch { display: block; width: min(440px, 100%); margin: 0 auto 30px; padding: 11px 18px; border-radius: 99px; text-align: center; background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .15); }
#launchGrid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.launch-item { border: 0; background: transparent; border-radius: 14px; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; }
.launch-item:hover, .launch-item.first { background: rgba(255, 255, 255, .1); }
.launch-item .ico { --s: 68px; }

/* ---------- kilit ekranı ---------- */
#lock {
  position: fixed; inset: 0; z-index: 5000; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .45); backdrop-filter: blur(30px); cursor: pointer; animation: fade .25s;
}
.lock-time { font-size: clamp(64px, 14vw, 120px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-date { font-size: 22px; margin-top: 10px; }
#lock p { color: #ccc; margin-top: 50px; font-size: 13px; }

/* ---------- diyalog ---------- */
.dlg-wrap { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .5); display: grid; place-items: center; padding: 16px; animation: fade .12s; }
.dlg { width: min(460px, 100%); max-height: 90vh; overflow: auto; background: var(--panel); border-radius: 16px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px var(--line); }
.dlg h3 { margin: 0 0 16px; font-weight: 500; font-size: 17px; }
.dlg p.msg { color: #ccc; margin: -6px 0 16px; }
.fld { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.fld > span { font-size: 12.5px; color: #ccc; }
.fld small { color: var(--muted); font-size: 11.5px; }
.fld.chk { flex-direction: row; align-items: center; gap: 8px; cursor: pointer; }
.fld.chk input { width: 16px; height: 16px; accent-color: var(--accent); }
.dlg-err { color: #ff8a80; font-size: 13px; margin: 0 0 10px; }
.dlg-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }

/* ---------- bildirimler ---------- */
#toasts { position: fixed; top: calc(var(--top) + 12px); left: 50%; translate: -50% 0; z-index: 6000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--panel); padding: 10px 18px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); animation: pop .18s ease-out; max-width: 90vw; }
.toast.err { box-shadow: 0 8px 24px rgba(0, 0, 0, .45), inset 3px 0 0 #ff6b6b; }
.toast.ok { box-shadow: 0 8px 24px rgba(0, 0, 0, .45), inset 3px 0 0 #6fd08c; }

/* ---------- mobil ---------- */
@media (max-width: 700px) {
  :root { --dock: 0px; }
  #activities { padding: 0 8px; }
  .tray-stat { display: none; }
  #dock {
    top: auto; bottom: 6px; left: 50%; transform: translateX(-50%); width: auto; max-width: calc(100% - 12px);
    height: 66px; flex-direction: row; padding: 0 6px; border-radius: 18px; border: 1px solid var(--line);
  }
  #dockApps { flex: none; }
  .dock-sep { width: 1px; height: 34px; }
  .dock-item { width: 50px; height: 50px; }
  .dock-item .ico { --s: 38px; }
  .dock-item .dot { left: 50%; top: auto; bottom: 1px; transform: translateX(-50%); }
  .dock-item.active .dot { width: 12px; height: 4px; }
  #desktop, body.dock-bottom #desktop { left: 0; bottom: 78px; padding: 12px; }
  #icons { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); grid-template-rows: none; grid-auto-rows: 104px; }
  .d-icon { width: auto; }
  #windows, body.dock-bottom #windows { left: 0; bottom: 78px; }
  .win { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; min-width: 0; }
  .titlebar, .win-body { border-radius: 0; }
  .rz { display: none; }
  .popover.center, .popover.right { left: 8px; right: 8px; width: auto; translate: none; }
}
