/* Perf and navigation round 2 (2026-11-16, lane batchperf2r2). New dated file; no earlier sheet is touched. Loads after every plugin sheet on Home, Tickets, Holiday Market, About and FAQ.
   Printed only while OMHM26_PERF_R2 is on. */

/* T1: the phone wall is a 480 px copy (about 110 KB) instead of the 940 px file (561 KB). Each old rule is repeated at the same breakpoint with one more class of weight (html:root), so it wins without !important. */
@media(max-width:767px){
  html:root body.om-mvp .omhm26-root.omhm26-journey-home .home-hero-panel>.tb58-clip .tb58-tree{background-image:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp')}
  html:root body.om-mvp .omhm26-root.omhm26-journey .ticket-preview .ticket-intro.om42-hero .tb58-tree{background-image:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp')}
  html:root .ab23 .ab50-box .tb58-tree{background-image:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp')}
  html:root.omhm-holiday body.om-mvp section#faq .tb58-tree,html:root.omhm-holiday body.om-mvp section#hm12-final-cta .shell .tb58-tree{background-image:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp')}
  html:root.omhm-holiday .hm48-surface--origin{--hm48-tree-img-hi:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp')}
  /* the memory box shows the 800 px wall on phones (the 1600 px file is 556 KB) */
  html:root.omhm-holiday .hm48-surface--memory{--hm48-tree-img-hi:url('./art-20261003/ornament-wall-b-800.webp')}
}
@media(max-width:780px){
  html:root .ab23 .abe-box{--abe-w1:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp');--abe-w2:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp');--abe-w3:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp')}
}
@media(max-width:820px){
  html:root body.om-mvp .faq45-hero .tb58-tree{background-image:url('./art-20261116/ornament-wall-portrait-480q-20261116.webp')}
}

/* T2 and T5: boxes below the first screen paint their wall or frame picture once they are near (perf-r2-20261116.js sets data-r2-in). Two extra :not(#id) terms give the rule more weight than the id selectors
   of the ticket sheets. Without scripts, or after 9 seconds, the class omhm-r2-js is gone and the old rules show. */
html.omhm-r2-js body [data-r2-lazy]:not([data-r2-in]):not(#r2a):not(#r2b),
html.omhm-r2-js body [data-r2-lazy]:not([data-r2-in]):not(#r2a):not(#r2b)::before,
html.omhm-r2-js body [data-r2-lazy]:not([data-r2-in]):not(#r2a):not(#r2b)::after{background-image:none!important}

/* T4 and T10 (Home). The Shopping Guide button in the hero: phones see the copy under the first line, wider screens keep the one in the action row. */
.r2-guide-cta{display:none}
@media(max-width:767px){
  /* T10: on phones the hero keeps the lockup picture; the repeated title row (the "Ohio Made Holiday Market" title and the small badge) stays for screen readers and is not painted. */
  html:root body.om-mvp .omhm26-root.omhm26-journey-home .home-hero-panel .hm-e-titlerow{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
  html:root body.om-mvp .omhm26-root.omhm26-journey-home .home-hero-panel .r2-guide-cta{display:block;margin:0 0 14px}
  html:root body.om-mvp .omhm26-root.omhm26-journey-home .home-hero-panel .r2-guide-cta .om-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:10px 12px;box-sizing:border-box;min-width:0;max-width:100%;text-align:center;font-size:15px!important;letter-spacing:.01em!important}
  html:root body.om-mvp .omhm26-root.omhm26-journey-home .home-hero-panel .owner-draft-actions .r2-guide-desk{display:none}
}

/* T9 (Tickets): two secondary links under the intro. */
html:root body.om-mvp .omhm26-root .ticket-preview .ticket-r2-links{display:flex;flex-wrap:wrap;gap:10px 12px;margin:14px 0 6px}
html:root body.om-mvp .omhm26-root .ticket-preview .ticket-r2-links .om-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;box-sizing:border-box;min-width:0;max-width:100%;text-align:center;line-height:1.3!important;font-size:14px!important;letter-spacing:.01em!important}
@media(max-width:600px){html:root body.om-mvp .omhm26-root .ticket-preview .ticket-r2-links{display:grid;grid-template-columns:minmax(0,1fr)}}
