/* Comic Neue by Craig Rozynski, SIL OFL. See fonts/OFL.txt.
   Press Start 2P by Cody Boisclair, SIL OFL. See fonts/OFL-PressStart2P.txt.
   Comic Sans MS, Verdana, Tahoma, and Times are named first so a machine
   that has them wins. Body copy sits on solid panels, never on the tile. */

@font-face {
  font-family: "Comic Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/comic-neue-400.woff2") format("woff2");
}

@font-face {
  font-family: "Comic Neue";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/comic-neue-700.woff2") format("woff2");
}

@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/press-start-2p-400.woff2") format("woff2");
}

:root,
[data-theme="siliconvalley"] {
  --bg: #000033;
  --on-dark: #ffffff;
  --heading: #ffff00;
  --heading-2: #00ffff;
  --accent: #ff00ff;
  --link: #66ccff;
  --title-0: #000080;
  --title-1: #1084d0;
  --box: #c0c0c0;
  --box-text: #000000;
  --tile:
    radial-gradient(circle at 8px 14px, #ffffff 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 70px 36px, #ffe566 0 1.8px, transparent 2.5px),
    radial-gradient(circle at 40px 88px, #ffffff 0 1px, transparent 1.5px),
    radial-gradient(circle at 120px 18px, #b9d6ff 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 18px 70px, #ffffff 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 100px 110px, #ffe566 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 150px 72px, #ffffff 0 1.5px, transparent 2.1px);
  --comic: "Comic Sans MS", "Comic Sans", "Comic Neue", cursive;
  --times: "Times New Roman", Times, "Liberation Serif", serif;
  --verdana: Verdana, "Liberation Sans", sans-serif;
  --tahoma: Tahoma, "MS Sans Serif", "Liberation Sans", sans-serif;
  --mono: "Courier New", "Liberation Mono", monospace;
  --pixel: "Press Start 2P", "Liberation Mono", monospace;
  --clean: Inter, "Liberation Sans", Verdana, sans-serif;
}

[data-theme="area51"] {
  --bg: #001100;
  --heading: #00ff41;
  --heading-2: #ccff00;
  --accent: #ccff00;
  --tile:
    radial-gradient(circle at 12px 20px, #00ff41 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 84px 48px, #ccff00 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 36px 96px, #00ff41 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 140px 24px, #00ff41 0 1px, transparent 1.5px);
}

[data-theme="southbeach"] {
  --bg: #3b001c;
  --heading: #ffffff;
  --heading-2: #ffe14a;
  --accent: #ffe14a;
  --tile: repeating-linear-gradient(45deg, #ff6699 0 12px, #ff8fb5 12px 24px);
}

[data-theme="hollywood"] {
  --bg: #1a0000;
  --heading: #ffd700;
  --heading-2: #ffd700;
  --accent: #ff3030;
  --tile:
    radial-gradient(circle at 16px 18px, #ffd700 0 1.4px, transparent 2px),
    radial-gradient(circle at 90px 60px, #ffffff 0 1px, transparent 1.5px),
    radial-gradient(circle at 48px 100px, #ffd700 0 1px, transparent 1.6px),
    radial-gradient(circle at 140px 30px, #ff3030 0 1px, transparent 1.5px);
}

[data-theme="boring"] {
  --bg: #fafafa;
  --on-dark: #111111;
  --heading: #111111;
  --heading-2: #111111;
  --accent: #2563eb;
  --link: #2563eb;
  --box: #ffffff;
  --box-text: #111111;
  --title-0: #111111;
  --title-1: #333333;
  --tile: none;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image: var(--tile);
  background-size: 180px 140px;
  background-repeat: repeat;
  color: var(--on-dark);
  font-family: var(--times);
  font-size: 16px;
  line-height: 1.45;
}

[data-theme="southbeach"] body { background-size: auto; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #ffffff;
  color: #000000;
  padding: 6px 10px;
  z-index: 20;
}

.skip:focus { left: 8px; }

.shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
  max-width: 960px;
  margin: 18px auto 28px;
  background-color: var(--bg);
  background-image: none;
  color: var(--on-dark);
  box-shadow:
    0 0 0 4px var(--accent),
    0 0 0 8px var(--heading-2),
    0 0 0 12px var(--heading);
}

header,
footer { grid-column: 1 / -1; }

header,
main,
footer,
.sidenav { min-width: 0; }

header { text-align: center; padding-bottom: 4px; }

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 0;
  text-align: left;
}

.logo,
.logo:visited {
  font-family: var(--comic);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--heading-2);
  text-decoration: none;
}

.welcome-flag {
  margin: 0;
  background: #ffff00;
  color: #000000;
  font-family: var(--pixel);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  padding: 6px 8px;
  border: 2px solid #000000;
}

.corner-toggle,
.bevel,
.action,
#start-btn {
  font-family: var(--tahoma);
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  background: var(--box);
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  padding: 6px 10px;
  text-decoration: none;
  cursor: pointer;
}

.corner-toggle { font-size: 13px; padding: 4px 8px; }

.corner-toggle[aria-pressed="true"],
.bevel:active,
.action:active,
#start-btn[aria-expanded="true"] {
  border-top-color: #000000;
  border-left-color: #000000;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

h1 {
  margin: 6px auto 4px;
  max-width: 760px;
  font-family: var(--comic);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.05;
  color: var(--heading);
}

.role-line,
.kicker,
.banner,
.tagline { margin: 0 16px 6px; }

.role-line {
  font-family: var(--times);
  font-size: 22px;
  color: var(--heading-2);
}

.kicker {
  font-family: var(--times);
  font-style: italic;
  font-size: 16px;
  color: #ffffff;
}

.tagline {
  font-family: var(--comic);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
}

.banner {
  font-family: var(--times);
  font-size: 18px;
  color: #ffffff;
}

.ticker {
  overflow: hidden;
  max-width: 100%;
  margin-top: 6px;
  background: #000066;
  color: #ffff00;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--heading-2);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  padding: 6px 2rem 6px 0;
  white-space: nowrap;
  font-family: var(--comic);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.sidenav {
  margin: 10px 6px 12px 10px;
  padding: 8px;
  background: var(--box);
  color: var(--box-text);
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.nav-btn,
.nav-btn:visited,
.nav-btn:hover,
.nav-btn:active {
  display: block;
  margin: 0 0 5px;
  padding: 6px 4px;
  text-align: center;
  text-decoration: none;
  color: #000000;
  background: #c0c0c0;
  font-family: var(--tahoma);
  font-size: 14px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.nav-btn:hover { background: #00ff00; }

.nav-btn[aria-current="page"] {
  font-weight: 700;
  border-top-color: #000000;
  border-left-color: #000000;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  background: #d4d4d4;
}

.nav-extras { margin-top: 8px; text-align: center; }

.counter-box {
  display: inline-block;
  margin: 4px 0;
  padding: 4px 6px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  cursor: pointer;
  font: inherit;
  color: #000000;
}

.counter-box .caption {
  display: block;
  font-family: var(--tahoma);
  font-size: 11px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 3px;
}

.digits {
  display: inline-block;
  padding: 3px 4px;
  background: #000000;
  color: #00ff41;
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  border: 2px inset #808080;
}

.counter-joke {
  margin: 6px 0 0;
  color: #000000;
  font-family: var(--verdana);
  font-size: 13px;
  text-align: left;
}

.construction {
  display: inline-block;
  margin-top: 8px;
  padding: 4px;
  background: repeating-linear-gradient(-45deg, #111111 0 8px, #ffd400 8px 16px);
  background-size: 32px 32px;
  border: 2px solid #000000;
  animation: caution-slide 0.8s linear infinite;
}

.construction span {
  display: inline-block;
  background: #ffd400;
  color: #000000;
  font-family: var(--tahoma);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 3px 5px;
  border: 2px solid #000000;
}

@keyframes caution-slide {
  from { background-position: 0 0; }
  to { background-position: 32px 0; }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.badge88 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 31px;
  background: #000080;
  color: #ffffff;
  font-family: var(--pixel);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  border: 2px solid #ffffff;
}

/* Blink is only on NEW badges. */
.label-new {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 4px;
  font-family: var(--pixel);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.3;
  vertical-align: middle;
  animation: label-blink 0.9s steps(1, end) infinite;
}

@keyframes label-blink {
  0%, 49% { background: #ffff00; color: #000000; }
  50%, 100% { background: #4b0082; color: #ffffff; }
}

.theme-label {
  display: block;
  margin-top: 8px;
  text-align: left;
  font-family: var(--tahoma);
  font-size: 13px;
  font-weight: 700;
  color: #000000;
}

.theme-label select,
.win-body select,
.win-body input,
.win-body textarea {
  width: 100%;
  margin-top: 3px;
  font-family: var(--verdana);
  font-size: 16px;
  color: #000000;
  background: #ffffff;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  padding: 4px 6px;
}

main {
  min-width: 0;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 14px 18px;
}

h2 {
  margin: 14px 0 8px;
  font-family: var(--times);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading-2);
}

.rainbow {
  height: 8px;
  margin: 8px 0;
  background: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00cc00, #00e5ff, #3366ff, #ff00ff);
  border: 1px solid #ffffff;
}

.btn-row { text-align: center; margin: 8px 0 12px; }

.bevel,
.action {
  display: inline-block;
  margin: 4px;
  color: #000000;
}

.bevel:visited,
.action:visited { color: #000000; }

.bevel-big { font-size: 18px; padding: 10px 16px; }

.window {
  margin: 0 0 12px;
  background: var(--box);
  color: var(--box-text);
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  box-shadow: 1px 1px 0 #808080;
}

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 4px 3px 6px;
  background: linear-gradient(90deg, var(--title-0) 0%, var(--title-0) 62%, var(--title-1) 100%);
  color: #ffffff;
  font-family: var(--tahoma);
  font-size: 13px;
  font-weight: 700;
}

.titlebar > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.win-controls { display: inline-flex; flex: none; }

.wc {
  position: relative;
  width: 16px;
  height: 14px;
  margin-left: 2px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.wc-min::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 2px;
  background: #000000;
}

.wc-max::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid #000000;
}

.wc-close::before,
.wc-close::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 5px;
  height: 2px;
  background: #000000;
}

.wc-close::before { transform: rotate(45deg); }
.wc-close::after { transform: rotate(-45deg); }

.win-body {
  margin: 3px;
  padding: 8px 10px 12px;
  background: var(--box);
  color: #000000;
  font-family: var(--verdana);
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: break-word;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}

.win-body h2 {
  margin: 12px 0 6px;
  color: #000066;
  font-family: var(--times);
  font-size: 28px;
  text-shadow: none;
}

.win-body h2:first-child { margin-top: 0; }

.win-body p { margin: 8px 0; }

.win-body ul,
.win-body ol { margin: 8px 0; padding-left: 1.25em; }

.win-body a { color: #0000aa; }
.win-body a:visited { color: #551a8b; }
.win-body a:hover { color: #000066; }
.win-body a:active { color: #8b0000; }

.win-body label {
  display: block;
  margin: 8px 0 0;
  font-family: var(--tahoma);
  font-weight: 700;
  font-size: 14px;
}

.role {
  margin: 0 0 8px;
  font-family: var(--times);
  font-size: 20px;
  font-style: italic;
}

.skill {
  display: inline-block;
  margin: 3px 4px 3px 0;
  padding: 3px 8px;
  background: #000080;
  color: #ffffff;
  font-family: var(--tahoma);
  font-size: 13px;
  font-weight: 700;
  border-top: 2px solid #6ea6e0;
  border-left: 2px solid #6ea6e0;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.stamp {
  display: inline-block;
  background: #ffff00;
  color: #000000;
  font-family: var(--tahoma);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 6px;
  border: 2px solid #000000;
}

.fine, .form-error { font-family: var(--verdana); font-size: 14px; }
.form-error { color: #7a0016; font-weight: 700; }

.thanks {
  margin-top: 8px;
  padding: 8px 10px 12px;
  background: #ffffff;
  color: #000000;
  border: 3px solid #006400;
}

.thanks h2 { color: #064d06; }

.home-apps,
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.home-apps .window,
.app-grid .window { margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters .bevel { margin: 0; }

.filters .bevel[aria-pressed="true"] {
  border-top-color: #000000;
  border-left-color: #000000;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  background: #d0d0d0;
}

.sketch {
  height: 78px;
  background: #ffffff;
  border: 2px inset #808080;
}

.sketch-caption { margin: 4px 0 0; font-size: 13px; }

.sketch-form {
  background:
    linear-gradient(#d0d0d0, #d0d0d0) 10px 12px / 72% 10px no-repeat,
    linear-gradient(#d0d0d0, #d0d0d0) 10px 30px / 72% 10px no-repeat,
    linear-gradient(#000080, #000080) 10px 50px / 78px 16px no-repeat,
    #ffffff;
}

.sketch-plan {
  background:
    linear-gradient(#c8c8c8, #c8c8c8) 10px 14px / 78% 6px no-repeat,
    linear-gradient(#c8c8c8, #c8c8c8) 10px 28px / 64% 6px no-repeat,
    linear-gradient(#c8c8c8, #c8c8c8) 10px 42px / 70% 6px no-repeat,
    linear-gradient(#006400, #006400) 10px 56px / 42% 8px no-repeat,
    #ffffff;
}

.sketch-inbox {
  background:
    linear-gradient(#e4e4e4, #e4e4e4) 8px 8px / calc(100% - 16px) 16px no-repeat,
    linear-gradient(#f7f7f7, #f7f7f7) 8px 28px / calc(100% - 16px) 16px no-repeat,
    linear-gradient(#e4e4e4, #e4e4e4) 8px 48px / calc(100% - 16px) 16px no-repeat,
    #ffffff;
}

.terminal {
  margin: 8px 0 0;
  padding: 6px 8px;
  background: #000000;
  color: #00ff41;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
  white-space: pre-wrap;
}

.card-links a { margin-right: 10px; }

.top-five { margin-top: 0; }

.profile-list { list-style: none; padding-left: 0; }
.profile-list li {
  margin: 6px 0;
  padding: 6px 8px;
  background: #ffffff;
  border: 2px inset #808080;
}

.webring { text-align: center; padding: 10px 12px 8px; }

.ring-name {
  margin: 0 0 6px;
  font-family: var(--comic);
  font-weight: 700;
  font-size: 20px;
  color: var(--heading);
}

.ring-links { margin: 8px 0; }

.ring-links a,
.ring-links a:visited,
.ring-links a:hover {
  display: inline-block;
  margin: 3px;
  padding: 4px 8px;
  background: #c0c0c0;
  color: #000000;
  font-family: var(--tahoma);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.ring-note,
.updated {
  margin: 3px 0;
  font-family: var(--times);
  font-size: 15px;
  color: #ffffff;
}

.taskbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 8px;
  background: #c0c0c0;
  color: #000000;
  border-top: 2px solid #ffffff;
  font-family: var(--tahoma);
  font-size: 14px;
}

.task-title { font-weight: 700; }

.start-menu {
  position: absolute;
  left: 6px;
  bottom: 100%;
  z-index: 5;
  min-width: 180px;
  padding: 4px;
  background: #c0c0c0;
  color: #000000;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

.start-menu a,
.start-menu button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 8px;
  text-align: left;
  text-decoration: none;
  background: #c0c0c0;
  color: #000000;
  font-family: var(--tahoma);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.start-menu a:hover,
.start-menu a:focus,
.start-menu button:hover,
.start-menu button:focus {
  background: #000080;
  color: #ffffff;
}

.power-off {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: #000000;
  color: #ffffff;
  text-align: center;
  font-family: var(--tahoma);
}

.power-off p { margin: 0 16px 16px; font-size: 22px; color: #ffffff; }

#matrix-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #001100;
}

#matrix-layer canvas { display: block; width: 100%; height: 100%; }

#matrix-layer .matrix-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.matrix-note {
  margin: 20vh 16px 0;
  text-align: center;
  color: #ccff00;
  font-family: var(--mono);
  font-size: 18px;
}

.trail {
  position: fixed;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #ffff00;
  pointer-events: none;
  z-index: 40;
}

:focus-visible {
  outline: 3px solid #ff00ff;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  body { background-size: 140px 110px; }
  html, body { overflow-x: hidden; }
  .shell {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
  }
  .sidenav {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    margin: 8px;
  }
  .nav-btn { width: auto; margin: 0; }
  .nav-extras { width: 100%; }
  .header-top { flex-wrap: wrap; }
  h1 { font-size: 40px; }
  .home-apps,
  .app-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; display: block; text-align: center; }
  .ticker-track span[aria-hidden="true"] { display: none; }
  .ticker-track span { white-space: normal; }
  .label-new { animation: none; background: #ffff00; color: #000000; }
  .construction { animation: none; }
}

[data-theme="boring"] .shell { box-shadow: none; background: #fafafa; }
[data-theme="boring"] body { background-image: none; font-family: var(--clean); }

[data-theme="boring"] h1,
[data-theme="boring"] .logo,
[data-theme="boring"] .logo:visited,
[data-theme="boring"] .tagline,
[data-theme="boring"] .ticker-track span,
[data-theme="boring"] .ring-name,
[data-theme="boring"] h2,
[data-theme="boring"] .win-body h2 {
  font-family: var(--clean);
  text-shadow: none;
}

[data-theme="boring"] .logo,
[data-theme="boring"] .logo:visited,
[data-theme="boring"] h1,
[data-theme="boring"] h2,
[data-theme="boring"] .role-line,
[data-theme="boring"] .kicker,
[data-theme="boring"] .banner,
[data-theme="boring"] .ring-note,
[data-theme="boring"] .updated,
[data-theme="boring"] .win-body h2 {
  color: #111111;
}

[data-theme="boring"] .tagline,
[data-theme="boring"] .win-body a,
[data-theme="boring"] .win-body a:visited { color: #2563eb; }

[data-theme="boring"] .ticker {
  background: transparent;
  border: none;
  color: #333333;
}

[data-theme="boring"] .ticker-track {
  animation: none;
  width: auto;
  display: block;
  text-align: center;
}

[data-theme="boring"] .ticker-track span[aria-hidden="true"] { display: none; }
[data-theme="boring"] .ticker-track span {
  white-space: normal;
  font-weight: 400;
  color: #333333;
}

[data-theme="boring"] .welcome-flag {
  background: transparent;
  color: #2563eb;
  border: none;
  font-family: var(--clean);
  font-size: 13px;
  letter-spacing: 0.06em;
}

[data-theme="boring"] .rainbow,
[data-theme="boring"] .win-controls { display: none; }

[data-theme="boring"] .construction {
  animation: none;
  background: #fff3cd;
  border: 1px solid #e6d59a;
}

[data-theme="boring"] .sidenav {
  background: transparent;
  border: none;
  box-shadow: none;
}

[data-theme="boring"] .nav-btn,
[data-theme="boring"] .nav-btn:visited,
[data-theme="boring"] .nav-btn:hover,
[data-theme="boring"] .nav-btn[aria-current="page"] {
  background: transparent;
  border: none;
  color: #2563eb;
  text-align: left;
  font-family: var(--clean);
}

[data-theme="boring"] .nav-btn[aria-current="page"] {
  color: #111111;
  font-weight: 700;
}

[data-theme="boring"] .window {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}

[data-theme="boring"] .titlebar {
  background: #111111;
  color: #ffffff;
  font-family: var(--clean);
}

[data-theme="boring"] .win-body {
  background: #ffffff;
  border: none;
  font-family: var(--clean);
}

[data-theme="boring"] .bevel,
[data-theme="boring"] .action,
[data-theme="boring"] .corner-toggle,
[data-theme="boring"] #start-btn,
[data-theme="boring"] .bevel:visited {
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: var(--clean);
}

[data-theme="boring"] .digits {
  font-family: var(--clean);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111111;
  background: #ffffff;
}

[data-theme="boring"] .badge88 {
  font-family: var(--clean);
  font-size: 10px;
  background: #111111;
}

[data-theme="boring"] .label-new {
  animation: none;
  font-family: var(--clean);
  font-size: 10px;
  background: #2563eb;
  color: #ffffff;
}

[data-theme="boring"] .taskbar,
[data-theme="boring"] .start-menu {
  background: #ffffff;
  color: #111111;
  border: none;
  border-top: 1px solid #e5e7eb;
  font-family: var(--clean);
}

[data-theme="boring"] .ring-links a,
[data-theme="boring"] .ring-links a:visited {
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: var(--clean);
}

[data-theme="boring"] .skill {
  background: #eff4ff;
  color: #111111;
  border: 1px solid #2563eb;
}

[data-theme="boring"] .stamp {
  background: #fff3cd;
  border: 1px solid #e6d59a;
  border-radius: 999px;
}

[data-theme="boring"] :focus-visible { outline-color: #2563eb; }

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .shell {
    display: block;
    max-width: none;
    margin: 0;
    box-shadow: none;
    background: #ffffff;
  }
  header,
  .sidenav,
  footer,
  .ticker,
  .rainbow,
  .corner-toggle,
  .no-print,
  .sketch,
  .sketch-caption,
  .filters,
  .label-new,
  .construction,
  .btn-row { display: none !important; }
  main { max-width: none; padding: 0; }
  .window,
  .win-body {
    border: none;
    box-shadow: none;
    background: #ffffff;
    color: #000000;
  }
  .titlebar { background: #ffffff; color: #000000; }
  .win-body h2,
  .win-body a,
  .win-body a:visited { color: #000000; }
  .home-apps,
  .app-grid { display: block; }
}
