.detail-scenario {
  color-scheme: light;
  color: #162836;
  background: #e9eef0;
  padding-block: clamp(3.4rem, 7vw, 6.5rem);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: center;
}
.detail-writing h2, .detail-hotkeys h2 {
  color: inherit;
  font-weight: 620;
  letter-spacing: -.047em;
  line-height: 1.06;
  text-wrap: balance;
}
.detail-writing h2 { font-size: clamp(2.15rem, 3.6vw, 3.9rem); margin: 0 0 2rem; }
.detail-story + .detail-story { margin-top: 1.45rem; }
.detail-story h3 { margin: 0 0 .45rem; font-size: clamp(1.12rem, 1.5vw, 1.38rem); letter-spacing: -.025em; line-height: 1.24; }
.detail-story p { margin: 0; max-width: 51ch; line-height: 1.58; color: #40545f; }
.detail-figure { margin: 0; min-width: 0; }
.detail-plate {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(15.5rem, 25vw, 22rem);
  padding: 2rem clamp(1.5rem, 4vw, 3.65rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 80%, #183344, #122837 53%, #0e202d);
  border-radius: 14px;
}
.ssr .detail-plate { background: radial-gradient(ellipse at 64% 80%, #354047, #1c2b36 53%, #14212c); }
.detail-plate img {
  display: block;
  height: auto;
  width: min(100%, 24rem);
  border-radius: .45rem;
  box-shadow: 0 12px 35px #0005;
}
.ssr .detail-plate img { width: min(100%, 20rem); }
.detail-figure figcaption { margin-top: .64rem; font-size: .875rem; color: #526672; line-height: 1.35; }
.detail-hotkeys { color-scheme: light; color: #172a37; background: #f5f7f7; padding-block: clamp(3rem, 6vw, 5.5rem); }
.detail-key-layout { display: grid; grid-template-columns: minmax(13rem, .64fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.detail-hotkeys h2 { margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.8rem); }
.detail-key-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; margin: 0; padding: 0; }
.detail-key { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .8rem 0; border-top: 1px solid #cad3d8; min-width: 0; }
.detail-key dt { line-height: 1.4; }
.detail-key dd { display: flex; align-items: center; gap: .24rem; margin: 0; }
.detail-key kbd { color: #1b3849; background: #fff; border: 1px solid #b8c6cd; border-bottom-width: 2px; border-radius: 5px; min-width: 1.9rem; text-align: center; padding: .19rem .36rem; font: 600 .82rem/1.25 ui-monospace, Consolas, monospace; }
.detail-plus { color: #627380; font-size: .78rem; }
@media(max-width: 850px) {
  .detail-key-layout { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media(max-width: 720px) {
  .detail-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .detail-plate { min-height: auto; padding: 2.15rem 1.5rem; }
  .detail-writing h2 { margin-bottom: 1.55rem; }
}
@media(max-width: 570px) {
  .detail-key-list { grid-template-columns: 1fr; }
}

.application-stories {
  color-scheme: light;
  color: var(--ink);
  background: #fff;
  padding-block: clamp(42px, 6vw, 92px);
  scroll-margin-top: 14px;
}
.application-stories h2 {
  overflow-wrap:anywhere;hyphens:auto;
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  line-height: 1.08;
  font-weight: 620;
  letter-spacing: -.05em;
  margin: 0 0 clamp(23px, 2.7vw, 42px);
}
.story-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(22px,3.6vw,60px)}
.story-picture {
  display:block;position:relative;overflow:hidden;background:#142333;
  border-radius:10px;cursor:zoom-in;
}
.story-picture img {width:100%;height:auto;aspect-ratio:8 / 5;display:block}
.story-picture .story-zoom {
  display:grid;place-items:center;position:absolute;right:12px;bottom:12px;width:33px;height:33px;
  background:#101e2be8;color:#fff;border:1px solid #ffffff4d;border-radius:50%;
}
.story-picture:hover .story-zoom,.story-picture:focus-visible .story-zoom {background:#243c50}
.story-text {overflow-wrap:break-word;hyphens:auto;max-width:57ch;padding-top:clamp(15px,1.8vw,25px)}
.story-text h3 {margin:0;font-size:clamp(1.38rem,2vw,2.12rem);font-weight:630;letter-spacing:-.035em;line-height:1.16;text-wrap:balance}
.story-text p {margin:9px 0 0;color:#40545f;font-size:clamp(1rem,1.2vw,1.13rem);line-height:1.58}
@media (max-width:700px) {
  .story-pair {grid-template-columns:1fr;row-gap:30px}
  .story-picture {border-radius:7px}
}
