:root {
  color-scheme: dark;
  --bg: #050a13;
  --bg-2: #07101d;
  --panel: rgba(10, 22, 36, 0.86);
  --panel-2: rgba(15, 28, 44, 0.92);
  --line: rgba(80, 115, 150, 0.42);
  --line-soft: rgba(80, 115, 150, 0.24);
  --text: #f4f7fb;
  --muted: #98a8bd;
  --cyan: #23e3df;
  --cyan-2: #20a9ff;
  --magenta: #ff3d73;
  --amber: #ffbf35;
  --violet: #9b6cff;
  --green: #29e6a7;
  font-family:
    "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body {
  line-height: 1.65;
  background:
    linear-gradient(90deg, rgba(4, 9, 18, 0.86), rgba(5, 10, 19, 0.24) 18%, rgba(5, 10, 19, 0.24) 82%, rgba(4, 9, 18, 0.86)),
    radial-gradient(circle at 38% 18%, rgba(35, 227, 223, 0.12), transparent 28%),
    radial-gradient(circle at 73% 8%, rgba(255, 61, 115, 0.1), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 24px),
    var(--bg);
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 72px;
  bottom: 0;
  z-index: -1;
  width: min(18vw, 220px);
  opacity: 0.35;
  background:
    linear-gradient(rgba(5, 10, 19, 0.5), rgba(5, 10, 19, 0.8)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 22px),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent);
  clip-path: polygon(0 0, 100% 8%, 78% 100%, 0 100%);
}

body::before {
  left: 0;
}

body::after {
  right: 0;
  transform: scaleX(-1);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
th,
td,
span,
strong,
b,
small {
  overflow-wrap: anywhere;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 360px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 0 28px;
  background: rgba(4, 8, 15, 0.92);
  border-bottom: 1px solid rgba(80, 115, 150, 0.46);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(244, 247, 251, 0.75);
  background:
    radial-gradient(circle, transparent 0 19%, rgba(244, 247, 251, 0.65) 20% 21%, transparent 22% 39%, rgba(244, 247, 251, 0.55) 40% 41%, transparent 42%),
    linear-gradient(135deg, transparent 0 46%, var(--magenta) 47% 53%, transparent 54%),
    conic-gradient(from 230deg, rgba(35, 227, 223, 0.95), transparent 28%, transparent),
    #07101d;
  box-shadow: 0 0 24px rgba(35, 227, 223, 0.32);
}

.brand strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #d6dfeb;
  font-size: 0.92rem;
  font-weight: 900;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: #d6dfeb;
  border-bottom: 2px solid transparent;
}

.site-nav a.active {
  color: var(--cyan);
  border-color: var(--cyan);
}

.site-nav span {
  color: currentColor;
  font-size: 1.03rem;
}

.header-actions {
  display: flex;
  gap: 14px;
}

.header-actions button,
.header-actions a {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(18, 31, 49, 0.8);
  color: #dfe8f4;
  font-weight: 900;
}

.header-watchlist-link[data-active="true"],
.header-watchlist-link:has([data-watchlist-count]:not([hidden])) {
  border-color: rgba(255, 184, 77, 0.76);
  color: var(--amber);
  box-shadow: 0 0 18px rgba(255, 184, 77, 0.16);
}

.header-watchlist-link small {
  position: absolute;
  right: -5px;
  top: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid rgba(255, 184, 77, 0.82);
  border-radius: 999px;
  background: rgba(8, 14, 24, 0.96);
  color: var(--amber);
  font-size: 0.68rem;
  line-height: 18px;
  text-align: center;
}

body[data-search-open="true"] {
  overflow: hidden;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding: 94px 24px 24px;
  background: rgba(2, 7, 13, 0.72);
  backdrop-filter: blur(14px);
}

.search-overlay[hidden] {
  display: none !important;
}

.site-search-modal {
  width: min(980px, 100%);
  max-height: min(780px, calc(100vh - 118px));
  margin: 0 auto;
  overflow: auto;
  border: 1px solid rgba(80, 115, 150, 0.58);
  border-radius: 8px;
  background: rgba(7, 16, 29, 0.98);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
}

.site-search-form,
.search-page-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: end;
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.site-search-field,
.search-page-form label {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.site-search-field input,
.search-page-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(80, 115, 150, 0.62);
  border-radius: 6px;
  background: rgba(4, 10, 18, 0.94);
  color: var(--text);
  padding: 0 13px;
  font: inherit;
  font-size: 1rem;
  outline: 0;
}

.site-search-field input:focus,
.search-page-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(35, 227, 223, 0.14);
}

.site-search-form button,
.search-page-form button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(18, 31, 49, 0.9);
  color: #e8f0fb;
  padding: 0 16px;
  font-weight: 950;
}

.site-search-form button[type="submit"],
.search-page-form button {
  border-color: rgba(35, 227, 223, 0.68);
  background: linear-gradient(135deg, rgba(35, 227, 223, 0.22), rgba(255, 61, 115, 0.12));
  color: #f7fbff;
}

.site-search-close {
  width: 46px;
  padding: 0;
  cursor: pointer;
  font-size: 1.1rem;
}

.admin-search-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.admin-search-hero {
  padding: 24px 0 18px;
}

.admin-search-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.admin-search-hero p {
  max-width: 720px;
  color: var(--muted);
  font-weight: 800;
}

.admin-message {
  display: inline-flex;
  border: 1px solid rgba(41, 230, 167, 0.5);
  border-radius: 6px;
  background: rgba(41, 230, 167, 0.1);
  color: #d8fff2;
  padding: 8px 12px;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.admin-metric-grid article,
.admin-panel,
.admin-request-card {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(8, 18, 31, 0.92);
}

.admin-metric-grid article {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.admin-metric-grid span,
.admin-metric-grid small {
  color: var(--muted);
  font-weight: 850;
}

.admin-metric-grid strong {
  font-size: 2rem;
  line-height: 1.1;
}

.admin-panel {
  margin-top: 16px;
  padding: 18px;
}

.admin-panel h2 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-request-list {
  display: grid;
  gap: 12px;
}

.admin-request-card {
  padding: 14px;
}

.admin-request-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-request-card h3 {
  margin: 6px 0 4px;
  font-size: 1.18rem;
}

.admin-request-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-status,
.admin-issue-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(35, 227, 223, 0.45);
  border-radius: 999px;
  padding: 0 10px;
  color: #bffbff;
  font-size: 0.74rem;
  font-weight: 950;
}

.admin-request-card[data-status="approved"] .admin-status {
  border-color: rgba(255, 191, 53, 0.48);
  color: #ffe6a3;
}

.admin-request-card[data-status="done"] .admin-status {
  border-color: rgba(41, 230, 167, 0.48);
  color: #bdf9e5;
}

.admin-request-card[data-status="rejected"] .admin-status {
  border-color: rgba(152, 168, 189, 0.42);
  color: var(--muted);
}

.admin-request-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.admin-request-actions label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-request-actions textarea {
  width: 100%;
  border: 1px solid rgba(80, 115, 150, 0.58);
  border-radius: 6px;
  background: rgba(4, 10, 18, 0.94);
  color: var(--text);
  padding: 10px;
  font: inherit;
  resize: vertical;
}

.admin-request-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-request-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(18, 31, 49, 0.9);
  color: #e8f0fb;
  padding: 0 12px;
  font-weight: 900;
  cursor: pointer;
}

.site-search-status {
  padding: 12px 16px 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.site-search-results {
  padding: 16px;
}

.search-load-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 61, 115, 0.38);
  border-radius: 8px;
  background: rgba(255, 61, 115, 0.08);
  color: var(--muted);
  font-weight: 850;
}

.search-load-error p {
  flex: 1 1 240px;
  margin: 0;
}

.search-load-error button {
  min-height: 40px;
  border: 1px solid rgba(35, 227, 223, 0.68);
  border-radius: 6px;
  background: rgba(18, 31, 49, 0.9);
  color: #f7fbff;
  padding: 0 14px;
  font-weight: 950;
  cursor: pointer;
}

.search-load-error button:focus-visible {
  outline: 3px solid rgba(35, 227, 223, 0.35);
  outline-offset: 2px;
}

.search-result-section + .search-result-section {
  margin-top: 20px;
}

.search-result-section > h2 {
  margin: 0 0 10px;
  color: #eaf4ff;
  font-size: 1rem;
}

.search-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 126px 1fr;
  min-height: 142px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(9, 19, 31, 0.95);
}

.search-result-thumb {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #0b1421;
}

.search-result-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(35, 227, 223, 0.38), transparent 23%),
    radial-gradient(circle at 78% 32%, rgba(255, 61, 115, 0.3), transparent 22%),
    linear-gradient(135deg, #111827, #0b1424 54%, #1b1830);
}

.search-result-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, transparent 40%, rgba(5, 10, 18, 0.72) 100%);
  background-size: 18px 18px, 18px 18px, 100% 100%;
}

.search-result-thumb.has-official-image::before {
  display: none;
}

.search-result-body {
  min-width: 0;
  padding: 12px;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.search-result-meta span,
.search-result-meta b {
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.search-result-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.search-result-card p {
  margin: 0 0 9px;
  color: #b7c6d8;
  font-size: 0.82rem;
  line-height: 1.55;
}

.search-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 7px;
  border: 1px solid rgba(35, 227, 223, 0.35);
  border-radius: 999px;
  background: rgba(35, 227, 223, 0.1);
  color: #cffffc;
  font-size: 0.72rem;
  font-weight: 900;
}

.search-chip.muted {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
}

.series-search-card {
  overflow: hidden;
  border: 1px solid rgba(80, 115, 150, 0.44);
  border-radius: 7px;
  background: rgba(10, 22, 36, 0.94);
}

.series-search-card + .series-search-card {
  margin-top: 12px;
}

.series-search-card header {
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.series-search-card header p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.series-search-card header span {
  color: var(--cyan);
}

.series-search-card h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.series-search-card header small {
  color: #dce8f5;
  font-weight: 850;
}

.series-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px;
}

.series-service-cell {
  min-height: 62px;
  padding: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.series-service-cell[data-full="true"] {
  border-color: rgba(41, 230, 167, 0.52);
  background: rgba(41, 230, 167, 0.08);
}

.series-service-cell b,
.series-service-cell span {
  display: block;
}

.series-service-cell b {
  color: #f4f8ff;
  font-size: 0.82rem;
}

.series-service-cell span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.series-work-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.series-work-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 280px);
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.series-work-list li:last-child {
  border-bottom: 0;
}

.series-work-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4f8ff;
  font-size: 0.88rem;
  font-weight: 900;
}

.series-work-list a span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(35, 227, 223, 0.14);
  color: var(--cyan);
  font-size: 0.72rem;
}

.series-work-list small {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.series-unknown-note,
.search-empty-state {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  font-weight: 850;
}

.search-page {
  padding: 18px 18px 28px;
}

.search-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
  gap: 22px;
  align-items: end;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line-soft);
}

.search-page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.search-page-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.search-page-form {
  padding: 0;
  border-bottom: 0;
  grid-template-columns: 1fr auto;
}

.search-page-results-panel {
  padding-top: 4px;
}

.site-glow {
  display: none;
}

main {
  width: min(1480px, calc(100vw - 86px));
  margin: 0 auto;
}

.mock-hero {
  display: grid;
  grid-template-columns: 470px minmax(250px, 330px) minmax(500px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 330px;
  padding: 10px 0 8px;
}

.hero-copy {
  padding-left: 110px;
  min-width: 0;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(3.4rem, 4.65vw, 4.75rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.42);
  white-space: nowrap;
}

.hero-copy em {
  color: var(--cyan);
  font-style: normal;
}

.hero-copy p {
  margin: 0;
  color: #d4deeb;
  font-size: 1.05rem;
  font-weight: 800;
}

.radar-console {
  display: flex;
  justify-content: center;
}

.radar-screen {
  position: relative;
  width: 296px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle, transparent 0 12%, rgba(35, 227, 223, 0.55) 12.4% 13.1%, transparent 13.5% 26%, rgba(35, 227, 223, 0.42) 26.4% 27.1%, transparent 27.5% 40%, rgba(35, 227, 223, 0.34) 40.4% 41.1%, transparent 41.5%),
    linear-gradient(90deg, transparent 49.6%, rgba(35, 227, 223, 0.78) 49.9% 50.2%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.6%, rgba(35, 227, 223, 0.6) 49.9% 50.2%, transparent 50.5%),
    conic-gradient(from 268deg, rgba(35, 227, 223, 0.78), rgba(35, 227, 223, 0.14) 35%, transparent 36%),
    rgba(6, 24, 37, 0.7);
  box-shadow: 0 0 46px rgba(35, 227, 223, 0.22), inset 0 0 46px rgba(35, 227, 223, 0.16);
}

.radar-screen::before,
.radar-screen::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 1px;
  background: rgba(35, 227, 223, 0.9);
  transform-origin: left center;
}

.radar-screen::before {
  transform: rotate(45deg);
}

.radar-screen::after {
  transform: rotate(-135deg);
}

.radar-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 10px rgba(35, 227, 223, 0.14), 0 0 24px rgba(35, 227, 223, 0.95);
}

.dot-a {
  right: 25%;
  top: 27%;
  background: var(--magenta);
  box-shadow: 0 0 0 10px rgba(255, 61, 115, 0.14), 0 0 24px rgba(255, 61, 115, 0.95);
}

.dot-b {
  left: 18%;
  top: 40%;
}

.dot-c {
  left: 23%;
  bottom: 34%;
}

.dot-d {
  right: 19%;
  bottom: 24%;
  width: 8px;
  height: 8px;
  background: var(--magenta);
}

.vod-selector {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(10, 22, 36, 0.88);
  box-shadow: inset 0 0 0 1px rgba(35, 227, 223, 0.04), 0 18px 50px rgba(0, 0, 0, 0.36);
}

.vod-selector__head {
  position: relative;
  padding-left: 16px;
}

.vod-selector__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 2px;
  width: 3px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(35, 227, 223, 0.8);
}

.vod-selector h2 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  font-weight: 950;
}

.vod-selector p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.help-chip {
  position: absolute;
  right: 0;
  top: 0;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 16, 29, 0.86);
  color: #d7e2ef;
  font-size: 0.8rem;
  font-weight: 800;
}

.service-checks {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.service-check {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #f5f8fc;
  font-size: 1.03rem;
  font-weight: 950;
}

.service-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-light {
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #7e8da2;
  border-radius: 3px;
}

.service-check__name {
  display: block;
  min-width: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-check:has(input:checked) .check-light {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(35, 227, 223, 0.8);
}

.service-check:has(input:checked) .check-light::before {
  content: "✓";
  color: #06131d;
  font-size: 0.86rem;
  font-weight: 950;
}

.service-check:nth-of-type(1):has(input:checked) {
  border-color: var(--magenta);
  background: rgba(255, 61, 115, 0.16);
  color: var(--magenta);
}

.service-check:nth-of-type(3):has(input:checked) {
  border-color: var(--cyan-2);
  background: rgba(32, 169, 255, 0.16);
  color: #4bb9ff;
}

.service-check:nth-of-type(6) {
  color: var(--cyan);
}

.vod-selector__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.vod-selector__footer p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d7e2ef;
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(35, 227, 223, 0.75);
}

.vod-selector__footer button {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: #d7e2ef;
  font-size: 0.82rem;
  font-weight: 800;
}

.vod-selector .service-check[hidden] {
  display: none !important;
}

.vod-selector__more {
  grid-column: 1 / -1;
  min-width: 0;
}

.vod-selector__more summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 16, 29, 0.86);
  color: #d7e2ef;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.vod-selector__more[open] summary {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(35, 227, 223, 0.1);
}

.vod-selector__extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.vod-selector__more:not([open]) .vod-selector__extra-grid {
  display: none;
}

.help-chip,
.vod-selector__footer button {
  cursor: pointer;
}

.vod-selector--compact {
  gap: 12px;
  padding: 16px;
}

.vod-selector--compact .vod-selector__head {
  padding-right: 0;
}

.vod-selector--compact .vod-selector__head::before {
  top: 2px;
}

.vod-selector--compact h2 {
  font-size: 0.98rem;
}

.vod-selector--compact p {
  font-size: 0.78rem;
}

.vod-selector--compact .service-checks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.vod-selector--compact .vod-selector__extra-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.vod-selector--compact .service-check {
  min-height: 38px;
  padding: 0 12px;
  gap: 8px;
  border-radius: 5px;
  font-size: 0.86rem;
}

.vod-selector--compact .check-light {
  flex-basis: 16px;
  width: 16px;
  height: 16px;
  border-width: 1px;
}

.vod-selector--compact .vod-selector__footer {
  padding-top: 10px;
}

.radar-alert,
.content-dashboard,
.recommend-panel {
  width: 100%;
}

.radar-alert {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(255, 61, 115, 0.62);
  border-radius: 6px;
  background: rgba(255, 61, 115, 0.075);
  box-shadow: 0 0 28px rgba(255, 61, 115, 0.12);
}

.radar-alert strong {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--magenta);
  font-size: 1.02rem;
}

.radar-alert p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.radar-alert p span {
  display: inline-flex;
  margin-right: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--magenta);
  color: #fff;
  font-size: 0.72rem;
}

.radar-alert a {
  color: #d7e2ef;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.news-page {
  padding: 28px 0 72px;
}

.news-hero {
  display: grid;
  gap: 8px;
  padding: 18px 0 24px;
  border-bottom: 1px solid var(--line-soft);
}

.news-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
}

.news-hero p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.news-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.news-card {
  display: grid;
  grid-template-columns: 120px 82px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.9);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.news-card time {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 61, 115, 0.5);
  border-radius: 999px;
  background: rgba(255, 61, 115, 0.12);
  color: #ffd6e0;
  font-size: 0.76rem;
  font-weight: 950;
}

.news-badge--anime-db {
  border-color: rgba(35, 227, 223, 0.5);
  background: rgba(35, 227, 223, 0.1);
  color: #cffffc;
}

.news-badge--site-update {
  border-color: rgba(255, 191, 53, 0.5);
  background: rgba(255, 191, 53, 0.1);
  color: #ffe6a3;
}

.news-card h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.news-card__link {
  color: #d7e2ef;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.content-dashboard {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.quick-menu,
.anime-radar-panel,
.recommend-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.88);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.quick-menu {
  padding: 18px 16px;
}

.quick-menu h2 {
  margin: 0 0 12px;
  font-size: 1.06rem;
}

.quick-menu > a:not(.menu-promo) {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 39px;
  border-bottom: 1px solid var(--line-soft);
  color: #d7e2ef;
  font-size: 0.9rem;
  font-weight: 850;
}

.quick-menu span {
  color: var(--cyan);
}

.quick-menu i {
  color: var(--muted);
  font-style: normal;
}

.menu-promo {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 88px;
  margin-top: 14px;
  padding: 14px 74px 14px 14px;
  border: 1px solid;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.menu-promo strong {
  font-size: 0.95rem;
}

.menu-promo small {
  color: #d7e2ef;
  font-size: 0.84rem;
  font-weight: 800;
}

.menu-promo b {
  position: absolute;
  right: 18px;
  top: 50%;
  color: currentColor;
  font-size: 2.4rem;
  line-height: 1;
  transform: translateY(-50%);
}

.menu-promo.amber {
  border-color: rgba(255, 191, 53, 0.7);
  color: var(--amber);
  background: rgba(255, 191, 53, 0.09);
}

.menu-promo.violet {
  border-color: rgba(155, 108, 255, 0.7);
  color: var(--violet);
  background: rgba(155, 108, 255, 0.09);
}

.anime-radar-panel {
  min-width: 0;
  padding: 24px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
}

.section-heading h2 {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
  font-size: 1.45rem;
  font-weight: 950;
}

.panel-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.panel-controls a,
.panel-controls button,
.season-filter-controls button,
.filter-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: #d7e2ef;
  font-size: 0.82rem;
  font-weight: 850;
}

.top-radar-sort {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.top-radar-sort span {
  color: #9fb0c7;
  font-size: 0.76rem;
  font-weight: 950;
}

.top-radar-sort select {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #d7e2ef;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
}

.top-radar-sort select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 18px;
}

.filter-tabs button.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(35, 227, 223, 0.1);
}

.season-filter-controls {
  position: relative;
  display: flex;
  justify-content: end;
  min-width: 260px;
  max-width: 360px;
}

.season-tabs.season-filter-controls {
  justify-content: start;
  width: min(100%, 360px);
  max-width: 100%;
}

.season-filter-dropdown {
  position: relative;
  width: 100%;
}

.season-filter-controls .season-filter-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  text-align: left;
  white-space: nowrap;
}

.season-filter-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  gap: 6px;
  width: min(320px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(7, 19, 32, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
}

.season-tabs .season-filter-menu {
  right: auto;
  left: 0;
}

.season-filter-menu[hidden] {
  display: none;
}

.season-filter-controls .season-filter-option {
  width: 100%;
  justify-content: start;
  text-align: left;
}

.season-filter-controls .season-filter-trigger.active,
.season-filter-controls .season-filter-option.active,
.season-tabs button.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(35, 227, 223, 0.12);
}

.season-empty-state {
  margin: 16px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: #d7e2ef;
  font-weight: 850;
  text-align: center;
}

.anime-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.anime-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 19, 31, 0.96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.anime-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1421;
}

.anime-thumb::before,
.work-keyvisual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(32, 215, 197, 0.42), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(255, 59, 107, 0.36), transparent 22%),
    linear-gradient(135deg, #12182a 0%, #0a1321 52%, #111827 100%);
}

.anime-thumb::after,
.work-keyvisual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, transparent 42%, rgba(5, 10, 18, 0.82) 100%);
  background-size: 18px 18px, 18px 18px, 100% 100%;
  opacity: 0.92;
}

.has-official-image {
  background-image: var(--thumb-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.has-official-image::before {
  display: none;
}

.has-official-image::after {
  background: linear-gradient(180deg, transparent 38%, rgba(5, 10, 18, 0.82) 100%);
}

.theme-fantasy::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 184, 77, 0.46), transparent 21%),
    radial-gradient(circle at 72% 30%, rgba(124, 92, 255, 0.36), transparent 28%),
    conic-gradient(from 210deg at 52% 58%, rgba(32, 215, 197, 0.34), transparent 18%, rgba(255, 184, 77, 0.22), transparent 42%),
    linear-gradient(135deg, #17142b, #0b1827 56%, #201535);
}

.theme-school::before {
  background:
    linear-gradient(135deg, rgba(32, 215, 197, 0.26) 0 16%, transparent 16% 32%, rgba(255, 255, 255, 0.07) 32% 34%, transparent 34%),
    radial-gradient(circle at 78% 24%, rgba(255, 184, 77, 0.42), transparent 22%),
    linear-gradient(135deg, #0b2030, #121a2a 58%, #1a1430);
}

.theme-battle::before {
  background:
    linear-gradient(118deg, transparent 0 38%, rgba(255, 59, 107, 0.58) 39% 43%, transparent 44%),
    linear-gradient(148deg, transparent 0 48%, rgba(255, 184, 77, 0.38) 49% 53%, transparent 54%),
    radial-gradient(circle at 25% 72%, rgba(32, 215, 197, 0.34), transparent 24%),
    linear-gradient(135deg, #21111c, #0a1220 48%, #251829);
}

.theme-romance::before {
  background:
    radial-gradient(circle at 25% 28%, rgba(255, 59, 107, 0.5), transparent 23%),
    radial-gradient(circle at 70% 68%, rgba(255, 184, 77, 0.34), transparent 24%),
    linear-gradient(135deg, #231328, #121729 55%, #2a1630);
}

.theme-comedy::before {
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 184, 77, 0.58), transparent 18%),
    radial-gradient(circle at 74% 30%, rgba(32, 215, 197, 0.48), transparent 18%),
    radial-gradient(circle at 50% 72%, rgba(255, 59, 107, 0.4), transparent 22%),
    linear-gradient(135deg, #10232b, #17172c 52%, #261931);
}

.theme-sci-fi::before {
  background:
    repeating-linear-gradient(90deg, rgba(32, 215, 197, 0.14) 0 2px, transparent 2px 22px),
    radial-gradient(circle at 76% 28%, rgba(32, 215, 197, 0.48), transparent 21%),
    radial-gradient(circle at 26% 72%, rgba(124, 92, 255, 0.4), transparent 24%),
    linear-gradient(135deg, #071925, #111529 56%, #101d34);
}

.theme-mystery::before {
  background:
    radial-gradient(circle at 72% 30%, rgba(124, 92, 255, 0.4), transparent 22%),
    linear-gradient(125deg, transparent 0 42%, rgba(32, 215, 197, 0.28) 43% 45%, transparent 46%),
    linear-gradient(135deg, #0a111d, #151426 55%, #221329);
}

.theme-slice-of-life::before {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 184, 77, 0.42), transparent 22%),
    radial-gradient(circle at 76% 64%, rgba(32, 215, 197, 0.32), transparent 24%),
    linear-gradient(135deg, #13241f, #111b29 52%, #231d2c);
}

.theme-idol::before {
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 59, 107, 0.5), transparent 20%),
    radial-gradient(circle at 52% 20%, rgba(255, 184, 77, 0.42), transparent 18%),
    radial-gradient(circle at 78% 34%, rgba(32, 215, 197, 0.4), transparent 20%),
    linear-gradient(135deg, #1b1630, #0c1727 52%, #221333);
}

.theme-default::before {
  background:
    radial-gradient(circle at 22% 28%, rgba(32, 215, 197, 0.38), transparent 22%),
    radial-gradient(circle at 78% 34%, rgba(255, 59, 107, 0.32), transparent 22%),
    linear-gradient(135deg, #111827, #0b1424 54%, #1b1830);
}

.thumb-0,
.thumb-1,
.thumb-2,
.thumb-3,
.thumb-4 {
  background-position: center;
}

.thumb-label {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  margin: 0;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(255, 61, 115, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.image-state-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(32, 215, 197, 0.58);
  border-radius: 4px;
  background: rgba(5, 12, 22, 0.76);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 950;
}

.anime-thumb button {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 31px;
  height: 31px;
  border: 1px solid var(--amber);
  border-radius: 6px;
  background: rgba(6, 10, 18, 0.82);
  color: var(--amber);
  font-size: 1.1rem;
}

.anime-thumb button[data-saved="true"],
.work-keyvisual button[data-saved="true"] {
  background: rgba(255, 184, 77, 0.16);
  color: var(--amber);
  box-shadow: 0 0 20px rgba(255, 184, 77, 0.22);
}

.anime-card__top,
.anime-card h3,
.anime-card .catch-copy,
.anime-card .tag-row,
.anime-card .compact-list {
  margin-left: 14px;
  margin-right: 14px;
}

.anime-card__top {
  margin-top: 10px;
}

.season-pill {
  margin: 0;
  color: #d7e2ef;
  font-size: 0.8rem;
  font-weight: 850;
}

.match-badge {
  display: none;
}

.anime-card h3 {
  margin-top: 4px;
  margin-bottom: 2px;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 950;
}

.catch-copy {
  margin-top: 0;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
}

.attention-meter {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 14px 0;
  color: #d7e2ef;
  font-size: 0.72rem;
  font-weight: 850;
}

.attention-meter span {
  color: var(--muted);
}

.attention-meter b {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(35, 227, 223, 0.45);
  border-radius: 5px;
  background: rgba(35, 227, 223, 0.1);
  color: var(--cyan);
  font-size: 0.82rem;
}

.attention-meter small {
  min-width: 0;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.tag-row span {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #d7e2ef;
  font-size: 0.72rem;
  font-weight: 850;
}

.compact-list {
  margin-top: 9px;
  margin-bottom: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.compact-list div:first-child {
  display: none;
}

.compact-list div {
  display: block;
}

.compact-list dt {
  display: none;
}

.compact-list dd {
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scroll-meter {
  height: 5px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-meter span {
  display: block;
  width: 9%;
  height: 100%;
  background: var(--cyan);
}

.recommend-panel {
  margin: 12px 0 28px;
  padding: 18px;
}

.recommend-panel h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.22rem;
}

.recommend-panel h2 span {
  color: var(--cyan);
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.recommend-card {
  position: relative;
  display: grid;
  min-height: 104px;
  padding: 18px 76px 18px 22px;
  border: 1px solid;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.recommend-card strong {
  color: currentColor;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.recommend-card small {
  color: #d7e2ef;
  font-size: 0.9rem;
  font-weight: 800;
}

.recommend-card > span {
  position: absolute;
  right: 24px;
  top: 50%;
  font-size: 2.9rem;
  transform: translateY(-50%);
}

.recommend-card.cyan {
  color: var(--cyan);
  border-color: rgba(35, 227, 223, 0.65);
  background: rgba(35, 227, 223, 0.08);
}

.recommend-card.amber {
  color: var(--amber);
  border-color: rgba(255, 191, 53, 0.65);
  background: rgba(255, 191, 53, 0.08);
}

.recommend-card.violet {
  color: var(--violet);
  border-color: rgba(155, 108, 255, 0.65);
  background: rgba(155, 108, 255, 0.08);
}

.recommend-card.magenta {
  color: var(--magenta);
  border-color: rgba(255, 61, 115, 0.65);
  background: rgba(255, 61, 115, 0.08);
}

.page-heading,
.stats-row,
.service-grid,
.diagnosis-panel,
.detail-grid,
.work-header,
.section-band,
.split-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.page-heading,
.work-header {
  padding: 48px 0 26px;
}

.page-heading p,
.work-header p,
.section-band p,
.service-card p,
.info-panel p {
  color: var(--muted);
}

.stats-row,
.service-grid,
.detail-grid {
  display: grid;
  gap: 14px;
}

.stats-row {
  grid-template-columns: repeat(3, 1fr);
}

.stats-row div,
.service-card,
.info-panel,
.diagnosis-panel,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  padding: 18px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.detail-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.table-wrap {
  overflow-x: auto;
  padding: 0;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.plain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.diagnosis-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.diagnosis-options button,
.diagnosis-result {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-weight: 900;
}

.diagnosis-result {
  display: block;
  padding: 14px;
}

.breadcrumb {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.listing-hero {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 260px minmax(500px, 0.95fr);
  gap: 34px;
  align-items: center;
  min-height: 258px;
  padding: 20px 50px 12px;
}

.listing-hero h1,
.compare-page h1,
.diagnosis-title h1 {
  margin: 0 0 12px;
  font-size: clamp(2.55rem, 4vw, 4.4rem);
  line-height: 1.08;
}

.listing-hero h1 em,
.compare-page h1 em,
.diagnosis-title h1 span {
  color: var(--cyan);
  font-style: normal;
}

.listing-hero p,
.compare-page > p,
.diagnosis-title > p {
  color: var(--muted);
  font-weight: 800;
}

.mini-radar .radar-screen {
  width: 188px;
}

.compact-vod-filter {
  display: grid;
  gap: 12px;
}

.season-tabs,
.listing-toolbar,
.compare-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.season-tabs button,
.listing-toolbar button,
.compare-tabs button,
.season-filter-controls button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: #d7e2ef;
  font-weight: 900;
}

.season-tabs button.active,
.listing-toolbar button.active,
.compare-tabs button.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(35, 227, 223, 0.12);
}

.compact-filter-box,
.listing-sidebar,
.anime-results,
.compare-main,
.compare-side > section,
.diagnosis-main,
.diagnosis-side > section,
.result-preview,
.work-detail-page section {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.88);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
}

.compact-filter-box {
  padding: 16px;
}

.compact-filter-box h2 {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--cyan);
  font-size: 1rem;
}

.mini-checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 900;
}

.mini-checks span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #7890a9;
  border-radius: 3px;
}

.mini-checks .checked span {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #06131d;
}

.listing-toolbar {
  justify-content: space-between;
  align-items: center;
  margin: 14px 50px 18px;
}

.listing-count {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-left: 12px;
  color: var(--muted);
  line-height: 1.1;
  cursor: default;
}

.listing-count::before {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: rgba(35, 227, 223, 0.72);
  content: "";
}

.listing-count-label {
  color: #8fa1b6;
  font-size: 0.66rem;
  font-weight: 800;
}

.listing-count-value {
  color: #d7e2ef;
  font-size: 0.86rem;
  font-weight: 950;
}

.anime-list-layout {
  display: grid;
  grid-template-columns: 244px 1fr;
  gap: 16px;
  margin: 0 50px 28px;
}

.listing-sidebar {
  padding: 18px;
}

.listing-sidebar h2,
.listing-sidebar h3 {
  margin: 0 0 12px;
}

.listing-sidebar section {
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
}

.listing-sidebar h3 {
  display: flex;
  justify-content: space-between;
  color: #d7e2ef;
  font-size: 0.9rem;
}


.search-box {
  display: flex;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.search-box:hover,
.search-box:focus-visible {
  border-color: var(--cyan);
  background: rgba(35, 227, 223, 0.08);
  color: #d7e2ef;
}

.search-box span {
  color: var(--cyan);
}

.anime-results {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.anime-list-layout .anime-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.verified-note {
  text-align: right;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.ranking-note {
  margin: 18px 0 0;
  text-align: right;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.work-detail-page {
  padding: 14px 18px 24px;
}

.work-hero-detail {
  display: grid;
  grid-template-columns: minmax(400px, 0.95fr) minmax(340px, 0.9fr) 220px 360px;
  gap: 24px;
  align-items: stretch;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.work-keyvisual {
  position: relative;
  min-height: 292px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0b1421;
  overflow: hidden;
}

.work-keyvisual p,
.work-badges span,
.work-badges button {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--magenta);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.work-keyvisual p {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
}

.work-keyvisual button {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--amber);
  border-radius: 6px;
  background: rgba(6, 10, 18, 0.82);
  color: var(--amber);
  font-size: 1.3rem;
}

.work-meta h1 {
  margin: 0;
  font-size: 2.35rem;
}

.work-kana,
.work-meta dl,
.work-meta dt,
.work-meta dd {
  color: var(--muted);
}

.work-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.work-badges span:nth-child(2),
.work-badges span:nth-child(3) {
  border: 1px solid var(--cyan);
  background: rgba(35, 227, 223, 0.12);
  color: var(--cyan);
}

.work-badges button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: #d7e2ef;
}

.work-badges button[data-saved="true"] {
  border-color: rgba(255, 184, 77, 0.74);
  background: rgba(255, 184, 77, 0.13);
  color: var(--amber);
}

.work-meta h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.work-meta h2 em {
  color: var(--cyan);
  font-style: normal;
}

.work-meta dl div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  font-size: 0.88rem;
}

.detail-radar {
  display: grid;
  place-items: start center;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.detail-radar .radar-screen {
  width: 210px;
}

.work-vod-panel {
  padding: 18px;
}

.work-vod-panel h2 {
  margin: 0 0 6px;
  padding-left: 12px;
  border-left: 3px solid var(--cyan);
  font-size: 1.08rem;
}

.work-vod-panel p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.work-vod-panel label:not(.service-check) {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid var(--line-soft);
  color: #d7e2ef;
  font-size: 0.9rem;
  font-weight: 850;
}

.work-vod-panel label:not(.service-check) span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #7890a9;
  border-radius: 3px;
}

.work-vod-panel label:not(.service-check).available span {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #06131d;
}

.work-vod-panel label b,
.panel-note {
  color: var(--cyan);
  font-size: 0.78rem;
}

.work-viewing-services {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.work-viewing-services h3 {
  margin: 0;
  color: #edf5ff;
  font-size: 0.9rem;
}

.work-viewing-services p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.work-viewing-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.work-viewing-service {
  align-items: flex-start;
  min-height: 34px;
  padding: 8px 12px;
  gap: 8px;
  border-radius: 5px;
  font-size: 0.84rem;
}

.work-viewing-service .check-light {
  flex-basis: 16px;
  margin-top: 1px;
  width: 16px;
  height: 16px;
  border-width: 1px;
}

.work-viewing-service:has(input:disabled) {
  cursor: not-allowed;
}

.work-viewing-service[data-owned="false"] {
  border-color: rgba(126, 141, 162, 0.28);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(215, 226, 239, 0.62);
}

.work-viewing-service[data-owned="false"] .check-light {
  border-color: rgba(126, 141, 162, 0.5);
  background: transparent;
  box-shadow: none;
}

.work-viewing-service__body {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.work-viewing-service__body .service-check__name {
  flex: 1 1 8rem;
  min-width: 4rem;
}

.work-viewing-service__badges {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.work-viewing-service__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border: 1px solid rgba(35, 227, 223, 0.42);
  border-radius: 999px;
  background: rgba(35, 227, 223, 0.11);
  color: #8ff6ff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.work-viewing-service__badges [data-work-vod-locked] {
  display: none;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #c3cfdd;
}

.work-viewing-service[data-owned="false"] [data-work-vod-locked] {
  display: inline-flex;
}

.work-viewing-services__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.work-viewing-services__footer span {
  min-width: 0;
  color: #cbd8e8;
  font-size: 0.76rem;
  font-weight: 850;
}

.work-viewing-services__footer span[data-state="custom"] {
  color: var(--cyan);
}

.work-viewing-services__footer button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #d7e2ef;
  font-size: 0.74rem;
  font-weight: 850;
  cursor: pointer;
}

.work-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.48fr 0.62fr;
  gap: 16px;
  margin-top: 18px;
}

.stream-table-panel,
.pv-staff-panel {
  grid-column: span 2;
}

.available-services {
  grid-column: span 2;
}

.related-works {
  margin-top: 16px;
}

.stream-table-panel,
.schedule-panel,
.verified-panel,
.manga-route,
.pv-staff-panel,
.available-services,
.related-works {
  padding: 16px;
}

.table-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.table-title h2,
.schedule-panel h2,
.verified-panel h2,
.manga-route h2,
.pv-staff-panel h2,
.available-services h2,
.related-works h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.stream-table-panel table a,
.schedule-panel a,
.manga-route a {
  display: inline-flex;
  justify-content: center;
  min-height: 30px;
  padding: 4px 16px;
  border: 1px solid var(--cyan);
  border-radius: 5px;
  color: var(--cyan);
  font-weight: 900;
}

.schedule-panel p {
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
}

.broadcast-slot-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.broadcast-slot-list li {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
}

.broadcast-slot-list b {
  color: var(--cyan);
}

.broadcast-slot-list span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.verified-panel {
  border-color: rgba(35, 227, 223, 0.55) !important;
}

.manga-route {
  border-color: rgba(255, 191, 53, 0.58) !important;
}

.asset-cover,
.asset-avatar,
.asset-pv {
  background-image: url("/assets/support-assets-strip.png");
  background-size: 400% 100%;
}

.asset-cover {
  float: right;
  width: 88px;
  height: 120px;
  border-radius: 4px;
  background-position: 0% 50%;
}

.asset-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-position: 33.333% 50%;
}

.asset-pv {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  background-position: 66.666% 50%;
}

.pv-staff-panel {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  gap: 16px;
  align-items: center;
}

.available-services > div,
.related-works > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.available-services article,
.related-works article {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.related-work-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.related-work-card article {
  height: 100%;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.related-work-card:hover article,
.related-work-card:focus-visible article {
  border-color: rgba(35, 227, 223, 0.72);
  background: rgba(35, 227, 223, 0.08);
  transform: translateY(-2px);
}

.related-work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.related-work-card__meta span {
  padding: 2px 7px;
  border: 1px solid rgba(35, 227, 223, 0.5);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(35, 227, 223, 0.1);
}

.related-works .anime-thumb {
  margin: -12px -12px 10px;
  border-radius: 7px 7px 0 0;
}

.watchlist-page {
  padding-bottom: 62px;
}

.watchlist-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: stretch;
  margin: 28px 0 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(32, 215, 197, 0.12), transparent 42%),
    linear-gradient(90deg, rgba(255, 184, 77, 0.08), rgba(255, 59, 107, 0.08)),
    rgba(9, 19, 31, 0.9);
}

.watchlist-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.04;
}

.watchlist-hero p {
  max-width: 760px;
  color: #d8e2ef;
  font-weight: 800;
}

.watchlist-stat {
  display: grid;
  place-content: center;
  min-height: 150px;
  border: 1px solid rgba(255, 184, 77, 0.48);
  border-radius: 7px;
  background: rgba(6, 12, 22, 0.72);
  text-align: center;
}

.watchlist-stat span {
  color: var(--amber);
  font-size: 4rem;
  font-weight: 950;
  line-height: 1;
}

.watchlist-stat p {
  margin: 8px 0 0;
  color: #d7e2ef;
}

.watchlist-empty {
  margin: 24px 0;
  padding: 32px;
  border: 1px dashed rgba(32, 215, 197, 0.5);
  border-radius: 7px;
  background: rgba(9, 19, 31, 0.72);
}

.watchlist-empty h2 {
  margin: 0 0 8px;
}

.watchlist-empty p {
  color: var(--muted);
}

.watchlist-controls {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(64, 112, 158, 0.48);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(32, 215, 197, 0.08), transparent 48%),
    rgba(8, 18, 31, 0.88);
}

.watchlist-control-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.watchlist-control-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.watchlist-control-head p {
  margin: 0;
  color: #c8d5e4;
  font-weight: 900;
}

.watchlist-control-head b {
  color: var(--cyan);
  font-size: 1.45rem;
}

.watchlist-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.watchlist-filter-grid label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.watchlist-filter-grid span {
  color: #aebbd0;
  font-size: 0.78rem;
  font-weight: 950;
}

.watchlist-filter-grid select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(64, 112, 158, 0.72);
  border-radius: 5px;
  background: rgba(11, 23, 38, 0.96);
  color: #eff6ff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
}

.watchlist-filter-empty {
  border-color: rgba(255, 184, 77, 0.5);
}

.watchlist-empty a,
.watchlist-actions a,
.watchlist-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 5px;
  font-weight: 950;
}

.watchlist-empty a,
.watchlist-actions a {
  border: 1px solid var(--cyan);
  background: rgba(32, 215, 197, 0.12);
  color: var(--cyan);
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.watchlist-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 19, 31, 0.96);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.watchlist-card-body {
  padding: 16px;
}

.watchlist-card h2 {
  margin: 8px 0 6px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.watchlist-card p {
  color: #d8e2ef;
}

.watchlist-card .compact-list {
  margin: 14px 0 0;
}

.watchlist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.watchlist-actions button {
  border: 1px solid rgba(255, 184, 77, 0.74);
  background: rgba(255, 184, 77, 0.13);
  color: var(--amber);
}

.compare-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 16px;
  padding: 14px 50px 28px;
}

.compare-main,
.compare-side > section {
  padding: 18px;
}

.compare-main {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.compare-tabs {
  margin: 22px 0 16px;
}

.comparison-table-panel {
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.9);
  overflow: visible;
}

.comparison-table {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  --comparison-label-width: 150px;
}

.comparison-table-head-slot {
  min-width: 0;
}

.comparison-table-head {
  position: relative;
  z-index: 12;
  overflow-x: hidden;
  border-radius: 5px 5px 0 0;
  background: #081320;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.comparison-table-head.is-fixed {
  position: fixed;
  top: var(--comparison-head-top);
  left: var(--comparison-head-left);
  width: var(--comparison-head-width);
  z-index: 19;
}

.comparison-table-head.is-bottomed {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12;
}

.comparison-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.comparison-table-scroll:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.comparison-table-body {
  display: grid;
}

.comparison-row {
  display: grid;
  grid-template-columns: var(--comparison-label-width) repeat(var(--cols, 6), minmax(130px, 1fr));
}

.comparison-row > * {
  min-height: 52px;
  padding: 10px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  align-content: center;
  text-align: center;
}

.comparison-row b {
  text-align: left;
  color: #d7e2ef;
}

.comparison-row strong {
  color: var(--cyan);
  font-size: 1.05rem;
}

.comparison-row > :first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #081320;
  box-shadow: 1px 0 0 var(--line-soft);
}

.comparison-row.head > :first-child {
  z-index: 3;
}

.comparison-row strong a {
  display: grid;
  gap: 2px;
}

.comparison-row strong a small,
.owner-recommend small,
.published-review small {
  color: var(--muted);
  font-size: 0.66rem;
}

.owner-recommend a,
.published-review a {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 950;
}

.comparison-row strong.recommend {
  position: relative;
}

.comparison-row strong.recommend::before {
  content: "おすすめ!";
  color: var(--magenta);
  font-size: 0.7rem;
}

.comparison-row small,
.stars {
  color: var(--magenta);
}

.status-ok {
  color: var(--cyan);
  font-weight: 900;
}

.status-watch,
.pending-review {
  color: var(--amber);
  font-weight: 900;
}

.owner-recommend {
  color: var(--magenta);
  font-weight: 900;
}

.published-review {
  color: var(--cyan);
  font-weight: 900;
}

.service-tab-panel[hidden] {
  display: none;
}

.campaign-pill {
  border: 1px solid var(--magenta);
  border-radius: 5px;
  color: var(--magenta);
  font-weight: 900;
}

.campaign-pill.amber {
  border-color: var(--amber);
  color: var(--amber);
}

.comparison-row.actions a {
  border: 1px solid var(--cyan);
  border-radius: 5px;
  color: var(--cyan);
  font-weight: 900;
}

.ebook-table .comparison-row {
  grid-template-columns: var(--comparison-label-width) repeat(var(--cols, 6), minmax(130px, 1fr));
}

.ebook-table {
  --comparison-label-width: 170px;
}

.data-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.data-overview article,
.service-catalog article {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.data-overview article {
  padding: 14px;
}

.data-overview b {
  display: block;
  color: var(--cyan);
  font-size: 1.8rem;
  line-height: 1;
}

.data-overview span,
.service-catalog small,
.table-title span,
.coverage-scope {
  color: var(--muted);
  font-weight: 850;
}

.service-catalog {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.9);
}

.service-catalog > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-catalog article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-left: 3px solid var(--amber);
}

.service-catalog article.verified {
  border-left-color: var(--cyan);
}

.service-catalog article b {
  color: var(--text);
}

.service-catalog article span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.diagnosis-tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 18px;
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.9);
}

.diagnosis-tab-panel h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.diagnosis-mini-results {
  display: grid;
  gap: 10px;
}

.diagnosis-mini-results article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.diagnosis-mini-results b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--cyan);
  color: #06131d;
}

.diagnosis-mini-results small {
  color: var(--muted);
  font-weight: 850;
}

.compare-side {
  display: grid;
  gap: 14px;
}

.recommend-radar .radar-chart,
.trend-panel .radar-chart {
  width: 170px;
  height: 170px;
  margin: 10px auto;
  background:
    radial-gradient(circle, transparent 0 18%, rgba(35, 227, 223, 0.25) 18.5% 19%, transparent 19.5% 38%, rgba(35, 227, 223, 0.22) 38.5% 39%, transparent 39.5%),
    conic-gradient(from 0deg, rgba(35, 227, 223, 0.75), rgba(155, 108, 255, 0.6), rgba(255, 191, 53, 0.6), rgba(35, 227, 223, 0.75));
  clip-path: polygon(50% 0, 94% 38%, 74% 100%, 25% 100%, 6% 38%);
  opacity: 0.9;
}

.trend-panel .radar-chart {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(35, 227, 223, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 20%, rgba(35, 227, 223, 0.26) 20.5% 21%, transparent 21.5% 40%, rgba(35, 227, 223, 0.22) 40.5% 41%, transparent 41.5% 60%, rgba(35, 227, 223, 0.18) 60.5% 61%, transparent 61.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(35, 227, 223, 0.2) 50%, transparent 50.5%),
    linear-gradient(30deg, transparent 49.5%, rgba(35, 227, 223, 0.16) 50%, transparent 50.5%),
    linear-gradient(150deg, transparent 49.5%, rgba(35, 227, 223, 0.16) 50%, transparent 50.5%),
    rgba(4, 14, 25, 0.82);
  clip-path: none;
  opacity: 1;
}

.trend-panel .radar-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(35, 227, 223, 0.74), rgba(155, 108, 255, 0.5) 56%, rgba(255, 61, 115, 0.42));
  clip-path: polygon(var(--radar-polygon, 50% 9.5%, 85.1% 29.8%, 85.1% 70.3%, 50% 90.5%, 14.9% 70.3%, 14.9% 29.8%));
  filter: drop-shadow(0 0 16px rgba(35, 227, 223, 0.42));
  opacity: 0.88;
  transition: clip-path 240ms ease, opacity 240ms ease;
}

.trend-panel .radar-chart::before {
  content: "";
  position: absolute;
  inset: 49% 8%;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(28deg);
  opacity: 0.55;
}

.score-card,
.ranking-row,
.campaign-side div,
.diagnosis-cta {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.ranking-row {
  grid-template-columns: 28px 1fr auto;
  align-items: center;
}

.ranking-row b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--amber);
  color: #06131d;
}

.campaign-side {
  border-color: rgba(255, 191, 53, 0.55) !important;
}

.campaign-side p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.campaign-side strong {
  color: var(--cyan);
}

.campaign-side-link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid var(--amber);
  border-radius: 7px;
  color: var(--amber);
  font-weight: 950;
}

.diagnosis-cta {
  color: var(--violet);
  font-weight: 950;
}

.campaign-page {
  padding: 14px 28px 34px;
}

.campaign-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}

.campaign-hero__copy {
  min-width: 0;
  padding: 24px 0;
}

.campaign-hero h1 {
  max-width: 780px;
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
  line-height: 0.96;
}

.campaign-hero__copy > p:last-of-type {
  max-width: 680px;
  color: #d7e2ef;
  font-weight: 850;
}

.campaign-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.campaign-hero__actions a,
.campaign-guide a,
.campaign-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-weight: 950;
}

.campaign-hero__actions a:first-child,
.campaign-card__actions a:first-child {
  border-color: var(--amber);
  color: var(--amber);
}

.campaign-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.campaign-stats article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.9);
}

.campaign-stats b {
  display: block;
  color: var(--amber);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.campaign-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
}

.campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.campaign-list {
  min-width: 0;
}

.campaign-card-grid {
  display: grid;
  gap: 14px;
}

.campaign-card,
.campaign-guide > section {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.9);
}

.campaign-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.campaign-card[hidden],
.campaign-hero-card[hidden] {
  display: none;
}

.campaign-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.campaign-card__head span,
.campaign-card__head small,
.campaign-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(35, 227, 223, 0.45);
  border-radius: 6px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
}

.campaign-card__head small {
  border-color: rgba(255, 191, 53, 0.55);
  color: var(--amber);
}

.campaign-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.32rem, 2.4vw, 1.9rem);
  line-height: 1.18;
}

.campaign-card p,
.campaign-guide p {
  margin: 0;
  color: #d7e2ef;
  font-weight: 820;
}

.campaign-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.campaign-card dl div {
  min-height: 72px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.campaign-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.campaign-card dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.campaign-card__tags,
.campaign-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.campaign-card__tags span {
  border-color: rgba(155, 108, 255, 0.55);
  color: var(--violet);
}

.campaign-guide {
  display: grid;
  gap: 14px;
}

.campaign-guide > section {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.campaign-guide h2 {
  margin: 0;
  font-size: 1.1rem;
}

.campaign-guide a {
  border-color: var(--violet);
  color: var(--violet);
}

.campaign-disclosure {
  border-color: rgba(255, 191, 53, 0.55) !important;
}

.campaign-hero--conversion {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  align-items: center;
}

.campaign-hero-picks {
  display: grid;
  gap: 12px;
}

.campaign-hero-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(35, 227, 223, 0.34);
  border-radius: 7px;
  background: rgba(8, 19, 32, 0.92);
}

.campaign-hero-card.primary {
  border-color: rgba(255, 191, 53, 0.74);
  background:
    linear-gradient(135deg, rgba(255, 191, 53, 0.11), rgba(35, 227, 223, 0.06)),
    rgba(8, 19, 32, 0.94);
}

.campaign-hero-card span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
}

.campaign-hero-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

.campaign-hero-card strong {
  color: var(--cyan);
  font-size: 1.06rem;
}

.campaign-hero-card p {
  margin: 0;
  color: #d7e2ef;
  font-weight: 820;
}

.campaign-hero-card a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--amber);
  border-radius: 7px;
  color: var(--amber);
  font-weight: 950;
}

.campaign-choice-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.campaign-choice-strip article {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.campaign-choice-strip b,
.campaign-choice-strip span {
  display: block;
}

.campaign-choice-strip b {
  color: var(--cyan);
  font-size: 1.02rem;
}

.campaign-choice-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 850;
}

.campaign-layout--conversion {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.campaign-card-grid--picks {
  gap: 16px;
}

.campaign-card--featured {
  border-color: rgba(255, 191, 53, 0.74);
}

.campaign-card__title {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.campaign-card__title > b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: var(--amber);
  color: #06131d;
  font-size: 1.18rem;
}

.campaign-card__title p {
  margin-top: 6px;
}

.campaign-caution {
  padding: 12px;
  border: 1px solid rgba(255, 191, 53, 0.35);
  border-radius: 7px;
  background: rgba(255, 191, 53, 0.075);
  color: #f6e7c0 !important;
  font-size: 0.9rem;
}

.campaign-guide--sticky {
  position: sticky;
  top: 86px;
}

.diagnosis-page {
  padding: 14px 28px 28px;
}

.diagnosis-title {
  position: relative;
  margin-bottom: 20px;
}

.diagnosis-title h1 {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 760px;
  font-size: clamp(2.35rem, 3.4vw, 3.35rem);
}

.diagnosis-title h1 em {
  min-width: 0;
  font-style: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.diagnosis-tip {
  position: absolute;
  right: 360px;
  top: 58px;
  display: grid;
  gap: 2px;
  min-width: 280px;
  padding: 16px 20px;
  border: 1px solid rgba(155, 108, 255, 0.6);
  border-radius: 7px;
  background: rgba(155, 108, 255, 0.1);
  color: #d7e2ef;
}

.diagnosis-tip strong {
  color: var(--violet);
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
}

.diagnosis-main,
.diagnosis-side > section,
.result-preview {
  padding: 22px;
}

.step-head {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 22px;
  align-items: center;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  text-align: center;
}

.stepper span {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.stepper span::before {
  content: "";
  width: 100%;
  height: 2px;
  background: var(--line);
  order: 1;
}

.stepper small {
  font-size: 0.72rem;
}

.stepper .active {
  color: var(--cyan);
}

.priority-card {
  display: grid;
  grid-template-columns: 1fr repeat(3, 150px);
  gap: 12px;
  align-items: center;
  min-height: 84px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.priority-card > div {
  display: grid;
  grid-template-columns: 62px 1fr;
  column-gap: 14px;
}

.priority-card b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.6rem;
}

.priority-card h3,
.priority-card p {
  margin: 0;
}

.priority-card p {
  color: var(--muted);
  font-size: 0.84rem;
}

.priority-card button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
  color: #d7e2ef;
  font-weight: 900;
}

.priority-card button.active {
  background: rgba(35, 227, 223, 0.12);
  color: var(--cyan);
}

.priority-card.magenta { border-color: var(--magenta); }
.priority-card.magenta h3, .priority-card.magenta b { color: var(--magenta); background: rgba(255, 61, 115, 0.14); }
.priority-card.cyan { border-color: var(--cyan); }
.priority-card.cyan h3, .priority-card.cyan b { color: var(--cyan); background: rgba(35, 227, 223, 0.14); }
.priority-card.amber { border-color: var(--amber); }
.priority-card.amber h3, .priority-card.amber b { color: var(--amber); background: rgba(255, 191, 53, 0.14); }
.priority-card.violet { border-color: var(--violet); }
.priority-card.violet h3, .priority-card.violet b { color: var(--violet); background: rgba(155, 108, 255, 0.14); }

.diagnosis-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
}

.diagnosis-actions button,
.preview-card a {
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: #d7e2ef;
  font-weight: 900;
}

.diagnosis-actions .primary {
  border: 0;
  background: var(--cyan);
  color: #06131d;
}

.diagnosis-hints {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(35, 227, 223, 0.28);
  border-radius: 7px;
  background: rgba(35, 227, 223, 0.055);
}

.diagnosis-hints h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.diagnosis-hints > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.diagnosis-hints article {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.diagnosis-hints b {
  color: var(--cyan);
}

.diagnosis-hints p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.75;
}

.diagnosis-side {
  display: grid;
  gap: 16px;
}

.trend-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.trend-values span,
.current-panel p {
  color: var(--muted);
  font-weight: 850;
}

.trend-values b,
.current-panel b {
  color: var(--cyan);
}

.owner-comment {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
}

.owner-comment p {
  grid-column: 2;
  margin: 0;
}

.result-preview {
  margin-top: 18px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.preview-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.preview-card b {
  color: var(--magenta);
  font-size: 2.2rem;
}

.preview-card .match-reason {
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 900;
}

.calendar-page {
  padding: 20px 0 34px;
}

.calendar-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
  padding: 18px 50px 16px;
}

.calendar-hero h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: clamp(2.35rem, 4.1vw, 4.65rem);
  line-height: 1.08;
}

.calendar-hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.calendar-hero p {
  max-width: 780px;
  color: var(--muted);
  font-weight: 800;
}

.calendar-signal {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 222px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(35, 227, 223, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 44%, rgba(35, 227, 223, 0.18), transparent 0 18%, rgba(35, 227, 223, 0.18) 19% 20%, transparent 21% 34%, rgba(244, 247, 251, 0.16) 35% 36%, transparent 37%),
    conic-gradient(from 140deg, transparent 0 62%, rgba(35, 227, 223, 0.28) 63% 70%, transparent 71%),
    linear-gradient(145deg, rgba(17, 35, 54, 0.95), rgba(8, 17, 30, 0.96));
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.35);
}

.calendar-signal::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(244, 247, 251, 0.16);
  border-radius: 50%;
}

.calendar-signal span,
.calendar-signal strong,
.calendar-signal p {
  position: relative;
}

.calendar-signal span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.calendar-signal strong {
  font-size: 2.35rem;
  line-height: 1.15;
}

.calendar-signal p {
  margin: 6px 0 0;
  color: #d5e2ef;
  font-weight: 900;
}

.calendar-console,
.calendar-week-strip,
.calendar-layout,
.calendar-page > .verified-note {
  margin-left: 50px;
  margin-right: 50px;
}

.calendar-console {
  display: grid;
  grid-template-columns: auto minmax(420px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 19, 32, 0.9);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
}

.calendar-mode-switch,
.calendar-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-mode-switch button,
.calendar-filter-tabs button,
.calendar-service-selector label {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: #dbe6f2;
  font-weight: 1000;
}

.calendar-mode-switch button,
.calendar-filter-tabs button {
  padding: 0 16px;
}

.calendar-mode-switch button.active,
.calendar-filter-tabs button.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(35, 227, 223, 0.12);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.calendar-filter-tabs button[data-calendar-filter="watchlist"] {
  border-color: rgba(255, 184, 77, 0.5);
  color: var(--amber);
}

.calendar-filter-tabs button[data-calendar-filter="watchlist"].active {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(255, 184, 77, 0.12);
  box-shadow: inset 0 -2px 0 var(--amber);
}

.calendar-service-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.calendar-service-selector legend {
  width: 100%;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 1000;
}

.calendar-service-selector label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  cursor: pointer;
}

.calendar-service-selector input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calendar-service-selector label:not(.service-check) span {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid #8198b3;
  border-radius: 4px;
}

.calendar-service-selector label:not(.service-check) input:checked + span {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 15px rgba(35, 227, 223, 0.45);
}

.calendar-service-selector label:not(.service-check) input:checked + span::before {
  content: "";
  width: 7px;
  height: 4px;
  border: solid #06131d;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translateY(-1px);
}

.calendar-week-strip {
  display: flex;
  gap: 10px;
  padding: 16px 0;
  overflow-x: auto;
}

.calendar-week-strip button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-width: 150px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(15, 28, 44, 0.86);
  color: var(--text);
  font-weight: 1000;
}

.calendar-week-strip button.active {
  border-color: var(--magenta);
  background: rgba(255, 61, 115, 0.13);
}

.calendar-week-strip strong {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(35, 227, 223, 0.14);
  color: var(--cyan);
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 314px;
  gap: 16px;
}

.calendar-board,
.calendar-side-panel > section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 19, 32, 0.88);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
}

.calendar-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 0;
  overflow: hidden;
}

.calendar-day-column {
  min-width: 0;
  border-right: 1px solid var(--line-soft);
}

.calendar-day-column:last-child {
  border-right: 0;
}

.calendar-day-column > header {
  position: sticky;
  top: 76px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 19, 32, 0.96);
}

.calendar-day-column header span {
  color: var(--cyan);
  font-size: 1.08rem;
  font-weight: 1000;
}

.calendar-day-column header b {
  color: var(--muted);
  font-size: 0.82rem;
}

.calendar-card-stack {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.calendar-stream-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  min-height: 198px;
  padding: 14px;
  border: 1px solid rgba(80, 115, 150, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 35, 54, 0.96), rgba(8, 18, 31, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 15px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.calendar-stream-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 8px 0 0 8px;
  background: var(--cyan);
}

.calendar-stream-card[data-state="owned"]::before {
  background: var(--green);
}

.calendar-stream-card[data-state="miss"]::before {
  background: var(--magenta);
}

.stream-time {
  display: grid;
  align-content: start;
  gap: 3px;
  padding-top: 2px;
}

.stream-time strong {
  color: var(--cyan);
  font-size: 1.62rem;
  line-height: 1;
}

.stream-time span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.stream-body {
  min-width: 0;
}

.stream-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 8px;
}

.stream-lamp {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(35, 227, 223, 0.8);
}

.stream-card-head p,
.stream-card-head b {
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 1000;
}

.stream-card-head p {
  border: 1px solid rgba(35, 227, 223, 0.5);
  color: var(--cyan);
}

.stream-card-head b {
  border: 1px solid rgba(255, 61, 115, 0.48);
  color: var(--magenta);
}

.calendar-stream-card h2 {
  margin: 0 0 5px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.calendar-stream-card p {
  margin: 0;
  color: #bdcadb;
  font-size: 0.86rem;
  font-weight: 800;
}

.stream-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.stream-tags span {
  padding: 3px 7px;
  border: 1px solid rgba(255, 191, 53, 0.32);
  border-radius: 4px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
}

.calendar-stream-card footer {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.calendar-stream-card footer span {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 1000;
}

.calendar-stream-card footer a {
  justify-self: start;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid rgba(35, 227, 223, 0.7);
  border-radius: 5px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 1000;
}

.calendar-side-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.calendar-side-panel > section {
  padding: 18px;
}

.calendar-side-panel h2 {
  margin: 0 0 14px;
  font-size: 1.18rem;
}

.calendar-stats {
  display: grid;
  gap: 10px;
}

.calendar-stats p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.calendar-stats strong {
  color: var(--cyan);
  font-size: 1.9rem;
  line-height: 1;
}

.calendar-stats span {
  color: var(--muted);
  font-weight: 900;
}

.calendar-note {
  margin: 14px 0 0;
  color: #d7e3ef;
  font-weight: 850;
}

.calendar-hints {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-hints li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  color: #d7e3ef;
  font-weight: 850;
}

.calendar-hints span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 61, 115, 0.14);
  color: var(--magenta);
  font-size: 0.78rem;
  font-weight: 1000;
}

.calendar-recommend {
  border-color: rgba(255, 191, 53, 0.48) !important;
  background: linear-gradient(145deg, rgba(255, 191, 53, 0.12), rgba(8, 19, 32, 0.9)) !important;
}

.calendar-recommend strong {
  color: var(--amber);
  font-size: 1.08rem;
}

.calendar-recommend p {
  color: #d7e3ef;
  font-weight: 850;
}

.calendar-recommend a {
  color: var(--cyan);
  font-weight: 1000;
}

.calendar-mock {
  padding: 18px 0 30px;
}

.calendar-mock .calendar-breadcrumb {
  margin: 0 0 24px;
  color: #9fb0c7;
  font-size: 0.92rem;
  font-weight: 900;
}

.calendar-mock .calendar-hero {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(560px, 0.98fr);
  gap: 30px;
  align-items: center;
  padding: 0 0 18px;
}

.calendar-title-block {
  display: flex;
  align-items: center;
  gap: 26px;
}

.calendar-title-icon {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background:
    linear-gradient(var(--cyan), var(--cyan)) 50% 30% / 31px 3px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 50% 45% / 31px 3px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 50% 60% / 31px 3px no-repeat,
    linear-gradient(90deg, transparent 0 30%, var(--cyan) 30% 34%, transparent 34% 65%, var(--cyan) 65% 69%, transparent 69%),
    rgba(35, 227, 223, 0.08);
  box-shadow: 0 0 30px rgba(35, 227, 223, 0.22);
}

.calendar-title-icon::before,
.calendar-title-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 12px;
  border: 3px solid var(--cyan);
  border-radius: 5px;
}

.calendar-title-icon::before {
  top: 18px;
  border-bottom: 0;
}

.calendar-title-icon::after {
  top: 30px;
  bottom: 16px;
  height: auto;
}

.calendar-mock .calendar-title-block h1 {
  margin: 0 0 2px;
  font-size: clamp(3.1rem, 4.7vw, 4.55rem);
  line-height: 1.02;
  font-weight: 1000;
}

.calendar-title-block p {
  margin: 0;
  color: #c3cedc;
  font-size: 1.05rem;
  font-weight: 900;
}

.calendar-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 104px;
  overflow: hidden;
  border: 1px solid rgba(67, 103, 143, 0.55);
  border-radius: 12px;
  background: rgba(8, 18, 32, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.calendar-stats-strip > div {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 18px 24px;
  border-left: 1px solid rgba(67, 103, 143, 0.42);
}

.calendar-stats-strip > div:first-child {
  border-left: 0;
}

.calendar-stats-strip span {
  color: #9fb0c7;
  font-size: 0.85rem;
  font-weight: 1000;
}

.calendar-stats-strip strong {
  color: var(--cyan);
  font-size: 2.8rem;
  line-height: 1;
}

.calendar-stats-strip b {
  color: #c6d2e2;
  font-size: 0.88rem;
  font-weight: 1000;
}

.calendar-stats-strip .best-service p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
}

.calendar-stats-strip .best-service i {
  width: 38px;
  height: 38px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 22%, rgba(35, 227, 223, 0.75) 23% 26%, transparent 27% 45%, rgba(35, 227, 223, 0.45) 46% 49%, transparent 50%),
    linear-gradient(135deg, transparent 45%, var(--magenta) 46% 53%, transparent 54%);
  box-shadow: 0 0 18px rgba(35, 227, 223, 0.34);
}

.calendar-stats-strip .best-service strong {
  font-size: 1.36rem;
}

.calendar-mock .calendar-console {
  display: grid;
  grid-template-columns: minmax(620px, 1.2fr) minmax(510px, 0.8fr);
  gap: 24px;
  align-items: end;
  margin: 0 0 12px;
  padding: 15px 16px;
  border: 1px solid rgba(67, 103, 143, 0.55);
  border-radius: 8px;
  background: rgba(10, 22, 38, 0.83);
}

.calendar-mock .calendar-service-selector {
  display: grid;
  grid-template-columns: repeat(6, minmax(94px, 1fr));
  gap: 10px;
}

.calendar-mock .calendar-service-selector legend {
  grid-column: 1 / -1;
  display: flex;
  gap: 7px;
  align-items: center;
  width: auto;
  margin: 0 0 2px;
  color: #edf5ff;
  font-size: 0.92rem;
}

.calendar-mock .calendar-service-selector legend span {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid #91a4bb;
  border-radius: 50%;
  color: #91a4bb;
  font-size: 0.64rem;
}

.calendar-mock .calendar-service-selector label {
  min-height: 38px;
  padding: 0 12px;
  border-color: rgba(35, 227, 223, 0.72);
  border-radius: 5px;
  background: rgba(35, 227, 223, 0.08);
  color: var(--cyan);
  font-size: 0.9rem;
}

.calendar-mock .calendar-service-selector input:not(:checked) + span {
  background: rgba(105, 124, 148, 0.16);
}

.calendar-mock .calendar-service-selector label:has(input:not(:checked)) {
  border-color: rgba(83, 105, 133, 0.58);
  background: rgba(255, 255, 255, 0.035);
  color: #b3c0d1;
}

.calendar-select-groups {
  display: grid;
  grid-template-columns: 1fr 150px 150px;
  gap: 28px;
  padding-left: 24px;
  border-left: 1px solid rgba(67, 103, 143, 0.42);
}

.calendar-select-groups span {
  display: block;
  margin-bottom: 8px;
  color: #9fb0c7;
  font-size: 0.82rem;
  font-weight: 1000;
}

.calendar-segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(67, 103, 143, 0.6);
  border-radius: 6px;
}

.calendar-segment button,
.calendar-select-groups select {
  min-height: 38px;
  border: 0;
  background: rgba(255, 255, 255, 0.045);
  color: #dce7f3;
  font-weight: 900;
}

.calendar-segment button {
  border-left: 1px solid rgba(67, 103, 143, 0.48);
}

.calendar-segment button:first-child {
  border-left: 0;
}

.calendar-segment button.active {
  color: var(--cyan);
  background: rgba(35, 227, 223, 0.12);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.calendar-select-groups select {
  width: 100%;
  padding: 0 36px 0 14px;
  border: 1px solid rgba(67, 103, 143, 0.6);
  border-radius: 6px;
}

.calendar-mock .calendar-filter-tabs {
  display: none;
}

.calendar-mock .calendar-week-strip {
  display: grid;
  grid-template-columns: 76px 38px repeat(7, minmax(104px, 1fr)) 38px;
  gap: 0;
  margin: 0 0 10px;
  padding: 0;
  overflow: visible;
}

.calendar-mock .calendar-week-strip button {
  min-width: 0;
  min-height: 70px;
  border-radius: 0;
  border-color: rgba(67, 103, 143, 0.55);
  background: rgba(18, 33, 52, 0.82);
  text-align: center;
}

.calendar-week-strip .week-now {
  border-radius: 8px;
}

.calendar-week-strip .week-arrow {
  margin: 16px 12px 16px 18px;
  min-height: 38px !important;
  border-radius: 50% !important;
  color: #b6c5d7;
}

.calendar-week-strip .week-arrow:last-child {
  margin: 16px 0 16px 18px;
}

.calendar-mock .calendar-week-strip button.active {
  border-color: var(--cyan);
  background: rgba(35, 227, 223, 0.12);
}

.calendar-mock .calendar-week-strip strong {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 1.08rem;
}

.calendar-mock .calendar-week-strip span {
  color: #dce7f3;
  font-weight: 1000;
}

.calendar-mock .calendar-week-strip b,
.calendar-mock .calendar-week-strip .active strong {
  color: var(--cyan);
}

.calendar-mock .calendar-week-strip .holiday strong,
.calendar-mock .calendar-week-strip .holiday span {
  color: var(--magenta);
}

.calendar-mock .calendar-layout {
  display: grid;
  grid-template-columns: minmax(880px, 1fr) 320px;
  gap: 14px;
  margin: 0;
}

.calendar-mock .calendar-board {
  display: block;
  overflow: hidden;
  border-color: rgba(67, 103, 143, 0.55);
  border-radius: 0;
  background: rgba(7, 18, 31, 0.78);
}

.calendar-grid {
  position: relative;
  display: grid;
  grid-template-columns: 88px repeat(7, minmax(112px, 1fr));
  grid-template-rows: 54px repeat(9, 74px);
  min-height: 720px;
  border-bottom: 1px solid rgba(67, 103, 143, 0.55);
}

.time-head,
.day-head {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(67, 103, 143, 0.55);
  border-bottom: 1px solid rgba(67, 103, 143, 0.55);
  background: rgba(15, 31, 49, 0.88);
  color: #dce7f3;
  font-weight: 1000;
}

.day-head {
  gap: 2px;
}

.day-head strong,
.day-head span {
  line-height: 1;
}

.day-head.active {
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.day-head.holiday {
  color: var(--magenta);
}

.time-axis {
  z-index: 2;
  display: grid;
  grid-column: 1;
  grid-row: 2 / -1;
  grid-template-rows: repeat(9, 74px);
  border-right: 1px solid rgba(67, 103, 143, 0.55);
  background: rgba(10, 22, 38, 0.88);
}

.time-axis span {
  display: grid;
  place-items: start center;
  padding-top: 12px;
  border-bottom: 1px solid rgba(67, 103, 143, 0.38);
  color: #dce7f3;
  font-weight: 1000;
}

.grid-lines {
  display: grid;
  grid-column: 2 / -1;
  grid-row: 2 / -1;
  grid-template-rows: repeat(9, 74px);
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 12px);
}

.grid-lines span {
  border-bottom: 1px solid rgba(67, 103, 143, 0.34);
}

.grid-lines::before {
  content: "";
  position: absolute;
  inset: 54px 0 0 88px;
  background: repeating-linear-gradient(90deg, transparent 0 calc((100% / 7) - 1px), rgba(67, 103, 143, 0.52) calc((100% / 7) - 1px) calc(100% / 7));
}

.calendar-timetable-card {
  position: relative;
  z-index: 3;
  grid-column: var(--day);
  grid-row: var(--row);
  align-self: start;
  justify-self: start;
  width: calc(var(--cluster-width, 100%) - 8px);
  min-width: 0;
  min-height: 58px;
  margin: 7px 4px 7px calc(var(--cluster-left, 0%) + 4px);
  padding: 9px 10px 8px;
  overflow: hidden;
  border: 1px solid rgba(72, 105, 139, 0.78);
  border-left: 2px solid var(--cyan);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(28, 44, 64, 0.96), rgba(11, 24, 40, 0.98));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  color: inherit;
  text-decoration: none;
}

.calendar-timetable-card:focus-visible,
.single-schedule-card:focus-visible,
.month-chip:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.calendar-timetable-card[data-match="miss"] {
  opacity: 0.52;
  filter: saturate(0.72);
}

.calendar-timetable-card h2 {
  margin: 0 0 4px;
  color: #ecf4ff;
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-timetable-card p {
  margin: 0;
  color: #a9bbcf;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.calendar-timetable-card p span {
  color: #c9d7e8;
}

.calendar-timetable-card div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-top: 5px;
}

.calendar-timetable-card b {
  padding: 1px 6px 2px;
  border-radius: 3px;
  color: #05111d;
  font-size: 0.7rem;
  font-weight: 1000;
}

.calendar-timetable-card .card-check {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--cyan);
  color: #06131d;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 1000;
}

.tone-fast {
  border-left-color: var(--magenta);
}

.tone-fast b {
  background: var(--magenta);
  color: #fff;
}

.tone-exclusive {
  border-left-color: var(--amber);
}

.tone-exclusive b {
  background: var(--amber);
}

.tone-free {
  border-left-color: var(--cyan);
}

.tone-free b {
  background: var(--cyan);
}

.tone-update {
  border-left-color: var(--violet);
}

.tone-update b {
  background: var(--violet);
  color: #fff;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  min-height: 50px;
  padding: 10px 14px;
  border-top: 1px solid rgba(67, 103, 143, 0.55);
  background: rgba(10, 22, 38, 0.84);
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce7f3;
  font-weight: 1000;
}

.calendar-legend span::before {
  content: "";
  width: 32px;
  height: 22px;
  border-radius: 3px;
}

.calendar-legend .fast::before {
  background: var(--magenta);
}

.calendar-legend .exclusive::before {
  background: var(--amber);
}

.calendar-legend .free::before {
  background: var(--cyan);
}

.calendar-legend .update::before {
  background: var(--violet);
}

.calendar-legend small {
  color: #9fb0c7;
  font-weight: 900;
}

.calendar-mock .calendar-side-panel {
  display: grid;
  gap: 12px;
}

.calendar-mock .side-card {
  padding: 16px;
  border: 1px solid rgba(67, 103, 143, 0.55);
  border-radius: 8px;
  background: rgba(10, 22, 38, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.side-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(67, 103, 143, 0.4);
}

.side-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.side-card header span {
  color: #9fb0c7;
  font-size: 0.76rem;
  font-weight: 900;
}

.today-list {
  display: grid;
  gap: 0;
}

.today-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid rgba(67, 103, 143, 0.28);
}

.today-list time {
  color: #c8d6e7;
  font-size: 0.82rem;
  font-weight: 1000;
}

.today-list h3,
.trend-list h3 {
  margin: 0 0 2px;
  font-size: 0.86rem;
  line-height: 1.25;
}

.today-list p,
.trend-list p {
  margin: 0;
  color: #a9bbcf;
  font-size: 0.76rem;
  font-weight: 900;
}

.today-list b,
.trend-list b {
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--cyan);
  color: #06131d;
  font-size: 0.72rem;
}

.today-list .tone-fast b,
.trend-list b {
  background: var(--magenta);
  color: #fff;
}

.today-card > a,
.trend-card > a,
.owned-card button {
  display: grid;
  place-items: center;
  min-height: 40px;
  margin-top: 12px;
  border: 1px solid rgba(67, 103, 143, 0.72);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #e7f0fb;
  font-weight: 1000;
}

.coverage-row {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 16px;
  align-items: center;
}

.coverage-row p {
  margin: 0;
}

.coverage-row strong {
  color: var(--cyan);
  font-size: 2.4rem;
  line-height: 1;
}

.coverage-row span {
  color: #c8d6e7;
  font-weight: 900;
}

.coverage-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) var(--coverage, 270deg), rgba(67, 103, 143, 0.42) 0);
}

.coverage-ring b {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0a1626;
  color: var(--cyan);
}

.trend-list {
  display: grid;
  gap: 8px;
}

.trend-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(67, 103, 143, 0.28);
}

.trend-thumb {
  display: block;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(130, 158, 190, 0.55);
  border-radius: 5px;
  background-image: url("/assets/calendar-trending-strip.png");
  background-size: 400% 100%;
  background-position: 0 50%;
}

.trend-thumb.thumb-b {
  background-position: 33.333% 50%;
}

.trend-thumb.thumb-c {
  background-position: 66.666% 50%;
}

.trend-list small {
  color: var(--magenta);
  font-size: 0.75rem;
  font-weight: 900;
}

.trend-list i {
  color: #9fb0c7;
  font-style: normal;
  font-weight: 1000;
}

.calendar-footnote {
  margin: 18px 0 0;
  color: #9fb0c7;
  font-size: 0.9rem;
  font-weight: 850;
}

.calendar-main-views {
  min-width: 0;
}

.calendar-view[hidden] {
  display: none !important;
}

.calendar-mock[data-current-view="today"] .calendar-layout,
.calendar-mock[data-current-view="month"] .calendar-layout {
  align-items: start;
}

.calendar-mock[data-current-view="today"] .calendar-stats-strip,
.calendar-mock[data-current-view="month"] .calendar-stats-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calendar-mock[data-current-view="today"] .calendar-stats-strip > div:nth-child(2),
.calendar-mock[data-current-view="month"] .calendar-stats-strip > div:nth-child(2) {
  display: none;
}

.calendar-segment button[data-calendar-view] {
  cursor: pointer;
}

.day-navigator,
.month-navigator {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 112px;
  gap: 12px;
  align-items: center;
  margin: 0 0 10px;
}

.day-navigator button,
.day-navigator strong,
.month-navigator button,
.month-navigator strong {
  min-height: 48px;
  border: 1px solid rgba(67, 103, 143, 0.64);
  border-radius: 7px;
  background: rgba(18, 33, 52, 0.82);
  color: #e4eefb;
  font-weight: 1000;
}

.day-navigator strong,
.month-navigator strong {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 1.5rem;
}

.day-navigator strong span {
  color: var(--cyan);
  font-size: 1rem;
}

.day-navigator strong b,
.month-navigator strong {
  color: var(--cyan);
}

.calendar-day-schedule {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(67, 103, 143, 0.55);
  border-radius: 8px;
  background: rgba(7, 18, 31, 0.78);
}

.single-time-axis {
  display: grid;
  grid-template-rows: repeat(9, 1fr);
  border-right: 1px solid rgba(67, 103, 143, 0.55);
  background: rgba(10, 22, 38, 0.9);
}

.single-time-axis span {
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(67, 103, 143, 0.34);
  color: #dce7f3;
  font-weight: 1000;
}

.single-day-list {
  position: relative;
  display: grid;
  align-content: start;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 14px);
}

.single-day-list > header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(67, 103, 143, 0.55);
  background: rgba(15, 31, 49, 0.86);
}

.single-day-list > header span {
  color: #edf5ff;
  font-weight: 1000;
}

.single-day-list > header b {
  padding: 3px 10px;
  border: 1px solid rgba(255, 61, 115, 0.55);
  border-radius: 4px;
  color: var(--magenta);
  font-size: 0.78rem;
}

.day-part {
  display: grid;
  gap: 6px;
  padding: 10px 18px 12px;
  border-bottom: 1px solid rgba(67, 103, 143, 0.34);
}

.day-part h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 2px;
  color: #dce7f3;
  font-size: 0.98rem;
}

.day-part h2 span {
  color: var(--cyan);
}

.day-part[hidden],
.day-empty-state[hidden] {
  display: none !important;
}

.day-empty-state {
  margin: 0;
  padding: 42px 18px;
  border-bottom: 1px solid rgba(67, 103, 143, 0.34);
  color: #a9bbcf;
  font-size: 0.98rem;
  font-weight: 900;
  text-align: center;
}

.single-schedule-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 8px 12px;
  border: 1px solid rgba(67, 103, 143, 0.64);
  border-left: 3px solid var(--cyan);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(21, 36, 55, 0.95), rgba(10, 22, 38, 0.98));
  color: inherit;
  text-decoration: none;
}

.single-schedule-card[data-match="miss"] {
  opacity: 0.52;
  filter: saturate(0.72);
}

.single-thumb {
  display: block;
  width: 96px;
  height: 52px;
  border: 1px solid rgba(130, 158, 190, 0.55);
  border-radius: 5px;
  background-image: url("/assets/calendar-view-thumbnails.png");
  background-size: 600% 100%;
  background-position: 0 50%;
}

.single-thumb.thumb-b,
.trend-thumb.thumb-b {
  background-position: 20% 50%;
}

.single-thumb.thumb-c,
.trend-thumb.thumb-c {
  background-position: 40% 50%;
}

.single-thumb.thumb-d,
.trend-thumb.thumb-d {
  background-position: 60% 50%;
}

.single-thumb.thumb-e,
.trend-thumb.thumb-e {
  background-position: 80% 50%;
}

.single-thumb.thumb-f,
.trend-thumb.thumb-f {
  background-position: 100% 50%;
}

.single-schedule-card h3 {
  display: inline;
  margin: 0 10px 0 0;
  color: #edf5ff;
  font-size: 1.04rem;
}

.single-schedule-card p {
  display: inline;
  margin: 0;
  color: #a9bbcf;
  font-weight: 900;
}

.single-schedule-card time {
  margin-right: 8px;
  color: #cbd8e8;
}

.single-schedule-card b,
.single-schedule-card i {
  display: inline-block;
  margin: 4px 8px 0 0;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 1000;
}

.single-schedule-card b {
  background: var(--cyan);
  color: #06131d;
}

.single-schedule-card i {
  background: rgba(35, 227, 223, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(35, 227, 223, 0.45);
}

.single-schedule-card.tone-fast,
.calendar-timetable-card.tone-fast {
  border-left-color: var(--magenta);
}

.single-schedule-card.tone-fast b {
  background: var(--magenta);
  color: #fff;
}

.single-schedule-card.tone-exclusive b {
  background: var(--amber);
  color: #06131d;
}

.single-schedule-card.tone-update b {
  background: var(--violet);
  color: #fff;
}

.month-navigator {
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  margin-bottom: 12px;
}

.month-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  border: 1px solid rgba(67, 103, 143, 0.55);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(7, 18, 31, 0.78);
}

.month-weekday,
.month-cell {
  min-width: 0;
  border-right: 1px solid rgba(67, 103, 143, 0.46);
  border-bottom: 1px solid rgba(67, 103, 143, 0.46);
}

.month-weekday:nth-child(7n),
.month-cell:nth-child(7n) {
  border-right: 0;
}

.month-weekday {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: #dce7f3;
  font-weight: 1000;
  background: rgba(15, 31, 49, 0.88);
}

.month-weekday.holiday,
.month-cell.holiday > strong {
  color: var(--magenta);
}

.month-weekday.saturday,
.month-cell.saturday > strong {
  color: #49b7ff;
}

.month-cell {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 118px;
  padding: 8px 8px 7px;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(15, 28, 44, 0.9), rgba(7, 18, 31, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 12px);
  color: #edf5ff;
  cursor: pointer;
}

.month-cell.outside {
  opacity: 0.58;
}

.month-cell.today,
.month-cell.active {
  box-shadow: inset 0 0 0 1px var(--cyan);
  background: rgba(35, 227, 223, 0.08);
}

.month-cell strong {
  color: #edf5ff;
  font-size: 0.94rem;
}

.month-cell div {
  display: grid;
  gap: 5px;
}

.month-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-height: 34px;
  padding: 4px 6px;
  border: 1px solid rgba(67, 103, 143, 0.6);
  border-left: 2px solid var(--cyan);
  border-radius: 5px;
  background: rgba(12, 25, 42, 0.92);
  color: inherit;
  text-decoration: none;
}

.month-chip[data-match="miss"] {
  opacity: 0.46;
}

.month-chip b {
  min-width: 0;
  color: #edf5ff;
  font-size: 0.72rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.month-chip i {
  padding: 1px 5px 2px;
  border-radius: 3px;
  background: var(--cyan);
  color: #06131d;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 1000;
}

.month-chip.tone-fast {
  border-left-color: var(--magenta);
}

.month-chip.tone-fast i {
  background: var(--magenta);
  color: #fff;
}

.month-chip.tone-exclusive {
  border-left-color: var(--amber);
}

.month-chip.tone-exclusive i {
  background: var(--amber);
}

.month-chip.tone-update {
  border-left-color: var(--violet);
}

.month-chip.tone-update i {
  background: var(--violet);
  color: #fff;
}

.month-cell em {
  color: #a9bbcf;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.month-empty-state[hidden] {
  display: none !important;
}

.month-empty-state {
  margin: 12px 0 0;
  padding: 24px 18px;
  border: 1px solid rgba(67, 103, 143, 0.5);
  border-radius: 7px;
  background: rgba(7, 18, 31, 0.86);
  color: #a9bbcf;
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
}

.calendar-watchlist-empty[hidden] {
  display: none !important;
}

.calendar-watchlist-empty {
  margin: 14px 0 0;
  padding: 24px;
  border: 1px solid rgba(255, 184, 77, 0.5);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 184, 77, 0.1), transparent 44%),
    rgba(7, 16, 28, 0.9);
}

.calendar-watchlist-empty h2 {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 1.08rem;
}

.calendar-watchlist-empty p {
  margin: 0 0 14px;
  color: #c8d5e4;
  font-weight: 800;
}

.calendar-watchlist-empty a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--cyan);
  border-radius: 5px;
  color: var(--cyan);
  font-weight: 950;
}

.calendar-timetable-card[hidden],
.single-schedule-card[hidden],
.month-chip[hidden] {
  display: none !important;
}

.trend-thumb {
  background-image: url("/assets/calendar-view-thumbnails.png");
  background-size: 600% 100%;
}

.ad-policy-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 840px;
  margin: 10px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(35, 227, 223, 0.25);
  border-radius: 6px;
  background: rgba(11, 25, 39, 0.72);
  color: #b9c7d8;
  font-size: 0.82rem;
  font-weight: 800;
}

.ad-policy-note span {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.ad-policy-note a,
.source-method-note a,
.legal-card a {
  color: var(--cyan);
  font-weight: 950;
}

.source-method-note {
  margin: 0 0 14px;
  color: #b9c7d8;
  font-size: 0.82rem;
  font-weight: 800;
}

.legal-page {
  padding: 28px 0 42px;
}

.legal-hero {
  position: relative;
  margin: 18px 0 24px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(64, 112, 158, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(10, 22, 36, 0.94), rgba(17, 20, 34, 0.88)),
    repeating-linear-gradient(90deg, rgba(35, 227, 223, 0.06) 0 1px, transparent 1px 28px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -92px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(35, 227, 223, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 227, 223, 0.1), transparent 62%);
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
}

.legal-hero p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 14px 0 0;
  color: #c3d0df;
  font-weight: 800;
}

.legal-hero span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 900;
}

.legal-content {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

.legal-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(64, 112, 158, 0.38);
  border-radius: 8px;
  background: rgba(8, 20, 33, 0.84);
}

.legal-card.legal-notice {
  border-color: rgba(35, 227, 223, 0.42);
  background: linear-gradient(135deg, rgba(17, 44, 58, 0.86), rgba(12, 23, 38, 0.9));
}

.legal-card h2 {
  margin: 0 0 12px;
  color: #f7fbff;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.legal-card p {
  margin: 0 0 12px;
  color: #c4cfdd;
  font-weight: 700;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(64, 112, 158, 0.36);
  border-radius: 8px;
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(4, 14, 24, 0.7);
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(64, 112, 158, 0.3);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--cyan);
  font-size: 0.86rem;
}

.legal-table td {
  color: #c8d3e0;
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-list {
  margin: 0;
  padding-left: 1.2em;
  color: #c8d3e0;
  font-weight: 800;
}

.legal-list li + li {
  margin-top: 8px;
}

.site-footer {
  margin-top: 48px;
  padding: 28px;
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 15, 0.92);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0 0 6px;
}

.footer-disclosure {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 980px;
  margin-bottom: 12px;
}

.footer-disclosure strong {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid rgba(35, 227, 223, 0.44);
  border-radius: 4px;
  color: var(--cyan);
  font-size: 0.72rem;
}

.footer-disclosure p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
}

.footer-links a {
  color: #c9d5e3;
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--cyan);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.calendar-mock .calendar-service-selector.vod-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.calendar-mock .calendar-service-selector .vod-selector__head {
  grid-column: 1 / -1;
}

.calendar-mock .calendar-service-selector .service-checks {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calendar-mock .calendar-service-selector .vod-selector__extra-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calendar-mock .calendar-service-selector .service-check {
  min-height: 38px;
  padding: 0 12px;
  border-color: rgba(35, 227, 223, 0.72);
  border-radius: 5px;
  background: rgba(35, 227, 223, 0.08);
  color: var(--cyan);
}

.calendar-mock .calendar-service-selector .service-check:has(input:not(:checked)) {
  border-color: rgba(83, 105, 133, 0.58);
  background: rgba(255, 255, 255, 0.035);
  color: #b3c0d1;
}

.calendar-mock .calendar-service-selector .vod-selector__footer {
  grid-column: 1 / -1;
}

.sidebar-vod-selector.vod-selector,
.work-owned-selector.vod-selector {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sidebar-vod-selector .service-checks,
.work-owned-selector .service-checks,
.sidebar-vod-selector .vod-selector__extra-grid,
.work-owned-selector .vod-selector__extra-grid {
  grid-template-columns: 1fr;
}

.listing-sidebar .sidebar-vod-selector .service-check,
.work-vod-panel .work-owned-selector .service-check {
  display: flex;
  grid-template-columns: none;
  min-height: 34px;
  border-bottom: 0;
}

.listing-sidebar .sidebar-vod-selector .vod-selector__head,
.work-vod-panel .work-owned-selector .vod-selector__head {
  padding-right: 0;
}

.listing-sidebar .sidebar-vod-selector .help-chip,
.work-vod-panel .work-owned-selector .help-chip {
  position: static;
  margin-top: 8px;
}

.manga-source-page {
  width: min(100% - 36px, 1440px);
  margin: 0 auto;
  padding: 34px 0 58px;
}

.manga-source-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.manga-source-hero__copy,
.manga-source-console,
.manga-source-results,
.manga-source-side > section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 227, 223, 0.08), transparent 38%),
    rgba(10, 22, 36, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.manga-source-hero__copy {
  min-height: 260px;
  padding: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(120deg, rgba(35, 227, 223, 0.13), transparent 45%),
    linear-gradient(180deg, rgba(16, 31, 50, 0.96), rgba(8, 17, 30, 0.9));
}

.manga-source-hero__copy h1 {
  margin: 6px 0 14px;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.manga-source-hero__copy p:last-child {
  max-width: 720px;
  margin: 0;
  color: #c6d5e7;
  font-weight: 800;
}

.manga-source-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(35, 227, 223, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 35%, rgba(35, 227, 223, 0.14), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px),
    rgba(8, 17, 30, 0.9);
  overflow: hidden;
}

.manga-source-stats article {
  display: grid;
  align-content: center;
  min-height: 130px;
  padding: 22px;
  border-left: 1px solid rgba(80, 115, 150, 0.3);
  border-top: 1px solid rgba(80, 115, 150, 0.3);
}

.manga-source-stats article:nth-child(odd) {
  border-left: 0;
}

.manga-source-stats article:nth-child(-n + 2) {
  border-top: 0;
}

.manga-source-stats b {
  color: var(--cyan);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.manga-source-stats span {
  color: #aebdd0;
  font-size: 0.84rem;
  font-weight: 900;
}

.manga-source-console {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
}

.manga-source-search {
  display: grid;
  gap: 8px;
}

.manga-source-search span {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
}

.manga-source-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(35, 227, 223, 0.5);
  border-radius: 8px;
  background: rgba(3, 9, 17, 0.78);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  outline: 0;
  box-shadow: inset 0 0 0 1px rgba(35, 227, 223, 0.08), 0 0 22px rgba(35, 227, 223, 0.08);
}

.manga-source-search input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(35, 227, 223, 0.14);
}

.manga-source-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.manga-source-filters button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(80, 115, 150, 0.62);
  border-radius: 8px;
  background: rgba(15, 28, 44, 0.86);
  color: #c9d7e8;
  font-weight: 950;
  cursor: pointer;
}

.manga-source-filters button.active {
  border-color: rgba(35, 227, 223, 0.88);
  background: rgba(35, 227, 223, 0.12);
  color: var(--cyan);
}

.manga-source-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.manga-source-results {
  padding: 22px;
}

.manga-source-count {
  margin: 0;
  color: #aebdd0;
  font-size: 0.86rem;
  font-weight: 900;
}

.manga-source-count span {
  color: var(--amber);
}

.manga-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.manga-source-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 236px;
  border: 1px solid rgba(80, 115, 150, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 44%),
    rgba(12, 24, 39, 0.9);
  overflow: hidden;
}

.manga-source-card[hidden] {
  display: none;
}

.manga-source-card__cover {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 100%;
  padding: 14px;
  background:
    linear-gradient(160deg, rgba(35, 227, 223, 0.24), transparent 44%),
    linear-gradient(0deg, rgba(3, 9, 17, 0.92), rgba(12, 24, 39, 0.16)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px),
    #0d1b2d;
}

.manga-source-card__cover::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244, 247, 251, 0.18);
  border-radius: 7px;
}

.manga-source-card__cover span {
  position: relative;
  width: fit-content;
  padding: 2px 8px;
  border: 1px solid rgba(255, 191, 53, 0.7);
  border-radius: 999px;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 950;
}

.manga-source-card__cover b {
  position: relative;
  color: #eef6ff;
  font-size: 0.88rem;
  line-height: 1.35;
}

.manga-source-card__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.manga-source-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manga-source-card__meta span {
  padding: 3px 8px;
  border: 1px solid rgba(80, 115, 150, 0.58);
  border-radius: 999px;
  color: #b7c7db;
  font-size: 0.72rem;
  font-weight: 950;
}

.manga-source-card__meta span:last-child {
  border-color: rgba(35, 227, 223, 0.58);
  color: var(--cyan);
}

.manga-source-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.38;
}

.manga-source-card h3 a:hover {
  color: var(--cyan);
}

.manga-source-title {
  margin: 0;
  color: var(--amber);
  font-size: 0.98rem;
  font-weight: 950;
}

.manga-source-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.manga-source-card dl div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.manga-source-card dt {
  color: #7f93ad;
  font-size: 0.74rem;
  font-weight: 950;
}

.manga-source-card dd {
  margin: 0;
  color: #d3deeb;
  font-size: 0.82rem;
  font-weight: 800;
}

.manga-source-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.manga-source-card__actions a {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(80, 115, 150, 0.62);
  border-radius: 8px;
  color: #d8e6f5;
  font-size: 0.82rem;
  font-weight: 950;
}

.manga-source-card__actions a:last-child {
  border-color: rgba(255, 191, 53, 0.7);
  background: rgba(255, 191, 53, 0.12);
  color: var(--amber);
}

.manga-source-empty {
  margin-top: 16px;
}

.manga-source-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.manga-source-side > section {
  padding: 18px;
}

.manga-source-side h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.manga-source-side p {
  margin: 0 0 14px;
  color: #b4c4d8;
  font-size: 0.86rem;
  font-weight: 800;
}

.mini-source-radar {
  min-height: 150px;
  margin-bottom: 14px;
}

.ebook-route-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.ebook-route-list article {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(80, 115, 150, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ebook-route-list b {
  color: #edf5ff;
  font-size: 0.9rem;
}

.ebook-route-list span {
  color: #98a8bd;
  font-size: 0.78rem;
  font-weight: 800;
}

.ebook-route-cta {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid rgba(255, 191, 53, 0.72);
  border-radius: 8px;
  background: rgba(255, 191, 53, 0.12);
  color: var(--amber);
  font-weight: 950;
}

.ebook-mini-ranking {
  display: grid;
  gap: 8px;
}

.ebook-mini-ranking h2 {
  margin-bottom: 4px;
}

.ebook-mini-ranking__item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(80, 115, 150, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ebook-mini-ranking__item > div:first-child {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
}

.ebook-mini-ranking__item b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(35, 227, 223, 0.12);
  color: var(--cyan);
  font-size: 0.8rem;
}

.ebook-mini-ranking span {
  color: #eef6ff;
  font-weight: 950;
}

.ebook-mini-ranking small {
  color: #98a8bd;
  font-size: 0.74rem;
  font-weight: 800;
}

.ebook-mini-ranking__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ebook-mini-ranking__actions a {
  padding: 5px 8px;
  border: 1px solid rgba(35, 227, 223, 0.38);
  border-radius: 5px;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
}

@media (max-width: 1200px) {
  .manga-source-hero,
  .manga-source-layout,
  .manga-source-console {
    grid-template-columns: 1fr;
  }

  .manga-source-side {
    position: static;
  }

  .manga-source-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .manga-source-page {
    width: min(100% - 20px, 1440px);
    padding-top: 18px;
  }

  .manga-source-hero__copy {
    min-height: auto;
    padding: 24px 18px;
  }

  .manga-source-stats,
  .manga-source-grid {
    grid-template-columns: 1fr;
  }

  .manga-source-stats article,
  .manga-source-stats article:nth-child(odd),
  .manga-source-stats article:nth-child(-n + 2) {
    min-height: 92px;
    border-left: 0;
    border-top: 1px solid rgba(80, 115, 150, 0.3);
  }

  .manga-source-stats article:first-child {
    border-top: 0;
  }

  .manga-source-console {
    position: sticky;
    top: 0;
    z-index: 12;
    margin-inline: -10px;
    border-radius: 0;
  }

  .manga-source-results {
    padding: 16px;
  }

  .manga-source-card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 220px;
  }

  .manga-source-card__body {
    padding: 14px;
  }

  .manga-source-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 12px 20px;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-actions {
    display: flex;
    justify-content: flex-start;
  }

  .header-actions button {
    display: none;
  }

  .header-actions button[data-search-open] {
    display: grid;
  }

  main {
    width: min(100% - 28px, 980px);
  }

  .mock-hero,
  .content-dashboard,
  .listing-hero,
  .calendar-hero,
  .calendar-layout,
  .anime-list-layout,
  .work-hero-detail,
  .work-detail-grid,
  .compare-page,
  .campaign-hero,
  .campaign-layout,
  .diagnosis-layout,
  .step-head {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-left: 0;
  }

  .radar-console {
    display: none;
  }

  .anime-grid,
  .recommend-grid,
  .anime-list-layout .anime-grid,
  .watchlist-grid,
  .available-services > div,
  .related-works > div,
  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watchlist-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .listing-hero,
  .calendar-hero,
  .compare-page,
  .campaign-page,
  .diagnosis-page {
    padding-left: 0;
    padding-right: 0;
  }

  .listing-toolbar,
  .anime-list-layout,
  .calendar-console,
  .calendar-week-strip,
  .calendar-layout,
  .calendar-page > .verified-note {
    margin-left: 0;
    margin-right: 0;
  }

  .calendar-console {
    grid-template-columns: 1fr;
  }

  .calendar-board {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .diagnosis-tip {
    position: static;
    margin-top: 14px;
  }

  .comparison-table-scroll {
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 920px;
  }

  .search-page-hero {
    grid-template-columns: 1fr;
  }

  .series-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-choice-strip {
    grid-template-columns: 1fr;
  }

  .campaign-guide--sticky {
    position: static;
  }
}

@media (max-width: 720px) {
  body::before,
  body::after {
    display: none;
  }

  main {
    width: calc(100vw - 18px);
  }

  .mock-hero > *,
  .content-dashboard > * {
    min-width: 0;
  }

  .brand strong {
    font-size: 1.25rem;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    gap: 8px 14px;
    font-size: 0.78rem;
  }

  .site-nav a {
    min-height: 28px;
  }

  .mock-hero {
    min-height: 0;
    padding-top: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .service-checks {
    grid-template-columns: 1fr;
  }

  .help-chip {
    position: static;
    margin-top: 10px;
  }

  .radar-alert {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .news-page {
    padding: 14px 0 40px;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding: 14px;
  }

  .news-badge {
    justify-self: start;
  }

  .news-card__link {
    justify-self: start;
  }

  .quick-menu {
    display: none;
  }

  .anime-radar-panel {
    padding: 16px;
  }

  .section-heading {
    display: block;
  }

  .panel-controls {
    justify-content: start;
    margin-top: 12px;
  }

  .season-filter-controls {
    width: min(100%, 360px);
    min-width: 0;
    max-width: 100%;
    justify-content: start;
  }

  .top-radar-sort {
    width: min(100%, 360px);
    grid-template-columns: auto minmax(0, 1fr);
  }

  .season-filter-menu {
    right: auto;
    left: 0;
  }

  .anime-grid,
  .recommend-grid,
  .stats-row,
  .detail-grid,
  .anime-list-layout .anime-grid,
  .watchlist-grid,
  .available-services > div,
  .related-works > div,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .watchlist-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .watchlist-control-head {
    display: grid;
  }

  .watchlist-filter-grid {
    grid-template-columns: 1fr;
  }

  .watchlist-stat {
    min-height: 120px;
  }

  .watchlist-actions {
    display: grid;
  }

  .listing-hero h1,
  .calendar-hero h1,
  .compare-page h1,
  .campaign-hero h1,
  .diagnosis-title h1 {
    font-size: clamp(1.95rem, 9.2vw, 2.7rem);
    max-width: 100%;
    white-space: normal;
  }

  .campaign-hero__copy {
    padding: 20px 0 4px;
  }

  .campaign-stats,
  .campaign-card dl {
    grid-template-columns: 1fr;
  }

  .campaign-stats article {
    min-height: 108px;
  }

  .campaign-card,
  .campaign-guide > section {
    padding: 14px;
  }

  .campaign-hero-card a,
  .campaign-card__actions a,
  .campaign-hero__actions a {
    width: 100%;
  }

  .campaign-card__title {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
  }

  .campaign-card__title > b {
    width: 34px;
    height: 34px;
  }

  .diagnosis-title h1 {
    display: grid;
    grid-template-columns: 34px minmax(0, 16rem);
    gap: 8px;
    align-items: start;
    font-size: clamp(1.7rem, 7.4vw, 2.08rem);
    line-height: 1.16;
  }

  .diagnosis-title h1 span {
    flex: 0 0 auto;
  }

  .table-title {
    display: grid;
    gap: 6px;
  }

  .compare-page {
    padding: 10px 0 28px;
    overflow-x: clip;
    overflow-y: visible;
  }

  .compare-page h1 {
    max-width: 22rem;
    line-height: 1.12;
  }

  .compare-main > p,
  .listing-hero p,
  .calendar-hero p,
  .diagnosis-title > p {
    max-width: min(100%, 21.5rem);
    font-size: 0.92rem;
  }

  .calendar-hero {
    gap: 16px;
  }

  .calendar-signal {
    min-height: 168px;
  }

  .calendar-mode-switch,
  .calendar-filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-service-selector label {
    flex: 1 1 150px;
  }

  .calendar-board {
    grid-template-columns: 1fr;
  }

  .calendar-day-column {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .calendar-day-column > header {
    position: static;
  }

  .calendar-stream-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .stream-time strong {
    font-size: 1.35rem;
  }

  .compare-page,
  .compare-main,
  .comparison-table-panel {
    min-width: 0;
    max-width: 100%;
  }

  .compare-main {
    overflow-x: clip;
    overflow-y: visible;
  }

  .compare-tabs {
    max-width: 100%;
  }

  .compare-tabs button {
    min-width: 0;
    padding: 0 12px;
  }

  .comparison-table {
    width: 100%;
  }

  .data-overview,
  .service-catalog > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-toolbar {
    display: grid;
  }

  .listing-sidebar {
    display: none;
  }

  .work-keyvisual {
    min-height: 220px;
  }

  .pv-staff-panel {
    grid-template-columns: 1fr;
  }

  .priority-card {
    grid-template-columns: 1fr;
  }

  .priority-card > div {
    grid-template-columns: 52px 1fr;
  }

  .stepper {
    grid-template-columns: repeat(5, minmax(48px, 1fr));
    overflow-x: auto;
  }

  .diagnosis-actions {
    display: grid;
    gap: 10px;
  }

  .diagnosis-hints > div {
    grid-template-columns: 1fr;
  }

  .ad-policy-note {
    display: block;
    max-width: 100%;
    font-size: 0.78rem;
  }

  .ad-policy-note span {
    display: inline-block;
    margin-right: 8px;
  }

  .legal-page {
    padding-top: 16px;
  }

  .legal-hero {
    padding: 22px 18px;
  }

  .legal-hero h1 {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }

  .legal-table {
    min-width: 620px;
  }

  .footer-disclosure {
    display: grid;
  }

  .footer-links {
    gap: 8px 12px;
  }
}

@media (max-width: 1200px) {
  .calendar-mock .calendar-hero,
  .calendar-mock .calendar-console,
  .calendar-mock .calendar-layout {
    grid-template-columns: 1fr;
  }

  .calendar-mock .calendar-service-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calendar-select-groups {
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    padding-left: 0;
    border-left: 0;
  }

  .calendar-mock .calendar-week-strip {
    grid-template-columns: 76px 38px repeat(7, minmax(104px, 1fr)) 38px;
    overflow-x: auto;
  }

  .calendar-grid,
  .month-board,
  .calendar-day-schedule {
    min-width: 960px;
  }

  .calendar-view {
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .calendar-mock .calendar-title-block {
    gap: 14px;
  }

  .calendar-title-icon {
    width: 58px;
    height: 58px;
  }

  .calendar-mock .calendar-title-block h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .calendar-stats-strip {
    grid-template-columns: 1fr;
  }

  .calendar-stats-strip > div {
    border-left: 0;
    border-top: 1px solid rgba(67, 103, 143, 0.42);
  }

  .calendar-stats-strip > div:first-child {
    border-top: 0;
  }

  .calendar-mock .calendar-service-selector,
  .calendar-select-groups,
  .day-navigator,
  .month-navigator {
    grid-template-columns: 1fr;
  }

  .calendar-segment {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calendar-main-views,
  .calendar-side-panel {
    min-width: 0;
  }

  .calendar-grid,
  .month-board,
  .calendar-day-schedule {
    min-width: 900px;
  }

  .calendar-side-panel {
    margin-top: 14px;
  }
}

.calendar-mock .calendar-service-selector.vod-selector {
  grid-template-columns: 1fr;
}

@media (max-width: 720px) {
  .vod-selector--compact .vod-selector__head {
    padding-right: 0;
  }

  .vod-selector--compact .help-chip {
    position: static;
    margin-top: 8px;
  }

  .vod-selector--compact .service-checks,
  .vod-selector--compact .vod-selector__extra-grid,
  .calendar-mock .calendar-service-selector .service-checks,
  .calendar-mock .calendar-service-selector .vod-selector__extra-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .search-overlay {
    padding: 0;
  }

  .site-search-modal {
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    border-width: 0;
    border-radius: 0;
  }

  .site-search-form,
  .search-page-form {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .site-search-close {
    grid-column: 2;
    grid-row: 1;
  }

  .site-search-form button[type="submit"] {
    grid-column: 1 / -1;
  }

  .search-result-grid {
    grid-template-columns: 1fr;
  }

  .search-result-card {
    grid-template-columns: 96px 1fr;
    min-height: 132px;
  }

  .series-service-grid {
    grid-template-columns: 1fr;
  }

  .series-work-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .series-work-list small {
    justify-content: flex-start;
  }

  .search-page {
    padding: 12px 0 24px;
  }

  .search-page-form {
    grid-template-columns: 1fr;
  }

  .admin-search-page {
    width: min(100% - 20px, 1180px);
    padding-top: 24px;
  }

  .admin-metric-grid {
    grid-template-columns: 1fr;
  }

  .admin-request-card header,
  .admin-request-actions div {
    display: grid;
  }
}

/* Manga detail pages */
.manga-detail-page {
  width: min(100% - 32px, 1240px);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.manga-detail-page .breadcrumb a {
  color: var(--cyan);
}

.manga-detail-hero {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.manga-detail-cover,
.manga-detail-hero__copy,
.manga-related-anime-panel,
.manga-detail-side > section {
  border: 1px solid rgba(67, 103, 143, 0.55);
  background: linear-gradient(150deg, rgba(10, 25, 49, 0.98), rgba(6, 17, 34, 0.98));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.manga-detail-cover {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 28px;
  isolation: isolate;
}

.manga-detail-cover::before,
.manga-detail-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.manga-detail-cover::before {
  background:
    radial-gradient(circle at 72% 24%, rgba(35, 228, 255, 0.24), transparent 27%),
    radial-gradient(circle at 18% 76%, rgba(255, 66, 167, 0.2), transparent 32%),
    repeating-linear-gradient(135deg, transparent 0 26px, rgba(120, 180, 255, 0.06) 27px 28px);
}

.manga-detail-cover.theme-battle::after {
  background: linear-gradient(145deg, rgba(255, 70, 90, 0.18), transparent 46%);
}

.manga-detail-cover.theme-fantasy::after {
  background: linear-gradient(145deg, rgba(117, 98, 255, 0.25), transparent 48%);
}

.manga-detail-cover span,
.manga-detail-cover small {
  color: var(--muted);
  letter-spacing: 0.12em;
}

.manga-detail-cover b {
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.28;
}

.manga-detail-hero__copy {
  padding: clamp(24px, 4vw, 42px);
}

.manga-detail-hero__copy h1 {
  max-width: 960px;
  margin: 8px 0 6px;
  font-size: clamp(2rem, 4.7vw, 4.1rem);
  line-height: 1.12;
}

.manga-detail-kana {
  margin: 0 0 18px;
  color: var(--muted);
}

.manga-detail-badges,
.manga-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.manga-detail-badges span {
  padding: 6px 10px;
  border: 1px solid rgba(35, 228, 255, 0.34);
  color: var(--cyan);
  background: rgba(35, 228, 255, 0.08);
  font-size: 0.78rem;
}

.manga-detail-summary {
  max-width: 850px;
  margin: 22px 0;
  color: #d8e7f7;
  line-height: 1.85;
}

.manga-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  background: rgba(67, 103, 143, 0.32);
}

.manga-detail-facts div {
  padding: 14px 16px;
  background: rgba(7, 20, 39, 0.96);
}

.manga-detail-facts dt,
.manga-detail-side dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.manga-detail-facts dd,
.manga-detail-side dd {
  margin: 6px 0 0;
  color: #eef7ff;
  line-height: 1.55;
}

.manga-detail-actions a,
.manga-detail-side a,
.manga-related-anime-link,
.manga-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(35, 228, 255, 0.4);
  color: var(--cyan);
  background: rgba(35, 228, 255, 0.07);
  font-weight: 700;
}

.manga-detail-actions a.primary {
  color: #06111e;
  background: var(--cyan);
}

.manga-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  margin-top: 22px;
}

.manga-related-anime-panel {
  padding: clamp(20px, 3vw, 32px);
}

.manga-related-anime-panel .section-heading {
  align-items: flex-end;
}

.manga-related-anime-panel .section-heading > p {
  color: var(--amber);
  font-weight: 800;
}

.manga-detail-note {
  margin: 10px 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.manga-related-anime-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.manga-related-anime-card {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 17px;
  border: 1px solid rgba(67, 103, 143, 0.42);
  background: rgba(8, 22, 42, 0.8);
}

.manga-related-anime-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.77rem;
}

.manga-related-anime-card > div span {
  color: var(--magenta);
}

.manga-related-anime-card h3 {
  margin: 13px 0 18px;
  font-size: 1rem;
  line-height: 1.55;
}

.manga-related-anime-card h3 a {
  color: #fff;
}

.manga-related-anime-link {
  margin-top: auto;
  align-self: flex-start;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

.manga-detail-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.manga-detail-side > section {
  padding: 20px;
}

.manga-detail-side h2 {
  margin: 6px 0 12px;
  font-size: 1.2rem;
}

.manga-detail-side p {
  color: var(--muted);
  line-height: 1.7;
}

.manga-detail-side dl {
  margin: 18px 0;
}

.manga-detail-side dl div + div {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(67, 103, 143, 0.35);
}

.manga-detail-side .manga-detail-ebook-route {
  border-color: rgba(255, 184, 66, 0.4);
}

.manga-detail-side .manga-detail-ebook-route a {
  border-color: rgba(255, 184, 66, 0.45);
  color: var(--amber);
  background: rgba(255, 184, 66, 0.08);
}

.manga-detail-back {
  width: 100%;
}

.manga-source-title a {
  color: var(--cyan);
}

.manga-source-card__actions {
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .manga-detail-hero,
  .manga-detail-layout {
    grid-template-columns: 1fr;
  }

  .manga-detail-hero {
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  }

  .manga-detail-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manga-detail-back {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .manga-detail-page {
    width: min(100% - 20px, 1240px);
    padding-top: 14px;
  }

  .manga-detail-hero,
  .manga-detail-side,
  .manga-related-anime-grid,
  .manga-detail-facts {
    grid-template-columns: 1fr;
  }

  .manga-detail-cover {
    min-height: 300px;
  }

  .manga-detail-hero__copy,
  .manga-related-anime-panel {
    padding: 20px;
  }

  .manga-detail-actions a {
    width: 100%;
  }
}

.contact-panel[hidden],
[data-contact-unavailable][hidden] {
  display: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.contact-field {
  display: grid;
  gap: 7px;
  color: #dce7f3;
  font-weight: 850;
}

.contact-field > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-field strong,
.contact-field em[data-required="true"] {
  border-radius: 999px;
  background: rgba(255, 61, 115, 0.15);
  color: #ffadc5;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-style: normal;
}

.contact-field em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.contact-field input,
.contact-field select,
.contact-field textarea,
.admin-contact-card textarea {
  width: 100%;
  border: 1px solid rgba(80, 115, 150, 0.62);
  border-radius: 7px;
  background: rgba(4, 10, 18, 0.94);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus,
.admin-contact-card textarea:focus {
  border-color: var(--cyan);
  outline: 2px solid rgba(35, 227, 223, 0.2);
  outline-offset: 1px;
}

.contact-field textarea,
.admin-contact-card textarea {
  resize: vertical;
}

.contact-field small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-field-error {
  min-height: 1em;
  color: #ff9eba !important;
  font-size: 0.8rem;
  font-weight: 850;
}

.contact-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d5e0ec;
  font-weight: 800;
}

.contact-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cyan);
}

.contact-check--boxed {
  border: 1px solid rgba(64, 112, 158, 0.38);
  border-radius: 7px;
  background: rgba(4, 14, 24, 0.56);
  padding: 13px;
}

.contact-honeypot {
  position: fixed;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-turnstile {
  min-height: 65px;
}

.contact-submit {
  min-height: 48px;
  border: 1px solid rgba(35, 227, 223, 0.6);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(20, 95, 103, 0.96), rgba(15, 57, 76, 0.98));
  color: #f3ffff;
  padding: 0 20px;
  font-weight: 950;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-form-status {
  min-height: 1.5em;
  margin: 0 !important;
  border-radius: 7px;
}

.contact-form-status[data-state="success"] {
  border: 1px solid rgba(41, 230, 167, 0.48);
  background: rgba(41, 230, 167, 0.1);
  color: #c9ffed;
  padding: 12px;
}

.contact-form-status[data-state="error"] {
  border: 1px solid rgba(255, 61, 115, 0.45);
  background: rgba(255, 61, 115, 0.08);
  color: #ffd1de;
  padding: 12px;
}

.admin-contact-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.admin-contact-filters a {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.admin-contact-filters a.active {
  border-color: rgba(35, 227, 223, 0.52);
  background: rgba(35, 227, 223, 0.1);
  color: #c9ffff;
}

.admin-contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.admin-contact-meta div {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 9px;
}

.admin-contact-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-contact-meta dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.admin-contact-message {
  border-left: 3px solid rgba(35, 227, 223, 0.52);
  background: rgba(4, 10, 18, 0.7);
  padding: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-codex-handoff {
  margin-top: 14px;
  border: 1px solid rgba(255, 191, 53, 0.4);
  border-radius: 7px;
  background: rgba(255, 191, 53, 0.06);
  padding: 12px;
}

.admin-codex-handoff h4 {
  margin: 0 0 5px;
}

.admin-codex-handoff p,
.admin-contact-ai-disabled {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-codex-handoff button,
.admin-contact-copy-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(18, 31, 49, 0.9);
  color: #e8f0fb;
  padding: 0 11px;
  font-weight: 900;
  cursor: pointer;
}

.admin-contact-copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-contact-card button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-contact-card[data-status="approved"] .admin-status,
.admin-contact-card[data-status="reply_draft"] .admin-status {
  border-color: rgba(255, 191, 53, 0.48);
  color: #ffe6a3;
}

.admin-contact-card[data-status="sent"] .admin-status,
.admin-contact-card[data-status="closed"] .admin-status {
  border-color: rgba(41, 230, 167, 0.48);
  color: #bdf9e5;
}

.admin-contact-card[data-status="spam"] .admin-status {
  border-color: rgba(152, 168, 189, 0.42);
  color: var(--muted);
}

@media (max-width: 640px) {
  .admin-contact-meta {
    grid-template-columns: 1fr;
  }

  .contact-check--boxed {
    padding: 11px;
  }
}
