.illustrated-guide {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(17rem, 2fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: start;
  margin-block: .75rem 2rem;
}
.illustrated-guide--text { grid-template-columns: minmax(0, 46rem); }
.illustrated-desk { margin: 0; min-width: 0; }
.illustrated-stage { position: relative; }
.illustrated-stage img { display: block; width: 100%; height: auto; border-radius: 6px; }
.illustrated-stage a {
  position: absolute;
  left: var(--spot-x);
  top: var(--spot-y);
  transform: translate(-50%, -50%);
  padding: .28rem .52rem;
  color: #20242a;
  background: #fff;
  border: 1px solid #69655c;
  border-radius: 4px;
  font-size: clamp(.8rem, 1.05vw, .95rem);
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
}
.illustrated-stage a:hover, .illustrated-stage a:focus-visible { color: #fff; background: #292b30; }
.illustrated-desk figcaption, .illustrated-source, .illustrated-terms, .illustrated-kicker { color: #545b64; font-size: .82rem; line-height: 1.65; }
.illustrated-desk figcaption { margin-top: .45rem; }
.illustrated-route { min-width: 0; }
.illustrated-kicker { margin: 0 0 .35rem; }
.illustrated-route h2 { margin: 0 0 .75rem; font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.3; text-wrap: balance; }
.illustrated-route ol { list-style: none; padding: 0; margin: 0; }
.illustrated-route li { margin: 0; border-top: 1px solid #ced3d9; }
.illustrated-route li:last-child { border-bottom: 1px solid #ced3d9; }
.illustrated-route summary { cursor: pointer; padding: .58rem .15rem; font-weight: 650; }
.illustrated-route details p { margin: 0 0 .75rem; color: #373c42; font-size: .94rem; line-height: 1.65; }
.illustrated-source, .illustrated-terms { margin: .55rem 0 0; }
.illustrated-index h2 { margin: 0 0 .65rem; font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.3; }
.illustrated-index details { border-top: 1px solid #ced3d9; }
.illustrated-index details:last-child { border-bottom: 1px solid #ced3d9; }
.illustrated-index summary { cursor: pointer; padding: .58rem .15rem; font-weight: 650; }
.illustrated-index summary small { float: right; color: #545b64; font-weight: 400; font-variant-numeric: tabular-nums; }
.illustrated-index ul { margin: 0 0 .65rem 1.15rem; padding: 0; list-style: none; }
.illustrated-index a { display: inline-block; padding: .23rem 0; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.doubao-catalog .manual-search { margin: 0 0 .7rem; max-width: none; }
.doubao-catalog .manual-search-status:empty { display: none; }
.doubao-catalog .capability-list { margin: 0 0 .7rem .8rem; }
.doubao-catalog .capability-list > li { padding: 0; border: none; }
.doubao-catalog .capability-record,
.doubao-catalog .capability-record:last-child { border: none; }
.doubao-catalog .capability-record > summary { display: list-item; padding: .35rem .1rem; font-size: .93rem; font-weight: 500; }
.doubao-catalog .desk-instructions { margin: .2rem 0 .6rem 1rem; padding-left: .8rem; border-left: 2px solid #cdd2dc; font-size: .88rem; line-height: 1.6; }
.doubao-catalog .desk-instructions p { margin: .3rem 0; }
.doubao-catalog .desk-entry { font-weight: 600; }
.doubao-catalog .desk-skills-note { margin: .2rem 0 .6rem; font-size: .85rem; }
.doubao-catalog .desk-skill-family h3 { font-size: .92rem; margin: .55rem 0 .1rem; }
.doubao-catalog .desk-skill-family ul { display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin: 0 0 .55rem; font-size: .87rem; }
.doubao-catalog [id] { scroll-margin-block-start: 6rem; }
.illustrated-guide--skills { grid-template-columns: minmax(0, 1fr) minmax(15rem, .33fr); gap: clamp(1rem, 2vw, 2rem); }
.desk-views { min-width: 0; margin: 0; padding: 0; border: 0; }
.desk-views > legend, .desk-views > input {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.desk-views > label { display: inline-block; cursor: pointer; padding: .38rem .75rem; border-radius: 4px; color: #454a50; font-size: .9rem; }
.desk-views > label b { margin-left: .2em; font-size: .85em; font-variant-numeric: tabular-nums; }
.desk-views > input:checked + label { background: #25282e; color: white; }
.desk-views > input:focus-visible + label { outline: 2px solid currentColor; outline-offset: 3px; }
.desk-views > .illustrated-stage, .desk-skill-scene { margin-top: .65rem; }
#desk-show-skills:checked ~ .illustrated-stage, #desk-show-actions:checked ~ .desk-skill-scene { display: none; }
.desk-skill-scene { overflow: hidden; border-radius: 6px; background: #d9e4e8; }
.desk-skill-map {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
}
.desk-skill-map .desk-object {
  display: flex; align-items: end; justify-content: center; min-width: 0; aspect-ratio: 1;
  box-sizing: border-box; container-type: inline-size; padding: 0 2px 3%; text-decoration: none; color: #202c37;
  background-image: url("tool-graphics/doubao-skill-objects.webp");
  background-size: 600% 400%; background-position: var(--desk-x) var(--desk-y); background-repeat: no-repeat;
}
.desk-object span {
  background: #fafdfff2; padding: .14em .25em; border-radius: 3px; text-align: center; white-space: nowrap;
  font-size: clamp(.7rem, 10cqw, .83rem); font-weight: 600; line-height: 1.4;
}
.desk-object:hover span, .desk-object:focus-visible span { color: #fff; background: #233b49; }
.desk-object:focus-visible { outline: 2px solid #233b49; outline-offset: -3px; }
.desk-skill-dialog { box-sizing: border-box; width: min(28rem, calc(100% - 2rem)); max-height: 85dvh; margin: auto; padding: 1.35rem; border: 1px solid #c2cbd1; border-radius: 10px; background: #fff; color: #202830; }
.desk-skill-dialog::backdrop { background: #15253377; }
.desk-skill-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.desk-skill-dialog h2 { margin: 0; font-size: 1.4rem; }
.desk-skill-dialog button { cursor: pointer; font: inherit; padding: .35em .65em; border: 1px solid #c4ccd1; border-radius: 4px; background: white; color: inherit; }
.desk-skill-body { font-size: .94rem; line-height: 1.65; }
.desk-skill-body .desk-example-label { margin: 1em 0 .25em; font-weight: 650; }
.desk-example-label small { margin-left: .5em; font-weight: 400; color: #525e66; }
.desk-skill-body blockquote { margin: 0 0 1em; padding: .55em .8em; border-left: 2px solid #819ba9; background: #eef3f5; }
.doubao-catalog .desk-skill-family ul { display: block; margin-left: .6rem; }
.doubao-catalog .desk-skill-record { border: 0; }
.doubao-catalog .desk-skill-record > summary { padding: .35rem 0; font-weight: 500; }
.desk-skill-record p { margin: .3rem 0; }
@media (max-width: 1150px) {
  .illustrated-guide--skills { grid-template-columns: minmax(0, 1fr); }
  .illustrated-guide--skills .doubao-catalog { width: 100%; }
}
@media (max-width: 600px) {
  .desk-skill-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 364px) {
  .desk-skill-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .illustrated-guide { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .illustrated-stage a { font-size: .75rem; line-height: 1.4; padding: .18rem .3rem; }
  .illustrated-stage a::before { content: ""; position: absolute; inset: -4px -1px; }
  .illustrated-stage a:focus-visible { z-index: 1; }
}
