/* Jason's Place site-wide polish (2026-11-29): premium photo backdrop behind every page, no sideways
   scrolling on phones, and comfortable 44px tap targets for navigation. Loaded on every Jason's Place page
   by scripts/apply-owner-footer.mjs; driven by /jasons-place/shared/jp-site.js. */
html{-webkit-text-size-adjust:100%}
html{overflow-x:hidden}@supports (overflow-x:clip){html{overflow-x:clip}}body{overflow-x:clip}
/* Section photo bands: a soft photo wash behind plain sections that fades in and out of the page colour. */
.jp-band{position:relative;isolation:isolate}
.jp-band::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(180deg,var(--jp-bd-bg) 0%,var(--jp-band-tint) 22%,var(--jp-band-tint) 78%,var(--jp-bd-bg) 100%),var(--jp-band-img);background-size:cover;background-position:center;pointer-events:none}
/* Tap targets: applied by jp-site.js to navigation links and buttons that render under 44px on touch screens. */
.jp-tap44{min-height:44px!important;min-width:44px;box-sizing:border-box}
.jp-tap44.jp-tap-inline{display:inline-flex!important;align-items:center;justify-content:center}
/* The weekly specials strip must never push the page sideways on a phone. */
.arqs-tw{max-width:100%;box-sizing:border-box;overflow:hidden}
.arqs-tw img{max-width:100%;height:auto}
/* A way back to the game room on any game page that does not have one of its own. */
.jp-exit{position:fixed;left:max(10px,env(safe-area-inset-left,0px));top:max(10px,env(safe-area-inset-top,0px));z-index:9500;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:999px;background:rgba(28,17,12,.88);color:#ffdf98;border:1px solid rgba(255,223,152,.45);font:600 15px/1 Inter,system-ui,-apple-system,sans-serif;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.28);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.jp-exit:focus-visible{outline:3px solid #ffdf98;outline-offset:2px}
/* The door-transition veil must never widen the phone page. */
.jpw-veil{overflow:hidden}

/* JP 2026-12-05: one coherent mansion; source photographs only. */
body.jm{--jm-bg:#13263c!important;--jm-bg2:#193149!important;--jm-ink:#fff9ef!important;--jm-soft:#e8e1d5!important;--jm-gold:#eac576!important;--jm-gold2:#bb8b3e!important;--jm-card:#20374e!important;--jm-line:#ae91625c!important;background:#13263c!important;background-image:none!important;color:#fff9ef!important}
body.jm .jm-sec{background:#13263c!important;color:#fff9ef!important;background-image:none!important}
body.jm .jm-sec::before,body.jm .jm-bgl,body.jm .jm-fill,body.jm .jm-scene .jm-back{display:none!important}
body.jm .jm-h,body.jm .jm-kick,body.jm .jm-door b,body.jm .jm-plan h3,body.jm .jm-game h3,body.jm .jm-trust b,body.jm .jm-card h3{color:#fff9ef!important}
body.jm .jm-lead,body.jm .jm-plan p,body.jm .jm-game p,body.jm .jm-trust span{color:#e8e1d5!important}
body.jm .jm-card,body.jm .jm-plan,body.jm .jm-game,body.jm .jm-trust li{background:#20374e!important;border:1px solid #ae91625c!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#fff9ef!important}
body.jm .jm-card .pr,body.jm .jm-plan .amt{color:#f5d796!important}
body.jm .jm-btn-ghost,body.jm .jm-wings a,body.jm .jm-chips button,body.jm .jm-card .more{background:#20374e!important;border-color:#be9b64!important;color:#fff9ef!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.jm .jm-btn-gold,body.jm .jm-cart{background:#eac576!important;color:#13263c!important}
body.jm .jm-top,body.jm.jm-hero-nav .jm-top{position:sticky!important;top:0;background:#13263c!important;border-bottom:1px solid #be9b64!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.jm .jm-top .jm-nav,body.jm .jm-top.open .jm-nav{background:#13263c!important}
body.jm .jm-top .jm-nav a,body.jm .jm-menu{color:#fff9ef!important;text-shadow:none!important}
body.jm .jm-menu{background:#20374e!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.jm .jm-foot{background:#102238!important;color:#fff9ef!important}
body.jm .jm-foot a,body.jm .jm-foot h4{color:#fff9ef!important}
body.jm .jm-dlg{background:#20374e!important;color:#fff9ef!important}
body.jm .jm-dlg h2{color:#fff9ef!important}
body.jm .jm-scene{background:#13263c!important;min-height:0!important;height:auto!important;display:flex!important;flex-direction:column}
body.jm .jm-scene .jm-pan{position:relative!important;inset:auto!important;width:100%;overflow-x:auto!important}
body.jm .jm-scene .jm-stage{width:100%;min-width:100%;height:auto!important;aspect-ratio:16/9}
body.jm .jm-scene .jm-stage img.jm-room{transform:none!important;object-fit:cover!important}
body.jm .jm-scene .jm-cap{position:relative!important;inset:auto!important;padding:24px 0!important;background:#13263c!important;pointer-events:auto!important}
body.jm .jm-scene::after{display:none!important}
body.jm .jm-scene .jm-cap p,body.jm .jm-scene .jm-cap h1{text-shadow:none!important}
body.jm .jm-hot{background:#13263c!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.jm .jm-rv{opacity:1!important;transform:none!important}
body.jm .jm-door{border-radius:12px!important}
body.jm .jm-door::after{background:linear-gradient(0deg,#0b1b2eeb,transparent 80%)!important}
body.jm .jm-door span{color:#fff!important}
body.jm .jm-float{display:none!important}
body .jn-tabs{background:#13263c!important;border-top:1px solid #be9b64!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body .jn-tabs a,body .jn-tabs a span,body .jn-tabs a svg{color:#fff9ef!important;opacity:1!important}
body .jn-tabs a[aria-current=page],body .jn-tabs a[aria-current=page] span,body .jn-tabs a[aria-current=page] svg{color:#13263c!important;background:#eac576!important}
body.jp-cinematic-home .jm-arrive{display:flex!important;flex-direction:column;min-height:0!important;padding:0!important;background:#13263c!important}
body.jp-cinematic-home .jm-arrive .jm-art{position:relative!important;inset:auto!important;aspect-ratio:16/9;width:100%;height:auto!important;min-height:0!important;z-index:0}
body.jp-cinematic-home .jm-arrive .jm-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover!important;object-position:center!important}
body.jp-cinematic-home .jm-arrive::after{display:none!important}
body.jp-cinematic-home .jm-arrive .jm-copy{position:relative!important;padding:28px 0!important;text-align:center}
body.jp-cinematic-home .jm-arrive h1{color:#fff9ef!important;font-size:clamp(24px,4vw,54px);line-height:1.15;text-shadow:none!important}
body.jp-cinematic-home .jm-arrive p{color:#fff9ef!important;text-shadow:none!important}
body.jp-cinematic-home .jp-quick{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:20px}
body.jp-cinematic-home .jp-quick a{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #be9b64;border-radius:8px;background:#20374e;color:#fff9ef!important;font-weight:700;font-size:14px;text-decoration:none}
body.jp-cinematic-home .jm-sec{padding:0 0 40px!important}
body.jp-cinematic-home .jm-sec>.jm-wrap{padding-top:28px}
body.jp-cinematic-home .jp-chapter-art{display:block;margin:0;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden;background:#13263c}
body.jp-cinematic-home .jp-chapter-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body.jp-cinematic-home #friends .jm-split{display:flex;flex-direction:column;gap:0;width:100%;padding:0!important;align-items:stretch}
body.jp-cinematic-home #friends .jm-cast{border:0;border-radius:0;width:100%}
body.jp-cinematic-home #friends .jm-cast img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
body.jp-cinematic-home #friends .jm-split>div:last-child{width:min(1240px,100% - 32px);margin:auto;padding:24px 0 0;text-align:center}
body.jp-cinematic-home #friends .jm-lead{margin-inline:auto}
body.jp-cinematic-home .jp-stairway{padding:30px 16px!important;background:#13263c!important;border:0!important;color:#fff9ef!important}
body.jp-cinematic-home .jp-stairway .jm-kick,body.jp-cinematic-home .jp-stairway h2{color:#fff9ef!important}
body.jp-cinematic-home .jp-stairway .jm-btn{margin:4px}
body.jp-cinematic-home .jp-tour-art{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
@media(max-width:899px){body.jm .jm-wrap{width:calc(100% - 28px)!important}body.jm .jm-scene .jm-stage{width:100%;min-width:100%;height:auto!important}body.jm .jm-scene .jm-cap{padding:20px 0!important}body.jm .jm-hot{min-width:44px!important;min-height:44px!important}body.jp-cinematic-home .jm-rooms{grid-template-columns:1fr!important}body.jp-cinematic-home .jm-arrive .jm-btn{min-height:48px!important;padding:10px 16px!important;font-size:15px!important}body.jp-cinematic-home .jm-hero-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}body.jp-cinematic-home .jp-quick a{font-size:12px}body.jp-cinematic-home .jm-arrive h1{font-size:clamp(24px,6vw,35px)}body.jp-cinematic-home .jm-row>*{flex-basis:min(75%,250px)}body.jm .jm-top .jm-wrap{gap:10px}body.jm .jm-top .jm-logo img{max-width:160px}}

body.jm .jp-tour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}body.jm .jp-tour-grid article{background:#20374e;border-radius:12px;overflow:hidden;padding:0 0 18px;text-align:center;border:1px solid #ae91625c}body.jm .jp-tour-grid video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#13263c}body.jm .jp-tour-grid h3{font:700 22px Georgia,serif;margin:16px 0;color:#fff9ef}body.jm .jp-tour-grid a{margin:0 12px}body.jm [id]{scroll-margin-top:78px}@media(max-width:700px){body.jm .jp-tour-grid{grid-template-columns:1fr}}
