/* Only the existing Battle Pass article loads these reward-track styles. */
.dw-pass-tracks { margin-top: 24px; }
.dw-pass-heads, .dw-pass-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dw-pass-heads { margin-bottom: 18px; }
.dw-pass-heads > span { padding: 10px 14px; border: 1px solid var(--dw-border); border-radius: 6px; color: var(--dw-heading); background: var(--dw-raised); font-weight: 700; }
.dw-pass-heads > span:last-child { color: var(--dw-link); border-color: var(--dw-accent); }
.dw-pass-heads small { display: block; color: var(--dw-muted); font-size: 11px; font-weight: 400; }
.dw-pass-level { margin-bottom: 20px; }
.dw-pass-level > h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 9px; color: var(--dw-muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.dw-pass-level > h3::after { content: ''; flex: 1; height: 1px; background: var(--dw-border); }
.dw-pass-pair { grid-template-rows: auto auto auto 24px; row-gap: 8px; }
.dw-site .dw-pass-card { grid-row: span 4; display: grid; grid-template-rows: subgrid; justify-items: start; align-items: start; min-width: 0; width: 100%; padding: 12px; border: 1px solid var(--dw-border); border-radius: 6px; background: var(--dw-raised); color: var(--dw-text); text-align: left; line-height: 1.35; }
.dw-pass-card--vip { box-shadow: inset 0 2px 0 var(--dw-accent); }
.dw-site .dw-pass-card:hover, .dw-site .dw-pass-card[aria-expanded="true"] { background: var(--dw-hover); border-color: var(--dw-accent); }
.dw-pass-entries { display: grid; gap: 9px; width: 100%; align-self: start; }
.dw-pass-entry { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; }
.dw-pass-entry img { flex: 0 0 32px; width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.dw-pass-entry > span { min-width: 0; overflow-wrap: anywhere; }
.dw-pass-card > strong { align-self: start; font-size: 13px; color: var(--dw-heading); overflow-wrap: anywhere; }
.dw-pass-amount { font-size: 11px; color: var(--dw-muted); }
.dw-pass-more { display: flex; align-items: center; justify-content: space-between; align-self: end; width: 100%; color: var(--dw-link); font-size: 11px; }
.dw-pass-more span { font-size: 16px; line-height: 1; }
.dw-pass-card[aria-expanded="true"] .dw-pass-more span { transform: rotate(45deg); }
.dw-pass-empty { grid-row: span 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 18px 12px; border: 1px dashed var(--dw-border); border-radius: 6px; color: var(--dw-muted); text-align: center; font-size: 11px; }
.dw-pass-empty > span:first-child { font-size: 22px; }
.dw-pass-detail { margin-top: 10px; padding: 16px; border: 1px solid var(--dw-accent); border-radius: 6px; background: var(--dw-surface); }
.dw-pass-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dw-pass-detail h4 { margin: 0; font-size: 13px; color: var(--dw-link); }
.dw-pass-detail h5 { margin: 15px 0 8px; font-size: 13px; color: var(--dw-heading); }
.dw-pass-detail p { margin: 4px 0; font-size: 12px; line-height: 1.6; color: var(--dw-muted); }
.dw-site .dw-pass-detail-heading button { width: 44px; height: 44px; margin: -10px -10px -10px 0; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--dw-text); font-size: 24px; }
.dw-site .dw-pass-detail-heading button:hover { background: var(--dw-hover); }
.dw-pass-detail ul.dw-pass-items { display: grid; gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; }
.dw-pass-items li { display: flex; align-items: start; gap: 12px; margin: 0; min-width: 0; }
.dw-pass-items li + li { padding-top: 12px; border-top: 1px solid var(--dw-border); }
.dw-pass-items img { flex: 0 0 40px; object-fit: contain; image-rendering: pixelated; }
.dw-pass-items li > div { min-width: 0; }
.dw-pass-items strong { color: var(--dw-heading); font-size: 12px; overflow-wrap: anywhere; }
/* Older engines without subgrid retain aligned icon and bottom detail targets. */
@supports not (grid-template-rows: subgrid) {
  .dw-pass-pair { grid-template-rows: auto; }
  .dw-site .dw-pass-card { grid-row: auto; grid-template-rows: auto 1fr auto 24px; gap: 8px; }
  .dw-pass-empty { grid-row: auto; }
}
@media (max-width: 480px) {
  .dw-pass-heads, .dw-pass-pair { column-gap: 8px; }
  .dw-pass-heads > span { padding: 9px 10px; font-size: 14px; }
  .dw-site .dw-pass-card { padding: 10px; }
  .dw-pass-card > strong { font-size: 12px; }
  .dw-pass-entry { flex-direction: column; align-items: start; gap: 3px; font-size: 11px; }
  .dw-pass-detail { padding: 12px; }
  .dw-pass-items li { gap: 8px; }
}
@media print {
  .dw-pass-detail[hidden] { display: block !important; }
  .dw-pass-detail-heading button, .dw-pass-more { display: none; }
  .dw-pass-level { break-inside: avoid; }
}
