/* The record chooser only. Other pages retain their current geometry and type. */
body.visual-system[data-visual-page="record"] .layout {
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.7fr);
  max-width:1280px;padding:64px 40px 48px;gap:48px;align-items:center;
}
body.visual-system[data-visual-page="record"] .editorial {
  display:block;position:static;padding:0;min-width:0;align-self:center;
}
body.visual-system[data-visual-page="record"] .editorial h1 {
  font-size:2.625rem;line-height:1.6;letter-spacing:-.04em;margin:0 0 24px;
}
body.visual-system[data-visual-page="record"] .editorial .intro {
  font-size:1rem;line-height:1.9;margin:0;color:var(--sub);
}
body.visual-system[data-visual-page="record"] .editorial :is(.editorial-rule,.editorial-bottom) {display:none}
body.visual-system[data-visual-page="record"] #app {
  min-width:0;min-height:0;background:transparent;border:0;border-radius:0;
  box-shadow:none;overflow:visible;
}
body.visual-system[data-visual-page="record"] .shiji-record {max-width:none;margin:0;padding:0;animation:none}
body.visual-system[data-visual-page="record"] .record-mobile-brand {display:none}
body.visual-system[data-visual-page="record"] .shiji-record>h2 {
  font-size:1.5rem;line-height:1.5;letter-spacing:-.02em;margin:0 0 26px;
}
body.visual-system[data-visual-page="record"] .shiji-record-options {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;
}
body.visual-system[data-visual-page="record"] .shiji-record-card {
  display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:0;padding:0;
  border:0;border-radius:0;background:transparent;outline-offset:7px;
}
body.visual-system[data-visual-page="record"] .record-card-photo {
  display:block;position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:8px;
  background:#eee8dc;transition:box-shadow .2s ease;
}
body.visual-system[data-visual-page="record"] .record-card-photo img {
  display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;
  object-position:50% 25%;border-radius:0;
}
/* Reuse the first graduation scene of the existing six-scene sample without distortion. */
body.visual-system[data-visual-page="record"] .record-card-moment img {
  position:absolute;top:0;left:50%;width:auto;height:200%;max-width:none;
  object-fit:initial;transform:translateX(-16.666667%);
}
body.visual-system[data-visual-page="record"] .record-card-copy {display:block;min-width:0;padding:17px 0 0}
body.visual-system[data-visual-page="record"] .record-card-label {display:flex;align-items:center;gap:10px}
body.visual-system[data-visual-page="record"] .record-card-label strong {
  flex:1;min-width:0;font-size:1.25rem;line-height:1.6;font-weight:500;overflow-wrap:anywhere;
}
body.visual-system[data-visual-page="record"] .record-card-arrow {flex:none;font-size:1.25rem;line-height:1.6}
body.visual-system[data-visual-page="record"] .record-card-copy small {
  display:block;margin:6px 0 0;font-size:.9375rem;line-height:1.8;color:var(--sub);overflow-wrap:anywhere;
}
body.visual-system[data-visual-page="record"] .shiji-record-card:is(:hover,:focus-visible) {background:transparent}
body.visual-system[data-visual-page="record"] .shiji-record-card:is(:hover,:focus-visible) .record-card-photo {box-shadow:0 7px 20px #20372a14}
body.visual-system[data-visual-page="record"] .shiji-record-card:is(:hover,:focus-visible) strong {text-decoration:underline;text-underline-offset:.3em}
body.visual-system[data-visual-page="record"] .record-archive-link {
  display:inline-flex;align-items:center;gap:20px;min-height:44px;margin-top:28px;
  padding:8px 0;font-size:.9375rem;line-height:1.6;
}
body.visual-system[data-visual-page="record"] #app>.service-footer {
  margin-top:30px;padding:18px 0 0;background:transparent;font-size:.8125rem;
}
body.visual-system[data-visual-page="record"] #app>.service-footer a {font-size:.8125rem;line-height:1.7}
@media (min-width:721px) and (max-width:1159px) {
  body.visual-system[data-visual-page="record"] .layout {display:block;max-width:1000px;padding:36px 32px 48px}
  body.visual-system[data-visual-page="record"] .editorial {margin:0 0 36px}
  body.visual-system[data-visual-page="record"] .editorial h1 {font-size:2.25rem;line-height:1.55;margin-bottom:14px}
  body.visual-system[data-visual-page="record"] .editorial h1 br,
  body.visual-system[data-visual-page="record"] .editorial .intro br {display:none}
}
@media (max-width:720px) {
  body.visual-system[data-visual-page="record"] .layout {display:block;padding:24px 20px calc(5.75rem + env(safe-area-inset-bottom))}
  body.visual-system[data-visual-page="record"] .editorial {display:none}
  body.visual-system[data-visual-page="record"] .record-mobile-brand {
    display:block;margin:0 0 18px;color:var(--sub);font-size:.875rem;line-height:1.7;letter-spacing:.06em;
  }
  body.visual-system[data-visual-page="record"] .shiji-record>h2 {font-size:1.875rem;line-height:1.5;margin-bottom:26px}
  body.visual-system[data-visual-page="record"] .shiji-record-options {grid-template-columns:minmax(0,1fr);gap:24px}
  body.visual-system[data-visual-page="record"] .shiji-record-card {
    display:grid;grid-template-columns:minmax(80px,31%) minmax(0,1fr);align-items:center;gap:18px;
  }
  body.visual-system[data-visual-page="record"] .record-card-photo {border-radius:6px}
  body.visual-system[data-visual-page="record"] .record-card-copy {padding:0;container:record-choice / inline-size}
  body.visual-system[data-visual-page="record"] .record-card-label strong {font-size:1.125rem;text-wrap:balance}
  body.visual-system[data-visual-page="record"] .record-card-copy small {margin-top:6px}
  body.visual-system[data-visual-page="record"] .record-archive-link {margin-top:26px}
}
@container record-choice (max-width:7rem) {
  body.visual-system[data-visual-page="record"] .record-card-arrow {display:none}
}
@media (prefers-reduced-motion:reduce) {
  body.visual-system[data-visual-page="record"] .record-card-photo {transition:none}
}
