:root {
  --teal: #008080;
  --teal-dark: #006666;
  --silver: #c0c0c0;
  --silver-dark: #808080;
  --navy: #000080;
  --lime: #7CFF6B;
  --lime-dim: #3d9a34;
  --bg: #3a6ea5;
  --window: #c0c0c0;
  --text: #000;
  --white: #fff;
  --font: Tahoma, "Segoe UI", sans-serif;
  --mono: "VT323", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: #1a4a7a;
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 56px;
  position: relative;
}
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ========== Loading screen ========== */
body.is-loading {
  overflow: hidden;
}
body.is-loading .desktop,
body.is-loading .taskbar,
body.is-loading .disclaimer {
  visibility: hidden;
}
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-bg,
.loader-bg-blink {
  position: absolute;
  inset: 0;
  background: url("/assets/dream-bg.jpg") center center / cover no-repeat;
  transform: scale(1.08);
}
.loader-bg {
  filter: brightness(0.55) contrast(1.08);
  animation: loaderKen 8s ease-in-out infinite alternate;
}
.loader-bg-blink {
  mix-blend-mode: screen;
  opacity: 0;
  filter: brightness(1.55) contrast(1.2) saturate(1.25);
  animation: bgBlink 2.2s ease-in-out infinite;
}
.loader-dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0,0,0,0.15), rgba(0,0,0,0.72) 100%),
    linear-gradient(180deg, rgba(0, 30, 15, 0.4), rgba(0, 0, 0, 0.65));
}
@keyframes loaderKen {
  from { transform: scale(1.05); }
  to { transform: scale(1.14) translate(-1%, 1%); }
}
.loader-panel {
  position: relative;
  z-index: 2;
  width: min(420px, 92vw);
  padding: 22px 20px 20px;
  background: var(--silver);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  box-shadow: 4px 8px 0 rgba(0,0,0,0.4);
  text-align: center;
}
.loader-badge {
  background: linear-gradient(90deg, var(--navy), #1084d0);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  padding: 4px 8px;
  margin: -22px -20px 14px;
}
.loader-face {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border: 3px solid #000;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--lime);
}
.loader-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.loader-title {
  font-family: var(--mono);
  font-size: 22px;
  color: #0a2e0a;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.loader-status {
  font-family: var(--mono);
  font-size: 16px;
  color: #333;
  min-height: 1.3em;
  margin-bottom: 12px;
}
.loader-bar-wrap {
  height: 18px;
  background: #fff;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 #808080;
  overflow: hidden;
  margin-bottom: 8px;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(
    -45deg,
    var(--lime) 0 8px,
    #5de85a 8px 16px
  );
  background-size: 22px 22px;
  animation: barStripe 0.6s linear infinite;
  transition: width 0.15s linear;
}
@keyframes barStripe {
  from { background-position: 0 0; }
  to { background-position: 22px 0; }
}
.loader-pct {
  font-family: var(--mono);
  font-size: 20px;
  color: #000;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ========== Dynamic photo background + blink ========== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #0a0f0c;
}
.bg-photo {
  position: absolute;
  inset: -4%;
  background:
    url("/assets/dream-bg.jpg") center center / cover no-repeat;
  transform: scale(1.06);
  animation: bgKenBurns 22s ease-in-out infinite alternate;
  will-change: transform, filter, opacity;
}
/* Light / dark blink pulse on the photo */
.bg-photo-pulse {
  position: absolute;
  inset: 0;
  background:
    url("/assets/dream-bg.jpg") center center / cover no-repeat;
  transform: scale(1.06);
  mix-blend-mode: screen;
  opacity: 0;
  animation: bgBlink 2.4s ease-in-out infinite;
  filter: brightness(1.45) contrast(1.15) saturate(1.2);
  will-change: opacity, filter;
}
.bg-photo-dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, transparent 20%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 20, 10, 0.35), rgba(0, 0, 0, 0.55));
  animation: bgDimPulse 2.4s ease-in-out infinite;
}
/* Green flash overlay on bright beats */
.bg-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(124, 255, 107, 0.35), transparent 55%);
  opacity: 0;
  animation: bgFlash 2.4s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}
.bg-orbs { position: absolute; inset: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.35;
  animation: orbDrift 14s ease-in-out infinite;
}
.o1 {
  width: 280px; height: 280px;
  background: rgba(124, 255, 107, 0.35);
  top: -5%; left: -5%;
}
.o2 {
  width: 320px; height: 320px;
  background: rgba(0, 220, 255, 0.2);
  top: 40%; right: -8%;
  animation-delay: -4s;
  animation-duration: 18s;
}
.o3 {
  width: 200px; height: 200px;
  background: rgba(255, 230, 100, 0.15);
  bottom: 10%; left: 30%;
  animation-delay: -8s;
  animation-duration: 12s;
}
.o4 {
  width: 160px; height: 160px;
  background: rgba(124, 255, 107, 0.25);
  top: 15%; left: 55%;
  animation-delay: -2s;
  animation-duration: 16s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.12); }
  66% { transform: translate(-25px, 25px) scale(0.92); }
}
@keyframes bgKenBurns {
  0% { transform: scale(1.05) translate(0, 0); filter: brightness(0.75) contrast(1.05); }
  50% { transform: scale(1.12) translate(-1.5%, 1%); filter: brightness(0.95) contrast(1.1); }
  100% { transform: scale(1.08) translate(1%, -1%); filter: brightness(0.7) contrast(1.08); }
}
/* Nhấp nháy sáng tối */
@keyframes bgBlink {
  0%, 100% { opacity: 0; filter: brightness(1) contrast(1); }
  12% { opacity: 0.55; filter: brightness(1.6) contrast(1.2); }
  18% { opacity: 0.1; filter: brightness(0.9); }
  28% { opacity: 0.75; filter: brightness(1.85) contrast(1.25) saturate(1.3); }
  36% { opacity: 0.05; }
  55% { opacity: 0.35; filter: brightness(1.35); }
  70% { opacity: 0; }
  82% { opacity: 0.5; filter: brightness(1.5); }
  90% { opacity: 0.08; }
}
@keyframes bgDimPulse {
  0%, 100% { opacity: 1; }
  12% { opacity: 0.55; }
  28% { opacity: 0.35; }
  40% { opacity: 0.9; }
  82% { opacity: 0.5; }
}
@keyframes bgFlash {
  0%, 100% { opacity: 0; }
  12% { opacity: 0.45; }
  18% { opacity: 0; }
  28% { opacity: 0.7; }
  36% { opacity: 0.05; }
  82% { opacity: 0.4; }
  90% { opacity: 0; }
}
.bg-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.bg-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 6px rgba(124, 255, 107, 0.8);
  animation: twinkle var(--d, 3s) ease-in-out infinite;
  opacity: 0.4;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.4); }
}
.bg-scan {
  position: absolute;
  left: 0; right: 0;
  height: 100px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(124, 255, 107, 0.1),
    transparent
  );
  animation: scanDown 9s linear infinite;
}
@keyframes scanDown {
  0% { top: -100px; }
  100% { top: 110%; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .bg-scan, .bg-star,
  .bg-photo, .bg-photo-pulse, .bg-photo-dim, .bg-flash {
    animation: none !important;
  }
  .bg-photo { opacity: 0.85; filter: brightness(0.8); }
  .bg-photo-pulse, .bg-flash { display: none; }
  #bg-canvas { display: none; }
}

/* Desktop */
.desktop {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 12px 24px;
  min-height: calc(100vh - 80px);
}

.desktop-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 14px;
}
.desk-icon {
  width: 76px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  font-size: 11px;
}
.desk-icon span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 4px;
  font-size: 28px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
}
.desk-icon:hover span { background: rgba(124,255,107,.25); }

/* Marquee like brocat */
.ca-marquee {
  overflow: hidden;
  background: #000;
  color: var(--lime);
  border: 2px solid #000;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 18px;
}
.ca-marquee-track {
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-left: 100%;
  animation: caScrollLtr 18s linear infinite;
}
.ca-marquee-track.reverse {
  animation-name: caScrollRtl;
  animation-duration: 22s;
}
.ca-marquee.bottom { margin-top: 14px; margin-bottom: 0; }
@keyframes caScrollLtr {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes caScrollRtl {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ca-marquee-track { animation: none !important; transform: none !important; padding-left: 0; }
}

/* Windows */
.win {
  background: var(--window);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  box-shadow: 2px 2px 0 rgba(0,0,0,.35);
  margin-bottom: 18px;
}
.win-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(90deg, var(--navy), #1084d0);
  color: #fff;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 700;
}
.win-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-controls { display: flex; gap: 3px; }
.win-controls button {
  width: 18px; height: 16px;
  font-size: 10px; line-height: 1;
  background: var(--silver);
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  color: #000;
  padding: 0;
}
.win-menubar {
  background: var(--window);
  border-bottom: 1px solid var(--silver-dark);
  padding: 3px 8px;
  font-size: 12px;
}
.win-body { padding: 12px; background: #fff; }
.win-status {
  background: var(--window);
  border-top: 1px solid #fff;
  padding: 4px 8px;
  font-size: 11px;
  color: #333;
}

/* Welcome */
.welcome-body {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 16px;
  background: #e8f5e9;
}
.welcome-left h1 {
  font-size: clamp(2.6rem, 8vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #0a2e0a;
  margin: 8px 0 4px;
}
.tag { font-family: var(--mono); font-size: 20px; color: var(--lime-dim); margin-bottom: 10px; }
.blurb { font-size: 13px; line-height: 1.55; color: #222; max-width: 38ch; margin-bottom: 14px; }
.status-pill {
  display: inline-block;
  background: #000;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 14px;
  padding: 2px 8px;
  letter-spacing: .04em;
}
.portrait-frame {
  background: #000;
  border: 3px solid #000;
  padding: 6px;
  box-shadow: inset 0 0 0 1px #555;
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}
.portrait-caption {
  color: #f44;
  font-family: var(--mono);
  font-size: 16px;
  padding: 4px 2px 0;
}

.ca-box {
  background: #f5f5f5;
  border: 1px solid var(--silver-dark);
  padding: 10px;
  margin-bottom: 12px;
}
.ca-label { display: block; font-size: 11px; color: #444; margin-bottom: 6px; }
.ca-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ca-row code {
  flex: 1;
  min-width: 160px;
  font-family: var(--mono);
  font-size: 16px;
  background: #fff;
  border: 1px solid #999;
  padding: 6px 8px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-xp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  background: var(--silver);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.btn-xp:active {
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.btn-xp.primary {
  background: linear-gradient(180deg, #a8ff9a, var(--lime));
}

/* CA center block */
.win-ca-center {
  max-width: 100%;
}
.ca-center-body {
  background: #0a120c;
  color: #7CFF6B;
  text-align: center;
  padding: 22px 16px;
}
.ca-center-label {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  color: #a8ff9a;
}
.ca-center-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.ca-center-row code {
  font-family: var(--mono);
  font-size: clamp(14px, 3.2vw, 22px);
  word-break: break-all;
  background: #000;
  border: 1px solid #7CFF6B;
  padding: 10px 14px;
  color: #7CFF6B;
  max-width: 100%;
  line-height: 1.35;
}
.ca-center-hint {
  margin-top: 10px;
  font-size: 11px;
  color: #8fbc8f;
  letter-spacing: 0.04em;
}

/* Notepad lore */
.notepad {
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1.45;
  background: #ffffee;
}
.notepad .jp { color: #666; font-size: 14px; margin-bottom: 4px; }
.notepad h2 {
  font-family: var(--font);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #0a2e0a;
}
.notepad > p { margin-bottom: 14px; font-size: 16px; }

.lore-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.lore-card {
  background: #fff;
  border: 1px solid #999;
  padding: 8px;
}
.lore-img {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #000;
  margin-bottom: 6px;
  background: #111;
}
.lore-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-shift { object-position: 30% 20%; filter: hue-rotate(40deg) saturate(1.2); }
.img-shift2 { object-position: 70% 30%; filter: hue-rotate(-20deg) contrast(1.1); }
.lore-meta {
  font-size: 12px;
  color: #080;
  margin-bottom: 2px;
}
.lore-card h3 {
  font-family: var(--font);
  font-size: 13px;
  margin-bottom: 4px;
}
.lore-card p {
  font-size: 13px;
  line-height: 1.35;
  color: #222;
}

/* Gallery thumbs */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #fff;
}
.thumb {
  text-align: center;
  font-size: 11px;
  cursor: pointer;
}
.thumb-art {
  height: 88px;
  border: 1px solid #000;
  margin-bottom: 4px;
  background-size: cover;
  background-position: center;
  image-rendering: auto;
}
.thumb:hover .thumb-art {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
.thumb span { word-break: break-all; }
.t1 { background: linear-gradient(135deg, #0a2, #7CFF6B); }
.t2 { background: linear-gradient(135deg, #030, #1a5) url('/assets/avatar.jpg') center/cover; }
.t3 { background: linear-gradient(45deg, #111, #3a6) url('/assets/avatar.jpg') 30% 20%/180%; }
.t4 { background: linear-gradient(135deg, #204, #7CFF6B88) url('/assets/avatar.jpg') 70%/cover; }
.t5 { background: radial-gradient(circle, #7CFF6B, #0a3a0a); }
.t6 { background: linear-gradient(180deg, #f0f, #7CFF6B) url('/assets/avatar.jpg') center/120%; }
.t7 { background: repeating-linear-gradient(90deg, #0a0 0 4px, #050 4px 8px); }
.t8 { background: linear-gradient(#222, #7CFF6B44) url('/assets/avatar.jpg') bottom/cover; }
.t9 { background: conic-gradient(from 45deg, #0f0, #000, #7CFF6B, #0f0); }
.t10 { background: radial-gradient(circle at 30% 30%, #b6ff7a, #053); }
.t11 { background: linear-gradient(45deg, #000 25%, #0a4 25%, #0a4 50%, #000 50%) 0 0/12px 12px; }
.t12 { background: linear-gradient(#7CFF6B, #064) url('/assets/avatar.jpg') top/cover; }

/* Media player */
.media-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px;
  background: #d4d0c8;
}
.playlist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid #808080;
  padding: 4px;
}
.clip {
  text-align: left;
  background: #fff;
  border: 0;
  padding: 4px 6px;
  font-size: 11px;
  font-family: var(--mono);
  font-size: 15px;
}
.clip:hover, .clip.active {
  background: var(--navy);
  color: #fff;
}
.screen { min-width: 0; }
.screen-inner {
  position: relative;
  background: #000;
  border: 2px inset #808080;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.screen-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: contrast(1.1) saturate(1.15);
  animation: vhs 4s ease-in-out infinite alternate;
}
@keyframes vhs {
  from { transform: scale(1); filter: contrast(1.05) hue-rotate(0deg); }
  to { transform: scale(1.04); filter: contrast(1.15) hue-rotate(12deg); }
}
.rec-badge {
  position: absolute;
  top: 8px; left: 8px;
  color: #f33;
  font-family: var(--mono);
  font-size: 16px;
  text-shadow: 0 0 4px #000;
}
.screen-title {
  position: absolute;
  left: 8px; bottom: 8px;
  color: #7CFF6B;
  font-family: var(--mono);
  font-size: 18px;
}
.player-controls {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.player-controls button {
  flex: 1;
  padding: 6px;
  font-size: 12px;
  font-weight: 700;
  background: var(--silver);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}
.player-controls .play { background: #a8ff9a; }
.now-playing {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 15px;
  color: #222;
}

/* Tokenomics */
.xls {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  background: #fff;
}
.xls-visual img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border: 1px solid #000;
  filter: contrast(1.08);
}
.xls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cell {
  border: 1px solid #999;
  padding: 10px;
  background: #f8fff8;
}
.cell-k {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #555;
  margin-bottom: 4px;
}
.cell strong {
  display: block;
  font-size: 1.4rem;
  color: #0a3;
  line-height: 1.1;
}
.cell em {
  display: block;
  font-size: 11px;
  color: #666;
  font-style: normal;
  margin-top: 2px;
}

/* Wizard */
.wizard { background: #f0f0f0; }
.wizard h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #0a2e0a;
}
.wizard-lead {
  font-size: 13px;
  margin-bottom: 14px;
  color: #333;
}
.steps {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  background: #fff;
  border: 1px solid #999;
  padding: 10px;
}
.steps .n {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.steps h3 { font-size: 13px; margin-bottom: 2px; }
.steps p { font-size: 12px; color: #333; line-height: 1.4; }

/* Moon */
.moon-body {
  text-align: center;
  background: #000;
  color: var(--lime);
}
.moon-body img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  opacity: 0.9;
  filter: contrast(1.1) saturate(1.2);
}
.moon-body p {
  font-family: var(--mono);
  font-size: 20px;
  padding: 12px;
}

/* Taskbar */
.taskbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  /* above animated bg */

  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  background: var(--silver);
  border-top: 2px solid #fff;
  box-shadow: 0 -1px 0 #000;
}
.start {
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  background: var(--silver);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}
.task-pills {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow: auto;
}
.task-pills a {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--silver);
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  text-decoration: none;
  white-space: nowrap;
}
.tray {
  font-size: 11px;
  padding: 3px 8px;
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  min-width: 72px;
  text-align: center;
}

.disclaimer {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 8px auto 64px;
  padding: 0 12px;
  font-size: 11px;
  color: rgba(255,255,255,.75);
  text-align: center;
  text-shadow: 1px 1px 0 #000;
}
.disclaimer a { color: var(--lime); }

@media (max-width: 800px) {
  .welcome-body,
  .lore-cards,
  .media-body,
  .xls,
  .xls-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .desktop-icons { justify-content: center; }
}
