@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #14071e;
  --night: #1c0b2a;
  --pink: #ff42b4;
  --hot-pink: #f80983;
  --yellow: #ffe32d;
  --cyan: #40f3f1;
  --paper: #fff9df;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: 'Space Grotesk', Arial, sans-serif;
  background-color: var(--night);
  background-image:
    radial-gradient(circle at 50% 22%, #612052 0, transparent 44%),
    repeating-linear-gradient(0deg, transparent 0 23px, #ffffff0b 24px 25px),
    repeating-linear-gradient(90deg, transparent 0 23px, #ffffff0b 24px 25px);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: .16;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, #000 4px);
}

.page-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 26px auto 32px;
  border: 5px solid var(--yellow);
  outline: 5px solid #07030b;
  background: var(--ink);
  box-shadow: 13px 13px 0 var(--hot-pink), 20px 20px 0 #07030b;
}

.top-strip,
.masthead-bottom,
.ticker,
.panel-heading,
.panel-footer,
.sign-topline,
.sign-bottomline,
.footer,
.eyebrow,
.signature,
.masthead-label {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-weight: 500;
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 14px;
  border-bottom: 4px solid #07030b;
  color: var(--ink);
  background: var(--cyan);
  font-size: 11px;
  letter-spacing: .07em;
  text-align: center;
}

.masthead {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 24px 18px 0;
  background:
    radial-gradient(ellipse at center, #ff42b447 0, transparent 58%),
    repeating-linear-gradient(135deg, #280b35 0 18px, #310d3e 18px 36px);
}

.masthead::before,
.masthead::after {
  content: '✦';
  position: absolute;
  top: 48px;
  color: var(--yellow);
  font-size: clamp(34px, 6vw, 72px);
  text-shadow: 4px 4px 0 var(--hot-pink);
}

.masthead::before { left: 9%; transform: rotate(-15deg); }
.masthead::after { right: 9%; transform: rotate(15deg); }

.masthead-label {
  display: inline-block;
  padding: 5px 13px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid #08030d;
  box-shadow: 4px 4px 0 var(--hot-pink);
  font-size: 10px;
  letter-spacing: .19em;
}

.site-name {
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: clamp(90px, 18vw, 210px);
  line-height: .94;
  letter-spacing: -.09em;
  color: var(--yellow);
  -webkit-text-stroke: 3px #07030b;
  text-shadow: 6px 6px 0 var(--hot-pink), 11px 11px 0 #07030b;
  white-space: nowrap;
}

.site-name .dot { color: var(--cyan); }
.site-name .sparkle {
  display: inline-block;
  vertical-align: top;
  margin: .17em 0 0 .02em;
  color: var(--pink);
  font-size: .25em;
  letter-spacing: 0;
  -webkit-text-stroke: 1px #07030b;
  text-shadow: 3px 3px 0 var(--cyan);
}

.masthead-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 14px -18px 0;
  padding: 8px 18px;
  color: var(--yellow);
  background: #08030d;
  font-size: 10px;
  letter-spacing: .12em;
}

.masthead-stars { color: var(--pink); font-size: 17px; letter-spacing: .35em; }

.ticker {
  overflow: hidden;
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
  background: var(--hot-pink);
  color: #100517;
  font-size: 14px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.ticker-track { width: max-content; padding: 8px 0; animation: scroll 24s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }

.content-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.65fr) minmax(180px, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 24px 20px;
  background:
    radial-gradient(circle, #f8098350 1.5px, transparent 2px) 0 0 / 20px 20px,
    #1d0b29;
}

.side-panel,
.main-sign { border: 4px solid #07030b; box-shadow: 6px 6px 0 #07030b; }

.side-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff5d9;
  color: var(--ink);
  text-align: center;
  transform: rotate(-1.5deg);
}

.right-panel { align-self: start; transform: rotate(1.5deg); }

.panel-heading {
  padding: 10px 5px;
  border-bottom: 4px solid #07030b;
  background: var(--cyan);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.3;
}

.right-panel .panel-heading { background: var(--yellow); }

.manga-figure { min-width: 0; margin: 0; padding: 10px; }
.manga-figure img { display: block; width: 100%; height: auto; border: 3px solid var(--ink); background: #fff; }
.manga-figure figcaption {
  margin-top: 10px;
  padding: 9px 6px;
  border: 2px dashed var(--ink);
  background: var(--yellow);
  font: 500 10px/1.6 'DM Mono', 'Courier New', monospace;
  text-align: left;
}

.banner-list { flex: 1; padding: 10px; background: #fff5d9; }
.banner-entry { min-width: 0; margin: 0; padding: 5px; border: 3px solid var(--ink); background: var(--pink); box-shadow: 4px 4px 0 var(--cyan); }
.banner-entry figcaption { margin-bottom: 5px; font: 500 10px/1.3 'DM Mono', 'Courier New', monospace; text-align: left; }
.banner-entry img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); }

.panel-footer {
  padding: 10px 5px;
  border-top: 4px solid #07030b;
  color: var(--paper);
  background: var(--hot-pink);
  font-size: 10px;
  letter-spacing: .04em;
}

.right-panel .panel-footer { background: #5421a3; }

.main-sign {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--pink);
  color: var(--ink);
  text-align: center;
}

.sign-topline, .sign-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  background: var(--yellow);
  font-size: 10px;
  letter-spacing: .08em;
}

.sign-topline { border-bottom: 4px solid #07030b; }
.sign-bottomline { border-top: 4px solid #07030b; background: var(--cyan); }

.sign-inner {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 9px;
  padding: 24px 22px 20px;
  border: 3px dashed var(--ink);
  background: repeating-linear-gradient(135deg, #ff61c3 0 8px, #ff58bc 8px 16px);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 8px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: .09em;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: clamp(35px, 5.0vw, 55px);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--yellow);
  -webkit-text-stroke: 2px #07030b;
  text-shadow: 4px 4px 0 #07030b, 8px 8px 0 var(--cyan);
}

h1 em { font-style: normal; white-space: nowrap; }
h1 .comma { color: var(--cyan); }

.burst { position: absolute; top: 71px; z-index: 0; color: var(--cyan); font-size: 47px; text-shadow: 3px 3px 0 var(--ink); }
.burst-left { left: 14px; transform: rotate(-15deg); }
.burst-right { right: 14px; transform: rotate(15deg); }

.message-box {
  position: relative;
  z-index: 1;
  width: min(100%, 550px);
  max-width: 550px;
  margin: auto;
  padding: 19px 24px 14px;
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--cyan);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.48;
}

.message-box p { margin: 0 0 13px; }
.message-box strong { color: #ca0069; }
.message-box .closing { margin: 17px 0 2px; font-weight: 700; }
.closing span { color: var(--hot-pink); }

.signature { margin-top: 24px; font-size: 11px; letter-spacing: .05em; }
.signature span { display: block; margin-top: 4px; font-family: 'Archivo Black', Impact, sans-serif; font-size: 18px; letter-spacing: 0; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 4px solid var(--yellow);
  color: var(--yellow);
  background: #08030d;
  font-size: 10px;
  letter-spacing: .06em;
}

.footer span:last-child span { color: var(--pink); }

@media (max-width: 900px) {
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .main-sign { grid-column: 1 / -1; grid-row: 1; }
  .left-panel, .right-panel { transform: none; }
  h1 { font-size: clamp(48px, 9vw, 76px); }
}

@media (max-width: 600px) {
  .page-shell { width: calc(100% - 26px); margin: 13px auto 24px; border-width: 3px; outline-width: 3px; box-shadow: 6px 6px 0 var(--hot-pink), 10px 10px 0 #07030b; }
  .top-strip { justify-content: center; font-size: 9px; }
  .top-strip-center, .top-strip span:last-child { display: none; }
  .masthead { padding-top: 20px; }
  .masthead::before, .masthead::after { top: 54px; font-size: 27px; }
  .masthead::before { left: 3%; }
  .masthead::after { right: 3%; }
  .masthead-label { font-size: 8px; }
  .site-name { font-size: clamp(73px, 21vw, 120px); -webkit-text-stroke-width: 2px; text-shadow: 4px 4px 0 var(--hot-pink), 7px 7px 0 #07030b; }
  .masthead-bottom { justify-content: center; font-size: 9px; }
  .masthead-bottom span:not(:first-child) { display: none; }
  .content-grid { grid-template-columns: 1fr; gap: 16px; padding: 16px 12px; }
  .main-sign, .left-panel, .right-panel { grid-column: 1; }
  .main-sign { grid-row: auto; }
  .sign-inner { padding: 20px 10px 18px; }
  .sign-topline, .sign-bottomline { justify-content: center; }
  .sign-topline span:last-child, .sign-bottomline span:last-child { display: none; }
  .eyebrow { font-size: 8px; }
  h1 { font-size: clamp(28px, 9vw, 58px); -webkit-text-stroke-width: 1.5px; text-shadow: 3px 3px 0 #07030b, 5px 5px 0 var(--cyan); }
  h1 em { white-space: normal; }
  .burst { top: 87px; font-size: 25px; }
  .burst-left { left: 3px; }
  .burst-right { right: 3px; }
  .message-box { padding: 16px 14px 11px; font-size: 15px; box-shadow: 4px 4px 0 var(--cyan); }
  .footer { flex-wrap: wrap; justify-content: center; text-align: center; font-size: 9px; }
  .footer span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
