:root {
  --xp-blue: #176ee8;
  --xp-dark: #052a7a;
  --xp-green: #4db331;
  --window: #edf5ff;
  --chrome: #c7d9f3;
  --ink: #101827;
  --acid: #63ff38;
  --hot: #ff3d91;
}

* { box-sizing: border-box; }

img, video, iframe {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Tahoma, Verdana, Segoe UI, sans-serif;
  background: #05070b;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.desktop {
  position: relative;
  min-height: 100vh;
  overflow: hidden auto;
  padding: 34px 26px 96px;
  isolation: isolate;
}

.wallpaper {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(115deg, rgba(1, 5, 13, .56), rgba(1, 7, 16, .18) 48%, rgba(1, 5, 13, .62)),
    url("assets/images/fondoweb.jpg") center center / cover no-repeat,
    #05070b;
}

.wallpaper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, .18), rgba(2, 8, 18, .52));
  opacity: 1;
}

.wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 45%, rgba(104, 219, 255, .08) 46%, transparent 48%);
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
  opacity: .28;
}

.desktop-icons {
  position: fixed;
  top: 34px;
  left: 18px;
  z-index: 5;
  display: grid;
  gap: 16px;
  width: 108px;
}

.desktop-icon {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 74px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.12;
  text-shadow: 1px 1px 2px #001a4b;
}

.desktop-icon:hover span:last-child,
.desktop-icon:focus-visible span:last-child {
  background: rgba(0, 63, 160, .55);
  outline: 1px dotted rgba(255,255,255,.85);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  background: linear-gradient(#7bd0ff, #0b5fd2);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 2px rgba(255,255,255,.45), 0 8px 16px rgba(0,0,0,.25);
}

.icon-box img {
  width: 38px;
  height: 38px;
  display: block;
}

.window {
  position: relative;
  z-index: 3;
  border: 1px solid #003caa;
  border-radius: 8px 8px 4px 4px;
  background: var(--window);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255,255,255,.8);
  overflow: hidden;
  max-width: 100%;
}

.titlebar {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px 5px 10px;
  color: white;
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 1px #002d82;
  cursor: default;
  background: linear-gradient(#48a3ff, #1266e8 48%, #0746bd 50%, #2d88ff);
}

.title-dot, .buddy {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: radial-gradient(circle at 35% 25%, #fff, #75d8ff 30%, #0f6ad7 70%);
  border: 1px solid rgba(255,255,255,.75);
}

.title-dot.play { background: radial-gradient(circle at 35% 25%, #fff, #8cff6c 30%, #1b7d10 70%); }
.title-dot.calendar { background: radial-gradient(circle at 35% 25%, #fff, #ffe780 30%, #f06f20 70%); }
.title-dot.image-dot { background: radial-gradient(circle at 35% 25%, #fff, #ff8dcb 30%, #6b23ba 70%); }
.title-dot.mail { background: radial-gradient(circle at 35% 25%, #fff, #a7fffb 30%, #0b7491 70%); }
.buddy { border-radius: 5px; background: radial-gradient(circle at 50% 28%, #ddfff0 0 13%, #69d75f 14% 33%, #278f24 34% 100%); }

.window-actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.window-actions button {
  width: 24px;
  height: 22px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 4px;
  color: #fff;
  font: 700 13px/1 Tahoma, sans-serif;
  background: linear-gradient(#8cc7ff, #126de7);
  box-shadow: inset 0 1px rgba(255,255,255,.55);
}

.window-actions button:last-child { background: linear-gradient(#ff9c7c, #e23016); }

.startup-hero {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  min-height: min(780px, calc(100vh - 118px));
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(300px, .85fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
  justify-items: stretch;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 4vw, 54px);
  overflow: visible;
}

.startup-hero::before {
  content: none;
}

.system-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 8px;
  color: #063b8f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid #8bb8ed;
  background: #dcebff;
}

.status-label {
  align-items: center;
  gap: 7px;
}

.status-label span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34e447;
  box-shadow: 0 0 0 2px rgba(52,228,71,.18), 0 0 12px rgba(52,228,71,.85);
}

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 6px;
  font-size: clamp(56px, 10vw, 132px);
  line-height: .82;
  color: #fff;
  text-shadow: 0 0 24px rgba(96, 210, 255, .42), 0 8px 0 rgba(0, 0, 0, .2);
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 5vw, 58px);
  line-height: .95;
}

.lead {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.35;
}

.hero-actions, .controls, .contact-grid { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.xp-button {
  appearance: none;
  border: 1px solid #315d9f;
  border-radius: 4px;
  color: #071c38;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px;
  background: linear-gradient(#fff, #d8e9ff 48%, #b8d4fa 49%, #f8fbff);
  box-shadow: inset 0 1px #fff, 0 4px 10px rgba(0,0,0,.15);
  cursor: pointer;
}

.xp-button.primary {
  color: #fff;
  text-shadow: 0 1px #003777;
  border-color: #014096;
  background: linear-gradient(#63b6ff, #146ce9 48%, #0a44b7 49%, #2c8cff);
}

.xp-button.small { padding: 7px 10px; font-size: 12px; }

.hero-orbit {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 520px;
  perspective: 900px;
}

.hero-orbit img,
.hero-orbit video {
  width: min(100%, 760px);
  filter: drop-shadow(0 34px 38px rgba(0,0,0,.72));
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-orbit video {
  display: block;
  height: auto;
  pointer-events: none;
}

.hero-console {
  align-self: center;
  padding: clamp(24px, 4vw, 44px);
  color: #dffcff;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(247,252,255,.95), rgba(185,220,255,.86));
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 24px 54px rgba(0,0,0,.34);
  backdrop-filter: blur(8px);
}

.hero-console h1 {
  margin-bottom: 18px;
  color: #082967;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .95;
  overflow-wrap: anywhere;
  text-shadow: 0 2px #fff, 0 6px 0 rgba(10, 82, 180, .14);
}

.hero-console p {
  max-width: 460px;
  color: #10284d;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.35;
}

.player-window {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 34px;
}

.player-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 10px;
  padding: 14px;
  background: linear-gradient(90deg, #b7caf0, #f8fbff 18%, #9bb5ed);
}

.player-shell > * {
  min-width: 0;
}

.screen {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #05060c, #101a34 45%, #05060c);
  border: 2px solid #5d78a8;
  overflow: hidden;
}

.wmp-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: #03040a;
}

.youtube-player {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #03040a;
}

.youtube-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.screen.is-visualizing .album-visual {
  opacity: 0;
}

.screen.is-visualizing .wmp-canvas {
  display: block;
}

.album-visual {
  display: grid;
  place-items: center;
  gap: 8px;
  color: #d9ecff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
}

.album-visual img {
  width: min(72%, 340px);
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(190, 230, 255, .52);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .58), 0 0 34px rgba(80, 180, 255, .28);
}

.album-visual strong {
  font-size: clamp(30px, 6vw, 74px);
  line-height: .9;
  color: #fff;
  text-shadow: 0 0 18px rgba(70, 175, 255, .8);
}

.album-visual small {
  color: var(--acid);
  font-size: 12px;
  text-shadow: 0 0 10px rgba(99,255,56,.7);
}

.playlist {
  padding: 8px;
  color: #d8ffe4;
  background: #151923;
  border: 2px solid #5d78a8;
}

.select-row {
  margin-bottom: 8px;
  padding: 8px;
  color: #111;
  background: linear-gradient(#fff, #dce8ff);
  border: 1px solid #7898c9;
  font-weight: 800;
}

.track {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 0;
  color: #eaf1ff;
  text-align: left;
  font: 700 12px Tahoma, sans-serif;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.track:nth-child(odd) { background: rgba(255,255,255,.1); }
.track.active { color: var(--acid); text-shadow: 0 0 8px rgba(99,255,56,.65); }

.controls {
  padding: 12px 16px 16px;
  background: linear-gradient(#edf5ff, #a9c5f6);
}

.round, .mini {
  position: relative;
  border: 1px solid #5d78a8;
  color: #15305c;
  background: linear-gradient(#fff, #c7dbff);
  box-shadow: inset 0 1px #fff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  line-height: 0;
  overflow: hidden;
}

.round {
  min-width: 58px;
  width: 58px;
  height: 54px;
  border-radius: 28px;
  padding: 0;
}

.mini {
  min-width: 48px;
  width: 48px;
  height: 32px;
  border-radius: 18px;
  padding: 0;
}

.control-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.round .control-icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.mini .control-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.now-playing {
  flex: 1 1 240px;
  min-width: 0;
  color: #0b6617;
  font-size: 12px;
}

.progress {
  height: 8px;
  margin-top: 5px;
  border: 1px solid #718bb2;
  background: #e9f0ff;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #54ec31, #009a22);
}

.messenger-window {
  position: fixed;
  right: 24px;
  bottom: 76px;
  z-index: 10;
  width: min(420px, calc(100vw - 30px));
  max-height: calc(100vh - 104px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.messenger-window.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(.96);
}

.messenger-title { background: linear-gradient(#f4fbff, #b7ddff 52%, #85bbf2); color: #18345e; text-shadow: 0 1px #fff; }

.messenger-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,.92);
  max-height: calc(100vh - 140px);
  overflow: auto;
}

.avatar {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 10px;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, #e8f5ff, #59d04b);
  border: 4px solid #9de67c;
  text-shadow: 0 2px #257f1f;
}

.messenger-body h2 { margin: 0 0 6px; font-size: 26px; }
.messenger-body p { margin-bottom: 10px; font-size: 15px; }

.message-stack {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.message-bubble {
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.3;
  color: #18345e;
  border: 1px solid #b9d3f6;
  border-radius: 4px;
  background: linear-gradient(#fff, #e9f4ff);
  box-shadow: inset 0 1px #fff;
  animation: messageIn .24s ease-out both;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.shows-window, .gallery-window, .contact-window, .news-window {
  max-width: 1080px;
  margin: 0 auto 34px;
}

.shows-grid {
  padding: 22px;
  background: linear-gradient(#f7fbff, #d9ebff);
}

.shows-intro { margin-bottom: 16px; }

.event-feed {
  display: grid;
  gap: 8px;
}

.event-row {
  display: grid;
  grid-template-columns: 96px minmax(260px, 1fr) minmax(280px, 280px);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #9fb8db;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(231,242,255,.86));
  text-align: left;
}

.event-row span {
  display: grid;
  place-items: center;
  width: 78px;
  min-height: 38px;
  padding: 4px 6px;
  color: #fff;
  background: #146ce9;
  border-radius: 3px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 1px rgba(255,255,255,.28);
}

.event-row h3 {
  margin: 0;
  min-width: 0;
  font: inherit;
  font-weight: 800;
  line-height: 1.15;
}

.event-row em {
  min-width: 0;
  color: #0d6c1f;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  justify-self: start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: linear-gradient(#fff, #e9f4ff);
  align-items: start;
}

.gallery-grid img {
  width: 100%;
  height: clamp(360px, 42vw, 560px);
  object-fit: cover;
  object-position: center top;
  border: 2px solid #88b7ff;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
  background: linear-gradient(#fff, #dcecff);
}

.contact-grid h2 { font-size: 34px; margin-bottom: 6px; }
.contact-grid p { margin-bottom: 12px; }
.contact-grid a { color: #064fc4; font-weight: 800; }

.contact-signature {
  display: block;
  width: min(220px, 72%);
  margin: 18px 0 4px;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,.34)) drop-shadow(0 0 8px rgba(255,255,255,.7));
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.social-links a {
  padding: 8px 10px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #014096;
  border-radius: 3px;
  background: linear-gradient(#63b6ff, #146ce9 48%, #0a44b7 49%, #2c8cff);
  text-shadow: 0 1px #003777;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #173b75;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #7898c9;
  border-radius: 2px;
  padding: 10px;
  font: 14px Tahoma, sans-serif;
  background: #fff;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.18);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: linear-gradient(#f9fcff, #dcecff);
}

.news-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 0 0 14px;
  border: 1px solid #9fb8db;
  background: rgba(255,255,255,.86);
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0b1020;
}

.news-card small {
  padding: 0 14px;
  color: #0a681a;
  font-weight: 800;
}

.news-card h3 {
  padding: 0 14px;
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
}

.news-card p {
  padding: 0 14px;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.news-card a {
  width: fit-content;
  margin: 4px 14px 0;
  color: #064fc4;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.legal-footer {
  max-width: 1080px;
  margin: 0 auto 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px #00235f;
}

.legal-footer a { font-weight: 800; }

.article-page {
  display: grid;
  align-items: start;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 44px) clamp(14px, 4vw, 26px) 34px;
}

.article-window {
  width: min(980px, 100%);
  margin: 0 auto;
}

.article-content {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 4vw, 34px);
  background: linear-gradient(#fff, #dcecff);
}

.article-content > * {
  min-width: 0;
}

.article-content img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 2px solid #88b7ff;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.article-content h1 {
  width: 100%;
  margin: 0;
  max-width: 100%;
  color: #061f52;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 2px #fff;
}

.article-content p {
  width: 100%;
  max-width: 760px;
  margin: 0;
  color: #071c38;
  font-size: 18px;
  line-height: 1.6;
}

.article-content small,
.article-content time {
  color: #0a681a;
  font-weight: 800;
}

.article-back {
  width: fit-content;
  color: #064fc4;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 2px;
}

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 8px;
  color: #fff;
  background: linear-gradient(#2589ff, #0a58d0 48%, #063ea4 49%, #1169dc);
  box-shadow: inset 0 1px rgba(255,255,255,.45);
}

.taskbar a, .tray {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  background: linear-gradient(#2b8cff, #0c5cca);
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: inset 0 1px rgba(255,255,255,.28);
  white-space: nowrap;
}

.taskbar .start {
  min-width: 86px;
  justify-content: center;
  font-size: 18px;
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(#7ce66d, #1b9e28 55%, #087516);
  border-radius: 18px 8px 8px 18px;
}

.taskbar .start span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.taskbar .start span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,.5) 49% 52%, transparent 53%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,.5) 49% 52%, transparent 53%),
    linear-gradient(135deg, #f35325 0 50%, #81bc06 50%);
  box-shadow: inset 0 1px rgba(255,255,255,.45);
}

.task-icon {
  width: 46px;
  flex: 0 0 46px;
  padding: 0;
}

.task-icon:hover,
.taskbar a:focus-visible {
  filter: brightness(1.12);
}

.task-icon img {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
}

.concert-ticker {
  flex: 1 1 260px;
  min-width: 180px;
  max-width: 540px;
  height: 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 3px;
  background: rgba(0, 48, 130, .34);
  box-shadow: inset 0 1px rgba(255,255,255,.18);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  animation: ticker 34s linear infinite;
}

.ticker-track span {
  color: #eaf6ff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px #00235f;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tray {
  margin-left: auto;
  background: rgba(0, 70, 160, .3);
  gap: 8px;
  min-width: 92px;
  font-weight: 800;
}

.tray-icon {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
}

.buzzing {
  animation: buzz .48s linear 2;
}

@keyframes buzz {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  10% { transform: translate(-7px, 3px) rotate(-1deg); }
  20% { transform: translate(6px, -4px) rotate(1deg); }
  30% { transform: translate(-5px, -2px) rotate(0); }
  40% { transform: translate(7px, 4px) rotate(1deg); }
  50% { transform: translate(-6px, 2px) rotate(-1deg); }
  60% { transform: translate(5px, -3px) rotate(0); }
  70% { transform: translate(-7px, -4px) rotate(1deg); }
  80% { transform: translate(6px, 2px) rotate(-1deg); }
  90% { transform: translate(-4px, 4px) rotate(0); }
}

@media (max-width: 900px) {
  .desktop { padding: 24px 14px 136px; }
  .desktop-icons { display: none; }
  .startup-hero, .player-shell, .contact-grid, .news-grid { grid-template-columns: 1fr; }
  .hero-orbit { min-height: 360px; }
  .hero-orbit img, .hero-orbit video { width: min(92vw, 560px); }
  .hero-console { max-width: 560px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .event-row {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
  }
  .event-row em { grid-column: 2; }
  .event-row span { width: 74px; }
  .messenger-window {
    left: 12px;
    right: 12px;
    bottom: 96px;
    width: auto;
    max-height: calc(100vh - 120px);
  }
  .messenger-body {
    max-height: calc(100vh - 164px);
  }
  .wallpaper { background-position: center center; }
  .wallpaper::before { opacity: 1; }
  .taskbar {
    display: grid;
    grid-template-columns: auto repeat(5, 42px) minmax(74px, auto);
    grid-template-rows: 34px 30px;
    gap: 5px;
    min-height: 86px;
    padding: 5px 7px 7px;
    overflow: hidden;
    align-items: center;
  }
  .taskbar > a,
  .taskbar .tray {
    grid-row: 1;
  }
  .taskbar .start { min-width: 74px; font-size: 15px; }
  .task-icon {
    width: 42px;
    min-width: 42px;
    flex-basis: 42px;
  }
  .taskbar a, .tray {
    min-height: 32px;
    padding: 0 6px;
  }
  .task-icon img {
    width: 25px;
    height: 25px;
  }
  .concert-ticker {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    max-width: none;
    min-width: 0;
    height: 30px;
    align-self: stretch;
  }
  .taskbar .tray {
    grid-column: 7;
    grid-row: 1;
    margin-left: 0;
    min-width: 56px;
    height: 30px;
    padding: 0 6px;
    font-size: 11px;
    background: linear-gradient(#36a0ff, #0753bf);
  }
  .tray-icon { width: 22px; height: 22px; }
  .ticker-track { animation-duration: 26s; }
}

@media (max-width: 560px) {
  .wallpaper { background-position: center center; }
  .startup-hero { padding: 14px 0 20px; min-height: auto; gap: 8px; }
  .hero-orbit { min-height: 230px; }
  .hero-orbit img, .hero-orbit video { width: min(96vw, 390px); }
  .hero-console { padding: 18px; }
  .hero-console h1 { font-size: clamp(42px, 13vw, 68px); }
  .screen { min-height: 0; }
  .messenger-body {
    grid-template-columns: 56px 1fr;
    gap: 10px;
    padding: 10px;
  }
  .avatar {
    width: 54px;
    height: 54px;
    font-size: 28px;
    border-width: 3px;
  }
  .messenger-body h2 {
    font-size: 20px;
    overflow-wrap: anywhere;
  }
  .message-bubble {
    font-size: 13px;
  }
  .taskbar {
    grid-template-columns: 48px repeat(5, 36px) 68px;
    grid-template-rows: 33px 30px;
    justify-content: space-between;
    column-gap: 3px;
    row-gap: 4px;
    min-height: 84px;
    padding: 5px 5px 7px;
  }
  .taskbar .start {
    min-width: 48px;
    font-size: 0;
    border-radius: 16px 7px 7px 16px;
  }
  .taskbar .start span::before {
    width: 22px;
    height: 22px;
  }
  .task-icon {
    width: auto;
    min-width: 0;
    flex-basis: auto;
  }
  .task-icon img {
    width: 22px;
    height: 22px;
  }
  .concert-ticker { min-width: 0; height: 30px; }
  .ticker-track span { font-size: 11px; }
  .event-row {
    grid-template-columns: 88px 1fr;
    align-items: start;
  }
  .event-row em {
    grid-column: 2;
  }
  .event-row span {
    width: 74px;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: auto; max-height: none; }
  .article-page {
    padding: 18px 10px 24px;
    overflow-x: hidden;
  }
  .article-window {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
  .article-content {
    gap: 16px;
    padding: 14px;
    width: 100%;
    overflow: hidden;
  }
  .article-content img {
    max-height: 320px;
  }
  .article-content h1 {
    max-width: calc(100vw - 52px);
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.08;
  }
  .article-content p {
    max-width: calc(100vw - 52px);
    font-size: 16px;
    line-height: 1.55;
  }
}
