:root {
    --blue-950: #052744;
    --blue-900: #082f57;
    --blue-800: #0b477d;
    --blue-700: #0c63a6;
    --blue-600: #1682c4;
    --blue-100: #dff2ff;
    --blue-050: #f2f9ff;
    --orange: #e96c16;
    --orange-soft: #fff0e4;
    --text: #17283a;
    --muted: #607286;
    --border: #d9e5ef;
    --surface: #ffffff;
    --bg: #f7fbfe;
    --shadow: 0 14px 40px rgba(16, 57, 91, .09);
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 150px; }

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.site-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 16px; color: white; background: var(--blue-900); border-radius: 8px; }

.sample-ribbon { color: white; background: var(--blue-900); font-size: 12px; }
.sample-ribbon__inner { min-height: 33px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.sample-ribbon__inner span { padding: 1px 8px; color: var(--blue-950); background: #bcecff; border-radius: 999px; font-weight: 800; }
.sample-ribbon__inner p { margin: 0; letter-spacing: .02em; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, .97); box-shadow: 0 4px 18px rgba(13, 55, 88, .07); backdrop-filter: blur(12px); }
.header-main { min-height: 78px; display: grid; grid-template-columns: auto minmax(280px, 520px) auto; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-word { color: var(--blue-900); font-size: 28px; line-height: 1; font-weight: 950; letter-spacing: -.08em; }
.brand-cards { position: relative; width: 41px; height: 35px; display: block; border-radius: 6px; background: var(--blue-700); transform: rotate(-7deg); box-shadow: inset 0 0 0 3px white, 0 0 0 1px var(--blue-700); }
.brand-cards::before, .brand-cards::after { content: ""; position: absolute; width: 31px; height: 38px; border: 3px solid white; border-radius: 6px; background: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.brand-cards::before { left: 12px; top: 3px; transform: rotate(12deg); }
.brand-cards::after { width: 11px; height: 11px; left: 9px; top: 9px; border: 2px solid white; border-radius: 50%; background: transparent; box-shadow: none; }
.site-search { display: flex; min-width: 0; height: 43px; border: 1px solid #cbdce9; border-radius: 9px; overflow: hidden; background: white; }
.site-search:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(22, 130, 196, .12); }
.site-search input { width: 100%; min-width: 0; padding: 0 14px; border: 0; outline: none; color: var(--text); }
.site-search button { padding: 0 20px; border: 0; color: white; background: var(--blue-700); cursor: pointer; font-weight: 800; }
.header-actions { display: flex; gap: 9px; align-items: center; white-space: nowrap; }
.header-button { display: inline-flex; min-height: 39px; padding: 6px 13px; align-items: center; justify-content: center; border: 1px solid var(--blue-700); border-radius: 8px; color: var(--blue-800); font-size: 13px; font-weight: 800; }
.header-button--primary { color: white; background: var(--blue-700); }
.nav-toggle { display: none; min-height: 39px; padding: 6px 13px; border: 1px solid var(--border); border-radius: 8px; background: white; font-size: 13px; font-weight: 800; cursor: pointer; }
.primary-nav { border-top: 1px solid #eaf0f5; background: white; }
.nav-inner { min-height: 45px; display: flex; justify-content: center; gap: 45px; align-items: center; }
.nav-inner a { position: relative; color: #40566b; font-size: 14px; font-weight: 800; }
.nav-inner a:hover { color: var(--blue-700); }
.nav-inner a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -12px; height: 2px; background: var(--orange); transition: .18s ease; }
.nav-inner a:hover::after { left: 0; right: 0; }

.breadcrumb { padding-block: 17px; display: flex; gap: 9px; align-items: center; color: #718397; font-size: 12px; white-space: nowrap; overflow: hidden; }
.breadcrumb a:hover { color: var(--blue-700); }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.content-layout { display: grid; grid-template-columns: minmax(0, 820px) 290px; align-items: start; gap: 34px; padding-bottom: 80px; }
.article { min-width: 0; }
.article-header { padding: 30px 34px 28px; border: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; background: white; }
.article-tags { display: flex; gap: 8px; margin-bottom: 13px; }
.article-tag { display: inline-flex; padding: 3px 11px; align-items: center; border-radius: 999px; color: white; background: var(--blue-700); font-size: 12px; font-weight: 800; }
.article-tag--pale { color: var(--blue-800); background: var(--blue-100); }
.article-header h1 { margin: 0; color: var(--blue-950); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.45; letter-spacing: -.035em; }
.article-meta { display: flex; gap: 18px; margin-top: 15px; color: var(--muted); font-size: 12px; }

.event-hero { position: relative; min-height: 365px; padding: 46px; display: grid; grid-template-columns: minmax(0, 1.08fr) .92fr; gap: 28px; overflow: hidden; color: white; background: linear-gradient(125deg, #07385e 0%, #075f89 55%, #0b8e9c 100%); }
.event-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; top: -180px; border: 82px solid rgba(255, 255, 255, .09); border-radius: 50%; }
.event-hero::after { content: ""; position: absolute; width: 240px; height: 240px; left: 38%; bottom: -195px; border: 45px solid rgba(255, 255, 255, .06); border-radius: 50%; }
.event-hero__copy, .deck-visual { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 10px; color: #aeeaf5; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.event-hero__copy h2 { margin: 0; color: white; font-size: clamp(29px, 4.4vw, 46px); line-height: 1.22; letter-spacing: -.04em; }
.event-hero__copy h2 strong { color: #dfff9c; font-weight: 950; }
.event-hero__copy > p:not(.eyebrow) { max-width: 440px; margin: 18px 0 0; color: #d7edf4; font-size: 14px; line-height: 1.8; }
.event-hero__winner { margin-top: 25px; display: inline-flex; gap: 11px; align-items: center; }
.event-hero__winner span { padding: 3px 9px; border-radius: 4px; color: var(--blue-950); background: #dfff9c; font-size: 11px; font-weight: 950; }
.event-hero__winner strong { font-size: 15px; }
.deck-visual { min-height: 265px; }
.deck-visual__card { position: absolute; width: 146px; height: 198px; padding: 17px; display: flex; flex-direction: column; justify-content: flex-end; border: 4px solid rgba(255, 255, 255, .88); border-radius: 13px; color: var(--blue-950); background: linear-gradient(155deg, #efffc5, #75c983); box-shadow: 0 18px 36px rgba(0, 29, 45, .28); font-size: 13px; line-height: 1.25; font-weight: 900; }
.deck-visual__card::before { content: ""; position: absolute; inset: 14px 14px 58px; border: 2px solid rgba(8, 47, 87, .2); border-radius: 50%; background: radial-gradient(circle, #ffffd0 0 20%, transparent 21%), linear-gradient(135deg, transparent 48%, rgba(255,255,255,.55) 49% 53%, transparent 54%); }
.deck-visual__card strong { font-size: 11px; }
.deck-visual__card--main { left: 20px; top: 8px; transform: rotate(-7deg); }
.deck-visual__card--sub { right: 0; top: 38px; transform: rotate(8deg); background: linear-gradient(155deg, #e8fff3, #5cc39e); }
.deck-visual__card--small { width: 116px; height: 158px; left: 115px; top: 93px; transform: rotate(2deg); background: linear-gradient(155deg, #f9ffd4, #96d44d); }
.deck-visual__count { position: absolute; right: 10px; bottom: -4px; display: flex; flex-direction: column; align-items: end; color: rgba(255,255,255,.85); line-height: 1; }
.deck-visual__count strong { font-size: 44px; }
.deck-visual__count span { margin-top: 5px; font-size: 9px; letter-spacing: .22em; }

.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-top: 0; background: white; }
.fact-strip > div { padding: 19px 13px; text-align: center; }
.fact-strip > div + div { border-left: 1px solid var(--border); }
.fact-strip span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; }
.fact-strip strong { display: block; margin-top: 2px; color: var(--blue-900); font-size: 16px; }

.intro-copy, .article-section, .editor-note, .article-toc--mobile { padding: 38px 40px; border-right: 1px solid var(--border); border-left: 1px solid var(--border); background: white; }
.intro-copy { padding-top: 42px; padding-bottom: 16px; }
.intro-copy p { margin: 0 0 16px; }
.intro-copy strong { color: var(--blue-900); }
.article-section { padding-top: 58px; }
.section-heading { margin-bottom: 22px; display: flex; align-items: center; gap: 15px; }
.section-heading > span { width: 49px; height: 49px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: white; background: var(--blue-800); border-radius: 14px; box-shadow: 5px 5px 0 var(--blue-100); font-size: 14px; font-weight: 950; }
.section-heading p { margin: 0 0 1px; color: var(--blue-600); font-size: 9px; line-height: 1.2; font-weight: 900; letter-spacing: .14em; }
.section-heading h2 { margin: 0; color: var(--blue-950); font-size: clamp(23px, 3.2vw, 30px); line-height: 1.35; letter-spacing: -.035em; }
.section-lead { margin: -5px 0 25px; color: #43596d; font-size: 14px; }

.event-table { margin: 0; border-top: 2px solid var(--blue-800); }
.event-table > div { display: grid; grid-template-columns: 155px minmax(0, 1fr); border-bottom: 1px solid var(--border); }
.event-table dt, .event-table dd { margin: 0; padding: 14px 18px; }
.event-table dt { color: var(--blue-900); background: var(--blue-050); font-size: 13px; font-weight: 900; }
.event-table dd { font-size: 14px; font-weight: 600; }

.podium { margin: 28px 0 25px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; align-items: stretch; }
.podium-card { position: relative; min-height: 165px; padding: 19px 14px 15px; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: linear-gradient(145deg, #fff, #f6faff); text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.podium-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(17, 69, 108, .1); }
.podium-card--first { border-color: #edcf74; background: linear-gradient(145deg, #fffdf5, #fff3c2); }
.podium-rank { position: absolute; width: 56px; height: 56px; right: -12px; top: -14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: rgba(8, 47, 87, .16); background: rgba(255, 255, 255, .6); font-size: 29px; font-weight: 950; }
.podium-label { display: inline-block; padding: 1px 8px; color: var(--blue-800); background: var(--blue-100); border-radius: 999px; font-size: 10px; font-weight: 900; }
.podium-card--first .podium-label { color: #6d4b00; background: #ffe18a; }
.podium-card strong { display: block; margin-top: 12px; color: var(--blue-950); font-size: 17px; }
.podium-card p { margin: 4px 0 2px; color: #43596d; font-size: 12px; line-height: 1.45; }
.podium-card small { color: var(--muted); font-size: 11px; }

.ranking-table-wrap { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; }
.ranking-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ranking-table th { padding: 10px 13px; color: white; background: var(--blue-800); text-align: left; font-size: 11px; white-space: nowrap; }
.ranking-table td { padding: 13px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.ranking-table tbody tr:last-child td { border-bottom: 0; }
.ranking-table tbody tr:nth-child(even) { background: #f9fcfe; }
.ranking-table tbody tr.is-winner { background: #fff9e4; }
.ranking-table td:first-child strong { display: inline-flex; min-width: 39px; min-height: 29px; padding: 2px 7px; align-items: center; justify-content: center; border-radius: 6px; color: var(--blue-900); background: var(--blue-100); font-size: 11px; }
.ranking-table .is-winner td:first-child strong { color: #694500; background: #ffe08b; }
.ranking-table td:nth-child(2) { font-weight: 800; }
.ranking-table td:last-child { color: var(--muted); white-space: nowrap; }

.best16-box { margin-top: 16px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.best16-box__head { padding: 11px 15px; display: flex; align-items: center; justify-content: space-between; color: var(--blue-900); background: var(--blue-050); }
.best16-box__head strong { font-size: 14px; }
.best16-box__head span { color: var(--muted); font-size: 10px; }
.best16-box ol { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; }
.best16-box li { padding: 10px 15px; display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--border); }
.best16-box li:nth-child(even) { border-left: 1px solid var(--border); }
.best16-box li > span { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); background: #edf4f8; border-radius: 50%; font-size: 9px; font-weight: 900; }
.best16-box li strong { font-size: 13px; }
.best16-box li strong small { display: block; color: var(--muted); font-size: 9px; font-weight: 600; }

.deck-index { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.deck-index-card { position: relative; min-height: 238px; padding: 22px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: #f8fbfd; transition: transform .18s ease, box-shadow .18s ease; }
.deck-index-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.deck-index-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -55px; top: -48px; border: 25px solid rgba(255,255,255,.55); border-radius: 50%; }
.deck-index-card--green { background: linear-gradient(145deg, #f4fff4, #e2f6e4); border-color: #c5e6c8; }
.deck-index-card--purple { background: linear-gradient(145deg, #fbf7ff, #eee2fa); border-color: #ddcaee; }
.deck-index-card--pink { background: linear-gradient(145deg, #fff7fb, #f8e3ee); border-color: #eccddd; }
.deck-index-card--blue { background: linear-gradient(145deg, #f3faff, #e1f0fb); border-color: #c6dfef; }
.deck-index-card__place { width: max-content; padding: 2px 9px; border-radius: 999px; color: white; background: var(--blue-800); font-size: 10px; font-weight: 900; }
.deck-index-card > p { margin: 11px 0 0; color: var(--muted); font-size: 11px; }
.deck-index-card h3 { position: relative; z-index: 1; margin: 0; color: var(--blue-950); font-size: 19px; line-height: 1.5; }
.deck-index-card ul { margin: 10px 0 15px; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; list-style: none; }
.deck-index-card li { padding: 2px 7px; border: 1px solid rgba(8, 47, 87, .12); border-radius: 5px; background: rgba(255,255,255,.68); font-size: 9px; font-weight: 700; }
.text-link { margin-top: auto; color: var(--blue-700); font-size: 12px; font-weight: 900; }

.deck-detail { --deck-accent: #5aa365; margin-top: 28px; border: 1px solid var(--border); border-top: 5px solid var(--deck-accent); border-radius: 15px; overflow: hidden; background: white; box-shadow: 0 10px 28px rgba(22, 65, 98, .06); }
.deck-detail--purple { --deck-accent: #865bb1; }
.deck-detail--pink { --deck-accent: #ca5b91; }
.deck-detail--blue { --deck-accent: #397caa; }
.deck-detail__header { padding: 22px 24px 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: linear-gradient(90deg, color-mix(in srgb, var(--deck-accent) 9%, white), white); }
.deck-detail__rank span { display: block; color: var(--deck-accent); font-size: 11px; font-weight: 900; }
.deck-detail__rank strong { display: block; color: var(--blue-950); font-size: 20px; line-height: 1.35; }
.deck-detail__title { text-align: right; }
.deck-detail__title p { margin: 0; color: var(--muted); font-size: 10px; }
.deck-detail__title h3 { margin: 0; color: var(--blue-950); font-size: 20px; line-height: 1.4; }
.deck-detail__lead { margin: 0; padding: 0 24px 18px; color: #43596d; font-size: 13px; }
.pokemon-chips { margin: 0 24px 18px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pokemon-chips > span { padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--deck-accent) 28%, white); border-radius: 6px; color: #334c5e; background: color-mix(in srgb, var(--deck-accent) 7%, white); font-size: 10px; font-weight: 800; }
.pokemon-chips .pokemon-chips__label { padding-left: 0; border: 0; color: var(--muted); background: transparent; font-size: 9px; }
.deck-code { margin: 0 24px 22px; padding: 12px 13px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border: 1px dashed #b8cbd9; border-radius: 9px; background: #f9fcfe; }
.deck-code span { display: block; color: var(--muted); font-size: 9px; }
.deck-code code { color: var(--blue-900); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 800; }
.deck-code button { padding: 7px 12px; border: 0; border-radius: 7px; color: white; background: var(--blue-700); cursor: pointer; font-size: 10px; font-weight: 900; white-space: nowrap; }
.deck-code button:hover { background: var(--blue-900); }
.recipe { border-top: 1px solid var(--border); }
.recipe summary { padding: 15px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--blue-900); background: #f6fafc; cursor: pointer; list-style: none; }
.recipe summary::-webkit-details-marker { display: none; }
.recipe summary span { font-size: 13px; font-weight: 900; }
.recipe summary span::before { content: "+"; width: 19px; height: 19px; margin-right: 9px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; color: white; background: var(--blue-700); font-size: 15px; }
.recipe[open] summary span::before { content: "−"; }
.recipe summary small { color: var(--muted); font-size: 9px; }
.recipe__content { padding: 22px; background: white; }
.deck-total { margin-bottom: 16px; padding: 13px 16px; display: flex; align-items: baseline; gap: 7px; border-radius: 10px; color: white; background: var(--blue-900); }
.deck-total span { margin-right: auto; color: #a9d6ed; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.deck-total strong { font-size: 28px; line-height: 1; }
.deck-total small { font-size: 9px; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.card-category { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.card-category header { padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; color: var(--blue-900); background: var(--blue-050); }
.card-category h4 { margin: 0; font-size: 11px; }
.card-category header strong { font-size: 10px; }
.card-category ul { margin: 0; padding: 0; list-style: none; }
.card-category li { min-height: 34px; padding: 6px 10px; display: flex; justify-content: space-between; gap: 10px; align-items: center; border-top: 1px solid #e9f0f5; font-size: 11px; line-height: 1.4; }
.card-category li span { min-width: 0; }
.card-category li b { flex: 0 0 auto; color: var(--blue-700); font-size: 10px; }
.recipe__source { margin-top: 15px; padding-top: 14px; display: flex; gap: 12px; justify-content: flex-end; align-items: center; border-top: 1px solid var(--border); font-size: 10px; }
.recipe__source span { color: var(--muted); }
.recipe__source a { color: var(--blue-700); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }

.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.notice-grid > div { padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #fbfdff; }
.notice-grid span { color: var(--blue-700); font-size: 9px; font-weight: 900; }
.notice-grid h3 { margin: 3px 0 8px; color: var(--blue-950); font-size: 14px; }
.notice-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.source-box { margin-top: 18px; padding: 20px; display: grid; grid-template-columns: 110px 1fr; gap: 8px 20px; border: 1px solid #bdd9ea; border-radius: 12px; background: var(--blue-050); }
.source-box > div { grid-row: 1 / span 2; }
.source-box span { display: block; color: var(--blue-600); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.source-box strong { color: var(--blue-950); font-size: 18px; }
.source-box p { margin: 0; color: #41586c; font-size: 11px; }
.source-box > a { width: max-content; color: var(--blue-700); font-size: 11px; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }

.editor-note { padding-top: 22px; padding-bottom: 38px; border-bottom: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); }
.editor-note { display: flex; gap: 13px; align-items: flex-start; }
.editor-note span { flex: 0 0 auto; padding: 2px 8px; border-radius: 5px; color: #7a4600; background: var(--orange-soft); font-size: 10px; font-weight: 900; }
.editor-note p { margin: 0; color: var(--muted); font-size: 11px; }

.sidebar { position: sticky; top: 148px; display: grid; gap: 16px; }
.article-toc { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: white; box-shadow: 0 8px 25px rgba(17, 62, 95, .05); }
.article-toc > p { margin: 0; padding: 15px 18px; color: white; background: var(--blue-900); font-size: 13px; font-weight: 900; }
.article-toc ol { margin: 0; padding: 7px 18px 12px; list-style: none; counter-reset: toc; }
.article-toc li + li { border-top: 1px solid var(--border); }
.article-toc a { padding: 11px 0; display: flex; gap: 9px; color: #3e5366; font-size: 12px; font-weight: 700; }
.article-toc a:hover { color: var(--blue-700); }
.article-toc a span { color: var(--blue-600); font-size: 9px; font-weight: 900; }
.article-toc--mobile { display: none; }
.sidebar-card { padding: 21px; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--blue-900), var(--blue-700)); box-shadow: var(--shadow); }
.sidebar-card__label { display: inline-block; padding: 1px 7px; border-radius: 999px; color: var(--blue-950); background: #c9f2ff; font-size: 9px; font-weight: 900; }
.sidebar-card > strong { display: block; margin: 11px 0 17px; font-size: 19px; line-height: 1.45; }
.sidebar-card dl { margin: 0; border-top: 1px solid rgba(255,255,255,.2); }
.sidebar-card dl div { padding: 7px 0; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 10px; }
.sidebar-card dt { color: #bfe4f4; }
.sidebar-card dd { margin: 0; font-weight: 800; }

.site-footer { padding: 45px 0 24px; color: #cbdce9; background: var(--blue-950); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; }
.brand--footer .brand-word { color: white; }
.footer-grid p { max-width: 350px; margin: 15px 0 0; font-size: 12px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 7px; }
.footer-grid > div > strong { margin-bottom: 4px; color: white; font-size: 13px; }
.footer-grid > div > a { font-size: 11px; }
.footer-grid > div > a:hover { color: white; }
.footer-note { margin-top: 35px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #90a8bb; font-size: 10px; }

.copy-toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; padding: 10px 18px; color: white; background: var(--blue-950); border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.25); opacity: 0; transform: translate(-50%, 15px); pointer-events: none; transition: .2s ease; font-size: 12px; font-weight: 800; }
.copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
    .header-main { grid-template-columns: auto 1fr auto; gap: 18px; }
    .site-search { max-width: none; }
    .header-button:first-child { display: none; }
    .content-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
    .event-hero { padding: 38px; }
    .deck-visual { transform: scale(.88); transform-origin: center; }
}

@media (max-width: 820px) {
    html { scroll-padding-top: 88px; }
    .site-container { width: min(100% - 28px, 760px); }
    .sample-ribbon__inner { min-height: 31px; }
    .sample-ribbon__inner p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .site-header { top: 0; }
    .header-main { min-height: 67px; grid-template-columns: auto 1fr auto; }
    .brand-word { font-size: 23px; }
    .brand-cards { width: 34px; height: 29px; }
    .brand-cards::before { width: 27px; height: 32px; }
    .brand-cards::after { left: 7px; top: 7px; }
    .site-search, .header-button { display: none; }
    .nav-toggle { display: inline-flex; }
    .primary-nav { display: none; }
    .primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; box-shadow: 0 12px 25px rgba(8,47,87,.12); }
    .nav-inner { width: 100%; min-height: 0; padding: 8px 20px 14px; display: grid; gap: 0; }
    .nav-inner a { padding: 10px; border-bottom: 1px solid var(--border); }
    .nav-inner a::after { display: none; }
    .content-layout { display: block; padding-bottom: 50px; }
    .sidebar { display: none; }
    .article-toc--mobile { display: block; padding-top: 26px; padding-bottom: 0; border: 0; border-right: 1px solid var(--border); border-left: 1px solid var(--border); border-radius: 0; box-shadow: none; }
    .article-toc--mobile button { width: 100%; padding: 12px 15px; display: flex; justify-content: space-between; border: 0; border-radius: 9px 9px 0 0; color: white; background: var(--blue-900); cursor: pointer; font-size: 12px; font-weight: 900; }
    .article-toc--mobile ol { padding: 6px 15px 10px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 9px 9px; }
    .article-toc--mobile.is-collapsed ol { display: none; }
    .article-header { padding: 26px; }
}

@media (max-width: 620px) {
    body { font-size: 15px; }
    .site-container { width: min(100% - 20px, 580px); }
    .sample-ribbon__inner { justify-content: flex-start; gap: 7px; }
    .sample-ribbon__inner span { flex: 0 0 auto; }
    .header-main { gap: 10px; }
    .brand { gap: 8px; }
    .brand-word { font-size: 21px; }
    .breadcrumb { padding-block: 11px; }
    .article-header { padding: 23px 20px 21px; }
    .article-header h1 { font-size: 25px; }
    .article-meta { flex-direction: column; gap: 1px; }
    .event-hero { min-height: 500px; padding: 32px 22px; grid-template-columns: 1fr; gap: 5px; }
    .event-hero__copy h2 { font-size: 34px; }
    .event-hero__copy > p:not(.eyebrow) { font-size: 12px; }
    .deck-visual { width: 300px; min-height: 215px; margin: 0 auto; transform: scale(.82); transform-origin: top center; }
    .deck-visual__count { bottom: 25px; }
    .fact-strip { grid-template-columns: 1fr 1fr; }
    .fact-strip > div { padding: 13px 8px; }
    .fact-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
    .fact-strip > div:nth-child(4) { border-top: 1px solid var(--border); }
    .fact-strip strong { font-size: 14px; }
    .intro-copy, .article-section, .editor-note, .article-toc--mobile { padding-right: 19px; padding-left: 19px; }
    .intro-copy { padding-top: 32px; }
    .article-section { padding-top: 48px; }
    .section-heading > span { width: 43px; height: 43px; border-radius: 12px; }
    .section-heading h2 { font-size: 24px; }
    .event-table > div { grid-template-columns: 105px minmax(0, 1fr); }
    .event-table dt, .event-table dd { padding: 12px 10px; }
    .event-table dt { font-size: 11px; }
    .event-table dd { font-size: 12px; }
    .podium { grid-template-columns: 1fr; }
    .podium-card { min-height: 0; padding: 16px; display: grid; grid-template-columns: 66px 1fr auto; grid-template-rows: auto auto; gap: 0 10px; align-items: center; text-align: left; }
    .podium-card .podium-label { grid-row: 1 / span 2; text-align: center; }
    .podium-card strong { margin: 0; }
    .podium-card p { margin: 0; }
    .podium-card small { grid-column: 3; grid-row: 1 / span 2; }
    .ranking-table { min-width: 590px; }
    .ranking-table-wrap { overflow-x: auto; }
    .ranking-table th, .ranking-table td { padding: 10px; }
    .best16-box ol { grid-template-columns: 1fr; }
    .best16-box li:nth-child(even) { border-left: 0; }
    .deck-index { grid-template-columns: 1fr; }
    .deck-index-card { min-height: 215px; }
    .deck-detail__header { padding: 19px; align-items: flex-start; }
    .deck-detail__title h3 { font-size: 16px; }
    .deck-detail__lead { padding: 0 19px 16px; }
    .pokemon-chips { margin-inline: 19px; }
    .deck-code { margin-inline: 19px; align-items: flex-end; }
    .deck-code code { display: block; max-width: 190px; overflow-wrap: anywhere; }
    .recipe summary { padding: 13px 19px; }
    .recipe summary small { display: none; }
    .recipe__content { padding: 16px; }
    .category-grid { grid-template-columns: 1fr; }
    .recipe__source { justify-content: flex-start; flex-wrap: wrap; }
    .notice-grid { grid-template-columns: 1fr; }
    .source-box { grid-template-columns: 1fr; }
    .source-box > div { grid-row: auto; }
    .editor-note { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
