:root {
  color-scheme: dark;
  --bg: #090c12;
  --surface: #10161e;
  --surface-2: #171f29;
  --surface-3: #1c2732;
  --line: rgba(174, 197, 214, 0.16);
  --line-strong: rgba(174, 197, 214, 0.3);
  --text: #f6f8fb;
  --muted: #a5b2bd;
  --cyan: #59d6c3;
  --blue: #63b8ff;
  --green: #51e09c;
  --gold: #f4c96c;
  --red: #ff7081;
  --violet: #a78bfa;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-color: #4c6573 #0d1219;
  scrollbar-width: thin;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(89, 214, 195, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 184, 255, 0.014) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--text);
}

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

button { cursor: pointer; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0d1219; }
::-webkit-scrollbar-thumb { border: 2px solid #0d1219; border-radius: 5px; background: #425866; }
::-webkit-scrollbar-thumb:hover { background: #587483; }

.build-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  min-height: 70px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1500px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 18, 0.92);
  backdrop-filter: blur(18px) saturate(130%);
}

.build-brand,
.build-top-actions,
.build-topbar nav { display: flex; align-items: center; }

.build-brand { gap: 10px; justify-self: start; }
.build-brand img { border: 1px solid var(--line-strong); border-radius: 6px; }
.build-brand span { display: grid; }
.build-brand strong { font-size: 16px; }
.build-brand small { color: #8294a2; font-size: 8px; font-weight: 800; }

.build-topbar nav { gap: 30px; }
.build-topbar nav a { color: #b7c2ca; font-size: 13px; font-weight: 700; }
.build-topbar nav a:hover { color: var(--text); }

.build-top-actions { justify-self: end; gap: 10px; }
.build-top-actions button,
.download-link {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: #d7dfe2;
  font-size: 12px;
  font-weight: 800;
}
.build-top-actions button { width: 42px; }
.download-link { display: flex; align-items: center; padding: 0 15px; background: var(--gold); color: #171309; border-color: var(--gold); }
.download-link:hover { background: #ffdc8a; border-color: #ffdc8a; }

.build-app { width: min(1500px, calc(100% - 36px)); margin: 0 auto; padding: 44px 0 68px; }

.build-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: 0 2px 26px;
}
.build-page-heading small,
.build-context small,
.champion-identity small,
.panel-heading small { color: var(--cyan); font-size: 10px; font-weight: 900; }
.build-page-heading h1 { max-width: 760px; margin: 8px 0 10px; font-size: clamp(32px, 4vw, 52px); line-height: 1.03; letter-spacing: 0; }
.build-page-heading p { max-width: 760px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.source-state { display: grid; grid-template-columns: 10px auto; align-items: center; gap: 2px 9px; padding: 12px 14px; border-left: 1px solid var(--line-strong); }
.source-state > span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(244, 201, 108, 0.09); }
.source-state.ready > span { background: var(--green); box-shadow: 0 0 0 5px rgba(81, 224, 156, 0.09); }
.source-state strong { font-size: 12px; }
.source-state small { grid-column: 2; color: #78858c; font-size: 10px; }

.build-workspace {
  display: grid;
  min-height: 720px;
  grid-template-columns: 282px minmax(0, 1fr);
  align-items: start;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, #0d131a 0 282px, var(--surface) 282px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(89, 214, 195, 0.025);
}

.champion-browser {
  position: sticky;
  top: 82px;
  align-self: start;
  min-width: 0;
  height: calc(100vh - 98px);
  min-height: 520px;
  max-height: 820px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-radius: 7px 0 0 7px;
  background: #0d131a;
}
.champion-search { position: sticky; z-index: 2; top: 0; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 62px; padding: 12px; border-bottom: 1px solid var(--line); background: rgba(13, 19, 26, 0.98); }
.champion-search > span { width: 13px; height: 13px; border: 1.5px solid #7e8c94; border-radius: 50%; }
.champion-search > span::after { display: block; width: 6px; height: 1.5px; margin: 10px 0 0 9px; transform: rotate(45deg); background: #7e8c94; content: ""; }
.champion-search input { min-width: 0; height: 36px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.champion-search input::placeholder { color: #6f7c83; }
.champion-search kbd { min-width: 28px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); color: #91a0ac; font: 700 10px/1 "Segoe UI", sans-serif; text-align: center; }

.champion-list { height: calc(100% - 62px); overflow: auto; overscroll-behavior: contain; scrollbar-color: #4c6573 transparent; scrollbar-width: thin; }
.champion-entry { display: grid; width: 100%; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 60px; padding: 8px 12px; border: 0; border-bottom: 1px solid rgba(50, 61, 68, 0.52); background: transparent; color: #c9d1d5; text-align: left; }
.champion-entry:hover { background: #151e27; }
.champion-entry.active { background: #132b2d; color: #fff; box-shadow: inset 3px 0 0 var(--cyan); }
.champion-entry img { width: 42px; height: 42px; border-radius: 5px; object-fit: cover; }
.champion-entry span { min-width: 0; }
.champion-entry strong,
.champion-entry small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.champion-entry strong { font-size: 13px; }
.champion-entry small { margin-top: 2px; color: #738087; font-size: 10px; }
.champion-entry em { color: #6d7a81; font-size: 11px; font-style: normal; }
.champion-empty { padding: 32px 18px; color: var(--muted); font-size: 13px; text-align: center; }

.build-detail { position: relative; min-width: 0; background: var(--surface); border-radius: 0 7px 7px 0; }
.build-loading { display: grid; min-height: 620px; place-content: center; justify-items: center; gap: 8px; color: var(--muted); text-align: center; }
.loading-mark { width: 32px; height: 32px; border: 2px solid #26343d; border-top-color: var(--cyan); border-radius: 50%; animation: spin 0.8s linear infinite; }
.build-loading strong { margin-top: 6px; color: #dbe1e4; font-size: 14px; }
.build-loading small { font-size: 11px; }

.champion-overview { position: relative; display: grid; min-height: 192px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; overflow: hidden; padding: 30px 30px 24px; border-bottom: 1px solid var(--line); isolation: isolate; }
.champion-overview::before { position: absolute; z-index: -2; inset: 0; background-image: var(--champion-splash); background-position: center 20%; background-size: cover; content: ""; opacity: 0.32; }
.champion-overview::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(9, 13, 19, 0.98) 0%, rgba(9, 13, 19, 0.82) 54%, rgba(9, 13, 19, 0.42) 100%), linear-gradient(0deg, var(--surface) 0%, transparent 80%); content: ""; }
.champion-identity { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 15px; }
.champion-identity > img { width: 72px; height: 72px; border: 1px solid #49606d; border-radius: 7px; object-fit: cover; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }
.champion-identity h2 { margin: 3px 0 2px; font-size: 32px; line-height: 1; }
.champion-identity p { margin: 0; color: #9da9af; font-size: 12px; }

.champion-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.champion-actions a { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid #3a4a54; border-radius: 6px; background: rgba(13, 19, 23, 0.84); color: #dce3e6; font-size: 12px; font-weight: 800; }
.champion-actions a.primary { border-color: var(--blue); background: var(--blue); color: #07121c; }

.role-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #121922; }
.role-tabs button { min-height: 48px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #77848b; font-size: 12px; font-weight: 800; }
.role-tabs button:last-child { border-right: 0; }
.role-tabs button.active { background: #142d30; color: var(--cyan); box-shadow: inset 0 -2px 0 var(--cyan); }
.role-tabs button:disabled { cursor: not-allowed; opacity: 0.27; }

.build-stat-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.build-stat { min-width: 0; padding: 16px 20px; border-right: 1px solid var(--line); }
.build-stat:last-child { border-right: 0; }
.build-stat span { display: block; color: #77858c; font-size: 9px; font-weight: 900; }
.build-stat strong { display: block; margin-top: 3px; font-size: 22px; }
.build-stat.win strong { color: var(--green); }
.build-stat.ban strong { color: var(--red); }
.build-stat.sample strong { color: var(--gold); }

.analysis-layout { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.25fr) minmax(250px, 0.85fr); }
.analysis-panel { min-width: 0; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.analysis-panel:last-child { border-right: 0; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.panel-heading strong { display: block; margin-top: 3px; font-size: 14px; }
.panel-heading em { color: var(--green); font-size: 11px; font-style: normal; font-weight: 800; }

.rune-style-line,
.rune-icons,
.spell-line,
.item-icons,
.skill-priority,
.skill-order { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rune-style-line { margin-bottom: 12px; }
.rune-style-line img { width: 28px; height: 28px; }
.rune-icons img { width: 38px; height: 38px; border-radius: 50%; background: #050708; }
.rune-icons img:nth-child(n + 5) { width: 30px; height: 30px; }
.spell-line { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.spell-line > span { margin-right: auto; color: #89969d; font-size: 11px; font-weight: 800; }
.spell-line img { width: 36px; height: 36px; border-radius: 5px; }

.item-groups { display: grid; gap: 17px; }
.item-group { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 10px; }
.item-group > span { color: #7f8b92; font-size: 10px; font-weight: 800; }
.item-icons { gap: 7px; }
.item-icon { position: relative; display: inline-grid; width: 39px; height: 39px; place-items: center; border: 1px solid #48545b; border-radius: 5px; background: #080b0d; }
.item-icon img { width: 100%; height: 100%; border-radius: 4px; }
.item-icon em { position: absolute; right: -4px; bottom: -4px; min-width: 16px; padding: 2px 4px; border-radius: 3px; background: #080b0d; color: #fff; font-size: 9px; font-style: normal; text-align: center; }
.item-meta { grid-column: 2; color: #6f7d84; font-size: 9px; }

.skill-priority { gap: 7px; }
.skill-priority b { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(99, 184, 255, 0.42); border-radius: 5px; background: rgba(99, 184, 255, 0.1); color: var(--blue); font-size: 17px; }
.skill-order { margin-top: 13px; gap: 4px; }
.skill-order span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 3px; background: #1c2428; color: #98a5ab; font-size: 9px; font-weight: 800; }
.skill-order span.ultimate { color: var(--gold); }
.counter-list { display: grid; gap: 7px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.counter-list > small { margin-bottom: 2px; color: #7f8b92; font-size: 9px; font-weight: 900; }
.counter-entry { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 36px; }
.counter-entry img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; }
.counter-entry strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.counter-entry span { color: var(--red); font-size: 10px; font-weight: 800; }

.alternate-builds { padding: 22px; }
.alternate-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.alternate-head strong { font-size: 14px; }
.alternate-head small { color: #78858c; font-size: 10px; }
.alternate-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 90px 90px; align-items: center; gap: 12px; min-height: 56px; border-top: 1px solid var(--line); }
.alternate-row > strong { color: #6f7c83; font-size: 11px; }
.alternate-row > span { color: #9ba7ad; font-size: 11px; }
.alternate-row > span:last-child { color: var(--green); font-weight: 800; }

.build-error { display: grid; min-height: 600px; place-content: center; justify-items: center; gap: 10px; padding: 40px; color: var(--muted); text-align: center; }
.build-error strong { color: var(--text); font-size: 18px; }
.build-error button { min-height: 38px; padding: 0 16px; border: 1px solid var(--cyan); border-radius: 6px; background: #10252e; color: var(--cyan); font-weight: 800; }

.seo-build-fallback { min-height: 620px; padding: 30px; }
.seo-build-fallback > header { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.seo-build-fallback > header img { width: 72px; height: 72px; border: 1px solid #49606d; border-radius: 7px; object-fit: cover; }
.seo-build-fallback h2 { margin: 4px 0; font-size: 28px; }
.seo-build-fallback h3 { margin: 0 0 8px; font-size: 13px; }
.seo-build-fallback p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.seo-build-fallback header small { color: var(--cyan); font-size: 10px; font-weight: 900; }
.seo-fallback-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.seo-fallback-stats span { padding: 18px 0; }
.seo-fallback-stats small { display: block; color: #7f8b92; font-size: 10px; }
.seo-fallback-stats strong { display: block; margin-top: 4px; font-size: 20px; }
.seo-fallback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 22px 0; background: var(--line); }
.seo-fallback-grid section { min-width: 0; min-height: 108px; padding: 18px; background: var(--surface-2); }
.seo-build-fallback > footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); color: #7f8b92; font-size: 11px; }
.seo-build-fallback > footer a { color: var(--cyan); font-weight: 800; }
.seo-related-builds { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 22px; }
.seo-related-builds strong { color: #8e9aa0; font-size: 11px; }
.seo-related-builds a { padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; color: #d4dbde; font-size: 11px; }
.seo-related-builds a:hover { border-color: var(--cyan); color: var(--cyan); }

.champion-seo-guide { margin-top: 22px; border: 1px solid var(--line); background: var(--surface); }
.champion-seo-intro { max-width: 920px; padding: 30px; }
.champion-seo-intro small,
.seo-answer-grid small { color: var(--cyan); font-size: 10px; font-weight: 900; }
.champion-seo-intro h2 { margin: 7px 0 10px; font-size: 26px; line-height: 1.2; }
.champion-seo-intro p,
.seo-answer-grid p,
.seo-guide-grid p,
.seo-faq p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.champion-seo-intro p strong { color: var(--text); }
.seo-answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seo-answer-grid article { min-width: 0; padding: 24px 30px; }
.seo-answer-grid article:first-child { border-right: 1px solid var(--line); }
.seo-answer-grid h3 { margin: 6px 0 8px; font-size: 17px; }
.seo-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-guide-grid article { min-width: 0; padding: 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seo-guide-grid article:nth-child(2n) { border-right: 0; }
.seo-guide-grid h2,
.seo-faq h2 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; }
.seo-guide-grid strong { color: #dce7eb; }
.seo-faq { padding: 28px 30px; border-bottom: 1px solid var(--line); }
.seo-faq details { border-top: 1px solid var(--line); }
.seo-faq details:last-child { border-bottom: 1px solid var(--line); }
.seo-faq summary { padding: 15px 2px; color: #dce7eb; font-size: 13px; font-weight: 800; cursor: pointer; }
.seo-faq details p { padding: 0 2px 16px; }
.seo-more-builds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 30px; }
.seo-more-builds strong { width: 100%; margin-bottom: 3px; color: #8e9aa0; font-size: 11px; text-transform: uppercase; }
.seo-more-builds a { padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; color: #c6d0d5; font-size: 11px; }
.seo-more-builds a:hover { border-color: var(--cyan); color: var(--cyan); }

.champion-directory { margin-top: 22px; border: 1px solid var(--line); background: #0d131a; }
.champion-directory summary { padding: 16px 18px; color: #cdd5d9; font-size: 13px; font-weight: 800; cursor: pointer; }
.champion-directory nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--line); }
.champion-directory a { min-width: 0; padding: 10px 12px; overflow: hidden; background: var(--surface); color: #9aa8b3; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.champion-directory a:hover { background: #142d30; color: var(--cyan); }

.build-context { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1px; border: 1px solid var(--line); border-top: 0; }
.build-context > div { min-width: 0; padding: 25px; border-right: 1px solid var(--line); }
.build-context > div:last-child { border-right: 0; }
.build-context strong { display: block; margin: 5px 0 8px; font-size: 15px; }
.build-context p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.source-method-link { display: inline-flex; margin-top: 10px; color: var(--cyan); font-size: 11px; font-weight: 700; text-decoration: none; }
.source-method-link:hover { color: #8adff4; text-decoration: underline; text-underline-offset: 3px; }

.build-footer { display: grid; width: min(1500px, calc(100% - 36px)); grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin: 0 auto; padding: 26px 0 38px; border-top: 1px solid #1f292f; color: #758188; font-size: 10px; }
.build-footer p { max-width: 760px; margin: 0; line-height: 1.5; }
.build-footer nav { display: flex; gap: 16px; }
.build-footer a:hover { color: #dbe2e5; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .build-topbar { grid-template-columns: 1fr auto; }
  .build-topbar > nav { display: none; }
  .analysis-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analysis-panel:nth-child(2) { border-right: 0; }
  .analysis-panel:last-child { grid-column: 1 / -1; }
  .champion-directory nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .build-topbar { min-height: 62px; padding: 0 14px; }
  .build-brand small,
  .download-link { display: none; }
  .build-app { width: 100%; padding: 24px 0 40px; }
  .build-page-heading { grid-template-columns: 1fr; padding: 0 18px 20px; }
  .build-page-heading h1 { font-size: 34px; }
  .build-page-heading p { font-size: 14px; }
  .source-state { justify-self: start; }
  .build-workspace { min-height: 0; grid-template-columns: 1fr; border-right: 0; border-left: 0; border-radius: 0; }
  .champion-browser { position: static; height: auto; min-height: 0; max-height: none; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .champion-search { top: 0; }
  .champion-list { display: flex; height: auto; max-height: 190px; overflow: auto; }
  .champion-entry { min-width: 132px; grid-template-columns: 38px minmax(0, 1fr); border-right: 1px solid var(--line); border-bottom: 0; }
  .champion-entry img { width: 38px; height: 38px; }
  .champion-entry em { display: none; }
  .champion-overview { grid-template-columns: 1fr; padding: 24px 18px; }
  .champion-overview::before { background-image: none; }
  .champion-overview::after { background: linear-gradient(120deg, rgba(18, 34, 40, 0.9), var(--surface) 62%); }
  .champion-actions { justify-content: flex-start; }
  .role-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(90px, 1fr)); }
  .build-stat-line { grid-template-columns: repeat(2, 1fr); }
  .build-stat:nth-child(2) { border-right: 0; }
  .build-stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .analysis-layout { grid-template-columns: 1fr; }
  .analysis-panel,
  .analysis-panel:nth-child(2) { border-right: 0; }
  .analysis-panel:last-child { grid-column: auto; }
  .alternate-row { grid-template-columns: 22px minmax(0, 1fr) 62px; }
  .alternate-row > span:nth-last-child(2) { display: none; }
  .build-context { grid-template-columns: 1fr; border-right: 0; border-left: 0; }
  .build-context > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .build-context > div:last-child { border-bottom: 0; }
  .seo-build-fallback { min-height: 0; padding: 22px 18px; }
  .seo-fallback-stats,
  .seo-fallback-grid { grid-template-columns: 1fr; }
  .seo-fallback-stats span { border-bottom: 1px solid var(--line); }
  .champion-seo-guide { border-right: 0; border-left: 0; }
  .champion-seo-intro,
  .seo-answer-grid article,
  .seo-guide-grid article,
  .seo-faq,
  .seo-more-builds { padding-right: 18px; padding-left: 18px; }
  .champion-seo-intro h2 { font-size: 22px; }
  .seo-answer-grid,
  .seo-guide-grid { grid-template-columns: 1fr; }
  .seo-answer-grid article:first-child,
  .seo-guide-grid article { border-right: 0; }
  .champion-directory { border-right: 0; border-left: 0; }
  .champion-directory nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-footer { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loading-mark { animation-duration: 1.8s; }
}
