.tokyo .tokyo-spec-card-grid,
.tokyo .tokyo-spec-detail {
  display:grid;
  gap:16px;
  max-width:1240px;
  margin-inline:auto;
  min-width:0;
}

.tokyo .tokyo-spec-card-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
}

.tokyo #tokyo-content:has(.tokyo-spec-card-grid) > .page-head {
  max-width:1240px;
  margin-inline:auto;
}

.tokyo .tokyo-spec-panel,
.tokyo .tokyo-spec-card {
  min-width:0;
  padding:clamp(14px,2vw,24px);
  border:1px solid var(--tokyo-line);
  border-radius:10px;
  background:linear-gradient(155deg,var(--tokyo-panel),#0d0b0c);
}

.tokyo .tokyo-spec-card,
.tokyo .tokyo-spec-header {
  padding:0;
  overflow:hidden;
}

.tokyo .tokyo-spec-card-picture,
.tokyo .tokyo-spec-gallery {
  background:#080708;
}

.tokyo .tokyo-spec-card-picture {
  aspect-ratio:2.5 / 1;
}

.tokyo .content-card .tokyo-spec-card-picture img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.tokyo .tokyo-spec-card-body {
  display:grid;
  gap:9px;
  padding:13px 15px;
}

.tokyo .content-card .tokyo-spec-card h2,
.tokyo .content-card .tokyo-spec-detail :is(h2,h3) {
  margin:0 0 5px;
  color:var(--tokyo-gold);
  font-size:clamp(18px,2vw,25px);
  scroll-margin-top:16px;
}

.tokyo .tokyo-spec-card h2 a {
  color:var(--tokyo-text);
}

.tokyo .tokyo-spec-card-body > a,
.tokyo .tokyo-spec-shortcuts a {
  justify-self:start;
  padding:4px 10px;
  border:1px solid var(--tokyo-line);
  border-radius:6px;
  background:var(--tokyo-panel);
  font-size:.85rem;
}

.tokyo .tokyo-spec-shortcuts a:is(:hover,:focus-visible),
.tokyo .tokyo-spec-card-body > a:is(:hover,:focus-visible) {
  border-color:var(--tokyo-gold);
}

.tokyo .tokyo-spec-card-summary {
  color:var(--tokyo-text);
  font-size:.9rem;
}

.tokyo .tokyo-spec-card-summary summary {
  color:var(--tokyo-gold);
  cursor:pointer;
}

.tokyo .tokyo-spec-summary-copy {
  padding-top:7px;
  line-height:1.65;
}

.tokyo .tokyo-spec-detail .tokyo-spec-back {
  margin:0;
  font-size:.875rem;
}

.tokyo .tokyo-spec-gallery > p {
  margin:0;
  padding:8px 12px 0;
}

.tokyo .tokyo-spec-gallery > a:first-of-type,
.tokyo .tokyo-spec-gallery > a:first-of-type > span {
  display:block;
  width:100% !important;
  height:auto !important;
  border:0;
}

.tokyo .content-card .tokyo-spec-gallery > a:first-of-type img {
  display:block;
  width:100% !important;
  height:clamp(125px,21vw,290px) !important;
  object-fit:contain;
}

.tokyo .tokyo-spec-gallery canvas,
.tokyo .tokyo-spec-gallery > br,
.tokyo .tokyo-spec-section > br:last-child,
.tokyo .tokyo-spec-overview > br:last-child {
  display:none;
}

.tokyo .tokyo-spec-header-body {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:clamp(14px,2vw,24px);
}

.tokyo .content-card .tokyo-spec-header-body h1 {
  margin:0;
}

.tokyo .tokyo-spec-shortcuts {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}

.tokyo .tokyo-spec-highlights {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));
  gap:10px 14px;
  margin:0;
  padding:12px clamp(14px,2vw,24px);
  border-top:1px solid var(--tokyo-line);
}

.tokyo .tokyo-spec-highlights dt {
  color:var(--tokyo-gold);
  font-size:.8rem;
}

.tokyo .tokyo-spec-highlights dd {
  margin:2px 0 0;
  font-weight:650;
}

.tokyo .tokyo-spec-overview p:last-of-type {
  margin-bottom:0;
}

.tokyo .tokyo-spec-section-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:12px 16px;
}

.tokyo .tokyo-spec-section table {
  width:100%;
}

.tokyo .tokyo-spec-section table td {
  padding:7px 8px;
  vertical-align:top;
  white-space:normal;
  overflow-wrap:anywhere;
}

.tokyo .tokyo-spec-section table .cell-label {
  width:38%;
  color:var(--tokyo-gold);
  font-weight:650;
}

.tokyo .tokyo-spec-section table .cell-spacer {
  width:1px;
  padding-inline:0;
}

@media (max-width:850px) {
  .tokyo .tokyo-spec-card-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .tokyo .tokyo-spec-section-grid {
    grid-template-columns:minmax(0,1fr);
  }
}

@media (max-width:550px) {
  .tokyo .tokyo-spec-card-grid {
    grid-template-columns:minmax(0,1fr);
  }
}
