/* Foundation (fonts, vars, nav, footer) provided by /css/base.css */

/* ── Mana Color Variables (not in base.css) ── */
:root {
    --color-W: #F9FAF4; --color-U: #0E68AB; --color-B: #150B00; --color-R: #D3202A; --color-G: #00733E;
    --color-M: #C5AF46; --color-C: #9E9E9E;
    --pack-cols: 4;
}
.transition-all { transition: opacity 0.2s ease, transform 0.2s ease; }

/* ── Screen 1: Set Selection ── */
.screen { display: none; }
.screen.active { display: block; }

.hero-section { padding: 4rem 0 2rem; text-align: center; }
.hero-section h1 { font-size: 3rem; margin-bottom: 0.5rem; background: var(--gradient-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-section .subtitle { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.hero-section .rules-text { color: var(--text-muted); font-size: 0.9rem; }

.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; padding: 2rem 0 4rem; max-width: 720px; margin: 0 auto; }
.set-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 2rem; transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: default; }
.set-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 0 30px var(--card-hover-glow); }
.set-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.set-icon { width: 48px; height: 48px; filter: brightness(0) invert(1); }
.set-card-header h3 { font-size: 1.25rem; }
.set-meta { display: flex; gap: 1.5rem; color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 1.5rem; }
.set-meta span { display: flex; align-items: center; gap: 0.35rem; }

.btn-start { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem; background: var(--gradient-purple); border: none; border-radius: 8px; font-weight: 600; font-size: 1rem; color: white; cursor: pointer; font-family: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-start:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(139,92,246,0.4); }
.btn-start:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
.btn-start .spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.6s linear infinite; }
.btn-start.loading .spinner { display: inline-block; }
.btn-start.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Screen 2: Draft Phase ── */
.draft-layout { display: flex; gap: 1.5rem; padding: 1.5rem 0 4rem; min-height: calc(100vh - 64px - 120px); }
.pack-area { flex: 7; min-width: 0; }
.pool-area { flex: 3; min-width: 240px; }

/* Pack header */
.pack-header { margin-bottom: 1rem; }
.pack-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.pack-label { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600; }
.pass-direction { color: var(--text-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 0.35rem; }
.progress-bar { height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gradient-purple); border-radius: 2px; transition: width 0.3s ease; }
.keyboard-hint { color: var(--text-muted); font-size: 0.75rem; margin-top: 0.5rem; }

/* Pack grid */
.pack-grid { display: grid; grid-template-columns: repeat(var(--pack-cols, 4), 1fr); gap: 10px; contain: layout style; }
.pack-grid.pack-compact { --pack-cols: 5; }
.pack-grid.pack-standard { --pack-cols: 4; }
.pack-grid.pack-large { --pack-cols: 3; }

/* Pack size toggle */
.pack-size-toggle { display: flex; gap: 0.2rem; align-items: center; margin-left: auto; }
.pack-size-btn { width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--card-border); background: var(--card-bg); color: var(--text-muted); font-size: 0.7rem; font-weight: 600; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; }
.pack-size-btn:hover { border-color: rgba(168,85,247,0.4); color: var(--text-secondary); }
.pack-size-btn.active { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.5); color: var(--text-primary); }

/* Grade badge scaling by pack size */
.pack-compact .card-grade { font-size: 0.6rem; }
.pack-standard .card-grade { font-size: 0.7rem; }
.pack-large .card-grade { font-size: 0.85rem; padding: 2px 6px; }
.pack-compact .card-number { font-size: 0.6rem; }
.pack-standard .card-number { font-size: 0.7rem; }
.pack-large .card-number { font-size: 0.8rem; padding: 2px 6px; }
.pack-card { position: relative; border-radius: 4px; overflow: hidden; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease; aspect-ratio: 488 / 680; }
.pack-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; pointer-events: none; }
.pack-card:hover { transform: scale(1.08); box-shadow: 0 0 20px rgba(168,85,247,0.4); z-index: 10; }
.pack-card.picked { animation: pickFlash 0.4s ease; box-shadow: 0 0 25px rgba(255,215,0,0.6); }
.pack-card.fading { opacity: 0; transform: scale(0.95); pointer-events: none; }
.pack-card .card-number { position: absolute; top: 4px; left: 4px; background: rgba(0,0,0,0.75); color: white; font-size: 0.65rem; font-weight: 600; padding: 1px 5px; border-radius: 3px; pointer-events: none; }
.pack-card .card-grade { position: absolute; top: 4px; right: 4px; font-size: 0.6rem; font-weight: 700; padding: 1px 5px; border-radius: 3px; pointer-events: none; letter-spacing: 0.3px; }
.grade-Ap { background: rgba(168,85,247,0.85); color: #fff; }
.grade-A { background: rgba(34,197,94,0.85); color: #fff; }
.grade-B { background: rgba(59,130,246,0.85); color: #fff; }
.grade-C { background: rgba(234,179,8,0.85); color: #1a1a1a; }
.grade-D { background: rgba(249,115,22,0.85); color: #fff; }
.grade-F { background: rgba(239,68,68,0.85); color: #fff; }
@keyframes pickFlash {
    0% { box-shadow: 0 0 0 rgba(255,215,0,0); }
    50% { box-shadow: 0 0 35px rgba(255,215,0,0.8); transform: scale(1.05); }
    100% { box-shadow: 0 0 25px rgba(255,215,0,0.3); transform: scale(1); }
}

/* Tooltip */
.card-tooltip { position: fixed; z-index: 2000; background: #222; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 0.75rem; max-width: 280px; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; font-size: 0.8rem; box-shadow: 0 8px 32px rgba(0,0,0,0.6); }
.card-tooltip.visible { opacity: 1; }
.card-tooltip .tt-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; }
.card-tooltip .tt-cost { color: var(--text-secondary); font-size: 0.8rem; margin-bottom: 0.25rem; }
.card-tooltip .tt-type { color: var(--text-muted); font-size: 0.75rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--card-border); padding-bottom: 0.4rem; }
.card-tooltip .tt-oracle { color: var(--text-secondary); font-size: 0.75rem; line-height: 1.5; }
.card-tooltip .tt-pt { color: var(--text-primary); font-weight: 600; font-size: 0.8rem; margin-top: 0.4rem; text-align: right; }
.card-tooltip .tt-rating { color: #a855f7; font-size: 0.7rem; margin-top: 0.25rem; }

/* Pool sidebar */
.pool-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--card-border); }
.pool-header h3 { font-size: 1rem; }
.pool-count { color: var(--text-muted); font-size: 0.85rem; }

.pool-colors { display: flex; flex-direction: column; gap: 0.75rem; }
.pool-color-group { background: rgba(255,255,255,0.02); border-radius: 6px; padding: 0.5rem; }
.pool-color-label { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.35rem; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.pool-color-dot { width: 8px; height: 8px; border-radius: 50%; }
.pool-color-cards { display: flex; flex-direction: column; gap: 0; padding-left: 4px; }
.pool-mini-card { width: 54px; height: 75px; border-radius: 3px; overflow: visible; transition: transform 0.15s ease, box-shadow 0.15s ease; cursor: pointer; position: relative; z-index: 1; flex-shrink: 0; }
.pool-color-cards .pool-mini-card + .pool-mini-card { margin-top: -55px; }
.pool-mini-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 3px; }
.pool-mini-card:hover { transform: translateY(-8px) scale(1.15); z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.5); }

/* Mana curve mini */
.mini-curve { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--card-border); }
.mini-curve h4 { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.curve-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.curve-bar { flex: 1; background: rgba(168,85,247,0.4); border-radius: 2px 2px 0 0; min-height: 2px; transition: height 0.2s ease; position: relative; }
.curve-bar-label { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); font-size: 0.6rem; color: var(--text-muted); }
.curve-bar-count { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 0.6rem; color: var(--text-secondary); }

/* ── Screen 3: Deck Builder ── */
.builder-layout { padding: 1.5rem 0 4rem; }
.builder-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.builder-header h2 { font-size: 1.5rem; background: var(--gradient-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.builder-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.builder-actions-primary { display: flex; gap: 0.75rem; align-items: center; }
.more-dropdown { position: relative; }
.more-dropdown-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 100; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 0.5rem 0; min-width: 200px; box-shadow: 0 8px 32px rgba(0,0,0,0.4); opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity 0.15s ease, transform 0.15s ease; }
.more-dropdown-menu.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.more-dropdown-item { display: block; width: 100%; padding: 0.6rem 1rem; border: none; background: none; color: var(--text-secondary); font-size: 0.85rem; font-family: inherit; text-align: left; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.more-dropdown-item:hover { background: rgba(168,85,247,0.1); color: var(--text-primary); }

.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1.25rem; border: 1px solid var(--card-border); border-radius: 6px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); background: var(--card-bg); cursor: pointer; font-family: inherit; transition: border-color 0.2s ease, color 0.2s ease; }
.btn:hover { border-color: rgba(139,92,246,0.5); color: var(--text-primary); }
.btn-primary { background: var(--gradient-purple); border-color: transparent; color: white; }
.btn-primary:hover { box-shadow: 0 4px 20px rgba(139,92,246,0.4); color: white; }

/* Deck stats bar */
.deck-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; padding: 1rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; }
.stat { font-size: 0.9rem; color: var(--text-secondary); }
.stat strong { color: var(--text-primary); }

/* Mainboard / Sideboard toggle info */
.board-tabs { display: flex; gap: 0; margin-bottom: 1rem; }
.board-tab { padding: 0.5rem 1.25rem; background: var(--card-bg); border: 1px solid var(--card-border); font-size: 0.85rem; font-weight: 500; color: var(--text-muted); cursor: pointer; font-family: inherit; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.board-tab:first-child { border-radius: 6px 0 0 6px; }
.board-tab:last-child { border-radius: 0 6px 6px 0; border-left: none; }
.board-tab.active { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.4); color: var(--text-primary); }

/* Deck columns */
.deck-columns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.deck-column { flex: 1; min-width: 140px; max-width: 200px; }
.deck-col-header { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); padding-bottom: 0.35rem; border-bottom: 2px solid; }
.deck-col-header .col-dot { width: 8px; height: 8px; border-radius: 50%; }
.deck-card-entry { display: flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.35rem; border-radius: 4px; cursor: pointer; transition: background 0.15s ease; font-size: 0.8rem; }
.deck-card-entry:hover { background: rgba(255,255,255,0.06); }
.deck-card-entry .entry-img { width: 28px; height: 40px; border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.deck-card-entry .entry-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deck-card-entry .entry-name { color: var(--text-secondary); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck-card-entry .entry-cmc { color: var(--text-muted); font-size: 0.7rem; flex-shrink: 0; }
.deck-card-entry.sideboarded { opacity: 0.4; }

/* Visual card mode (deck builder) */
.deck-columns.visual-mode { gap: 0.75rem; }
.deck-columns.visual-mode .deck-column { min-width: 100px; max-width: 160px; }
.deck-visual-stack { display: flex; flex-direction: column; }
.deck-visual-card { position: relative; width: 100%; aspect-ratio: 488 / 680; border-radius: 4px; overflow: visible; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.deck-visual-card img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; pointer-events: none; }
.deck-visual-stack .deck-visual-card + .deck-visual-card { margin-top: -65%; }
.deck-visual-card:hover { transform: translateY(-40px); z-index: 10; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.deck-visual-card.sideboarded { opacity: 0.4; }
.deck-visual-card .visual-sb-badge { position: absolute; top: 4px; right: 4px; font-size: 0.6rem; font-weight: 700; padding: 1px 5px; border-radius: 3px; background: rgba(168,85,247,0.85); color: #fff; cursor: pointer; opacity: 0; transition: opacity 0.15s ease; z-index: 2; border: none; font-family: inherit; }
.deck-visual-card:hover .visual-sb-badge { opacity: 1; }
.deck-visual-card.sideboarded .visual-sb-badge { background: rgba(34,197,94,0.85); }

/* View mode toggle */
.view-mode-toggle { display: inline-flex; gap: 0.2rem; align-items: center; margin-left: 0.75rem; }
.view-mode-btn { padding: 0.3rem 0.6rem; font-size: 0.7rem; font-weight: 600; font-family: inherit; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 4px; color: var(--text-muted); cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; }
.view-mode-btn:hover { border-color: rgba(168,85,247,0.4); color: var(--text-secondary); }
.view-mode-btn.active { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.5); color: var(--text-primary); }

/* Integrated mana panel */
.mana-panel { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; padding: 1.25rem; margin-bottom: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mana-panel h3 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.mana-panel-feedback { grid-column: 1 / -1; }

/* Mana curve histogram */
.curve-section { margin-bottom: 2rem; }
.curve-section h3 { font-size: 1rem; margin-bottom: 1rem; }
.histogram { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 0 1rem; }
.histo-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 60px; }
.histo-bar { width: 100%; border-radius: 3px 3px 0 0; min-height: 0; transition: height 0.3s ease; background: var(--gradient-purple); position: relative; z-index: 1; }
.histo-label { font-size: 0.7rem; color: var(--text-muted); }
.histo-count { font-size: 0.7rem; color: var(--text-secondary); }

/* Lands section */
.lands-section { margin-bottom: 0; }
.lands-section h3 { font-size: 1rem; margin-bottom: 1rem; }
.land-controls { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.land-control { display: flex; align-items: center; gap: 0.5rem; }
.land-control .land-symbol { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.land-control button { width: 24px; height: 24px; border-radius: 4px; border: 1px solid var(--card-border); background: var(--card-bg); color: var(--text-secondary); cursor: pointer; font-size: 0.9rem; font-family: inherit; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s ease, color 0.15s ease; }
.land-control button:hover { border-color: rgba(168,85,247,0.5); color: var(--text-primary); }
.land-control .land-count { font-size: 0.9rem; font-weight: 600; width: 20px; text-align: center; }

/* Toast */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px); background: #333; color: white; padding: 0.75rem 1.5rem; border-radius: 8px; font-size: 0.9rem; z-index: 3000; transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0; pointer-events: none; }
.toast.visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── Mobile Card Preview Panel ── */
.mobile-preview-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1500; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.mobile-preview-overlay.visible { opacity: 1; pointer-events: auto; }
.mobile-preview { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1600; background: #1e1e1e; border-top: 1px solid rgba(255,255,255,0.12); border-radius: 16px 16px 0 0; padding: 0 1rem 1.5rem; transform: translateY(100%); transition: transform 0.25s ease; max-height: 70vh; overflow-y: auto; pointer-events: none; }
.mobile-preview.visible { transform: translateY(0); pointer-events: auto; }
.mobile-preview-handle { width: 36px; height: 4px; background: rgba(255,255,255,0.25); border-radius: 2px; margin: 10px auto 12px; }
.mobile-preview-body { display: flex; gap: 1rem; align-items: flex-start; }
.mobile-preview-img { flex-shrink: 0; width: 120px; border-radius: 4px; overflow: hidden; }
.mobile-preview-img img { width: 100%; display: block; border-radius: 4px; }
.mobile-preview-info { flex: 1; min-width: 0; }
.mobile-preview-info .mp-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.05rem; margin-bottom: 0.25rem; }
.mobile-preview-info .mp-cost { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 0.2rem; }
.mobile-preview-info .mp-type { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.5rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--card-border); }
.mobile-preview-info .mp-oracle { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.55; margin-bottom: 0.5rem; }
.mobile-preview-info .mp-pt { font-weight: 600; font-size: 0.85rem; }
.mobile-preview-info .mp-rating { color: #a855f7; font-size: 0.75rem; margin-top: 0.2rem; }
.mobile-preview-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.mobile-preview-actions .btn-pick { flex: 1; padding: 0.85rem; background: var(--gradient-purple); border: none; border-radius: 10px; font-weight: 700; font-size: 1rem; color: white; cursor: pointer; font-family: inherit; }
.mobile-preview-actions .btn-cancel { padding: 0.85rem 1.25rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; font-weight: 500; font-size: 1rem; color: var(--text-secondary); cursor: pointer; font-family: inherit; }

/* Selected card glow on mobile */
.pack-card.selected { outline: 3px solid #a855f7; outline-offset: 2px; transform: scale(1.04); box-shadow: 0 0 20px rgba(168,85,247,0.5); z-index: 10; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .draft-layout { flex-direction: column; }
    .pool-area { order: 2; }
    .pack-grid { --pack-cols: 3 !important; }
    .deck-column { min-width: 120px; }
    .pack-size-toggle { display: none; }
    .pool-color-cards { flex-direction: row; flex-wrap: wrap; gap: 3px; padding-left: 0; }
    .pool-color-cards .pool-mini-card + .pool-mini-card { margin-top: 0; }
    .pool-mini-card { width: 42px; height: 58px; }
}
@media (max-width: 600px) {
    .hero-section h1 { font-size: 2rem; }
    .hero-section { padding: 2.5rem 0 1rem; }
    .pack-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .deck-columns { gap: 0.5rem; }
    .deck-column { min-width: 100px; }
    .keyboard-hint { display: none; }
    .builder-actions { width: 100%; }
    .builder-actions .btn { flex: 1; justify-content: center; font-size: 0.8rem; padding: 0.5rem 0.75rem; }
    .builder-actions-primary { flex-wrap: wrap; width: 100%; }
    .builder-actions-primary .btn { flex: 1; justify-content: center; font-size: 0.8rem; }
    .deck-stats { gap: 0.75rem; flex-wrap: wrap; }
    .set-grid { grid-template-columns: 1fr; }
    .mana-panel { grid-template-columns: 1fr; }
    .pack-size-toggle { display: none; }
    .builder-header { flex-direction: column; align-items: flex-start; }
    .builder-sort-buttons { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0.35rem; }
    .deck-columns.visual-mode { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .deck-columns.visual-mode .deck-column { max-width: none; min-width: 0; }
    .deck-visual-stack .deck-visual-card + .deck-visual-card { margin-top: -60%; }
    .deck-columns:not(.visual-mode) .deck-column { max-width: none; min-width: 0; }
    .more-dropdown-menu { position: fixed; bottom: 0; left: 0; right: 0; top: auto; border-radius: 16px 16px 0 0; padding: 1rem 0 2rem; z-index: 1500; transform: translateY(100%); }
    .more-dropdown-menu.visible { transform: translateY(0); }
}

/* ── FAQ Section ── */
/* Set guide callout */
.set-guide-callout { background: var(--card-bg); border: 1px solid var(--card-border); border-left: 3px solid #a855f7; border-radius: 8px; padding: 1.25rem; margin: 2rem auto; max-width: 720px; }
.set-guide-callout h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.set-guide-callout p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.callout-link { color: #a855f7; font-weight: 600; font-size: 0.85rem; }
.callout-link:hover { text-decoration: underline; }

.faq-section { padding: 3rem 0 2rem; }
.faq-section h2 { font-size: 1.75rem; margin-bottom: 1.5rem; background: var(--gradient-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; overflow: hidden; }
.faq-item summary { padding: 1rem 1.25rem; font-weight: 600; font-size: 0.95rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--text-muted); flex-shrink: 0; margin-left: 1rem; transition: transform 0.2s; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 1.25rem 1rem; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.faq-answer p { margin-bottom: 0.5rem; }
.faq-answer ul { margin: 0.5rem 0 0.5rem 1.5rem; }
.faq-answer a { color: #a78bfa; text-decoration: underline; }

/* ── Pick Suggestion Glow ── */
.pack-card.suggested { outline: 2px solid rgba(255,215,0,0.5); outline-offset: 1px; }
.suggestion-badge { position: absolute; bottom: 4px; right: 4px; background: rgba(255,215,0,0.9); color: #000; font-size: 0.6rem; font-weight: 700; padding: 1px 5px; border-radius: 3px; pointer-events: none; }

/* ── Settings Toggle ── */
.settings-bar { display: flex; gap: 1.5rem; align-items: center; justify-content: center; margin-top: 0.75rem; }
.toggle-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); cursor: pointer; }
.toggle-label input[type="checkbox"] { accent-color: #a855f7; width: 14px; height: 14px; }

/* ── Pool Analysis Stats ── */
.pool-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; padding: 0.75rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; font-size: 0.8rem; color: var(--text-secondary); }
.pool-stats .stat-group { display: flex; align-items: center; gap: 0.35rem; }
.pool-stats .color-bar { height: 10px; border-radius: 2px; min-width: 4px; }

/* ── Color Filters ── */
.color-filters { display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.color-filter { width: auto; min-width: 32px; height: 32px; border-radius: 16px; border: 2px solid transparent; background: var(--card-bg); color: var(--text-secondary); font-size: 0.75rem; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s; padding: 0 0.5rem; display: flex; align-items: center; justify-content: center; }
.color-filter.cf-mana { width: 32px; padding: 0; border-radius: 50%; }
.color-filter.cf-W { background: var(--color-W); color: #333; }
.color-filter.cf-U { background: var(--color-U); color: #fff; }
.color-filter.cf-B { background: var(--color-B); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.color-filter.cf-R { background: var(--color-R); color: #fff; }
.color-filter.cf-G { background: var(--color-G); color: #fff; }
.color-filter:hover { border-color: rgba(168,85,247,0.5); }
.color-filter.active { border-color: #a855f7; box-shadow: 0 0 8px rgba(168,85,247,0.4); }

/* Footer mana dots */
.mana-dot-W { background: #F9FAF4; }
.mana-dot-U { background: #0E68AB; }
.mana-dot-B { background: #150B00; border: 1px solid rgba(255,255,255,0.2); }
.mana-dot-R { background: #D3202A; }
.mana-dot-G { background: #00733E; }

/* ── Rarity Glow ── */
.rarity-mythic { box-shadow: 0 0 0 2px #f97316, 0 0 12px rgba(249,115,22,0.5); }
.rarity-rare { box-shadow: 0 0 0 2px #eab308, 0 0 10px rgba(234,179,8,0.4); }
.rarity-uncommon { box-shadow: 0 0 0 1px #94a3b8, 0 0 8px rgba(148,163,184,0.25); }

/* Touch devices: hide hover tooltip */
@media (hover: none) and (pointer: coarse) {
    .card-tooltip { display: none !important; }
    .pack-card:hover { transform: none; box-shadow: none; z-index: auto; }
    .pack-card.selected { transform: scale(1.04); box-shadow: 0 0 20px rgba(168,85,247,0.5); z-index: 10; }
    .pool-mini-card:hover { transform: none; z-index: auto; box-shadow: none; }
    .deck-visual-card:hover { transform: none; z-index: auto; box-shadow: none; }
    .deck-visual-card .visual-sb-badge { opacity: 0.6; }
}

/* ── Feature 1: Pack Card Entrance Animation ── */
@keyframes packReveal {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.pack-card.pack-entering { opacity: 0; animation: packReveal 0.32s ease forwards; }

/* ── Feature 2: Pack Transition Banner ── */
@keyframes bannerSlide {
    0% { opacity: 0; transform: translate(-50%, -20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    80% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -10px); }
}
.pack-transition {
    position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
    background: rgba(30,30,30,0.95); border: 1px solid rgba(168,85,247,0.4);
    border-radius: 10px; padding: 0.6rem 1.5rem; z-index: 1200;
    font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600;
    color: #e2e2e2; text-align: center; pointer-events: none;
    animation: bannerSlide 0.8s ease forwards;
    box-shadow: 0 4px 24px rgba(168,85,247,0.25);
}

/* ── Feature 3: Draft Complete Celebration ── */
@keyframes celebShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes celebPulse {
    0% { transform: scale(0.8); opacity: 0; }
    40% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.draft-complete-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8);
    z-index: 1300; display: none; align-items: center; justify-content: center; flex-direction: column;
}
.draft-complete-overlay.visible { display: flex; }
.draft-complete-overlay h2 {
    font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700;
    background: linear-gradient(90deg, #ffd700, #ffaa00, #ffd700, #fff5cc, #ffd700);
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: celebShimmer 1.8s linear infinite, celebPulse 0.6s ease forwards;
}
.draft-complete-overlay .celeb-stats {
    color: var(--text-secondary); font-size: 1rem; margin-top: 0.75rem;
    animation: celebPulse 0.6s ease 0.2s forwards; opacity: 0;
}

/* ── Feature 4: Color Signal Dots ── */
.draft-signals { display: none; gap: 0.5rem; align-items: center; margin-bottom: 0.75rem; padding: 0.5rem; background: rgba(255,255,255,0.02); border-radius: 6px; }
.draft-signals.visible { display: flex; }
.draft-signals-label { font-size: 0.65rem; color: var(--text-muted); margin-right: 0.25rem; }
.signal-dot {
    width: 18px; height: 18px; border-radius: 50%; position: relative;
    border: 1.5px solid rgba(255,255,255,0.15); transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.signal-dot .signal-fill {
    position: absolute; inset: 2px; border-radius: 50%;
    opacity: 0.15; transition: opacity 0.3s ease;
}
.signal-dot.open { box-shadow: 0 0 6px 2px rgba(255,215,0,0.4); border-color: rgba(255,215,0,0.5); }
.signal-fill-W { background: var(--color-W); }
.signal-fill-U { background: var(--color-U); }
.signal-fill-B { background: #6b5b3a; }
.signal-fill-R { background: var(--color-R); }
.signal-fill-G { background: var(--color-G); }

/* ── Feature 5: Draft Stats in Pool Sidebar ── */
.pool-draft-stats { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.75rem; font-size: 0.75rem; color: var(--text-muted); }

/* ── Feature 6: Card Rating Display ── */
.entry-rating {
    font-size: 0.65rem; font-weight: 700; padding: 1px 4px; border-radius: 3px;
    flex-shrink: 0; margin-left: auto; margin-right: 0.25rem;
}
.rating-good { background: rgba(34,197,94,0.2); color: #4ade80; }
.rating-ok { background: rgba(234,179,8,0.2); color: #facc15; }
.rating-bad { background: rgba(239,68,68,0.2); color: #f87171; }

/* ── Feature 7: Sort Toggle Buttons ── */
.builder-sort-buttons { display: flex; gap: 0.25rem; align-items: center; }
.sort-label { font-size: 0.7rem; color: var(--text-muted); margin-right: 0.25rem; }
.sort-btn {
    padding: 0.3rem 0.6rem; font-size: 0.7rem; font-weight: 600; font-family: inherit;
    background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 4px;
    color: var(--text-muted); cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.sort-btn:hover { border-color: rgba(168,85,247,0.4); color: var(--text-secondary); }
.sort-btn.active { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.5); color: var(--text-primary); }

/* ── Feature 8: Sideboard Button ── */
.entry-sb-btn {
    font-size: 0.6rem; font-weight: 700; font-family: inherit;
    padding: 1px 4px; border-radius: 3px; cursor: pointer;
    background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.3);
    color: #c4b5fd; flex-shrink: 0; opacity: 0; transition: opacity 0.15s ease;
}
.deck-card-entry:hover .entry-sb-btn { opacity: 1; }
.deck-card-entry.sideboarded .entry-sb-btn { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: #86efac; }
@media (hover: none) and (pointer: coarse) {
    .entry-sb-btn { opacity: 0.6; }
}

/* ── Deck Lightbox ── */
.deck-lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2500;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.deck-lightbox-overlay.visible { opacity: 1; pointer-events: auto; }
.deck-lightbox {
    position: fixed; z-index: 2600; background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.12); overflow-y: auto;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.25s ease;
}
.deck-lightbox.visible { opacity: 1; pointer-events: auto; }
/* Desktop: centered modal */
@media (hover: hover) and (pointer: fine) {
    .deck-lightbox {
        top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
        border-radius: 12px; width: 560px; max-width: 94vw; max-height: 85vh;
        box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    }
    .deck-lightbox.visible { transform: translate(-50%, -50%) scale(1); }
}
/* Mobile: bottom sheet */
@media (hover: none) and (pointer: coarse) {
    .deck-lightbox {
        bottom: 0; left: 0; right: 0; transform: translateY(100%);
        border-radius: 16px 16px 0 0; max-height: 80vh;
    }
    .deck-lightbox.visible { transform: translateY(0); }
}
.deck-lightbox-close {
    position: absolute; top: 10px; right: 12px; width: 32px; height: 32px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08); color: var(--text-secondary);
    font-size: 1.1rem; cursor: pointer; display: flex; align-items: center;
    justify-content: center; z-index: 1; transition: background 0.15s ease, color 0.15s ease;
}
.deck-lightbox-close:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }
.deck-lightbox-handle { width: 36px; height: 4px; background: rgba(255,255,255,0.25); border-radius: 2px; margin: 10px auto 8px; display: none; }
@media (hover: none) and (pointer: coarse) { .deck-lightbox-handle { display: block; } }
/* Desktop prev/next arrows (outside body) */
.deck-lightbox-nav {
    position: absolute; top: 50%; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
    color: var(--text-secondary); font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transform: translateY(-50%);
    transition: background 0.15s ease, color 0.15s ease; z-index: 1;
}
.deck-lightbox-nav:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }
.deck-lightbox-nav:disabled { opacity: 0.3; cursor: default; }
.deck-lightbox-nav.dl-prev { left: 12px; }
.deck-lightbox-nav.dl-next { right: 12px; }
@media (hover: none) and (pointer: coarse) { .deck-lightbox-nav { display: none; } }
/* Mobile inline nav row */
.deck-lightbox-nav-row { display: none; justify-content: center; gap: 1.5rem; padding: 0.5rem 0 0; }
@media (hover: none) and (pointer: coarse) { .deck-lightbox-nav-row { display: flex; } }
.deck-lightbox-nav-row button {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
    color: var(--text-secondary); font-size: 1.2rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease;
}
.deck-lightbox-nav-row button:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }
.deck-lightbox-nav-row button:disabled { opacity: 0.3; cursor: default; }
/* Body layout */
.deck-lightbox-body { display: flex; gap: 1.25rem; padding: 1.25rem; align-items: flex-start; }
@media (hover: none) and (pointer: coarse) {
    .deck-lightbox-body { flex-direction: column; align-items: center; padding: 0.75rem 1rem 1rem; }
}
.deck-lightbox-img { flex-shrink: 0; border-radius: 6px; overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .deck-lightbox-img { width: 220px; } }
@media (hover: none) and (pointer: coarse) { .deck-lightbox-img { width: 160px; } }
.deck-lightbox-img img { width: 100%; display: block; border-radius: 6px; }
.deck-lightbox-info { flex: 1; min-width: 0; }
.dl-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.15rem; margin-bottom: 0.25rem; }
.dl-cost { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.2rem; }
.dl-type { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--card-border); }
.dl-oracle { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; margin-bottom: 0.5rem; white-space: pre-line; }
.dl-pt { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; }
.dl-rating { color: #a855f7; font-size: 0.8rem; margin-bottom: 0.75rem; }
.deck-lightbox-actions { margin-top: 0.5rem; }
.dl-sb-btn {
    padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.85rem;
    font-family: inherit; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.4); color: #c4b5fd;
}
.dl-sb-btn:hover { background: rgba(168,85,247,0.25); border-color: rgba(168,85,247,0.6); }
.dl-sb-btn.in-sideboard { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.4); color: #86efac; }
.dl-sb-btn.in-sideboard:hover { background: rgba(34,197,94,0.25); border-color: rgba(34,197,94,0.6); }
.stat-hint { color: var(--text-muted); font-size: 0.8rem; }

/* ── Feature 9: Ideal Curve Overlay ── */
.histo-bar-area { position: relative; width: 100%; height: 80px; display: flex; align-items: flex-end; }
.histo-ideal {
    position: absolute; bottom: 0; left: -2px; right: -2px;
    border: 1.5px dashed rgba(255,255,255,0.18); border-bottom: none;
    border-radius: 3px 3px 0 0; pointer-events: none; transition: height 0.3s ease;
}

/* ── Feature 10: Deck Quality Feedback ── */
.deck-feedback { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.feedback-item {
    font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.6rem;
    border-radius: 12px; display: inline-block;
}
.feedback-item.warn { background: rgba(234,179,8,0.15); color: #fbbf24; }
.feedback-item.good { background: rgba(34,197,94,0.15); color: #4ade80; }

/* ── Pick History Review ── */
.pick-review-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 2000;
    overflow-y: auto; padding: 2rem; display: none;
}
.pick-review-overlay.visible { display: block; }
.pick-review {
    max-width: 900px; margin: 0 auto;
}
.pick-review-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem; position: sticky; top: 0; background: rgba(0,0,0,0.9);
    padding: 0.75rem 0; z-index: 1;
}
.pick-review-header h2 {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem;
    background: var(--gradient-purple); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.pick-review-close {
    background: none; border: 1px solid rgba(255,255,255,0.2); color: white;
    padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-family: inherit;
    font-size: 0.85rem; transition: border-color 0.15s ease, background 0.15s ease;
}
.pick-review-close:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.pick-review-pack {
    margin-bottom: 2rem;
}
.pick-review-pack-label {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600;
    margin-bottom: 1rem; padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(168,85,247,0.3); color: var(--text-primary);
}
.pick-review-row {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 0.6rem 0.5rem; border-radius: 6px;
    transition: background 0.15s ease;
}
.pick-review-row:hover { background: rgba(255,255,255,0.03); }
.pick-review-num {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: rgba(168,85,247,0.2); color: #c4b5fd;
    font-size: 0.75rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.pick-review-picked {
    flex-shrink: 0; width: 48px; height: 67px; border-radius: 3px;
    overflow: hidden; border: 2px solid rgba(168,85,247,0.5);
    box-shadow: 0 0 8px rgba(168,85,247,0.2);
}
.pick-review-picked img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-review-info {
    flex: 1; min-width: 0;
}
.pick-review-card-name {
    font-weight: 600; font-size: 0.9rem; color: var(--text-primary);
    margin-bottom: 0.15rem;
}
.pick-review-card-meta {
    font-size: 0.75rem; color: var(--text-muted);
}
.pick-review-alts {
    display: flex; gap: 3px; flex-wrap: wrap; margin-top: 0.35rem;
}
.pick-review-alt {
    width: 32px; height: 45px; border-radius: 2px; overflow: hidden;
    opacity: 0.5; transition: opacity 0.15s ease; cursor: pointer;
}
.pick-review-alt:hover { opacity: 1; }
.pick-review-alt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-review-alt.was-suggested {
    opacity: 0.8; border: 1px solid rgba(255,215,0,0.5);
}

@media (max-width: 600px) {
    .draft-complete-overlay h2 { font-size: 1.75rem; }
    .draft-signals { gap: 0.35rem; }
    .signal-dot { width: 15px; height: 15px; }
    .builder-sort-buttons { width: 100%; justify-content: center; }
    .pick-review-overlay { padding: 1rem; }
    .pick-review-alt { width: 26px; height: 36px; }
    .pick-review-picked { width: 40px; height: 56px; }
}

/* Bot Deck Overlay */
#botDeckOverlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 2000; overflow-y: auto; padding: 2rem; display: none; }
.bot-deck-inner { max-width: 1200px; margin: 0 auto; }
.bot-deck-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.bot-deck-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; background: var(--gradient-purple); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bot-deck-close { background: none; border: 1px solid rgba(255,255,255,0.2); color: white; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-family: inherit; }
.bot-deck-close:hover { border-color: rgba(255,255,255,0.4); }
#botDeckGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.bot-deck-panel { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; padding: 1.25rem; }
.bot-deck-panel h3 { font-size: 1rem; margin-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; }
.bot-deck-summary { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.bot-deck-lands { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.bot-deck-cards { display: flex; flex-wrap: wrap; gap: 3px; }
.bot-deck-thumb { width: 40px; height: 56px; border-radius: 2px; overflow: hidden; }
.bot-deck-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Quick Draft Section ── */
.quick-draft-section { max-width: 720px; margin: 0 auto; padding: 1.5rem 0 0; }
.quick-draft-title { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1rem; }
.quick-draft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.quick-draft-card { background: rgba(168,85,247,0.08); border: 1px solid rgba(168,85,247,0.25); border-radius: 10px; padding: 1rem 1.25rem; cursor: pointer; transition: all 0.2s ease; text-align: center; }
.quick-draft-card:hover { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.5); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(168,85,247,0.2); }
.quick-draft-name { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.2rem; }
.quick-draft-code { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.all-sets-title { max-width: 720px; margin: 2rem auto 0; font-size: 1.1rem; color: var(--text-secondary); }
@media (max-width: 640px) { .quick-draft-grid { grid-template-columns: repeat(2, 1fr); } }
