:root {
  --pink: #ff1493;
  --light-pink: #ffd6ec;
  --violet: #8000ff;
  --dark-violet: #4b0082;
  --night-blue: #000066;
  --electric-blue: #0000ff;
  --cyan: #00ffff;
  --yellow: #ffff00;
  --gold: #ffd700;
  --win-gray: #c0c0c0;
  --white: #ffffff;
  --black: #000000;
  --panel-shadow: #8b0060;
  --robot-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23ff1493' stroke='%23000' stroke-width='2' d='M15 3h2v5h-2z'/%3E%3Ccircle cx='16' cy='4' r='3' fill='%2300ffff' stroke='%23000' stroke-width='2'/%3E%3Crect x='5' y='9' width='22' height='17' rx='4' fill='%23c0c0c0' stroke='%23000' stroke-width='2'/%3E%3Crect x='8' y='12' width='16' height='9' rx='2' fill='%2300066' stroke='%23fff' stroke-width='1'/%3E%3Ccircle cx='12' cy='16' r='2' fill='%2300ffff'/%3E%3Ccircle cx='20' cy='16' r='2' fill='%2300ffff'/%3E%3Cpath d='M12 23h8' stroke='%23ff1493' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M4 15H1m30 0h-3' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") 6 6;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  cursor: var(--robot-cursor), auto;
  background-color: var(--night-blue);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 45% 80%, rgba(0, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255, 20, 147, 0.9) 0 2px, transparent 3px),
    linear-gradient(135deg, #020024 0%, #120086 45%, #3a005f 72%, #ff1493 100%);
  background-size: 90px 90px, 130px 130px, 160px 160px, 120px 120px, cover;
}

body.konami-mode {
  animation: konamiPulse 0.7s steps(2, end) infinite;
}

a,
button,
label,
select,
summary,
[data-action] {
  cursor: var(--robot-cursor), pointer;
}

input,
textarea {
  cursor: text;
}

a {
  color: #0000cc;
  font-weight: bold;
  text-decoration: underline;
}

a:hover {
  color: var(--yellow);
  background: var(--pink);
}

button,
input,
select,
textarea {
  font-family: Verdana, Arial, sans-serif;
}

input,
select,
textarea {
  border: 2px inset var(--white);
  background: #fff8ff;
  color: #111;
  padding: 4px;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  font-weight: bold;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: min(1500px, calc(100% - 28px));
  margin: 4px 4px 4px 20px;
  border: 4px ridge var(--pink);
  background: rgba(255, 214, 236, 0.35);
  box-shadow: 0 0 18px var(--cyan);
}

.site-header {
  border: 3px outset var(--white);
  background: linear-gradient(#31004f, #08006d 55%, #33005e);
  color: var(--white);
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 10px;
  background: linear-gradient(to right, #4b0082, #ff1493, #4b0082);
  border-bottom: 2px ridge var(--white);
  color: var(--white);
  font-weight: bold;
  font-style: italic;
  text-shadow: 1px 1px var(--black);
}

.hero-header {
  display: grid;
  grid-template-columns: 170px 1fr 150px 210px;
  align-items: center;
  gap: 10px;
  min-height: 145px;
  padding: 8px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px),
    radial-gradient(circle at 77% 38%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.35), transparent 42%),
    linear-gradient(to bottom, rgba(12, 0, 100, 0.95), rgba(0, 0, 60, 0.9));
}

.heart-logo {
  text-align: center;
}

.heart-badge {
  position: relative;
  width: 118px;
  height: 108px;
  margin: 0 auto;
  padding-top: 26px;
  color: var(--white);
  font-family: "Times New Roman", serif;
  font-weight: bold;
  line-height: 0.9;
  text-shadow: 2px 2px #87003d;
  filter: drop-shadow(0 0 8px var(--pink));
}

.heart-badge::before,
.heart-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 38% 30%, #fff, #ff89c7 18%, #ff1493 46%, #a0007a 78%);
  border: 4px ridge #ffc0df;
  transform: rotate(-45deg);
}

.heart-badge::before {
  border-radius: 55% 55% 8px 55%;
}

.heart-badge::after {
  border-radius: 55% 55% 55% 8px;
  transform: rotate(45deg);
}

.heart-badge span {
  display: block;
  font-size: 28px;
}

.heart-badge strong {
  display: block;
  font-size: 24px;
}

.rose-row {
  margin-top: 4px;
  font-size: 28px;
}

.brand-block {
  text-align: center;
}

.wordart-title {
  margin: 0;
  font-family: "Comic Sans MS", "Times New Roman", cursive;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -4px;
  color: var(--pink);
  background: linear-gradient(#ffffff 4%, #ff97d0 18%, #ff1493 45%, #8400ff 62%, #0000ff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-shadow:
    2px 2px 0 #8b004c,
    4px 4px 0 #000066,
    0 0 12px #ff1493,
    0 0 22px #00ffff;
}

.wordart-title span {
  color: transparent;
}

.anis-quote {
  max-width: 780px;
  margin: 5px auto 0;
  padding: 5px 10px;
  color: #fff8cc;
  background: rgba(75, 0, 130, 0.56);
  border: 2px inset #ffb3df;
  font-family: "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.15;
  text-shadow: 1px 1px #000;
}

.anis-quote cite {
  color: var(--cyan);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.creator-year-quote {
  margin: 8px 0;
  max-width: none;
  background: rgba(128, 0, 255, 0.18);
  color: #4b005e;
  text-shadow: 1px 1px #ffffff;
}

.creator-year-quote cite {
  color: #0000aa;
}

.subtitle {
  margin: 4px 0 0;
  font-family: "Times New Roman", serif;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 2px 2px #000;
}

.slogan {
  margin: 2px 0 0;
  color: #ffc0df;
  font-family: "Comic Sans MS", cursive;
  font-size: clamp(16px, 1.8vw, 26px);
  font-weight: bold;
  font-style: italic;
  text-shadow: 2px 2px #75004a;
}

.music-toggle {
  display: block;
  width: 100%;
  margin: 6px 0 3px;
  font-size: 10px;
}

.music-toggle.playing {
  color: #ffff00;
  background: linear-gradient(#8000ff, #ff1493);
  text-shadow: 1px 1px #000;
}

.header-mascot {
  text-align: center;
  font-size: 58px;
  filter: drop-shadow(0 0 8px var(--cyan));
}

.robot-cupid {
  display: block;
  animation: sparkle 1.4s steps(2) infinite;
}

.sparkle {
  display: inline-block;
  font-size: 24px;
  animation: sparkle 1s step-start infinite;
}

.optimized-box {
  color: #3a004b;
  background: #ffe7f4;
  text-align: center;
  font-size: 12px;
}

.ie-line {
  margin: 8px 0;
  font-weight: bold;
}

.ie-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px outset var(--cyan);
  border-radius: 50%;
  background: linear-gradient(#00ffff, #0000ff);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: bold;
  line-height: 28px;
  text-shadow: 1px 1px var(--black);
}

.layout-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 250px;
  gap: 8px;
  padding: 8px;
}

.sidebar,
.rightbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.retro-panel {
  background: var(--light-pink);
  border: 3px outset var(--white);
  padding: 8px;
  box-shadow: inset 1px 1px 0 #fff7fb, inset -1px -1px 0 var(--panel-shadow);
}

.retro-titlebar {
  margin: -6px -6px 8px;
  padding: 4px 6px;
  color: var(--white);
  background: linear-gradient(to right, var(--dark-violet), var(--pink), var(--dark-violet));
  border: 2px outset #ffb3df;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px var(--black);
}

.big-title {
  font-family: "Times New Roman", serif;
  font-size: 22px;
}

.gold-title {
  color: #4b0082;
  background: linear-gradient(to right, #fff7a8, var(--gold), #ff8cd1, var(--violet));
  text-shadow: 1px 1px #fff;
}

.nav-panel {
  padding-top: 6px;
}

.nav-panel a {
  display: block;
  padding: 3px 5px;
  border-bottom: 1px dotted #ff7fc2;
  color: #7b005f;
}

.nav-panel a:hover {
  transform: translateX(2px);
}

.visitor-counter,
.stats-box,
.member-box,
.weather-box,
.compatibility-widget,
.flash-widget,
.poll-widget,
.mini-ad {
  text-align: center;
}

.counter-digits,
.mini-counter {
  display: inline-block;
  padding: 3px 6px;
  border: 3px inset var(--white);
  background: #000;
  color: #ccffcc;
  font-family: "Courier New", monospace;
  font-size: 22px;
  letter-spacing: 3px;
  text-shadow: 0 0 4px #00ff00;
}

.mini-counter {
  font-size: 16px;
}

.member-trophy,
.weather-icon {
  font-size: 46px;
  filter: drop-shadow(0 0 5px var(--gold));
}

.alert-banner {
  padding: 7px;
  color: #ff0066;
  background: linear-gradient(to right, #ffff99, #ffdef0, #ffff99);
  border: 4px ridge var(--pink);
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px #fff;
}

.quick-search-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
}

.compat-heart {
  min-height: 160px;
  padding: 18px 8px;
  color: #fff;
  background:
    radial-gradient(circle at 45% 20%, #fff, #ff8ac4 16%, #ff1493 44%, #990066 72%);
  border: 4px ridge #ffc0df;
  border-radius: 44% 44% 8px 44%;
  font-family: "Comic Sans MS", cursive;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px #800040;
  transform: rotate(-1deg);
  box-shadow: 0 0 12px var(--pink);
}

.compat-heart span {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.retro-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-columns,
.filters-grid,
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 8px 16px;
}

.form-columns label,
.filters-grid label,
.quiz-grid label,
.guestbook-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: bold;
}

.form-columns fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(80px, 1fr));
  gap: 4px 8px;
  font-weight: normal;
}

.form-columns fieldset legend {
  grid-column: 1 / -1;
}

.form-columns fieldset label,
.poll-widget label {
  display: block;
  font-weight: normal;
}

.advanced-link {
  width: max-content;
  max-width: 100%;
}

.pixel-button {
  display: inline-block;
  padding: 4px 12px;
  color: #3d0046;
  background: linear-gradient(#ffffff, #ffbde0 45%, #ff69b4 52%, #fff0f7);
  border: 3px outset #ffffff;
  box-shadow: 1px 1px 0 #74005d;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.pixel-button:hover {
  color: var(--yellow);
  background: linear-gradient(#ff1493, #8000ff);
  text-shadow: 1px 1px var(--black);
}

.pixel-button:active {
  border-style: inset;
  transform: translate(1px, 1px);
}

.pixel-button.primary {
  align-self: center;
  min-width: 260px;
  color: var(--white);
  background: linear-gradient(#ff90d0, #ff1493 45%, #99006d 52%, #ff1493);
  font-size: 16px;
  text-shadow: 1px 1px var(--black);
}

.result-box {
  margin-top: 8px;
  background: #fff6fb;
  border-color: var(--yellow);
}

.quick-tsundere-warning {
  padding: 10px;
  border: 4px ridge #ff1493;
  background:
    radial-gradient(circle at 95% 15%, rgba(255, 255, 255, 0.9), transparent 12%),
    linear-gradient(135deg, #fff3a0, #ffd6ec 45%, #e9d2ff);
  color: #4b005e;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px #fff;
}

.quick-reco-card {
  border: 4px ridge #ff1493;
  background:
    radial-gradient(circle at 94% 10%, rgba(255, 255, 255, 0.92), transparent 11%),
    linear-gradient(135deg, #fff6fb, #ffd6ec 45%, #e6d1ff);
  box-shadow: 3px 3px 0 rgba(75, 0, 130, 0.45);
  color: #21002d;
}

.quick-reco-window {
  width: min(620px, calc(100vw - 22px));
  max-height: min(88vh, 680px);
  border-color: #ffb6e2;
  box-shadow:
    0 0 0 4px #8000ff,
    0 0 22px #00ffff,
    10px 10px 0 rgba(0, 0, 0, 0.55);
}

.quick-reco-modal-content {
  padding: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 20, 147, 0.08) 0 8px, rgba(128, 0, 255, 0.08) 8px 16px),
    #ffe7f4;
}

.quick-reco-modal .quick-reco-card {
  min-height: 0;
}

.quick-reco-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.quick-reco-icon .model-icon {
  width: 64px;
  height: 64px;
  font-size: 34px;
}

.quick-reco-icon .model-icon.multi-icon {
  font-size: 25px;
}

.quick-reco-main h3 {
  margin: 0;
  color: #0010aa;
  font-size: 24px;
  text-shadow: 2px 2px #ffffff, 3px 3px #ff1493;
}

.quick-reco-main p,
.quick-reco-diagnostic {
  margin: 4px 10px;
  font-weight: bold;
}

.quick-reco-score {
  min-width: 94px;
  padding: 8px;
  border: 3px outset #ffffff;
  background: linear-gradient(135deg, #ff1493, #8000ff);
  color: #ffffff;
  text-align: center;
  text-shadow: 1px 1px #000000;
}

.quick-reco-score span {
  display: block;
  font-size: 26px;
  font-weight: bold;
}

.quick-reco-score small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
}

.quick-reco-facts-box {
  margin: 8px 10px;
  padding: 8px;
  border: 3px inset #ffffff;
  background: #fffdf2;
}

.quick-reco-facts {
  margin: 6px 0 0;
  padding-left: 22px;
}

.quick-reco-facts li {
  margin: 4px 0;
}

.quick-reco-facts li::marker {
  color: #ff1493;
}

.quick-reco-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px;
}

.quick-reco-end {
  padding-bottom: 10px;
  text-align: center;
}

.quick-reco-end h3 {
  margin: 10px 8px 4px;
  color: #8000ff;
  text-shadow: 1px 1px #ffffff;
}

.quick-reco-end p {
  margin: 8px auto;
  max-width: 720px;
  font-weight: bold;
}

.profile-grid,
.creator-grid,
.errors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 8px;
}

.home-profile-grid,
.directory-grid {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  justify-content: center;
}

.profile-card,
.creator-card,
.error-card {
  position: relative;
  min-height: 100%;
  background: linear-gradient(#ffffff, #ffe5f3);
  border: 3px outset #ff9bd0;
  padding: 8px;
  text-align: center;
  box-shadow: 2px 2px 0 rgba(75, 0, 130, 0.45);
}

.profile-card h3,
.creator-card h3,
.error-card h3 {
  margin: 0 0 4px;
  color: #0010aa;
  font-size: 16px;
}

.next-model-card {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  justify-self: center;
  overflow: hidden;
  width: 100%;
  min-height: 230px;
  padding: 6px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.95) 0 4px, rgba(255, 255, 255, 0.25) 5px 18px, transparent 34px),
    linear-gradient(135deg, #210010, #9b001e 42%, #ff1493 64%, #3c004f);
  border-color: #ffb3df;
  color: #fff;
  text-align: left;
}

.next-photo-card {
  position: relative;
  min-height: 0;
  height: 100%;
  border: 3px inset #ffd6ec;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.25)),
    repeating-linear-gradient(90deg, #1b1b24 0 8px, #2f2336 8px 16px);
  box-shadow: inset 0 0 20px #000, 0 0 12px rgba(255, 20, 147, 0.8);
}

.next-light-leak {
  position: absolute;
  inset: -16px -24px auto auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 8px, #ffb3df 9px 18px, rgba(255, 20, 147, 0.45) 19px 42px, transparent 50px);
  filter: blur(1px);
}

.next-portrait {
  position: absolute;
  inset: 10px 7px 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 38%),
    radial-gradient(circle at 50% 22%, #f4d2ba, #93565f 28%, #332332 60%, #090015);
  border: 2px solid #fff;
}

.next-avatar {
  position: relative;
  z-index: 1;
  font-size: 38px;
  filter: drop-shadow(0 0 8px #00ffff);
}

.next-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 4px);
}

.next-photo-caption {
  position: absolute;
  right: 5px;
  bottom: 5px;
  left: 5px;
  padding: 2px 4px;
  color: #ffff00;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: "Courier New", monospace;
  font-size: 9px;
  text-align: center;
}

.next-info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 7px 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 24%),
    linear-gradient(135deg, rgba(40, 40, 45, 0.96), rgba(140, 0, 28, 0.92));
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7);
  text-shadow: 1px 1px #000;
}

.next-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.2), transparent 28%);
}

.next-info-card h3 {
  position: relative;
  margin: 0 24px 4px 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  text-shadow: 2px 2px #000, 0 0 7px #ff1493;
}

.next-info-card h3 span {
  color: #ffe7f4;
}

.next-parameters {
  position: relative;
  margin: -1px 28px 5px 0;
  color: #74e8ff;
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.15;
  text-shadow: 1px 1px #000, 0 0 5px #0000ff;
}

.next-x {
  position: absolute;
  top: 2px;
  right: 7px;
  color: #ffb3df;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  text-shadow: 0 0 10px #fff, 2px 2px #800000;
}

.next-nickname {
  position: relative;
  margin: 0 0 4px;
  color: #ffd6ec;
  font-size: 12px;
  font-weight: bold;
}

.next-age {
  position: relative;
  margin: 0 0 4px;
  color: #00ffff;
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.2;
}

.next-slogan {
  position: relative;
  margin: 0 0 6px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.25;
}

.next-badge-list {
  position: relative;
  justify-content: flex-start;
  gap: 2px;
  margin: 0 0 5px;
  max-height: 48px;
  overflow: hidden;
}

.next-badge-list .badge {
  padding: 1px 4px;
  font-size: 9px;
}

.next-info-card ul {
  position: relative;
  margin: 0 0 7px 18px;
  padding: 0;
}

.next-info-card li {
  margin: 3px 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}

.next-info-card li::marker {
  color: #ffff00;
}

.next-meta-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 5px 0;
}

.next-meta-strip span,
.next-tag-cloud span {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.58);
  color: #00ffff;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.next-tag-cloud {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin: 5px 0;
}

.next-score {
  position: relative;
  margin: 6px 0;
}

.next-actions {
  position: relative;
  margin-top: auto;
}

.next-actions .pixel-button {
  padding: 3px 7px;
  font-size: 11px;
}

.avatar {
  margin: 6px 0;
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 0 4px var(--cyan));
}

.nickname,
.tagline {
  font-style: italic;
  font-weight: bold;
}

.card-meta {
  color: #4b005e;
  font-size: 12px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  margin: 3px 0 6px;
}

.modal-badge-list {
  justify-content: flex-start;
  margin-top: 6px;
}

.modal-top-badges {
  justify-content: flex-start;
  gap: 5px;
  margin-top: 8px;
}

.badge {
  display: inline-block;
  padding: 2px 5px;
  border: 2px outset #fff;
  color: var(--black);
  background: var(--yellow);
  font-size: 10px;
  font-weight: bold;
  text-shadow: 1px 1px #fff;
}

.badge.hot {
  color: #fff;
  background: var(--pink);
  text-shadow: 1px 1px #000;
}

.badge.local {
  background: var(--cyan);
}

.badge.opensource {
  background: #00ff66;
}

.badge.warn {
  color: #fff;
  background: #cc0000;
  text-shadow: 1px 1px #000;
}

.badge.demo {
  color: #000;
  background: linear-gradient(#fff6a0, #ffd700);
  box-shadow: 0 0 6px #ff1493;
}

.model-icon {
  display: inline-grid;
  place-items: center;
  width: 1.58em;
  height: 1.58em;
  padding: 0.08em 0.12em;
  overflow: hidden;
  border: 2px outset rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: radial-gradient(circle at 35% 25%, #ffffff, #00ffff 24%, #8000ff 74%);
  font-size: 0.9em;
  line-height: 1;
  filter: drop-shadow(0 0 6px #00ffff);
  text-align: center;
  white-space: nowrap;
}

.model-icon-symbol {
  display: block;
  max-width: 100%;
  transform-origin: center;
}

.model-icon.multi-icon .model-icon-symbol {
  letter-spacing: -0.22em;
  transform: translateX(-0.04em) scale(0.82);
}

.model-icon.large {
  font-size: 50px;
}

.model-icon.large.multi-icon {
  font-size: 38px;
}

.model-icon.next {
  width: 72px;
  height: 72px;
  border-width: 0;
  background: transparent;
  font-size: 36px;
}

.model-icon.next.multi-icon {
  font-size: 28px;
}

.model-icon.flash {
  font-size: 42px;
}

.model-icon.flash.multi-icon {
  font-size: 30px;
}

.model-icon.gpt { background: radial-gradient(circle at 30% 20%, #fff, #00ffff 28%, #000066 78%); }
.model-icon.claude { background: radial-gradient(circle at 30% 20%, #fff, #ffd6ec 30%, #4b0082 80%); }
.model-icon.mistral { background: radial-gradient(circle at 30% 20%, #fff, #ffff00 24%, #ff1493 72%); }
.model-icon.llama { background: radial-gradient(circle at 30% 20%, #fff, #ffd700 24%, #8000ff 78%); }
.model-icon.gemini { background: radial-gradient(circle at 30% 20%, #fff, #b8f7ff 24%, #0000ff 78%); }
.model-icon.vision { background: radial-gradient(circle at 30% 20%, #fff, #ff1493 26%, #000 80%); }
.model-icon.audio { background: radial-gradient(circle at 30% 20%, #fff, #00ff66 28%, #000066 78%); }
.model-icon.robotics { background: radial-gradient(circle at 30% 20%, #fff, #c0c0c0 28%, #8000ff 78%); }

.facts-panel {
  background:
    radial-gradient(circle at 95% 10%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(135deg, #fff8cc, #ffd6ec);
  border-color: var(--gold);
}

.modal-highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 8px;
  align-items: stretch;
  margin-bottom: 8px;
}

.modal-tech-box {
  margin: 0;
}

.modal-facts-top {
  margin: 0;
}

.modal-strengths-weaknesses {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.modal-force-panel,
.modal-weakness-panel {
  min-height: 100%;
}

.modal-force-panel ul,
.modal-weakness-panel ul {
  margin: 4px 0 0 18px;
  padding: 0;
}

.modal-score-section {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.modal-score-box {
  width: min(100%, 560px);
}

.modal-score-grid {
  display: grid;
  gap: 4px;
}

.modal-score-grid .score-bar {
  margin-right: auto;
  margin-left: auto;
  width: min(100%, 520px);
}

.facts-panel ul {
  margin: 0 0 0 18px;
  padding: 0;
}

.facts-panel li {
  margin: 7px 0;
  font-weight: bold;
  line-height: 1.35;
}

.facts-panel li::marker {
  color: var(--pink);
}

.compat-score {
  display: inline-block;
  margin: 4px 0;
  padding: 3px 8px;
  color: var(--white);
  background: linear-gradient(to right, var(--pink), var(--violet));
  border: 2px outset #ffc0df;
  font-weight: bold;
  text-shadow: 1px 1px #000;
}

.red-flag {
  margin: 5px 0;
  color: #cc0044;
  font-size: 12px;
  font-weight: bold;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.next-info-card .next-actions {
  margin-top: auto;
}

.ad-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 6px;
}

.ad-banner {
  min-height: 74px;
  padding: 8px;
  color: #4b005f;
  background:
    radial-gradient(circle at 15% 35%, rgba(255, 255, 255, 0.95), transparent 20%),
    linear-gradient(135deg, #ffb9df, #fff6fc 45%, #ff1493);
  border: 3px outset #fff;
  font-style: italic;
  text-align: center;
}

.featured-creator {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.9), transparent 12%),
    linear-gradient(135deg, #fff6b6, #ffd6ec 45%, #c69cff);
}

.featured-creator-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  align-items: center;
}

.featured-creator-card .avatar {
  color: var(--gold);
  font-size: 70px;
}

.featured-creator-mini {
  margin-bottom: 8px;
  padding: 8px;
  background: #fff8cc;
  border: 3px ridge var(--gold);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 2px inset #fff;
}

.retro-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
  font-size: 12px;
}

.retro-table th {
  color: #fff;
  background: linear-gradient(var(--violet), var(--dark-violet));
  border: 2px outset #c0c0ff;
  padding: 4px;
  text-shadow: 1px 1px #000;
}

.retro-table td {
  border: 1px solid #aa88aa;
  padding: 4px;
  vertical-align: top;
}

.retro-table tr:nth-child(even) td {
  background: #fff1f8;
}

.warning-cell {
  background: #fff9a8 !important;
  color: #9b0000;
  font-weight: bold;
}

.ok-cell {
  background: #ccffcc !important;
  font-weight: bold;
}

.section-lead {
  margin-top: 0;
  font-weight: bold;
  text-align: center;
}

.directory-grid .profile-card {
  text-align: left;
}

.directory-grid .avatar {
  text-align: center;
}

.pagination-controls {
  margin-top: 10px;
  padding: 7px;
  background: #ffe7f4;
  border: 3px outset #ffffff;
  text-align: center;
}

.pagination-status {
  display: block;
  margin-bottom: 6px;
  color: #4b005e;
  font-weight: bold;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.pagination-button {
  min-width: 32px;
  padding: 3px 8px;
}

.pagination-button.active {
  color: #ffff00;
  background: linear-gradient(#ff1493, #8000ff);
  border-style: inset;
  text-shadow: 1px 1px #000;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin: 6px 0;
}

.tag {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid #7b007b;
  background: #f2d6ff;
  color: #3a004b;
  font-size: 11px;
}

.creator-card {
  text-align: left;
}

.creator-card .avatar {
  text-align: center;
}

.creator-photo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 190px);
  margin: 0 auto 8px;
  padding: 7px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 7px, rgba(255, 255, 255, 0.18) 7px 14px),
    linear-gradient(135deg, #ffe7f4, #c9f6ff 48%, #ff1493);
  border: 4px ridge #ffffff;
  box-shadow: inset 0 0 14px rgba(0, 0, 80, 0.55), 0 0 10px #ff1493;
}

.creator-photo-frame.featured-photo-frame {
  width: min(100%, 150px);
  margin-bottom: 0;
  padding: 9px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.95), transparent 22%),
    linear-gradient(135deg, #ffd700, #ffd6ec 45%, #8000ff);
  border-color: #ffd700;
  animation: featuredPhotoPulse 1.4s steps(2, end) infinite;
  box-shadow:
    inset 0 0 14px rgba(0, 0, 80, 0.55),
    0 0 0 3px #ff1493,
    0 0 18px #ffd700,
    0 0 30px #00ffff;
}

.creator-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px inset #ffffff;
  background: #ffd6ec;
  filter: saturate(1.18) contrast(1.06);
}

.featured-photo-frame .creator-photo {
  border-color: #ffd700;
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.55),
    0 0 0 2px #ffffff,
    0 0 16px #ff1493;
}

.featured-crown,
.featured-rank-badge,
.featured-sparkle {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  text-shadow: 1px 1px #000000, 0 0 8px #ffffff;
}

.featured-crown {
  top: -22px;
  left: 50%;
  color: #ffd700;
  font-size: 34px;
  transform: translateX(-50%) rotate(-5deg);
}

.featured-rank-badge {
  right: -12px;
  bottom: -10px;
  padding: 4px 8px;
  color: #ffff00;
  background: linear-gradient(#ff1493, #8000ff);
  border: 3px outset #ffffff;
  font-weight: bold;
  transform: rotate(-5deg);
}

.featured-sparkle {
  color: #ffffff;
  font-size: 22px;
  animation: sparkleBlink 0.9s step-start infinite;
}

.sparkle-a {
  top: 10px;
  left: -12px;
}

.sparkle-b {
  right: -10px;
  top: 36px;
  animation-delay: 0.35s;
}

@keyframes featuredPhotoPulse {
  50% {
    box-shadow:
      inset 0 0 14px rgba(0, 0, 80, 0.55),
      0 0 0 3px #ffd700,
      0 0 22px #ff1493,
      0 0 38px #00ffff;
  }
}

@keyframes sparkleBlink {
  50% { opacity: 0.25; }
}

.creator-photo-fallback {
  min-height: 108px;
}

.creator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.creator-actions .pixel-button {
  flex: 1 1 180px;
  text-align: center;
}

.book-callout {
  padding: 7px;
  border: 3px ridge var(--gold);
  background: linear-gradient(135deg, #fff3a0, #ffd6ec);
  color: #4b005e;
  font-weight: bold;
}

.book-callout span {
  color: #9b0000;
  font-family: "Courier New", monospace;
}

.promo-text {
  padding: 5px;
  border: 2px dashed #ff1493;
  background: #fff3a0;
  color: #4b005e;
  font-weight: bold;
}

.creator-modal-profile h3 {
  margin: 0 0 8px;
  color: #000080;
  font-size: 24px;
}

.creator-modal-header {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.creator-modal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.creator-network-list {
  margin: 0;
  padding-left: 18px;
}

.creator-network-list li {
  margin-bottom: 5px;
}

.spotlight-creators {
  margin: 6px 0;
  padding: 6px;
  border: 3px ridge var(--gold);
  background: linear-gradient(135deg, #fff3a0, #ffd6ec, #e6d6ff);
}

.spotlight-creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.spotlight-creator-card {
  padding: 6px;
  border: 2px outset #fff;
  background: #fff8fc;
  text-align: center;
}

.spotlight-avatar {
  display: block;
  font-size: 28px;
}

.score-pill {
  display: inline-block;
  padding: 3px 8px;
  border: 2px outset #fff;
  background: var(--gold);
  font-weight: bold;
}

.error-card {
  text-align: left;
  background: #fff6e0;
}

.error-card h3 {
  color: #8b0000;
  font-family: "Courier New", monospace;
}

.error-card code {
  color: #fff;
  background: #8b0000;
  padding: 1px 3px;
}

.cuda-error-card {
  cursor: var(--robot-cursor), help;
}

.cuda-error-card:hover {
  outline: 3px dashed #ffd700;
  background: #fff0b8;
}

.cuda-easter-hint {
  color: #800000;
  font-size: 11px;
  font-style: italic;
  font-weight: bold;
}

.cuda-shrine {
  margin-top: 8px;
  padding: 8px;
  border: 3px ridge #ffd700;
  background: linear-gradient(135deg, #220000, #4b0082);
  color: #fff;
  text-align: center;
  box-shadow: inset 0 0 18px rgba(255, 215, 0, 0.35);
}

.cuda-prayer {
  font-family: "Courier New", monospace;
  color: #fff3a0;
  text-shadow: 1px 1px #000;
}

.cuda-candles {
  min-height: 28px;
  max-height: 92px;
  overflow: auto;
  margin-top: 5px;
  padding: 4px;
  border: 2px inset #fff;
  background: rgba(0, 0, 0, 0.38);
  word-break: break-word;
}

.cuda-candle-count {
  margin-top: 5px;
  font-weight: bold;
}

.guestbook-list,
.guestbook-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guestbook-entry {
  padding: 6px;
  background: #fff8fc;
  border: 2px inset #fff;
}

.guestbook-entry strong {
  color: #0010aa;
}

.guestbook-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.guestbook-form label:nth-child(3),
.guestbook-form button {
  grid-column: 1 / -1;
}

.construction-zone {
  text-align: center;
  background: repeating-linear-gradient(
    45deg,
    #ffd6ec 0 12px,
    #fff3a0 12px 24px
  );
}

.construction-sign {
  display: inline-block;
  margin: 8px;
  padding: 10px;
  border: 4px dashed #000;
  background: var(--yellow);
  font-size: 64px;
  animation: blink 0.9s step-start infinite;
}

.construction-zone ul {
  display: inline-block;
  text-align: left;
}

.compat-badge {
  width: 110px;
  height: 96px;
  margin: 8px auto;
  padding-top: 30px;
  color: #fff;
  background: radial-gradient(circle at 40% 20%, #fff, #ff7fc2 18%, #ff1493 50%, #99004f 82%);
  border: 4px ridge #ffc0df;
  border-radius: 50% 50% 42% 42%;
  font-size: 28px;
  font-weight: bold;
  text-shadow: 2px 2px #69004d;
  box-shadow: 0 0 10px var(--pink);
}

.flash-model-name {
  color: #0000cc;
  font-size: 16px;
  font-weight: bold;
}

.flash-avatar {
  font-size: 52px;
}

.poll-widget fieldset {
  text-align: left;
}

.mobile-note {
  font-size: 11px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 210px 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0 8px 8px;
  background: #ffe7f4;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
}

.retro-badges {
  display: grid;
  grid-template-columns: repeat(3, 88px);
  gap: 6px;
  justify-content: flex-end;
}

.retro-badges span {
  display: grid;
  width: 88px;
  height: 31px;
  padding: 2px 3px;
  place-items: center;
  border: 2px outset #ffffff;
  font-family: "Arial Black", Verdana, sans-serif;
  font-size: 8px;
  line-height: 1.05;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px #000000;
}

.retro-badges .badge-8831 {
  color: #ffffff;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 3px, transparent 3px 6px),
    linear-gradient(90deg, #000066, #ff1493);
}

.retro-badges .badge-8831-paper {
  color: #000033;
  background:
    linear-gradient(180deg, #ffffff, #e8e8e8);
  text-shadow: none;
}

.toolbar-download-zone {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.9), transparent 15%),
    linear-gradient(135deg, #fff3a0, #ffd6ec 55%, #d8ccff);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 60, 0.65);
}

.modal-window {
  width: min(760px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: var(--win-gray);
  border: 4px outset #fff;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.45);
}

.modal-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  color: #fff;
  background: linear-gradient(to right, #000080, #8000ff, #ff1493);
  font-weight: bold;
  text-shadow: 1px 1px #000;
}

.modal-titlebar button {
  width: 24px;
  height: 22px;
  border: 2px outset #fff;
  background: var(--win-gray);
  font-weight: bold;
  cursor: pointer;
}

.modal-content {
  padding: 10px;
  background: #ffe7f4;
}

.modal-profile-header {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.modal-profile-header .avatar {
  font-size: 64px;
}

.modal-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px;
}

.modal-lists ul {
  margin: 4px 0 0 18px;
  padding: 0;
}

.score-bar {
  display: grid;
  grid-template-columns: 130px 1fr 46px;
  gap: 6px;
  align-items: center;
  margin: 5px 0;
  font-family: "Courier New", monospace;
}

.score-track {
  position: relative;
  display: block;
  height: 18px;
  overflow: hidden;
  border: 2px inset #fff;
  background: #260026;
}

.score-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 10%);
}

.score-fill {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 2px;
  background: linear-gradient(90deg, #00ffff, #00ff66 50%, #ffff00);
  box-shadow: 0 0 8px #00ffff;
}

.alert-window {
  width: min(430px, 100%);
}

.retro-alert-modal .modal-content {
  text-align: center;
  font-weight: bold;
}

.info-window {
  width: min(620px, 100%);
}

.legal-copy {
  color: #16003b;
  font-size: 13px;
  line-height: 1.45;
}

.fake-installer-window {
  width: min(520px, 100%);
}

.fake-progress-bar {
  height: 24px;
  overflow: hidden;
  border: 3px inset #fff;
  background: repeating-linear-gradient(90deg, #000066 0 8px, #000080 8px 16px);
}

.fake-progress-fill {
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(45deg, #00ffff 0 8px, #ff1493 8px 16px);
  transition: width 0.35s steps(5, end);
}

.installer-log {
  height: 130px;
  overflow: auto;
  margin: 8px 0;
  padding: 6px;
  border: 2px inset #fff;
  background: #000;
  color: #00ff66;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.cursor-sparkle {
  position: fixed;
  z-index: 3000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: cursorSparkleFade 0.7s steps(7, end) forwards;
  text-shadow: 0 0 5px #fff, 0 0 10px #ff1493;
}

@keyframes cursorSparkleFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -90%) scale(0.4);
  }
}

@keyframes adBotSlideIn {
  from {
    opacity: 0;
    transform: translateX(-115%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes konamiPulse {
  50% {
    filter: hue-rotate(32deg) saturate(1.35);
  }
}

.side-fake-ads {
  background: linear-gradient(#fff8fc, #ffd6ec);
}

.side-fake-ad {
  margin: 6px 0;
  padding: 6px;
  border: 2px outset #fff;
  background: #fff3a0;
  color: #4b005e;
  font-weight: bold;
  line-height: 1.25;
}

.side-fake-ad-placeholder {
  background: #f0f8ff;
  font-size: 11px;
}

.fake-ad-badge {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 4px;
  border: 2px outset #fff;
  background: #ff1493;
  color: #fff;
  text-shadow: 1px 1px #000;
}

.retro-ad-popup {
  position: fixed;
  left: 14px;
  bottom: 18px;
  z-index: 2500;
  width: min(330px, calc(100vw - 28px));
  padding: 10px;
  border: 4px outset #fff;
  background:
    radial-gradient(circle at 92% 10%, #fff, transparent 20%),
    linear-gradient(135deg, #ffff00, #ffd6ec 45%, #8000ff);
  color: #000;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.5);
  font-weight: bold;
  animation: adBotSlideIn 0.55s steps(6, end);
}

.retro-ad-popup::before {
  content: "🤖";
  position: absolute;
  left: -2px;
  bottom: 100%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px outset #fff;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(#ffffff, #00ffff);
  font-size: 26px;
}

.retro-ad-close,
.clippy-close {
  position: absolute;
  top: 3px;
  right: 3px;
  border: 2px outset #fff;
  background: #c0c0c0;
  font-weight: bold;
  cursor: pointer;
}

.clippy-gpt {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2400;
  display: grid;
  grid-template-columns: 56px minmax(210px, 300px);
  gap: 8px;
  align-items: end;
}

.clippy-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 76px;
  border: 3px outset #fff;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(#ffffff, #c0c0c0);
  font-size: 38px;
  filter: drop-shadow(0 0 8px #00ffff);
}

.clippy-bubble {
  position: relative;
  padding: 10px;
  border: 3px outset #fff;
  background: #fff8cc;
  color: #000;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.38);
}

.clippy-bubble::before {
  content: "";
  position: absolute;
  left: -13px;
  bottom: 22px;
  border-width: 8px 13px 8px 0;
  border-style: solid;
  border-color: transparent #fff8cc transparent transparent;
}

.clippy-actions {
  display: grid;
  gap: 4px;
}

.clippy-actions button {
  border: 2px outset #fff;
  background: linear-gradient(#fff, #ffd6ec);
  color: #000080;
  font-weight: bold;
  cursor: pointer;
}

.clippy-dismiss {
  margin-top: 6px;
  padding: 2px 5px;
  border: 2px outset #fff;
  background: #e7e7e7;
  color: #4b005e;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
}

.clippy-easter-egg-button {
  margin-top: 6px;
  padding: 2px 5px;
  border: 2px outset #fff;
  background: linear-gradient(#fff8ff, #cdefff);
  color: #000080;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
}

.clippy-response {
  color: #cc0044;
  font-weight: bold;
}

.easter-egg-list p {
  margin: 0 0 8px;
}

.clippy-launcher {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 2350;
  border: 3px outset #fff;
  background: linear-gradient(#fff, #cdefff 45%, #9ad8ff);
  color: #1b1b6d;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  cursor: var(--robot-cursor), pointer;
}

.vintage-zone {
  padding: 6px;
  color: #000;
  background-color: #000080;
  background-image:
    radial-gradient(circle at 12% 18%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 72% 32%, #00ffff 0 1px, transparent 2px),
    radial-gradient(circle at 42% 78%, #ffff00 0 1px, transparent 2px),
    repeating-linear-gradient(45deg, #000080 0 8px, #000066 8px 16px);
  border: 6px ridge #c0c0c0;
  font-family: "Times New Roman", Times, serif;
  box-shadow: inset 0 0 0 2px #fff, 4px 4px 0 rgba(0, 0, 0, 0.6);
}

.vintage-browser-bar {
  display: flex;
  gap: 18px;
  padding: 3px 8px;
  color: #000;
  background: #c0c0c0;
  border: 3px outset #fff;
  font-family: "MS Sans Serif", Verdana, sans-serif;
  font-size: 12px;
}

.vintage-address {
  margin: 4px 0;
  padding: 3px 6px;
  color: #000080;
  background: #fff;
  border: 3px inset #fff;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.vintage-header {
  padding: 8px;
  color: #ffffcc;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 12%),
    linear-gradient(#000033, #000000);
  border: 4px double #ffff00;
  text-align: center;
}

.vintage-kicker {
  margin: 0 0 4px;
  color: #00ff00;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.vintage-header h2 {
  margin: 0;
  color: #ffff00;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 2px;
  text-shadow: 3px 3px #800000;
}

.vintage-marquee {
  overflow: hidden;
  margin-top: 6px;
  border: 2px inset #808080;
  background: #000;
  color: #00ff00;
  font-family: "Courier New", monospace;
  white-space: nowrap;
}

.vintage-marquee span {
  display: inline-block;
  min-width: 100%;
  padding: 3px 0;
  animation: vintage-scroll 16s linear infinite;
}

.vintage-intro {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  margin: 8px 0;
  padding: 8px;
  color: #000;
  background: #c0c0c0;
  border: 4px groove #ffffff;
  font-size: 15px;
}

.vintage-stamp {
  align-self: center;
  padding: 8px;
  color: #ffff00;
  background: #800080;
  border: 4px double #00ffff;
  font-family: "Courier New", monospace;
  font-weight: bold;
  text-align: center;
  transform: rotate(-6deg);
}

.vintage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 8px;
}

.vintage-card {
  color: #000;
  background: #c0c0c0;
  border: 4px outset #ffffff;
  padding: 8px;
  box-shadow: 3px 3px 0 #000;
}

.vintage-card h3 {
  margin: 0;
  color: #ffff00;
  background: #000080;
  border: 2px inset #fff;
  padding: 3px;
  font-size: 21px;
  text-decoration: underline;
}

.vintage-card-meta {
  margin: 4px 0;
  color: #800080;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.vintage-card-layout {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 8px;
  align-items: start;
}

.vintage-photo {
  min-height: 108px;
  padding: 5px;
  background: #f0e0b0;
  border: 5px solid #fff6d5;
  outline: 2px solid #604c2a;
  filter: sepia(1) grayscale(0.75) contrast(1.25);
}

.vintage-photo-inner {
  display: grid;
  place-items: center;
  min-height: 88px;
  color: #1c1409;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.14)),
    repeating-linear-gradient(90deg, #8a7759 0 2px, #baa57f 2px 4px);
  border: 2px inset #fff;
  font-family: "Courier New", monospace;
  font-size: 42px;
  font-weight: bold;
}

.vintage-photo-caption {
  margin-top: 4px;
  color: #3b2b16;
  font-family: "Courier New", monospace;
  font-size: 10px;
  text-align: center;
}

.vintage-badge {
  display: inline-block;
  margin: 4px 0;
  padding: 2px 6px;
  color: #ffff00;
  background: #800000;
  border: 2px outset #f8f0d0;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: bold;
}

.vintage-card ul {
  margin: 4px 0 4px 18px;
  padding: 0;
}

.vintage-card p {
  margin: 5px 0;
}

.vintage-actions {
  margin-top: 6px;
  text-align: center;
}

.vintage-button {
  padding: 3px 8px;
  color: #000080;
  background: #d0d0d0;
  border: 3px outset #fff;
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  cursor: pointer;
}

.vintage-button:hover {
  color: #ffff00;
  background: #800000;
}

.vintage-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
  border: 3px inset #fff;
}

.vintage-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
  font-family: "Times New Roman", Times, serif;
}

.vintage-table caption {
  padding: 4px;
  color: #ffff00;
  background: #000080;
  border: 2px solid #000;
  font-weight: bold;
}

.vintage-table th {
  color: #fff;
  background: #800080;
  border: 2px outset #ffffff;
  padding: 4px;
}

.vintage-table td {
  border: 1px solid #000080;
  padding: 5px;
  vertical-align: top;
}

.vintage-table tr:nth-child(even) td {
  background: #ffffcc;
}

.vintage-score {
  display: inline-block;
  min-width: 56px;
  padding: 2px 5px;
  color: #00ff00;
  background: #000;
  border: 2px inset #808080;
  font-family: "Courier New", monospace;
  font-weight: bold;
  text-align: center;
}

.vintage-footer-note {
  margin: 8px 0 0;
  padding: 4px;
  color: #000;
  background: #d0d0d0;
  border: 3px inset #fff;
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.fake-broken-image {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 18px;
  margin-right: 6px;
  color: #800000;
  background: #fff;
  border: 2px inset #808080;
  font-family: "Courier New", monospace;
  vertical-align: middle;
}

.blink {
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0.35;
  }
}

@keyframes sparkle {
  50% {
    transform: scale(1.08) rotate(-2deg);
    filter: brightness(1.4);
  }
}

@keyframes vintage-scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .cursor-sparkle {
    display: none;
  }

  .fake-progress-fill {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .hero-header {
    grid-template-columns: 130px 1fr 170px;
  }

  .header-mascot {
    display: none;
  }

  .layout-grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .rightbar {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .ad-row {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .home-profile-grid,
  .directory-grid,
  .creator-grid,
  .errors-grid,
  .vintage-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .vintage-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 780px) {
  body {
    font-size: 12px;
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border-width: 2px;
  }

  .top-strip,
  .site-footer {
    display: block;
    text-align: center;
  }

  .hero-header,
  .layout-grid,
  .quick-search-grid,
  .form-columns,
  .filters-grid,
  .quiz-grid,
  .guestbook-form,
  .featured-creator-card,
  .spotlight-creator-grid,
  .creator-modal-header,
  .creator-modal-columns,
  .modal-profile-header,
  .modal-highlight-grid,
  .modal-strengths-weaknesses,
  .modal-lists,
  .vintage-intro,
  .vintage-card-layout {
    grid-template-columns: 1fr;
  }

  .layout-grid {
    padding: 4px;
  }

  .rightbar {
    display: flex;
  }

  .wordart-title {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .optimized-box,
  .heart-logo {
    max-width: 280px;
    margin: 0 auto;
  }

  .compat-heart {
    max-width: 260px;
    margin: 0 auto;
  }

  .clippy-gpt {
    right: 8px;
    bottom: 8px;
    grid-template-columns: 42px minmax(190px, calc(100vw - 70px));
  }

  .clippy-avatar {
    width: 42px;
    height: 58px;
    font-size: 28px;
  }

  .ad-row {
    grid-template-columns: 1fr;
  }

  .retro-badges {
    justify-content: center;
    margin-top: 8px;
  }

  .home-profile-grid,
  .directory-grid,
  .creator-grid,
  .errors-grid {
    grid-template-columns: minmax(0, 340px);
  }

  .quick-reco-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .quick-reco-score {
    justify-self: center;
  }

  .vintage-grid {
    grid-template-columns: 1fr;
  }

  .pixel-button.primary {
    min-width: auto;
    width: 100%;
  }
}
