:root {
  color-scheme: dark;
  --paper: #0d2536;
  --ink: #f1f6ff;
  --line: #355069;
  --muted: #b8c8e0;
  --accent: #eafa96;
  --panel: #122e43;
  --darker: #081c2b;
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; }
::selection { color: var(--paper); background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.035em; }
h2 { font-size: clamp(1.62rem, 3.8vw, 2.55rem); text-wrap: balance; margin-bottom: 1rem; }
h3 { font-size: clamp(1.12rem, 2.2vw, 1.43rem); margin: 1.1rem 0 .55rem; }
p { max-width: 72ch; }
small, time { font-size: .875rem; color: var(--muted); }
summary { cursor: pointer; padding: .8rem 1rem; font-weight: 650; }
details { border: 1px solid var(--line); border-radius: 8px; }
details > p { padding-inline: 1rem; }
.mcd3624-layout { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.mcd3624-skip { position: fixed; top: .4rem; left: .6rem; transform: translateY(-150%); z-index: 4; background: var(--paper); padding: .75rem; }
.mcd3624-skip:focus { transform: none; }
.mcd3624-masthead { border-bottom: 1px solid var(--line); background: var(--darker); }
.mcd3624-top, .mcd3624-wordmark, .mcd3624-primary { display: flex; align-items: center; }
.mcd3624-top { min-height: 73px; justify-content: space-between; gap: 1rem; position: relative; }
.mcd3624-wordmark { width: fit-content; text-decoration: none; gap: .65rem; color: var(--ink); font-weight: 800; line-height: 1.2; }
.mcd3624-wordmark svg { flex-shrink: 0; }
.mcd3624-primary { gap: clamp(.8rem, 3vw, 2.4rem); margin-left: auto; }
.mcd3624-primary a, .mcd3624-menu a { font-size: .875rem; text-decoration: none; color: var(--ink); }
.mcd3624-primary a:hover, .mcd3624-menu a:hover { color: var(--accent); }
.mcd3624-menu nav { background: var(--darker); border: 1px solid var(--line); display: grid; position: absolute; right: 0; top: calc(100% - .1rem); width: min(19rem, 100%); z-index: 2; padding: .6rem; border-radius: 8px; }
.mcd3624-menu a { padding: .4rem .6rem; }
.mcd3624-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 1rem 0; font-size: .875rem; color: var(--muted); }
.mcd3624-crumbs li + li::before { content: "/"; margin-right: .55rem; opacity: .75; }
.mcd3624-crumbs a { color: var(--muted); }
.mcd3624-hero { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--darker); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.mcd3624-hero-text { padding: clamp(1.4rem, 3.6vw, 3.3rem); align-self: center; }
.mcd3624-hero h1 { font-size: clamp(2.2rem, 4.65vw, 4.1rem); line-height: 1.01; letter-spacing: -.055em; }
.mcd3624-hero h1 span { display: block; color: var(--accent); }
.mcd3624-hero img { width: 100%; height: 100%; object-fit: cover; }
[data-bullets] { padding: 0; margin: 1.15rem 0 1.4rem; list-style: none; color: var(--muted); }
[data-bullets] li { animation: rise .56s ease-out both; display: flex; align-items: baseline; gap: .55rem; }
[data-bullets] li:nth-child(2) { animation-delay: .08s; }
[data-bullets] li:nth-child(3) { animation-delay: .16s; }
[data-bullets] li::before { content: ""; background: var(--accent); width: .38rem; height: .38rem; transform: rotate(45deg); flex: 0 0 .38rem; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.mcd3624-cta, .mcd3624-review-link { display: inline-block; text-align: center; text-decoration: none; border-radius: 8px; font-weight: 700; padding: .6rem 1rem; }
.mcd3624-cta { color: #12251c; background: var(--accent); }
.mcd3624-review-link { color: var(--accent); border: 1px solid var(--line); }
.mcd3624-review-link:hover { border-color: var(--accent); }
.mcd3624-intro, .mcd3624-contents { background: var(--panel); margin-top: 1rem; }
.mcd3624-byline { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.mcd3624-byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.mcd3624-byline small { display: block; }
.mcd3624-byline time { margin-left: auto; }
.mcd3624-chapter { padding: clamp(1.8rem, 4vw, 3.4rem) 0; border-bottom: 1px solid var(--line); }
.mcd3624-ranking { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: .55rem; }
.mcd3624-ranking li { display: grid; grid-template-columns: 2rem 5.1rem minmax(7rem, .72fr) minmax(11rem, 1fr) auto; align-items: center; gap: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: .75rem; }
.mcd3624-ranking small { display: block; line-height: 1.35; }
.mcd3624-ranking p { margin: 0; font-size: .9rem; font-weight: 650; }
.mcd3624-number { color: var(--accent); font-variant-numeric: tabular-nums; }
.mcd3624-brand-tile { min-height: 3.25rem; background: var(--darker); border-radius: 6px; display: grid; place-items: center; }
.mcd3624-brand-tile img { width: 5rem; max-height: 3.25rem; object-fit: contain; }
.mcd3624-notice { border: 1px solid var(--line); padding: .9rem 1rem; background: var(--darker); border-radius: 8px; }
.mcd3624-notice p { margin: .25rem 0 0; }
.mcd3624-contents ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem 1.5rem; padding: 0 1rem 1rem 2.25rem; }
.mcd3624-criteria, .mcd3624-people { display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.mcd3624-criteria > div { border-top: 1px solid var(--line); }
.mcd3624-dossier + .mcd3624-dossier { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; }
.mcd3624-dossier details { max-width: 720px; }
.mcd3624-dossier details img { width: 100%; }
.mcd3624-reference { color: var(--accent); }
.mcd3624-wide-image { max-width: 900px; }
.mcd3624-wide-image img { border-radius: 8px; width: 100%; }
figcaption { color: var(--muted); padding-top: .55rem; font-size: .875rem; }
.mcd3624-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); gap: .9rem; }
.mcd3624-slots img { width: 100%; border-radius: 8px; }
.mcd3624-slot-set { max-width: 900px; }
.mcd3624-faq { margin-top: .6rem; }
.mcd3624-people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mcd3624-people figure > img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 8px; }
.mcd3624-people figcaption strong, .mcd3624-people figcaption span { display: block; }
.mcd3624-people figcaption strong { color: var(--ink); font-size: 1rem; }
.mcd3624-muted { color: var(--muted); }
table { width: 100%; max-width: 930px; border-collapse: collapse; text-align: left; table-layout: fixed; margin: 1.3rem 0; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 700; margin-bottom: .55rem; }
td, th { padding: .66rem .8rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: top; }
thead { background: var(--panel); color: var(--accent); }
tbody th { font-weight: 600; }
.mcd3624-policy { max-width: 820px; padding-bottom: 2rem; }
.mcd3624-policy h1 { margin-block: .6rem 1.2rem; font-size: clamp(2rem, 5vw, 3.8rem); }
.mcd3624-foot { background: var(--darker); margin-top: 2rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.mcd3624-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.2rem; }
.mcd3624-footer-grid nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding-top: .55rem; }
.mcd3624-footer-grid nav a, .mcd3624-footnote { font-size: .875rem; color: var(--muted); }
.mcd3624-footnote { border-top: 1px solid var(--line); margin-top: 1.4rem; }
.mcd3624-paylist, .mcd3624-social { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; padding: 0; align-items: center; }
.mcd3624-social { padding-inline: 1rem; }
.mcd3624-paylist img { max-height: 1.45rem; width: auto; }
@media (max-width: 760px) {
  .mcd3624-layout { width: calc(100% - 1.5rem); }
  .mcd3624-primary { display: none; }
  .mcd3624-hero { grid-template-columns: 1fr; }
  .mcd3624-hero h1 { font-size: clamp(2.18rem, 9.5vw, 4.2rem); }
  .mcd3624-hero img { aspect-ratio: 2.1; height: auto; }
  .mcd3624-hero-text { text-align: center; }
  [data-bullets] li { text-align: center; flex-direction: column; align-items: center; gap: .2rem; margin-top: .4rem; }
  [data-bullets] li::before { flex-basis: .38rem; }
  .mcd3624-ranking li { grid-template-columns: 1.6rem 4rem minmax(0,1fr); gap: .55rem; }
  .mcd3624-ranking p { grid-column: 2 / -1; }
  .mcd3624-review-link { grid-column: 2 / -1; }
  .mcd3624-criteria, .mcd3624-contents ul { grid-template-columns: 1fr; }
  .mcd3624-people { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mcd3624-footer-grid { grid-template-columns: 1fr; }
  table, tbody, tr, td, tbody th { display: block; }
  thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  tbody tr { border: 1px solid var(--line); margin-top: .55rem; border-radius: 8px; }
  tbody th { background: var(--panel); }
  td { border-bottom: 0; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: .55rem; padding-block: .4rem; }
  td::before { content: attr(data-label); color: var(--muted); font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { [data-bullets] li { animation: none; } }

.mcd3624-image-link { display: block; width: fit-content; max-width: 100%; }
.mcd3624-hero > .mcd3624-image-link { width: 100%; min-width: 0; }
.mcd3624-people .mcd3624-image-link, .mcd3624-slots .mcd3624-image-link { width: 100%; }
.mcd3624-people .mcd3624-image-link img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 8px; }
.mcd3624-rank-actions { display: grid; gap: .35rem; text-align: center; }
.mcd3624-score { color: var(--accent); }
@media (max-width: 760px) { .mcd3624-rank-actions { grid-column: 2 / -1; } }

#directory table { max-width: none; }
@media (min-width: 761px) {
  #directory th:first-child { width: 4rem; }
  #directory th:nth-child(2) { width: 15%; }
  #directory th:nth-child(3) { width: 23%; }
  #directory th:nth-child(4) { width: 23%; }
}
@media (max-width: 760px) {
  .mcd3624-ranking li > div:nth-child(4) { grid-column: 2 / -1; }
}
