

.hero-featured { position: relative; min-height: 500px; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-no-image {; }
.hero-featured .hero-overlay { position: absolute; inset: 0;; z-index: 1; }
.hero-featured .hero-content { position: relative; z-index: 2; padding: 3rem 0; width: 100%; }
.hero-featured .post-category { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; }
.hero-featured h1 { font-size: 2.75rem; margin-bottom: 1rem; line-height: 1.2; max-width: 700px; }
.hero-featured .hero-excerpt {; font-size: 1.1rem; max-width: 600px; line-height: 1.7; margin-bottom: 1.5rem; }
.hero-cta { display: inline-block; padding: 0.75rem 2rem;; border-radius: var(--btn-radius); font-weight: 600; font-size: 0.95rem;; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hero-cta:hover { transform: translateY(-2px);;; }
.hero-attribution { font-size: 0.7rem;; margin-top: 0.5rem; font-style: italic; }
.content-wrapper { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 4rem; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.post-card {; border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; cursor: pointer; }
.post-card:hover { transform: translateY(-4px);; }
.post-card a.card-link { display: flex; flex-direction: column; flex: 1;; text-decoration: none; }
.post-thumbnail { height: 180px; width: 100%; position: relative; overflow: hidden; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.post-thumbnail.no-image { background-size: cover; }
.post-thumbnail::after { content: ''; position: absolute; inset: 0;; }
.post-content { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-category { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; width: fit-content; }
.category-news {;; }
.category-strategy {;; }
.category-spoilers {;; }
.category-deck-guides {;; }
.category-set-reviews {;; }
.post-title { font-size: 1.125rem; margin-bottom: 0.75rem; line-height: 1.4; }
.post-excerpt {; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.post-meta { display: flex; justify-content: space-between; align-items: center;; font-size: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--card-border); }
.read-more {; font-weight: 600; font-size: 0.875rem; margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.25rem; }
.read-more:hover {; }
.sidebar { display: none; }
@media (min-width: 992px) { .content-wrapper { grid-template-columns: 1fr 320px; } .sidebar { display: block; } }
.sidebar-widget {; border: 1px solid var(--card-border); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.widget-title { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--card-border); }
.search-box input { width: 100%; padding: 0.75rem 1rem;; border: 1px solid var(--card-border); border-radius: 8px;; font-size: 0.9rem; font-family: inherit; }
.search-box input:focus { outline: none;; }
.search-box input::placeholder {; }
.recent-posts { list-style: none; }
.recent-post-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--card-border); }
.recent-post-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.recent-post-thumb { width: 56px; height: 42px; border-radius: 6px; background-size: cover; background-position: center; flex-shrink: 0; }
.recent-posts a { font-size: 0.875rem;; display: block; line-height: 1.4; }
.recent-posts a:hover {; }
.recent-post-date { font-size: 0.75rem;; display: block; margin-top: 0.25rem; }
.categories-list { list-style: none; }
.categories-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--card-border); cursor: pointer; }
.categories-list li:last-child { border-bottom: none; }
.category-name { display: flex; align-items: center; gap: 0.5rem; }
.category-dot { width: 8px; height: 8px; border-radius: 50%; }
.category-count {; padding: 0.125rem 0.5rem; border-radius: 999px; font-size: 0.75rem;; }
.about-widget { text-align: center; }
.about-avatar { width: 80px; height: 80px; margin: 0 auto 1rem;; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; }
.about-text {; font-size: 0.875rem; line-height: 1.6; }
.post-card.hidden { display: none; }
.pillar-guides { padding: 2.5rem 0 0; }
.pillar-guides h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.pillar-card {; border: 1px solid var(--card-border); border-radius: 12px; padding: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pillar-card:hover { transform: translateY(-4px);; }
.pillar-card a {; text-decoration: none; display: block; }
.pillar-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem;; }
.pillar-card p {; font-size: 0.875rem; line-height: 1.5; margin: 0; }
.pillar-card .pillar-arrow {; font-weight: 600; font-size: 0.875rem; margin-top: 0.75rem; display: inline-block; }
@media (max-width: 768px) {
    .hero-featured { min-height: 360px; }
    .hero-featured h1 { font-size: 1.75rem; }
    .posts-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 991px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }

.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; }

.hero-featured { position: relative; min-height: 420px; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-no-image {; }
.hero-featured .hero-overlay { position: absolute; inset: 0;; z-index: 1; }
.hero-featured .hero-content { position: relative; z-index: 2; padding: 2.5rem 0; width: 100%; }
.hero-featured .post-category { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; }
.hero-featured h1, .hero-featured h2 { font-size: 2.75rem; margin-bottom: 1rem; line-height: 1.2; max-width: 700px; }
.hero-featured .hero-excerpt {; font-size: 1.1rem; max-width: 600px; line-height: 1.7; margin-bottom: 1.5rem; }
.hero-cta { display: inline-block; padding: 0.75rem 2rem;; border-radius: var(--btn-radius); font-weight: 600; font-size: 0.95rem;; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hero-cta:hover { transform: translateY(-2px);;; }
.hero-attribution { font-size: 0.7rem;; margin-top: 0.5rem; font-style: italic; }

.brand-bar { padding: 1rem 0; border-bottom: 1px solid var(--card-border); text-align: center; }
.brand-bar .wubrg-dots { margin-bottom: 0.35rem; }
.brand-bar .wubrg-dots .mana-dot { width: 22px; height: 22px; }
.brand-bar .tagline {; font-size: 0.85rem; letter-spacing: 0.3px; }

.home-section { padding: 2.5rem 0; border-bottom: 1px solid var(--card-border); }
.home-section:last-of-type { border-bottom: none; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.section-header h2 { font-size: 1.5rem; }
.section-link {; font-weight: 600; font-size: 0.9rem; white-space: nowrap; display: inline-flex; align-items: center; min-height: 24px; }
.section-link:hover {; }

.card-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.post-card {; border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; cursor: pointer; }
.post-card:hover { transform: translateY(-4px);; }
.post-card a.card-link { display: flex; flex-direction: column; flex: 1;; text-decoration: none; }
.post-thumbnail { height: 160px; width: 100%; position: relative; overflow: hidden; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.post-thumbnail.no-image { background-size: cover; }
.post-thumbnail::after { content: ''; position: absolute; inset: 0;; }
.post-content { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.post-category { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; width: fit-content; }
.category-news {;; }
.category-strategy {;; }
.category-spoilers {;; }
.category-deck-guides {;; }
.category-set-reviews {;; }
.post-title { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.post-excerpt {; font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.75rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; justify-content: space-between; align-items: center;; font-size: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--card-border); }
.read-more {; font-weight: 600; font-size: 0.8rem; margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.25rem; }
.read-more:hover {; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.tool-card {; border: 1px solid var(--card-border); border-radius: 12px; padding: 0; overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; display: flex; flex-direction: column; }
.tool-card:hover {;; transform: translateY(-2px); }
.tool-symbol { height: 100px; display: flex; align-items: center; justify-content: center;; border-bottom: 1px solid var(--card-border); flex-shrink: 0; }
.tool-symbol img { height: 48px; width: auto; opacity: 0.85; transition: opacity 0.2s ease, transform 0.3s ease; filter: drop-shadow(0 2px 8px rgba(167, 139, 250,0.3)); }
.tool-card:hover .tool-symbol img { opacity: 1; transform: scale(1.1); }
.tool-body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.tool-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.tool-card p {; font-size: 0.8rem; line-height: 1.4; }

.format-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.format-tab {; border: 1px solid var(--card-border);; padding: 0.4rem 1.1rem; border-radius: 2rem; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; font-family: inherit; }
.format-tab:hover {;; }
.format-tab.active {;;; }
.format-panel { display: none; }
.format-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.deck-card {; border: 1px solid var(--card-border); border-radius: 10px; padding: 1.25rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.deck-card:hover { transform: translateY(-3px);; }
.deck-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.deck-card .tier-badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.tier-1 {;; }
.tier-2 {;; }
.tier-3 {;; }
.deck-card .deck-meta {; font-size: 0.8rem; margin-top: 0.5rem; }

.articles-controls { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.articles-search { flex: 0 0 280px; padding: 0.6rem 1rem;; border: 1px solid var(--card-border); border-radius: 8px;; font-size: 0.9rem; font-family: inherit; }
.articles-search:focus { outline: none;; }
.articles-search::placeholder {; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn {; border: 1px solid var(--card-border);; padding: 0.4rem 1rem; border-radius: 2rem; font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; font-family: inherit; }
.filter-btn:hover {;; }
.filter-btn.active {;;; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-card.hidden { display: none; }

@media (max-width: 768px) {
    .hero-featured { min-height: 320px; }
    .hero-featured h1, .hero-featured h2 { font-size: 1.75rem; }
    .card-row { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .format-panel.active { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .articles-controls { flex-direction: column; }
    .articles-search { flex: 1 1 100%; width: 100%; }
    .filter-btn { padding: 0.35rem 0.85rem; font-size: 0.75rem; }
    .format-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
}
@media (min-width: 769px) and (max-width: 991px) {
    .card-row { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .format-panel.active { grid-template-columns: repeat(2, 1fr); }
}

.article-hero { position: relative; min-height: 400px; background-size: cover; background-position: center top; display: flex; align-items: flex-end; }
.article-hero-overlay { position: absolute; inset: 0;; }
.article-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 2rem 1rem; width: 100%; }
.article-hero .breadcrumb { font-size: 0.85rem;; margin-bottom: 1.5rem; }
.article-hero .breadcrumb a {; }
.article-hero .breadcrumb a:hover {; }
.article-hero .article-category { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; }
.article-hero .article-title { font-size: 2.25rem; margin-bottom: 1rem; line-height: 1.25; }
.article-hero .article-meta { display: flex; gap: 1.5rem;; font-size: 0.9rem; }
.hero-attribution { font-size: 0.7rem;; margin-top: 0.75rem; font-style: italic; }
.category-news {;; }
.category-strategy {;; }
.category-spoilers {;; }
.category-deck-guides {;; }
.category-set-reviews {;; }
.article-body { max-width: 800px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.article-body > p:first-of-type::first-letter { float: left; font-size: 3.5rem; line-height: 1; font-weight: 700; margin-right: 0.5rem; margin-top: 0.1rem; font-family: 'Space Grotesk', serif;;;;; }
.article-body h2 { font-size: 1.5rem; margin: 2rem 0 1rem;; }
.article-body h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem;; }
.article-body p {; margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; }
.article-body pre {; border: 1px solid var(--card-border); border-radius: 8px; padding: 1.25rem; overflow-x: auto; margin: 1.5rem 0; font-size: 0.9rem; line-height: 1.5;; }
.article-body ul, .article-body ol {; margin: 1rem 0 1.25rem 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.article-body li { margin-bottom: 0.5rem; }
.article-body a {; text-decoration: underline; }
.article-body blockquote { border-left: 3px solid var(--accent-purple); padding: 1rem 1.5rem; margin: 1.5rem 0;; border-radius: 0 8px 8px 0; }
.article-body blockquote p {; margin-bottom: 0; }
.card-ref {; cursor: pointer; border-bottom: 1px dotted var(--line); position: relative; }
.card-tooltip { display: none; position: fixed; z-index: 9999; pointer-events: none; border-radius: 12px; overflow: hidden;; }
.card-tooltip img { display: block; width: 250px; height: auto; border-radius: 12px; }
.decklist-images { display: flex; gap: 0.5rem; overflow-x: auto; padding: 1rem 0; margin: 0.5rem 0 1.5rem; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.decklist-images img { width: 146px; height: auto; border-radius: 8px; flex-shrink: 0; transition: transform 0.2s ease; }
.decklist-images img:hover { transform: scale(1.05); }
.decklist-images::-webkit-scrollbar { height: 6px; }
.decklist-images::-webkit-scrollbar-track {; }
.decklist-images::-webkit-scrollbar-thumb {; border-radius: 3px; }
.lead-excerpt { font-size: 1.25rem; line-height: 1.8;; margin-bottom: 2rem; }
.coming-soon {; border: 1px solid var(--card-border); border-left: 3px solid var(--accent-purple); border-radius: 0 8px 8px 0; padding: 1.5rem 2rem; margin: 2rem 0; }
.coming-soon h3 { font-size: 1.1rem; margin-bottom: 0.5rem;; }
.coming-soon p { font-size: 0.95rem;; margin: 0; }
.article-sources { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--card-border); }
.article-sources h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.article-sources a {; font-size: 0.9rem; display: block; margin-bottom: 0.5rem; word-break: break-all; }
.related-posts { max-width: 800px; margin: 0 auto; padding: 0 1rem 4rem; }
.related-posts h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.related-card {; border: 1px solid var(--card-border); border-radius: 10px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.related-card:hover { transform: translateY(-2px);; }
.related-card a { display: flex; flex-direction: column; }
.related-card-thumb { height: 100px; background-size: cover; background-position: center; }
.related-card-info { padding: 1rem 1.25rem; }
.related-card .rc-category { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.related-card .rc-title { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.related-card .rc-date { font-size: 0.8rem;; }
@media (max-width: 768px) {
    .article-hero { min-height: 300px; }
    .article-hero .article-title { font-size: 1.6rem; }
    .article-body p, .article-body li { font-size: 1rem; }
    .article-body > p:first-of-type::first-letter { font-size: 2.75rem; }
}
.ctx-links { margin: 2.5rem 0 1.5rem; padding: 1.5rem 2rem;; border: 1px solid var(--line); border-radius: 12px; }
.ctx-links h3 { margin: 0 0 1rem; font-size: 1.1rem;; font-family: 'Space Grotesk', sans-serif; }
.ctx-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ctx-links li { flex: 1 1 calc(50% - 0.75rem); min-width: 200px; }
.ctx-links a { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem;; border: 1px solid var(--line); border-radius: 8px;; text-decoration: none; font-size: 0.9rem; transition: border-color 0.2s, background 0.2s; }
.ctx-links a:hover {;; }
.ctx-links li a { font-weight: 500; }
@media (max-width: 600px) { .ctx-links li { flex: 1 1 100%; } }

.page-header { padding: 4rem 0 2rem; text-align: center;; }
.page-header h1 { font-size: 2.25rem;;;;; }
.page-body { max-width: 800px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.page-body h2 { font-size: 1.4rem; margin: 2rem 0 1rem; }
.page-body p {; margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; }
.page-body ul {; margin: 1rem 0 1.25rem 1.5rem; line-height: 1.8; }
.page-body a:not([class*="btn"]) {; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.legal-table th { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--card-border);; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
.legal-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--card-border);; vertical-align: top; }
.legal-table tr:last-child td { border-bottom: none; }
@media (max-width: 600px) { .legal-table { font-size: 0.8rem; } .legal-table th, .legal-table td { padding: 0.4rem 0.5rem; } }
.contact-card {; border: 1px solid var(--card-border); border-radius: 12px; padding: 2rem; text-align: center; margin: 2rem 0; }

.support-card {; border: 1px solid var(--card-border); border-radius: 12px; padding: 2rem; text-align: center; margin: 2rem 0; }
.support-card p { margin-bottom: 1.25rem; }
.support-card .kofi-badge { display: inline-block; transition: transform 0.2s ease, box-shadow 0.2s ease; border-radius: 12px; }
.support-card .kofi-badge:hover { transform: translateY(-2px);; }
.support-card .kofi-badge img { height: 48px; width: auto; border-radius: 12px; display: block; }
@media (max-width: 768px) { .page-header h1 { font-size: 1.75rem; } }
.page-header .page-subtitle {; font-size: 1rem; max-width: 640px; margin: 0.5rem auto 0; line-height: 1.5; }

.guide-cta {; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guide-cta-text { font-size: 0.95rem;; line-height: 1.5; }
.guide-cta-text strong {; }
.guide-cta-btn { display: inline-flex; align-items: center; gap: 0.4rem;;; font-weight: 600; font-size: 0.9rem; padding: 0.65rem 1.25rem; border-radius: var(--btn-radius); white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.15s ease; flex-shrink: 0; }
.guide-cta-btn:hover { transform: translateY(-1px);;; }
@media (max-width: 640px) { .guide-cta { flex-direction: column; text-align: center; } .guide-cta-btn { width: 100%; justify-content: center; } }

.archive-intro { font-size: 1.05rem;; margin: 0.5rem 0 1.5rem; line-height: 1.7; }
.archive-intro a {; font-weight: 500; }
.archive-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; }
.archive-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem;; border: 1px solid var(--card-border); border-radius: 999px;; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }
.archive-chip:hover {;;; }
.archive-chip-count { font-size: 0.72rem; padding: 0.1rem 0.45rem;; border-radius: 999px;; }
.archive-section { margin: 2.5rem 0; scroll-margin-top: 80px; }
.archive-section-h { font-size: 1.35rem; margin: 0 0 1rem;; display: flex; align-items: center; gap: 0.75rem; }
.archive-section-count { font-size: 0.8rem; font-weight: 400;; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.archive-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.15rem;; border: 1px solid var(--card-border); border-radius: 10px;; text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.archive-card:hover {;; transform: translateY(-2px); }
.archive-card-cat { display: inline-block; align-self: flex-start; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.18rem 0.55rem; border-radius: 999px;;; }
.archive-card-title { font-size: 1rem; line-height: 1.35; margin: 0;; }
.archive-card-excerpt { font-size: 0.85rem;; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.archive-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.5rem; font-size: 0.78rem;; }
.archive-card-arrow {; font-weight: 600; }
.archive-footer-cta { margin-top: 3rem; }
@media (max-width: 640px) { .archive-grid { grid-template-columns: 1fr; } .archive-section-h { font-size: 1.2rem; } }

.home-section--last { border-bottom: none; }
.contact-card-label { margin-bottom: 1rem;; }
.category-dot[data-pill="news"]        {; }
.category-dot[data-pill="strategy"]    {; }
.category-dot[data-pill="spoilers"]    {; }
.category-dot[data-pill="deck-guides"] {; }
.category-dot[data-pill="set-reviews"] {; }

.lands-picker-cta {; border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.lands-picker-cta h2 { margin: 0 0 0.5rem; font-size: 1.4rem;; }
.lands-picker-cta p { margin: 0 0 1rem;; line-height: 1.6; }
.lands-picker-cta .guide-cta-btn { display: inline-flex; align-items: center; gap: 0.4rem;;; font-weight: 600; padding: 0.65rem 1.25rem; border-radius: var(--btn-radius); text-decoration: none; }
.lands-picker-backlink { margin: 0.5rem 0 1rem; font-size: 0.9rem;; }
.lands-picker-backlink a {; text-decoration: none; font-weight: 500; }
.lands-picker-backlink a:hover {; text-decoration: underline; }

.table-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bracket-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;;
}

.bracket-table th,
.bracket-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.bracket-table thead th {;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;;
  white-space: nowrap;
}

.bracket-table tbody tr {;
}

.bracket-table tbody tr:hover {;
}

.bracket-table tbody td {;
}

.gc-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .gc-card-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .gc-card-list { grid-template-columns: repeat(4, 1fr); }
}

.gc-card-item {;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 600;;
  transition: border-color 0.2s ease;
}

.gc-card-item:hover {;
}

@media (max-width: 767px) {
  .bracket-table {
    min-width: 540px;
  }
}

.bq {
    margin: 1.5rem 0 2.5rem;
    padding: 1.25rem;;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    isolation: isolate;
}

.bq [hidden] { display: none !important; }

.bq-steps {
    list-style: none;
    counter-reset: bq-step;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bq-step {
    counter-increment: bq-step;
    padding: 1rem 1.1rem;;
    border-radius: 10px;
    border: 1px solid var(--line);
    position: relative;
}
.bq-step.is-answered {
    border-left: 3px solid var(--accent);;
}
.bq-step.is-active {
    border-left: 3px solid var(--accent-purple);;;
}
.bq-step.is-locked {
    opacity: 0.55;
}
.bq-step.is-locked .bq-options {
    pointer-events: none;
}

.bq-q {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;;
    line-height: 1.4;
}
.bq-q::before {
    content: "Q" counter(bq-step) ". ";;
    font-variant-numeric: tabular-nums;
    margin-right: 0.2rem;
}
.bq-help {
    margin: 0 0 0.7rem;
    font-size: 0.8125rem;;
    line-height: 1.5;
}
.bq-help a {;
}

.bq-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bq-opt {
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    border: 1.5px solid var(--line);;;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    line-height: 1.2;
    min-height: 36px;
    min-width: 80px;
}
.bq-opt:hover {;;
}
.bq-opt:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.bq-opt.is-selected {;;;
    font-weight: 600;
}
.bq-opt.is-selected:hover {;
}

.bq-progress {
    text-align: center;;
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.bq-result {
    margin-top: 1rem;
    padding: 1.25rem;;
    border: 1.5px solid var(--line);
    border-radius: 12px;
}
.bq-result-label {
    margin: 0 0 0.3rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;;
}
.bq-result-bracket {
    margin: 0 0 0.6rem;
    font-size: 1.5rem;
    font-weight: 700;;
    line-height: 1.2;
}
.bq-result-bracket [data-bq-bracket-num] {
    display: inline-block;;;
    padding: 0.1rem 0.65rem;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
    margin-right: 0.4rem;
}
.bq-result-why {
    margin: 0 0 1rem;
    font-size: 0.95rem;;
    line-height: 1.5;
}
.bq-result-actions {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}
.bq-result-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;;;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: 1.5px solid var(--accent);
}
.bq-result-cta:hover {;;
}
.bq-restart {
    padding: 0.5rem 1rem;
    border-radius: 8px;;
    border: 1.5px solid var(--line);;
    font-size: 0.8125rem;
    cursor: pointer;
    font-family: inherit;
}
.bq-restart:hover {; }

.bq-result[data-bracket="1"] [data-bq-bracket-num] {;; }
.bq-result[data-bracket="2"] [data-bq-bracket-num] {;; }
.bq-result[data-bracket="3"] [data-bq-bracket-num] {;; }
.bq-result[data-bracket="4"] [data-bq-bracket-num] {;; }
.bq-result[data-bracket="5"] [data-bq-bracket-num] {;; }

.bq-sources {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}
.bq-sources li {
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    line-height: 1.6;
}
.bq-sources code {;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;;
    font-size: 0.8em;
}

.bq-timeline-note {
    font-size: 0.8125rem;;
    font-style: italic;
    margin-top: 0.5rem;
}

.bq .visually-hidden,
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 480px) {
    .bq-result-bracket { font-size: 1.25rem; }
    .bq-result-actions { flex-direction: column; align-items: stretch; }
    .bq-result-cta { justify-content: center; }
}

.bq-noscript {
    padding: 0.75rem 1rem;;
    border: 1px solid var(--line);
    border-radius: 8px;;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.faq-section { margin: 2rem 0; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 0.75rem; overflow: hidden;; }
.faq-q { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600;; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;; user-select: none; }
.faq-q::after { content: '+'; font-size: 1.25rem;; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-q:focus-visible { outline: 2px solid var(--accent-purple, var(--line)); outline-offset: 2px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 800px; padding: 0 1.25rem 1rem; }
.faq-a p { margin: 0.5rem 0;; line-height: 1.6; }
.faq-a a {; }
.faq-a a:hover { text-decoration: underline; }

.validation-hero {;
    padding: 2rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 12px;
}
.validation-hero-lede {
    font-size: 1.05rem;;
    max-width: 760px;
}
.validation-hero-meta {
    font-size: 0.85rem;;
    margin-top: 0.5rem;
}

.accuracy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.acc-card {;
    border: 1px solid var(--card-border, var(--line));
    border-radius: 8px;
    padding: 1rem;
}
.acc-card .pct {
    font-size: 2.4rem;
    font-weight: 700;;
    line-height: 1;
}
.acc-card .pct.warn {; }
.acc-card .pct.fail {; }
.acc-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.4rem 0 0.25rem;;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.acc-card .ratio {
    font-size: 0.78rem;;
}

.deck-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin: 1rem 0;
}
.deck-table th,
.deck-table td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.deck-table th {;
    font-weight: 600;
}
.deck-table td.c { text-align: center; }
.deck-table .v-pass {; font-weight: 600; }
.deck-table .v-warn {; }
.deck-table .v-fail {; font-weight: 600; }
.deck-table .src {; text-decoration: none; }
.deck-table .bracket-cell strong {; }
.deck-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.confusion {
    border-collapse: collapse;
    margin: 1rem 0;
}
.confusion th,
.confusion td {
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line);
    text-align: center;
}
.confusion .diag-good {;;
    font-weight: 700;
}
.confusion .off-diag {;;
}

.source-list li { margin: 0.35rem 0; }

.limits {;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.limits h3 {; margin-top: 0; }

.reproduce {;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.reproduce h3 {; margin-top: 0; }
.reproduce code {;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85em;
}

.llm-compare {;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.llm-compare h3 {; margin-top: 0; }
.llm-compare .comparator-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 0.75rem 0 0.25rem;
}
.llm-compare .comparator-table th,
.llm-compare .comparator-table td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.llm-compare .comparator-table th {; font-weight: 600; }
.llm-compare .comparator-table td.metric { text-align: left; font-weight: 600; }
.llm-compare .comparator-table td.engine-col {; font-weight: 600; }
.llm-compare-timestamp { font-size: 0.82rem; margin-top: 0.5rem; }

.validation-footer-note {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;;
}

.mb-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 720px) {
  .mb-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .mb-hub-grid { grid-template-columns: repeat(3, 1fr); }
}

.mb-hub-card {;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mb-hub-card:hover {;;
}

.mb-hub-card-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;;
  width: fit-content;
}

.mb-hub-card h2 {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.3;
}

.mb-hub-card h2 a {;
}

.mb-hub-card h2 a:hover {;
}

.mb-hub-card p {;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.mb-hub-card-meta {
  font-size: 0.78rem;;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--card-border);
}

.mb-data-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 1.5rem;
}

.mb-data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.95rem;;
  font-variant-numeric: tabular-nums;
}

.mb-data-table th,
.mb-data-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.mb-data-table thead th {;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;;
  white-space: nowrap;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.mb-data-table tbody tr {;
}

.mb-data-table tbody tr:hover {;
}

.mb-data-table .mb-num { text-align: right; }
.mb-data-table .mb-num-up {; font-weight: 600; }
.mb-data-table .mb-num-down {; font-weight: 600; }
.mb-data-table .mb-num-flat {; }
.mb-data-table caption {
  caption-side: bottom;
  font-size: 0.78rem;;
  padding: 0.5rem 0 0;
  text-align: left;
  font-style: italic;
}

.mb-finding {
  border-left: 4px solid var(--accent);;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
}

.mb-finding-tag {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;;
  margin-bottom: 0.4rem;
}

.mb-finding p {
  margin: 0;;
  font-size: 0.98rem;
  line-height: 1.55;
}

.mb-finding.mb-warning {;;
}

.mb-finding.mb-warning .mb-finding-tag {; }

.mb-finding.mb-purple {;;
}

.mb-finding.mb-purple .mb-finding-tag {; }

.mb-methodology {;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.mb-methodology h2,
.mb-methodology h3 {
  margin-top: 0;
}

.mb-methodology dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}

@media (min-width: 600px) {
  .mb-methodology dl {
    grid-template-columns: minmax(140px, max-content) 1fr;
    column-gap: 1.25rem;
    row-gap: 0.5rem;
  }
}

.mb-methodology dt {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.mb-methodology dd {
  margin: 0 0 0.25rem 0;;
  font-size: 0.95rem;
}

@media (min-width: 600px) {
  .mb-methodology dd { margin-bottom: 0; }
}

.mb-scenario {;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.mb-scenario h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;;
}

.mb-scenario p {
  margin: 0.25rem 0;;
  font-size: 0.92rem;
}

.mb-scenario details {
  margin-top: 0.6rem;
}

.mb-scenario summary {
  cursor: pointer;
  font-size: 0.85rem;;
  font-weight: 600;
  user-select: none;
}

.mb-scenario summary:hover {; }

.mb-scenario pre {;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.mb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;;;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.mb-cta-btn:hover {;;
}

.mb-cta-btn-secondary {;;
  border: 1px solid var(--accent-purple);
}

.mb-cta-btn-secondary:hover {;;
}

.mb-toc {;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

.mb-toc-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;;
  margin: 0 0 0.5rem;
}

.mb-toc ol {
  margin: 0;
  padding-left: 1.25rem;;
  font-size: 0.92rem;
  line-height: 1.7;
}

.mb-toc ol a {; }
.mb-toc ol a:hover {; text-decoration: underline; }

.mb-faq {
  margin: 2rem 0 1rem;
}

.mb-faq h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;;
}

.mb-faq p {;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.mb-sources {
  margin: 2rem 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: 10px;;
}

.mb-sources h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.mb-sources ol {
  margin: 0;
  padding-left: 1.25rem;;
  font-size: 0.92rem;
  line-height: 1.7;
}

.mb-sources ol li { margin-bottom: 0.4rem; }
.mb-sources ol a {; }
.mb-sources ol a:hover { text-decoration: underline; }

.mb-route-intro {;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.mb-route {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0 2rem;
}

.mb-route-q {;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
}

.mb-route-q[open] {;;
}

.mb-route-q > summary {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
  user-select: none;
}

.mb-route-q > summary::-webkit-details-marker { display: none; }

.mb-route-q > summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  font-weight: 400;;
  transition: transform 0.18s ease;
}

.mb-route-q[open] > summary::after {
  content: '−';
}

.mb-route-q:hover > summary {;
}

.mb-route-a {
  margin-top: 0.75rem;
  padding-left: 0.5rem;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mb-route-q-nested {;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
}

.mb-route-q-nested > summary {
  font-size: 0.92rem;
  font-weight: 500;;
}

.mb-route-q-nested:hover > summary {;
}

.mb-route-rec {
  margin: 0.5rem 0 0;;
  font-size: 0.92rem;
  line-height: 1.55;
}

.mb-route-rec a {; }
.mb-route-rec a:hover {; text-decoration: underline; }

.mb-last-verified {
  display: inline-block;
  font-size: 0.78rem;;
  margin-top: 0.5rem;
  font-style: italic;
}

.draft-guide .precon-hero { margin-bottom: 1.5rem; }
.draft-guide .precon-hero-meta {; font-size: 0.85rem; }

.draft-section { margin: 2rem 0; }
.draft-section > h2 { margin-bottom: 0.75rem; }
.draft-section > p {; line-height: 1.7; }
.draft-note {; font-size: 0.85rem; margin-bottom: 0.5rem; }

.draft-card-cell { display: flex; align-items: center; gap: 0.5rem; }
.draft-card-thumb { border-radius: 4px; flex: 0 0 auto;; }

.draft-commons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.draft-commons-col {;
  border: 1px solid var(--card-border);
  border-radius: var(--btn-radius, 10px);
  padding: 0.85rem 1rem;
}
.draft-commons-col h3 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.draft-commons-col ol { margin: 0; padding-left: 1.1rem; }
.draft-commons-col li {; margin: 0.2rem 0; }
.draft-rating {; font-variant-numeric: tabular-nums; font-size: 0.85rem; }

.draft-post-link { margin-top: 1.5rem; }

.gc-app {
    margin: 1.5rem 0 2.5rem;
    padding: 1.25rem;;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    isolation: isolate;
}

.gc-app [hidden] { display: none !important; }

.gc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;;
    margin-bottom: 1rem;
}
.gc-meta-count {
    font-weight: 600;;
}
.gc-meta-sep {;
}
.gc-meta code {;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;;
    font-size: 0.75rem;
}

.gc-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.gc-search-wrap { display: block; }
.gc-search-wrap input[type="search"] {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    border: 1.5px solid var(--line);;;
    font-size: 1rem;
    font-family: inherit;
}
.gc-search-wrap input[type="search"]:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;;
}
.gc-search-wrap input[type="search"]::-webkit-search-cancel-button {
    cursor: pointer;
}

.gc-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    border: none;
    margin: 0;
    padding: 0;
}
.gc-filter-group legend {
    font-size: 0.75rem;;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 0.5rem;
    flex: 0 0 auto;
}

.gc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1.5px solid var(--line);;;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    font-family: inherit;
    min-height: 32px;
}
.gc-chip:hover {;;
}
.gc-chip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.gc-chip.is-active {;;;
    font-weight: 600;
}
.gc-chip-count {
    display: inline-block;;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
}
.gc-chip.is-active .gc-chip-count {;;
}

.gc-chip-w::before, .gc-chip-u::before, .gc-chip-b::before,
.gc-chip-r::before, .gc-chip-g::before, .gc-chip-m::before,
.gc-chip-c::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--line);
    flex: 0 0 auto;
}
.gc-chip-w::before {; }
.gc-chip-u::before {; }
.gc-chip-b::before {; }
.gc-chip-r::before {; }
.gc-chip-g::before {; }
.gc-chip-m::before {; }
.gc-chip-c::before {; }

.gc-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.gc-sort-label {
    font-size: 0.75rem;;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
#gc-sort {
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    border: 1.5px solid var(--line);;;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    min-height: 32px;
}
#gc-sort:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.gc-clear-btn {
    align-self: flex-start;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;;
    border: 1.5px solid var(--line);;
    font-size: 0.8125rem;
    cursor: pointer;
    font-family: inherit;
}
.gc-clear-btn:hover {; }

.gc-result-meta {
    font-size: 0.8125rem;;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;;
    border-radius: 8px;
}
.gc-result-meta span[data-gc-result-count] {;
    font-weight: 600;
}

.gc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 560px) {
    .gc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 880px) {
    .gc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
    .gc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.gc-loading,
.gc-empty,
.gc-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;;;
    border-radius: 10px;
    border: 1px dashed var(--line);
}
.gc-error {;;;
}
.gc-empty-reset {;
    border: 1.5px solid var(--accent);;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-family: inherit;
    cursor: pointer;
    margin-left: 0.5rem;
}
.gc-empty-reset:hover {; }

.gc-card {
    display: flex;
    flex-direction: column;;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}
.gc-card-link {
    display: block;
    aspect-ratio: 244 / 340;;
    overflow: hidden;
}
.gc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gc-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 0.95rem 1rem;
    flex: 1 1 auto;
}
.gc-card-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;;
    line-height: 1.2;
}
.gc-card-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.75rem;;
    line-height: 1.3;
}
.gc-card-cost {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;;;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
}
.gc-card-type {
    flex: 1 1 auto;
    min-width: 0;
}
.gc-card-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.gc-card-tags li {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;;;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--line);
}
.gc-card-why {
    margin: 0;
    font-size: 0.8125rem;;
    line-height: 1.5;
    flex: 1 1 auto;
}
.gc-card-foot {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    padding-top: 0.4rem;
    border-top: 1px solid var(--line);
}
.gc-card-scryfall {;
    font-weight: 500;
    text-decoration: none;
}
.gc-card-scryfall:hover { text-decoration: underline; }
.gc-card-price {;
    font-variant-numeric: tabular-nums;
}
.gc-card-price[data-price-tier="premium"] {; }

.gc-noscript {
    padding: 0.75rem 1rem;;
    border: 1px solid var(--line);
    border-radius: 8px;;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.gc-sources {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}
.gc-sources li {
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    line-height: 1.6;
}
.gc-sources code {;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;;
    font-size: 0.8em;
}

.gc-timeline-note {
    font-size: 0.8125rem;;
    font-style: italic;
    margin-top: 0.5rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.faq-section { margin: 2rem 0; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 0.75rem; overflow: hidden;; }
.faq-q { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600;; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;; user-select: none; }
.faq-q::after { content: '+'; font-size: 1.25rem;; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-q:focus-visible { outline: 2px solid var(--accent-purple, var(--line)); outline-offset: 2px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 800px; padding: 0 1.25rem 1rem; }
.faq-a p { margin: 0.5rem 0;; line-height: 1.6; }
.faq-a a {; }
.faq-a a:hover { text-decoration: underline; }

.tp-hero {;
    padding: 2.5rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--line);
}
.tp-hero h1 { margin: 0 0 0.75rem; font-size: 2.1rem; line-height: 1.2; }
.tp-hero-subtitle {
    font-size: 1.05rem;;
    max-width: 760px;
    margin: 0 0 1rem;
}
.tp-hero-meta {
    font-size: 0.85rem;;
    margin: 0;
}
.tp-byline {
    margin: 0 0 1.5rem;
    font-size: 0.85rem;;
}

.tp-key-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}
.tp-stat {;
    border: 1px solid var(--card-border, var(--line));
    border-radius: 8px;
    padding: 1rem 1.25rem;
}
.tp-stat .tp-stat-value {
    font-size: 2rem;
    font-weight: 700;;
    line-height: 1;
}
.tp-stat .tp-stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;;
    margin-top: 0.4rem;
}

.tp-pullquote {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.5;;
    border-left: 4px solid var(--line);
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0;
    max-width: 720px;
}
.tp-pullquote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.85rem;;
}

.tp-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}
.tp-data-table caption {
    text-align: left;
    font-size: 0.85rem;;
    padding: 0 0 0.5rem;
    caption-side: top;
}
.tp-data-table th,
.tp-data-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.tp-data-table th {;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.tp-data-table td.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.tp-data-table td.tp-tip-fast   {; font-weight: 600; }
.tp-data-table td.tp-tip-mid    {; font-weight: 600; }
.tp-data-table td.tp-tip-slow   {; font-weight: 600; }
.tp-data-table td.tp-tip-broken {; font-weight: 600; }
.tp-data-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
}

.tp-callout {;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.tp-callout h3 {; margin-top: 0; }
.tp-callout p { margin-bottom: 0; }

.tp-finding {;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
}
.tp-finding h3 { margin-top: 0; }
.tp-finding .tp-finding-stat {
    display: inline-block;;;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.tp-comparator {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.tp-comparator th,
.tp-comparator td {
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--line);
    text-align: left;
}
.tp-comparator th {; font-weight: 600; }
.tp-comparator td.match    {; }
.tp-comparator td.partial  {; }
.tp-comparator td.absent   {; }

.tp-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0;
}
.tp-cta a {
    display: inline-block;
    padding: 0.65rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.tp-cta a.cta-primary {;;
}
.tp-cta a.cta-secondary {;;
    border: 1px solid var(--line);
}
.tp-cta a.cta-secondary:hover {; }

.tp-faq {
    margin: 2rem 0;
}
.tp-faq h2 { margin-bottom: 0.75rem; }
.tp-faq-item {;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
}
.tp-faq-q {
    font-weight: 600;;
    margin: 0 0 0.5rem;
    font-size: 1rem;
}
.tp-faq-a { margin: 0;; }
.tp-faq-a code {;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85em;
}

.tp-source-row {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;;
}
.tp-source-row ul { margin: 0.5rem 0; padding-left: 1.25rem; }
.tp-source-row li { margin: 0.2rem 0; }

@media (max-width: 480px) {
    .tp-hero { padding: 1.5rem 1rem; }
    .tp-hero h1 { font-size: 1.6rem; }
    .tp-stat .tp-stat-value { font-size: 1.6rem; }
    .tp-data-table { font-size: 0.82rem; }
    .tp-data-table th, .tp-data-table td { padding: 0.4rem 0.5rem; }
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
    text-align: center;
}
.error-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;;;;;
}
.error-message {
    font-size: 1.5rem;;
    margin-bottom: 0.5rem;
}
.error-sub {;
    font-size: 1rem;
    margin-bottom: 2rem;
}
.error-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-suggestions {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}
.error-suggestions h2 {
    font-size: 1rem;;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.error-suggestions ul {
    list-style: none;
    padding: 0;
}
.error-suggestions li {
    margin-bottom: 0.5rem;
}
.error-suggestions a {;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.15s;
}
.error-suggestions a:hover {;
}
@media (max-width: 768px) {
    .error-code { font-size: 5rem; }
    .error-message { font-size: 1.2rem; }
}

html {
    --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 { 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;;;;; }
.hero-section .subtitle {; font-size: 1.1rem; margin-bottom: 0.5rem; }
.hero-section .rules-text {; 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 {; 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);; }
.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;; font-size: 0.875rem; margin-bottom: 1.5rem; }
.set-meta span { display: flex; align-items: center; gap: 0.35rem; }

.btn-start .spinner { display: none; width: 16px; height: 16px; border: 2px solid var(--line);; 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); } }

.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 { 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 {; font-size: 0.85rem; display: flex; align-items: center; gap: 0.35rem; }
.progress-bar { height: 3px;; border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%;; border-radius: 2px; transition: width 0.3s ease; }
.keyboard-hint {; font-size: 0.75rem; margin-top: 0.5rem; }

.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 { 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);;; 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 {;; }
.pack-size-btn.active {;;; }

.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; display: flex; flex-direction: column; border-radius: 4px; overflow: hidden; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;; }
.pack-card-image { position: relative; aspect-ratio: 488 / 680; overflow: hidden; }
.pack-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pack-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 4px 6px;; border-top: 1px solid var(--line); min-height: 22px; }
.pack-card:hover { transform: scale(1.08);; z-index: 10; }
.pack-card.picked { animation: pickFlash 0.4s ease;; }
.pack-card.fading { opacity: 0; transform: scale(0.95); pointer-events: none; }
.pack-card .card-number {;; font-size: 0.7rem; font-weight: 600; padding: 1px 6px; border-radius: 3px; letter-spacing: 0.3px; pointer-events: none; }
.pack-card .card-grade { font-size: 0.7rem; font-weight: 700; padding: 1px 6px; border-radius: 3px; pointer-events: none; letter-spacing: 0.3px; }

.pack-card .card-wr { font-size: 0.7rem; font-weight: 700; padding: 1px 5px; border-radius: 3px; pointer-events: none; letter-spacing: 0.2px;;; }
.pack-card .card-wr.wr-elite {;; }
.pack-card .card-wr.wr-good  {;; }
.pack-card .card-wr.wr-ok    {; }
.pack-card .card-wr.wr-mid   {;; }
.pack-card .card-wr.wr-low   {;; }
.pack-compact .card-wr { font-size: 0.6rem; }
.pack-standard .card-wr { font-size: 0.7rem; }
.pack-large .card-wr { font-size: 0.85rem; padding: 2px 6px; }
.grade-Ap {;; }
.grade-A {;; }
.grade-B {;; }
.grade-C {;; }
.grade-D {;; }
.grade-F {;; }
@keyframes pickFlash {
    0% {; }
    50% {; transform: scale(1.05); }
    100% {; transform: scale(1); }
}

.card-tooltip { position: fixed; z-index: 2000;; border: 1px solid var(--line); border-radius: 8px; padding: 0.75rem; max-width: 280px; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; font-size: 0.8rem;; }
.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 {; font-size: 0.8rem; margin-bottom: 0.25rem; }
.card-tooltip .tt-type {; font-size: 0.75rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--card-border); padding-bottom: 0.4rem; }
.card-tooltip .tt-oracle {; font-size: 0.75rem; line-height: 1.5; }
.card-tooltip .tt-pt {; font-weight: 600; font-size: 0.8rem; margin-top: 0.4rem; text-align: right; }
.card-tooltip .tt-rating {; font-size: 0.7rem; margin-top: 0.25rem; }

.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 {; font-size: 0.85rem; }

.pool-colors { display: flex; flex-direction: column; gap: 0.75rem; }
.pool-color-group {; 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;; }
.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;; }

.mini-curve { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--card-border); }
.mini-curve h4 { font-size: 0.75rem;; margin-bottom: 0.5rem; }
.curve-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.curve-bar { flex: 1;; 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;; }
.curve-bar-count { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 0.6rem;; }

.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;;;;; }
.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;; border: 1px solid var(--card-border); border-radius: 8px; padding: 0.5rem 0; min-width: 200px;; 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;;; 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 {;; }

.btn:not(.btn-primary) { 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;;; cursor: pointer; font-family: inherit; transition: border-color 0.2s ease, color 0.2s ease; }
.btn:not(.btn-primary):hover {;; }

.deck-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; padding: 1rem;; border: 1px solid var(--card-border); border-radius: 8px; }
.stat { font-size: 0.9rem;; }
.stat strong {; }

.board-tabs { display: flex; gap: 0; margin-bottom: 1rem; }
.board-tab { padding: 0.5rem 1.25rem;; border: 1px solid var(--card-border); font-size: 0.85rem; font-weight: 500;; 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 {;;; }

.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;; 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 {; }
.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 {; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deck-card-entry .entry-cmc {; font-size: 0.7rem; flex-shrink: 0; }
.deck-card-entry.sideboarded { opacity: 0.4; }

.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;; }
.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;;; 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 {; }

.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;; border: 1px solid var(--card-border); border-radius: 4px;; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; }
.view-mode-btn:hover {;; }
.view-mode-btn.active {;;; }

.mana-panel {; 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; }

.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;; position: relative; z-index: 1; }
.histo-label { font-size: 0.7rem;; }
.histo-count { font-size: 0.7rem;; }

.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);;; 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 {;; }
.land-control .land-count { font-size: 0.9rem; font-weight: 600; width: 20px; text-align: center; }

.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);;; 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-preview-overlay { position: fixed; inset: 0;; 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;; border-top: 1px solid var(--line); 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;; 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 {; font-size: 0.85rem; margin-bottom: 0.2rem; }
.mobile-preview-info .mp-type {; font-size: 0.8rem; margin-bottom: 0.5rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--card-border); }
.mobile-preview-info .mp-oracle {; 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 {; 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;; border: none; border-radius: 10px; font-weight: 700; font-size: 1rem;; cursor: pointer; font-family: inherit; }
.mobile-preview-actions .btn-cancel { padding: 0.85rem 1.25rem;; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: 1rem;; cursor: pointer; font-family: inherit; }

.pack-card.selected { outline: 3px solid var(--accent-purple); outline-offset: 2px; transform: scale(1.04);; z-index: 10; }

@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); }
}

.set-guide-callout {; border: 1px solid var(--card-border); border-left: 3px solid var(--accent-purple); 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;; margin-bottom: 0.5rem; }
.callout-link {; 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;;;;; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; }
.faq-item {; 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;; flex-shrink: 0; margin-left: 1rem; transition: transform 0.2s; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 1.25rem 1rem;; 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 {; text-decoration: underline; }

.pack-card.suggested { outline: 2px solid var(--line); outline-offset: 1px; }
.suggestion-badge { position: absolute; bottom: 4px; right: 4px;;; font-size: 0.6rem; font-weight: 700; padding: 1px 5px; border-radius: 3px; pointer-events: none; }

.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;; cursor: pointer; }
.toggle-label input[type="checkbox"] {; width: 14px; height: 14px; }

.pool-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; padding: 0.75rem;; border: 1px solid var(--card-border); border-radius: 8px; font-size: 0.8rem;; }
.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 { 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;;; 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 {;; }
.color-filter.cf-U {;; }
.color-filter.cf-B {;; border: 1px solid var(--line); }
.color-filter.cf-R {;; }
.color-filter.cf-G {;; }
.color-filter:hover {; }
.color-filter.active {;; }

.mana-dot-W {; }
.mana-dot-U {; }
.mana-dot-B {; border: 1px solid var(--line); }
.mana-dot-R {; }
.mana-dot-G {; }

.rarity-mythic {; }
.rarity-rare {; }
.rarity-uncommon {; }

@media (hover: none) and (pointer: coarse) {
    .card-tooltip { display: none !important; }
    .pack-card:hover { transform: none;; z-index: auto; }
    .pack-card.selected { transform: scale(1.04);; z-index: 10; }
    .pool-mini-card:hover { transform: none; z-index: auto;; }
    .deck-visual-card:hover { transform: none; z-index: auto;; }
    .deck-visual-card .visual-sb-badge { opacity: 0.6; }
}

@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; }

@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%);; border: 1px solid var(--line);
    border-radius: 10px; padding: 0.6rem 1.5rem; z-index: 1200;
    font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600;; text-align: center; pointer-events: none;
    animation: bannerSlide 0.8s ease forwards;;
}

@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;;
    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-size: 200% auto;;;;
    animation: celebShimmer 1.8s linear infinite, celebPulse 0.6s ease forwards;
}
.draft-complete-overlay .celeb-stats {; font-size: 1rem; margin-top: 0.75rem;
    animation: celebPulse 0.6s ease 0.2s forwards; opacity: 0;
}

.draft-signals { display: none; gap: 0.5rem; align-items: center; margin-bottom: 0.75rem; padding: 0.5rem;; border-radius: 6px; }
.draft-signals.visible { display: flex; }
.draft-signals-label { font-size: 0.65rem;; margin-right: 0.25rem; }
.signal-dot {
    width: 18px; height: 18px; border-radius: 50%; position: relative;
    border: 1.5px solid var(--line); 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 {;; }
.signal-fill-W {; }
.signal-fill-U {; }
.signal-fill-B {; }
.signal-fill-R {; }
.signal-fill-G {; }

.pool-draft-stats { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.75rem; font-size: 0.75rem;; }

.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 {;; }
.rating-ok {;; }
.rating-bad {;; }

.builder-sort-buttons { display: flex; gap: 0.25rem; align-items: center; }
.sort-label { font-size: 0.7rem;; margin-right: 0.25rem; }
.sort-btn {
    padding: 0.3rem 0.6rem; font-size: 0.7rem; font-weight: 600; font-family: inherit;; border: 1px solid var(--card-border); border-radius: 4px;; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.sort-btn:hover {;; }
.sort-btn.active {;;; }

.entry-sb-btn {
    font-size: 0.6rem; font-weight: 700; font-family: inherit;
    padding: 1px 4px; border-radius: 3px; cursor: pointer;; border: 1px solid var(--line);; 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 {;;; }
@media (hover: none) and (pointer: coarse) {
    .entry-sb-btn { opacity: 0.6; }
}

.deck-lightbox-overlay {
    position: fixed; inset: 0;; 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;;
    border: 1px solid var(--line); 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; }

@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;;
    }
    .deck-lightbox.visible { transform: translate(-50%, -50%) scale(1); }
}

@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 var(--line);;;
    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 {;; }
.deck-lightbox-handle { width: 36px; height: 4px;; border-radius: 2px; margin: 10px auto 8px; display: none; }
@media (hover: none) and (pointer: coarse) { .deck-lightbox-handle { display: block; } }

.deck-lightbox-nav {
    position: absolute; top: 50%; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line);;; 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 {;; }
.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; } }

.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 var(--line);;; 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 {;; }
.deck-lightbox-nav-row button:disabled { opacity: 0.3; cursor: default; }

.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 {; font-size: 0.9rem; margin-bottom: 0.2rem; }
.dl-type {; font-size: 0.85rem; margin-bottom: 0.5rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--card-border); }
.dl-oracle {; 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 {; 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;; border: 1px solid var(--line);;
}
.dl-sb-btn:hover {;; }
.dl-sb-btn.in-sideboard {;;; }
.dl-sb-btn.in-sideboard:hover {;; }
.stat-hint {; font-size: 0.8rem; }

.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 var(--line); border-bottom: none;
    border-radius: 3px 3px 0 0; pointer-events: none; transition: height 0.3s ease;
}

.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 {;; }
.feedback-item.good {;; }

.pick-review-overlay {
    position: fixed; inset: 0;; 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;;
    padding: 0.75rem 0; z-index: 1;
}
.pick-review-header h2 {
    font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem;;;;;
}
.pick-review-close {; border: 1px solid var(--line);;
    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 {;; }
.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 var(--line);;
}
.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 {; }
.pick-review-num {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;;;
    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 var(--line);;
}
.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;;
    margin-bottom: 0.15rem;
}
.pick-review-card-meta {
    font-size: 0.75rem;;
}
.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 var(--line);
}

@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; }
}

#botDeckOverlay { position: fixed; inset: 0;; 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;;;;; }
.bot-deck-close {; border: 1px solid var(--line);; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-family: inherit; }
.bot-deck-close:hover {; }
#botDeckGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.bot-deck-panel {; 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;; margin-bottom: 0.75rem; }
.bot-deck-lands { font-size: 0.75rem;; 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 { max-width: 720px; margin: 0 auto; padding: 1.5rem 0 0; }
.quick-draft-title { font-size: 1.1rem;; margin-bottom: 1rem; }
.quick-draft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.quick-draft-card {; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease; text-align: center; }
.quick-draft-card:hover {;; transform: translateY(-2px);; }
.quick-draft-name { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600;; margin-bottom: 0.2rem; }
.quick-draft-code { font-size: 0.75rem;; text-transform: uppercase; letter-spacing: 0.05em; }
.all-sets-title { max-width: 720px; margin: 2rem auto 0; font-size: 1.1rem;; }
@media (max-width: 640px) { .quick-draft-grid { grid-template-columns: repeat(2, 1fr); } }

.hero-quick-draft { margin-top: 1rem; padding: 0.7rem 1.5rem; font-size: 0.95rem; font-weight: 600; }
@media (max-width: 640px) { .hero-quick-draft { display: flex; width: 100%; justify-content: center; padding: 0.85rem 1rem; font-size: 1rem; } }

.draft-mode-toggle { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line); border-radius: 8px; padding: 0.35rem 0.7rem;; }
.draft-mode-legend { font-size: 0.72rem;; text-transform: uppercase; letter-spacing: 0.05em; padding: 0 0.3rem; }
.draft-mode-toggle label { font-size: 0.82rem;; cursor: pointer; display: inline-flex; align-items: center; gap: 0.25rem; min-height: 24px; padding: 2px 0; }
.draft-mode-toggle input[type="radio"] {; margin: 0; width: 16px; height: 16px; }

.suggestion-why { position: absolute; bottom: 4px; left: 4px;;; font-size: 0.6rem; font-weight: 700; padding: 1px 5px; border-radius: 3px; pointer-events: auto; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: help; }

.costly-pick-block { margin-bottom: 1.5rem; padding: 0.75rem 1rem;; border-left: 3px solid var(--line); border-radius: 4px; }
.costly-pick-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;; font-weight: 600; margin-bottom: 0.5rem; }
.costly-pick-row { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.4rem 0; border-top: 1px solid var(--line); }
.costly-pick-row:first-of-type { border-top: 0; padding-top: 0; }
.costly-pick-loc { font-size: 0.7rem;; width: 48px; flex-shrink: 0; font-weight: 600; padding-top: 2px; }
.costly-pick-body { flex: 1; min-width: 0; }
.costly-pick-line { font-size: 0.85rem;; line-height: 1.4; }
.costly-pick-delta {; font-weight: 600; }
.costly-pick-reasons { font-size: 0.78rem;; margin-top: 0.15rem; font-style: italic; }

.predicted-wins-score { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 0.95rem;; border-left: 3px solid var(--line); border-radius: 4px; min-width: 200px; cursor: help; }
.predicted-wins-score.neutral {;; }
.predicted-wins-score.warn {;; }
.predicted-wins-score.muted {;; opacity: 0.85; }
.predicted-wins-score .pw-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em;; font-weight: 600; }
.predicted-wins-score .pw-value { font-size: 1.6rem; font-weight: 700;; line-height: 1; }
.predicted-wins-score .pw-sub { font-size: 0.72rem;; }

.curve-bar.curve-bar-dim {; }
.curve-bar.curve-bar-neutral {; }
.curve-bar.curve-bar-hot {; }

.tool-host .page-header {
  padding: 0;
  text-align: left;
  background: none;
}

.tool-host .page-header > .container {
  max-width: none;
  padding: 0;
  margin: 0;
}
.tool-host .page-header h1 {
  font-family: var(--font-display);
  font-size: var(--fs-36);
  font-weight: 800;
  letter-spacing: var(--track-tight);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

.tool-host .breadcrumb {
  padding: 0;
  margin: 0 0 var(--s-3);
  font-size: var(--fs-14, 0.875rem);
  color: var(--ink-muted);
}
.tool-host .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
}
.tool-host .breadcrumb li { display: inline-flex; align-items: center; }
.tool-host .breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: var(--s-2);
  color: var(--ink-muted);
  opacity: 0.6;
}

.tool-host .page-body {
  max-width: var(--measure-read, 68ch);
  margin: 0;
  padding: var(--s-5) 0 var(--s-7);
  font-family: var(--font-sans);
}

.tool-host .page-body h2 {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 600;
  letter-spacing: var(--track-tight);
  color: var(--ink);
  margin: var(--s-6) 0 var(--s-3);
}
.tool-host .page-body h2:first-child { margin-top: 0; }

.tool-host .page-body p {
  color: var(--ink-dim);
  font-size: var(--fs-16);
  line-height: 1.65;
  margin: 0 0 var(--s-4);
}

.tool-host .page-body ul {
  color: var(--ink-dim);
  font-size: var(--fs-16);
  line-height: 1.65;
  margin: 0 0 var(--s-4);
  padding-left: var(--s-5);
}
.tool-host .page-body li { margin-bottom: var(--s-2); }
.tool-host .page-body li strong { color: var(--ink); }

.tool-host .page-body a:not([class*="btn"]) {
  color: var(--flare);
  text-decoration: none;
  border-bottom: 1px solid var(--flare-line);
}
.tool-host .page-body a:not([class*="btn"]):hover {
  color: var(--flare-soft);
  border-bottom-color: var(--flare-soft);
}
.tool-host .page-body a:not([class*="btn"]):focus-visible {
  outline: 2px solid var(--flare);
  outline-offset: 2px;
}

.tool-host .support-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin: var(--s-6) 0;
  text-align: center;
}
.tool-host .support-card p {
  margin: 0 0 var(--s-4);
  color: var(--ink-dim);
}

.tool-host .support-card .kofi-badge {
  display: inline-block;
  border-radius: var(--r-md);

  transition: transform var(--dur-normal) var(--ease),
              box-shadow var(--dur-normal) var(--ease);
}
.tool-host .support-card .kofi-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(255, 176, 32, 0.22);
}
.tool-host .support-card .kofi-badge:focus-visible {
  outline: 2px solid var(--flare);
  outline-offset: 3px;
}
.tool-host .support-card .kofi-badge img {
  display: block;
  height: 48px;
  width: auto;
  border-radius: var(--r-md);
}

@media (max-width: 640px) {
  .tool-host .page-body { padding: var(--s-4) 0 var(--s-6); }
  .tool-host .support-card { padding: var(--s-4); }
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  text-align: center;
  margin: var(--s-6) 0;
}
.contact-card-label { margin-bottom: var(--s-4); color: var(--ink-dim); }

.legal-table { width: 100%; border-collapse: collapse; margin: var(--s-4) 0 var(--s-5); font-size: var(--fs-14); }
.legal-table th {
  text-align: left; padding: var(--s-2) var(--s-3);
  border-bottom: 2px solid var(--line-strong);
  color: var(--ink); font-weight: 600; font-size: var(--fs-12);
  text-transform: uppercase; letter-spacing: var(--track-wide, 0.04em);
}
.legal-table td {
  padding: var(--s-2) var(--s-3);
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim); vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }

.tool-host .page-body .bq-q { color: var(--ink); }
.tool-host .page-body .bq-q em { color: inherit; }
.tool-host .page-body .bq-help { color: var(--ink-dim); }

.bq-step.is-locked { opacity: 0.75; }

.land-cycle-list { list-style: none; padding: 0; margin: var(--s-4) 0; }
.land-cycle-list > li { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.land-cycle-list > li:last-child { border-bottom: none; }

.tier-badge {
  display: inline-block; margin-left: var(--s-2);
  padding: 0.15rem 0.6rem; border-radius: 999px;
  font-size: var(--fs-12); font-weight: 600;
  border: 1px solid currentColor;
  vertical-align: middle;
}
.tier-premium .tier-badge { color: var(--b1); }
.tier-strong  .tier-badge { color: var(--b3); }
.tier-budget  .tier-badge { color: var(--ink-dim); }

#quickDraftGrid { min-height: 101px; }
@media (max-width: 767px) { #quickDraftGrid { min-height: 214px; } }
