/* ZoomZam uses the same circular contact pattern as the existing social links. */
.zumzam-icon { border-radius: 50%; box-shadow: 0 0 0 1px #dceaf0; flex-shrink: 0; }
.footer-actions > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
.footer-actions { flex-wrap: wrap; }
.header-contacts { flex-shrink: 0; }
.header-contacts > a:not(.phone) { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 6px; border-radius: 50%; }
@media (min-width: 1201px) and (max-width: 1270px) {
  .header-contacts .phone { display: none; }
}
@media (max-width: 700px) {
  .header { flex-wrap: wrap; row-gap: 4px; }
  .header .brand { flex-basis: 100%; justify-content: center; }
  .header-contacts { width: 100%; margin-left: 0; justify-content: center; gap: 8px; }
}

/* User-requested clarity, direct photo comparison and a few tangible details. */
.prices { gap: 40px 90px; }
.price-intro { position: relative; }
.price-paint { display: flex; gap: 9px; margin-top: 24px; }
.price-paint i { display: block; width: 86px; height: 9px; background: #22bddb; border-radius: 80% 35% 65% 40%; transform: rotate(-5deg); box-shadow: inset 0 2px 2px #ffffff65; }
.price-paint i + i { width: 25px; height: 13px; background: var(--pink); transform: rotate(13deg); }
.partner-section { background: radial-gradient(ellipse at 8% 60%, #fff0e6, transparent 58%), radial-gradient(ellipse at 96% 30%, #eafaff, transparent 50%), #fffdf9; }
.partner-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.partner-intro h2 { max-width: 420px; line-height: 1.08; }
.partner-intro > p { margin-top: 22px; max-width: 340px; font-size: 19px; line-height: 1.55; }
.partner-intro > .partner-note { font-size: 15px; line-height: 1.65; color: #49687f; margin-top: 17px; }
.partner-paint { margin-top: 28px; }
.partner-offers { list-style: none; margin: 0; padding: 8px 26px; background: #fff; border: 1px solid #f0e5d8; border-radius: 36px 22px 42px 24px; min-width: 0; }
.partner-offer { display: grid; grid-template-columns: 118px minmax(0, 1fr) 78px; align-items: center; column-gap: 22px; padding: 22px 0; min-width: 0; }
.partner-offer + .partner-offer { border-top: 1px solid #e9e6df; }
.partner-object { width: 118px; height: 128px; object-fit: contain; pointer-events: none; user-select: none; }
.partner-cake .partner-object { transform: rotate(-5deg); }
.partner-pizza .partner-object { transform: rotate(6deg); }
.partner-copy { min-width: 0; }
.partner-copy h3 { font-size: 27px; line-height: 1.1; }
.partner-source { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; padding-block: 8px; font-size: 15px; font-weight: 850; color: #0a78a8; text-underline-offset: 4px; transition: color 160ms; }
.partner-source svg { width: 17px; height: 17px; transition: transform 160ms; }
.partner-source:hover { color: var(--pink); text-decoration: underline; }
.partner-source:hover svg { transform: translateX(3px); }
.partner-source:active { transform: translateY(1px); }
.partner-copy > p { max-width: 33ch; font-size: 14px; line-height: 1.55; color: #49687f; }
.partner-saving { text-align: right; }
.partner-saving strong { display: block; font-size: 41px; line-height: 1; font-weight: 950; letter-spacing: -.045em; color: var(--pink); white-space: nowrap; }
.partner-saving strong span { font-size: .62em; margin-left: 2px; }
.partner-saving > span { display: block; margin-top: 5px; font-size: 12px; font-weight: 750; }
.partner-balloons .partner-saving strong { color: #0787aa; }
.partner-pizza .partner-saving strong { color: #d96813; }
.hero-bubble-three { width: 5.5%; left: 7%; bottom: 4%; }
.hero-bubble-three img { animation-delay: -6s; }
.reviews-section > .wrap { position: relative; }
.reviews-bubble-one { width: 55px; left: 43%; top: 3px; }
.reviews-bubble-two { width: 26px; left: 49%; top: 63px; }
.reviews-bubble-two img { animation-delay: -5s; }
.faq-brush { width: 175px; left: 5%; top: 240px; }
.faq-brush img { transform: rotate(-28deg); }
.package-included { position: relative; grid-column: 1 / -1; padding: 32px 38px 27px; background: #fff; border: 1px solid #f4e5d8; border-radius: 34px 18px 44px 22px; }
.package-heading { padding-right: 0; }
.package-heading h3 { font-size: 28px; line-height: 1.2; }
.package-heading p { font-size: 15px; margin-top: 7px; color: #49687f; }
.included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; list-style: none; padding: 0; margin: 26px 0 0; }
.included-list li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.45; }
.included-list li::before { content: ''; position: absolute; width: 11px; height: 7px; left: 0; top: 8px; background: var(--pink); border-radius: 50% 35% 60% 30%; transform: rotate(-19deg); }
.included-list li:nth-child(3n)::before { background: #21afd2; }
.included-list li:nth-child(3n + 2)::before { background: var(--orange); }
.package-comfort { font-size: 14px; line-height: 1.6; margin-top: 24px; padding-top: 20px; border-top: 1px solid #f1e9e0; color: #49687f; }
.package-brush { width: 118px; right: 22px; top: -15px; }
.package-brush img { transform: rotate(10deg); }
.studio-capacity { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0 16px; }
.studio-capacity > div { min-width: 0; padding-left: 14px; border-left: 3px solid #2bbad6; }
.studio-capacity > div:last-child { border-color: var(--pink); }
.studio-capacity dt { color: #49687f; font-size: 13px; line-height: 1.4; }
.studio-capacity dd { margin: 6px 0 0; font-size: 23px; font-weight: 900; line-height: 1.2; }
.studio-roller { right: -80px; top: 44%; width: 135px; }
.studio-roller img { transform: rotate(22deg); }
.studio-bubble { left: 45%; top: 14%; width: 52px; }
.studio-bubble img { animation-delay: -2s; }
.studio-image::after { content: ''; pointer-events: none; position: absolute; left: 22px; top: 0; width: 70px; height: 15px; background: #ffefd68c; transform: rotate(-5deg); border-radius: 3px 0 4px 1px; }
.studio-grid > article:last-child .studio-image::after { left: auto; right: 32px; background: #d8f5ff9c; transform: rotate(7deg); }
.studio-gallery { position: relative; }
.studio-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d7eaf3; border-radius: 50%; color: var(--ink); background: #fffffff5; box-shadow: 0 3px 14px #07396614; transition: background 160ms, transform 160ms; }
.studio-gallery-prev { left: 14px; }
.studio-gallery-next { right: 14px; }
.studio-gallery-arrow svg { width: 19px; height: 19px; }
.studio-gallery-prev svg { transform: rotate(180deg); }
.studio-gallery-arrow:hover { background: #eafaff; }
.studio-gallery-arrow:active { transform: translateY(-50%) scale(.94); }
.studio-gallery-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); padding: 7px 12px; border-radius: 13px; color: var(--ink); background: #fffffff5; font-size: 12px; font-weight: 850; line-height: 1.4; white-space: nowrap; pointer-events: none; }
.studio-gallery-status { position: absolute; bottom: 52px; left: 60px; right: 60px; padding: 10px 13px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.4; text-align: center; pointer-events: none; }
.studio-gallery [hidden] { display: none; }
@media (max-width: 700px) {
  .studio-gallery-prev { left: 8px; }
  .studio-gallery-next { right: 8px; }
  .studio-gallery-count { bottom: 10px; padding: 6px 10px; font-size: 11px; }
  .studio-gallery-status { left: 54px; right: 54px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .studio-gallery-arrow { transition: none; } }
.comparison-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 2; cursor: ew-resize; touch-action: pan-y; }
.wash-photo { user-select: none; }
.wash-photo > img { pointer-events: none; -webkit-user-drag: none; }
.wash-labels, .wash-divider { z-index: 1; }
.wash-divider { inset: 0; width: auto; background: none; }
.wash-divider::before { content: ''; position: absolute; inset-block: 0; left: var(--split); width: 2px; background: #fff; }
.wash-divider span { left: clamp(22px, var(--split), calc(100% - 22px)); transform: translateX(-50%); }
.wash-photo:has(.comparison-input:focus-visible) { outline: 3px solid #1184b5; outline-offset: 5px; }
.wash-photo.is-dragging .wash-divider span { box-shadow: 0 0 0 6px #e9f8ff, 0 4px 15px #07396614; }
.wash-status { z-index: 3; pointer-events: none; }
.comparison-help { font-size: 13px; line-height: 1.55; margin-top: 16px; color: #49687f; max-width: 340px; }
.comparison-input:disabled { cursor: wait; }
@media (max-width: 1480px) {
  .studio-roller { display: none; }
}
@media (max-width: 1200px) {
  .studio-roller { width: 95px; right: -26px; top: 46%; opacity: .85; }
  .prices { column-gap: 55px; }
}
@media (max-width: 950px) {
  .partner-layout { grid-template-columns: 1fr; gap: 32px; }
  .partner-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; align-items: start; }
  .partner-intro h2 { grid-row: 1 / 4; }
  .partner-intro > p { margin-top: 0; }
  .partner-intro > .partner-note { margin-top: 0; }
  .partner-paint { margin-top: 8px; }
  .partner-offer { grid-template-columns: 128px minmax(0, 1fr) 78px; column-gap: 26px; }
  .reviews-bubble-one { width: 40px; left: 41%; top: -6px; }
  .reviews-bubble-two { width: 20px; left: 46%; top: 50px; }
  .studio-capacity { grid-template-columns: 1fr; gap: 13px; }
  .studio-capacity dd { font-size: 21px; }
  .studio-roller { display: none; }
  .studio-bubble { left: auto; right: 4%; top: 4%; width: 38px; }
  .package-heading { padding-right: 0; }
  .package-heading h3 { font-size: 25px; }
  .package-brush { width: 95px; right: 15px; }
  .package-included { padding: 28px; }
}
@media (max-width: 700px) {
  .review-slot { width: calc(100% + 48px); margin-inline: -24px; border-radius: 0; }
  .partner-layout { gap: 26px; }
  .partner-intro { display: block; }
  .partner-intro h2 { max-width: 340px; font-size: 36px; }
  .partner-intro > p { margin-top: 18px; font-size: 17px; }
  .partner-intro > .partner-note { margin-top: 12px; font-size: 14px; }
  .partner-paint { display: none; }
  .partner-offers { padding: 0 18px; border-radius: 28px 18px 34px 20px; }
  .partner-offer { grid-template-columns: 78px minmax(0, 1fr); gap: 10px 16px; padding: 22px 0; }
  .partner-object { width: 78px; height: 100px; grid-row: 1 / 3; align-self: start; }
  .partner-copy h3 { font-size: 25px; }
  .partner-source { font-size: 14px; gap: 5px; }
  .partner-source svg { width: 15px; height: 15px; }
  .partner-copy > p { font-size: 13px; }
  .partner-saving { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .partner-saving strong { font-size: 30px; }
  .partner-saving > span { margin-top: 0; }
  .reviews-bubble-one { left: auto; right: 9px; top: -32px; width: 38px; }
  .reviews-bubble-two { left: auto; right: 48px; top: -19px; width: 18px; }
  .faq-brush { display: none; }
  .prices { gap: 30px; }
  .price-paint { margin-top: 20px; }
  .package-included { padding: 27px 22px 23px; border-radius: 27px 16px 34px 18px; }
  .package-heading { padding-right: 0; }
  .package-heading h3 { font-size: 24px; }
  .package-heading p { font-size: 14px; }
  .included-list { grid-template-columns: 1fr; gap: 13px; margin-top: 23px; }
  .included-list li { font-size: 15px; padding-left: 22px; }
  .package-comfort { font-size: 13px; margin-top: 22px; padding-top: 18px; }
  .package-brush { width: 79px; right: -4px; top: -24px; }
  .studio-capacity { grid-template-columns: 1fr 1fr; gap: 16px; }
  .studio-capacity > div { padding-left: 10px; }
  .studio-capacity dd { font-size: 21px; }
  .studio-capacity dt { font-size: 12px; }
  .studio-bubble { top: 3px; right: 5px; width: 30px; }
  .studio-image::after { width: 54px; height: 12px; }
}

/* Match the approved workshop composition: large tools, a palette and bubble groups. */
.hero-brush { width: 38%; max-width: 290px; right: -3%; bottom: -3%; }
.hero-brush img { transform: none; }
.hero-bubble-four { width: 3.2%; left: 13%; bottom: 8%; }
.hero-bubble-four img { animation-delay: -2s; }
.video-roller { width: 30%; max-width: 190px; left: -5%; bottom: -5%; }
.program-media, .wash-visual { position: relative; min-width: 0; }
.programs .section-heading { padding-right: 170px; margin-bottom: 50px; }
.programs h2 span { position: relative; display: inline-block; }
.programs h2 span::after { content: ''; position: absolute; left: 8%; bottom: -19px; width: 84%; height: 22px; background: url('/kp-paint/8d2f5f4eab42c27a/decor-pink-stroke-v1.webp') center / 100% 100% no-repeat; pointer-events: none; }
.program-drops { width: 112px; right: 8px; top: -12px; }
.program-drops img { transform: rotate(-5deg); }
.program-bubble-one { width: 14%; max-width: 80px; right: -8px; bottom: -14px; }
.program-bubble-two { width: 5%; max-width: 28px; right: 56px; bottom: -24px; }
.program-bubble-two img { animation-delay: -5s; }
.neon-card .photo-hint { right: auto; left: 16px; }
.wash-bubbles { width: 84px; right: -12px; bottom: -12px; }
.wash-bubble-small { width: 22px; right: 76px; bottom: -10px; }
.wash-bubble-small img { animation-delay: -3s; }
.comparison-help { margin-top: 24px; }
.studio-capacity { gap: 14px; margin-block: 22px 18px; }
.studio-capacity > div { padding: 16px 18px; border: 0; border-radius: 22px 14px 24px 16px; background: #eafaff; }
.studio-capacity > div:last-child { border: 0; background: #fff0f5; border-radius: 14px 24px 16px 22px; }
.studio-capacity dd span { font-size: .75em; font-weight: 800; }
.studio-amenities { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.studio-amenities li { padding: 9px 14px; background: #fff; border: 1px solid #dfeef2; border-radius: 15px; font-size: 14px; line-height: 1.4; color: #345d78; }
.studio-metro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; margin-top: 20px; }
.studio-metro-label { font-size: 13px; font-weight: 800; color: #49687f; }
.studio-metro ul { display: flex; flex-wrap: wrap; gap: 8px 17px; list-style: none; margin: 0; padding: 0; }
.studio-metro li { position: relative; padding-left: 13px; font-size: 14px; line-height: 1.5; font-weight: 750; }
.studio-metro li::before { content: ''; width: 6px; height: 6px; position: absolute; left: 0; top: .55em; border-radius: 50%; background: #28b9d5; }
.studio-grid > article:last-child .studio-metro li::before { background: var(--pink); }
.faq { display: block; }
.faq-inner { position: relative; display: grid; grid-template-columns: .8fr 1.4fr; gap: 72px; align-items: start; }
.faq-inner > h2 { position: sticky; top: 30px; }
@media (max-width: 950px) {
  .programs .section-heading { padding-right: 110px; }
  .program-drops { width: 82px; right: 0; top: 4px; }
  .studio-capacity { grid-template-columns: 1fr 1fr; gap: 12px; }
  .studio-capacity > div { padding: 15px; }
  .studio-capacity dt { font-size: 12px; }
  .studio-capacity dd { font-size: 22px; }
  .faq-inner { grid-template-columns: .65fr 1.4fr; gap: 35px; }
}
@media (max-width: 700px) {
  .hero { gap: 0; padding-top: 16px; }
  .hero-art { order: -1; margin-top: 0; aspect-ratio: 1.22; }
  .hero-copy { position: relative; z-index: 3; margin-top: -44px; padding: 24px 16px; background: #fff; border-radius: 30px 22px 28px 24px; box-shadow: 0 15px 35px #0739660a; }
  .hero-lettering { width: 100%; max-width: 258px; margin-inline: auto; }
  .hero-description { max-width: none; margin-top: 14px; font-size: clamp(11px, 3.5vw, 14px); letter-spacing: -.01em; white-space: nowrap; }
  .hero-location { font-size: 13px; line-height: 1.4; margin-top: 7px; }
  .hero-brush { width: 34%; right: 0; bottom: 28px; z-index: 4; }
  .hero-bubble-one { width: 18%; right: 0; top: -3%; }
  .hero-bubble-two { width: 8%; right: 0; top: 19%; }
  .hero-bubble-three { width: 7%; left: 4%; bottom: 22%; }
  .hero-bubble-four { width: 3.8%; left: 11%; bottom: 18%; }
  .video-roller { width: 31%; max-width: 132px; left: -1%; bottom: -4%; }
  .video-caption { padding-left: 86px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .programs .section-heading { padding-right: 0; margin-bottom: 54px; }
  .programs h2 span::after { height: 18px; bottom: -17px; }
  .program-drops { width: 58px; right: 6px; top: calc(100% + 20px); }
  .program-bubble-one { width: 17%; max-width: 64px; right: -4px; bottom: -14px; }
  .program-bubble-two { width: 6%; max-width: 24px; right: 46px; bottom: -23px; }
  .wash-bubbles { width: 66px; right: -8px; bottom: -10px; }
  .wash-bubble-small { width: 18px; right: 56px; bottom: -8px; }
  .studio-capacity > div { padding: 14px; }
  .studio-amenities { gap: 8px; }
  .studio-amenities li { padding: 8px 12px; font-size: 13px; }
  .studio-metro { column-gap: 10px; margin-top: 18px; }
  .studio-metro li { font-size: 13px; }
  .faq-inner { display: block; }
  .faq-inner > h2 { position: static; font-size: 38px; margin-bottom: 28px; }
  .faq-inner > h2 br { display: none; }
}
@media (max-width: 365px) {
  .hero-copy { padding-inline: 12px; }
  .hero-lettering { max-width: 225px; }
  .hero-description { font-size: 11px; }
  .hero-actions .button { padding-inline: 6px; font-size: 11px; }
  .video-caption { padding-left: 74px; font-size: 13px; }
}
:root { --section-space: 108px; --video-space: 64px; --heading-blue: #013067; --heading-rose: #f0165b; }
/* Median opaque letter colors sampled from hero-heading-v5.png.
   Local aliases preserve existing blue/rose accents without recoloring copy or controls.
   The white/sky footer heading and photo viewer remain on their contrasting palettes. */
main :is(h1, h2, h3, h4), .embed-dialog-header h2 {
  --ink: var(--heading-blue);
  --pink: var(--heading-rose);
  color: var(--ink);
}
.section { padding-block: var(--section-space); }
.party-video { padding-block: var(--video-space); }
.section h2, .video-copy h2 { line-height: 1; }
.program-caption h3 { line-height: 1.08; }
.flow-list h3 { line-height: 1.09; }
.package-heading h3 { line-height: 1.12; }
.partner-copy h3, .shows h3 { line-height: 1.05; }
.packing-list h3 { line-height: 1.22; }
/* Continue the workshop vocabulary below the programs, anchored to chapter edges. */
.chapter-art { position: relative; }
.flow-tool { width: 146px; margin: 30px 0 0 40px; }
.flow-tool img { transform: rotate(-16deg); }
.package-heading { padding-right: 150px; }
.package-tool { width: 158px; right: 22px; top: -42px; }
.package-tool img { transform: rotate(-14deg); }
.price-intro, .price-list, .package-included { min-width: 0; }
.price-intro h2 span, .reviews-section h2 span { position: relative; display: inline-block; }
.price-intro h2 span { max-width: 100%; }
.price-intro h2 span::after, .reviews-section h2 span::after { content: ''; position: absolute; left: 7%; bottom: -16px; width: 86%; height: 18px; background: url('/kp-paint/8d2f5f4eab42c27a/decor-pink-stroke-v1.webp') center / 100% 100% no-repeat; pointer-events: none; }
.price-intro > p { margin-top: 34px; }
.extras-corner-bubbles { width: 84px; top: 98px; left: calc(55% - 70px); }
.extras-corner-companion { width: 26px; top: 166px; left: calc(55% - 88px); }
.extras-corner-companion img { animation-delay: -4s; }
.studios .section-heading { position: relative; padding-right: 140px; }
.studio-paint-mark { width: 94px; right: 7px; top: 0; }
.studio-paint-mark img { transform: rotate(14deg); }
.review-grid { position: relative; }
.review-corner-bubble { width: 72px; right: -8px; top: 31px; }
.review-corner-companion { width: 24px; right: 64px; top: 66px; }
.review-corner-companion img { animation-delay: -5s; }
.reviews-section .section-heading { margin-bottom: 48px; }
.faq-heading { position: sticky; top: 30px; }
.faq-tool { width: 150px; margin: 38px 0 0 58px; }
.faq-tool img { transform: rotate(-9deg); }
@media (max-width: 950px) {
  :root { --section-space: 84px; --video-space: 52px; }
  .flow-tool { width: 116px; margin-left: 26px; }
  .extras-corner-bubbles { width: 66px; top: 100px; left: calc(55% - 58px); }
  .extras-corner-companion { width: 22px; top: 154px; left: calc(55% - 74px); }
  .studios .section-heading { padding-right: 100px; }
  .studio-paint-mark { width: 72px; }
  .faq-tool { width: 112px; margin-left: 26px; }
}
@media (max-width: 700px) {
  :root { --section-space: 68px; --video-space: 44px; }
  .program-grid, .studio-grid { row-gap: 52px; }
  .extras-grid { row-gap: 44px; }
  .flow-layout, .wash-layout { row-gap: 38px; }
  .review-grid { row-gap: 32px; }
  .flow-heading { position: relative; padding-right: 86px; }
  .flow-tool { position: absolute; width: 64px; right: 5px; top: 2px; margin: 0; }
  .flow-heading h2 { font-size: 34px; }
  .flow-heading p { font-size: 17px; }
  .package-heading { padding-right: 82px; }
  .package-tool { width: 86px; top: -13px; right: 6px; }
  .price-intro h2 span::after, .reviews-section h2 span::after { height: 16px; bottom: -14px; }
  .price-intro > p { margin-top: 30px; }
  .extras-corner-bubbles { width: 58px; top: 104px; left: auto; right: 0; }
  .extras-corner-companion { width: 20px; top: 151px; left: auto; right: 51px; }
  .studios .section-heading { padding-right: 70px; }
  .studio-paint-mark { width: 59px; top: 7px; right: 0; }
  .review-corner-bubble { width: 57px; right: -6px; top: -15px; }
  .review-corner-companion { width: 19px; right: 47px; top: 22px; }
  .reviews-section .section-heading { margin-bottom: 38px; }
  .faq-heading { position: static; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
  .faq-heading h2 { font-size: 38px; }
  .faq-tool { flex: 0 0 64px; width: 64px; margin: 0; }
}

/* Give the embedded quiz its own viewport, not a padded card inside a card.
   Keep closed native dialogs hidden and leave the video/photo viewers unchanged. */
html:has(.quiz-dialog[open]) { overflow: hidden; scrollbar-gutter: auto; }
.quiz-dialog {
  box-sizing: border-box;
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  height: calc(100dvh - 32px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
}
.quiz-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.quiz-dialog .embed-dialog-header {
  margin: 0;
  padding: 8px 16px;
  gap: 12px;
}
.quiz-dialog .embed-dialog-header h2 { font-size: 20px; line-height: 1.2; }
.quiz-dialog .embed-container {
  height: 100%;
  min-height: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
.quiz-dialog .embed-fallback {
  margin: 0;
  padding: 7px 16px;
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 700px), (max-height: 500px) {
  .quiz-dialog {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .quiz-dialog .embed-dialog-header {
    padding: max(4px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 4px max(12px, env(safe-area-inset-left));
  }
  .quiz-dialog .embed-dialog-header h2 { font-size: 18px; }
  .quiz-dialog .embed-fallback {
    padding: 6px max(12px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    font-size: 11px;
  }
}

/* Keep the visible paint-party heading within the narrow mobile hero card. */
@media (max-width: 700px) {
  .hero-lettering.hero-text-heading { font-size: clamp(40px, 11vw, 67px); }
}
