/* These pages wrap independent, full-height presentations or a database-free error. */
.jf-experience-main,
.jf-tamdon-viewer,
.jf-public-error__main {
  --shell-top: 75px;
  padding-block-start: var(--shell-top);
  background: #fff;
  color: var(--concept-ink, #19181b);
}

.jf-experience-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px clamp(16px, 4.3vw, 76px);
  background: #fff;
  border-bottom: 1px solid #ced1d5;
}

.jf-experience-back,
.jf-experience-switch summary,
.jf-public-error__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
}

.jf-experience-bar .jf-experience-back { color: #6335ab; }
html[dir="ltr"] .jf-experience-back .sj-icon { transform: none; }
html[dir="rtl"] .jf-experience-back .sj-icon { transform: scaleX(-1); }
.jf-experience-label { text-align: center; }
.jf-experience-label h1 { margin: 0; color: #19181b; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.5; }
.jf-experience-label p { margin: 2px 0 0; color: #50555c; font-size: 14px; }
.jf-experience-switch { position: relative; flex: none; }
.jf-experience-switch summary {
  padding: 7px 14px;
  border: 1px solid #ced1d5;
  cursor: pointer;
  list-style: none;
}
.jf-experience-switch summary::-webkit-details-marker { display: none; }
.jf-experience-switch summary:hover { border-color: #6335ab; }
.jf-experience-switch nav {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 4px);
  width: max-content;
  max-width: min(85vw, 25rem);
  padding: 4px;
  background: #fff;
  border: 1px solid #ced1d5;
  box-shadow: 0 8px 24px #19181b12;
}
.jf-experience-switch nav a { display: block; padding: 10px 14px; color: #19181b; text-decoration: none; }
.jf-experience-switch nav a:is(:hover, [aria-current]) { background: #f1f2f3; color: #6335ab; }
.jf-experience-stage iframe,
.jf-tamdon-viewer iframe {
  display: block;
  width: 100%;
  height: min(1100px, 78svh);
  border: 0;
}
.jf-tamdon-viewer iframe { height: min(1200px, calc(100svh - var(--shell-top))); }

.jf-public-error__main { display: grid; min-height: 65svh; align-content: center; }
.jf-public-error__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  width: min(1100px, 90%);
  margin: 0 auto;
  padding-block: clamp(32px, 6vw, 80px);
}
.jf-public-error__code {
  color: #6335ab;
  font-size: clamp(64px, 10vw, 130px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.jf-public-error__content > :last-child { flex: 1 1 20rem; }
.jf-public-error__content h1 { margin: 0 0 .5em; font-size: clamp(26px, 3vw, 46px); line-height: 1.45; }
.jf-public-error__content p { max-width: 55ch; margin: 0 0 1.3em; color: #50555c; line-height: 1.8; }
.jf-public-error__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.jf-public-error__actions > a + a { color: #6335ab; text-underline-offset: .2em; }
.jf-public-error__actions .jf-public-error__action { padding: 8px 16px; color: #fff; background: #19181b; }
.jf-public-error__actions .jf-public-error__action:hover { background: #6335ab; }
.jf-experience-bar :focus-visible,
.jf-public-error__action:focus-visible { outline: 3px solid #6335ab; outline-offset: 2px; }

@media (max-width: 600px) {
  .jf-experience-main, .jf-tamdon-viewer, .jf-public-error__main { --shell-top: 63px; }
  .jf-experience-bar { flex-wrap: wrap; }
  .jf-experience-label { flex: 1 0 100%; order: 1; text-align: start; }
  .jf-experience-back, .jf-experience-switch { font-size: 14px; }
  .jf-experience-switch { margin-inline-start: auto; }
}
