main:has(.poster-view) {
  width: min(calc(100% - 36px), 1460px);
  max-width: none;
}
.poster-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.15rem;
}
.poster-heading h1 {
  margin: .18rem 0 .5rem;
  color: #1f2c45;
  font-size: clamp(2rem, 4.1vw, 4.1rem);
  line-height: 1.05;
}
.poster-heading p { margin-block: .4rem; }
.poster-heading .poster-formats { flex: 0 1 auto; }
.poster-heading .poster-formats .button { min-height: 44px; padding-inline: .75rem; }
.poster-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) clamp(264px, 22vw, 310px);
  align-items: stretch;
  gap: 1rem;
}
.house-figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: white;
  border: 1px solid #dedcd1;
  border-radius: 16px;
  box-shadow: 0 12px 30px #20333d11;
}
.house-map { border-radius: 15px 15px 0 0; }
.house-scene {
  position: relative;
  isolation: isolate;
  border-radius: 15px 15px 0 0;
  background: #f7f1e3;
}
.house-scene img { display: block; width: 100%; height: auto; border-radius: inherit; }
.house-marker {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 1;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%,-50%);
  min-width: 44px;
  min-height: 44px;
  color: #162337;
  text-decoration: none;
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.house-marker[hidden] { display: none; }
.house-marker-detail > span:first-child {
  display: grid;
  place-items: center;
  min-width: 35px;
  min-height: 32px;
  padding: .12rem .3rem;
  background: #fffefa;
  border: 2px solid var(--accent);
  border-radius: 7px;
  box-shadow: 0 2px 4px #18263266;
}
.house-marker-module > span:first-child {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: .2rem;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--tint);
  color: #152136;
  box-shadow: 0 0 0 2px var(--accent), 0 3px 7px #18263288;
}
.house-marker:hover,.house-marker:focus-visible { z-index: 5; }
.house-marker-label {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 200px;
  white-space: normal;
  padding: .25rem .5rem;
  border-radius: 5px;
  background: #192a44;
  color: white;
  font-size: .78rem;
  font-weight: 700;
}
.house-marker[data-edge="left"] .house-marker-label { left: 0; transform: none; }
.house-marker[data-edge="right"] .house-marker-label { left: auto; right: 0; transform: none; }
.house-marker:hover .house-marker-label,.house-marker:focus-visible .house-marker-label { display: block; }
.house-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: auto;
  padding: .6rem .85rem;
  color: #37445b;
  font-size: .88rem;
}
.house-caption strong { margin-right: .45rem; }
.house-scroll-hint { display: none; }
.poster-reset,.poster-locate {
  background: #f7f8fb;
  color: #283853;
  border: 1px solid #cdd4e1;
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  cursor: pointer;
}
.poster-reset { padding: .3rem .7rem; }
.poster-reset[aria-pressed="true"],.poster-locate[aria-pressed="true"] { background: #e8eaf5; border-color: #666f9c; }
.poster-modules {
  display: flex;
  flex-direction: column;
  padding: .95rem .95rem .75rem;
  background: #fffdf8;
  border: 1px solid #dedcd1;
  border-radius: 16px;
}
.poster-modules h2 { margin: 0 0 .55rem; font-size: 1.25rem; color: #1f2c45; }
.poster-modules ol { margin: 0; padding: 0; list-style: none; }
.poster-modules > ol { display: flex; flex: 1; flex-direction: column; }
.poster-module-row {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid #ece9e0;
  padding: .16rem 0;
}
.poster-module-heading { display: flex; justify-content: space-between; align-items: center; gap: .25rem; }
.poster-module-link { display: flex; gap: .46rem; align-items: center; min-height: 44px; line-height: 1.23; font-size: 1.02rem; font-weight: 700; text-decoration: none; }
.poster-module-link:hover { text-decoration: underline; }
.poster-number { border-radius: 5px; background: var(--tint); border: 1px solid var(--accent); color: #192a44; min-width: 40px; padding: .18rem .3rem; text-align: center; }
.poster-locate { width: 44px; flex: 0 0 44px; padding: 0; line-height: 1; font-size: 1.33rem; }
.poster-sequences { margin-left: 3rem; font-size: .84rem; }
.poster-sequences summary { cursor: pointer; width: fit-content; padding: .04rem 0 .12rem; color: #42536a; }
.poster-sequences ol a { display: flex; gap: .35rem; padding: .33rem .2rem; text-decoration: none; line-height: 1.35; }
.poster-sequences ol a:hover { text-decoration: underline; }
@media (max-width: 1040px) {
  .poster-layout { grid-template-columns: minmax(0,1fr); }
  .poster-heading { display: block; }
  .poster-modules > ol {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr));
    column-gap: 1rem;
  }
  .poster-module-row { padding: .36rem 0; }
}
@media (max-width: 700px) {
  .house-map { overflow-x: auto; }
  .house-scene { min-width: 660px; }
  .house-scroll-hint { display: block; margin-top: .18rem; }
  .house-marker-label { display: none !important; }
}
@media (max-width: 500px) {
  main:has(.poster-view) { width: calc(100% - 18px); }
}
