:root {
  color-scheme: dark;
  --accent: #a8d7ff;
  --accent-strong: #d7edff;
  --accent-rgb: 142, 203, 255;
  --pink: #f0a9c3;
  --surface: rgba(13, 18, 27, .78);
  --surface-strong: rgba(11, 15, 22, .93);
  --line: rgba(223, 239, 255, .19);
  --line-bright: rgba(210, 235, 255, .42);
  --text: #edf7ff;
  --muted: #9db1c2;
  --shadow: 0 24px 70px rgba(0, 0, 0, .48);
  --ease-hypr: cubic-bezier(.22, .88, .25, 1);
  --wallpaper-brightness: .82;
  --window-gap: 12px;
  --window-radius: 34px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
html { background: #080c12; }
body {
  margin: 0;
  color: var(--text);
  background: #080c12;
  font: 14px/1.45 "Segoe UI Variable", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
button, input { font: inherit; color: inherit; }
button { border: 0; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
kbd {
  min-width: 22px;
  display: inline-grid;
  place-items: center;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-bottom-color: rgba(255, 255, 255, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: #cfe4f4;
  font: 600 10px/1.1 ui-monospace, "Cascadia Code", monospace;
}

.hypr-desktop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-width: 320px;
  overflow: hidden;
  isolation: isolate;
}
.desktop-wallpaper, .desktop-wallpaper img, .desktop-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.desktop-wallpaper { z-index: -5; overflow: hidden; background: #090e14; }
.desktop-wallpaper img {
  object-fit: cover;
  filter: brightness(var(--wallpaper-brightness)) saturate(1.08);
  transform: scale(1.015);
  transition: opacity .48s ease, filter .25s ease;
}
.desktop-wallpaper img.is-changing { opacity: .18; }
.desktop-shade {
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(3, 7, 12, .32), rgba(4, 8, 13, .16) 48%, rgba(3, 7, 12, .48)),
    linear-gradient(90deg, rgba(6, 10, 16, .28), transparent 32%, transparent 70%, rgba(6, 10, 16, .2));
  pointer-events: none;
}
.desktop-glow {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
  pointer-events: none;
}
.desktop-glow-one { width: 38vw; height: 38vw; top: -20vw; right: 3vw; background: #60baff; }
.desktop-glow-two { width: 34vw; height: 34vw; bottom: -21vw; left: 18vw; background: #dc74a4; }

/* Continuation of the particle/barrage transition from the classic homepage. */
.desktop-entry-sequence { display: none; position: absolute; z-index: 500; inset: 0; overflow: hidden; place-items: center; background: #070b11; pointer-events: all; }
.from-classic .desktop-entry-sequence { display: grid; animation: desktop-entry-fade 1.45s .38s cubic-bezier(.22,.88,.25,1) both; }
.entry-barrage { position: absolute; inset: 0; overflow: hidden; }
.entry-barrage span { --entry-y: 17%; --entry-delay: 0s; position: absolute; top: var(--entry-y); right: 100%; width: max-content; padding: 8px 18px; border: 1px solid rgba(190,222,245,.2); border-radius: 20px; background: rgba(16,23,32,.82); color: rgba(226,241,251,.88); font: 700 clamp(11px,1.2vw,15px)/1 system-ui,sans-serif; letter-spacing: .14em; animation: entry-barrage 1.15s var(--entry-delay) cubic-bezier(.18,.78,.24,1) both; }
.entry-barrage span:nth-child(2){--entry-y:30%;--entry-delay:.08s}.entry-barrage span:nth-child(3){--entry-y:43%;--entry-delay:.15s}.entry-barrage span:nth-child(4){--entry-y:57%;--entry-delay:.03s}.entry-barrage span:nth-child(5){--entry-y:70%;--entry-delay:.18s}.entry-barrage span:nth-child(6){--entry-y:83%;--entry-delay:.1s}
.entry-mark { position: relative; z-index: 2; display: grid; justify-items: center; gap: 12px; color: var(--accent); animation: entry-mark .95s .45s var(--ease-hypr) both; }
.entry-mark svg { width: 54px; height: 54px; fill: currentColor; filter: drop-shadow(0 0 26px rgba(var(--accent-rgb),.48)); }
.entry-mark span { color: #d9eaf5; font: 700 10px/1 ui-monospace,monospace; letter-spacing: .26em; }
@keyframes entry-barrage { 0%{transform:translateX(0);opacity:0}10%{opacity:1}100%{transform:translateX(calc(200vw + 100%));opacity:.08} }
@keyframes entry-mark { from{opacity:0;transform:scale(.72);filter:blur(8px)}45%{opacity:1;transform:scale(1.08);filter:none}to{opacity:0;transform:scale(1.34);filter:blur(4px)} }
@keyframes desktop-entry-fade { 0%,58%{opacity:1}100%{opacity:0;visibility:hidden;pointer-events:none} }

/* Reverse transition back to the classic blog shell. */
.classic-return-transition {
  position: absolute;
  z-index: 700;
  inset: 0;
  overflow: hidden;
  pointer-events: all;
  background: radial-gradient(circle at var(--return-x) var(--return-y), rgba(var(--accent-rgb), .15), transparent 22%), rgba(3, 7, 12, 0);
  backdrop-filter: blur(0);
  transition: background .88s ease, backdrop-filter .88s ease;
}
.classic-return-transition.is-active { background-color: rgba(3, 7, 12, .9); backdrop-filter: blur(18px) saturate(.72); }
.classic-return-window {
  position: absolute;
  display: block;
  border: 1px solid rgba(190, 229, 255, .58);
  border-radius: var(--window-radius);
  background: linear-gradient(145deg, rgba(69, 116, 148, .3), rgba(8, 17, 27, .48));
  box-shadow: inset 0 1px rgba(255, 255, 255, .25), 0 22px 70px rgba(0, 0, 0, .38);
  opacity: 0;
  transform: none;
}
.classic-return-transition.is-active .classic-return-window { animation: classic-window-collapse .86s var(--return-delay) cubic-bezier(.3,.72,.18,1) both; }
.classic-return-target {
  position: absolute;
  z-index: 2;
  left: var(--return-x);
  top: var(--return-y);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  transform: translate(-50%, -50%) scale(.62);
  opacity: 0;
}
.classic-return-target::before, .classic-return-target span { content: ""; position: absolute; inset: 0; border: 1px solid rgba(var(--accent-rgb), .55); border-radius: 50%; }
.classic-return-target span { inset: -12px; border-color: rgba(var(--accent-rgb), .18); }
.classic-return-target .archlinux-logo { width: 25px; height: 25px; fill: currentColor; filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), .6)); }
.classic-return-transition.is-active .classic-return-target { animation: classic-return-pulse .92s .43s var(--ease-hypr) both; }
.classic-return-transition.is-active .classic-return-target::before { animation: classic-return-ring .72s .55s ease-out both; }
.classic-return-transition.is-active .classic-return-target span { animation: classic-return-ring .72s .66s ease-out both; }
.classic-return-message { position: absolute; z-index: 3; left: 50%; top: 50%; display: grid; justify-items: center; gap: 7px; opacity: 0; transform: translate(-50%, -42%) scale(.96); text-align: center; }
.classic-return-message strong { color: #ecf7ff; font: 800 clamp(12px, 1.2vw, 16px)/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .18em; }
.classic-return-message small { color: #91a8b8; font-size: 12px; }
.classic-return-transition[data-phase="ready"] .classic-return-message { animation: classic-return-message .4s ease both; }
.classic-return-transition.is-reduced-motion { background: rgba(3, 7, 12, .92); }
.hypr-desktop[data-return-state="collapsing"] > :not(.classic-return-transition) { pointer-events: none !important; }
@keyframes classic-window-collapse { 0%{opacity:.82;transform:translate3d(0,0,0) scale(1);filter:blur(0)}72%{opacity:.62}100%{opacity:0;transform:translate3d(var(--return-dx),var(--return-dy),0) scale(.035) rotate(var(--return-rotate));filter:blur(4px);border-radius:50%} }
@keyframes classic-return-pulse { 0%{opacity:0;transform:translate(-50%,-50%) scale(.62)}48%{opacity:1;transform:translate(-50%,-50%) scale(1.18)}100%{opacity:1;transform:translate(-50%,-50%) scale(1)} }
@keyframes classic-return-ring { from{opacity:.9;transform:scale(.45)}to{opacity:0;transform:scale(1.9)} }
@keyframes classic-return-message { from{opacity:0;transform:translate(-50%,-42%) scale(.96);filter:blur(5px)}to{opacity:1;transform:translate(-50%,-50%) scale(1);filter:none} }

.glass-surface {
  border: 1px solid rgba(220, 239, 255, .28);
  background: linear-gradient(145deg, rgba(42, 64, 82, .46), rgba(9, 17, 26, .62));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .18), inset 0 -1px rgba(84, 135, 170, .13);
  backdrop-filter: blur(28px) saturate(1.38);
  -webkit-backdrop-filter: blur(28px) saturate(1.38);
}

/* Waybar-like status bar */
.waybar {
  position: absolute;
  z-index: 100;
  inset: 8px 10px auto;
  height: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 0 7px;
  border: 1px solid rgba(215, 237, 255, .17);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(31, 51, 68, .55), rgba(7, 14, 22, .66));
  box-shadow: 0 10px 32px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .18);
  backdrop-filter: blur(26px) saturate(1.35);
}
.waybar-group { display: flex; align-items: center; gap: 7px; min-width: 0; }
.waybar-right { justify-content: flex-end; }
.arch-menu {
  width: 32px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(var(--accent-rgb), .16);
  color: var(--accent);
  cursor: pointer;
  transition: transform .18s var(--ease-hypr), background .18s ease;
}
.arch-menu:hover { transform: scale(1.07); background: rgba(var(--accent-rgb), .27); }
.arch-menu svg { width: 21px; height: 21px; fill: currentColor; }
.workspace-switcher { height: 30px; display: flex; align-items: center; gap: 2px; }
.workspace-switcher button {
  width: 27px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: #8295a5;
  cursor: pointer;
  transition: width .32s var(--ease-hypr), color .2s, background .2s;
}
.workspace-switcher button span { display: block; transition: transform .28s var(--ease-hypr); }
.workspace-switcher button:hover { color: #eaf6ff; background: rgba(255, 255, 255, .08); }
.workspace-switcher button.is-active {
  width: 43px;
  color: #091019;
  background: linear-gradient(120deg, var(--accent-strong), #b8dcfa);
  box-shadow: 0 0 22px rgba(var(--accent-rgb), .22);
  font-weight: 800;
}
.workspace-switcher button.has-windows:not(.is-active) { color: #cfdfeb; }
.workspace-switcher button.has-windows:not(.is-active) span { transform: scale(1.08); }
.layout-mode-toggle {
  flex: 0 0 auto;
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  color: #a8bac8;
  cursor: pointer;
  font-size: 10px;
  transition: color .2s, background .2s, transform .24s var(--ease-hypr);
}
.layout-mode-toggle:hover { color: #f2f9ff; background: rgba(var(--accent-rgb), .15); }
.layout-mode-toggle:active { transform: scale(.94); }
.layout-mode-toggle[aria-pressed="true"] { color: var(--accent-strong); background: rgba(var(--accent-rgb), .18); }
.layout-mode-glyph { position: relative; width: 17px; height: 14px; display: block; overflow: hidden; border: 1px solid currentColor; border-radius: 3px; }
.layout-mode-glyph::before, .layout-mode-glyph::after { content: ""; position: absolute; display: block; background: currentColor; transition: inset .28s var(--ease-hypr), width .28s var(--ease-hypr), height .28s var(--ease-hypr), box-shadow .28s var(--ease-hypr); }
.layout-mode-glyph::before { left: 3px; right: 3px; top: 3px; height: 1px; box-shadow: 0 3px currentColor, 0 6px currentColor; }
.layout-mode-glyph::after { width: 0; height: 0; }
.layout-mode-toggle:not([aria-pressed="true"]) .layout-mode-glyph::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; box-shadow: none; }
.layout-mode-toggle:not([aria-pressed="true"]) .layout-mode-glyph::after { left: 0; right: 0; top: 6px; width: auto; height: 1px; }
.waybar-title {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #dceaf4;
  letter-spacing: .02em;
}
.waybar-title strong { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.waybar-title-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.waybar-pill, .clock-pill {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .065);
  color: #c8d7e2;
  cursor: pointer;
  font-size: 11px;
  transition: background .18s, color .18s;
}
.classic-return { text-decoration: none; color: var(--accent-strong); }
.classic-return:hover { color: #fff; background: rgba(var(--accent-rgb), .16); }
.classic-return .archlinux-logo { width: 16px; height: 16px; fill: currentColor; filter: drop-shadow(0 0 7px rgba(var(--accent-rgb), .32)); }
.waybar-pill:hover, .clock-pill:hover { background: rgba(var(--accent-rgb), .15); color: #fff; }
.language-toggle { min-width: 48px; justify-content: center; padding-inline: 7px; }
.language-toggle > span { color: var(--accent); font-weight: 800; }
.language-toggle > strong { font-size: 10px; }
.network-icon { color: #7fdbac; font-size: 17px; line-height: 1; }
.clock-pill { gap: 7px; }
.clock-pill strong { font-size: 12px; font-variant-numeric: tabular-nums; }
.clock-pill span { color: #8194a4; font-size: 10px; }

/* Desktop canvas and icons */
.workspace-viewport { position: absolute; z-index: 1; inset: 55px 0 0; overflow: hidden; outline: none; }
.desktop-icons {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  width: 96px;
  display: grid;
  gap: 8px;
}
.desktop-icon {
  width: 86px;
  min-height: 80px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 7px 5px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #f2f8fc;
  cursor: default;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .9);
  transition: background .15s, border-color .15s, transform .18s var(--ease-hypr);
}
.desktop-icon:hover, .desktop-icon.is-selected {
  border-color: rgba(216, 238, 255, .2);
  background: rgba(12, 18, 27, .42);
  backdrop-filter: blur(8px);
}
.desktop-icon:active { transform: scale(.96); }
.desktop-icon > span:last-child { max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.desktop-icon-shape {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(210, 235, 255, .22), rgba(20, 28, 39, .65));
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .13);
}
.desktop-icon-shape svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-home { color: #a6dcff; }
.icon-blog { color: #f2bdd1; }
.icon-tools { color: #b9e6bd; }
.icon-friends { color: #c9bcff; }
.icon-message { color: #f6d19b; }
.icon-terminal { color: #b6c9d8; }
.desktop-selection { position: absolute; z-index: 3; border: 1px solid rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .12); pointer-events: none; }

/* Dynamic tiling windows */
.windows-layer { position: absolute; z-index: 10; inset: 12px 14px 80px; pointer-events: none; }
.hypr-window {
  --workspace-x: 0px;
  position: absolute;
  min-width: 360px;
  min-height: 240px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 41px minmax(0, 1fr);
  border: 1px solid rgba(220, 239, 255, .38);
  border-radius: var(--window-radius);
  background: linear-gradient(145deg, rgba(40, 67, 86, .5), rgba(7, 15, 24, .67));
  box-shadow: 0 24px 72px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .22), inset 0 -1px rgba(91, 167, 205, .16);
  backdrop-filter: blur(30px) saturate(1.42);
  -webkit-backdrop-filter: blur(30px) saturate(1.42);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  pointer-events: auto;
  transition:
    left .46s var(--ease-hypr), top .46s var(--ease-hypr),
    width .46s var(--ease-hypr), height .46s var(--ease-hypr),
    opacity .28s ease, transform .42s var(--ease-hypr), border-color .2s, box-shadow .2s;
  will-change: left, top, width, height, transform;
}
.hypr-desktop[data-layout-mode="stacked"] .hypr-window {
  box-shadow: 0 30px 86px rgba(0, 0, 0, .58), 0 0 0 1px rgba(var(--accent-rgb), .08), inset 0 1px rgba(255, 255, 255, .22);
}
.hypr-desktop[data-layout-mode="stacked"] .hypr-window.is-focused {
  box-shadow: 0 36px 100px rgba(0, 0, 0, .68), 0 0 0 1px rgba(var(--accent-rgb), .19);
}
.hypr-desktop[data-layout-mode="tiled"] .hypr-window {
  min-width: 0;
  min-height: 0;
  border-radius: var(--window-radius);
  resize: none;
}
.hypr-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, .24), inset 1px 0 rgba(123, 202, 242, .09), inset -1px 0 rgba(236, 160, 205, .08);
  pointer-events: none;
}
.hypr-window.is-opening { animation: window-open .48s var(--ease-hypr) both; }
.hypr-desktop.is-toast-layout-sync .hypr-window { transition: none !important; }
@keyframes window-open { from { opacity: 0; transform: translateY(16px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hypr-window.is-closing { opacity: 0; transform: translateY(9px) scale(.92); filter: blur(5px); pointer-events: none; }
.hypr-window.is-workspace-hidden {
  opacity: 0;
  transform: translate3d(var(--workspace-x), 0, 0) scale(.96);
  pointer-events: none;
}
.hypr-window.is-focused {
  border-color: rgba(142, 228, 255, .88);
  box-shadow: 0 25px 78px rgba(0, 0, 0, .52), 0 0 0 1px rgba(142, 228, 255, .2), 0 0 42px rgba(95, 212, 255, .12), inset 0 1px rgba(255, 255, 255, .25);
}
.hypr-window.is-floating { max-width: 100%; max-height: 100%; resize: both; }
.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px 0 13px;
  border-bottom: 1px solid rgba(210, 237, 252, .16);
  background: linear-gradient(180deg, rgba(42, 70, 90, .6), rgba(12, 24, 36, .52));
  cursor: default;
  touch-action: none;
}
.is-floating .window-titlebar { cursor: move; }
.window-app-meta { min-width: 0; display: flex; align-items: center; gap: 9px; }
.window-app-meta > div { min-width: 0; display: grid; line-height: 1.1; }
.window-app-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(var(--accent-rgb), .14);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 12px;
}
.window-app-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; letter-spacing: .01em; }
.window-app-subtitle { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #718697; font-size: 9px; }
.window-controls { display: flex; align-items: center; gap: 4px; }
.window-controls button {
  width: 27px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .055);
  color: #a9bac7;
  cursor: pointer;
  font: 600 15px/1 system-ui;
  transition: background .15s, color .15s, transform .15s;
}
.window-controls button:hover { color: #fff; background: rgba(255, 255, 255, .13); transform: scale(1.05); }
.window-controls [data-window-action="close"]:hover { background: #d96878; }
.window-content { position: relative; min-height: 0; overflow: hidden; background: rgba(7, 15, 23, .36); container-type: inline-size; }
.window-loading {
  position: absolute;
  inset: 41px 0 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  background: #0c1118;
  color: #7e92a2;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s;
}
.window-loading span { width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, .1); border-top-color: var(--accent); border-radius: 50%; animation: loading-spin .8s linear infinite; }
.hypr-window.is-loaded .window-loading { opacity: 0; visibility: hidden; }
@keyframes loading-spin { to { transform: rotate(360deg); } }

/* Internal welcome and terminal apps */
.welcome-app { height: 100%; overflow: auto; padding: clamp(22px, 4vw, 48px); background: radial-gradient(circle at 88% 8%, rgba(var(--accent-rgb), .12), transparent 28%), #0d1219; user-select: text; }
.welcome-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.welcome-mark { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 17px; background: linear-gradient(145deg, rgba(var(--accent-rgb), .28), rgba(255, 255, 255, .05)); color: var(--accent); font-size: 27px; }
.welcome-mark .archlinux-logo { width: 30px; height: 30px; fill: currentColor; filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .36)); }
.welcome-heading p { margin: 0 0 5px; color: var(--accent); font: 700 10px/1 ui-monospace, monospace; letter-spacing: .17em; }
.welcome-heading h1 { margin: 0; font-size: clamp(22px, 3vw, 34px); line-height: 1.15; }
.welcome-copy { max-width: 720px; margin: 0 0 30px; color: #a9bbc8; line-height: 1.8; }
.shortcut-row { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 25px; color: #8296a6; font-size: 11px; }
.shortcut-row span { display: inline-flex; align-items: center; gap: 5px; }
.terminal-app { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: rgba(7, 11, 16, .98); color: #bfd4e1; font: 13px/1.62 "Cascadia Code", "JetBrains Mono", Consolas, monospace; user-select: text; }
.terminal-output { overflow: auto; padding: 18px 20px 8px; white-space: pre-wrap; }
.terminal-output .term-accent { color: #90cdf4; }
.terminal-output .term-green { color: #8bd5a8; }
.terminal-output .term-pink { color: #ed9fbd; }
.terminal-command { display: flex; align-items: center; gap: 8px; padding: 9px 20px 15px; }
.terminal-prompt { color: #8bd5a8; white-space: nowrap; }
.terminal-command input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #eff8ff; font: inherit; user-select: text; }

/* Same-origin desktop views */
.native-app { height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; background: rgba(8, 14, 21, .94); color: #d9e5ed; user-select: text; }
.native-page-header { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px 17px; border-bottom: 1px solid rgba(255, 255, 255, .09); background: rgba(13, 21, 30, .78); }
.native-page-header > div { min-width: 0; }
.native-page-header p { margin: 0 0 5px; color: var(--accent); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .14em; }
.native-page-header h1 { margin: 0; overflow: hidden; color: #f2f7fa; font-size: clamp(23px, 3cqw, 32px); line-height: 1.16; text-overflow: ellipsis; white-space: nowrap; }
.native-header-action { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 7px; background: rgba(var(--accent-rgb), .12); color: var(--accent-strong); text-decoration: none; font-size: 11px; font-weight: 750; cursor: pointer; }
.native-scroll { min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-gutter: stable; padding: 22px 24px 30px; }
.native-scroll::-webkit-scrollbar, .launcher-grid::-webkit-scrollbar { width: 8px; height: 8px; }
.native-scroll::-webkit-scrollbar-thumb, .launcher-grid::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 8px; background: rgba(185, 208, 223, .38); background-clip: padding-box; }
.native-loading-state, .native-error-state { min-height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; padding: 25px; color: #8399a8; text-align: center; }
.native-loading-state span { width: 25px; height: 25px; border: 2px solid rgba(255, 255, 255, .09); border-top-color: var(--accent); border-radius: 50%; animation: loading-spin .8s linear infinite; }
.native-loading-state p, .native-error-state p { margin: 0; font-size: 12px; }
.native-error-state strong { color: #e9f2f7; font-size: 16px; }
.native-error-state button { min-height: 36px; padding: 0 14px; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 7px; background: rgba(var(--accent-rgb), .13); color: var(--accent-strong); cursor: pointer; }
.native-home-intro { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "copy number" "copy label"; align-items: end; gap: 2px 22px; padding: 4px 2px 22px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.native-home-intro p { grid-area: copy; max-width: 620px; margin: 0; color: #bccbd5; font-size: 15px; line-height: 1.75; }
.native-home-intro strong { grid-area: number; color: #f4f8fb; font: 750 30px/1 system-ui; }
.native-home-intro span { grid-area: label; color: #758b9a; font-size: 9px; text-align: right; }
.native-section-heading, .native-result-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.native-section-heading { margin: 21px 0 13px; }
.native-section-heading h2 { margin: 0; font-size: 17px; }
.native-section-heading span, .native-result-line { color: #79909f; font-size: 10px; }
.native-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.native-post-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; background: rgba(255, 255, 255, .035); transition: border-color .2s, background .2s, transform .2s; }
.native-post-card:hover { border-color: rgba(var(--accent-rgb), .36); background: rgba(var(--accent-rgb), .075); transform: translateY(-2px); }
.native-post-card > button { width: 100%; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.native-post-cover { position: relative; aspect-ratio: 16 / 8.8; display: grid; place-items: center; overflow: hidden; background: #111b25; color: #5f7788; font-size: 24px; }
.native-post-cover::after { content: ""; position: absolute; inset: 0; background: rgba(5, 9, 14, .18); pointer-events: none; }
.native-post-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s var(--ease-hypr); }
.native-post-card:hover .native-post-cover img { transform: scale(1.035); }
.native-post-body { min-width: 0; min-height: 145px; display: flex; flex-direction: column; padding: 13px 14px; }
.native-post-meta { color: var(--accent); font-size: 9px; }
.native-post-body strong { display: -webkit-box; margin-top: 8px; overflow: hidden; color: #edf4f8; font-size: 15px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.native-post-description { display: -webkit-box; margin-top: 7px; overflow: hidden; color: #8ea1ae; font-size: 11px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.native-post-foot { min-width: 0; display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; color: #758b99; font-size: 9px; }
.native-post-foot > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.native-post-foot i { flex: 0 0 auto; color: var(--accent-strong); font-size: 14px; font-style: normal; }
.native-blog-tools { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 10px; }
.native-search, .native-select { min-height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 7px; background: rgba(255, 255, 255, .035); color: #8297a6; }
.native-search input, .native-select select { min-width: 0; border: 0; outline: 0; background: transparent; color: #dce7ee; font: inherit; }
.native-search input { width: 100%; }
.native-search input::placeholder { color: #657b8b; }
.native-select select { max-width: 130px; }
.native-select option { background: #111922; color: #dce7ee; }
.native-result-line { margin: 13px 1px; }
.native-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.native-pagination button { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 7px; background: rgba(255, 255, 255, .05); color: #dce7ee; cursor: pointer; }
.native-pagination button:disabled { opacity: .3; cursor: default; }
.native-pagination span { color: #8297a6; font-size: 10px; }
.native-empty-state { grid-column: 1 / -1; padding: 50px 12px; color: #78909f; text-align: center; }
.native-archive-year + .native-archive-year { margin-top: 24px; }
.native-archive-year > header { display: flex; align-items: baseline; gap: 9px; margin-bottom: 8px; }
.native-archive-year > header strong { color: #f0f6f9; font-size: 23px; }
.native-archive-year > header span { color: #768c9b; font-size: 9px; }
.native-archive-year > div { border-top: 1px solid rgba(255, 255, 255, .1); }
.native-archive-year button { width: 100%; min-height: 46px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .075); background: transparent; color: inherit; text-align: left; cursor: pointer; }
.native-archive-year button:hover { background: rgba(var(--accent-rgb), .065); }
.native-archive-year time { color: var(--accent); font: 9px/1 ui-monospace, monospace; }
.native-archive-year button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.native-archive-year button i { color: #778d9c; font-style: normal; }
.native-friend-grid, .native-tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 10px; }
.native-friend, .native-tool { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: "icon title arrow" "icon copy arrow"; align-items: center; gap: 4px 11px; min-height: 82px; padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; background: rgba(255, 255, 255, .035); color: inherit; text-decoration: none; }
.native-friend:hover, .native-tool:hover { border-color: rgba(var(--accent-rgb), .35); background: rgba(var(--accent-rgb), .07); }
.native-friend > span, .native-tool > span { grid-area: icon; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: rgba(var(--accent-rgb), .14); color: var(--accent-strong); font-weight: 800; }
.native-friend strong, .native-tool strong { grid-area: title; overflow: hidden; color: #e9f2f7; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.native-friend small, .native-tool small { grid-area: copy; display: -webkit-box; overflow: hidden; color: #7f94a3; font-size: 9px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.native-friend i, .native-tool i { grid-area: arrow; color: var(--accent); font-style: normal; }
.native-route-panel { min-height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; }
.native-route-panel > span { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 8px; color: var(--accent); font-size: 28px; }
.native-route-panel strong { color: #f0f6f9; font-size: 21px; }
.native-route-panel p { max-width: 360px; margin: 0; color: #8297a5; font-size: 11px; }
.native-route-panel a { min-height: 38px; display: inline-flex; align-items: center; margin-top: 7px; padding: 0 15px; border-radius: 7px; background: var(--accent); color: #101519; text-decoration: none; font-size: 11px; font-weight: 800; }
.native-reader-meta { margin: 0 0 18px; padding-bottom: 13px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #8298a7; font-size: 10px; }
.native-article-body { max-width: 820px; margin: 0 auto; color: #c5d2da; font-size: 14px; line-height: 1.82; overflow-wrap: anywhere; }
.native-article-body h1, .native-article-body h2, .native-article-body h3, .native-article-body h4 { margin: 1.55em 0 .62em; color: #f0f5f8; line-height: 1.35; }
.native-article-body h1 { font-size: 24px; }
.native-article-body h2 { font-size: 20px; }
.native-article-body h3 { font-size: 17px; }
.native-article-body p { margin: .8em 0; }
.native-article-body a { color: var(--accent-strong); }
.native-article-body img, .native-article-body video { max-width: 100%; height: auto; display: block; margin: 18px auto; border-radius: 8px; }
.native-article-body iframe { width: 100%; min-height: min(70vh, 620px); display: block; border: 1px solid rgba(255, 255, 255, .11); border-radius: 8px; background: #0b1016; }
.native-article-body pre { max-width: 100%; overflow: auto; padding: 14px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 7px; background: #090f15; font-size: 11px; line-height: 1.65; }
.native-article-body code { font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace; }
.native-article-body :not(pre) > code { padding: 2px 5px; border-radius: 4px; background: rgba(var(--accent-rgb), .11); color: #f2b59b; }
.native-article-body table { width: 100%; display: block; overflow: auto; border-collapse: collapse; }
.native-article-body th, .native-article-body td { padding: 7px 9px; border: 1px solid rgba(255, 255, 255, .12); }
.native-article-body blockquote { margin: 1em 0; padding: 2px 14px; border-left: 3px solid var(--accent); color: #9eb1bd; }

/* Launcher, quick settings, calendar */
.quick-settings, .calendar-panel, .language-panel {
  position: absolute;
  z-index: 120;
  top: 56px;
  right: 12px;
  width: min(340px, calc(100vw - 24px));
  border-radius: 14px;
  padding: 16px;
  transform-origin: top right;
  animation: panel-in .3s var(--ease-hypr) both;
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-10px) scale(.94); } to { opacity: 1; transform: none; } }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.panel-heading > div { display: grid; gap: 5px; }
.panel-heading small { color: #748899; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .14em; }
.panel-heading strong { font-size: 18px; }
.panel-heading > button { width: 29px; height: 29px; border-radius: 8px; background: rgba(255, 255, 255, .07); cursor: pointer; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quick-grid button { min-height: 68px; display: grid; grid-template-columns: 28px 1fr; grid-template-areas: "icon title" "icon meta"; align-items: center; padding: 11px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; background: rgba(255, 255, 255, .045); text-align: left; cursor: pointer; }
.quick-grid button > span { grid-area: icon; color: #90a5b5; font-size: 20px; }
.quick-grid button strong { grid-area: title; font-size: 12px; }
.quick-grid button small { grid-area: meta; color: #7790a1; font-size: 10px; }
.quick-grid button.is-enabled { background: rgba(var(--accent-rgb), .17); border-color: rgba(var(--accent-rgb), .24); }
.quick-grid button.is-enabled > span { color: var(--accent); }
.range-control { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 16px 1px; color: #9eb0bd; font-size: 11px; }
.range-control input { width: 100%; accent-color: var(--accent); }
.range-control output { min-width: 30px; color: #d8e7f1; font-variant-numeric: tabular-nums; }
.system-line { display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .09); color: #788d9d; font: 10px/1 ui-monospace, monospace; }
.calendar-panel { width: min(300px, calc(100vw - 24px)); padding: 24px; text-align: center; }
.language-panel { width: min(220px, calc(100vw - 24px)); background: linear-gradient(145deg, rgba(31, 49, 65, .92), rgba(8, 15, 23, .95)); }
.language-options { display: grid; gap: 7px; }
.language-options button { min-height: 50px; display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 1px 9px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 9px; background: rgba(255, 255, 255, .035); text-align: left; cursor: pointer; }
.language-options button > span { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(var(--accent-rgb), .1); color: var(--accent-strong); font-size: 11px; font-weight: 800; }
.language-options button > strong { align-self: end; font-size: 12px; }
.language-options button > small { align-self: start; color: #74899a; font-size: 9px; }
.language-options button:hover, .language-options button.is-active { border-color: rgba(var(--accent-rgb), .34); background: rgba(var(--accent-rgb), .14); }
.language-options button.is-active > span { background: var(--accent); color: #08131c; }
.calendar-time { font: 300 43px/1 "Segoe UI Variable", sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calendar-date { margin-top: 12px; color: #c3d3de; font-size: 14px; }
.calendar-week { margin-top: 4px; color: #7f95a5; }
.calendar-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .09); color: #8194a4; font-size: 11px; }
.calendar-note span { width: 6px; height: 6px; border-radius: 50%; background: #86d6a8; box-shadow: 0 0 9px #86d6a8; }
.launcher-backdrop { position: absolute; z-index: 160; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(3, 7, 11, .42); backdrop-filter: blur(7px); animation: backdrop-in .2s ease both; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.launcher { width: min(690px, 100%); max-height: min(620px, calc(100dvh - 60px)); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; min-height: 0; overflow: hidden; padding: 17px; border-radius: 16px; animation: launcher-in .38s var(--ease-hypr) both; }
@keyframes launcher-in { from { opacity: 0; transform: translateY(24px) scale(.91); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.launcher-search { height: 48px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid rgba(var(--accent-rgb), .24); border-radius: 11px; background: rgba(255, 255, 255, .055); }
.launcher-search svg { width: 19px; fill: none; stroke: #88a0b0; stroke-width: 1.8; stroke-linecap: round; }
.launcher-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #eef8ff; }
.launcher-search input::placeholder { color: #6e8291; }
.launcher > p { margin: 18px 4px 10px; color: #8397a6; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; }
.launcher-grid { min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 8px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.launcher-app { min-height: 105px; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 10px; border: 1px solid transparent; border-radius: 11px; background: transparent; cursor: pointer; }
.launcher-app:hover, .launcher-app.is-keyboard-active { border-color: rgba(var(--accent-rgb), .22); background: rgba(var(--accent-rgb), .1); }
.launcher-app-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, rgba(var(--accent-rgb), .23), rgba(255, 255, 255, .04)); color: var(--accent-strong); font-size: 20px; box-shadow: inset 0 1px rgba(255, 255, 255, .1); }
.launcher-app strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.launcher-app small { color: #758a99; font-size: 9px; }
.launcher footer { display: flex; justify-content: center; gap: 22px; margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .08); color: #708493; font-size: 10px; }
.launcher footer span { display: flex; align-items: center; gap: 5px; }

/* Dock and context UI */
.hypr-dock {
  position: absolute;
  z-index: 90;
  left: 50%;
  bottom: 12px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 22px;
  transform: translateX(-50%);
}
.hypr-dock button, .hypr-dock a { position: relative; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: transparent; color: inherit; text-decoration: none; cursor: pointer; transition: transform .28s var(--ease-hypr), background .2s; }
.hypr-dock button:hover, .hypr-dock a:hover { transform: translateY(-7px) scale(1.13); background: rgba(255, 255, 255, .1); }
.dock-return { background: rgba(var(--accent-rgb), .1) !important; }
.dock-return svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-strong); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 7px rgba(var(--accent-rgb), .28)); }
.dock-glyph { font: 700 20px/1 "Segoe UI Symbol", sans-serif; color: #dbeaf3; }
.dock-grid { color: var(--accent); font-size: 25px; }
.hypr-dock button i { position: absolute; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: transparent; transition: background .2s, box-shadow .2s; }
.hypr-dock button.is-running i { background: var(--accent); box-shadow: 0 0 7px var(--accent); }
.hypr-dock button.is-focused { background: rgba(var(--accent-rgb), .13); }
.dock-separator { width: 1px; height: 29px; margin: 0 3px; background: rgba(255, 255, 255, .12); }
.desktop-hint { position: absolute; z-index: 4; right: 17px; bottom: 19px; display: flex; align-items: center; gap: 5px; color: rgba(220, 235, 245, .55); font-size: 10px; transition: opacity .4s; }
.desktop-hint.is-dismissed { opacity: 0; }
.toast-region { position: absolute; z-index: 180; right: 13px; bottom: 77px; display: grid; gap: 8px; pointer-events: none; }
.desktop-toast { width: min(310px, calc(100vw - 26px)); display: grid; grid-template-columns: 29px 1fr; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(10, 15, 22, .87); box-shadow: 0 14px 45px rgba(0, 0, 0, .38); backdrop-filter: blur(20px); animation: toast-in .35s var(--ease-hypr) both; }
.desktop-toast.is-leaving { animation: toast-out .25s ease both; }
.desktop-toast > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.desktop-toast strong { display: block; margin-bottom: 2px; font-size: 11px; }
.desktop-toast small { color: #7f93a2; }
@keyframes toast-in { from { opacity: 0; transform: translateX(25px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px) scale(.95); } }
.desktop-context { position: absolute; z-index: 170; width: 225px; padding: 6px; border-radius: 11px; animation: panel-in .22s var(--ease-hypr) both; }
.desktop-context button { width: 100%; min-height: 35px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-radius: 7px; background: transparent; color: #c7d5df; text-align: left; cursor: pointer; font-size: 11px; }
.desktop-context button:hover { background: rgba(var(--accent-rgb), .12); color: #fff; }
.desktop-context > span { display: block; height: 1px; margin: 5px 3px; background: rgba(255, 255, 255, .08); }

@media (max-width: 920px) {
  :root { --window-gap: 8px; --window-radius: 28px; }
  .waybar { grid-template-columns: auto 1fr auto; }
  .waybar-title { display: none; }
  .waybar-right { grid-column: 3; }
  .connection-pill, .volume-pill { width: 29px; padding: 0; justify-content: center; }
  .connection-pill span:last-child, .volume-pill span:last-child { display: none; }
}

@media (max-width: 680px) {
  :root { --window-gap: 6px; --window-radius: 20px; }
  .waybar { inset: max(6px, env(safe-area-inset-top)) 7px auto; height: 39px; gap: 5px; border-radius: 11px; }
  .arch-menu { width: 29px; }
  .workspace-switcher button { width: 23px; }
  .workspace-switcher button.is-active { width: 33px; }
  .workspace-switcher button:nth-child(n+5) { display: none; }
  .layout-mode-toggle { flex-basis: 29px; width: 29px; padding: 0; justify-content: center; }
  .layout-mode-label { display: none; }
  .classic-return { width: 29px; padding: 0; justify-content: center; }
  .classic-return span { display: none; }
  .clock-pill { padding: 0 7px; }
  .clock-pill span { display: none; }
  .language-toggle { width: 29px; min-width: 29px; padding: 0; }
  .language-toggle > strong { display: none; }
  .volume-pill { display: none; }
  .workspace-viewport { top: 52px; }
  .desktop-icons { top: 12px; left: 12px; width: calc(100% - 24px); grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); justify-content: stretch; justify-items: center; row-gap: clamp(7px, 2vw, 12px); column-gap: clamp(18px, 5vw, 28px); }
  .desktop-icon { width: 72px; min-height: 68px; gap: 4px; padding: 4px; border-radius: 8px; }
  .desktop-icon > span:last-child { max-width: 66px; font-size: 10px; }
  .desktop-icon-shape { width: 34px; height: 34px; border-radius: 10px; }
  .desktop-icon-shape svg { width: 19px; height: 19px; }
  .windows-layer { inset: 4px 6px 65px; }
  .hypr-desktop.has-active-toast .windows-layer { bottom: var(--mobile-toast-reserve, 150px); }
  .hypr-window { min-width: 0; min-height: 0; border-radius: var(--window-radius); grid-template-rows:39px minmax(0,1fr); }
  .hypr-window.is-floating { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; resize: none; }
  .hypr-desktop[data-layout-mode="stacked"] .hypr-window:not(.is-focused) { opacity: 0; pointer-events: none; transform: scale(.965); }
  .window-titlebar{padding-left:10px}
  .window-app-subtitle { display: none; }
  .hypr-dock { bottom: max(8px, env(safe-area-inset-bottom)); height: 55px; }
  .toast-region { left: 6px; right: 6px; bottom: 68px; }
  .desktop-toast { width: 100%; }
  .desktop-hint { display: none; }
  .launcher-backdrop { place-items: end center; padding: 58px 7px max(69px, env(safe-area-inset-bottom)); }
  .launcher { width: 100%; height: calc(100dvh - 127px - env(safe-area-inset-bottom)); min-height: 320px; max-height: 680px; align-self: end; border-radius: 18px 18px 0 0; padding: 13px 13px 16px; }
  .launcher > p { margin: 14px 4px 9px; }
  .launcher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 2px 18px; }
  .launcher-app { min-height: 104px; background: rgba(255,255,255,.035); }
  .launcher footer { display: none; }
  .welcome-app { padding: 25px 20px 34px; }
  .welcome-heading { align-items: flex-start; }
  .shortcut-row { display: none; }
  .native-page-header { gap: 10px; padding: 13px 14px 11px; }
  .native-page-header p { margin-bottom: 4px; font-size: 8px; }
  .native-page-header h1 { font-size: 19px; }
  .native-header-action { min-height: 32px; max-width: 42%; padding: 0 9px; font-size: 9px; }
  .native-scroll { padding: 14px 13px 30px; scrollbar-gutter: auto; }
  .native-home-intro { grid-template-columns: 1fr auto; gap: 2px 12px; padding-bottom: 14px; }
  .native-home-intro p { font-size: 12px; line-height: 1.65; }
  .native-home-intro strong { font-size: 23px; }
  .native-section-heading { margin: 16px 0 10px; }
  .native-section-heading h2 { font-size: 14px; }
  .native-post-grid { grid-template-columns: 1fr; gap: 9px; }
  .native-post-card > button { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: 1fr; }
  .native-post-cover { height: 100%; min-height: 126px; aspect-ratio: auto; }
  .native-post-body { min-height: 126px; padding: 11px; }
  .native-post-body strong { margin-top: 6px; font-size: 13px; line-height: 1.42; }
  .native-post-description { margin-top: 5px; font-size: 10px; line-height: 1.5; -webkit-line-clamp: 2; }
  .native-post-foot { padding-top: 7px; font-size: 8px; }
  .native-blog-tools { grid-template-columns: 1fr; gap: 7px; }
  .native-search, .native-select { min-height: 36px; font-size: 11px; }
  .native-select { justify-content: space-between; }
  .native-select select { max-width: 60%; }
  .native-result-line { margin: 10px 1px; }
  .native-friend-grid, .native-tool-grid { grid-template-columns: 1fr; }
  .native-archive-year > header strong { font-size: 19px; }
  .native-archive-year button { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; min-height: 43px; }
  .native-archive-year button span { font-size: 11px; }
  .native-article-body { font-size: 13px; line-height: 1.74; }
  .native-article-body h1 { font-size: 20px; }
  .native-article-body h2 { font-size: 17px; }
  .native-article-body h3 { font-size: 15px; }
}

@media (max-width: 375px) {
  .waybar .classic-return { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
