/* =================================================================
   Vibha — Cloud Desktop  ·  vibha.is/building
   Warm editorial × dreamy macOS. Built on the
   Vibha in Progress design system.
   ================================================================= */

@font-face {
  font-family: 'Caveat';
  src: url('fonts/Caveat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* design-system tokens */
  --berry:      #A8174A;
  --pink:       #F2B8C6;
  --cream:      #F5F0E8;
  --ink:        #2D2320;
  --fg-2:       #7A6B62;
  --border-warm:#E8DFD3;
  --sage:       #6B8856;

  /* this page */
  --sky-top:    #EDF4FB;
  --sky-bottom: #F5F0E8;
  --ink-blue:   #1A2B5E;     /* folder labels */
  --apple-yellow:#FAB800;
  --folder-pink:#F6A8C7;
  --folder-pink-dk:#EE8FB6;
  --folder-tab:#F8B9D2;

  --font-title: 'Cormorant Garamond', Georgia, serif;   /* window titles */
  --font-body:  'Switzer', -apple-system, system-ui, sans-serif;
  --font-script:'Caveat', cursive;
  --font-mono:  'SFMono-Regular', ui-monospace, 'JetBrains Mono', Menlo, monospace;
  --font-ui:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: default;
  user-select: none;
}

/* ---------- Sky (video background) ---------- */
#sky {
  position: fixed; inset: 0;
  background: linear-gradient(180deg, var(--sky-top) 0%, #F3F1EC 70%, var(--sky-bottom) 100%);
  overflow: hidden;
  z-index: 0;
}
#bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 900ms var(--ease-soft);
}
/* warm-toward-cream wash so it blends with the editorial palette + keeps text legible */
#sky-tint {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(237,244,251,0.10) 0%, rgba(243,241,236,0.18) 60%, rgba(245,240,232,0.55) 100%),
    radial-gradient(120% 80% at 50% 0%, rgba(255,253,245,0.28) 0%, rgba(255,253,245,0) 55%);
}
#glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.9;
  background: radial-gradient(circle at center,
    rgba(255,255,255,0.42) 0%,
    rgba(255,255,255,0.16) 35%,
    rgba(255,255,255,0.04) 56%,
    rgba(255,255,255,0) 72%);
  filter: blur(8px);
  will-change: transform;
}

/* ---------- Menu bar ---------- */
#menubar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 12px 0 10px;
  background: rgba(242, 244, 247, 0.78);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
  border-bottom: 1px solid rgba(141, 151, 165, 0.18);
  box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.52);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1;
}
#menubar .star {
  color: var(--apple-yellow);
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 0.5px 0.5px rgba(180,130,0,0.18);
}
#menubar .brand {
  color: rgba(24, 28, 34, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  margin-right: 8px;
  -webkit-text-fill-color: rgba(24, 28, 34, 0.92);
}
#menubar .mitem {
  text-decoration: none;
  color: rgba(38, 42, 48, 0.84);
  opacity: 1;
  font-weight: 500;
  font-size: 13px;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: default;
  white-space: nowrap;
  -webkit-text-fill-color: rgba(38, 42, 48, 0.84);
  transition: background 120ms linear, color 120ms linear;
}
#menubar .mitem:hover {
  background: rgba(56, 64, 74, 0.09);
  color: rgba(24, 28, 34, 0.96);
  -webkit-text-fill-color: rgba(24, 28, 34, 0.96);
}
#menubar .mitem.is-active {
  background: rgba(56, 64, 74, 0.12);
  color: rgba(20, 24, 30, 0.98);
  -webkit-text-fill-color: rgba(20, 24, 30, 0.98);
  box-shadow: inset 0 0 0 0.5px rgba(79, 90, 103, 0.08);
}
#menubar .spacer { flex: 1; }
#menubar .tray {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(52, 58, 66, 0.72);
  font-weight: 500;
  font-size: 12px;
}
#menubar .tray svg {
  display: block;
  opacity: 0.72;
}
#menubar #clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* ---------- Desktop ---------- */
#desktop {
  position: fixed;
  top: 28px; left: 0; right: 0; bottom: 0;
  z-index: 10;
}

/* ---------- Folder ---------- */
.folder {
  position: absolute;
  width: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: grab;
  touch-action: none;
  z-index: 12;
}
.folder.dragging { cursor: grabbing; z-index: 60; }
.folder:focus { outline: none; }

.folder-icon {
  position: relative;
  width: 92px; height: 76px;
  transition: transform 240ms var(--ease);
  will-change: transform;
}
.folder:hover .folder-icon { transform: translateY(-6px) scale(1.05); }
.folder.dragging .folder-icon { transform: scale(1.06); }

/* soft floating shadow under the icon */
.folder-icon .shadow {
  position: absolute;
  left: 50%; bottom: -10px;
  width: 70px; height: 14px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(45,35,32,0.22), rgba(45,35,32,0) 70%);
  filter: blur(2px);
  transition: all 240ms var(--ease);
}
.folder:hover .folder-icon .shadow { width: 60px; opacity: 0.7; bottom: -14px; filter: blur(4px); }

/* back panel (the tab) */
.folder-icon .back {
  position: absolute;
  top: 6px; left: 4px;
  width: 84px; height: 64px;
  border-radius: 11px 11px 13px 13px;
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--tab) 78%, white),
    color-mix(in srgb, var(--tab) 88%, black 12%));
  box-shadow: 0 6px 14px color-mix(in srgb, var(--tab) 40%, transparent);
}
.folder-icon .back::before {  /* the raised tab */
  content: '';
  position: absolute;
  top: -7px; left: 8px;
  width: 40px; height: 14px;
  border-radius: 7px 7px 0 0;
  background: color-mix(in srgb, var(--tab) 78%, white);
}
/* front panel */
.folder-icon .front {
  position: absolute;
  top: 16px; left: 4px;
  width: 84px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px 13px 13px 13px;
  background: linear-gradient(165deg,
    color-mix(in srgb, var(--tab) 50%, white) 0%,
    color-mix(in srgb, var(--tab) 70%, white) 50%,
    color-mix(in srgb, var(--tab) 92%, black 8%) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 8px 18px color-mix(in srgb, var(--tab) 38%, transparent);
  transform-origin: bottom center;
  transition: transform 260ms var(--ease);
}
.folder-emoji {
  font-size: 26px; line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.18));
  transition: transform 260ms var(--ease);
}
.folder:hover .folder-emoji { transform: translateY(-3px) scale(1.06); }
/* glow on hover */
.folder-icon::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 45%,
    color-mix(in srgb, var(--tab) 55%, white), transparent 70%);
  opacity: 0; transition: opacity 240ms var(--ease);
  z-index: -1;
}
.folder:hover .folder-icon::after { opacity: 0.9; }
/* "opening" — front lid tips forward on hover */
.folder:hover .folder-icon .front { transform: perspective(300px) rotateX(-24deg); }

.folder-label {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink-blue);
  text-align: center;
  max-width: 116px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
  pointer-events: none;
}

/* ---------- Window (native macOS app) ---------- */
.window {
  position: fixed;
  width: 900px;
  max-width: calc(100vw - 40px);
  background: rgba(252,249,243,0.86);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  border: 0.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  z-index: 50;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: center top;
  animation: win-open 300ms var(--ease) both;
  font-family: var(--font-ui);
}
@keyframes win-open {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.window.closing { animation: win-close 180ms var(--ease-soft) both; }
@keyframes win-close {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(6px) scale(0.98); }
}

/* title bar — 28px exact, system font */
.titlebar {
  position: relative;
  display: flex; align-items: center;
  height: 28px;
  padding: 0 12px;
  cursor: grab;
  background: linear-gradient(180deg, #FBF7EF, #F2EDE2);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  flex: none;
  font-family: var(--font-ui);
}
.titlebar.grabbing { cursor: grabbing; }
.lights { display: flex; gap: 8px; z-index: 2; }
.light { width: 12px; height: 12px; border-radius: 50%; position: relative; }
.light.r { background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.14); cursor: pointer; }
.light.y { background: #FEBC2E; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.14); }
.light.g { background: #28C840; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.14); }
.light.r:hover::after { content: '×'; position: absolute; inset: 0; font-size: 11px; line-height: 12px; text-align: center; color: rgba(80,0,0,0.55); font-weight: 700; }
.titlebar .win-name {
  position: absolute; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 600;
  color: #5A5248;
  letter-spacing: 0.01em;
  pointer-events: none;
}

/* toolbar — 36px, system font, with macOS search field */
.toolbar {
  display: flex; align-items: center; gap: 10px;
  height: 36px;
  padding: 0 12px;
  flex: none;
  cursor: grab;
  background: linear-gradient(180deg, #F6F1E8, #EFEAE0);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-family: var(--font-ui);
}
.toolbar.grabbing { cursor: grabbing; }
.toolbar .tb-title {
  font-size: 12px; font-weight: 500; color: var(--fg-2);
  letter-spacing: 0.02em;
}
.toolbar .tb-spacer { flex: 1; }
.search {
  display: flex; align-items: center; gap: 6px;
  width: 168px; height: 22px;
  padding: 0 8px;
  background: rgba(0,0,0,0.05);
  border: 0.5px solid rgba(0,0,0,0.08);
  border-radius: 6px;
}
.search svg { flex: none; }
.search input {
  border: 0; outline: 0; background: transparent;
  font-family: var(--font-ui);
  font-size: 12px; color: var(--ink);
  width: 100%;
}
.search input::placeholder { color: #9A958B; }

/* main = sidebar + content */
.win-main {
  display: flex;
  height: min(540px, calc(100vh - 184px));
  min-height: 360px;
}

/* sidebar */
.sidebar {
  width: 200px; flex: none;
  background: #F0ECDF;
  border-right: 1px solid rgba(0,0,0,0.08);
  padding: 8px 10px 16px;
  overflow-y: auto;
  font-family: var(--font-ui);
}
.sb-section {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.03em;
  color: #9A8F80;
  padding: 12px 8px 5px;
}
.sb-section:first-child { padding-top: 4px; }
.sb-row {
  position: relative;
  display: flex; align-items: center; gap: 9px;
  width: 100%;
  padding: 6px 9px;
  border: 0; background: transparent;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 13.5px; font-weight: 500;
  color: #3A332E;
  text-align: left;
  cursor: pointer;
  transition: background 120ms var(--ease);
}
.sb-row:hover { background: rgba(0,0,0,0.05); }
.sb-row .sb-ico { flex: none; }
.sb-row.selected { background: rgba(250,184,0,0.15); }
.sb-row.selected::before {
  content: ''; position: absolute;
  left: 0; top: 5px; bottom: 5px;
  width: 3px; border-radius: 0 2px 2px 0;
  background: var(--apple-yellow);
}

/* content area */
.win-content {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: min(648px, calc(100vh - 116px));
  background: transparent;
}

/* writeup (editorial body below the mockup) */
.writeup { padding: 26px 34px 32px; }
.wu-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wu-top-r { display: flex; align-items: center; gap: 8px; }
.wu-badge {
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.03em;
  color: #3D5230;
  border: 1px solid var(--sage);
  background: color-mix(in srgb, var(--sage) 10%, white);
  border-radius: 5px; padding: 3px 9px;
  white-space: nowrap;
}
.wu-ip {
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--burgundy);
  border: 1px solid color-mix(in srgb, var(--burgundy) 45%, white);
  background: color-mix(in srgb, var(--burgundy) 8%, white);
  border-radius: 5px; padding: 3px 8px;
}
.wu-block { margin: 18px 0; }
.wu-label {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 9px;
}
.wu-text {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.6; color: var(--ink);
  max-width: 64ch; margin: 0;
}
.wu-steps {
  list-style: none; counter-reset: s; margin: 0; padding: 0;
  max-width: 70ch;
}
.wu-steps li {
  counter-increment: s;
  position: relative;
  font-family: var(--font-body);
  font-size: 14.5px; line-height: 1.5; color: var(--ink);
  padding: 7px 0 7px 34px;
  border-bottom: 1px solid var(--border-warm);
}
.wu-steps li:last-child { border-bottom: 0; }
.wu-steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 7px;
  width: 22px; height: 22px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  color: var(--berry);
  border: 1px solid color-mix(in srgb, var(--berry) 35%, white);
  border-radius: 50%;
}
.wu-note {
  font-family: var(--font-script);
  font-size: 20px; font-weight: 600; color: var(--ink-blue);
  margin: 12px 0 0; transform: rotate(-1deg);
}
.wu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 22px 0; }
.tool-chip.skill { background: transparent; border-style: dashed; color: var(--fg-2); }
@media (max-width: 700px) { .wu-grid { grid-template-columns: 1fr; } }
.win-eyebrow {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--berry);
  margin: 0 0 8px;
}
.win-title {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.win-divider { width: 48px; height: 3px; background: var(--berry); border: 0; margin: 14px 0 18px; }
.win-desc {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.62; font-weight: 400;
  color: var(--ink);
  max-width: 52ch;
  margin: 0 0 22px;
}
.win-desc strong { font-weight: 600; }

/* preview / screenshot area */
.win-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
  background: #fff;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(45,35,32,0.05);
}
.win-preview image-slot { display: block; width: 100%; height: 230px; }
.preview-caption {
  font-family: var(--font-script);
  font-size: 19px; color: var(--fg-2);
  margin: 2px 0 22px; text-align: right;
}

/* outcome stat strip */
.win-outcomes {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin: 0 0 24px;
}
.outcome {
  flex: 1; min-width: 120px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  padding: 14px 16px;
}
.outcome .num {
  font-family: var(--font-title);
  font-size: 30px; font-weight: 600; line-height: 1;
  color: var(--berry);
}
.outcome .cap {
  font-family: var(--font-body);
  font-size: 12px; color: var(--fg-2);
  margin-top: 6px; line-height: 1.35;
}

/* tools used */
.tools-block { margin: 4px 0 26px; }
.tools-head {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-2);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.tools-head::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); display: inline-block; }
.tools-head .line { flex: 1; height: 1px; background: var(--border-warm); }
.tools-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  color: var(--ink);
  padding: 5px 10px;
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  background: rgba(255,255,255,0.5);
}

/* footer actions */
.win-actions { display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 8px; border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--berry); color: #fff; }
.btn-primary:hover { background: #8E0F3E; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-warm); }
.btn-ghost:hover { background: rgba(45,35,32,0.05); }
.btn svg { display: block; }

/* ---------- Bird ---------- */
/* ---------- Pixel birds (draggable) ---------- */
.pixbird {
  position: fixed;
  z-index: 40;
  width: 48px; height: 44px;
  cursor: grab;
  touch-action: none;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 4px rgba(45,35,32,0.28));
  transition: transform 180ms var(--ease);
}
.pixbird:hover { transform: translateY(-3px); }
.pixbird.dragging { cursor: grabbing; transition: none; }
.pixbird .bf {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.pixbird .bf.flap { opacity: 0; }
/* birds that face left */
.pixbird.flip .bf { transform: scaleX(-1); }
/* hover → wings open (show the spread frame) */
.pixbird:hover .bf.idle { opacity: 0; }
.pixbird:hover .bf.flap { opacity: 1; }
/* dragging → flap (alternate frames) */
.pixbird.flapping .bf.idle { animation: flapA 0.2s steps(1) infinite; }
.pixbird.flapping .bf.flap { animation: flapB 0.2s steps(1) infinite; }
@keyframes flapA { 0%,49.9% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes flapB { 0%,49.9% { opacity: 0; } 50%,100% { opacity: 1; } }
/* settle hop on drop */
.pixbird.settle { animation: bird-settle 360ms var(--ease); }
@keyframes bird-settle {
  0% { transform: translateY(-7px); }
  60% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

/* ---------- Post-it ---------- */
#postit {
  position: fixed;
  right: 48px; top: 58px;
  z-index: 35;
  width: 184px;
  padding: 18px 18px 22px;
  background: linear-gradient(165deg, #FFF6A8 0%, #FCEC7E 100%);
  box-shadow:
    0 1px 1px rgba(45,35,32,0.10),
    0 14px 26px rgba(45,35,32,0.20),
    inset 0 1px 0 rgba(255,255,255,0.5);
  transform: rotate(2.2deg);
  cursor: grab;
  touch-action: none;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
#postit:hover { transform: rotate(0.5deg) translateY(-2px); box-shadow: 0 2px 2px rgba(45,35,32,0.10), 0 20px 34px rgba(45,35,32,0.24); }
#postit.grabbing { cursor: grabbing; z-index: 90; transition: none; }
/* curled bottom-right corner */
#postit::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, rgba(0,0,0,0) 50%, rgba(210,190,90,0.55) 50%);
  border-bottom-right-radius: 2px;
}
.postit-tape {
  position: absolute;
  top: -9px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F2B8C6 0%, #C21F55 55%, #8E0F3E 100%);
  box-shadow: 0 3px 5px rgba(45,35,32,0.35), inset 0 1px 1.5px rgba(255,255,255,0.7);
  border: 0;
}
.postit-tape::after { content: none; }
.postit-head {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #8A7A23;
  margin: 2px 0 12px;
}
.postit-list {
  list-style: none; margin: 0; padding: 0;
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 500;
  color: #4A3F1A;
  line-height: 1.6;
}
.postit-list li {
  display: flex; align-items: center; gap: 9px;
}
.postit-list li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: #C9A93A;
  flex: none;
}

/* hint at very bottom */
#hint {
  position: fixed;
  left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 35;
  font-family: var(--font-script);
  font-size: 19px; color: var(--fg-2);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 400ms;
}

@media (max-width: 720px) {
  #postit { right: 16px; top: 46px; width: 150px; }
  .win-title { font-size: 36px; }
  .folder { width: 100px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  #menubar { gap: 8px; padding: 0 10px; font-size: 12px; overflow-x: auto; overflow-y: hidden; }
  #menubar .mitem { padding: 2px 5px; flex: 0 0 auto; }
  #desktop {
    display: flex; flex-wrap: wrap;
    align-content: flex-start; justify-content: center;
    gap: 22px 4px; padding: 22px 10px 70px;
    overflow-y: auto;
  }
  .folder { position: static; width: 31%; gap: 5px; }
  .folder:hover .folder-icon { transform: none; }
  #postit { display: none; }
  .pixbird { display: none; }
  #hint { font-size: 16px; bottom: 10px; }

  .window {
    left: 0 !important; right: 0 !important;
    width: auto !important; max-width: none;
    top: 34px !important;
    height: calc(100% - 34px); border-radius: 0;
    border-left: 0; border-right: 0;
  }
  .win-content { max-height: calc(100% - 28px); }
  .writeup, .about-writeup { padding: 22px 18px 30px; }
  .win-title { font-size: 30px; }
  .window--garden { width: 100vw !important; }
  .garden { height: calc(100vh - 62px); }
}
