:root {
  color-scheme: dark;
  --bg: #060b25;
  --panel: rgba(3, 11, 35, 0.74);
  --panel-strong: rgba(3, 10, 32, 0.9);
  --cyan: #19d8ff;
  --pink: #ff4ee3;
  --gold: #ffc22e;
  --ink: #f8fbff;
  --muted: #bfd1ff;
  --line: rgba(80, 212, 255, 0.58);
  --line-hot: rgba(255, 68, 232, 0.7);
  --shadow-cyan: 0 0 24px rgba(24, 220, 255, 0.34);
  --shadow-pink: 0 0 28px rgba(255, 67, 224, 0.34);
  --radius: 8px;
  font-family: "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: #05091f url("assets/generated/storyverse-background.png") center / cover no-repeat;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 231, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(255, 196, 46, 0.2), transparent 24%),
    linear-gradient(90deg, rgba(2, 6, 28, 0.68), rgba(2, 6, 28, 0.25) 52%, rgba(2, 6, 28, 0.72));
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: min(100%, 1580px);
  margin: 0 auto;
  padding: 18px clamp(14px, 3vw, 32px) 42px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 430px) 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 10px 18px;
  border: 1px solid rgba(113, 103, 255, 0.58);
  border-radius: var(--radius);
  background: rgba(3, 9, 30, 0.72);
  box-shadow: var(--shadow-cyan);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: min(100%, 360px);
  max-height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(16, 216, 255, 0.58));
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.nav-link,
.support-link,
.action-button,
.comic-share-button,
.follow-library-button,
.jump-button,
.reader-nav button,
.search-clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border-radius: var(--radius);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 900;
  line-height: 1;
  border: 1px solid rgba(91, 207, 255, 0.72);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(13, 40, 98, 0.86), rgba(4, 17, 55, 0.88));
  box-shadow: inset 0 0 18px rgba(17, 216, 255, 0.18), 0 0 16px rgba(22, 215, 255, 0.24);
  cursor: pointer;
}

.nav-link {
  padding: 0 24px;
  color: #eaf6ff;
}

.nav-link.active {
  border-color: var(--cyan);
  box-shadow: inset 0 -3px 0 var(--cyan), 0 0 20px rgba(23, 218, 255, 0.38);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.support-link,
.action-button.donate {
  border-color: rgba(255, 214, 73, 0.9);
  background: linear-gradient(105deg, #f232a5, #ff7b24 58%, #ffd12d);
  box-shadow: 0 0 22px rgba(255, 73, 202, 0.46), inset 0 0 18px rgba(255, 255, 255, 0.22);
  color: white;
  text-shadow: 0 1px 2px rgba(58, 0, 60, 0.55);
}

.follow-library-button,
.action-button.follow-action {
  border-color: rgba(255, 86, 225, 0.9);
  color: #fff9ff;
  background: linear-gradient(105deg, rgba(87, 26, 161, 0.96), rgba(231, 45, 199, 0.88) 56%, rgba(25, 216, 255, 0.82));
  box-shadow: inset 0 0 18px rgba(255, 116, 234, 0.2), 0 0 18px rgba(255, 72, 232, 0.28);
  text-shadow: 0 1px 2px rgba(34, 0, 54, 0.55);
}

.support-link {
  padding: 0 22px;
  white-space: nowrap;
}

.action-button.review {
  border-color: rgba(25, 216, 255, 0.94);
  background: linear-gradient(105deg, rgba(13, 40, 98, 0.92), rgba(30, 98, 208, 0.9) 58%, rgba(25, 216, 255, 0.82));
  box-shadow: inset 0 0 18px rgba(17, 216, 255, 0.22), 0 0 18px rgba(22, 215, 255, 0.28);
  color: #f8fbff;
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.library-panel,
.reader-panel,
.about-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-cyan), inset 0 0 50px rgba(18, 107, 255, 0.12);
  backdrop-filter: blur(18px);
}

.library-panel {
  position: sticky;
  top: 172px;
  max-height: calc(100vh - 190px);
  display: flex;
  flex-direction: column;
  padding: 18px;
  overflow: hidden;
}

.panel-heading h1,
.about-copy h1 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  text-shadow: 0 0 18px rgba(18, 218, 255, 0.62);
}

.panel-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.jump-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 12px;
}

.follow-library-button {
  width: 100%;
  min-height: 44px;
  margin-bottom: 18px;
  padding: 0 14px;
}

.jump-button {
  padding: 0 14px;
  color: #aef6ff;
}

.jump-button.alt {
  color: #ffd7fb;
  border-color: var(--line-hot);
  box-shadow: inset 0 0 18px rgba(255, 66, 231, 0.18), 0 0 16px rgba(255, 72, 232, 0.24);
}

.library-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(126px, 0.8fr);
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(92, 178, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(3, 13, 42, 0.66);
}

.search-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.search-field span {
  color: #aef6ff;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(128, 231, 255, 0.62);
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: rgba(2, 8, 31, 0.9);
  box-shadow: inset 0 0 16px rgba(25, 216, 255, 0.12);
  font: 700 0.95rem/1 Arial, sans-serif;
}

.search-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(25, 216, 255, 0.18), inset 0 0 16px rgba(25, 216, 255, 0.12);
}

.search-field input::placeholder {
  color: #88a7e9;
  opacity: 1;
}

.search-clear-button {
  grid-column: 1 / -1;
  min-height: 38px;
  padding: 0 12px;
  color: #f6f8ff;
  font-size: 0.82rem;
}

.comic-list {
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 2px 4px 2px 0;
}

.comic-card {
  width: 100%;
  padding: 12px;
  color: var(--ink);
  border: 1px solid rgba(92, 178, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(3, 13, 42, 0.72);
  box-shadow: inset 0 0 20px rgba(29, 113, 255, 0.12);
}

.comic-card.active {
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(20, 219, 255, 0.36), inset 0 0 24px rgba(31, 143, 255, 0.18);
}

.no-search-results {
  margin: 0;
  padding: 18px 12px;
  border: 1px dashed rgba(128, 231, 255, 0.44);
  border-radius: var(--radius);
  color: var(--muted);
  font: 700 0.95rem/1.4 Arial, sans-serif;
  text-align: center;
}

.comic-card-main {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.comic-card-main img {
  width: 100%;
  aspect-ratio: 4 / 5.6;
  object-fit: cover;
  border: 1px solid rgba(133, 231, 255, 0.6);
  border-radius: 6px;
}

.comic-date {
  margin: 6px 0 10px;
  color: var(--cyan);
  font-weight: 900;
  font-size: 1.05rem;
}

.comic-title {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.18rem, 2vw, 1.54rem);
  line-height: 1.06;
}

.comic-pages {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(31, 217, 255, 0.7);
  border-radius: 6px;
  color: #8df4ff;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.comic-share-button {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 12px;
  color: #f6f8ff;
  font-size: 0.82rem;
}

.comic-share-button.copied,
.share-action.copied {
  border-color: rgba(134, 255, 184, 0.95);
  color: #ddffe9;
  background: linear-gradient(180deg, rgba(13, 98, 55, 0.92), rgba(4, 55, 31, 0.88));
  box-shadow: inset 0 0 18px rgba(134, 255, 184, 0.18), 0 0 16px rgba(134, 255, 184, 0.24);
}

.library-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(104, 207, 255, 0.28);
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.reader-panel {
  min-width: 0;
  padding: 18px;
}

.reader-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(93, 175, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(3, 9, 30, 0.82);
}

.reader-date {
  margin: 0 0 8px;
  color: #f5f8ff;
  font-size: 1rem;
  font-weight: 900;
}

.reader-toolbar h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.96;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.share-url {
  display: inline-flex;
  max-width: 100%;
  margin-top: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(44, 215, 255, 0.46);
  border-radius: 6px;
  color: #77edff;
  text-decoration: none;
  word-break: break-word;
  background: rgba(9, 28, 71, 0.76);
}

.reader-actions {
  display: grid;
  gap: 12px;
  min-width: min(270px, 100%);
}

.action-button {
  min-height: 50px;
  padding: 0 18px;
}

.fullscreen-action {
  border-color: rgba(134, 255, 184, 0.86);
  color: #e6fff0;
  background: linear-gradient(180deg, rgba(12, 87, 55, 0.9), rgba(4, 42, 31, 0.88));
  box-shadow: inset 0 0 18px rgba(134, 255, 184, 0.16), 0 0 16px rgba(134, 255, 184, 0.2);
}

.fullscreen-action[aria-pressed="true"] {
  border-color: rgba(255, 214, 73, 0.94);
  color: #fff8d7;
  background: linear-gradient(180deg, rgba(121, 77, 11, 0.94), rgba(63, 39, 5, 0.9));
  box-shadow: inset 0 0 18px rgba(255, 214, 73, 0.18), 0 0 18px rgba(255, 214, 73, 0.24);
}

.fullscreen-action .fullscreen-exit-icon {
  display: none;
}

.fullscreen-action[aria-pressed="true"] .fullscreen-enter-icon {
  display: none;
}

.fullscreen-action[aria-pressed="true"] .fullscreen-exit-icon {
  display: block;
}

.reader-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 10px 0 20px;
  color: #f6f8ff;
  text-transform: uppercase;
  font-weight: 900;
}

.reader-nav button {
  min-width: 150px;
  padding: 0 16px;
}

.page-stack {
  display: grid;
  justify-items: center;
  gap: clamp(12px, 2vw, 22px);
}

.comic-page {
  width: min(100%, 920px);
  height: auto;
  display: block;
  border: 1px solid rgba(204, 246, 255, 0.8);
  border-radius: 2px;
  background: #020617;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46), 0 0 18px rgba(31, 220, 255, 0.2);
}

body.reader-fullscreen {
  overflow: hidden;
}

body.reader-fullscreen .topbar,
body.reader-fullscreen .library-panel {
  display: none;
}

body.reader-fullscreen .shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.reader-fullscreen .reader-layout {
  display: block;
}

body.reader-fullscreen .reader-panel,
.reader-panel:fullscreen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  padding: clamp(8px, 1.5vw, 18px);
  border: 0;
  border-radius: 0;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(2, 6, 20, 0.98), rgba(4, 12, 37, 0.98)),
    var(--bg);
  box-shadow: none;
}

body.reader-fullscreen .reader-toolbar,
.reader-panel:fullscreen .reader-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 10px;
  padding: 12px;
  background: rgba(3, 9, 30, 0.94);
}

body.reader-fullscreen .reader-toolbar h2,
.reader-panel:fullscreen .reader-toolbar h2 {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
}

body.reader-fullscreen .share-url,
.reader-panel:fullscreen .share-url {
  margin-top: 8px;
}

body.reader-fullscreen .reader-actions,
.reader-panel:fullscreen .reader-actions {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  min-width: min(460px, 100%);
}

body.reader-fullscreen .reader-actions .review,
body.reader-fullscreen .reader-actions .donate,
.reader-panel:fullscreen .reader-actions .review,
.reader-panel:fullscreen .reader-actions .donate {
  display: none;
}

body.reader-fullscreen .reader-nav,
.reader-panel:fullscreen .reader-nav {
  margin: 0 0 10px;
}

body.reader-fullscreen .page-stack,
.reader-panel:fullscreen .page-stack {
  align-content: start;
  gap: 12px;
  min-height: 0;
}

body.reader-fullscreen .comic-page,
.reader-panel:fullscreen .comic-page {
  width: min(100%, 1320px);
  max-width: calc(100vw - clamp(16px, 3vw, 36px));
  max-height: none;
  box-shadow: 0 0 22px rgba(31, 220, 255, 0.18);
}

.about-view,
.follow-view,
.other-comics-view,
.whos-view {
  display: grid;
  place-items: center;
}

.about-copy,
.follow-copy,
.other-comics-copy,
.whos-copy {
  width: min(100%, 980px);
  padding: clamp(24px, 5vw, 58px);
}

.whos-copy {
  width: min(100%, 1320px);
}

.about-copy p {
  color: #e4ecff;
  font: 1.08rem/1.7 Arial, sans-serif;
}

.follow-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(3, 12, 43, 0.94), rgba(31, 9, 66, 0.88)),
    var(--panel);
  box-shadow: var(--shadow-pink), var(--shadow-cyan), inset 0 0 70px rgba(18, 107, 255, 0.14);
  backdrop-filter: blur(18px);
}

.other-comics-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(4, 17, 55, 0.94), rgba(42, 10, 70, 0.86)),
    var(--panel);
  box-shadow: var(--shadow-cyan), var(--shadow-pink), inset 0 0 62px rgba(18, 107, 255, 0.14);
  backdrop-filter: blur(18px);
}

.follow-intro {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.follow-intro h1,
.other-comics-header h1 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.9;
  text-shadow: 0 0 18px rgba(255, 78, 227, 0.54), 0 0 24px rgba(25, 216, 255, 0.38);
}

.follow-intro p,
.other-comics-header p {
  margin: 16px auto 0;
  color: #e7efff;
  font: 1.12rem/1.6 Arial, sans-serif;
}

.other-comics-header {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.other-comics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.site-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(92, 178, 255, 0.48);
  border-radius: var(--radius);
  color: #f8fbff;
  text-decoration: none;
  background: rgba(3, 13, 42, 0.78);
  box-shadow: inset 0 0 28px rgba(29, 113, 255, 0.14), 0 0 18px rgba(22, 215, 255, 0.16);
}

.site-card:hover,
.site-card:focus-visible {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 22px rgba(20, 219, 255, 0.36), inset 0 0 24px rgba(31, 143, 255, 0.18);
}

.site-card strong,
.site-card small {
  display: block;
}

.site-card strong {
  text-transform: uppercase;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 0.98;
  text-shadow: 0 0 14px rgba(23, 218, 255, 0.44);
}

.site-card small {
  margin-top: 12px;
  color: #9df4ff;
  font: 800 0.92rem/1.35 Arial, sans-serif;
  overflow-wrap: anywhere;
}

.site-card svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.follow-card {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid rgba(255, 87, 226, 0.42);
  border-radius: var(--radius);
  background: rgba(2, 8, 31, 0.72);
  box-shadow: inset 0 0 34px rgba(255, 78, 227, 0.12), 0 0 24px rgba(25, 216, 255, 0.18);
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(18px, 5vw, 34px) !important;
  border: 1px solid rgba(128, 231, 255, 0.62) !important;
  border-radius: var(--radius) !important;
  background: linear-gradient(180deg, rgba(8, 27, 77, 0.98), rgba(5, 12, 43, 0.96)) !important;
  box-shadow: inset 0 0 28px rgba(25, 216, 255, 0.14), 0 0 22px rgba(255, 78, 227, 0.22) !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview,
.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview * {
  box-sizing: border-box !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-heading,
.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-input-field,
.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-submit-button {
  width: 100% !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-heading h5 {
  margin: 0 !important;
  color: #ffffff !important;
  font: 900 clamp(1.25rem, 4vw, 2rem)/1 "Trebuchet MS", "Arial Narrow", Arial, sans-serif !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 16px rgba(25, 216, 255, 0.52) !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-input-field {
  margin-top: 22px !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-input-field input {
  width: 100% !important;
  height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(128, 231, 255, 0.72) !important;
  border-radius: var(--radius) !important;
  outline: none !important;
  color: #f8fbff !important;
  background: rgba(2, 8, 31, 0.92) !important;
  box-shadow: inset 0 0 18px rgba(25, 216, 255, 0.12) !important;
  font: 700 1rem/1 Arial, sans-serif !important;
  text-align: center !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-input-field input::placeholder {
  color: #bfd1ff !important;
  opacity: 1 !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-submit-button {
  margin-top: 12px !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .form-preview .preview-submit-button button {
  width: 100% !important;
  height: 48px !important;
  border: 1px solid rgba(255, 214, 73, 0.9) !important;
  border-radius: var(--radius) !important;
  color: #ffffff !important;
  background: linear-gradient(105deg, #f232a5, #ff7b24 58%, #ffd12d) !important;
  box-shadow: 0 0 22px rgba(255, 73, 202, 0.42), inset 0 0 18px rgba(255, 255, 255, 0.22) !important;
  font: 900 1rem/1 "Trebuchet MS", "Arial Narrow", Arial, sans-serif !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 2px rgba(58, 0, 60, 0.55) !important;
  cursor: pointer !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .powered-by-line {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin-top: 12px !important;
  color: #dce8ff !important;
  font: 700 0.86rem/1.6 Arial, sans-serif !important;
  text-align: center !important;
  text-decoration: none !important;
}

.followit--follow-form-container[attr-a][attr-b][attr-c][attr-d][attr-e][attr-f] .powered-by-line img {
  height: 1.13em !important;
  max-height: 1.13em !important;
  margin-left: 10px !important;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.whos-header {
  margin-bottom: 24px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-cyan), inset 0 0 50px rgba(18, 107, 255, 0.12);
  backdrop-filter: blur(18px);
}

.whos-header h1 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.9;
  text-shadow: 0 0 18px rgba(18, 218, 255, 0.62);
}

.whos-header p {
  max-width: 860px;
  margin: 14px 0 0;
  color: #e4ecff;
  font: 1.08rem/1.6 Arial, sans-serif;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.character-card {
  display: grid;
  grid-template-columns: minmax(170px, 42%) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 320px;
  padding: 12px;
  border: 1px solid rgba(92, 178, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(3, 13, 42, 0.78);
  box-shadow: inset 0 0 28px rgba(29, 113, 255, 0.14), 0 0 18px rgba(22, 215, 255, 0.16);
  overflow: hidden;
}

.character-card img {
  width: 100%;
  height: 100%;
  min-height: 294px;
  object-fit: cover;
  border: 1px solid rgba(133, 231, 255, 0.62);
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(23, 218, 255, 0.22);
}

.character-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 8px 4px 8px 0;
}

.character-card h2 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 0.95;
  color: white;
  text-shadow: 0 0 14px rgba(23, 218, 255, 0.44);
}

.character-card p {
  margin: 0;
  color: #e6efff;
  font: 1rem/1.55 Arial, sans-serif;
}

.character-card strong {
  color: #fff5a6;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .nav,
  .support-link {
    width: 100%;
  }

  .support-link {
    min-height: 48px;
  }

  .reader-layout {
    grid-template-columns: 1fr;
  }

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

  .other-comics-grid {
    grid-template-columns: 1fr;
  }

  .library-panel {
    position: relative;
    top: 0;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 12px 10px 28px;
  }

  .topbar {
    top: 6px;
    padding: 10px;
    gap: 10px;
  }

  .brand img {
    max-height: 86px;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-link,
  .support-link,
  .action-button,
  .comic-share-button,
  .jump-button,
  .reader-nav button,
  .search-clear-button {
    min-height: 44px;
    font-size: 0.84rem;
  }

  .reader-toolbar {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .reader-actions,
  .action-button {
    width: 100%;
  }

  .library-search {
    grid-template-columns: 1fr;
  }

  .comic-card {
    padding: 10px;
  }

  .comic-card-main {
    grid-template-columns: 104px 1fr;
    gap: 12px;
  }

  .reader-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  body.reader-fullscreen .reader-toolbar,
  .reader-panel:fullscreen .reader-toolbar {
    grid-template-columns: 1fr;
  }

  body.reader-fullscreen .reader-actions,
  .reader-panel:fullscreen .reader-actions {
    grid-template-columns: 1fr;
  }

  body.reader-fullscreen .comic-page,
  .reader-panel:fullscreen .comic-page {
    width: 100%;
    max-height: none;
  }

  .library-foot {
    display: grid;
    grid-template-columns: 1fr;
  }

  .character-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .character-card img {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .character-card div {
    padding: 4px 2px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
