:root {
  /* Win11 + Pastel Cyberpunk theme foundation */
  --color-bg-deep: #151a4b;
  --color-bg-surface: #28245f;
  --color-primary: #6b5cff;
  --color-primary-soft: #c9a7ff;
  --color-accent-pink: #ff8fd6;
  --color-accent-sakura: #ffc1ea;
  --color-accent-cyan: #62d8ff;
  --color-accent-mint: #8dfff3;
  --color-text: #fff6ff;
  --color-text-muted: rgba(255, 246, 255, 0.72);
  --color-glass: rgba(225, 210, 255, 0.45);
  --color-glass-strong: rgba(45, 37, 104, 0.7);
  --color-glass-border: rgba(255, 255, 255, 0.42);
  --color-focus: #8dfff3;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-soft: 0 12px 34px rgba(50, 30, 140, 0.2);
  --shadow-panel: 0 20px 60px rgba(50, 30, 140, 0.28);
  --shadow-neon-pink: 0 0 22px rgba(255, 143, 214, 0.48);
  --shadow-neon-cyan: 0 0 22px rgba(98, 216, 255, 0.42);
  --shadow-focus: 0 0 0 3px rgba(141, 255, 243, 0.3);

  --glass-blur: 24px;
  --glass-saturation: 145%;
  --motion-fast: 140ms;
  --motion-normal: 220ms;
  --ease-ui: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Existing theme aliases kept for backwards compatibility. */
  --cyan: #00f5e1;
  --cyan-dark: #008f8b;
  --pink: #f000d8;
  --hot-pink: #ff39df;
  --black: #050505;
  --paper: #e7e4dc;
  --paper-2: #d1cec6;
  --shadow: #050505;
  --blue: #5368dc;
  --rose: #df5e82;
  --gold: #e4cc00;
  --taskbar: #a8a8a3;
  --mono: "Courier New", "MS Gothic", "SimSun", monospace;
  --sans: Arial, Helvetica, sans-serif;
}

@property --window-lift {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  background: var(--pink);
  scroll-behavior: smooth;
  overflow: hidden;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  color: var(--black);
  font-family: var(--mono);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 50%, rgba(0, 0, 0, 0.11) 50%),
    url("assets/desktop-bg.png") center / cover no-repeat fixed,
    #12064b;
  background-size: 100% 4px, cover, auto;
  overflow: hidden;
  image-rendering: pixelated;
  animation: bg-flicker 8s steps(2, end) infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* Reusable UI foundation */
.glass-panel,
.floating-window,
.cyber-card {
  color: var(--color-text);
  border: 1px solid var(--color-glass-border);
  background: var(--color-glass);
  box-shadow: var(--shadow-panel);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
}

.glass-panel {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.glass-panel--strong {
  background: var(--color-glass-strong);
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  color: var(--color-text);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(107, 92, 255, 0.9), rgba(255, 143, 214, 0.9));
  box-shadow: var(--shadow-neon-pink);
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--motion-fast) var(--ease-ui),
    border-color var(--motion-fast) var(--ease-ui),
    box-shadow var(--motion-fast) var(--ease-ui),
    filter var(--motion-fast) var(--ease-ui);
}

.glass-button:hover {
  transform: scale(1.02);
  filter: brightness(1.06);
}

.glass-button:active,
.glass-button.is-pressing {
  transform: scale(0.98);
  box-shadow: none;
}

.glass-button--secondary {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.neon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 10px;
  color: var(--color-text);
  border: 1px solid rgba(141, 255, 243, 0.68);
  border-radius: var(--radius-full);
  background: rgba(98, 216, 255, 0.16);
  box-shadow: var(--shadow-neon-cyan);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.neon-badge--live {
  border-color: rgba(255, 143, 214, 0.8);
  background: rgba(255, 143, 214, 0.2);
  box-shadow: var(--shadow-neon-pink);
}

.floating-window {
  overflow: hidden;
  border-radius: var(--radius-xl);
  animation: floating-window-idle 6s ease-in-out infinite;
}

.floating-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.floating-window__body {
  padding: 20px;
}

.cyber-input {
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--color-text);
  caret-color: var(--color-accent-mint);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-md);
  outline: 0;
  background: rgba(21, 26, 75, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    border-color var(--motion-fast) var(--ease-ui),
    box-shadow var(--motion-fast) var(--ease-ui),
    background var(--motion-fast) var(--ease-ui);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.cyber-input::placeholder {
  color: var(--color-text-muted);
}

.cyber-input:focus {
  border-color: var(--color-focus);
  background: rgba(21, 26, 75, 0.62);
  box-shadow: var(--shadow-focus), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cyber-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--motion-normal) var(--ease-ui),
    border-color var(--motion-normal) var(--ease-ui),
    box-shadow var(--motion-normal) var(--ease-ui);
}

.cyber-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--color-accent-pink), var(--color-accent-cyan), transparent);
}

.cyber-card:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 255, 243, 0.64);
  box-shadow: var(--shadow-panel), var(--shadow-neon-cyan);
}

.glass-button:focus-visible,
.cyber-input:focus-visible,
.cyber-card:focus-visible {
  outline: 0;
  box-shadow: var(--shadow-focus), var(--shadow-panel);
}

@keyframes floating-window-idle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-window,
  .glass-button,
  .cyber-card {
    animation: none;
    transition-duration: 0.01ms;
  }
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.crt,
.noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.crt {
  opacity: 0.44;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.24) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.08), rgba(0, 255, 0, 0.025), rgba(0, 0, 255, 0.08));
  background-size: 100% 3px, 5px 100%;
  mix-blend-mode: multiply;
}

.noise {
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, #000 0 1px, transparent 1px);
  background-size: 9px 11px, 13px 15px;
  animation: noise-shift 240ms steps(2, end) infinite;
}

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 36px;
  overflow: hidden;
  color: var(--cyan);
  border-bottom: 2px solid var(--black);
  background: var(--black);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 6px;
  line-height: 36px;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.ticker span {
  padding-right: 38px;
}

.language-toggle {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 38px;
  margin-left: auto;
  place-items: center;
  color: var(--cyan);
  border: 3px solid #050505;
  border-top-color: #e8e8e8;
  border-left-color: #e8e8e8;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 4px),
    #202020;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.58);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 900;
}

.language-toggle::before {
  content: none;
}

.language-toggle:active,
.language-toggle.is-pressing {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.desktop {
  position: relative;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  padding: 50px 24px 76px;
  overflow: hidden;
}

.desktop-icons {
  position: fixed;
  top: 48px;
  left: 52px;
  z-index: 12;
  display: grid;
  gap: 28px;
}

.shortcut {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 126px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-shadow: 2px 2px 0 #000;
}

.icon-box {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 46px;
  box-shadow: none;
  transition: transform 150ms steps(2, end), filter 150ms steps(2, end);
}

.icon-box img {
  display: block;
  width: 116%;
  height: 116%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.34));
}

.live-shortcut-icon img {
  object-fit: contain;
  object-position: center;
}

.shortcut:hover .icon-box,
.shortcut:focus-visible .icon-box,
.shortcut.active .icon-box {
  transform: translate(-2px, -2px);
  filter: brightness(1.14);
}

.shortcut:active .icon-box,
.shortcut.is-pressing .icon-box {
  transform: translate(2px, 2px);
  filter: brightness(0.98);
}

.shortcut:active .icon-box img,
.shortcut.is-pressing .icon-box img {
  filter: none;
}

.shortcut:active .icon-label,
.shortcut.is-pressing .icon-label {
  transform: translate(2px, 2px);
  color: #fff;
  background: #000;
}

.icon-label {
  display: block;
  width: max-content;
  max-width: 118px;
  padding: 1px 5px;
  background: #000;
  transform: translateY(-8px);
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
  text-shadow: 2px 2px 0 #000;
  white-space: normal;
}

.teal {
  background: var(--cyan-dark);
}

.rose {
  background: var(--rose);
}

.blue {
  background: var(--blue);
}

.gold {
  background: var(--gold);
}

.window {
  position: fixed;
  z-index: 10;
  --window-scale: 1;
  --window-lift: 0px;
  transform-origin: top left;
  width: min(524px, calc(100vw - 220px));
  left: clamp(128px, 8vw, calc(100vw - 548px));
  top: 114px;
  border: 3px solid var(--black);
  background: var(--paper);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.66);
  transform: translateY(var(--window-lift)) scale(var(--window-scale));
  animation: window-boot 680ms steps(6, end) both, window-float 5.4s ease-in-out 900ms infinite;
}

.profile-window {
  width: min(980px, calc(100vw - 96px));
}

.profile-window .window-body {
  padding-bottom: 12px;
}

.profile-window .content-scroll {
  height: auto;
  max-height: calc(100dvh - 150px);
  padding: 10px 14px 10px 0;
  overflow-y: auto;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(300px, 0.85fr);
  align-items: start;
  gap: 18px;
}

.profile-details {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: min(68dvh, 650px);
  padding-bottom: 52px;
}

.mini-window {
  width: min(380px, calc(100vw - 220px));
}

.shoots-window {
  width: min(760px, calc(100vw - 96px));
  left: clamp(96px, 31vw, calc(100vw - 784px));
  top: 74px;
}

.shoots-window .window-bar {
  background: linear-gradient(90deg, #e33f65 0%, #ff647e 52%, #de2f57 100%);
}

.calendar-window {
  width: min(980px, calc(100vw - 80px));
  left: clamp(18px, 5vw, calc(100vw - 1004px));
  top: 64px;
}

.booking-window {
  width: min(520px, calc(100vw - 96px));
  left: clamp(144px, 24vw, calc(100vw - 404px));
  top: 430px;
}

.booking-window .window-bar {
  background: linear-gradient(90deg, #f4d000 0%, #ffd800 54%, #f0bd00 100%);
}

.booking-window .window-body {
  padding-bottom: 14px;
}

.booking-window .booking-system {
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 14px 12px 4px 0;
}

.image-viewer-window {
  width: min(740px, calc(100vw - 96px));
  left: clamp(128px, 22vw, calc(100vw - 764px));
  top: 58px;
}

.live-window {
  width: min(720px, calc(100vw - 96px));
  left: clamp(150px, 29vw, calc(100vw - 744px));
  top: 82px;
}

.window.reboot {
  animation: window-boot 680ms steps(6, end) both, window-float 5.4s ease-in-out 900ms infinite;
}

.window.is-minimized {
  visibility: hidden;
  pointer-events: none;
  animation: window-hide 220ms steps(4, end) both;
}

.window.is-closed {
  display: none;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 10px 0 14px;
  color: #fff;
  border-bottom: 3px solid var(--black);
  background: linear-gradient(90deg, var(--cyan-dark), var(--cyan));
  cursor: grab;
}

.window-bar p {
  margin: 0;
  font-size: 13px;
  font-style: italic;
  font-weight: 900;
  text-shadow: 1px 1px 0 #00524c;
}

.window-controls {
  display: flex;
  gap: 4px;
}

.window-button {
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid var(--black);
  background: var(--paper);
  box-shadow: inset -2px -2px #9d9a95;
  color: #111;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 12px;
  text-align: center;
}

.window-button:active,
.window-button.is-pressing {
  transform: translate(1px, 1px);
  box-shadow: none;
}

.window-button.close {
  background: #e63b55;
  color: #fff;
}

.window-body {
  padding: 14px 9px 0 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(210, 207, 198, 0.62)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 3px);
}

.content-scroll {
  height: 620px;
  max-height: calc(100dvh - 160px);
  padding: 12px 26px 26px 0;
  overflow-y: auto;
  scrollbar-color: #696969 #d5d2ca;
  scrollbar-width: thin;
}

.compact-scroll {
  height: 260px;
  padding: 14px 16px 18px 0;
}

.compact-scroll h2 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 26px;
  font-style: italic;
}

.content-scroll::-webkit-scrollbar {
  width: 18px;
}

.content-scroll::-webkit-scrollbar-track {
  border-left: 2px solid #94918b;
  background: #d5d2ca;
}

.content-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #d5d2ca;
  border-radius: 12px;
  background: #686868;
}

.hero-frame {
  position: relative;
  margin: 0;
  border: 3px solid #111;
  background: #08050d;
  overflow: hidden;
}

.hero-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.18) 50%),
    linear-gradient(90deg, rgba(0, 245, 225, 0.13), rgba(0, 0, 0, 0));
  background-size: 100% 3px, auto;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: min(68dvh, 650px);
  min-height: 0;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.04) contrast(1.06) brightness(0.94);
  transform: scale(1.01);
  animation: photo-glitch 7s steps(2, end) infinite;
}

.hero-frame figcaption {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 9px 14px;
  color: var(--cyan);
  background: #000;
  font-size: 12px;
  font-weight: 900;
}

.identity h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.identity {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 112px;
}

.identity-copy {
  min-width: 0;
}

.identity span {
  color: var(--cyan-dark);
  font-style: italic;
}

.identity p {
  margin: 6px 0 12px;
  font-size: 15px;
  font-weight: 900;
  color: #4b4b4b;
}

.charge-button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: auto;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 96px;
  min-height: 36px;
  margin-top: 0;
  padding: 0 7px;
  border: 1px solid var(--cyan-dark);
  border-radius: 9px;
  color: #ff5f91;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  text-decoration: none;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: transform 90ms ease, background-color 90ms ease;
}

.charge-button:hover {
  background: #fff7fa;
}

.charge-button:active {
  transform: translateY(2px);
  background: #fff0f5;
}

.charge-button span {
  color: #ff5f91;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.charge-button strong {
  font-weight: 500;
}

.profile-links {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.profile-link {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: #fff;
  text-decoration: none;
  border: 3px solid #111;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.72);
  background: #090909;
  font-size: 16px;
  font-weight: 900;
  transition: transform 120ms steps(2, end), box-shadow 120ms steps(2, end), filter 120ms steps(2, end);
}

.profile-link:hover {
  filter: brightness(1.12);
}

.profile-link:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.profile-link span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
}

.profile-link-qq span {
  font-size: 8px;
  white-space: nowrap;
}

.profile-link strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.profile-link-x {
  background: #050505;
}

.profile-link-rednote {
  background: linear-gradient(90deg, #f92f65, #eb113f);
}

.profile-link-qq {
  background: linear-gradient(90deg, #f31a1a, #d60000);
}

.profile-link-douyin {
  border-color: #25f4ee;
  background: linear-gradient(90deg, #0c0c0f 0%, #17131a 70%, #fe2c55 100%);
}

.profile-link-tiktok {
  border-color: #fe2c55;
  background: linear-gradient(90deg, #111 0%, #19141c 66%, #25f4ee 100%);
}

.profile-link-bilibili {
  border-color: #00a1d6;
  background: linear-gradient(90deg, #168ec7, #00a1d6);
}

.terminal-copy {
  margin-bottom: 26px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.65;
}

.terminal-copy p {
  margin: 0 0 6px;
}

.info-grid {
  display: grid;
  gap: 10px;
}

.info-grid article {
  padding: 12px;
  border: 2px solid #111;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 3px 3px 0 #77736c;
}

.info-grid article:active,
.info-grid article.is-pressing {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.info-grid span {
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 900;
}

.info-grid strong {
  display: block;
  margin: 6px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.info-grid p {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.list-panel {
  display: grid;
  gap: 10px;
}

.list-panel p,
.small-note {
  margin: 0;
  padding: 10px;
  border: 2px solid #111;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 3px 3px 0 #77736c;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.visual-diary {
  height: min(660px, calc(100dvh - 142px));
  padding: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(236, 234, 229, 0.7)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 3px);
}

.visual-diary h2 {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 2px dashed rgba(225, 55, 90, 0.8);
  color: #e33f65;
  background: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
}

.visual-diary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.visual-diary-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 2px solid #111;
  background: #fff;
  box-shadow: 3px 3px 0 rgba(80, 80, 80, 0.48);
}

.visual-diary-grid figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.1) 50%),
    linear-gradient(90deg, rgba(255, 58, 108, 0.06), rgba(0, 200, 220, 0.06));
  background-size: 100% 3px, 5px 100%;
  pointer-events: none;
}

.visual-diary-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-thumb {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.album-thumb:active,
.album-thumb.is-pressing {
  transform: translate(3px, 3px);
}

.image-viewer-body {
  padding: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(235, 234, 228, 0.72)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 3px);
}

.image-viewer-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 3px solid #111;
  background: transparent;
}

.image-viewer-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.12) 50%),
    linear-gradient(90deg, rgba(0, 245, 225, 0.08), rgba(255, 0, 95, 0.04));
  background-size: 100% 3px, 5px 100%;
  pointer-events: none;
}

.image-viewer-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  max-height: calc(100dvh - 188px);
  object-fit: contain;
}

.image-viewer-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  color: #555;
  font-size: 13px;
  font-weight: 900;
}

.image-viewer-footer strong {
  color: var(--cyan-dark);
}

.booking-system {
  padding: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(236, 234, 229, 0.72)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 3px);
}

.booking-panel {
  padding: 16px;
  border: 3px solid #111;
  background: rgba(255, 255, 255, 0.56);
}

.booking-panel h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.2;
}

.booking-panel h2 span {
  color: #d9ad00;
  font-size: 28px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.booking-panel p {
  margin: 0 0 14px;
  color: #18142f;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

.booking-link {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border: 3px solid #111;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.72);
  font-size: 15px;
  font-weight: 900;
  transition: transform 120ms steps(2, end), box-shadow 120ms steps(2, end), filter 120ms steps(2, end);
}

.booking-link:hover {
  filter: brightness(1.1);
}

.booking-link:active,
.booking-link.is-pressing {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.booking-link-home {
  background: #070707;
  box-shadow: 4px 4px 0 #d9ad00;
}

.booking-link-form {
  color: #061a17;
  background: linear-gradient(90deg, #0ed9c8, #00c6b5);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}

.calendar-grid span,
.calendar-grid b {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 2px solid #111;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.calendar-grid span {
  color: var(--cyan);
  background: #111;
}

.calendar-grid .today {
  color: #fff;
  background: var(--rose);
}

.calendar-window-body {
  padding: 16px;
}

.google-calendar-embed {
  position: relative;
  min-height: 590px;
  padding: 12px;
  border: 3px solid #111;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(230, 230, 224, 0.72)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 3px);
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.google-calendar-embed iframe {
  display: block;
  width: 100%;
  height: 560px;
  max-height: calc(100dvh - 150px);
  border: 0;
  background: #fff;
}

.live-window-body {
  padding: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(210, 207, 198, 0.56)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 3px);
}

.webcam-player {
  border: 3px solid #6932f6;
  background: #f7d9ff;
  box-shadow: inset 0 0 0 3px #d5f8ff;
}

.webcam-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: calc(100dvh - 126px);
  overflow: hidden;
  border-bottom: 3px solid #6932f6;
  background: #f6dfff;
}

.webcam-screen::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.1) 50%),
    linear-gradient(90deg, rgba(255, 0, 180, 0.08), rgba(0, 220, 255, 0.08));
  background-size: 100% 3px, 5px 100%;
  pointer-events: none;
}

.webcam-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  opacity: 0;
  animation: webcam-cycle 1.6s steps(1, end) infinite;
}

.webcam-screen img:nth-child(1) {
  animation-delay: 0s;
}

.webcam-screen img:nth-child(2) {
  animation-delay: 0.4s;
}

.webcam-screen img:nth-child(3) {
  animation-delay: 0.8s;
}

.webcam-screen img:nth-child(4) {
  animation-delay: 1.2s;
}

.webcam-status {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding: 0 4px;
  color: #6932f6;
  background: #d5f8ff;
  font-size: 11px;
  font-weight: 900;
}

.webcam-status span {
  margin-right: auto;
}

.webcam-status i {
  width: 7px;
  height: 7px;
  border: 2px solid #6932f6;
  background: #fff;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 108px 36px 36px auto 22px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 58px;
}

.calendar-pill,
.calendar-nav {
  height: 50px;
  border: 1px solid #777;
  border-radius: 28px;
  background: transparent;
  color: #202124;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.calendar-nav {
  border-color: transparent;
  border-radius: 50%;
  font-size: 30px;
}

.calendar-pill:active,
.calendar-nav:active,
.google-event:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.calendar-toolbar h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}

.calendar-caret {
  font-size: 18px;
}

.calendar-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 26px;
}

.calendar-tools .mode {
  min-width: 112px;
  font-size: 22px;
}

.calendar-warning {
  min-height: 44px;
  margin: 0 0 10px;
  padding: 10px 24px;
  border-radius: 10px;
  background: rgba(236, 210, 70, 0.72);
  color: #111;
  font-size: 17px;
  line-height: 24px;
}

.calendar-weekdays,
.google-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays span {
  padding: 8px 0 6px;
  color: #3c4043;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.google-calendar-grid {
  min-height: 500px;
  border-top: 1px solid rgba(60, 64, 67, 0.18);
  border-left: 1px solid rgba(60, 64, 67, 0.18);
}

.google-day {
  position: relative;
  min-height: 100px;
  padding: 24px 4px 4px;
  border-right: 1px solid rgba(60, 64, 67, 0.18);
  border-bottom: 1px solid rgba(60, 64, 67, 0.18);
  overflow: hidden;
}

.google-day.outside-month .day-number {
  color: #3c4043;
}

.day-number {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.google-day.today .day-number {
  display: grid;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1a73e8;
}

.google-event {
  display: block;
  width: 100%;
  height: 23px;
  margin-bottom: 4px;
  padding: 0 8px;
  overflow: hidden;
  color: #fff;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 23px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.google-logo {
  align-self: end;
  white-space: nowrap;
}

.google-logo span:nth-child(1),
.google-logo span:nth-child(4) {
  color: #4285f4;
}

.google-logo span:nth-child(2),
.google-logo span:nth-child(6) {
  color: #ea4335;
}

.google-logo span:nth-child(3) {
  color: #fbbc05;
}

.google-logo span:nth-child(5) {
  color: #34a853;
}

.calendar-popover {
  position: absolute;
  top: 120px;
  left: 31%;
  z-index: 4;
  display: grid;
  grid-template-columns: 28px 1fr;
  width: min(610px, 62%);
  min-height: 250px;
  padding: 58px 38px 28px;
  border-radius: 0 0 40px 40px;
  background: rgba(234, 238, 242, 0.96);
  box-shadow: 0 12px 34px rgba(60, 64, 67, 0.32);
}

.calendar-popover[hidden] {
  display: none;
}

.popover-close {
  position: absolute;
  top: 18px;
  right: 28px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
}

.event-dot {
  width: 18px;
  height: 18px;
  margin-top: 10px;
  border-radius: 5px;
  background: #039bd3;
}

.calendar-popover h3 {
  margin: 0;
  color: #202124;
  font-size: 34px;
  font-weight: 400;
}

.calendar-popover p {
  grid-column: 2;
  margin: 8px 0 52px;
  color: #3c4043;
  font-size: 21px;
}

.popover-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-left: 8px;
}

.popover-actions a {
  color: #1967d2;
  font-size: 18px;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 98px;
  z-index: 20;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  width: 346px;
  min-height: 96px;
  padding: 18px 16px;
  border: 3px solid #9ed3eb;
  background:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(218, 215, 207, 0.72)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 3px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
  animation: toast-in 900ms steps(8, end) 700ms both, toast-pulse 2s steps(2, end) 2s infinite;
}

.toast.hidden {
  display: none;
}

.toast button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  padding: 0;
  color: #888;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.toast button:active,
.toast button.is-pressing {
  transform: translate(1px, 1px);
  color: #222;
  box-shadow: none;
}

.toast-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: var(--blue);
  font-size: 25px;
}

.toast p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.toast strong,
.toast span {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.start-menu {
  position: fixed;
  left: 4px;
  bottom: 58px;
  z-index: 70;
  display: grid;
  grid-template-columns: 56px minmax(252px, 292px);
  min-height: 246px;
  border: 3px solid #242424;
  border-top-color: #f4f4f4;
  border-left-color: #f4f4f4;
  background: #bfbfbc;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.58);
  animation: start-pop 140ms steps(3, end) both;
}

.start-menu[hidden] {
  display: none;
}

.start-menu-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  color: #fff;
  background: linear-gradient(#5467d8, #178fd3);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  text-orientation: mixed;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.28);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.start-menu-list {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px 12px;
}

.start-menu-list hr {
  width: 100%;
  margin: 8px 0 10px;
  border: 0;
  border-top: 1px solid #9b9b9b;
  border-bottom: 1px solid #dedede;
}

.start-menu-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  min-height: 42px;
  padding: 3px 8px;
  color: #050505;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: left;
}

.start-menu-item:hover,
.start-menu-item:focus-visible {
  color: #fff;
  background: #273a9f;
  outline: none;
}

.start-menu-item:active,
.start-menu-item.is-pressing {
  transform: translate(2px, 2px);
  box-shadow: none;
  filter: brightness(0.96);
}

.menu-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  border: 2px solid currentColor;
  border-radius: 5px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
}

.menu-icon.teal {
  color: var(--cyan-dark);
}

.menu-icon.rose {
  color: #f23c78;
}

.menu-icon.blue {
  color: #5368dc;
}

.menu-icon.gold {
  color: #c99700;
}

.menu-icon.purple {
  color: #a100ff;
  font-size: 20px;
  border-color: transparent;
}

.start-menu-item:hover .menu-icon,
.start-menu-item:focus-visible .menu-icon {
  color: #fff;
}

.submenu-arrow {
  justify-self: end;
}

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 28;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 8px 12px;
  border-top: 3px solid #eee;
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(0, 0, 0, 0.08)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 4px),
    var(--taskbar);
  box-shadow: inset 0 3px #fff;
}

.start-button,
.task,
.tray {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 2px solid #282828;
  border-top-color: #f5f5f5;
  border-left-color: #f5f5f5;
  background: #c9c9c5;
  box-shadow: inset -2px -2px #64645f, inset 2px 2px #fff;
  font-weight: 900;
}

.start-button,
.task,
.toast button,
.window-button,
.info-grid article {
  transition: transform 80ms steps(2, end), box-shadow 80ms steps(2, end), filter 80ms steps(2, end);
}

.start-button {
  gap: 10px;
  padding: 0 16px;
  cursor: pointer;
}

.start-button:active,
.start-button.is-pressing,
.start-button.active,
.task:active,
.task.is-pressing {
  transform: translate(2px, 2px);
  border-top-color: #282828;
  border-left-color: #282828;
  border-right-color: #f5f5f5;
  border-bottom-color: #f5f5f5;
  box-shadow: none;
}

.start-button .start-mark {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  background: var(--cyan-dark);
}

.task {
  width: 118px;
  justify-content: center;
  font-size: 12px;
}

.task-list {
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
}

.task.is-hidden {
  display: none !important;
}

.task[hidden] {
  display: none !important;
}

.task.active {
  border-top-color: #222;
  border-left-color: #222;
  border-bottom-color: #ededed;
  border-right-color: #ededed;
  box-shadow: inset 2px 2px #606060, inset -2px -2px #fff;
}

.tray {
  gap: 12px;
  margin-left: 0;
  padding: 0 14px;
  min-width: 154px;
  justify-content: flex-end;
  border-top-color: #222;
  border-left-color: #222;
  border-bottom-color: #ededed;
  border-right-color: #ededed;
  box-shadow: inset 2px 2px #606060, inset -2px -2px #fff;
}

.tray span:nth-child(2) {
  color: var(--cyan-dark);
}

@keyframes marquee {
  to {
    transform: translateX(-33.333%);
  }
}

@keyframes bg-flicker {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }
  50% {
    filter: saturate(1.15) brightness(0.96);
  }
}

@keyframes noise-shift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(3px, -2px);
  }
}

@keyframes window-boot {
  0% {
    clip-path: inset(48% 48% 48% 48%);
    --window-lift: 12px;
    opacity: 0;
  }
  80% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    --window-lift: 0px;
  }
}

@keyframes window-float {
  0%,
  100% {
    --window-lift: 0px;
  }
  50% {
    --window-lift: -5px;
  }
}

@keyframes window-hide {
  0% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    --window-lift: 0px;
    visibility: visible;
  }
  99% {
    visibility: visible;
  }
  100% {
    clip-path: inset(46% 46% 46% 46%);
    opacity: 0;
    --window-lift: 10px;
    visibility: hidden;
  }
}

@keyframes photo-glitch {
  0%,
  92%,
  100% {
    transform: scale(1.035) translate(0, 0);
  }
  94% {
    transform: scale(1.04) translate(3px, -1px);
  }
  96% {
    transform: scale(1.032) translate(-2px, 2px);
  }
}

@keyframes toast-in {
  from {
    transform: translateX(120%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes toast-pulse {
  50% {
    filter: brightness(1.12);
  }
}

@keyframes start-pop {
  from {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes webcam-cycle {
  0%,
  24.99% {
    opacity: 1;
  }
  25%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  body {
    overflow: hidden;
  }

  .desktop {
    height: 100dvh;
    min-height: 100dvh;
    padding: 48px 12px 88px;
    overflow: hidden;
  }

  .desktop-icons {
    position: relative;
    top: auto;
    left: auto;
    z-index: 11;
    display: grid;
    grid-template-columns: repeat(4, minmax(62px, 1fr));
    gap: 10px;
    margin: 0 0 12px;
  }

  .shortcut {
    width: auto;
    min-width: 0;
    font-size: 10px;
  }

  .icon-box {
    width: min(22vw, 92px);
    height: min(22vw, 92px);
    min-width: 70px;
    min-height: 70px;
    font-size: 32px;
  }

  .icon-label {
    max-width: 98px;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
  }

  .window {
    position: fixed;
    left: 8px;
    top: 48px;
    width: calc(100vw - 16px);
    margin: 0;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.64);
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-details {
    min-height: 0;
    padding-bottom: 0;
  }

  .identity {
    padding-right: 0;
  }

  .charge-button {
    position: static;
    margin-top: 6px;
  }

  .mini-window,
  .shoots-window,
  .image-viewer-window,
  .calendar-window,
  .booking-window,
  .live-window {
    width: calc(100vw - 16px);
    margin: 12px 0 0;
  }

  .calendar-window-body {
    padding: 10px;
  }

  .google-calendar-embed {
    min-height: 560px;
    overflow-x: auto;
    padding: 12px;
  }

  .google-calendar-embed iframe {
    min-width: 760px;
    height: 540px;
  }

  .visual-diary {
    height: min(620px, calc(100dvh - 126px));
    padding: 12px;
  }

  .visual-diary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .calendar-toolbar {
    grid-template-columns: 82px 32px 32px minmax(130px, 1fr);
    min-width: 760px;
  }

  .calendar-tools,
  .calendar-caret {
    display: none;
  }

  .calendar-toolbar h2 {
    font-size: 22px;
  }

  .calendar-warning,
  .calendar-weekdays,
  .google-calendar-grid {
    min-width: 760px;
  }

  .google-day {
    min-height: 88px;
  }

  .calendar-popover {
    left: 18px;
    right: 18px;
    width: auto;
  }


  .content-scroll {
    height: min(62svh, 640px);
    padding-right: 18px;
  }

  .hero-frame img {
    height: min(82vw, 520px);
    object-position: center;
  }

  .identity h1 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .toast {
    right: 12px;
    bottom: 78px;
    width: min(340px, calc(100vw - 24px));
  }

  .ticker {
    font-size: 12px;
    letter-spacing: 4px;
  }

  .language-toggle {
    width: 42px;
    height: 38px;
    margin-left: auto;
    font-size: 13px;
  }

  .taskbar {
    gap: 8px;
    height: 62px;
    padding: 8px;
  }

  .start-menu {
    left: 8px;
    right: 8px;
    bottom: 62px;
    grid-template-columns: 44px 1fr;
    min-height: 238px;
  }

  .start-menu-rail {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .start-menu-item {
    grid-template-columns: 36px 1fr 18px;
    font-size: 12px;
  }

  .start-button {
    padding: 0 10px;
  }

  .task-list {
    flex: 1;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .task-list::-webkit-scrollbar {
    display: none;
  }

  .task {
    flex: 0 0 112px;
    width: 112px;
  }

  .tray {
    min-width: 92px;
    gap: 8px;
    padding: 0 8px;
  }

  .tray span:first-child {
    display: none;
  }
}

@media (max-aspect-ratio: 4 / 3) and (min-width: 901px) {
  .desktop-icons {
    top: 44px;
    left: 18px;
    gap: 12px;
  }

  .shortcut {
    width: 92px;
    font-size: 11px;
  }

  .icon-box {
    width: 82px;
    height: 82px;
  }

  .icon-label {
    max-width: 90px;
  }
}

@media (max-height: 520px) {
  .window,
  .window.reboot {
    animation: window-boot 260ms steps(4, end) both;
  }
}

@media (max-width: 420px) {
  .desktop-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .identity {
    gap: 8px;
  }

  .charge-button {
    gap: 4px;
    width: 80px;
    min-height: 32px;
    padding: 0 6px;
    font-size: 13px;
  }

  .charge-button span {
    font-size: 18px;
  }

  .visual-diary-grid {
    grid-template-columns: 1fr;
  }

  .toast {
    display: none;
  }

  .content-scroll {
    height: 58svh;
  }
}

.taskbar .task.is-hidden,
.taskbar .task[hidden] {
  display: none !important;
}

/* Win11 pastel cyberpunk desktop shell */
body {
  color: #201b4f;
  background:
    linear-gradient(135deg, rgba(42, 48, 145, 0.34), rgba(244, 145, 226, 0.2) 52%, rgba(80, 222, 255, 0.18)),
    url("assets/desktop-bg.png") center / cover no-repeat fixed,
    #17184d;
  background-size: cover, cover, auto;
  image-rendering: auto;
  animation: none;
}

.scanlines {
  opacity: 0.08;
  background-size: 100% 6px;
}

.noise {
  opacity: 0.025;
}

.ticker {
  top: 12px;
  right: 18px;
  left: 118px;
  height: 38px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-full);
  background: rgba(37, 30, 103, 0.42);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  font-size: 11px;
  letter-spacing: 3px;
  line-height: 36px;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.desktop {
  padding: 60px 122px 82px;
}

.desktop-icons {
  top: 18px;
  bottom: 80px;
  left: 14px;
  display: flex;
  width: 88px;
  padding: 12px 8px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 28px;
  background: rgba(57, 48, 137, 0.38);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

.shortcut {
  width: 70px;
  gap: 2px;
  padding: 5px 2px 2px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 18px;
  font-family: var(--sans);
  font-size: 9px;
  text-shadow: 0 1px 3px rgba(26, 14, 85, 0.8);
  transition:
    transform var(--motion-fast) var(--ease-ui),
    background var(--motion-fast) var(--ease-ui),
    border-color var(--motion-fast) var(--ease-ui);
}

.shortcut:hover,
.shortcut:focus-visible,
.shortcut.active {
  border-color: rgba(255, 255, 255, 0.4);
  outline: 0;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(143, 118, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 8px 18px rgba(35, 20, 105, 0.24);
}

.icon-box img {
  width: 108%;
  height: 108%;
  image-rendering: auto;
  filter: drop-shadow(0 5px 6px rgba(41, 20, 108, 0.28));
}

.shortcut:hover .icon-box,
.shortcut:focus-visible .icon-box,
.shortcut.active .icon-box {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.shortcut:active .icon-box,
.shortcut.is-pressing .icon-box {
  transform: scale(0.94);
}

.icon-label {
  max-width: 68px;
  padding: 2px 4px;
  border-radius: 7px;
  background: rgba(25, 20, 77, 0.48);
  transform: none;
  line-height: 1.15;
  text-shadow: none;
}

.shortcut:active .icon-label,
.shortcut.is-pressing .icon-label {
  transform: none;
  background: rgba(25, 20, 77, 0.72);
}

.window {
  color: #211c50;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 22px;
  background: rgba(239, 230, 255, 0.68);
  box-shadow:
    0 24px 70px rgba(30, 20, 105, 0.38),
    0 0 28px rgba(255, 132, 219, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
  backdrop-filter: blur(26px) saturate(155%);
}

.window::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(255, 150, 225, 0.85), rgba(155, 130, 255, 0.5), rgba(90, 226, 255, 0.78));
  pointer-events: none;
}

.window-bar,
.shoots-window .window-bar,
.booking-window .window-bar {
  height: 46px;
  padding: 0 10px 0 18px;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  background: linear-gradient(100deg, rgba(255, 121, 206, 0.74), rgba(143, 105, 255, 0.62), rgba(81, 208, 255, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  cursor: grab;
}

.window-bar p {
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 4px rgba(47, 25, 108, 0.55);
}

.window-controls {
  gap: 7px;
}

.window-button {
  display: grid;
  width: 25px;
  height: 25px;
  padding: 0;
  place-items: center;
  color: #51457f;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 4px 10px rgba(38, 20, 104, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1;
  transition: transform var(--motion-fast) var(--ease-ui), background var(--motion-fast) var(--ease-ui);
}

.window-button:hover {
  background: rgba(255, 255, 255, 0.78);
}

.window-button:active,
.window-button.is-pressing {
  transform: scale(0.86);
}

.window-button.close {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 91, 156, 0.78);
}

.window-body,
.image-viewer-body,
.booking-system,
.calendar-window-body,
.live-window-body,
.visual-diary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(224, 213, 255, 0.38));
}

.content-scroll {
  scrollbar-color: rgba(135, 104, 225, 0.58) transparent;
}

.content-scroll::-webkit-scrollbar-track {
  border: 0;
  background: transparent;
}

.content-scroll::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: var(--radius-full);
  background: rgba(135, 104, 225, 0.58);
  background-clip: padding-box;
}

.hero-frame,
.image-viewer-frame,
.google-calendar-embed,
.webcam-player,
.booking-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.hero-frame img {
  animation: none;
}

.hero-frame figcaption,
.neon-badge {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-full);
  background: rgba(255, 84, 177, 0.62);
  box-shadow: var(--shadow-neon-pink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.identity h1 {
  color: #211c50;
}

.identity span {
  color: #7d55d9;
}

.identity p {
  color: #615a86;
}

.charge-button,
.glass-button,
.booking-link,
.profile-link {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(55, 35, 135, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition:
    transform var(--motion-fast) var(--ease-ui),
    box-shadow var(--motion-fast) var(--ease-ui),
    filter var(--motion-fast) var(--ease-ui);
}

.charge-button {
  color: #ff5f9d;
  border-color: rgba(255, 113, 184, 0.62);
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.profile-link {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 18px rgba(47, 24, 112, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.profile-link:hover,
.booking-link:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.profile-link:active,
.booking-link:active,
.booking-link.is-pressing {
  transform: scale(0.98);
  box-shadow: none;
}

.list-panel p,
.small-note,
.info-grid article,
.visual-diary-grid figure,
.calendar-grid span,
.calendar-grid b {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 8px 22px rgba(51, 31, 125, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.visual-diary h2 {
  border: 1px solid rgba(255, 116, 187, 0.48);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.44);
}

.visual-diary-grid figure {
  transition: transform var(--motion-normal) var(--ease-ui), box-shadow var(--motion-normal) var(--ease-ui);
}

.visual-diary-grid figure.cyber-card {
  padding: 0;
}

.visual-diary-grid figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-panel), var(--shadow-neon-pink);
}

.booking-link-home {
  background: linear-gradient(135deg, rgba(68, 49, 146, 0.9), rgba(124, 85, 202, 0.88));
  box-shadow: 0 10px 24px rgba(55, 35, 135, 0.2);
}

.booking-link-form {
  color: #fff;
  background: linear-gradient(135deg, rgba(65, 207, 225, 0.9), rgba(103, 132, 247, 0.88));
}

.webcam-screen {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px 16px 0 0;
}

.webcam-status {
  height: 24px;
  color: #6751b6;
  background: rgba(255, 255, 255, 0.48);
}

.start-menu {
  left: 50%;
  bottom: 76px;
  grid-template-columns: 46px minmax(272px, 320px);
  min-height: 236px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background: rgba(235, 225, 255, 0.72);
  box-shadow: var(--shadow-panel), 0 0 28px rgba(255, 137, 218, 0.24);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
  backdrop-filter: blur(28px) saturate(155%);
}

.start-menu-rail {
  background: linear-gradient(180deg, rgba(128, 92, 238, 0.88), rgba(255, 111, 196, 0.76));
}

.start-menu-list hr {
  border: 0;
  border-top: 1px solid rgba(102, 79, 170, 0.22);
}

.start-menu-item {
  color: #2f285e;
  border-radius: 12px;
}

.start-menu-item:hover,
.start-menu-item:focus-visible {
  color: #fff;
  background: linear-gradient(100deg, rgba(132, 94, 238, 0.78), rgba(255, 113, 198, 0.72));
}

.menu-icon {
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.48);
}

.taskbar {
  right: 14px;
  bottom: 12px;
  left: 14px;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  background: rgba(226, 216, 255, 0.54);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(26px) saturate(165%);
  backdrop-filter: blur(26px) saturate(165%);
}

.start-button,
.task,
.tray,
.language-toggle {
  min-height: 38px;
  color: #30285f;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 5px 14px rgba(45, 29, 112, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.start-button {
  flex: 0 0 auto;
}

.start-button .start-mark {
  border-radius: 8px;
  background: linear-gradient(135deg, #7962ef, #ff74c5);
}

.task-list {
  flex: 0 1 auto;
  justify-content: center;
}

.task {
  width: 112px;
}

.task.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(110deg, rgba(124, 92, 231, 0.86), rgba(255, 117, 201, 0.78));
  box-shadow: 0 7px 18px rgba(86, 56, 178, 0.26);
}

.start-button:active,
.start-button.is-pressing,
.start-button.active,
.task:active,
.task.is-pressing {
  transform: scale(0.95);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.language-toggle {
  width: 52px;
  height: 38px;
  margin-left: 0;
  color: #7458d7;
  font-family: var(--sans);
}

.tray {
  min-width: 132px;
  gap: 10px;
  justify-content: center;
}

.tray span:nth-child(2) {
  color: #7a58d4;
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  background: rgba(233, 224, 255, 0.7);
  box-shadow: var(--shadow-panel);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

@media (max-width: 900px) {
  .desktop {
    padding: 54px 10px 84px;
  }

  .ticker {
    right: 10px;
    left: 10px;
  }

  .desktop-icons {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    padding: 7px;
    grid-template-columns: repeat(5, minmax(52px, 1fr));
    border-radius: 20px;
  }

  .shortcut {
    width: auto;
    padding: 3px 1px;
  }

  .icon-box {
    width: min(15vw, 62px);
    height: min(15vw, 62px);
    min-width: 46px;
    min-height: 46px;
  }

  .icon-label {
    max-width: 62px;
    font-size: 8px;
  }

  .window {
    left: 8px;
    top: 54px;
    width: calc(100vw - 16px);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(30, 20, 105, 0.34), 0 0 20px rgba(255, 132, 219, 0.2);
  }

  .taskbar {
    right: 8px;
    bottom: 8px;
    left: 8px;
    gap: 6px;
    height: 62px;
    padding: 7px;
    border-radius: 17px;
  }

  .start-menu {
    right: auto;
    left: 50%;
    bottom: 76px;
    width: min(360px, calc(100vw - 16px));
  }

  .start-button {
    padding: 0 8px;
  }

  .start-button > span:last-child {
    display: none;
  }

  .task-list {
    justify-content: flex-start;
  }

  .task {
    flex: 0 0 88px;
    width: 88px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tray {
    min-width: 74px;
  }
}

@media (max-width: 520px) {
  .desktop-icons {
    grid-template-columns: repeat(5, minmax(44px, 1fr));
    gap: 2px;
  }

  .icon-box {
    width: 48px;
    height: 48px;
  }

  .icon-label {
    display: none;
  }

  .task-list {
    display: none;
  }

  .language-toggle {
    margin-left: auto;
  }
}

@keyframes start-pop {
  from {
    transform: translate(-50%, 10px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
}

/* Mobile app shell inspired by the mobile UI reference */
@media (max-width: 640px) {
  html,
  body {
    overflow: hidden;
    background: #0f1038;
  }

  body {
    color: #fff7ff;
    background:
      linear-gradient(180deg, rgba(12, 13, 49, 0.9), rgba(33, 21, 86, 0.92) 56%, rgba(20, 15, 58, 0.96)),
      linear-gradient(135deg, rgba(255, 98, 203, 0.22), rgba(92, 88, 255, 0.2), rgba(67, 218, 255, 0.14)),
      url("assets/desktop-bg.png") center / cover no-repeat fixed;
  }

  .crt,
  .noise {
    opacity: 0.045;
  }

  .ticker {
    top: 10px;
    right: 12px;
    left: 12px;
    height: 30px;
    border-radius: 999px;
    font-size: 9px;
    letter-spacing: 2px;
    line-height: 28px;
    opacity: 0.72;
  }

  .desktop {
    height: 100dvh;
    min-height: 100dvh;
    padding: 52px 10px 92px;
    overflow: hidden;
  }

  .desktop::before {
    position: fixed;
    top: 15px;
    left: 22px;
    z-index: 74;
    content: "ON AIR";
    color: #ff8fd6;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(255, 143, 214, 0.78);
    pointer-events: none;
  }

  .desktop-icons {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 88;
    display: grid;
    width: auto;
    height: 70px;
    padding: 7px 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    border-radius: 24px;
    background: rgba(38, 29, 91, 0.78);
    box-shadow: 0 18px 46px rgba(8, 8, 38, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
  }

  .shortcut {
    display: grid;
    width: auto;
    min-width: 0;
    height: 56px;
    padding: 4px 2px;
    place-items: center;
    gap: 2px;
    border-radius: 17px;
    color: rgba(255, 246, 255, 0.74);
    font-family: var(--sans);
    font-size: 10px;
    text-shadow: none;
  }

  .shortcut.active,
  .shortcut:hover,
  .shortcut:focus-visible {
    color: #fff;
    border-color: rgba(255, 143, 214, 0.54);
    background: linear-gradient(180deg, rgba(255, 107, 203, 0.34), rgba(126, 96, 255, 0.2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 18px rgba(255, 113, 198, 0.22);
    transform: none;
  }

  .icon-box {
    width: 28px;
    height: 28px;
    min-width: 0;
    min-height: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
  }

  .icon-box img {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 0 8px rgba(255, 143, 214, 0.42));
  }

  .icon-label {
    display: block;
    max-width: 58px;
    padding: 0;
    overflow: hidden;
    color: inherit;
    background: transparent;
    font-size: 10px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .taskbar {
    top: 10px;
    right: 12px;
    bottom: auto;
    left: auto;
    z-index: 84;
    width: auto;
    height: 30px;
    padding: 3px;
    gap: 5px;
    border-radius: 999px;
    background: rgba(31, 24, 78, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }

  .start-button {
    display: none;
  }

  .task-list {
    display: none;
  }

  .language-toggle {
    width: 34px;
    height: 24px;
    min-height: 24px;
    margin-left: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 143, 214, 0.22);
    font-size: 10px;
  }

  .tray {
    min-width: 54px;
    height: 24px;
    min-height: 24px;
    padding: 0 8px;
    gap: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    font-size: 10px;
  }

  .tray span {
    display: none;
  }

  .window,
  .mini-window,
  .shoots-window,
  .image-viewer-window,
  .calendar-window,
  .booking-window,
  .live-window {
    right: auto;
    left: 10px !important;
    top: 50px !important;
    width: calc(100vw - 20px) !important;
    height: calc(100dvh - 150px - env(safe-area-inset-bottom));
    max-width: none;
    max-height: calc(100dvh - 150px - env(safe-area-inset-bottom));
    margin: 0;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(35, 27, 87, 0.78);
    box-shadow: 0 22px 54px rgba(6, 7, 32, 0.5), 0 0 28px rgba(255, 117, 201, 0.24);
    transform-origin: top center;
  }

  .window.reboot {
    animation: window-boot 260ms ease both;
  }

  .window-bar,
  .shoots-window .window-bar,
  .booking-window .window-bar {
    height: 42px;
    padding: 0 10px 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(110deg, rgba(125, 90, 235, 0.72), rgba(255, 112, 202, 0.48));
  }

  .window-bar p {
    max-width: calc(100vw - 112px);
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .window-button {
    width: 28px;
    height: 28px;
    min-height: 28px;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
  }

  .window-button.close {
    background: rgba(255, 83, 155, 0.68);
  }

  .window-body,
  .floating-window__body,
  .image-viewer-body,
  .calendar-window-body,
  .live-window-body {
    height: calc(100dvh - 192px - env(safe-area-inset-bottom));
    padding: 10px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(71, 53, 150, 0.42), rgba(28, 22, 73, 0.76));
  }

  .content-scroll,
  .profile-window .content-scroll,
  .compact-scroll {
    height: 100%;
    max-height: none;
    padding: 0 4px 12px 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .content-scroll::-webkit-scrollbar {
    display: none;
  }

  .profile-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-frame {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-frame img {
    height: clamp(200px, 34dvh, 330px);
    object-fit: cover;
    object-position: center;
  }

  .hero-frame figcaption {
    top: 12px;
    right: 12px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .profile-details,
  .identity,
  .profile-links,
  .visual-diary h2,
  .booking-panel,
  .webcam-player,
  .google-calendar-embed,
  .image-viewer-frame {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 24px rgba(9, 7, 35, 0.22);
  }

  .profile-details {
    min-height: 0;
    margin-top: 4px;
    padding: 12px;
  }

  .identity {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 14px 12px;
    gap: 10px;
  }

  .identity-copy {
    min-width: 0;
  }

  .identity h1 {
    color: #fff;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .identity span {
    color: #ff8fd6;
    text-shadow: 0 0 14px rgba(255, 143, 214, 0.42);
  }

  .identity p {
    color: rgba(255, 246, 255, 0.72);
    font-size: 12px;
    line-height: 1.55;
  }

  .charge-button {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 92px;
    height: 36px;
    min-height: 36px;
    padding: 0 8px;
    border-color: rgba(255, 143, 214, 0.82);
    border-radius: 13px;
    color: #ff77bb;
    background: rgba(255, 255, 255, 0.1);
    font-size: 14px;
  }

  .charge-button span {
    font-size: 18px;
  }

  .profile-links {
    padding: 10px;
    gap: 8px;
    margin-top: 10px;
  }

  .profile-link,
  .booking-link {
    min-height: 46px;
    border-radius: 15px;
    grid-template-columns: 44px 1fr;
    font-size: 13px;
  }

  .booking-link {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    padding: 0 10px;
  }

  .profile-link span,
  .booking-link span {
    width: 28px;
    height: 28px;
  }

  .booking-link span {
    justify-self: center;
    display: inline-grid;
    width: 46px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 14px rgba(255, 143, 214, 0.22);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.48);
  }

  .booking-link strong {
    grid-column: 2;
    min-width: 0;
    text-align: center;
  }

  .booking-link-form span {
    font-size: 9px;
  }

  .visual-diary {
    height: 100%;
    padding: 0;
    background: transparent;
  }

  .visual-diary h2 {
    margin: 0 0 10px;
    padding: 12px;
    color: #ff9fda;
    font-size: 12px;
  }

  .visual-diary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .visual-diary-grid figure {
    border-radius: 18px;
  }

  .image-viewer-frame img {
    max-height: calc(100dvh - 230px);
  }

  .google-calendar-embed {
    min-height: 0;
    height: 100%;
    padding: 8px;
    overflow: auto;
  }

  .google-calendar-embed iframe {
    width: 100%;
    min-width: 720px;
    height: calc(100dvh - 216px - env(safe-area-inset-bottom));
    max-height: none;
    border-radius: 16px;
  }

  .booking-system {
    height: 100%;
    padding: 0;
    background: transparent;
  }

  .booking-panel {
    padding: 16px;
  }

  .booking-panel p {
    color: rgba(255, 246, 255, 0.86);
    font-size: 15px;
  }

  .live-window-body {
    display: grid;
    place-items: center;
  }

  .webcam-player {
    width: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  .webcam-screen {
    max-height: calc(100dvh - 238px - env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
  }

  .toast {
    right: 14px;
    bottom: 92px;
    left: 14px;
    width: auto;
    min-height: 74px;
    border-radius: 22px;
    background: rgba(44, 34, 104, 0.86);
    color: #fff;
  }

  .start-menu {
    right: 10px;
    bottom: 88px;
    left: 10px;
    width: auto;
    min-height: auto;
    grid-template-columns: 38px 1fr;
    border-radius: 24px;
    transform: none;
    animation: mobile-start-pop 160ms var(--ease-ui) both;
  }

  .start-menu-item {
    min-height: 48px;
    color: #fff;
    border-radius: 15px;
  }
}

@keyframes mobile-start-pop {
  from {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 380px) {
  .desktop-icons {
    height: 64px;
    padding: 6px;
  }

  .shortcut {
    height: 52px;
    font-size: 9px;
  }

  .icon-label {
    max-width: 48px;
    font-size: 9px;
  }

  .icon-box,
  .icon-box img {
    width: 26px;
    height: 26px;
  }

  .window,
  .mini-window,
  .shoots-window,
  .image-viewer-window,
  .calendar-window,
  .booking-window,
  .live-window {
    left: 8px !important;
    width: calc(100vw - 16px) !important;
    height: calc(100dvh - 142px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 142px - env(safe-area-inset-bottom));
  }

  .window-body,
  .floating-window__body,
  .image-viewer-body,
  .calendar-window-body,
  .live-window-body {
    height: calc(100dvh - 184px - env(safe-area-inset-bottom));
  }

  .profile-link,
  .booking-link {
    font-size: 12px;
  }

  .booking-link {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
  }

  .booking-link span {
    width: 40px;
    height: 28px;
  }

  .identity {
    grid-template-columns: 1fr;
  }

  .identity h1 {
    font-size: clamp(20px, 8vw, 27px);
  }

  .charge-button {
    grid-column: 1;
    grid-row: auto;
    justify-self: end;
  }
}
