/* Tournament archive: scoped to Meta Lowdown. */
.dlc-band { background: #0e0b17; }
.dlc-section { padding-block: 84px 64px; scroll-margin-top: 110px; color: #f4f1fa; }
.dlc-section [hidden] { display: none !important; }
.dlc-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.dlc-heading .eyebrow { color: #bba7d1; }
.dlc-heading h2 { margin: 12px 0 0; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.03; letter-spacing: -.055em; }
.dlc-heading h2 em { color: #b89aff; font-style: normal; }
.dlc-heading > p { max-width: 330px; margin: 0 0 5px; font-size: 1rem; line-height: 1.7; color: #b7b3c8; }
.dlc-controls { display: flex; align-items: end; gap: 16px; padding: 20px; border: 1px solid #353044; background: #12101e; border-radius: 18px; }
.dlc-controls label { display: grid; gap: 9px; min-width: 116px; color: #bdb5cd; font-size: .8rem; font-weight: 700; }
.dlc-controls .dlc-event-control { flex: 1; min-width: 0; }
.dlc-controls select { width: 100%; min-height: 48px; color: #f7f4fd; background: #201a30; border: 1px solid #4a3e61; border-radius: 9px; padding: 10px 34px 10px 14px; font: inherit; font-size: .95rem; text-overflow: ellipsis; }
.dlc-controls option { color: #f7f4fd; background: #201a30; }
.dlc-status { min-height: 22px; margin: 16px 0 28px; color: #aaa2bc; font-size: .78rem; line-height: 1.6; }
.dlc-event-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 24px; }
.dlc-kicker { margin: 0 0 10px; color: #bcb0d6; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; line-height: 1.6; }
.dlc-event-heading h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.04em; line-height: 1.15; }
.dlc-event-heading p:last-child { color: #b5aec5; font-size: .85rem; margin-bottom: 0; }
.dlc-coverage { display: grid; gap: 3px; flex-shrink: 0; text-align: right; }
.dlc-coverage strong { font-size: 2rem; font-weight: 800; line-height: 1; }
.dlc-coverage strong span { color: #756d87; font-size: 1.1rem; }
.dlc-coverage > span, .dlc-coverage small { color: #b6adc7; font-size: .72rem; }
.dlc-notice { padding: 14px 18px; border-left: 2px solid #a17bee; border-radius: 0 8px 8px 0; background: #181324; color: #c9bfd9; font-size: .84rem; line-height: 1.6; margin: 0 0 22px; }
.dlc-champion { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); min-height: 300px; overflow: hidden; padding: 36px 40px; border: 1px solid #766044; border-radius: 20px; background: radial-gradient(ellipse at 90% 25%, #59402d66, transparent 60%), linear-gradient(120deg, #231c32, #171122); box-shadow: inset 0 1px 0 #eac98b21; }
.dlc-champion-copy { position: relative; z-index: 1; align-self: center; }
.dlc-champion .dlc-kicker { color: #edc985; }
.dlc-champion h3 { margin: 0 0 16px; font-size: clamp(1.9rem, 3.3vw, 3.3rem); line-height: 1.1; letter-spacing: -.05em; overflow-wrap: anywhere; }
.dlc-champion-copy > p:not(.dlc-kicker) { margin: 12px 0 22px; color: #c2b7cc; font-size: .95rem; }
.dlc-champion-art { display: flex; justify-content: center; align-items: center; min-width: 0; padding: 18px; }
.dlc-champion-art img { width: min(38%, 145px); aspect-ratio: .714; object-fit: cover; border-radius: 9px; box-shadow: 0 12px 35px #0009; border: 1px solid #c4a06b66; transform: rotate(-11deg) translateY(7px); }
.dlc-champion-art img + img { margin-left: -32px; transform: rotate(1deg) translateY(-8px); z-index: 1; }
.dlc-champion-art img + img + img { transform: rotate(12deg) translateY(7px); z-index: 0; }
.dlc-champion-number { color: #eaca8644; font-size: clamp(7rem, 15vw, 13rem); font-weight: 900; line-height: 1; letter-spacing: -.1em; padding-right: .1em; }
.dlc-button { display: inline-flex; gap: 15px; justify-content: center; align-items: center; min-height: 44px; padding: 11px 17px; border: 1px solid #6a518d; border-radius: 8px; background: #342449; color: #f6edff; font: inherit; font-size: .82rem; font-weight: 750; cursor: pointer; }
.dlc-button:hover { background: #48315e; border-color: #c19eee; }
.dlc-button-gold { background: #e9c788; border-color: #e9c788; color: #231923; }
.dlc-button-gold:hover { color: #1c1420; background: #f8dba5; border-color: #f8dba5; }
.dlc-section :is(button, select, a, summary):focus-visible, .dlc-art-dialog button:focus-visible { outline: 3px solid #dac2ff; outline-offset: 4px; }
.dlc-ready { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 20px 0 0; }
.dlc-ready > span { color: #b7aec6; font-size: .75rem; margin-right: 5px; }
.dlc-ready button { font: inherit; font-size: .76rem; color: #dcc5ff; border: 1px solid #4c3c63; background: #20172d; border-radius: 30px; min-height: 44px; padding: 9px 14px; cursor: pointer; }
.dlc-ready button:hover { background: #38234e; }
.dlc-top-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 32px 0 15px; }
.dlc-top-heading h3 { margin: 0; font-size: 1.2rem; }
.dlc-top-heading p { margin: 0; color: #aaa1b9; font-size: .78rem; }
.dlc-players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.dlc-player { --dlc-accent: #a882ed; border: 1px solid #3c324d; border-top: 2px solid var(--dlc-accent); border-radius: 12px; background: linear-gradient(125deg, #1c162a, #15111f); min-width: 0; scroll-margin-top: 110px; }
.dlc-accent-amber { --dlc-accent: #d8a437; }.dlc-accent-emerald { --dlc-accent: #48b685; }.dlc-accent-ruby { --dlc-accent: #e26677; }.dlc-accent-sapphire { --dlc-accent: #579fd2; }.dlc-accent-steel { --dlc-accent: #a4b1c2; }
.dlc-player summary { display: flex; align-items: center; gap: 15px; padding: 20px; min-height: 132px; list-style: none; cursor: pointer; border-radius: 10px; }
.dlc-player summary::-webkit-details-marker { display: none; }
.dlc-player summary:hover { background: #ffffff05; }
.dlc-player[open] { grid-column: 1 / -1; border-color: #8a65b7; }
.dlc-player[open] summary { min-height: 100px; }
.dlc-placement { width: 49px; flex-shrink: 0; font-size: .78rem; font-weight: 800; color: #d5c8e7; text-align: center; line-height: 1.5; }
.dlc-placement-gold { color: #edc985; }
.dlc-coverage .dlc-upcoming { font-size: 1.2rem; }
.dlc-player-copy { display: grid; gap: 9px; min-width: 0; flex: 1; }
.dlc-player-copy > strong { font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.dlc-inks { display: flex; flex-wrap: wrap; gap: 7px 12px; color: #d8cee5; font-size: .72rem; font-weight: 650; }
.dlc-inks > span { display: inline-flex; align-items: center; gap: 6px; }
.dlc-inks .meta-ink { width: 10px; height: 10px; }
.dlc-archetype, .dlc-muted { color: #ada3be; font-size: .74rem; }
.dlc-player-action { display: grid; justify-items: end; gap: 12px; max-width: 100px; font-size: .7rem; text-align: right; color: #baa4d4; }
.dlc-player-action i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 1px solid #5a436e; font-size: 1.3rem; font-style: normal; line-height: 1; }
.dlc-player[open] .dlc-player-action i { transform: rotate(45deg); }
.dlc-deck { border-top: 1px solid #3a2d4b; padding: 22px; }
.dlc-deck-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.dlc-deck-toolbar strong { font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.dlc-deck-toolbar p { margin: 5px 0 0; color: #b5a9c5; font-size: .8rem; line-height: 1.6; }
.dlc-deck-toolbar button { flex-shrink: 0; }
.dlc-card-group { margin: 20px 0 0; }
.dlc-card-group h4 { margin: 0 0 10px; display: flex; gap: 10px; align-items: center; color: #dbcdec; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.dlc-card-group h4 span { color: #a99ab9; font-size: .7rem; }
.dlc-card-group ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dlc-card-group li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; min-width: 0; min-height: 68px; background: #ffffff04; border: 1px solid #ffffff08; border-radius: 7px; }
.dlc-quantity { flex-shrink: 0; color: #ddc5ff; font-size: .85rem; min-width: 22px; }
.dlc-card-art { padding: 0; border: 0; background: transparent; flex-shrink: 0; width: 34px; height: 48px; cursor: zoom-in; }
.dlc-card-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.dlc-card-cost { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border: 1px solid #71607e; border-radius: 50%; color: #cebdda; font-size: .74rem; }
.dlc-card-name { font-size: .78rem; line-height: 1.35; overflow-wrap: anywhere; }
.dlc-card-name small { display: block; color: #a89ab8; font-size: .65rem; margin-top: 5px; }
.dlc-pending { padding: 6px 0; }.dlc-pending strong { color: #ddc6f3; font-size: .95rem; }.dlc-pending p { margin: 8px 0 0; color: #b6a8c6; font-size: .84rem; line-height: 1.6; }
.dlc-unconfirmed { display: flex; gap: 18px; align-items: center; margin-top: 12px; padding: 22px; border: 1px dashed #554164; border-radius: 12px; color: #bba9ce; }
.dlc-unconfirmed > span { font-size: 2rem; }.dlc-unconfirmed strong { font-size: .85rem; }.dlc-unconfirmed p { margin: 7px 0 0; font-size: .8rem; line-height: 1.6; }
.dlc-footnote { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid #32263f; margin-top: 32px; padding-top: 24px; }
.dlc-footnote p { margin: 0; max-width: 620px; color: #a89bb9; font-size: .75rem; line-height: 1.75; }.dlc-footnote a { color: #c7a9ee; font-size: .78rem; line-height: 1.5; }
.dlc-copy-label { display: grid; gap: 10px; margin-top: 20px; font-size: .82rem; color: #d5c6e4; }
.dlc-copy-label textarea { width: 100%; resize: vertical; border: 1px solid #8c70a3; border-radius: 8px; padding: 12px; color: #f6efff; background: #171020; font: inherit; line-height: 1.6; }
.dlc-art-dialog { max-width: min(90vw, 420px); width: 100%; max-height: 92dvh; border: 1px solid #9774bc; border-radius: 16px; background: #181121; color: #f5ebff; padding: 20px; box-shadow: 0 20px 80px #000c; }
.dlc-art-dialog::backdrop { background: #08050ddb; backdrop-filter: blur(5px); }
.dlc-art-dialog form { display: flex; justify-content: end; }.dlc-art-dialog h2 { font-size: 1rem; line-height: 1.5; margin: 16px 0; }.dlc-art-dialog > img { display: block; width: 100%; max-height: 65dvh; object-fit: contain; border-radius: 10px; }
.dlc-art-unavailable { opacity: .45; }
@media (max-width: 1000px) {
  .dlc-card-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlc-player summary { padding: 16px; gap: 10px; }.dlc-placement { width: 38px; }
  .dlc-player-action { max-width: 80px; }.dlc-champion { padding: 28px; }
}
@media (max-width: 680px) {
  .dlc-section { padding-block: 52px 35px; }.dlc-heading { display: block; }.dlc-heading > p { margin-top: 22px; max-width: 100%; }
  .dlc-controls { gap: 12px; padding: 14px; flex-wrap: wrap; }.dlc-controls label { flex: 1; min-width: 0; }.dlc-controls .dlc-event-control { flex-basis: 100%; }
  .dlc-event-heading { align-items: start; gap: 14px; }.dlc-event-heading h3 { font-size: 1.7rem; }.dlc-coverage { margin-top: 3px; }.dlc-coverage > span { max-width: 80px; }
  .dlc-champion { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 25px; }.dlc-champion-art { padding: 26px 16px 0; }.dlc-champion-art img { width: 32%; max-width: 110px; }
  .dlc-champion-art:has(.dlc-champion-number) { position: absolute; right: 10px; bottom: 12px; opacity: .3; pointer-events: none; }.dlc-champion-number { font-size: 8rem; }
  .dlc-players { grid-template-columns: minmax(0, 1fr); }.dlc-player summary { min-height: 116px; }.dlc-player-action { max-width: 88px; }.dlc-player-copy > strong { font-size: .95rem; }
  .dlc-top-heading { display: block; }.dlc-top-heading p { margin-top: 8px; }.dlc-ready { gap: 8px; }.dlc-ready > span { flex-basis: 100%; }
  .dlc-deck { padding: 16px; }.dlc-deck-toolbar { align-items: start; flex-direction: column; gap: 14px; }.dlc-card-group ul { grid-template-columns: minmax(0, 1fr); }
  .dlc-footnote { align-items: start; flex-direction: column; gap: 20px; }
}


/* Verified tournament portraits accompany player names without replacing deck art. */
.dlc-champion-with-photo { grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr) minmax(180px, .65fr); gap: 28px; }
.dlc-champion-portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; align-self: center; border-radius: 14px; border: 1px solid #dcb77b80; box-shadow: 0 14px 36px #0006; }
.dlc-champion-with-photo .dlc-champion-art { padding: 10px 0; }
.dlc-player-portrait { width: 56px; height: 56px; flex: 0 0 56px; object-fit: cover; border-radius: 10px; border: 1px solid #dcb77b60; }
.dlc-portrait-crop { position: relative; display: block; overflow: clip; }
.dlc-portrait-crop[hidden] { display: none; }
.dlc-portrait-crop > img { position: absolute; max-width: none; object-fit: fill; border: 0; border-radius: 0; }
@media (max-width: 1000px) {
  .dlc-champion-with-photo { grid-template-columns: minmax(160px, .65fr) minmax(0, 1fr); gap: 24px; }
  .dlc-champion-with-photo .dlc-champion-art { grid-column: 1 / -1; padding: 12px 0 0; }
}
@media (max-width: 680px) {
  .dlc-champion-with-photo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .dlc-champion-portrait { max-width: 320px; justify-self: center; }
  .dlc-champion-with-photo .dlc-champion-art { padding-top: 0; }
  .dlc-player-portrait { width: 42px; height: 42px; flex-basis: 42px; }
  .dlc-player:has(.dlc-player-portrait) summary { flex-wrap: wrap; }
  .dlc-player:has(.dlc-player-portrait) .dlc-player-action { flex-basis: 100%; max-width: none; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
}

/* Full player-card crops keep the printed name, country and ink symbols readable. */
.dlc-player:has(.dlc-portrait-full-card:not([hidden])) summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 20px 14px;
}
.dlc-player .dlc-player-portrait.dlc-portrait-full-card {
  grid-column: 1 / -1;
  grid-row: 1;
  width: min(100%, 340px);
  height: auto;
  flex: none;
  justify-self: center;
}
.dlc-player:has(.dlc-portrait-full-card:not([hidden])) .dlc-player-copy { min-width: 0; }
.dlc-champion-portrait.dlc-portrait-full-card { max-width: 340px; justify-self: center; }
@media (max-width: 680px) {
  .dlc-player:has(.dlc-portrait-full-card:not([hidden])) summary { grid-template-columns: 38px minmax(0, 1fr); gap: 16px 12px; }
  .dlc-player:has(.dlc-portrait-full-card:not([hidden])) .dlc-player-action { grid-column: 1 / -1; }
}

.dlc-placement-qualified { width: 65px; font-size: .72rem; }

/* Daily leader is separate from the popularity grid and tournament archive. */
.core-leader-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.core-leader-links a { color: #dec2ff; font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.meta-leader [data-core-status] { font-weight: 700; color: #e7dcef; }
.meta-leader [data-core-detail] { font-size: .78rem; line-height: 1.6; }
