/* The paper checklist deliberately keeps its original dark and cream palette. */
.sw-checklist {
  --sw-ink: #fff5d7;
  --sw-muted: #c7bea5;
  --sw-accent: #ef9a38;
  margin: 0 0 24px;
  border: 1px solid var(--c26-border-strong);
  border-radius: 18px;
  overflow: clip;
}
.sw-checklist-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--c26-surface);
  color: var(--c26-text);
  cursor: pointer;
  list-style: none;
}
.sw-checklist-toggle::-webkit-details-marker { display: none; }
.sw-checklist-toggle > span:first-child { flex: 1; min-width: 0; }
.sw-checklist-toggle strong { display: block; font-size: 1.05rem; }
.sw-checklist-toggle small { display: block; margin-top: 5px; color: var(--c26-text-2); line-height: 1.5; }
.sw-checklist-toggle > svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.sw-checklist[open] .sw-checklist-toggle > svg { transform: rotate(180deg); }
.sw-checklist-toggle:focus-visible { outline: 3px solid var(--c26-focus); outline-offset: -5px; }
.sw-checklist-progress { flex: 0 0 auto; font-size: .85rem; font-variant-numeric: tabular-nums; }
.sw-checklist-paper {
  position: relative;
  isolation: isolate;
  padding: 36px clamp(20px, 5vw, 72px) 30px;
  border-inline: 9px solid var(--sw-accent);
  background: radial-gradient(ellipse at 80% 85%, #49463a55, transparent 65%), #1b1b1a;
  color: var(--sw-ink);
}
.sw-checklist-paper::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 260px -20% 10%;
  opacity: .05;
  background: repeating-conic-gradient(from 12deg, #fff7dc 0deg 22deg, transparent 22deg 60deg);
  border-radius: 50%;
  pointer-events: none;
}
.sw-checklist-heading { text-align: center; margin-bottom: 36px; }
.sw-checklist-kicker { font-size: .7rem; text-transform: uppercase; letter-spacing: .17em; color: var(--sw-muted); }
.sw-checklist-logo {
  display: block;
  margin: 20px 0 24px;
  font: 900 clamp(3.2rem, 8vw, 6.5rem)/.77 'Arial Black', Impact, sans-serif;
  letter-spacing: -.07em;
  color: var(--sw-ink);
}
.sw-checklist .sw-checklist-heading h2 {
  margin: 0;
  font: 800 clamp(1.45rem, 3vw, 2.7rem)/1.1 'Arial Narrow', 'Manrope', sans-serif;
  text-transform: uppercase;
  color: var(--sw-ink);
}
.sw-checklist-heading p { margin: 14px auto 0; max-width: 450px; color: var(--sw-muted); font-size: .82rem; line-height: 1.5; }
.sw-checklist-section { margin: 0 0 30px; }
.sw-checklist-section-label { margin: 0 0 16px; text-transform: uppercase; text-align: center; font-weight: 800; font-size: 1.05rem; color: var(--sw-ink); }
.sw-checklist .sw-checklist-section h3 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 8px 14px;
  border: 1px solid #c4bda4;
  background: #fff1c923;
  color: var(--sw-ink);
  font: italic 800 clamp(.9rem, 1.7vw, 1.25rem)/1.3 'Arial Narrow', 'Manrope', sans-serif;
  text-transform: uppercase;
  text-wrap: balance;
  text-align: center;
}
.sw-checklist-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 4vw, 56px); row-gap: 2px; list-style: none; margin: 0; padding: 0; }
.sw-checklist-row { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 3px; min-height: 36px; border-radius: 4px; }
.sw-checklist-row[hidden], .sw-checklist-section[hidden], .sw-checklist-empty[hidden] { display: none; }
.sw-checklist-row[data-owned='1'] { background: #f4dfa512; }
.sw-checklist-form { display: contents !important; }
html[data-theme] body.coberium-site .sw-checklist .sw-checklist-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  height: 36px;
  min-height: 36px;
  padding: 6px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--sw-ink) !important;
  box-shadow: none;
  transform: none;
}
.sw-checklist-mark::before { content: ''; position: absolute; width: 14px; height: 16px; background: var(--sw-ink); clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); }
.sw-checklist-mark svg { position: relative; width: 19px; height: 19px; fill: none; stroke: #201b12; stroke-width: 3; opacity: 0; }
.sw-checklist-mark.is-active::before { width: 22px; height: 24px; background: var(--sw-accent); }
.sw-checklist-mark.is-active svg { opacity: 1; }
.sw-checklist-mark:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: -2px; }
.sw-checklist-mark:disabled { opacity: .45; cursor: wait; }
.sw-checklist-mark.is-error::before { background: #ffb8a5; }
.sw-checklist-number { display: inline; white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--sw-ink); }
.sw-checklist .sw-checklist-name { grid-column: 2; grid-row: 1; min-width: 0; padding: 6px 0; color: var(--sw-ink); font-size: .79rem; line-height: 1.4; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.sw-checklist :is(.sw-checklist-heading p, .sw-checklist-footnote, .sw-checklist-toggle small, .sw-checklist-empty), .coberium-starwars-series .coberium-series-hero-copy p, .fa-album-invite p { font-family: "Inter", system-ui, sans-serif; font-weight: 650; }
.sw-checklist-mark { grid-column: 1; grid-row: 1; }
html[data-theme] body.coberium-site .sw-checklist :is(.sw-checklist-heading h2, .sw-checklist-section h3, .sw-checklist-section-label) { color: var(--sw-ink) !important; }
html[data-theme] body.coberium-site .sw-checklist :is(.sw-checklist-heading p, .sw-checklist-footnote, .sw-checklist-kicker) { color: var(--sw-muted) !important; }
.sw-checklist-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.sw-checklist-name:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 2px; }
.sw-checklist-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; grid-column: 1 / -1; grid-row: 2; color: #ffd3bb; font-size: .75rem; }
.sw-checklist-status[data-error='1'] { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.sw-checklist-status:empty { display: none; }
.sw-checklist .sw-checklist-footnote { margin: 24px 0 0; border-top: 1px solid #706b5c; padding-top: 18px; color: var(--sw-muted); font-size: .8rem; line-height: 1.6; }
.sw-checklist-empty { padding: 24px 0; text-align: center; }
@media (max-width: 640px) {
  .sw-checklist-toggle { gap: 10px; padding: 16px; flex-wrap: wrap; }
  .sw-checklist-toggle > span:first-child { flex-basis: calc(100% - 40px); }
  .sw-checklist-toggle > svg { order: -1; }
  .sw-checklist-progress { padding-left: 30px; }
  .sw-checklist-paper { border-inline-width: 5px; padding: 26px 12px; }
  .sw-checklist-rows { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .sw-checklist-row { grid-template-columns: 44px minmax(0, 1fr); min-height: 44px; }
  html[data-theme] body.coberium-site .sw-checklist .sw-checklist-mark { width: 44px; height: 44px; }
  .sw-checklist .sw-checklist-name { font-size: .84rem; }
}

.fa-album-invite { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; padding:22px; border:1px solid var(--c26-border-strong); border-radius:18px; background:var(--c26-surface); }
.fa-album-invite p { margin:6px 0 0; color:var(--c26-text-2); }
.sw-checklist-preview { position: fixed; z-index: 1400; max-width: min(192px, calc(100vw - 24px)); padding: 6px; border: 1px solid #c4bda4; border-radius: 8px; background: #1b1b1a; box-shadow: 0 12px 36px #0006; pointer-events: none; }
.sw-checklist-preview[hidden] { display: none; }
.sw-checklist-preview img { display: block; width: auto; height: auto; max-width: min(180px, calc(100vw - 38px)); max-height: min(240px, calc(100vh - 38px)); border-radius: 3px; }
