* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: Tahoma, Arial, sans-serif;
  overflow: hidden;
}

body {
  background: #3a6ea5;
}

.desktop {
  position: relative;
  width: 100vw;
  height: calc(100vh - 40px);
  background-image: url("images/wallpaper.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.desktop-icons {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 18px;
  padding: 20px 16px;
  height: 100%;
  width: 220px;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 90px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 6px;
  text-align: center;
}

.desktop-icon:hover {
  background: rgba(49, 106, 197, 0.35);
  outline: 1px solid rgba(255, 255, 255, 0.4);
}

.desktop-icon:focus {
  background: rgba(49, 106, 197, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.6);
}

.desktop-icon-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.icon-label {
  font-size: 13px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
  word-break: break-word;
}

.window {
  position: absolute;
  min-width: 280px;
  min-height: 180px;
  background: #ece9d8;
  border: 1px solid #0831d9;
  border-radius: 8px 8px 0 0;
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hidden {
  display: none;
}

.title-bar {
  height: 30px;
  background: linear-gradient(to bottom, #0a64d8 0%, #3c96ff 8%, #2a7be4 40%, #1558d6 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 10px;
  cursor: move;
  user-select: none;
}

.title-bar-text {
  font-size: 13px;
  font-weight: bold;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

.title-bar-buttons {
  display: flex;
  gap: 4px;
}

.title-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  padding: 0;
  background: linear-gradient(to bottom, #fefefe, #dcdcdc);
  color: #000;
}

.minimise-btn {
  background: linear-gradient(to bottom, #fefefe, #dcdcdc);
  color: #000;
}

.close-btn {
  background: linear-gradient(to bottom, #ff8f8f, #e04343);
  color: white;
  border-color: #ffffff;
}

.window-body {
  padding: 14px;
  font-size: 14px;
  color: #000;
  background: #ece9d8;
}

.window-body a {
  color: #003399;
  text-decoration: underline;
}

.notepad-window {
  padding: 0;
}

.notepad-toolbar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
  background: #f5f2e8;
  border-bottom: 1px solid #c7c2b0;
  font-size: 12px;
}

.notepad-content {
  padding: 14px;
  min-height: 180px;
  background: #ffffff;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 14px;
  line-height: 1.5;
}

.notepad-content p {
  margin-top: 0;
  margin-bottom: 14px;
}

.media-window {
  padding: 16px;
}

.media-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.cover-wrap {
  width: 180px;
  flex-shrink: 0;
}

.cover-art {
  width: 100%;
  display: block;
  border: 1px solid #999;
}

.media-info {
  flex: 1;
}

.now-playing-label {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.release-title {
  margin: 0 0 6px;
  font-size: 24px;
}

.release-meta {
  margin: 0 0 16px;
  color: #333;
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.media-links a {
  display: inline-block;
  padding: 8px 12px;
  background: #f5f2e8;
  border: 1px solid #c7c2b0;
  text-decoration: none;
  color: #003399;
}

.media-links a:hover {
  background: #ebe6d8;
}

.track-panel {
  background: #fdfbf5;
  border: 1px solid #cfc8b8;
  padding: 12px;
  margin-bottom: 14px;
}

.track-panel p {
  margin-top: 0;
  margin-bottom: 10px;
}

.release-list {
  background: #f8f5ec;
  border: 1px solid #cfc8b8;
  padding: 12px;
}

.release-list p {
  margin-top: 0;
  margin-bottom: 8px;
}

.release-list ul {
  margin: 0 0 0 18px;
  padding: 0;
}

.program-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 14px;
}

.shows-window-body {
  padding: 16px;
}

.show-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #cfc8b8;
  background: #f8f5ec;
  margin-bottom: 10px;
}

.show-date {
  width: 74px;
  font-weight: bold;
  font-size: 15px;
}

.show-details {
  flex: 1;
}

.show-city {
  font-weight: bold;
  margin-bottom: 4px;
}

.show-venue {
  font-size: 13px;
  color: #333;
}

.show-action a {
  display: inline-block;
  padding: 8px 12px;
  background: #f5f2e8;
  border: 1px solid #c7c2b0;
  text-decoration: none;
  color: #003399;
}

.shows-footer-note {
  margin-top: 12px;
  font-size: 13px;
  color: #444;
}

.guestbook-window-body {
  padding: 16px;
}

.guestbook-entry {
  padding: 12px;
  border: 1px solid #cfc8b8;
  background: #f8f5ec;
  margin-bottom: 10px;
}

.guestbook-entry p {
  margin-top: 0;
  margin-bottom: 8px;
}

.photos-window-body {
  padding: 0;
}

.photos-layout {
  display: flex;
  min-height: 420px;
}

.photos-sidebar {
  width: 220px;
  background: #f8f5ec;
  border-right: 1px solid #cfc8b8;
  padding: 12px;
}

.photos-sidebar-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}

.photo-file {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px;
  margin-bottom: 8px;
  background: #ffffff;
  border: 1px solid #cfc8b8;
  cursor: pointer;
  font-size: 13px;
  font-family: Tahoma, Arial, sans-serif;
}

.photo-file:hover {
  background: #f2efe6;
}

.photo-file.active {
  background: #dce9ff;
  border-color: #7fa3db;
}

.photo-preview-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ece9d8;
}

.photo-preview-header {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid #cfc8b8;
  background: #f5f2e8;
  font-size: 13px;
  font-weight: bold;
}

.photo-preview-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}

.photo-preview-image {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border: 1px solid #999;
  background: #fff;
}

.taskbar {
  height: 40px;
  background: linear-gradient(to bottom, #245edb 0%, #1941a5 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.start-button {
  min-width: 90px;
  height: 30px;
  border-radius: 16px;
  background: linear-gradient(to bottom, #49b84d 0%, #2f8f2f 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-style: italic;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.taskbar-windows {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
}

.taskbar-item {
  height: 28px;
  min-width: 140px;
  max-width: 180px;
  background: linear-gradient(to bottom, #3f8cff 0%, #2f6fd3 100%);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: white;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.taskbar-item.active {
  background: linear-gradient(to bottom, #6ca8ff 0%, #3d7be0 100%);
}

.taskbar-clock {
  width: 90px;
  height: 28px;
  border-radius: 3px;
  background: linear-gradient(to bottom, #1295db 0%, #0b7fc5 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

@media (max-width: 700px) {
  .window {
    width: calc(100vw - 30px) !important;
    left: 15px !important;
  }

  .desktop-icons {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }

  .media-layout {
    flex-direction: column;
  }

  .cover-wrap {
    width: 100%;
    max-width: 220px;
  }

  .photos-layout {
    flex-direction: column;
  }

  .photos-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #cfc8b8;
  }
}

.desktop-selection-box {
  position: absolute;
  border: 1px solid rgba(49, 106, 197, 0.95);
  background: rgba(49, 106, 197, 0.22);
  pointer-events: none;
  z-index: 90;
}

.desktop-icon.selected {
  background: rgba(49, 106, 197, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.55);
}

.desktop-icon.selected .icon-label {
  background: rgba(49, 106, 197, 0.65);
  padding: 1px 4px;
  border-radius: 2px;
}

.start-menu {
  position: fixed;
  left: 8px;
  bottom: 46px;
  width: 240px;
  background: #ece9d8;
  border: 1px solid #0831d9;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  overflow: hidden;
}

.start-menu-header {
  padding: 12px;
  background: linear-gradient(to bottom, #245edb 0%, #1941a5 100%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.start-menu-item {
  width: 100%;
  border: none;
  background: #f5f2e8;
  text-align: left;
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  font-family: Tahoma, Arial, sans-serif;
}

.start-menu-item:hover {
  background: #dce9ff;
}

.terminal-body {
  padding: 0;
  background: #000;
  height: calc(100% - 30px);
  overflow: hidden;
}

.terminal-screen {
  height: 100%;
  overflow-y: auto;
  background: #000;
  color: #00ff88;
  padding: 18px;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 14px;
  line-height: 1.6;
}

.terminal-line {
  margin-bottom: 4px;
}

.terminal-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.terminal-prompt {
  color: #00ff88;
}

.terminal-input {
  background: #000;
  color: #00ff88;
  border: 1px solid #00ff88;
  padding: 8px 10px;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 14px;
  width: 220px;
  outline: none;
}

.terminal-input::placeholder {
  color: #00aa66;
}

.terminal-submit {
  background: #001f12;
  color: #00ff88;
  border: 1px solid #00ff88;
  padding: 8px 12px;
  cursor: pointer;
  font-family: "Lucida Console", Monaco, monospace;
}

.terminal-message {
  min-height: 20px;
  margin-bottom: 14px;
}

.terminal-message.success {
  color: #00ff88;
}

.terminal-message.error {
  color: #ff5c5c;
}

.success-line {
  color: #00ff88;
  font-weight: bold;
}

.fanclub-embed {
  margin-top: 14px;
  border: 1px solid #00ff88;
  padding: 12px;
  background: #02150d;
}

.soundcloud-credit {
  margin-top: 8px;
  font-size: 12px;
}

.soundcloud-credit a {
  color: #00ff88;
  text-decoration: none;
}

.soundcloud-credit a:hover {
  text-decoration: underline;
}

.terminal-credit {
  color: #00ff88;
}

.terminal-screen {
  overflow-y: auto;
}

#terminal-output {
  margin-bottom: 10px;
}

.terminal-form.hidden {
  display: none;
}

.single-window-body {
  position: relative;
  min-height: 260px;
  background: #ece9d8;
  overflow: hidden;
}

.single-chaos-stage {
  position: relative;
  width: 100%;
  height: 250px;
}

.single-error-popup {
  position: absolute;
  width: 300px;
  background: #ece9d8;
  border: 1px solid #003c74;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.single-error-popup .single-error-top {
  height: 26px;
  background: linear-gradient(to bottom, #0a64d8 0%, #3c96ff 8%, #2a7be4 40%, #1558d6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 12px;
  font-weight: bold;
}

.single-error-popup .single-error-close {
  width: 18px;
  height: 18px;
  border: 1px solid #fff;
  background: linear-gradient(to bottom, #ff8f8f, #e04343);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.single-error-popup .single-error-inner {
  padding: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #000;
  background: #ece9d8;
}

.single-error-popup .single-error-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.single-error-popup .single-error-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #d10000;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.single-error-popup .single-error-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.single-error-popup .single-error-button {
  min-width: 74px;
  padding: 4px 14px;
  border: 1px solid #7f9db9;
  background: linear-gradient(to bottom, #ffffff, #dcdcdc);
  font-size: 12px;
}

.single-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ece9d8;
  padding: 20px;
}

.single-reveal.hidden {
  display: none;
}

.single-label {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333;
}

.single-track-title {
  margin: 0 0 16px;
  font-size: 34px;
}

.presave-link {
  font-size: 20px;
  font-weight: bold;
  color: #003399;
  text-decoration: underline;
  animation: presave-blink 0.9s steps(1, end) infinite;
}

@keyframes presave-blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
  100% {
    opacity: 1;
  }
}

/* BLOG */
.blog-window-body {
  height: calc(100% - 30px);
}

.blog-layout {
  display: flex;
  height: calc(100% - 28px);
  min-height: 420px;
}

.blog-sidebar {
  width: 320px;
  background: #f8f5ec;
  border-right: 1px solid #cfc8b8;
  display: flex;
  flex-direction: column;
}

.blog-header-row {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-bottom: 1px solid #cfc8b8;
  background: #f5f2e8;
  font-size: 12px;
  font-weight: bold;
}

.blog-col-name {
  flex: 1;
}

.blog-col-date {
  width: 140px;
}

.blog-file-row {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: none;
  border-bottom: 1px solid #e2dccb;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
}

.blog-file-row:hover {
  background: #dce9ff;
}

.blog-file-row.active {
  background: #c9defc;
}

.blog-name {
  flex: 1;
  color: #000;
}

.blog-date {
  width: 140px;
  color: #333;
  font-size: 12px;
}

.blog-preview-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ece9d8;
}

.blog-preview-header {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid #cfc8b8;
  background: #f5f2e8;
  font-size: 13px;
  font-weight: bold;
}

.blog-content {
  flex: 1;
  padding: 14px;
  overflow: auto;
  background: #ffffff;
  font-family: "Lucida Console", Monaco, monospace;
  font-size: 14px;
  line-height: 1.5;
}

.blog-content p {
  margin-top: 0;
  margin-bottom: 14px;
}

.blog-content h1,
.blog-content h2,
.blog-content h3 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .desktop {
    background-image: url("images/wallpaper-mobile.jpg");
    background-size: cover;
    background-position: center;
  }

  .blog-layout {
    flex-direction: column;
  }

  .blog-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #cfc8b8;
  }
}
.blog-content {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.blog-content h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.blog-content p {
  margin-bottom: 12px;
  color: #222;
}

.blog-name {
  font-weight: bold;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
}

.contact-submit {
  padding: 8px 14px;
  background: #f5f2e8;
  border: 1px solid #c7c2b0;
  cursor: pointer;
  font-family: Tahoma, Arial, sans-serif;
}

#guestbook-window .guestbook-window-body {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
#guestbook-window {
  height: 420px;           /* fixed window size */
  max-height: 420px;
}

#guestbook-window .window-body {
  height: calc(100% - 30px); /* subtract title bar */
  overflow-y: auto;          /* scroll inside */
}#guestbook-window {
  height: auto;
  max-height: 420px;
}

#guestbook-window .guestbook-window-body {
  max-height: 390px;
  overflow-y: auto;
}

.contact-option {
  width: 100%;
  padding: 12px;
  background: #f5f2e8;
  border: 1px solid #c7c2b0;
  cursor: pointer;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
  text-align: left;
}

.contact-option:hover {
  background: #dce9ff;
}

.contact-back {
  margin-bottom: 10px;
  padding: 6px 10px;
  background: #f5f2e8;
  border: 1px solid #c7c2b0;
  cursor: pointer;
  font-family: Tahoma, Arial, sans-serif;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
}

.contact-submit {
  padding: 8px 14px;
  background: #f5f2e8;
  border: 1px solid #c7c2b0;
  cursor: pointer;
  font-family: Tahoma, Arial, sans-serif;
}
#guestbook-window {
  height: 420px !important;
  max-height: 420px !important;
}

#guestbook-window .guestbook-window-body {
  height: calc(420px - 30px);
  overflow-y: auto;
}
.single-video-stage {
  width: 100%;
  height: 250px;
  background: #000;
}

.single-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-chaos-stage.hidden {
  display: none;
}

.single-video-stage.hidden {
  display: none;
}
.single-preview-video::-webkit-media-controls {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.single-video-stage:hover .single-preview-video::-webkit-media-controls {
  opacity: 1;
  pointer-events: auto;
}