/* The artwork and desktop panels share the same rose-tinted background. */
:root { --mint: #ffaad4; --ink: #fff1f7; --muted: #d5adbf; }
body { background: radial-gradient(ellipse at 50% 48%, #321023, #160b15 58%, #100810); }
body::before, body::after { display: none; }
.desktop { height: auto; min-height: 100svh; }
.bloom { position: fixed; left: 50%; top: 50%; width: min(55vw, 760px); height: auto; transform: translate(-50%, -50%); pointer-events: none; }
.desktop .xp-window { background: linear-gradient(145deg, #321827, #23101e); border-color: #ffaad433; }
.profile-window { left: auto; right: 4%; top: 100px; width: min(24vw, 330px); }
.links-window { right: 4%; top: 310px; width: min(24vw, 330px); }
.picture-window { left: 4%; top: 115px; transform: none; width: min(21vw, 270px); }
.music-window { left: 5%; top: 457px; width: min(21vw, 270px); }
.profile-inner .tab-panel { min-height: 0; }
.identity { padding: 0; }
.identity img, .picture-body img { filter: none; }
.identity h1 { margin: 0; font-size: clamp(23px, 2.3vw, 33px); }
.picture-body img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.dialog-actions, .explorer-menubar, .explorer-toolbar, .picture-menubar, .links-window .statusbar, .music-window .statusbar { display: none; }
.links-window .panel-heading { display: none; }
.links-grid { padding: 16px 12px; }
.links-grid > button:disabled { cursor: default; color: #d5adbf; background: #ffffff06; border-color: transparent; }
.links-grid .app-icon { width: 27px; height: 27px; }
.spotify-card { padding: 18px; grid-template-columns: 48px minmax(0, 1fr); gap: 10px 12px; }
.spotify-cover { width: 48px; height: 48px; }
.spotify-card > button:disabled { grid-column: 2; justify-self: start; border: 1px solid #ffaad42e; border-radius: 6px; background: transparent; color: var(--muted); padding: 5px 8px; cursor: default; }
.desktop-shortcuts { display: none; }
.desktop-shortcuts button { color: #f6d7e6; }
.desktop-shortcuts button[aria-pressed=true] { background: #ffaad42b; }
::selection { background: #e884b5; color: #200e1a; }

@media (max-width: 1099px), (max-height: 649px) {
  .desktop { display: flex; height: auto; min-height: 100svh; align-items: center; justify-content: center; padding: 32px 5% 90px 48%; }
  .desktop .xp-window { position: relative; inset: auto; width: 100%; max-width: 410px; margin: 0 auto; transform: none; }
  .desktop .xp-window:not(.mobile-active) { display: none; }
  .bloom { left: 24%; width: 53vw; }
  .desktop-shortcuts { display: flex; top: auto; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; right: auto; transform: translateX(-50%); width: min(440px, calc(100% - 24px)); padding: 5px; border: 1px solid #ffaad433; background: #241120; border-radius: 13px; }
  .desktop-shortcuts button { flex: 1; justify-content: center; min-height: 44px; font-size: 12px; }
  .window-controls { display: none; }
}
@media (max-width: 599px) {
  .desktop { display: block; padding: clamp(245px, 41svh, 350px) 16px 88px; }
  .bloom { position: absolute; left: 50%; top: clamp(140px, 23svh, 205px); width: min(112vw, 520px); }
}
.bloom { width: min(59vw, 850px); aspect-ratio: 960 / 760; mix-blend-mode: screen; }
.bloom > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; visibility: hidden; }
.bloom[data-phase="poster"] img,
.bloom[data-phase="intro"] .bloom-intro,
.bloom[data-phase="loop"] .bloom-loop { visibility: visible; }
.bloom-boot .xp-window,
.bloom-boot .desktop-shortcuts,
.awaiting-bloom { visibility: hidden; }
.bloom-opening .desktop-shortcuts { visibility: hidden; }
@media (max-width: 1099px), (max-height: 649px) {
  .bloom { width: 56vw; }
}
@media (max-width: 599px) {
  .bloom { width: min(124vw, 520px); }
}

.links-grid > .mail-link { grid-column: 1 / -1; }

.profile-window .identity { align-items: flex-start; gap: 18px; }
.avatar-column { display: flex; flex: 0 0 80px; flex-direction: column; align-items: center; gap: 9px; }
.profile-window .avatar-column img { display: block; width: 80px; height: 90px; object-fit: cover; border: 1px solid #ffaad433; border-radius: 11px; }
.presence { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #ffaad42e; border-radius: 999px; background: #ffffff06; color: #dbb7c8; font-size: 10px; white-space: nowrap; }
.presence > span { width: 5px; height: 5px; border-radius: 50%; background: #ad8598; }
.profile-window .identity h1 { margin-top: 10px; }
@media (max-width: 599px) {
  .profile-window .identity h1 { font-size: 32px; }
}
