

:root {
  
  color-scheme: only light;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #666666;
  --border: #d0d0d0;
  --accent: #d81b60;
  --hl: #fff7d6;
  --table-stripe: #f7f7f8;
  --container-w: 960px;
  
  --font-num: "JetBrains Mono", "Consolas", "Menlo", "Roboto Mono", monospace;
  
  --font-mono: "JetBrains Mono", "Consolas", "Menlo", "Roboto Mono", monospace;

  
  --font-base: "Hiragino Sans", "Noto Sans JP", "Noto Sans SC", "Yu Gothic UI", "Meiryo", system-ui, -apple-system, sans-serif;
  
  --font-brand: "Kiwi Maru", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, -apple-system, sans-serif;
  
  --font-accent-deco: "Kaisei Decol", "Hiragino Mincho ProN", serif;
  
  --font-accent-dot: "DotGothic16", "Courier New", monospace;

  
  --accent-pink:   #d81b60;
  --accent-blue:   #3370aa;
  --accent-yellow: #d4a017;
  --accent-green:  #4ca36b;
  --accent-purple: #7e57c2;
  
  --accent-teal:   #2ea7ad;

  
  --th-bg: #f3f3f5;
}

html, body {
  margin: 0;
  padding: 0;
  
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
}

* { box-sizing: border-box; }


a { color: var(--fg); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 16px;
}


.site-header {
  
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(4px);
  -webkit-backdrop-filter: saturate(140%) blur(4px);
  padding: 12px 0;
  margin-bottom: 24px;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f6b3cf, #f1e092, #a4dcc4, #aacdf2, #c9b8ec);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.site-title {
  font-weight: 700;
  font-size: 1.2em;
  color: var(--fg);
  
  font-family: var(--font-brand);
  
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  white-space: nowrap;
}

.site-title-ja {
  font-size: 0.72em;
  font-weight: 400;
  color: var(--muted);
}

.site-title-en {
  font-weight: 700;
  color: var(--fg);
}
.site-nav a {
  margin-left: 16px;
  color: var(--muted);
  
  transition: color 0.12s ease;
}

.site-nav a:first-child {
  margin-left: 0;
}
.site-nav a:hover {
  color: var(--accent-pink);
  text-decoration: none;
}

.site-nav a.nav-sep-before {
  margin-left: 32px;
  position: relative;
}
.site-nav a.nav-sep-before::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 0.2em;
  bottom: 0.2em;
  border-left: 1px solid var(--border);
}

.site-nav a.is-active {
  color: var(--accent-pink);
  font-weight: 600;
  border-bottom: 2px solid var(--accent-pink);
  padding-bottom: 2px;
}

.mobile-nav-overlay-list li.nav-sep-before {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.mobile-nav-overlay-list a.is-active {
  color: var(--accent-pink);
  font-weight: 600;
}


#pageFooter {
  margin-top: 64px;
  border-top: 1px solid #fce7f3;
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 100%);
  font-size: 0.9em;
  color: var(--muted);
}
.footer-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 28px 16px 30px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px 40px;
}
.footer-site-name {
  margin: 0 0 8px;
  font-size: 1.1em;
  font-weight: 700;
  
  font-family: var(--font-brand);
}
.footer-site-name a {
  color: var(--fg);
  text-decoration: none;
}
.footer-site-name a:hover { color: var(--accent-pink); }
.footer-contact {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  
  font-family: var(--font-brand);
}
.footer-contact a { color: var(--fg); }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #be185d;
  text-decoration: none;
  width: fit-content;
}
.footer-nav a:hover { text-decoration: underline; }


.subtitle-embargo-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 2px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.92em;
}
.subtitle-embargo-switch-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.subtitle-embargo-switch-track {
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  width: 38px;
  height: 22px;
  background: #d1d5db;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.subtitle-embargo-switch-track:has(.subtitle-embargo-switch-input:checked) {
  background: var(--accent-pink);
}
.subtitle-embargo-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.subtitle-embargo-switch-input:checked ~ .subtitle-embargo-switch-thumb {
  transform: translateX(16px);
}
.subtitle-embargo-switch-input:focus-visible ~ .subtitle-embargo-switch-thumb {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}


.footer-sister {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-sister-link {
  display: inline-block;
  width: fit-content;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #f4c6dd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.footer-sister-link:hover,
.footer-sister-link:focus-visible {
  border-color: var(--accent-pink);
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.16);
  transform: translateY(-1px);
}
.footer-sister-banner {
  display: block;
  width: 200px;
  height: auto;
}

.footer-sister-link.sister-site-text-card {
  width: 200px;
  box-sizing: border-box;
  padding: 0 8px;
  font-size: 13px;
  gap: 0;
  text-decoration: none;
}
.footer-sister-link.sister-site-text-card .sister-site-text-card-ja { font-size: 0.85em; }
.footer-sister-link.sister-site-text-card .sister-site-text-card-en { font-size: 1.3em; }
.footer-sister-link.sister-site-text-card-news {
  border-color: #c2d6ff;
}
.footer-sister-link.sister-site-text-card-news:hover,
.footer-sister-link.sister-site-text-card-news:focus-visible {
  border-color: #3366cc;
  box-shadow: 0 2px 8px rgba(51, 102, 204, 0.16);
}
.footer-legal {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px dashed #f4c6dd;
}
.footer-legal p {
  margin: 4px 0;
  font-size: 0.86em;
  line-height: 1.7;
}
.footer-copyright {
  margin: 16px 0 0;
  font-weight: 600;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}

.footer-ga-off {
  display: none;
  margin: 6px 0 0;
  font-size: 0.8em;
  color: var(--muted);
}
html[data-ga-off] .footer-ga-off {
  display: block;
}


.breadcrumbs ol {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.9em;
  color: var(--muted);
}
.breadcrumbs li { display: inline; }
.breadcrumbs li + li::before {
  content: " › ";
  color: var(--border);
  margin: 0 4px;
}



h1 {
  font-size: 1.65em;
  margin-top: 0;
  
  border-bottom: 3px solid var(--accent-pink);
  padding-bottom: 6px;
}

h1:has(+ .page-coverage),
h1:has(+ .page-subline) { margin-bottom: 4px; }
h2 {
  font-size: 1.25em;
  margin-top: 32px;
  border-bottom: 1px solid var(--border);
  padding: 0 0 4px 10px;
  
  border-left: 4px solid var(--accent-purple);
}
h3 {
  font-size: 1.05em;
  margin-top: 24px;
  padding-left: 12px;
  position: relative;
}
h3::before {
  
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
}
th, td {
  border: 1px solid var(--border);
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--table-stripe); font-weight: 600; }
table tr:nth-child(even) td { background: #fcfcfc; }


.muted { color: var(--muted); }
@keyframes track-target-flash {
  0%   { background-color: var(--hl, #fff7d6); }
  100% { background-color: transparent; }
}
@keyframes cue-card-target-flash {
  0%   { background-color: var(--hl, #fff7d6); }
  100% { background-color: transparent; }
}



.site-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-header-bottom {
  
  margin-top: 6px;
}
.site-search {
  position: relative;
  flex-shrink: 0;
  width: 16em;
}
#site-search-input {
  width: 100%;
  
  padding: 6px 30px 6px 14px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92em;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
#site-search-input:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}

.site-search-kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  background: var(--table-stripe);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 5px;
  pointer-events: none;
}
.site-search:focus-within .site-search-kbd {
  display: none;
}
@media (max-width: 768px) {
  .site-search-kbd { display: none; }
  
  #site-search-input { font-size: 16px; }
}


.site-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 28em;
  max-width: 90vw;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 1000;
}
.site-search-results.open {
  display: block;
}

.site-search-result-item {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 4px 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  align-items: baseline;
}
.site-search-result-item:last-child {
  border-bottom: none;
}
.site-search-result-item:hover,
.site-search-result-item.selected {
  background: #fdf2f8;
}

.site-search-result-kind {
  font-size: 0.78em;
  background: #f3f4f6;
  color: #4b5563;
  border-radius: 3px;
  padding: 1px 6px;
  text-align: center;
  white-space: nowrap;
  align-self: center;
}

.site-search-result-kind-series    { background: #fef3c7; color: #92400e; }
.site-search-result-kind-episode   { background: #fef9c3; color: #854d0e; }
.site-search-result-kind-precure   { background: #fce7f3; color: #9d174d; }
.site-search-result-kind-character { background: #fae8ff; color: #86198f; }
.site-search-result-kind-person    { background: #dbeafe; color: #1e40af; }
.site-search-result-kind-company   { background: #d1fae5; color: #065f46; }
.site-search-result-kind-song      { background: #e0e7ff; color: #3730a3; }
.site-search-result-kind-product   { background: #ffedd5; color: #9a3412; }
.site-search-result-kind-role      { background: #ccfbf1; color: #115e59; }
.site-search-result-kind-font      { background: #e5e7eb; color: #1f2937; }

.site-search-result-title {
  font-size: 0.95em;
  word-break: break-word;
}
.site-search-result-sub {
  grid-column: 2;
  font-size: 0.82em;
  color: #6b7280;
}

.site-search-no-results {
  padding: 12px;
  font-size: 0.9em;
  color: #6b7280;
  text-align: center;
}


@media (max-width: 768px) {
  .mobile-nav-overlay-search .site-search {
    display: block;
    width: 100%;
  }
  .mobile-nav-overlay-search .site-search-results {
    width: 100%;
    max-width: 100%;
    right: auto;
    left: 0;
  }
  .site-search-results {
    width: 100%;
  }
}


.ep-subtitle-guard {
  filter: blur(6px);
  user-select: none;
  transition: filter 0.15s ease;
}
.ep-subtitle-guard.is-revealed,
.ep-subtitle-guard.is-revealed rt {
  filter: none;
  user-select: auto;
}

.subtitle-char-info-guard:not(.is-revealed) {
  display: none;
}


.subtitle-embargo-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.subtitle-embargo-dialog[hidden] {
  display: none;
}
.subtitle-embargo-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.subtitle-embargo-dialog-panel {
  position: relative;
  width: min(92vw, 420px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  padding: 24px;
}
.subtitle-embargo-dialog-title {
  margin: 0 0 10px;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.5;
}
.subtitle-embargo-dialog-body {
  margin: 0 0 20px;
  font-size: 0.9em;
  color: var(--muted);
  line-height: 1.7;
}
.subtitle-embargo-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.subtitle-embargo-dialog-btn {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  padding: 8px 18px;
  font-size: 0.92em;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.subtitle-embargo-dialog-btn:hover {
  border-color: var(--accent-pink);
}
.subtitle-embargo-dialog-btn-primary {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
}
.subtitle-embargo-dialog-btn-primary:hover {
  background: #d81a58;
  border-color: #d81a58;
}

body.subtitle-embargo-dialog-open {
  overflow: hidden;
}
[class*="kg-"] { background: var(--kg); }



.ep-prev-next-cards {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0;
}
.ep-prev-next-cards-bottom {
  margin-top: 20px;
  margin-bottom: 4px;
}


.ep-prev-next-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  max-width: 50%;
}
.ep-prev-next-card:hover {
  border-color: var(--accent-pink);
  box-shadow: 0 2px 6px rgba(233, 30, 99, 0.12);
  text-decoration: none;
  transform: translateY(-1px);
}
.ep-prev-next-card.disabled {
  background: #fafafa;
  border-color: #ececec;
  color: var(--border);
  cursor: not-allowed;
}
.ep-prev-next-card.disabled:hover {
  border-color: #ececec;
  box-shadow: none;
  transform: none;
}


.ep-prev-next-direction {
  font-size: 0.82em;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ep-prev-next-card-next .ep-prev-next-direction {
  text-align: right;
}


.ep-prev-next-label {
  font-size: 0.95em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: auto;
}
.ep-prev-next-card-next .ep-prev-next-label {
  text-align: right;
}


@media (max-width: 560px) {
  .ep-prev-next-cards {
    flex-direction: column;
    gap: 8px;
  }
  .ep-prev-next-card {
    max-width: none;
  }
  .ep-prev-next-card-next .ep-prev-next-direction,
  .ep-prev-next-card-next .ep-prev-next-label {
    text-align: left;
  }
}




#tv-series,
#movies,
#otona,
#short-anime,
#event,
#spinoff {
  scroll-margin-top: 110px;
}
@media (max-width: 560px) {
  #tv-series,
  #movies,
  #otona,
  #short-anime,
  #event,
  #spinoff {
    scroll-margin-top: 60px;
  }
}


.fn-ref {
  font-size: 0.72em;
  line-height: 0;
  margin-left: 1px;
}
.fn-ref a {
  color: var(--accent-blue);
  text-decoration: none;
}
.footnotes {
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px dotted var(--border);
  font-size: 0.85em;
  color: var(--muted);
}
.footnotes h2 {
  font-size: 1em;
}




.page-section-nav {
  display: none;
  position: fixed;
  top: 88px; 
  
  left: max(16px, calc((100vw - 960px) / 2 - 360px));
  width: 340px;
  
  max-width: calc((100vw - 960px) / 2 - 28px);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 40;
  padding: 4px 0;
  
}




section[id],
[data-section-nav-child][id] {
  scroll-margin-top: 110px;
}


@media (min-width: 1180px) {
  .page-section-nav {
    display: block;
  }
}


@media (min-width: 960px) and (max-width: 1179px) {
  .page-section-nav {
    display: block;
    left: 12px;
    width: 200px;
  }
}


@media (max-width: 959px) {
  .page-section-nav {
    display: none !important;
  }
}


@media (max-width: 560px) {
  section[id],
  [data-section-nav-child][id] {
    scroll-margin-top: 60px;
  }
}


.mobile-nav-overlay-section-nav {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.mobile-nav-overlay-section-nav-heading {
  font-size: 0.78em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px 0;
  padding-left: 14px;
}
.mobile-nav-overlay-section-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav-overlay-section-nav-list li {
  margin: 0;
}
.mobile-nav-overlay-section-nav-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--fg);
  font-size: 0.95em;
  text-decoration: none;
}
.mobile-nav-overlay-section-nav-list a:hover,
.mobile-nav-overlay-section-nav-list a:focus-visible {
  background: rgba(233, 30, 99, 0.08);
  color: var(--accent-pink);
  outline: none;
}




.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  z-index: 70;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(4px);
  -webkit-backdrop-filter: saturate(140%) blur(4px);
  cursor: pointer;
  padding: 0;
  
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}
.mobile-nav-toggle .hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 65;
  
}
.mobile-nav-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.mobile-nav-overlay-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(80vw, 320px);
  background: #fff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.18);
  padding: 64px 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav-overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 1.2em;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  color: var(--fg);
}
.mobile-nav-overlay-close:hover {
  background: rgba(233, 30, 99, 0.06);
}
.mobile-nav-overlay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav-overlay-list li {
  margin: 0;
}
.mobile-nav-overlay-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--fg);
  font-size: 1.02em;
  text-decoration: none;
}
.mobile-nav-overlay-list a:hover,
.mobile-nav-overlay-list a:focus-visible {
  background: rgba(233, 30, 99, 0.08);
  color: var(--accent-pink);
  outline: none;
}

body.mobile-nav-open {
  overflow: hidden;
}
.mobile-nav-overlay-search {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}


.mobile-nav-overlay-panel {
  padding: 12px 14px 20px;
  gap: 10px;
}
.mobile-nav-overlay-search {
  order: -1;
  margin: 0 46px 0 0;
  padding: 0;
  border-top: 0;
}
.mobile-nav-overlay-list {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2px 6px;
}
.mobile-nav-overlay-list a {
  padding: 8px 8px;
  font-size: 0.95em;
  white-space: nowrap;
}

.mobile-nav-overlay-close + .mobile-nav-overlay-list { padding-right: 46px; }
.mobile-nav-overlay-list li.nav-sep-before {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 4px;
}
.mobile-nav-overlay-section-nav {
  margin-top: 0;
  padding-top: 10px;
}
.mobile-nav-overlay-section-nav-heading {
  margin-bottom: 4px;
  padding-left: 10px;
}
.mobile-nav-overlay-section-nav-list a { padding: 8px 10px; }


@media (max-width: 768px) {
  
  .site-header {
    position: static;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .site-header .site-header-bottom {
    display: none;
  }
  .site-header .site-nav {
    display: none;
  }
  .site-header .site-search {
    display: none;
  }
}


@media (max-width: 560px) {
  .mobile-nav-toggle {
    top: 8px;
    right: 8px;
  }
  
  .site-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1.25;
  }
}


@media (min-width: 769px) {
  .mobile-nav-toggle,
  .mobile-nav-overlay {
    display: none !important;
  }
  body.mobile-nav-open {
    overflow: auto;
  }
}

.sister-site-text-card {
  aspect-ratio: 3 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 12px;
  background: linear-gradient(180deg, #fff1f6 0%, #fde7ef 45%, #fff8f0 100%);
  font-family: var(--font-brand);
  text-align: center;
  line-height: 1.3;
}
.sister-site-text-card-ja {
  font-size: 0.8em;
  color: var(--muted);
}
.sister-site-text-card-en {
  font-size: 1.5em;
  font-weight: 700;
  color: #be185d;
}

.sister-site-text-card-news {
  --accent-pink: #3366cc;
  border-color: #c2d6ff;
  background: linear-gradient(180deg, #f0f5ff 0%, #e3ecff 45%, #f8fbff 100%);
}
.sister-site-text-card-news:hover,
.sister-site-text-card-news:focus-visible {
  box-shadow: 0 4px 14px rgba(51, 102, 204, 0.16);
}
.sister-site-text-card-news .sister-site-text-card-en {
  color: #2a56c6;
}


.share-buttons {
  margin: 2.4em 0 1.2em;
  padding: 1.1em 1.2em 1.2em;
  border: 1px solid #fce7f3;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 90%);
}
.share-buttons-heading {
  
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.95em;
  font-weight: 600;
  color: #9d174d;
  margin: 0 0 0.8em;
  padding: 0;
  border: 0;
  letter-spacing: 0.04em;
}
.share-buttons-heading svg {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}
.share-buttons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55em 0.6em;
}
.share-buttons-list li {
  margin: 0;
  padding: 0;
}


.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-width: 3.4em;
  padding: 0.6em 1.05em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88em;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  color: #1f2937;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  font-family: inherit;
}
.share-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  text-decoration: none;
}
.share-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.share-button:focus-visible {
  outline: 2px solid #ec4899;
  outline-offset: 2px;
}
.share-button svg {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
}


.share-button-x { background: #111827; color: #fff; border-color: #111827; }
.share-button-x:hover { background: #000; color: #fff; }


.share-button-bluesky { background: #1185fe; color: #fff; border-color: #1185fe; }
.share-button-bluesky:hover { background: #0d6ee0; color: #fff; }


.share-button-misskey { background: #86b300; color: #fff; border-color: #86b300; }
.share-button-misskey:hover { background: #76a000; color: #fff; }


.share-button-facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-button-facebook:hover { background: #166fe5; color: #fff; }


.share-button-hatena { background: #00a4de; color: #fff; border-color: #00a4de; }
.share-button-hatena:hover { background: #008cbf; color: #fff; }


.share-button-line { background: #06c755; color: #fff; border-color: #06c755; }
.share-button-line:hover { background: #05a847; color: #fff; }


.share-button-copy { background: #f3f4f6; color: #1f2937; border-color: #d1d5db; }
.share-button-copy:hover { background: #e5e7eb; color: #111827; }

.share-button-cite { background: #f3f4f6; color: #1f2937; border-color: #d1d5db; }
.share-button-cite:hover { background: #e5e7eb; color: #111827; }
.share-button-cite[aria-expanded="true"] { border-color: #6b7280; background: #e5e7eb; }


.share-toast {
  position: fixed;
  bottom: 1.5em;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.6em 1.1em;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  border-radius: 999px;
  font-size: 0.9em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.share-toast.is-visible {
  opacity: 1;
}


@media (max-width: 768px) {
  .share-toast {
    bottom: 4.5em;
  }
}


.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  z-index: 10000;
  background: #ec4899;
  color: #fff;
  padding: 0.6em 1.1em;
  font-size: 0.95em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.15s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}


#main-content:focus,
#main-content:focus-visible {
  outline: none;
}


@media print {
  
  .skip-link,
  .mobile-nav-toggle,
  .mobile-nav-overlay,
  .site-header,
  .site-nav,
  .site-search,
  #pageSectionNav,
  .share-buttons,
  .share-toast,
  .footer-nav {
    display: none !important;
  }

  
  .breadcrumbs {
    margin: 0 0 0.6em;
    font-size: 0.85em;
  }
  .breadcrumbs a {
    color: inherit;
    text-decoration: none;
  }

  
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }
  main.container {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  
  a[href^="http"]:not([href*="schema.org"])::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
    word-break: break-all;
  }

  
  table {
    page-break-inside: auto;
    border-collapse: collapse;
  }
  table th, table td {
    border: 1px solid #999;
    padding: 4px 6px;
  }

  
  h1, h2, h3 {
    page-break-after: avoid;
  }

  
  #pageFooter {
    margin-top: 1.4em;
    border-top: 1px solid #999;
    padding-top: 0.6em;
    font-size: 0.85em;
    background: none;
  }
}

.role-timeline {
  --rtl-tv: #3b82c4;
  --rtl-span: rgba(59, 130, 196, 0.38);
  --rtl-movie: #c8820f;
  --rtl-song: #7e57c2;
  --rtl-bgm: #4ca36b;
  --rtl-disc: #2563a8;
  --rtl-band-alt: #f4f5f8;
  --rtl-grid: #e6e7eb;
  --rtl-name-w: 11.5em;
  --rtl-gap: 12px;
  --rtl-track-x: calc(var(--rtl-name-w) + var(--rtl-gap));
  --rtl-group-bg: #f1f4fa;
  --rtl-group-line: #c3cad8;
  --rtl-aff: #8e9ab3;
  margin: 0 0 2em;
}
.wk-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.88em;
  cursor: pointer;
  text-decoration: line-through;
  opacity: 0.7;
}
.wk-toggle.is-active {
  text-decoration: none;
  opacity: 1;
  color: var(--fg);
  border-color: var(--fg);
}
.wk-toggle:hover:not(.is-active) { background: var(--surface-2, rgba(0, 0, 0, 0.04)); }
.wk-toggle:focus-visible {
  outline: 2px solid var(--accent-pink, #ec4899);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .role-timeline { --rtl-name-w: 0px; --rtl-gap: 0px; }
}
.entity-filter-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.88em;
  cursor: pointer;
}
.entity-filter-btn:hover:not(.is-active) {
  background: var(--surface-2, rgba(0, 0, 0, 0.04));
}
.entity-filter-btn.is-active {
  color: var(--fg);
  border-color: var(--fg);
}
.entity-filter-btn:focus-visible {
  outline: 2px solid var(--accent-pink, #ec4899);
  outline-offset: 2px;
}



.articles-lead { margin-top: -0.25em; }
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 1.25em;
}
.article-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.article-card:hover,
.article-card:focus-visible {
  border-color: var(--accent-pink);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.10);
  transform: translateY(-2px);
  
  text-decoration: none;
}
.article-card-title { margin: 0 0 0.4em; font-size: 1.1em; line-height: 1.4; color: var(--fg); }
.article-card-date { margin: 0 0 0.5em; font-size: 0.8em; color: var(--muted); }
.article-card-desc { margin: 0 0 0.6em; font-size: 0.9em; color: var(--muted); line-height: 1.6; }
.article-card-tags, .article-meta .article-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-tag {
  display: inline-block;
  font-size: 0.72em;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}


.article { max-width: 720px; }
.article > h1 { margin-bottom: 0.3em; line-height: 1.45; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 1.5em; }
.article-date { font-size: 0.85em; color: var(--muted); }
.article-body { font-size: 1.02em; line-height: 1.9; color: var(--fg); }
.article-body h2 {
  margin-top: 2em; margin-bottom: 0.6em;
  padding-bottom: 0.2em; font-size: 1.3em;
  border-bottom: 2px solid var(--hl);
}
.article-body h3 { margin-top: 1.6em; margin-bottom: 0.5em; font-size: 1.12em; }
.article-body p { margin: 0 0 1.1em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a { color: var(--accent-pink); }
.article-body code {
  font-family: var(--font-mono); font-size: 0.9em;
  background: var(--table-stripe); padding: 1px 5px; border-radius: 4px;
}
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 6px; }

.article-body p, .article-body li, .article-body blockquote, .article-body figcaption { overflow-wrap: anywhere; }

.article-body table {
  display: block; max-width: 100%; overflow-x: auto;
  border-collapse: collapse; margin: 1.2em 0; font-size: 0.92em;
}
.article-body th, .article-body td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; }
.article-body th { background: var(--th-bg); }

.article-body th { white-space: nowrap; }
.article-body td { word-break: keep-all; }

.article-body .study-note {
  position: relative;
  margin: 2.6em 0 2em;
  padding: 1.9em 1.4em 0.4em;
  border: 1px solid rgba(51, 112, 170, 0.35);
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(51, 112, 170, 0.16) 1px, transparent 1.2px) 0 0 / 16px 16px,
    #f5f9fd;
  box-shadow: 0 3px 0 rgba(51, 112, 170, 0.12);
}

.article-body .study-note > :is(h3, h4):first-child {
  position: relative;
  width: fit-content; max-width: calc(100% - 4.7em);
  margin: -2.91em 0 0.9em -0.3em;
  padding: 0.3em 1.1em 0.32em 2.35em;
  font-family: var(--font-accent-deco); font-size: 1em; font-weight: 700; line-height: 1.4;
  color: #fff; background: var(--accent-blue); border-radius: 1.01em;
  border-bottom: none;
  box-shadow: 0 2px 0 rgba(51, 112, 170, 0.28);
}

.article-body .study-note > :is(h3, h4):first-child::before {
  content: "✦";
  position: absolute; left: 0.95em; top: 0.3em;
  line-height: 1.4; color: var(--accent-yellow);
}
.article-body .study-note::after {
  content: "✧ ✦ ✧";
  position: absolute; top: 0.55em; right: 1em;
  font-size: 0.85em; letter-spacing: 0.15em; color: var(--accent-yellow);
}
.article-body .study-note > :last-child { margin-bottom: 1em; }

.article-body .footnotes > hr { display: none; }

.article-body .footnotes ol { list-style: none; padding-left: 0; counter-reset: article-fn; }
.article-body .footnotes li { position: relative; padding-left: 2.6em; counter-increment: article-fn; }
.article-body .footnotes li::before {
  content: "[" counter(article-fn) "]";
  position: absolute; left: 0; font-family: var(--font-num);
}

.article-body .footnotes li[id],
.article-body a.footnote-ref[id] {
  scroll-margin-top: 110px;
}
@media (max-width: 560px) {
  .article-body .footnotes li[id],
  .article-body a.footnote-ref[id] {
    scroll-margin-top: 60px;
  }
}

.article-more {
  margin: 2.4em 0 2em;
  padding: 14px 18px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
}
.article-more-heading { margin: 0 0 0.5em; padding: 0; border: 0; font-size: 1em; color: var(--muted); }
.article-more-list { list-style: none; margin: 0; padding: 0; }
.article-more-list li + li { border-top: 1px dotted var(--border); }
.article-more-link {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px;
  padding: 0.55em 0;
  text-decoration: none; color: inherit;
}
.article-more-link:hover .article-more-title,
.article-more-link:focus-visible .article-more-title { color: var(--accent-pink); text-decoration: underline; }
.article-more-link:hover { text-decoration: none; }
.article-more-title { font-weight: 700; line-height: 1.5; }
.article-more-date { font-size: 0.8em; color: var(--muted); white-space: nowrap; }
.article-more-all { margin: 0.7em 0 0; font-size: 0.9em; text-align: right; }

a.article-tag { text-decoration: none; }

#art-track-premium-dialog .subtitle-embargo-dialog-body:not(:last-of-type) {
  margin-bottom: 10px;
}
#art-track-premium-dialog-music {
  font-weight: 700;
}

.sort-toggle {
  display: flex;
  gap: 6px;
  margin: 8px 0 12px;
}
.sort-toggle-btn {
  padding: 3px 12px;
  font-size: 0.88em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.sort-toggle-btn.is-active {
  color: var(--fg);
  border-color: var(--fg);
}

.count-sort-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.count-sort-btn[hidden] {
  display: none;
}
.count-sort-btn:focus-visible {
  outline: 2px solid var(--accent-pink, #ec4899);
  outline-offset: 2px;
  border-radius: 999px;
}


.cite-box {
  margin: 0 0 1.2em;
  padding: 1.1em 1.2em 1.2em;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
}
.cite-box-lead {
  margin: 0 0 0.7em;
  font-size: 0.88em;
  color: var(--muted);
}
.cite-box-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em 0.8em;
}
.cite-box-text {
  flex: 1 1 20em;
  margin: 0;
  padding: 0.7em 0.9em;
  font-family: var(--font-base);
  font-size: 0.9em;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.cite-box-copy {
  flex: none;
}
.cite-box-alt {
  margin-top: 0.8em;
  font-size: 0.9em;
}
.cite-box-alt summary {
  cursor: pointer;
  color: var(--muted);
}
.cite-box-alt .cite-box-item {
  margin-top: 0.5em;
}
.cite-box-note {
  margin: 0.8em 0 0;
  font-size: 0.85em;
  color: var(--muted);
}


:lang(el), :lang(grc) { font-family: "Noto Sans", var(--font-base); }
