@charset "UTF-8";

:root {
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.16);
  --glass-light: rgba(255, 255, 255, 0.68);
  --glass-light-strong: rgba(255, 255, 255, 0.84);
  --glass-dark: rgba(20, 24, 31, 0.74);
  --glass-border: rgba(255, 255, 255, 0.42);
  --glass-highlight: rgba(255, 255, 255, 0.65);
  --shadow-window: 0 30px 90px rgba(0, 0, 0, 0.45);
  --shadow-dock: 0 24px 60px rgba(0, 0, 0, 0.3);
  --radius-window: 16px;
  --radius-control: 10px;
  --titlebar-height: 36px;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, "Cascadia Code", monospace;
}

body {
  background-color: #0b1220;
  background-image: url(gui_imgs/wallpaper-2560.jpg);
  background-image: -webkit-image-set(
    url(gui_imgs/wallpaper-2560.webp) type("image/webp") 1x,
    url(gui_imgs/wallpaper-3840.webp) type("image/webp") 2x
  );
  background-image: image-set(
    url(gui_imgs/wallpaper-2560.webp) type("image/webp") 1x,
    url(gui_imgs/wallpaper-3840.webp) type("image/webp") 2x
  );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #1d1d1f;
  font-family: var(--font-ui);
  margin: 0;
  overflow: hidden;
  padding: 0;
}

body.theme-graphite {
  background-image: linear-gradient(135deg, #111827 0%, #374151 55%, #0f172a 100%);
}

body.theme-ocean {
  background-image: linear-gradient(135deg, #0f172a 0%, #0e7490 50%, #164e63 100%);
}

header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(245, 247, 250, 0.54));
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 24px rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  display: block;
  font-size: 13px;
  height: 28px;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 60;
}

header ul {
  margin: 0;
  padding: 0 10px;
}

header li {
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  padding: 4px 8px;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
}

header li:hover {
  background: rgba(0, 0, 0, 0.06);
}

header img {
  height: 16px;
  padding: 0;
  vertical-align: -3px;
}

header .left {
  float: left;
}

header .right {
  float: right;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header .selected {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(10, 132, 255, 0.2);
  color: #0057d8;
}

.submenu.visible {
  display: block !important;
}

.shortcut:after {
  content: attr(shortcut);
  float: right;
  opacity: 0.62;
  padding-left: 22px;
}

.search {
  padding: 5px 10px !important;
}

.noChoice {
  color: #8e8e93;
}

.noChoice:hover {
  background: transparent !important;
  color: #8e8e93 !important;
}

#user_name {
  color: #1d1d1f;
  cursor: default;
}

#volume-icon-li {
  width: 1.25em;
}

.submenu {
  display: none;
}

.submenu input[type=text] {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 6px;
  height: 2em;
  padding: 0 10px;
}

.submenu input[type=range] {
  margin-left: -50px;
  margin-top: 65px;
  transform: rotate(-90deg);
}

.submenu ul {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 249, 252, 0.8));
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: #1d1d1f;
  font-size: 13px;
  left: -6px;
  margin: 0 !important;
  min-width: 260px;
  overflow: hidden;
  padding: 6px;
  position: absolute;
  top: calc(100% + 6px);
  white-space: nowrap;
  z-index: 2000;
}

.submenu ul.volume {
  height: 10em;
  min-width: 0;
  overflow: visible;
  padding: 8px 0;
  width: 3em;
}

.submenu ul.volume li {
  margin: 0;
  padding: 0;
}

.submenu ul li {
  border-radius: 7px;
  box-sizing: border-box;
  display: block !important;
  float: none;
  font-weight: 400;
  margin: 1px 0;
  padding: 6px 12px;
  transition: background 0.12s ease, color 0.12s ease;
  vertical-align: middle;
  width: 100%;
}

.submenu ul li.spacer {
  background: rgba(0, 0, 0, 0.1);
  height: 1px !important;
  margin: 5px 8px;
  padding: 0;
  position: relative;
  width: auto;
}

.submenu ul li.spacer:hover {
  background: rgba(0, 0, 0, 0.1);
}

.submenu li:hover:not(.volume) {
  background: var(--accent);
  color: #fff;
}

.submenu .hasSubMenu:after {
  content: "\f105";
  display: inline-block;
  font-family: FontAwesome;
  font-size: 0.8em;
  position: absolute;
  right: 25px;
}

.submenu-right ul {
  left: auto;
  right: 0;
}

#Desktop {
  align-content: flex-end;
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 4px 10px;
  height: calc(100vh - 118px);
  padding: 18px 22px;
  position: absolute;
  right: 0 !important;
  text-align: right;
  top: 28px;
  width: 100%;
  z-index: 0;
}

#Desktop span.icon {
  display: block;
  float: right;
  margin: 3px 0;
  text-align: center;
  transition: transform 0.18s ease;
  width: auto;
  z-index: 1;
}

#Desktop span.icon:hover {
  cursor: pointer;
}

#Desktop span.icon:after {
  background: transparent;
  border-radius: 7px;
  color: #fff;
  content: attr(data-title);
  display: block;
  margin-bottom: 6px;
  padding: 1px 7px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  transition: background 0.15s ease, backdrop-filter 0.15s ease;
}

#Desktop span.icon:hover:after,
#Desktop span.icon.focus:after {
  background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#Desktop span.icon img {
  border: 2px solid rgba(255, 255, 255, 0);
  border-radius: 8px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.24));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  width: 64px;
}

#Desktop span.icon:hover img {
  transform: translateY(-2px);
}

#Desktop span.icon.folder-about img {
  filter: hue-rotate(30deg) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.24));
}

#Desktop span.icon.folder-experience img {
  filter: hue-rotate(240deg) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.24));
}

#Desktop span.icon.folder-skills img {
  filter: hue-rotate(190deg) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.24));
}

#Desktop span.icon.folder-education img {
  filter: hue-rotate(90deg) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.24));
}

#Desktop span.icon.folder-certificates img {
  filter: hue-rotate(140deg) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.24));
}

#Desktop span.icon.folder-contact img {
  filter: hue-rotate(300deg) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.24));
}

.focus img {
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.35);
}

span.focus:after {
  background: rgba(10, 132, 255, 0.78) !important;
  text-shadow: none !important;
}

footer {
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(235, 238, 243, 0.18));
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 22px;
  bottom: 12px;
  box-shadow: var(--shadow-dock), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: flex;
  height: auto;
  left: 50%;
  min-width: 0;
  padding: 8px 12px 10px;
  position: fixed;
  text-align: center;
  transform: translateX(-50%);
  z-index: 50;
}

footer:before {
  display: none;
}

footer ul {
  align-items: flex-end;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  transform-origin: bottom center !important;
}

footer li {
  display: inline-block;
  position: relative;
  transform: scale(1);
  transform-origin: bottom center;
  transition: transform 0.2s ease;
  vertical-align: top;
}

footer li:before {
  background: rgba(28, 32, 40, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
  content: attr(data-title);
  display: block;
  float: left;
  font-size: 11px;
  left: 50%;
  margin: 2px auto;
  opacity: 0;
  padding: 3px 10px;
  position: absolute;
  text-align: center;
  top: -38px;
  transform: translateX(-50%);
  transform-origin: bottom center !important;
  visibility: hidden;
  width: auto;
}

footer li:hover:before {
  opacity: 1;
  top: -46px;
  visibility: visible;
}

.jump {
  animation: JUMP 600ms 2 cubic-bezier(0.4, 0.01, 0.6, 0.99);
}

footer img {
  align-items: center;
  bottom: 0;
  display: flex;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.28));
  justify-content: center;
  margin: 0 4px;
  position: relative;
  transform: scale(1);
  transform-origin: bottom center !important;
  transition: transform 0.18s ease, margin 0.18s ease;
  width: 3.8em;
}

footer img:hover {
  cursor: pointer;
  margin: 0 4px;
  transform: translateY(-6px) scale(1.12);
}

@keyframes JUMP {
  0% {
    bottom: 0;
  }
  50% {
    bottom: 20px;
    padding-bottom: 20px;
  }
  100% {
    bottom: 0;
  }
}

.launchpad {
  align-items: flex-start;
  background: rgba(20, 24, 31, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: none;
  inset: 0;
  justify-content: center;
  padding-top: 10vh;
  position: fixed;
  z-index: 100000;
}

.launchpad.visible {
  display: flex;
}

.launchpad-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 249, 252, 0.74));
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #1d1d1f;
  max-width: 780px;
  padding: 22px;
  width: min(92vw, 780px);
}

.launchpad-panel input {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 10px;
  box-sizing: border-box;
  color: #1d1d1f;
  font-family: var(--font-ui);
  font-size: 16px;
  max-width: 100%;
  padding: 12px 14px;
  width: 100%;
}

.launchpad-panel input::placeholder {
  color: rgba(29, 29, 31, 0.48);
}

.launchpad-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  margin-top: 20px;
}

.launchpad-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  color: #1d1d1f;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 8px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.launchpad-item:hover,
.launchpad-item:focus-visible {
  background: rgba(10, 132, 255, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.launchpad-item img,
.launchpad-item i {
  font-size: 40px;
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.launchpad-item span {
  font-size: 12px;
  text-align: center;
}

.launchpad-hint {
  color: rgba(29, 29, 31, 0.55);
  font-size: 11px;
  margin: 16px 0 0;
  text-align: center;
}

.launchpad kbd,
.about-content kbd,
.spotlight-hint kbd {
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 1px 5px;
}

.launchpad-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  text-align: center;
}

.spotlight {
  align-items: flex-start;
  background: rgba(20, 24, 31, 0.24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: none;
  inset: 0;
  justify-content: center;
  padding-top: 14vh;
  position: fixed;
  z-index: 100000;
}

.spotlight.visible {
  display: flex;
}

.spotlight-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 252, 0.8));
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  box-sizing: border-box;
  color: #1d1d1f;
  overflow: hidden;
  width: min(680px, 92vw);
}

.spotlight-search {
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 12px;
  height: 58px;
  padding: 0 18px;
}

.spotlight-search > i {
  color: #8e8e93;
  flex: 0 0 auto;
  font-size: 20px;
}

.spotlight-search input {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  color: #1d1d1f;
  flex: 1;
  font-family: var(--font-ui);
  font-size: 20px;
  max-width: 100%;
  min-width: 0;
  outline: none;
  padding: 0;
}

.spotlight-search input::placeholder {
  color: rgba(29, 29, 31, 0.42);
}

.spotlight-clear {
  background: transparent;
  border: 0;
  color: #8e8e93;
  cursor: pointer;
  display: none;
  flex: 0 0 auto;
  font-size: 15px;
  padding: 4px;
}

.spotlight-clear.visible {
  display: inline-flex;
}

.spotlight-results {
  max-height: min(420px, 55vh);
  overflow: auto;
  padding: 6px;
}

.spotlight-group-label {
  color: #8e8e93;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  padding: 8px 12px 4px;
  text-transform: uppercase;
}

.spotlight-result {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #1d1d1f;
  cursor: pointer;
  display: flex;
  font-family: var(--font-ui);
  gap: 12px;
  padding: 8px 12px;
  text-align: left;
  width: 100%;
}

.spotlight-result.selected,
.spotlight-result:hover {
  background: var(--accent);
  color: #fff;
}

.spotlight-result-icon {
  align-items: center;
  display: flex;
  flex: 0 0 24px;
  font-size: 19px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.spotlight-result-icon img {
  height: 24px;
  object-fit: contain;
  width: 24px;
}

.spotlight-result-name {
  flex: 1;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-result-type,
.spotlight-result-shortcut {
  flex: 0 0 auto;
  font-size: 11px;
  opacity: 0.55;
}

.spotlight-result.selected .spotlight-result-type,
.spotlight-result.selected .spotlight-result-shortcut {
  opacity: 0.82;
}

.spotlight-empty {
  color: #6e6e73;
  font-size: 13px;
  padding: 28px 20px;
  text-align: center;
}

.spotlight-hint {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #6e6e73;
  display: flex;
  font-size: 11px;
  gap: 14px;
  justify-content: center;
  padding: 10px 14px 12px;
}

.embed-open {
  background: rgba(21, 24, 28, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  bottom: 16px;
  color: #fff;
  display: none;
  font-size: 12px;
  padding: 8px 12px;
  position: fixed;
  right: 16px;
  z-index: 100001;
}

body.embed header,
body.embed #Desktop {
  display: none;
}

body.embed .embed-open {
  display: inline-block;
}

body.embed footer {
  bottom: 8px;
}

body.embed .terminal-window {
  height: 100vh;
  margin: 0;
  width: 100vw;
}

.app-content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 249, 252, 0.72));
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  box-sizing: border-box;
  color: #1d1d1f;
  height: calc(100% - var(--titlebar-height));
  overflow: auto;
  padding: 28px;
}

.app-content h2 {
  font-size: 16px;
  margin: 22px 0 8px;
}

.app-content h2:first-child {
  margin-top: 0;
}

.about-mark {
  color: #111827;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.about-version {
  color: #6b7280;
  margin-top: 0;
}

.about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 22px;
}

.about-grid ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.about-grid li {
  margin-bottom: 6px;
}

.prefs-shell {
  display: flex;
  padding: 0;
}

.prefs-sidebar {
  background: rgba(246, 247, 249, 0.58);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex: 0 0 180px;
  flex-direction: column;
  gap: 4px;
  padding: 18px 10px;
}

.prefs-tab {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #3a3a3c;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 13px;
  padding: 8px 12px;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.prefs-tab:hover {
  background: rgba(0, 0, 0, 0.05);
}

.prefs-tab.active {
  background: var(--accent-soft);
  color: #0057d8;
  font-weight: 600;
}

.prefs-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.prefs-panels {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 24px;
}

.prefs-panel {
  display: none;
}

.prefs-panel.active {
  display: block;
}

.prefs-panel p {
  color: #5f6368;
  margin: 0 0 16px;
}

.prefs-wallpaper-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.wallpaper-card {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-ui);
  padding: 0;
  text-align: left;
}

.wallpaper-preview {
  background-position: center;
  background-size: cover;
  border: 2px solid transparent;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: block;
  height: 86px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  width: 100%;
}

.wallpaper-card:hover .wallpaper-preview {
  transform: translateY(-1px);
}

.wallpaper-card.active .wallpaper-preview {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 4px 14px rgba(0, 0, 0, 0.18);
}

.wallpaper-default {
  background-image: url(gui_imgs/wallpaper-2560.jpg);
}

.wallpaper-graphite {
  background-image: linear-gradient(135deg, #111827 0%, #374151 55%, #0f172a 100%);
}

.wallpaper-ocean {
  background-image: linear-gradient(135deg, #0f172a 0%, #0e7490 50%, #164e63 100%);
}

.wallpaper-label {
  display: block;
  font-size: 12px;
  margin-top: 7px;
}

.prefs-toggle {
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  font-size: 13px;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 0;
}

.switch {
  display: inline-flex;
  flex: 0 0 auto;
  height: 26px;
  position: relative;
  width: 44px;
}

.switch input {
  height: 0;
  opacity: 0;
  width: 0;
}

.switch-track {
  background: rgba(120, 120, 128, 0.32);
  border-radius: 99px;
  inset: 0;
  position: absolute;
  transition: background 0.18s ease;
}

.switch-track:after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  content: "";
  height: 22px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform 0.18s ease;
  width: 22px;
}

.switch input:checked + .switch-track {
  background: var(--accent);
}

.switch input:checked + .switch-track:after {
  transform: translateX(18px);
}

.switch input:focus-visible + .switch-track {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.shortcut-editor {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.shortcut-row {
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 8px 12px;
  grid-template-columns: 1fr auto auto;
  padding: 10px 0;
}

.shortcut-name {
  font-size: 13px;
}

.shortcut-value {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  font-family: var(--font-ui);
  font-size: 11px;
  padding: 2px 6px;
  white-space: nowrap;
}

.shortcut-record,
.shortcut-editor-actions button {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 11px;
  padding: 5px 10px;
}

.shortcut-record:hover,
.shortcut-editor-actions button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.shortcut-warning {
  color: #a35f00;
  font-size: 11px;
  grid-column: 1 / -1;
}

.shortcut-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.shortcut-note {
  color: #6e6e73;
  font-size: 11px;
  line-height: 1.45;
  margin: 0 0 16px;
}

.shortcut-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shortcut-list li {
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  font-size: 13px;
  gap: 16px;
  justify-content: space-between;
  padding: 10px 0;
}

.shortcut-list li:last-child {
  border-bottom: 0;
}

.shortcut-list kbd {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 5px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  font-family: var(--font-ui);
  font-size: 11px;
  padding: 1px 5px;
}

.player-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px;
  text-align: center;
}

.player-art {
  background: transparent;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  height: 92px;
  margin-top: 8px;
  overflow: hidden;
  width: 92px;
}

.player-art img {
  display: block;
  height: 100%;
  width: 100%;
}

.player-track-name {
  font-size: 18px;
  font-weight: 700;
}

.player-progress,
.player-volume-row input {
  accent-color: var(--accent);
}

.player-progress {
  width: 100%;
}

.player-time-row {
  color: #6b7280;
  font-family: var(--font-mono);
  font-size: 11px;
  width: 100%;
}

.player-controls {
  display: flex;
  justify-content: center;
}

.player-button {
  align-items: center;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(10, 132, 255, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.player-button:hover,
.player-button:focus-visible {
  background: #0070e0;
  outline: none;
}

.player-volume-row {
  align-items: center;
  display: flex;
  gap: 10px;
  width: 100%;
}

.player-volume-row input {
  flex: 1;
}

.player-volume-row span {
  color: #6b7280;
  font-size: 11px;
  min-width: 72px;
  text-align: right;
}

.player-hint {
  color: #6b7280;
  font-size: 11px;
  margin: 0;
}

header li:focus-visible,
header a:focus-visible,
#Desktop span:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border: 2px solid transparent;
  background-clip: content-box;
  border-radius: 99px;
}

@media (prefers-reduced-motion: reduce) {
  .jump {
    animation: none;
  }
  footer img:hover,
  #Desktop span.icon:hover img,
  .launchpad-item:hover {
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header {
    background: rgba(245, 247, 250, 0.96);
  }
  footer {
    background: rgba(245, 247, 250, 0.94);
  }
  .submenu ul,
  .launchpad-panel,
  .spotlight-panel,
  .app-content {
    background: rgba(255, 255, 255, 0.97);
  }
}

@media (max-width: 900px) {
  header {
    font-size: 12px;
  }
  header .right li:nth-child(5) {
    display: none;
  }
  #Desktop {
    height: calc(100vh - 112px);
    padding: 14px;
  }
  #Desktop span.icon img {
    width: 56px;
  }
  footer {
    bottom: 8px;
    padding: 7px 10px 9px;
  }
  footer img {
    width: 3.1em;
  }
  .launchpad {
    padding-top: 5vh;
  }
  .spotlight {
    padding-top: 9vh;
  }
  .spotlight-panel {
    width: min(94vw, 680px);
  }
  .prefs-sidebar {
    flex-basis: 150px;
  }
}

@media (max-width: 600px) {
  header .right li:not(#volume-icon-li):not(#spotlight_open):not(#quick_menu_open):not(:nth-child(4)) {
    display: none;
  }
  .spotlight {
    padding-top: 7vh;
  }
  .spotlight-search {
    height: 52px;
    padding: 0 14px;
  }
  .spotlight-search input {
    font-size: 17px;
  }
  .spotlight-results {
    max-height: 60vh;
  }
  .spotlight-hint {
    display: none;
  }
  #Desktop span.icon img {
    width: 48px;
  }
  footer img {
    width: 2.7em;
  }
  .launchpad-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }
  .launchpad-item i {
    font-size: 32px;
    height: 32px;
    width: 32px;
  }
  .prefs-shell {
    flex-direction: column;
  }
  .prefs-sidebar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 0;
    flex: 0 0 auto;
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
  }
  .prefs-tab {
    white-space: nowrap;
  }
  .prefs-panels {
    padding: 16px;
  }
  .shortcut-row {
    grid-template-columns: 1fr auto;
  }
  .shortcut-value {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }
  .shortcut-record {
    grid-column: 2;
    grid-row: 1;
  }
}

@media print {
  header,
  footer,
  #Desktop,
  .launchpad,
  .embed-open {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  .frame-window,
  .terminal-window {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}
