  :root {
    --bg: #07080d;
    --panel: #0d0f17;
    --panel-2: #11141d;
    --line: rgba(255,255,255,0.06);
    --text: #e6e9f2;
    --muted: #8a91a6;
    --cyan: #22d3ee;
    --purple: #a855f7;
    --emerald: #10b981;
    --rose: #f43f5e;
  }
  html, body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; }
  .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
  .panel { background: var(--panel); border: 1px solid var(--line); }
  .glow-cyan    { box-shadow: 0 0 24px -8px #22d3ee66; }
  .glow-purple  { box-shadow: 0 0 24px -8px #a855f766; }
  .glow-emerald { box-shadow: 0 0 24px -8px #10b98166; }
  .glow-rose    { box-shadow: 0 0 24px -8px #f43f5e66; }
  .border-cyan    { border-color: rgba(34,211,238,0.35); }
  .border-purple  { border-color: rgba(168,85,247,0.35); }
  .border-emerald { border-color: rgba(16,185,129,0.35); }
  .border-rose    { border-color: rgba(244,63,94,0.35); }
  .row:hover { background: var(--panel-2); }
  .pulse-dot::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 999px;
    background: #10b981;
    margin-right: 8px;
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
  }
  .grid-bg {
    background-image:
      radial-gradient(circle at 50% -20%, rgba(34,211,238,0.10), transparent 40%),
      radial-gradient(circle at 100% 100%, rgba(168,85,247,0.08), transparent 50%);
  }
  .deck-cards { display: inline-flex; align-items: center; }
  .deck-cards .card-slot {
    display: inline-block;
    width: 88px;
    height: 51px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0a0c12;
    position: relative;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
  .deck-cards .card-slot + .card-slot { margin-left: 4px; }
  .deck-cards .card-img {
    display: block;
    position: absolute;
    width: 113px;
    max-width: none;
    height: auto;
    top: -22px;
    left: -12px;
    image-rendering: high-quality;
  }
  .deck-cards .card-slot:hover {
    border-color: rgba(255,255,255,0.18);
  }
  .deck-cards .card-slot .new-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 5;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    padding: 2px 4px;
    border-radius: 3px;
    background: #000;
    color: #f43f5e;
    text-transform: uppercase;
    pointer-events: none;
    border: 1px solid rgba(244,63,94,0.6);
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  }
  .deck-fallback {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    padding: 2px 6px;
    border-radius: 4px;
    background: #11141d;
    border: 1px solid var(--line);
  }
  .stat-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
    gap: 1px;
  }
  .stat-stack .stat-share { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; font-weight: 600; color: var(--text); }
  .stat-stack .stat-wr { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 2px; }
  .stat-stack .stat-ev { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; font-weight: 600; }
    .rank-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .rank-delta {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 2px;
  }
  .rank-num {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
  }

  .trending-toggle {
    display: inline-flex;
    background: #11141d;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px;
    gap: 2px;
  }
  .trending-toggle button {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    color: var(--muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  }
  .trending-toggle button:hover { color: var(--text); }
  .trending-toggle button.is-active {
    background: rgba(255,255,255,0.04);
  }

  .help-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.35);
    color: rgba(255,255,255,0.7);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    cursor: help;
    user-select: none;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  }
  .help-icon:hover,
  .help-icon:focus-visible {
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    background: rgba(0,0,0,0.55);
    outline: none;
  }
  .help-icon[data-tooltip]:hover::after,
  .help-icon[data-tooltip]:focus-visible::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    max-width: 80vw;
    padding: 10px 12px;
    background: #07080d;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    pointer-events: none;
  }

  .deck-table {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 60px 60px;
    column-gap: 8px;
    align-items: stretch;
  }
  .deck-table > .thead,
  .deck-table > .row { display: contents; }
  .deck-table > .thead > button {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 8px 2px;
    text-align: left;
    cursor: pointer;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    transition: color 0.15s ease;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .deck-table > .thead > button:hover { color: var(--text); }
  .deck-table > .thead > button.is-sorted { color: var(--text); }
  .deck-table > .thead > .th-rank,
  .deck-table > .thead > .th-share,
  .deck-table > .thead > .th-wr { text-align: center; }
  .deck-table > .row > .cell {
    padding: 10px 4px;
    border-top: 1px solid var(--line);
    transition: background 0.1s ease;
    display: flex;
    align-items: center;
  }
  .deck-table > .row:hover > .cell { background: var(--panel-2); }
  .load-more-btn {
    appearance: none;
    width: 100%;
    padding: 14px 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  }
  .load-more-btn:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.18);
    background: #161a25;
  }
  .cell-rank { display: flex; justify-content: center; }
  .cell-share, .cell-wr { text-align: center; }

  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(6px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.15s ease-out;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .deck-detail-shell {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
    max-width: min(96vw, 1500px);
    max-height: 90vh;
    overflow: auto;
    padding: 22px 26px 26px;
    animation: popIn 0.18s ease-out;
  }
  @keyframes popIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
  }
  .deck-detail-shell .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }
  .deck-detail-shell .modal-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
  }
  .deck-detail-shell .modal-close {
    appearance: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  .deck-detail-shell .modal-close:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
  .sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  .topbar {
    display: flex; align-items: center; gap: 16px;
  }
  .topbar-brand {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; color: inherit;
    flex: 0 0 auto;
  }
  .topbar-search {
    flex: 1 1 auto;
    display: flex; justify-content: center;
    min-width: 0;
  }
  .topbar-actions {
    display: flex; align-items: center; gap: 8px;
    flex: 0 0 auto;
  }
  @media (max-width: 760px) {
    .topbar { flex-wrap: wrap; gap: 10px; }
    .topbar-search { order: 3; flex: 1 1 100%; }
  }
  .deck-search {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    max-width: 520px;
  }
  .deck-search-input {
    width: 100%;
    padding: 9px 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  .deck-search-input::placeholder { color: var(--muted); }
  .deck-search-input:focus {
    border-color: rgba(34,211,238,0.5);
    background: var(--panel-2);
  }
  .deck-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    width: 100%;
    max-height: 420px;
    overflow-y: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 40px -10px rgba(0,0,0,0.6);
    z-index: 50;
    display: none;
  }
  .deck-search.is-open .deck-search-results { display: block; }
  .deck-search-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    text-decoration: none; color: inherit;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
    transition: background 0.1s ease;
  }
  .deck-search-item:last-child { border-bottom: 0; }
  .deck-search-item:hover,
  .deck-search-item.is-active {
    background: var(--panel-2);
  }
  .deck-search-item .deck-cards { flex: 0 0 auto; }
  .deck-search-name {
    flex: 1 1 auto; min-width: 0;
    font-size: 13px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .deck-search-rank {
    flex: 0 0 auto;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px; color: var(--muted);
  }
  .deck-search-empty {
    padding: 14px; text-align: center;
    font-size: 12px; color: var(--muted);
  }
  .deck-search-see-all {
    display: flex; align-items: center; justify-content: center;
    padding: 10px 12px;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--cyan);
    text-decoration: none;
    background: rgba(34,211,238,0.05);
    border-top: 1px solid var(--line);
    transition: background 0.15s ease, color 0.15s ease;
  }
  .deck-search-see-all:hover {
    background: rgba(34,211,238,0.12);
    color: var(--text);
  }
  .deck-detail-shell .dl-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 6px;
    padding: 14px 4px 4px;
    width: 100%;
    justify-content: flex-start;
  }
  .deck-detail-shell .dl-slot {
    position: relative;
    flex: 0 0 auto;
    width: 76px;
    aspect-ratio: 132 / 184;
    transition: transform 0.15s ease;
  }
  .deck-detail-shell .dl-slot:hover { transform: translateY(-3px); z-index: 2; }
  .deck-detail-shell .dl-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0d0f17;
    transition: border-color 0.15s ease;
  }
  .deck-detail-shell .dl-slot:hover .dl-card { border-color: rgba(255,255,255,0.3); }
  .deck-detail-shell .dl-card img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: high-quality; }
  /* Stacked duplicate: a second card peeking out from behind, offset up-left. */
  .deck-detail-shell .dl-slot.is-dup .dl-card-ghost {
    position: absolute;
    inset: 0;
    transform: translate(-6px, -14px);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    background: #0d0f17;
    z-index: 0;
    filter: brightness(0.7);
    box-shadow: -2px -2px 6px rgba(0,0,0,0.5);
  }
  .deck-detail-shell .dl-slot.is-dup .dl-card-ghost img {
    display: block; width: 100%; height: 100%; object-fit: cover;
  }
  .deck-detail-shell .dl-slot.is-dup .dl-card { position: relative; z-index: 1; }
  .deck-detail-shell .variant-block {
    padding: 14px 0 22px;
    border-top: 1px solid var(--line);
  }
  .deck-detail-shell .variant-block:first-child { border-top: 0; padding-top: 4px; }
  .deck-detail-shell .variant-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0 4px 4px;
  }
  .deck-detail-shell .variant-rank {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    min-width: 28px;
  }
  .deck-detail-shell .variant-stat {
    font-size: 13px;
    color: var(--text);
  }
  .deck-detail-shell .variant-stat .label {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 4px;
  }
  .deck-detail-shell .variant-stat .muted-record {
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    margin-left: 6px;
  }
  .deck-detail-shell .variants-load-more {
    margin: 8px auto 0;
    display: block;
    appearance: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  .deck-detail-shell .variants-load-more:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
  .deck-detail-shell .chart-wrap {
    margin: 6px 0 18px;
    padding: 14px 12px 8px;
    background: #0b0d14;
    border: 1px solid var(--line);
    border-radius: 10px;
    position: relative;
  }
  .deck-detail-shell .chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 4px;
  }
  .deck-detail-shell .chart-legend {
    display: flex;
    gap: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
  }
  .deck-detail-shell .range-toggle {
    display: inline-flex;
    background: #11141d;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px;
    gap: 2px;
  }
  .deck-detail-shell .range-toggle button {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
  }
  .deck-detail-shell .range-toggle button:hover { color: var(--text); }
  .deck-detail-shell .range-toggle button.is-active {
    background: rgba(255,255,255,0.04);
    color: var(--text);
  }
  .deck-detail-shell .chart-legend .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-right: 6px;
    vertical-align: -1px;
  }
  .deck-detail-shell .chart-svg {
    display: block;
    width: 100%;
    height: auto;
    cursor: crosshair;
  }
  .deck-detail-shell .chart-tooltip {
    position: absolute;
    pointer-events: none;
    background: #0d0f17;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 6px;
    padding: 6px 9px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    transform: translate(-50%, -100%);
    opacity: 0;
    transition: opacity 0.1s ease;
    z-index: 5;
  }
  .deck-detail-shell .chart-tooltip.is-visible { opacity: 1; }
  .deck-detail-shell .chart-tooltip .row { display: flex; gap: 8px; align-items: center; }
  .deck-detail-shell .chart-tooltip .row .label { color: var(--muted); min-width: 50px; }
  .count-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #e63946 0%, #b51c2a 100%);
    border: 2px solid #07080d;
    text-shadow: 0 1px 1px rgba(0,0,0,0.45);
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }
  .lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  .lang-switcher button.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #11141d;
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  .lang-switcher button.lang-trigger:hover {
    border-color: rgba(255,255,255,0.18);
    background: #161a25;
  }
  .lang-switcher .lang-flag {
    font-size: 16px;
    line-height: 1;
  }
  .lang-switcher .lang-caret {
    font-size: 10px;
    color: var(--muted);
    margin-left: 2px;
  }
  .lang-switcher .lang-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 140px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    padding: 4px;
    z-index: 100;
    display: none;
  }
  .lang-switcher.is-open .lang-menu { display: block; }
  .lang-switcher .lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 8px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
  }
  .lang-switcher .lang-option:hover { background: var(--panel-2); }
  .lang-switcher .lang-option.is-active { color: var(--cyan); }
  .lang-switcher .lang-option.is-active::after {
    content: '✓';
    margin-left: auto;
    color: var(--cyan);
  }

  /* Mobile tabs */
  .mobile-tabs {
    display: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px;
    padding: 0 0 12px;
  }
  .mobile-tabs::-webkit-scrollbar { display: none; }
  .mobile-tab {
    appearance: none;
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 6px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
    text-align: center;
  }
  .mobile-tab:hover { color: var(--text); }
  .mobile-tab.is-active {
    color: #fff;
    background: rgba(255,255,255,0.04);
  }
  .mobile-tab.is-active[data-accent="cyan"]    { border-color: rgba(34,211,238,0.5); color: var(--cyan); }
  .mobile-tab.is-active[data-accent="emerald"] { border-color: rgba(16,185,129,0.5); color: var(--emerald); }
  .mobile-tab.is-active[data-accent="rose"]    { border-color: rgba(244,63,94,0.5); color: var(--rose); }
  .mobile-tab.is-active[data-accent="purple"]  { border-color: rgba(168,85,247,0.5); color: var(--purple); }

  @media (max-width: 767px) {
    .mobile-tabs { display: flex; }
    .mobile-hidden { display: none !important; }

    .deck-table {
      column-gap: 4px;
    }
    .deck-cards .card-slot {
      width: 72px;
      height: 42px;
    }
    .deck-cards .card-img {
      width: 93px;
      top: -18px;
      left: -10px;
    }
    .deck-detail-shell {
      max-width: 100vw;
      max-height: 100vh;
      height: 100vh;
      width: 100vw;
      border-radius: 0;
      padding: 16px;
    }
    .modal-overlay {
      padding: 0;
    }
    .deck-detail-shell .dl-cards {
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
    }
    .deck-detail-shell .dl-slot {
      max-width: 72px;
      flex: 0 0 auto;
      width: 72px;
    }
    .deck-detail-shell .variant-head {
      flex-wrap: wrap;
      gap: 8px 14px;
    }
    .deck-detail-shell .chart-wrap {
      margin: 6px -8px 18px;
    }
  }
