:root {
  color-scheme: dark;
  --ink: #07111f;
  --line: #020712;
  --page: #10355f;
  --page-dark: #061327;
  --panel: #1b4d72;
  --panel-soft: #497aa3;
  --cream: #fff0ad;
  --cream-2: #ead28a;
  --yellow: #f0cf68;
  --lavender: #acc7db;
  --purple: #1f5582;
  --purple-dark: #092a4c;
  --blue: #94b7c9;
  --blue-dark: #214b72;
  --mint: #9fbd82;
  --mint-dark: #6f7f45;
  --peach: #d08f72;
  --rose: #b85f74;
  --green: #a6c77f;
  --shadow: 6px 6px 0 #020713;
  --soft-shadow: 3px 3px 0 #020713;
  --star-moon-wallpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='120' viewBox='0 0 168 120'%3E%3Ccircle fill='%237f9fc0' opacity='.85' cx='35' cy='34' r='12'/%3E%3Cellipse fill='none' stroke='%23dfc56e' stroke-width='3' opacity='.82' cx='35' cy='34' rx='21' ry='6'/%3E%3Cpath fill='%23f4e6bd' opacity='.82' d='M116 17c-9 2-15 11-13 20 2 10 12 16 22 13-6-2-11-7-13-14-2-7 0-14 4-19z'/%3E%3Ccircle fill='%23ad91c6' opacity='.78' cx='131' cy='80' r='9'/%3E%3Cpath fill='none' stroke='%23f4e6bd' stroke-width='2' opacity='.7' d='M120 80h22'/%3E%3Cpath fill='%23dfc56e' opacity='.9' d='M72 14l3 8 8 3-8 3-3 8-3-8-8-3 8-3z'/%3E%3Cpath fill='%23f4e6bd' opacity='.82' d='M22 86l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3Cpath fill='%23ad91c6' opacity='.72' d='M92 78l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3Ccircle fill='%23f4e6bd' opacity='.75' cx='154' cy='26' r='2'/%3E%3Ccircle fill='%23dfc56e' opacity='.65' cx='63' cy='104' r='1.8'/%3E%3Ccircle fill='%23f4e6bd' opacity='.55' cx='98' cy='48' r='1.5'/%3E%3Ccircle fill='%23f4e6bd' opacity='.52' cx='150' cy='103' r='1.3'/%3E%3C/svg%3E");
  --tiny-celestial-wallpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='64' viewBox='0 0 80 64'%3E%3Ccircle fill='%237f9fc0' opacity='.58' cx='16' cy='18' r='6'/%3E%3Cellipse fill='none' stroke='%23dfc56e' stroke-width='1.6' opacity='.72' cx='16' cy='18' rx='12' ry='4'/%3E%3Cpath fill='%23f4e6bd' opacity='.62' d='M56 9c-5 1-9 6-8 12 1 6 7 10 13 8-4-1-7-5-8-9-1-4 0-8 3-11z'/%3E%3Cpath fill='%23dfc56e' opacity='.78' d='M38 38l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3Ccircle fill='%23f4e6bd' opacity='.54' cx='68' cy='46' r='1.5'/%3E%3Ccircle fill='%23dfc56e' opacity='.45' cx='7' cy='52' r='1.3'/%3E%3Ccircle fill='%23f4e6bd' opacity='.45' cx='32' cy='8' r='1.2'/%3E%3C/svg%3E");
  --star-moon-wallpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='120' viewBox='0 0 168 120' shape-rendering='crispEdges'%3E%3Crect x='9' y='9' width='4' height='4' fill='%23f4e6bd'/%3E%3Crect x='13' y='13' width='4' height='4' fill='%23dfc56e'/%3E%3Crect x='17' y='9' width='4' height='4' fill='%237f9fc0'/%3E%3Cpath fill='%23dfc56e' d='M74 13h4v8h8v4h-8v8h-4v-8h-8v-4h8z'/%3E%3Cpath fill='%23f4e6bd' d='M121 13c-8 2-13 9-12 17 2 9 11 14 20 11-6-2-10-6-11-12-2-6 0-12 3-16z'/%3E%3Crect x='143' y='18' width='14' height='4' fill='%23a8c678'/%3E%3Crect x='139' y='22' width='22' height='4' fill='%237f9fc0'/%3E%3Crect x='147' y='26' width='6' height='4' fill='%23ad91c6'/%3E%3Crect x='36' y='41' width='5' height='5' fill='%23ad91c6'/%3E%3Crect x='41' y='46' width='5' height='5' fill='%23f4e6bd'/%3E%3Crect x='46' y='41' width='5' height='5' fill='%23dfc56e'/%3E%3Cpath fill='%237f9fc0' d='M94 63h6v6h12v6h-12v6h-6v-6h-12v-6h12z'/%3E%3Crect x='17' y='91' width='8' height='8' fill='%23dfc56e'/%3E%3Crect x='25' y='91' width='8' height='8' fill='%23171535'/%3E%3Crect x='33' y='91' width='8' height='8' fill='%23f4e6bd'/%3E%3Crect x='25' y='99' width='8' height='8' fill='%23ad91c6'/%3E%3Cpath fill='%23f4e6bd' d='M132 84h4v4h8v4h-8v4h-4v-4h-8v-4h8z'/%3E%3Crect x='63' y='52' width='2' height='2' fill='%23f4e6bd' opacity='.78'/%3E%3Crect x='152' y='72' width='2' height='2' fill='%23f4e6bd' opacity='.78'/%3E%3Crect x='105' y='104' width='2' height='2' fill='%23dfc56e' opacity='.62'/%3E%3C/svg%3E");
  --tiny-celestial-wallpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='68' viewBox='0 0 84 68' shape-rendering='crispEdges'%3E%3Cpath fill='%23f4e6bd' opacity='.72' d='M12 9c-5 1-8 5-7 10 1 6 7 9 13 7-4-1-7-4-8-8-1-4 0-7 2-9z'/%3E%3Cpath fill='%23dfc56e' opacity='.82' d='M44 7h3v6h6v3h-6v6h-3v-6h-6v-3h6z'/%3E%3Crect x='64' y='14' width='10' height='3' fill='%23a8c678' opacity='.76'/%3E%3Crect x='61' y='17' width='16' height='3' fill='%237f9fc0' opacity='.8'/%3E%3Crect x='67' y='20' width='5' height='3' fill='%23ad91c6' opacity='.75'/%3E%3Crect x='22' y='42' width='5' height='5' fill='%23ad91c6' opacity='.72'/%3E%3Crect x='27' y='47' width='5' height='5' fill='%23f4e6bd' opacity='.78'/%3E%3Crect x='55' y='51' width='2' height='2' fill='%23f4e6bd' opacity='.62'/%3E%3Crect x='8' y='55' width='2' height='2' fill='%23dfc56e' opacity='.58'/%3E%3C/svg%3E");
  --star-moon-wallpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64' shape-rendering='crispEdges'%3E%3Crect x='6' y='8' width='2' height='2' fill='%23f4e6bd'/%3E%3Crect x='28' y='15' width='2' height='2' fill='%23dfc56e'/%3E%3Crect x='48' y='9' width='3' height='3' fill='%237f9fc0'/%3E%3Cpath fill='%23f4e6bd' d='M15 36h2v4h4v2h-4v4h-2v-4h-4v-2h4z'/%3E%3Crect x='38' y='42' width='4' height='4' fill='%23ad91c6'/%3E%3Crect x='42' y='46' width='4' height='4' fill='%23f4e6bd'/%3E%3C/svg%3E");
  --tiny-celestial-wallpaper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' shape-rendering='crispEdges'%3E%3Crect x='5' y='6' width='2' height='2' fill='%23f4e6bd'/%3E%3Crect x='20' y='16' width='2' height='2' fill='%23dfc56e'/%3E%3Crect x='12' y='24' width='3' height='3' fill='%237f9fc0'/%3E%3C/svg%3E");
  --star-moon-wallpaper:
    repeating-linear-gradient(90deg, rgba(245, 228, 173, 0.075) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(111, 145, 173, 0.07) 0 1px, transparent 1px 26px);
  --tiny-celestial-wallpaper:
    repeating-linear-gradient(90deg, rgba(245, 228, 173, 0.08) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, rgba(245, 228, 173, 0.045), rgba(6, 24, 44, 0));
  --geo-collage-wallpaper: url("assets/collage2.png");
  --geo-collage-size: 1258px 646px;
  --star-moon-wallpaper: var(--geo-collage-wallpaper);
  --tiny-celestial-wallpaper:
    repeating-linear-gradient(90deg, rgba(255, 240, 173, 0.18) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(0deg, rgba(73, 122, 163, 0.24) 0 1px, transparent 1px 12px);
  --font-ui: Arial, Helvetica, Verdana, sans-serif;
  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-pixel: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  overflow-x: hidden;
  background: var(--page-dark);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    var(--star-moon-wallpaper),
    repeating-linear-gradient(90deg, rgba(255, 240, 173, 0.1) 0 1px, transparent 1px 23px),
    repeating-linear-gradient(0deg, rgba(148, 183, 201, 0.08) 0 1px, transparent 1px 23px),
    #061327;
  background-size:
    var(--geo-collage-size),
    23px 23px,
    23px 23px,
    auto;
  font-family: var(--font-ui);
  font-size: 16px;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.geo-collage-layer {
  display: none;
}

.geo-sticker,
.geo-spark {
  position: absolute;
  display: block;
  filter: drop-shadow(4px 4px 0 #020713);
}

.geo-sticker {
  min-width: 92px;
  padding: 8px 10px;
  border: 4px solid var(--line);
  border-style: ridge;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 54%),
    var(--cream);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.geo-sticker-one {
  left: 2vw;
  top: 5vh;
  background: #fff0ad;
  transform: rotate(-7deg);
}

.geo-sticker-two {
  right: 3vw;
  top: 13vh;
  background: #f0cf68;
  transform: rotate(5deg);
}

.geo-sticker-three {
  left: 1.6vw;
  top: 46vh;
  background: #94b7c9;
  color: #07111f;
  transform: rotate(4deg);
}

.geo-sticker-four {
  right: 2vw;
  top: 58vh;
  background: #1f5582;
  color: #fff0ad;
  transform: rotate(-5deg);
}

.geo-sticker-five {
  left: 4vw;
  bottom: 6vh;
  background: #ead28a;
  transform: rotate(8deg);
}

.geo-spark {
  width: 48px;
  height: 48px;
  background:
    linear-gradient(90deg, transparent 0 20px, #f0cf68 20px 28px, transparent 28px),
    linear-gradient(0deg, transparent 0 20px, #f0cf68 20px 28px, transparent 28px);
}

.geo-spark-one {
  left: 16vw;
  top: 20vh;
}

.geo-spark-two {
  right: 14vw;
  top: 42vh;
  transform: scale(0.75) rotate(16deg);
}

.geo-spark-three {
  right: 8vw;
  bottom: 9vh;
  transform: scale(0.9) rotate(-12deg);
}

.site-shell {
  width: min(1380px, calc(100% - 20px));
  margin: 0 auto;
  padding: 12px 0 34px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.site-window,
.marquee-strip,
.side-column,
.watchlist-window,
.cat-zone,
.status-panel,
.synth-slot,
.stats,
.save-status,
.alphabet-board,
.round-panel,
.name-panel {
  border: 4px solid var(--line);
  border-style: ridge;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.site-window {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.browser-strip {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 5px 22px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.browser-strip span:not(.visitor-tag) {
  min-height: 27px;
  padding: 5px 10px 4px;
  border: 3px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--line);
}

.browser-strip .visitor-tag {
  margin-left: 0;
  padding-right: 0;
  color: var(--cream);
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    2px 2px 0 var(--line),
    0 0 5px rgba(2, 7, 18, 0.95);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: stretch;
  padding: 8px 22px 12px;
  background: transparent;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-panel::before,
.hero-panel::after {
  content: none;
  display: none;
}

.hero-panel::before {
  content: "movie links";
  right: 338px;
  top: 18px;
  padding: 7px 12px;
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-5deg);
}

.hero-panel::after {
  content: "net home";
  right: 34px;
  bottom: 22px;
  padding: 6px 10px;
  background: var(--cream);
  color: var(--ink);
  transform: rotate(6deg);
}

.hero-panel::before,
.hero-panel::after {
  content: none;
  display: none;
}

.brand-lockup {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-width: 0;
}

.mark {
  position: relative;
  width: 206px;
  min-width: 206px;
  height: 178px;
  margin-left: 10px;
  margin-block: 0;
  transform: rotate(-3deg);
  border: 5px solid var(--line);
  border-style: ridge;
  background: var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mark::before {
  content: none;
}

.mark img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 50%;
  filter: contrast(1.04) saturate(0.96);
}

.mark figcaption {
  position: absolute;
  left: 12px;
  bottom: 9px;
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: none;
  text-shadow:
    2px 2px 0 var(--line),
    0 0 7px rgba(2, 7, 18, 0.95);
  white-space: nowrap;
  box-shadow: none;
  transform: rotate(-1deg);
}

.cat-ear {
  position: absolute;
  top: 0;
  width: 58px;
  height: 58px;
  border: 5px solid var(--line);
  background: linear-gradient(135deg, var(--cream) 0 58%, var(--peach) 58%);
  transform: rotate(45deg);
  z-index: 0;
}

.cat-ear-left {
  left: 17px;
}

.cat-ear-right {
  right: 17px;
}

.mark-screen {
  position: absolute;
  left: 31px;
  right: 31px;
  top: 56px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 82px;
  border: 4px solid var(--line);
  background:
    var(--tiny-celestial-wallpaper),
    #092a4c;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 0.96;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--line);
}

.mark-tail {
  position: absolute;
  left: 18px;
  bottom: 5px;
  width: 44px;
  height: 38px;
  border-bottom: 8px solid var(--line);
  border-left: 8px solid var(--line);
  border-radius: 0 0 0 32px;
}

.brand-text {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  text-shadow:
    2px 2px 0 var(--line),
    4px 4px 0 rgba(2, 7, 19, 0.78);
  text-transform: uppercase;
}

.eyebrow span,
.tagline span {
  display: block;
}

h1 {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.alphabet-word {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 6px;
}

.alphabet-word i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 58px;
  border: 4px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-style: normal;
  font-size: 2.1rem;
  line-height: 1;
  box-shadow: var(--soft-shadow);
  text-shadow: none;
}

.alphabet-word i:nth-child(odd) {
  transform: rotate(-2deg);
}

.alphabet-word i:nth-child(even) {
  transform: rotate(2deg);
}

.alphabet-word i:nth-child(2),
.alphabet-word i:nth-child(6) {
  background: var(--lavender);
}

.alphabet-word i:nth-child(3),
.alphabet-word i:nth-child(7) {
  background: var(--mint);
}

.alphabet-word i:nth-child(4),
.alphabet-word i:nth-child(8) {
  background: var(--peach);
}

.alphabet-word i:nth-child(5) {
  background: var(--yellow);
}

.watchlist-word {
  display: block;
  color: var(--cream);
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 0.9;
  text-shadow:
    4px 4px 0 var(--line),
    8px 8px 0 #1f5582,
    11px 11px 0 #b85f74;
}

.tagline {
  margin: 12px 0 0;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.45;
  text-shadow:
    2px 2px 0 var(--line),
    4px 4px 0 rgba(2, 7, 19, 0.78);
  text-transform: uppercase;
}

.hero-widgets {
  display: grid;
  gap: 10px;
  align-content: start;
}

.name-panel,
.round-panel {
  background: #092a4c;
  color: var(--cream);
}

.name-panel {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.panel-heading {
  margin: 0;
  padding: 6px 8px;
  border-bottom: 3px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(255, 240, 173, 0.16) 0 2px, transparent 2px 8px),
    linear-gradient(90deg, var(--purple-dark), var(--purple));
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
  text-shadow: 2px 2px 0 var(--line);
}

.name-panel .panel-heading {
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 1.28rem;
  text-shadow:
    2px 2px 0 var(--line),
    0 0 5px rgba(2, 7, 18, 0.95);
}

.name-panel label,
.field,
.search-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.name-panel span,
.field-label,
.seen-field legend,
.search-field span {
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field-label,
.seen-field legend,
.search-field span {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  padding: 2px 6px;
  border: 2px solid var(--line);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--line);
}

.name-panel label span {
  color: var(--cream);
  text-shadow:
    2px 2px 0 var(--line),
    0 0 5px rgba(2, 7, 18, 0.95);
}

.round-panel {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 12px;
  background:
    var(--star-moon-wallpaper),
    linear-gradient(135deg, #092a4c, #1f5582);
  background-size:
    var(--geo-collage-size),
    auto;
  text-transform: uppercase;
}

.round-panel span {
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 900;
}

.round-panel strong {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  text-shadow: 3px 3px 0 var(--line);
}

input,
textarea {
  width: 100%;
  border: 3px solid var(--line);
  border-style: inset;
  border-radius: 0;
  background: #fff4d5;
  color: var(--ink);
  outline: none;
  box-shadow: inset 3px 3px 0 rgba(17, 20, 42, 0.15);
}

input {
  min-height: 39px;
  padding: 0 10px;
}

textarea {
  min-height: 78px;
  padding: 9px 10px;
  resize: vertical;
}

input:focus,
textarea:focus {
  background: #fff9e8;
  box-shadow:
    inset 3px 3px 0 rgba(17, 20, 42, 0.12),
    0 0 0 4px var(--yellow);
}

.marquee-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 6px 26px 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow:
    2px 2px 0 var(--line),
    0 0 5px rgba(2, 7, 18, 0.9);
}

.marquee-strip span {
  display: inline;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  box-shadow: none;
  overflow-wrap: anywhere;
  position: relative;
  text-align: left;
}

.marquee-strip span::before {
  content: "// ";
  color: var(--yellow);
}

.marquee-strip span:last-child {
  background: transparent;
  color: var(--cream);
  white-space: normal;
}

.marquee-strip span:nth-child(2) {
  background: transparent;
  transform: none;
}

.marquee-strip span:nth-child(3) {
  background: transparent;
  transform: none;
}

.marquee-strip span:nth-child(4) {
  transform: none;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(380px, 460px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.side-column {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background:
    transparent;
  box-shadow: none;
}

.cat-zone,
.status-panel,
.synth-slot,
.stats {
  background: var(--cream-2);
  box-shadow: var(--soft-shadow);
}

.cat-zone {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cat-zone-title {
  padding: 0 4px 2px;
  border: 0;
  background: transparent;
  text-align: left;
  text-transform: none;
}

.cat-zone-title span:first-child {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    2px 2px 0 var(--line),
    0 0 7px rgba(2, 7, 18, 0.95);
}

.cat-zone-title span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 900;
  text-shadow:
    2px 2px 0 var(--line),
    0 0 5px rgba(2, 7, 18, 0.95);
}

.cat-zone img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(4px 4px 0 var(--line));
}

.status-panel,
.synth-slot,
.stats {
  padding: 10px;
}

.status-panel {
  padding: 6px 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.status-panel .panel-heading,
.synth-slot .panel-heading,
.stats .panel-heading {
  margin: -10px -10px 10px;
}

.status-panel .panel-heading,
.synth-slot .panel-heading {
  margin: 0 0 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 1.35rem;
  text-shadow:
    2px 2px 0 var(--line),
    0 0 5px rgba(2, 7, 18, 0.95);
}

.status-panel ul {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  list-style: none;
  text-shadow:
    2px 2px 0 var(--line),
    0 0 5px rgba(2, 7, 18, 0.95);
}

.status-panel li {
  display: block;
  padding: 4px 0;
}

.status-panel li::before {
  content: "> ";
  color: var(--yellow);
}

.synth-slot {
  padding: 10px 14px 12px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 38, 0.2), rgba(8, 12, 38, 0.48)),
    url("assets/sailormoon.avif"),
    #141f31;
  background-size:
    auto,
    cover,
    auto;
  background-position:
    center,
    center 44%,
    center;
  box-shadow: none;
}

.synth-slot .panel-heading {
  color: var(--cream);
  text-shadow:
    2px 2px 0 #1b2444,
    0 0 8px rgba(255, 207, 232, 0.88);
}

.synth-console {
  display: grid;
  place-items: center;
  min-height: 106px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
}

.synth-canvas {
  display: block;
  width: 96px;
  height: 96px;
  border: 3px solid var(--line);
  background: #0d1730;
  image-rendering: pixelated;
  box-shadow: 2px 2px 0 var(--line);
}

.synth-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 7px;
}

.synth-button {
  min-height: 36px;
  border: 3px solid var(--line);
  border-color: #fff9df #5c5d68 #5c5d68 #fff9df;
  background:
    linear-gradient(135deg, #fff4cf 0%, #ded8c6 48%, #b9b8c0 100%);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -2px -2px 0 #888896,
    2px 2px 0 var(--line);
}

.synth-button:active,
.synth-button.is-playing {
  border-color: #5c5d68 #fff9df #fff9df #5c5d68;
  box-shadow:
    inset 3px 3px 0 #777783,
    inset -1px -1px 0 #fff9df,
    1px 1px 0 var(--line);
}

.synth-button:focus-visible {
  outline: 2px dotted var(--ink);
  outline-offset: -7px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 50%),
    var(--cream-2);
}

.stats div {
  min-height: 60px;
  padding: 9px;
  border: 3px solid var(--line);
  background: #fff4d5;
}

.stats span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.52rem;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--yellow);
}

.stats small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.save-status {
  margin: 0;
  padding: 9px 10px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: right;
  box-shadow: var(--soft-shadow);
}

.watchlist-window {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.toolbar {
  min-width: 0;
  padding: 10px;
  border: 4px solid var(--line);
  border-style: ridge;
  background:
    repeating-linear-gradient(90deg, rgba(7, 17, 31, 0.08) 0 2px, transparent 2px 10px),
    var(--cream-2);
  box-shadow: var(--soft-shadow);
}

.controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.search-field {
  grid-column: 1;
  grid-row: 1;
}

.filter-group {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(max-content, 1fr));
  gap: 7px;
  padding-top: 8px;
}

.filter-button,
.utility-button {
  position: relative;
  min-height: 39px;
  border: 3px solid;
  border-color: #fff9df #5c5d68 #5c5d68 #fff9df;
  border-radius: 0;
  background:
    linear-gradient(135deg, #fff4cf 0%, #ded8c6 46%, #b9b8c0 100%);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 0.88rem;
  font-weight: 800;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -2px -2px 0 #888896,
    3px 3px 0 var(--line);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background-color 120ms ease;
}

.filter-button.is-active {
  border-color: #5c5d68 #fff9df #fff9df #5c5d68;
  background:
    linear-gradient(135deg, #9fb2c2 0%, #d9e0df 56%, #f4e6bd 100%);
  box-shadow:
    inset 3px 3px 0 #6c7480,
    inset -1px -1px 0 #fff9df,
    2px 2px 0 var(--line);
}

.utility-button {
  padding: 0 15px;
}

.utility-button.danger {
  background:
    linear-gradient(135deg, #f0d1d4 0%, #d7a4b4 50%, #a96f8a 100%);
}

#copyButton {
  grid-column: 2;
  grid-row: 1;
}

#resetButton {
  grid-column: 3;
  grid-row: 1;
}

.utility-button:hover,
.filter-button:hover {
  transform: translate(-1px, -1px);
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -2px -2px 0 #777783,
    4px 4px 0 var(--line);
}

.utility-button:active,
.filter-button:active {
  border-color: #5c5d68 #fff9df #fff9df #5c5d68;
  transform: translate(2px, 2px);
  box-shadow:
    inset 3px 3px 0 #777783,
    inset -1px -1px 0 #fff9df,
    1px 1px 0 var(--line);
}

.utility-button:focus-visible,
.filter-button:focus-visible {
  outline: 2px dotted var(--ink);
  outline-offset: -7px;
}

.alphabet-board {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.movie-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0 0;
  background: transparent;
}

.movie-row {
  position: relative;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) minmax(116px, 0.34fr);
  grid-template-areas:
    "letter title score"
    "letter seen seen"
    "comment comment comment";
  gap: 10px;
  min-height: 196px;
  padding: 16px 14px 14px;
  border: 4px solid var(--line);
  border-style: ridge;
  background:
    repeating-linear-gradient(90deg, rgba(7, 17, 31, 0.055) 0 2px, transparent 2px 11px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%),
    var(--cream-2);
  box-shadow: var(--soft-shadow);
}

.movie-row::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -18px;
  width: 104px;
  height: 18px;
  border: 4px solid var(--line);
  border-bottom: 0;
  background: var(--cream-2);
}

.movie-row:nth-child(3n + 2) {
  background:
    repeating-linear-gradient(90deg, rgba(7, 17, 31, 0.05) 0 2px, transparent 2px 11px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 42%),
    #d7debd;
}

.movie-row:nth-child(3n + 2)::before {
  background: #d7debd;
}

.movie-row:nth-child(3n + 3) {
  background:
    repeating-linear-gradient(90deg, rgba(7, 17, 31, 0.05) 0 2px, transparent 2px 11px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 42%),
    #c3d1d4;
}

.movie-row:nth-child(4n + 1) {
  transform: rotate(-0.25deg);
}

.movie-row:nth-child(4n + 2) {
  transform: rotate(0.25deg);
}

.movie-row:nth-child(4n + 3) {
  transform: rotate(-0.15deg);
}

.movie-row:nth-child(3n + 3)::before {
  background: #c3d1d4;
}

.movie-row.is-hidden {
  display: none;
}

.letter-cell,
.field,
.seen-field {
  min-width: 0;
  padding: 8px;
  border: 3px solid var(--line);
  border-style: inset;
  background: #fff4d5;
  box-shadow: inset 2px 2px 0 rgba(17, 20, 42, 0.12);
}

.comment-field {
  grid-area: comment;
}

.letter-cell {
  grid-area: letter;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  z-index: 1;
}

.title-field {
  grid-area: title;
}

.score-field {
  grid-area: score;
}

.letter-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  min-width: 66px;
  height: 52px;
  margin-top: 18px;
  border: 4px solid var(--line);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: var(--soft-shadow);
  text-shadow: 2px 2px 0 var(--cream);
}

.movie-row:nth-child(5n + 2) .letter-badge {
  background: var(--blue);
}

.movie-row:nth-child(5n + 3) .letter-badge {
  background: var(--mint);
}

.movie-row:nth-child(5n + 4) .letter-badge {
  background: var(--peach);
}

.movie-row:nth-child(5n + 5) .letter-badge {
  background: var(--cream);
}

.letter-badge::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -18px;
  width: 38px;
  height: 18px;
  border: 4px solid var(--line);
  border-bottom: 0;
  background: inherit;
}

.letter-note {
  width: 74px;
  min-height: 22px;
  margin-top: 2px;
  padding: 4px 5px;
  border: 3px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(255, 240, 173, 0.14) 0 2px, transparent 2px 7px),
    var(--purple-dark);
  color: var(--cream);
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.letter-note:empty {
  visibility: hidden;
}

.wildcard-tag {
  display: none;
}

.movie-row.is-wildcard .letter-cell {
  gap: 4px;
  align-content: center;
  justify-content: center;
  background: transparent;
}

.movie-row.is-wildcard .letter-badge {
  background: var(--mint);
}

.movie-row.is-wildcard .wildcard-tag {
  display: grid;
  place-items: center;
  align-self: center;
  width: 76px;
  min-height: 24px;
  padding: 4px 5px;
  border: 3px solid var(--line);
  background: var(--peach);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--line);
  transform: rotate(-4deg);
}

.movie-row.is-wildcard .letter-note {
  grid-column: auto;
}

.movie-row.is-mismatch .letter-badge {
  background: var(--rose);
}

.movie-row.is-mismatch .letter-note {
  color: var(--yellow);
}

.score-field input {
  text-align: center;
  padding-inline: 5px;
}

.seen-field {
  grid-area: seen;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 7px;
  margin: 0;
}

.seen-field legend {
  grid-column: 1 / -1;
  padding: 0;
}

.seen-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 32px;
  padding: 0 8px;
  border: 3px solid var(--line);
  border-style: outset;
  background: #fff4d5;
  font-size: 0.82rem;
  font-weight: 900;
}

.seen-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--rose);
  box-shadow: none;
}

.seen-field span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-helper {
  position: fixed;
  left: -9999px;
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) {
  .hero-panel,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .side-column {
    position: static;
    grid-template-columns: minmax(250px, 1fr) minmax(240px, 1fr);
  }

  .cat-zone {
    grid-row: span 2;
  }

  .cat-zone img {
    height: auto;
    max-height: none;
  }

  .movie-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-shell {
    width: min(100% - 12px, 620px);
    padding-top: 8px;
  }

  .geo-sticker {
    min-width: 74px;
    padding: 6px 7px;
    font-size: 0.58rem;
    opacity: 0.72;
  }

  .geo-sticker-three,
  .geo-sticker-four,
  .geo-spark-two {
    display: none;
  }

  .site-window,
  .marquee-strip,
  .side-column,
  .watchlist-window,
  .cat-zone,
  .status-panel,
  .synth-slot,
  .stats,
  .save-status,
  .alphabet-board,
  .round-panel,
  .name-panel {
    box-shadow: 3px 3px 0 #070916;
  }

  .marquee-strip,
  .side-column,
  .site-window,
  .name-panel,
  .status-panel,
  .synth-slot {
    box-shadow: none;
  }

  .browser-strip {
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px;
  }

  .browser-strip .visitor-tag {
    width: 100%;
    margin-left: 0;
  }

  .hero-panel,
  .brand-lockup,
  .side-column,
  .marquee-strip {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 10px;
  }

  .hero-panel::before,
  .hero-panel::after {
    display: none;
  }

  .brand-lockup {
    gap: 8px;
    justify-items: start;
  }

  .mark {
    width: 156px;
    min-width: 156px;
    height: 146px;
    margin-left: 0;
  }

  .mark figcaption {
    bottom: 8px;
    font-size: 1.14rem;
  }

  .cat-ear {
    width: 46px;
    height: 46px;
  }

  .mark-screen {
    left: 26px;
    right: 26px;
    top: 48px;
    min-height: 68px;
    font-size: 1.3rem;
  }

  .alphabet-word {
    gap: 5px;
  }

  .alphabet-word i {
    width: 35px;
    height: 38px;
    font-size: 1.32rem;
  }

  .watchlist-word {
    font-size: 2.82rem;
    text-shadow:
      3px 3px 0 var(--line),
      5px 5px 0 #1b3b5b;
  }

  .tagline {
    font-size: 0.76rem;
  }

  .controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .search-field,
  #copyButton,
  #resetButton,
  .filter-group {
    grid-column: 1;
    grid-row: auto;
  }

  .filter-group {
    grid-template-columns: 1fr 1fr;
  }

  .filter-button,
  .utility-button {
    min-height: 42px;
    white-space: normal;
  }

  .movie-list {
    grid-template-columns: 1fr;
    padding: 22px 8px 8px;
  }

  .movie-row {
    grid-template-columns: 78px minmax(0, 1fr);
    grid-template-areas:
      "letter title"
      "letter score"
      "seen seen"
      "comment comment";
    min-height: 0;
    transform: none;
  }

  .seen-field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .letter-cell {
    align-content: start;
  }

}

@media (max-width: 420px) {
  .site-shell {
    width: min(100% - 10px, 400px);
  }

  .browser-strip span:not(.visitor-tag) {
    padding-inline: 7px;
  }

  .alphabet-word i {
    width: 29px;
    height: 33px;
    font-size: 1.08rem;
  }

  .watchlist-word {
    font-size: 2.2rem;
  }

  .cat-zone-title span:first-child {
    font-size: 1.18rem;
  }

  .filter-group {
    grid-template-columns: 1fr;
  }

  .movie-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "letter"
      "title"
      "score"
      "seen"
      "comment";
  }

  .letter-cell {
    justify-items: start;
  }

  .seen-field {
    grid-template-columns: 1fr;
  }
}

.cat-zone,
.watchlist-window,
.alphabet-board {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.movie-list {
  background: transparent;
}
