html { scrollbar-gutter: stable; }
html.qv-scroll-locked, html.qv-scroll-locked body { overflow: hidden; }
html.qv-scroll-locked, html.qv-restoring { scroll-behavior: auto !important; overflow-anchor: none; }
.pc-page .pc-photo.qv-image { position: relative; cursor: pointer; text-decoration: none; color: #26374b; }
.qv-image-label {
  position: absolute; right: 12px; bottom: 10px; padding: 4px 9px;
  font-size: .75rem; font-weight: 650; line-height: 1.25;
  color: #243346; background: #fffffff2; border: 1px solid #bfc7cf; border-radius: 5px;
}
.qv-image:hover .qv-image-label, .qv-image:focus-visible .qv-image-label { background: #253345; color: white; }
.pc-page .qv-image:focus-visible { outline: 3px solid #254875; outline-offset: -3px; }
.qv-panel, .qv-panel * { box-sizing: border-box; }
.qv-panel:not([open]) { display: none; }
.qv-panel {
  inset: 0; width: min(31rem, calc(100% - 32px)); height: fit-content;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; background: #fffdf9; color: #192538;
  border: 1px solid #ddd5ca; border-radius: 16px; box-shadow: 0 20px 75px #111a3073;
  font-family: inherit; overflow: hidden; overscroll-behavior: contain;
}
.qv-panel[open] { display: flex; flex-direction: column; }
.qv-panel::backdrop { background: #0c1729a6; }
.qv-close {
  position: absolute; z-index: 1; top: 5px; right: 5px; display: grid; place-items: center; margin: 0;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: #fffdf9; color: #26374b; font: 400 1.75rem/1 Arial,sans-serif; cursor: pointer;
}
.qv-close:hover { background: #f4ede3; }
.qv-panel :focus-visible { outline: 3px solid #254875; outline-offset: 2px; }
.qv-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 20px 14px; }
.qv-head { display: grid; grid-template-columns: 5rem minmax(0,1fr); align-items: center; gap: 13px; padding-right: 27px; }
.qv-photo { width: 100%; height: 5.15rem; object-fit: contain; background: white; border: 1px solid #e0dfde; border-radius: 6px; }
.qv-panel h2 { color: #172439; font-size: clamp(1.2rem,3.6vw,1.52rem); letter-spacing: -.025em; line-height: 1.12; margin: 0 0 6px; overflow-wrap: anywhere; }
.qv-meta { font-size: .87rem; color: #43546a; line-height: 1.32; margin: 0; }
.qv-panel .qv-specs { display: flex; flex-wrap: wrap; gap: 4px 7px; padding: 0; list-style: none; margin: 12px 0 9px; }
.qv-specs li { font-size: .8rem; font-weight: 650; color: #623e26; background: #faecdf; border-radius: 4px; padding: .19rem .42rem; }
.qv-copy { color: #293648; margin: 0 0 6px; line-height: 1.42; font-size: .96rem; }
.qv-full { color: #75401c; text-decoration: underline; text-underline-offset: 2px; font-size: .81rem; }
.qv-footer {
  flex: 0 0 auto; display: grid; grid-template-columns: minmax(5rem, .82fr) minmax(0,1.65fr); align-items: end; gap: 12px;
  padding: 10px 20px 16px; border-top: 1px solid #e3ded6; background: #fff;
}
.qv-footer label { display: flex; flex-direction: column; gap: 4px; color: #344359; font-size: .76rem; font-weight: 650; }
.qv-footer input {
  width: 100%; min-width: 0; height: 46px; padding: 6px 8px; color: #192538; background: white;
  border: 1px solid #9ba6b1; border-radius: 6px; font: inherit; font-size: 1rem;
}
.qv-footer .qv-direct {
  display: flex; align-items: center; justify-content: center; gap: .45em; min-height: 46px; padding: 7px 10px;
  border: 1px solid #ae5019; border-radius: 6px; background: #fb8547; color: #211811;
  font-family: inherit; font-size: 1rem; line-height: 1.2; font-weight: 750; text-align: center; text-decoration: none;
}
.qv-footer .qv-direct:hover { background: #ff995e; }
@media (max-width:600px) {
  .qv-panel { inset: auto 0 0; margin: 0 auto; width: 100%; max-width: 100%; max-height: calc(100dvh - 16px - env(safe-area-inset-top)); border-radius: 16px 16px 0 0; border-bottom: 0; }
  .qv-body { padding: 14px 15px 11px; }
  .qv-head { grid-template-columns: 4.15rem minmax(0,1fr); gap: 10px; }
  .qv-photo { height: 4.4rem; }
  .qv-footer { padding: 9px 15px max(12px,env(safe-area-inset-bottom)); gap: 9px; }
  .qv-footer .qv-direct { font-size: .96rem; }
}
@media (max-height:430px) {
  .qv-panel { max-height: calc(100dvh - 8px); }
  .qv-footer { padding-block: 5px; }
}

.qv-pulls[hidden], .qv-pull[hidden] { display: none; }
.qv-pulls { margin: 13px 0; }
.qv-pulls h3 { margin: 0 0 3px; color: #172439; font-family: inherit; font-size: 1rem; line-height: 1.22; font-weight: 700; text-transform: none; }
.qv-pull-note { color: #475769; margin: 0 0 9px; font-size: .8rem; line-height: 1.38; }
.qv-pull-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(95px,100%),1fr)); gap: 8px; align-items: start; }
.qv-pull { position: relative; display: grid; gap: 2px; width: 100%; min-width: 0; padding: 5px 4px; border: 1px solid #dedad2; border-radius: 7px; background: white; color: #213143; font-family: inherit; text-align: center; cursor: zoom-in; }
.qv-pull::before { content: '+'; position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; color: white; background: #243247d9; font: 600 17px/19px system-ui,sans-serif; }
.qv-pull img { width: 100%; height: clamp(100px,16dvh,147px); object-fit: contain; display: block; }
.qv-pull-name { margin-top: 3px; font-size: .81rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.qv-pull small { font-size: .73rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.qv-pull[aria-expanded=true] { grid-column: 1/-1; cursor: zoom-out; }
.qv-pull[aria-expanded=true]::before { content: '−'; }
.qv-pull[aria-expanded=true] img { height: clamp(185px,43dvh,350px); }
@media (max-width:370px) { .qv-pull-grid { grid-template-columns: repeat(auto-fit,minmax(min(75px,100%),1fr)); gap:5px; } }

.pc-page .qv-image-caption, .qv-head-caption { color:#526170; font-size:.78rem; font-weight:400; line-height:1.4; }
.pc-page .qv-image-caption { padding:0 20px; margin:9px 0 0; }
.qv-head-caption { margin:6px 0; }

.qv-more { display: block; min-height: 44px; width: 100%; margin-top: 6px; color: #633518; background: #fff; border: 1px solid #c9b9ab; border-radius: 6px; font: inherit; cursor: pointer; }
.qv-card-names { color: #43546a; padding-left: 21px; line-height: 1.45; }
.qv-more[hidden], .qv-card-names[hidden], .qv-photo[hidden] { display: none; }
.qv-head:has(.qv-photo[hidden]) { grid-template-columns: minmax(0, 1fr); }
.pc-page .qv-title-link { display: inline-flex; align-items: center; gap: .35em; color: inherit; text-decoration: none; }
.pc-page .qv-title-link:hover, .pc-page .qv-title-link:focus-visible { text-decoration: underline; }
.qv-title-link::after { content: "+"; display: inline-grid; place-items: center; flex: 0 0 1.4em; height: 1.4em; font-size: .74em; color: #633518; background: #faecdf; border-radius: 50%; }
.qv-pull-grid:has(> .qv-pull:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
