:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #272733;
  font-size: 16px;
  font-synthesis: none;
  --accent: #5853ce;
  --line: #e5e5eb;
  --bar: 36px;
  --dock: 94px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
  background: #333996;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6764e7;
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
}
a {
  color: var(--accent);
}
.menubar {
  height: var(--bar);
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 25px;
  background: rgba(239, 240, 255, 0.84);
  backdrop-filter: blur(24px);
  position: relative;
  z-index: 10000;
  font-size: 0.8rem;
}
.menubar button {
  padding: 0;
}
.brand {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -2px;
}
.brand span {
  font-size: 0.65rem;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 3px;
}
.menu-name {
  font-weight: 650;
}
.menu-spacer {
  flex: 1;
}
.menu-status {
  opacity: 0.6;
}
.menubar time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#desktop {
  height: calc(100dvh - var(--bar));
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 10%, #a292ec77, transparent 55%),
    linear-gradient(140deg, #1b2875, #656ad0 55%, #c0a0dc);
  background-image:
    url("assets/wallpaper.png"),
    radial-gradient(ellipse at 75% 10%, #a292ec77, transparent 55%),
    linear-gradient(140deg, #1b2875, #656ad0 55%, #c0a0dc);
  background-size: cover;
  background-position: center;
}
.wallpaper-type {
  position: absolute;
  top: 12%;
  left: 5%;
  color: #fff;
  letter-spacing: -0.065em;
  font-size: clamp(4rem, 8.2vw, 8.5rem);
  font-weight: 650;
  line-height: 0.96;
  opacity: 0.82;
  pointer-events: none;
}
.wallpaper-type span {
  display: block;
}
.wallpaper-type small {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  display: block;
  margin-top: 30px;
  font-weight: 500;
}
.desktop-hint {
  position: absolute;
  bottom: 28px;
  left: 30px;
  margin: 0;
  color: #fff9;
  font-size: 0.75rem;
}
#desktop-icons {
  position: absolute;
  right: 20px;
  top: 23px;
  bottom: 110px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, 110px);
  grid-auto-columns: 100px;
  gap: 8px 16px;
  z-index: 1;
  align-content: start;
}
.desktop-icon {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border-radius: 9px;
  user-select: none;
  padding: 6px;
}
.desktop-icon:hover {
  background: #ffffff12;
}
.desktop-icon.selected {
  background: #aaaaff40;
  box-shadow: inset 0 0 0 1px #ffffff50;
}
.desktop-icon > span:last-child {
  font-size: 0.8rem;
  line-height: 1.3;
  color: white;
  text-shadow: 0 1px 5px #17215d;
  max-width: 100%;
  padding: 2px 4px;
  border-radius: 3px;
}
.desktop-icon.selected > span:last-child {
  background: #444acc;
}
.folder-icon {
  display: block;
  position: relative;
  width: 65px;
  height: 47px;
  border-radius: 4px 5px 6px 6px;
  background: linear-gradient(#a6dafa, #6caee5);
  box-shadow:
    inset 0 1px 1px #ffffff9c,
    0 3px 6px #14216030;
  margin-top: 10px;
}
.folder-icon:before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 28px;
  height: 9px;
  border-radius: 5px 7px 0 0;
  background: #9acef2;
}
.folder-icon:after {
  content: "";
  position: absolute;
  inset: 3px 0 0;
  border-top: 1px solid #fff7;
  border-radius: 5px;
}
.folder-symbol {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #4179a6a6;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -2px;
}
.file-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 58px;
  border-radius: 5px;
  background: linear-gradient(135deg, #fff, #e0e4f4);
  font-size: 1.4rem;
  color: #7074b2;
  box-shadow: 0 3px 6px #14216030;
}
.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: #fafafc;
  border: 1px solid #ffffff8a;
  border-radius: 13px;
  box-shadow:
    0 25px 75px #1114403d,
    0 5px 15px #11144022;
  overflow: hidden;
  min-width: 340px;
  min-height: 250px;
  animation: window-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition:
    opacity 0.18s,
    transform 0.2s,
    box-shadow 0.2s;
}
.window.active {
  box-shadow:
    0 30px 90px #0a103859,
    0 7px 20px #12133333;
}
.window:not(.active) .traffic button {
  filter: saturate(0.35);
}
.window.minimized {
  opacity: 0;
  transform: translateY(140px) scale(0.8);
  pointer-events: none;
  visibility: hidden;
}
.window.closing {
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
}
.window.maximized {
  left: 10px !important;
  top: 10px !important;
  width: calc(100% - 20px) !important;
  height: calc(100% - 108px) !important;
  border-radius: 9px;
}
.titlebar {
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 16px;
  background: #f1f0f5e8;
  border-bottom: 1px solid #dfdfe7;
  user-select: none;
  touch-action: none;
  cursor: grab;
}
.titlebar:active {
  cursor: grabbing;
}
.titlebar-title {
  font-size: 0.8rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 56px;
  color: #676674;
}
.traffic {
  display: flex;
  gap: 8px;
  flex: none;
}
.traffic button {
  width: 13px;
  height: 13px;
  min-width: 13px;
  border-radius: 50%;
  padding: 0;
  border: 1px solid #0001;
  display: grid;
  place-items: center;
  font-size: 11px;
  line-height: 1;
}
.traffic button span {
  opacity: 0;
  color: #522b28;
}
.traffic:hover button span,
.traffic button:focus-visible span {
  opacity: 1;
}
.traffic .close {
  background: #ff6059;
}
.traffic .minimize {
  background: #ffbd2f;
}
.traffic .maximize {
  background: #28c841;
}
.window-body {
  overflow: auto;
  min-height: 0;
  flex: 1;
  overscroll-behavior: contain;
}
.resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 17px;
  height: 17px;
  cursor: nwse-resize;
  touch-action: none;
  background: linear-gradient(
    135deg,
    transparent 55%,
    #85859788 56%,
    transparent 62%,
    transparent 70%,
    #85859788 71%,
    transparent 78%
  );
  opacity: 0.5;
}
.maximized .resize-handle {
  display: none;
}
.welcome-window .window-body {
  padding: 33px 35px;
  background: #f7f7fc;
}
.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 650;
  color: #8a899a;
  margin: 0 0 17px;
}
.welcome-window h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.06;
  margin: 0 0 17px;
}
.welcome-window h1 span {
  color: #6661d1;
}
.welcome-window .intro {
  font-size: 0.95rem;
  color: #787787;
  margin: 0 0 26px;
  line-height: 1.5;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 11px 17px;
  border-radius: 7px;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 550;
}
.primary {
  background: #5853ca;
  color: white;
}
.primary:hover {
  background: #4740b6;
}
.secondary {
  background: #ececf4;
  color: #5e5a85;
}
.welcome-actions {
  display: flex;
  gap: 10px;
}
.welcome-footer {
  font-size: 0.72rem;
  color: #9291a0;
  margin: 24px 0 0;
}
.finder {
  display: flex;
  height: 100%;
  min-height: 0;
}
.sidebar {
  width: 161px;
  background: #efedf5;
  border-right: 1px solid var(--line);
  padding: 22px 10px;
  flex-shrink: 0;
  overflow: auto;
}
.sidebar .side-label {
  font-size: 0.67rem;
  color: #9793a4;
  margin: 0 10px 10px;
}
.side-button {
  width: 100%;
  display: flex;
  gap: 9px;
  align-items: center;
  text-align: left;
  padding: 8px 10px;
  font-size: 0.78rem;
  border-radius: 6px;
  margin: 2px 0;
  color: #676275;
}
.side-button.selected {
  background: #dedbeb;
  color: #514b83;
  font-weight: 600;
}
.side-button:hover {
  background: #e4e1ee;
}
.side-symbol {
  font-size: 1rem;
  width: 17px;
  color: #8e84be;
}
.finder-main {
  flex: 1;
  min-width: 0;
  overflow: auto;
  background: #fcfcfd;
}
.finder-toolbar {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 19px 25px 15px;
  border-bottom: 1px solid #efedf3;
}
.finder-toolbar h2 {
  font-size: 1.06rem;
  letter-spacing: -0.035em;
  margin: 0;
}
.finder-toolbar p {
  font-size: 0.72rem;
  margin: 5px 0 0;
  color: #8a8599;
}
.view-label {
  margin-left: auto;
  font-size: 1.05rem;
  color: #928d9d;
}
.project-grid {
  padding: 23px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 19px;
}
.project-card {
  padding: 0;
  text-align: left;
  min-width: 0;
  border-radius: 7px;
}
.project-card:hover .cover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #32324b1f;
}
.project-card:focus-visible {
  outline-offset: 7px;
}
.project-card h3 {
  font-size: 0.85rem;
  margin: 10px 0 3px;
  font-weight: 600;
}
.project-card p {
  font-size: 0.73rem;
  margin: 0;
  color: #8c8798;
}
.cover {
  position: relative;
  aspect-ratio: 1.58;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  background: #dddded;
  border-radius: 7px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover > span {
  position: relative;
}
.cover .cover-kicker {
  font-size: 0.52rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.cover .cover-word {
  font-size: 2.75rem;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-weight: 650;
}
.cover .cover-bottom {
  font-size: 0.6rem;
  letter-spacing: 0.02em;
}
.cover-ekz {
  background: #ddd947;
  color: #293c24;
}
.cover-ekz .cover-word {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.07em;
}
.cover-photo {
  background: #4455a3;
  color: #e3e8ff;
}
.cover-motion {
  background: #eb957b;
  color: #6c2b2e;
}
.cover-motion .cover-word {
  font-style: italic;
  font-weight: 500;
}
.cover-3d {
  background: #cad7c7;
  color: #365545;
}
.cover-branding {
  background: #e4d4f6;
  color: #643a83;
}
.cover-print {
  background: #e9e7df;
  color: #413d39;
}
.cover-web {
  background: #30333e;
  color: #bcccfb;
}
.finder-status {
  padding: 8px 15px;
  background: #f4f3f7;
  color: #94909f;
  border-top: 1px solid var(--line);
  font-size: 0.67rem;
  text-align: center;
  flex-shrink: 0;
}
.featured-window .window-body {
  background: #242630;
  color: #fff;
}
.featured-cover {
  min-height: 210px;
  padding: 28px 30px;
  position: relative;
  background: #dadd50;
  color: #29372a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-cover .eyebrow {
  color: #566240;
  font-size: 0.6rem;
  margin: 0;
}
.featured-cover .featured-logo {
  font-size: 6.2rem;
  letter-spacing: -0.08em;
  line-height: 1;
  font-weight: 800;
}
.featured-cover .feature-caption {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
}
.featured-info {
  padding: 23px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.featured-info h2 {
  font-size: 1rem;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.featured-info p {
  font-size: 0.75rem;
  color: #aaadb9;
  margin: 0;
}
.round-link {
  background: #f5f5fa;
  color: #35313d;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.dock {
  position: fixed;
  z-index: 10001;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px 7px;
  background: #ebe9fc38;
  border: 1px solid #ffffff6b;
  border-radius: 19px;
  backdrop-filter: blur(30px) saturate(1.5);
  box-shadow: 0 8px 25px #11164a3a;
}
.dock > div {
  display: flex;
  gap: 7px;
}
.dock-button {
  position: relative;
  padding: 0 2px 6px;
  transition: transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dock-button:hover {
  transform: translateY(-8px);
}
.dock-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  border: 1px solid #ffffff6b;
  box-shadow: 0 3px 8px #2427593d;
  background: linear-gradient(145deg, #8b9aef, #4553b2);
  color: white;
}
.dock-icon.work-app {
  background: linear-gradient(135deg, #99d6ff, #3686d0);
  font-size: 2.15rem;
}
.dock-icon.about-app {
  background: linear-gradient(145deg, #d6befc, #907ccf);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.1em;
}
.dock-icon.cv-app {
  background: linear-gradient(145deg, #fff, #e6e6ef);
  color: #6a6d8b;
  font-size: 1.25rem;
  font-weight: 650;
}
.dock-icon.contact-app {
  background: linear-gradient(145deg, #87bdff, #4a70e5);
}
.dock-icon.desktop-app {
  background: linear-gradient(145deg, #626b99, #343c6b);
}
.dock-label {
  display: none;
  position: absolute;
  bottom: 66px;
  white-space: nowrap;
  background: #f3f1faed;
  backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  box-shadow: 0 3px 9px #12134222;
}
.dock-button:hover .dock-label,
.dock-button:focus-visible .dock-label {
  display: block;
}
.dock-button.running:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
}
.dock-divider {
  width: 1px;
  height: 43px;
  background: #ffffff4f;
  margin: 0 4px;
}
.minimized-app {
  background: linear-gradient(135deg, #fbfaff, #d6d1ed);
  color: #635d84;
  font-size: 0.8rem;
  font-weight: 650;
}
.content-page {
  padding: 35px;
  line-height: 1.7;
}
.content-page h1 {
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
}
.content-page h2 {
  font-size: 1rem;
  margin-top: 27px;
}
.content-page p {
  color: #777184;
  font-size: 0.95rem;
}
.content-page .large-letter {
  height: 86px;
  width: 86px;
  display: grid;
  place-items: center;
  background: #e2dcf4;
  color: #7260a1;
  font-size: 2.6rem;
  letter-spacing: -0.09em;
  font-weight: 700;
  border-radius: 22px;
  margin-bottom: 25px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.skill-tags span {
  padding: 5px 10px;
  border: 1px solid #e0ddea;
  border-radius: 5px;
  font-size: 0.76rem;
  color: #6d647e;
}
.empty-note {
  background: #efedf6;
  padding: 15px 17px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #777083;
  line-height: 1.6;
}
.project-detail .cover {
  border-radius: 0;
  min-height: 230px;
  aspect-ratio: 2.3;
  padding: 30px;
}
.project-detail .cover-word {
  font-size: 5rem;
}
.project-detail .content-page {
  padding-top: 27px;
}
.project-detail h1 {
  font-size: 2rem;
  margin-bottom: 9px;
}
.detail-subtitle {
  margin-top: 0;
}
.detail-meta {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  font-size: 0.8rem;
  color: #746d81;
}
.detail-meta strong {
  color: #36313e;
}
.detail-image,
.detail-video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.noscript {
  position: fixed;
  inset: 15%;
  background: white;
  padding: 30px;
  z-index: 99999;
}
.back-mobile {
  display: none;
}
@keyframes window-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  #desktop-icons {
    right: 35px;
    grid-auto-columns: 110px;
    gap: 20px;
  }
  .wallpaper-type {
    left: 7%;
    top: 16%;
  }
}
@media (max-height: 740px) and (min-width: 761px) {
  #desktop-icons {
    grid-template-rows: repeat(4, 96px);
    grid-auto-columns: 90px;
    gap: 5px;
  }
  .desktop-icon {
    width: 90px;
  }
  .folder-icon {
    width: 57px;
    height: 40px;
  }
  .wallpaper-type {
    top: 8%;
  }
  .desktop-hint {
    display: none;
  }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .wallpaper-type {
    font-size: 6rem;
    top: 8%;
  }
  .menu-status {
    display: none;
  }
  #desktop-icons {
    right: 8px;
    grid-auto-columns: 88px;
    gap: 6px;
  }
  .desktop-icon {
    width: 88px;
  }
}
@media (max-width: 760px) {
  :root {
    --bar: 44px;
  }
  .menubar {
    padding: 0 16px;
    gap: 18px;
  }
  .menu-secondary,
  .menu-status {
    display: none;
  }
  .menubar time {
    font-size: 0.72rem;
  }
  .menubar .brand {
    font-size: 1.35rem;
  }
  body {
    overflow: auto;
  }
  #desktop {
    min-height: calc(100dvh - var(--bar));
    height: auto;
    overflow: visible;
    padding: 218px 14px 120px;
    background-attachment: fixed;
  }
  .wallpaper-type {
    top: 35px;
    left: 25px;
    font-size: 4.3rem;
  }
  .wallpaper-type small {
    font-size: 0.57rem;
    letter-spacing: 0.16em;
    margin-top: 16px;
  }
  #desktop-icons {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 18px 6px;
    align-content: initial;
  }
  .desktop-icon {
    width: 100%;
    min-height: 105px;
  }
  .desktop-icon > span:last-child {
    font-size: 0.82rem;
  }
  .desktop-hint {
    display: none;
  }
  .window {
    position: fixed !important;
    inset: 54px 9px 99px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
    border-radius: 12px;
    max-width: none !important;
  }
  .window.maximized {
    inset: 49px 5px 94px !important;
    width: auto !important;
    height: auto !important;
  }
  .window:not(.active) {
    visibility: hidden;
    pointer-events: none;
  }
  .titlebar {
    min-height: 49px;
    height: 49px;
    padding: 0 15px;
    cursor: default;
  }
  .traffic {
    gap: 12px;
  }
  .traffic button {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
  .traffic button span {
    opacity: 1;
    font-size: 13px;
  }
  .traffic .maximize {
    display: none;
  }
  .titlebar-title {
    padding-right: 12px;
  }
  .resize-handle {
    display: none;
  }
  .dock {
    bottom: 18px;
    padding: 8px 7px 6px;
    gap: 2px;
    max-width: calc(100vw - 20px);
    overflow: visible;
  }
  .dock > div {
    gap: 3px;
  }
  .dock-icon {
    width: 42px;
    height: 42px;
    font-size: 1.45rem;
  }
  .dock-button {
    padding: 0 1px 6px;
  }
  .dock-button:hover {
    transform: none;
  }
  .dock-divider {
    margin: 0 2px;
    height: 34px;
  }
  .dock-label {
    bottom: 58px;
  }
  #dock-minimized {
    max-width: 105px;
    overflow: auto;
  }
  .welcome-window .window-body {
    padding: 30px 26px;
  }
  .welcome-window h1 {
    font-size: 2.7rem;
  }
  .sidebar {
    width: 120px;
    padding: 16px 5px;
  }
  .side-button {
    font-size: 0.73rem;
    padding: 9px 6px;
    gap: 5px;
  }
  .sidebar .side-label {
    margin-left: 6px;
  }
  .side-symbol {
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 15px;
  }
  .finder-toolbar {
    padding: 18px 15px;
  }
  .finder-toolbar h2 {
    font-size: 1rem;
  }
  .finder-toolbar p {
    line-height: 1.4;
  }
  .project-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 23px;
  }
  .cover {
    min-height: 128px;
  }
  .content-page {
    padding: 25px;
  }
  .featured-cover {
    min-height: 55%;
  }
  .featured-info {
    padding: 24px;
  }
  .project-detail .cover {
    min-height: 180px;
  }
  .project-detail .cover-word {
    font-size: 4rem;
  }
  .window-body {
    scrollbar-width: thin;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.detail-video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 16px;
}

.detail-video-wrapper .detail-video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (min-width: 761px) {
  .wallpaper-type {
    top: 6%;
    font-size: clamp(4rem, 6vw, 7rem);
  }
  .wallpaper-type small {
    margin-top: 20px;
  }
}

/* Dock-bound genie motion; the live window is hidden only after it arrives. */
.window.dock-animating { animation:none!important; transition:none!important; visibility:visible!important; pointer-events:none!important; will-change:transform,opacity; }
.window.minimized:not(.dock-animating) { transition:none; }
.dock { max-width:calc(100vw - 24px); }
#dock-minimized { min-width:0; max-width:30vw; overflow-x:auto; scrollbar-width:thin; }
#dock-apps,.dock-divider,.home-button { flex-shrink:0; }
#dock-minimized .dock-button { flex-shrink:0; }
.cover-video { background:linear-gradient(135deg,#292753,#5954ba);color:#fff; }
.cover-run { background:#d8e8bc;color:#234832; }
.cover-santis { background:#e1e7ef;color:#284762; }
.cover-storace { background:#242329;color:#faf4e6; }
.cover-run .cover-word,.cover-santis .cover-word,.cover-storace .cover-word { font-size:clamp(1.1rem,2.8vw,2.4rem); }
.youtube-player { width:100%;aspect-ratio:16/9;margin:24px 0 10px;overflow:hidden;border-radius:12px;background:#242331; }
.youtube-player iframe { display:block;width:100%;height:100%;border:0; }
.video-load { width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#fff;background:linear-gradient(135deg,#282440,#50478d);padding:20px; }
.video-load>span:first-child { font-size:2.8rem; }
.video-load strong { font-size:1.05rem;font-weight:550; }
.video-load>span:last-child { font-size:.85rem;color:#e0dfee; }
.video-load:hover { background:linear-gradient(135deg,#393455,#665ba4); }
.content-page .video-fallback { font-size:.85rem;margin-top:0; }
.detail-video-wrapper .detail-video { margin:0; }
@media(max-width:760px) { #dock-minimized { max-width:80px; } .dock-icon { width:38px;height:38px; } .cover-santis .cover-word,.cover-storace .cover-word { font-size:1.3rem; } }

/* Allow space for icon edges, shadows and keyboard focus inside the scroll tray. */
#dock-minimized {
  padding:10px 6px;
  margin:-10px 0;
  align-items:center;
  overflow-y:hidden;
  scroll-padding-inline:6px;
  scrollbar-width:none;
}
#dock-minimized:empty { padding-inline:0; }
#dock-minimized::-webkit-scrollbar { display:none; }
#dock-minimized .dock-button { transform:none; }
#dock-minimized .dock-button:hover { transform:none;filter:brightness(1.08); }
#dock-minimized .dock-button:focus-visible { outline-offset:2px; }
.window.dock-animating { clip-path:none; }
