:root {
  --paper: #f4efe4;
  --paper-cool: #e9f1ef;
  --panel: #fffdf8;
  --ink: #17221e;
  --muted: #6d7873;
  --line: #d8d7cd;
  --coral: #f16f56;
  --coral-dark: #b84b38;
  --coral-soft: #ffe2d8;
  --blue: #3e78f6;
  --blue-dark: #285bc5;
  --blue-soft: #e6edff;
  --green: #0ca67c;
  --green-dark: #08745a;
  --green-soft: #def5ed;
  --violet: #7654ea;
  --violet-dark: #5134b9;
  --violet-soft: #ece7ff;
  --yellow: #f2c44f;
  --shadow: 0 22px 60px rgb(37 42 38 / 12%);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 4%, rgb(63 146 181 / 18%), transparent 25%),
    radial-gradient(circle at 96% 5%, rgb(241 111 86 / 20%), transparent 28%),
    var(--paper);
  font-family: Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

button,
summary {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
summary:focus-visible {
  outline: 4px solid rgb(62 120 246 / 28%);
  outline-offset: 3px;
}

.page {
  width: min(1540px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, .8fr);
  align-items: end;
  gap: 10px 28px;
  padding: 0 4px 24px;
}

.hero-title {
  grid-column: 1 / -1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.eyebrow i {
  position: relative;
  width: 20px;
  height: 16px;
}

.eyebrow i::before,
.eyebrow i::after {
  position: absolute;
  left: 0;
  width: 17px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 7px 7px 3px 3px;
  content: "";
}

.eyebrow i::before {
  top: 0;
}

.eyebrow i::after {
  bottom: 0;
  left: 3px;
  border-color: var(--blue);
}

h1 {
  margin: 0;
  font-family: "Arial Black", Inter, sans-serif;
  font-size: clamp(56px, 7vw, 112px);
  line-height: .92;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 23px);
  font-weight: 800;
  line-height: 1.5;
}

.lead span:first-child {
  color: var(--coral-dark);
}

.lead span:last-child {
  color: var(--blue-dark);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 0 14px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid #99d8c5;
  border-radius: 13px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.support-badge i {
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(12 166 124 / 13%);
}

.support-badge--violet {
  color: var(--violet-dark);
  background: var(--violet-soft);
  border-color: #c7baff;
}

.support-badge--violet i {
  box-shadow: 0 0 0 4px rgb(118 84 234 / 13%);
}

.support-badge[data-supported="false"] {
  color: #777d79;
  background: #efeee9;
  border-color: #d8d7ce;
}

.support-badge[data-supported="false"] i {
  background: #9da19e;
  box-shadow: 0 0 0 4px rgb(110 120 115 / 12%);
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(390px, .85fr);
  align-items: stretch;
  gap: 18px;
}

.comparison-card {
  grid-column: 1;
  grid-row: 1;
}

.guide-card {
  grid-column: 1;
  grid-row: 2;
}

.code-card {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  flex-direction: column;
}

.comparison-card,
.guide-card,
.code-card {
  overflow: hidden;
  background: rgb(255 253 248 / 95%);
  border: 1px solid var(--line);
  border-radius: 25px;
  box-shadow: var(--shadow);
}

.comparison-card {
  background:
    linear-gradient(rgb(23 34 30 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(23 34 30 / 5%) 1px, transparent 1px),
    #f8f7f1;
  background-size: 22px 22px;
}

.panel-head {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 12px;
  padding: 16px 20px;
  background: rgb(255 253 248 / 97%);
  border-bottom: 1px solid var(--line);
}

.panel-head > div {
  min-width: 0;
}

.panel-head p,
.code-head span {
  margin: 0 0 3px;
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.panel-head h2,
.code-head h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.08;
}

.section-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 45px;
  height: 45px;
  color: white;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
}

.section-mark--coral {
  background: var(--coral);
}

.section-mark--blue {
  background: var(--blue);
}

.same-html {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 12px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}

.same-html i {
  position: relative;
  width: 20px;
  height: 10px;
}

.same-html i::before,
.same-html i::after {
  position: absolute;
  top: 1px;
  width: 10px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 5px;
  content: "";
}

.same-html i::before {
  left: 0;
}

.same-html i::after {
  right: 0;
}

.details-benefits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px 16px;
  padding: 12px 18px;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}

.benefits-title {
  display: grid;
  gap: 3px;
}

.benefits-title span,
.name-control > div:first-child span {
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.benefits-title b {
  font-size: 12px;
  white-space: nowrap;
}

.details-benefits ul {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.details-benefits li {
  min-width: 0;
  padding: 8px 10px;
  background: #f4f3ed;
  border: 1px solid #dfded5;
  border-radius: 10px;
}

.details-benefits li span {
  display: block;
  margin-bottom: 3px;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}

.details-benefits li b {
  display: block;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.name-control {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  gap: 10px;
}

.name-control > div:first-child {
  display: grid;
  gap: 3px;
}

.name-control > div:first-child span {
  color: var(--blue-dark);
}

.name-control > div:first-child b {
  font-size: 10px;
  white-space: nowrap;
}

.name-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 3px;
  padding: 3px;
  background: #e9e9e3;
  border: 1px solid #d2d3cc;
  border-radius: 11px;
}

.name-switch button {
  position: relative;
  z-index: 1;
  min-height: 32px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.name-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: white;
}

.name-switch-indicator {
  display: none;
}

@supports (position-anchor: --active-name-mode) {
  .name-switch button[aria-pressed="true"] {
    anchor-name: --active-name-mode;
    background: transparent;
  }

  .name-switch-indicator {
    position: absolute;
    position-anchor: --active-name-mode;
    z-index: 0;
    top: anchor(top);
    left: anchor(left);
    display: block;
    width: anchor-size(width);
    height: anchor-size(height);
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgb(23 34 30 / 12%);
    transition:
      top .28s var(--ease-out),
      left .28s var(--ease-out),
      width .28s var(--ease-out),
      height .28s var(--ease-out);
  }
}

.comparison-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: transparent;
}

.method-panel {
  min-width: 0;
  padding: 16px;
  background: rgb(255 255 255 / 91%);
  border: 2px solid var(--line);
  border-radius: 20px;
}

.method-panel--grid {
  border-color: #9fc4ff;
  background: rgb(246 249 255 / 95%);
}

.method-panel--size {
  border-color: #c6b8ff;
  background: rgb(250 248 255 / 95%);
}

.method-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 59px;
  gap: 12px;
}

.method-head span {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.method-panel--size .method-head span {
  color: var(--violet-dark);
}

.method-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

.method-head code {
  flex: 0 0 auto;
  padding: 8px 9px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
}

.method-panel--size .method-head code {
  color: var(--violet-dark);
  background: var(--violet-soft);
}

.accordion-set {
  display: grid;
  gap: 9px;
}

.accordion-set details {
  background: white;
  border: 2px solid #cfd5d2;
  border-radius: 14px;
  box-shadow: 0 5px 0 rgb(23 34 30 / 8%);
}

.grid-accordion details[open] {
  border-color: var(--blue);
}

.size-accordion details[open] {
  border-color: var(--violet);
}

.accordion-set summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 51px;
  gap: 12px;
  padding: 0 14px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.accordion-set summary::-webkit-details-marker {
  display: none;
}

.accordion-set summary span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
}

.accordion-set summary b {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 8px;
  font-size: 10px;
}

.size-accordion summary b {
  color: var(--violet-dark);
  background: var(--violet-soft);
}

.accordion-set summary > i {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid #cdd3d0;
  border-radius: 50%;
  transition: rotate .3s var(--ease-out), background .3s ease, border-color .3s ease;
}

.accordion-set summary > i::before,
.accordion-set summary > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
  translate: -50% -50%;
}

.accordion-set summary > i::after {
  rotate: 90deg;
}

.grid-accordion details[open] summary > i,
.size-accordion details[open] summary > i {
  color: white;
  rotate: 45deg;
}

.grid-accordion details[open] summary > i {
  background: var(--blue);
  border-color: var(--blue);
}

.size-accordion details[open] summary > i {
  background: var(--violet);
  border-color: var(--violet);
}

.details-inner {
  display: flow-root;
  min-height: 0;
  overflow: clip;
}

.answer {
  margin: 0 13px 13px;
  padding: 13px;
  background: #f4f7f6;
  border-radius: 11px;
}

.grid-accordion .answer {
  background: #edf3ff;
}

.size-accordion .answer {
  background: #f2eeff;
}

.answer strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  line-height: 1.45;
}

.answer p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

/*
 * Method 1: animate one Grid track.
 * Unsupported browsers keep the native details behavior.
 */
@supports selector(::details-content) {
  .grid-accordion details::details-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
      grid-template-rows .44s var(--ease-out),
      opacity .28s ease,
      content-visibility .44s allow-discrete;
  }

  .grid-accordion details[open]::details-content {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

/*
 * Method 2: animate from a numeric height to the intrinsic `auto` size.
 * This block is ignored when interpolate-size is unavailable.
 */
@supports selector(::details-content) and (interpolate-size: allow-keywords) {
  .size-accordion {
    interpolate-size: allow-keywords;
  }

  .size-accordion details::details-content {
    height: 0;
    overflow: clip;
    opacity: 0;
    transition:
      height .44s var(--ease-out),
      opacity .28s ease,
      content-visibility .44s allow-discrete;
  }

  .size-accordion details[open]::details-content {
    height: auto;
    opacity: 1;
  }
}

.method-foot {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 10px 12px;
  background: white;
  border: 1px solid #d8ddda;
  border-radius: 12px;
}

.method-foot > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.method-foot b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.method-foot em {
  padding: 4px 6px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 6px;
  font-size: 10px;
  font-style: normal;
}

.method-panel--size .method-foot em {
  color: var(--violet-dark);
  background: var(--violet-soft);
}

.method-foot i {
  color: var(--muted);
  font-style: normal;
  font-size: 10px;
}

.method-foot small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-align: right;
}

.fallback-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0 18px 18px;
  padding: 13px 15px;
  color: #473b1c;
  background: #fff0c4;
  border: 1px solid #e7c76e;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgb(95 70 10 / 7%);
}

.fallback-strip > span {
  color: #8d6711;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.fallback-strip p {
  margin: 0;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

.fallback-flow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fallback-flow i {
  padding: 5px 7px;
  color: #6d5418;
  background: rgb(255 255 255 / 70%);
  border-radius: 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.fallback-flow b {
  color: #9a7a2a;
  font-size: 11px;
}

.panel-head--compact {
  min-height: 74px;
  padding-inline: 17px;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .58fr);
  gap: 0 15px;
}

.guide-card > .panel-head {
  grid-column: 1 / -1;
}

.guide-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 15px;
}

.guide-list button {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 57px;
  gap: 10px;
  padding: 8px 10px;
  text-align: left;
  background: #f8f8f3;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, translate .2s ease;
}

.guide-list button:hover {
  translate: 2px 0;
}

.guide-list button[aria-pressed="true"] {
  background: var(--green-soft);
  border-color: #82d2ba;
}

.guide-number {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  color: white;
  background: var(--ink);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 900;
}

.guide-list button[aria-pressed="true"] .guide-number {
  background: var(--green);
}

.guide-copy {
  display: grid;
  gap: 3px;
}

.guide-list code {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
}

.guide-list button:nth-child(4) code {
  color: var(--violet-dark);
}

.guide-list b {
  font-size: 11px;
}

.guide-list button > i {
  color: var(--muted);
  font-style: normal;
  font-size: 15px;
}

.guide-detail {
  grid-column: 1;
  min-height: 137px;
  margin: 0 0 15px 15px;
  padding: 15px;
  background: #12251f;
  border-radius: 15px;
  color: white;
}

.guide-detail span {
  color: #7ee1c2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.guide-detail h3 {
  margin: 7px 0 6px;
  font-size: 17px;
}

.guide-detail p {
  margin: 0;
  color: #c3d1cc;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
}

.support-note {
  grid-column: 2;
  margin: 0 15px 15px 0;
  padding: 13px;
  background: #f0eee7;
  border-radius: 13px;
}

.support-note > span {
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.support-note ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.support-note li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
}

.support-note li b {
  font-size: 11px;
}

.support-note li em {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
  text-align: right;
}

.code-card {
  background: #101a16;
  border-color: #101a16;
  color: white;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 73px;
  gap: 12px;
  padding: 15px 17px;
  border-bottom: 1px solid #33413c;
}

.code-head span {
  color: #f5cb5d;
}

.code-head button {
  min-height: 40px;
  padding: 0 13px;
  color: white;
  background: var(--coral);
  border: 0;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.code-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 12px 14px 0;
  padding: 4px;
  background: #26332e;
  border: 1px solid #394740;
  border-radius: 12px;
}

.code-tabs button {
  min-height: 34px;
  color: #a9b6b0;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.code-tabs button[aria-pressed="true"] {
  color: var(--ink);
  background: white;
}

.code-body {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(420px, 1fr) auto;
  gap: 10px;
  padding: 12px 14px 14px;
}

.code-body pre {
  min-height: 270px;
  max-height: none;
  margin: 0;
  padding: 15px;
  overflow: auto;
  background: #07100c;
  border: 1px solid #32413a;
  border-radius: 12px;
}

.code-body code {
  color: #d9e7e1;
  font: 700 10px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.code-method-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.code-note {
  position: relative;
  padding: 14px;
  background: #202038;
  border: 1px solid #4a486c;
  border-radius: 12px;
  transition: border-color .2s ease, background .2s ease, opacity .2s ease;
}

.code-note[data-active="false"] {
  opacity: .68;
}

.code-note[data-active="true"] {
  border-color: #8d79ef;
  box-shadow: inset 0 0 0 1px rgb(141 121 239 / 35%);
}

.code-note--grid {
  background: #182943;
  border-color: #385e93;
}

.code-note--grid[data-active="true"] {
  border-color: #6297e4;
  box-shadow: inset 0 0 0 1px rgb(98 151 228 / 34%);
}

.code-note span {
  color: #b8a8ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.code-note strong {
  display: block;
  margin: 10px 0 7px;
  font-size: 15px;
  line-height: 1.35;
}

.code-note p {
  margin: 0;
  color: #bcbdd0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
}

.code-note > code {
  display: inline-flex;
  margin-top: 11px;
  padding: 6px 8px;
  color: white;
  background: rgb(255 255 255 / 10%);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .studio {
    grid-template-columns: minmax(0, 1fr);
  }

  .comparison-card,
  .guide-card,
  .code-card {
    grid-column: 1;
    grid-row: auto;
  }

  .code-body {
    grid-template-rows: auto auto;
  }

  .code-body pre {
    max-height: 340px;
  }

  .details-benefits ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 22px, 760px);
    padding-top: 19px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 18px;
  }

  .hero-title {
    grid-column: auto;
  }

  h1 {
    font-size: clamp(48px, 13vw, 82px);
  }

  .hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .comparison-stage {
    grid-template-columns: 1fr;
  }

  .details-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .details-benefits ul {
    grid-template-columns: 1fr;
  }

  .details-benefits li b {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .name-control {
    grid-column: 1;
    grid-row: auto;
    justify-content: space-between;
  }

  .fallback-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fallback-flow {
    flex-wrap: wrap;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-card > .panel-head,
  .guide-list,
  .guide-detail,
  .support-note {
    grid-column: 1;
  }

  .guide-detail {
    margin: 0 15px 10px;
  }

  .support-note {
    margin: 0 15px 15px;
  }
}

@media (max-width: 600px) {
  .panel-head {
    min-height: 72px;
    padding: 13px;
  }

  .panel-head h2,
  .code-head h2 {
    font-size: 18px;
  }

  .same-html {
    display: none;
  }

  .comparison-stage {
    padding: 11px;
  }

  .method-panel {
    padding: 12px;
  }

  .method-head {
    display: grid;
  }

  .method-head code {
    width: fit-content;
    margin-bottom: 9px;
  }

  .accordion-set summary {
    padding-inline: 10px;
  }

  .accordion-set summary span {
    gap: 7px;
    font-size: 12px;
  }

  .method-foot {
    grid-template-columns: auto 1fr;
  }

  .method-foot small {
    grid-column: 1 / -1;
    text-align: left;
  }

  .fallback-strip {
    margin: 0 11px 11px;
  }

  .guide-list {
    grid-template-columns: 1fr;
  }

  .code-head {
    align-items: flex-start;
  }

  .code-body pre {
    min-height: 215px;
    max-height: 260px;
  }

  .code-method-notes {
    grid-template-columns: 1fr;
  }
}

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