/* JH PlayLab — existing app layouts must be preserved. */
.jh-brand-home { position:absolute; bottom:10px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:8px; z-index:40; max-width:95%; }
.jh-brand-home img { display:block; width:clamp(125px,15vw,210px); max-width:65vw; height:auto; }
.jh-brand-home.large img { width:clamp(210px,26vw,360px); }
.jh-brand-home button { border:1px solid #c9baf2; border-radius:20px; background:#fff; color:#272365; padding:6px 10px; font:12px system-ui,sans-serif; cursor:pointer; white-space:nowrap; }
.jh-brand-game { position:fixed; right:8px; bottom:6px; color:rgba(40,40,70,.55); font:10px system-ui,sans-serif; z-index:40; pointer-events:none; }
.jh-brand-overlay { position:fixed; inset:0; background:rgba(16,12,40,.56); display:none; align-items:center; justify-content:center; padding:16px; z-index:9999; }
.jh-brand-overlay.open { display:flex; }
.jh-brand-dialog { position:relative; box-sizing:border-box; width:min(92vw,560px); max-height:85vh; overflow:auto; border:4px solid #d9cafa; border-radius:24px; background:white; padding:24px; box-shadow:0 12px 35px #15103a55; color:#222250; text-align:center; font:15px/1.6 system-ui,sans-serif; }
.jh-brand-dialog img { display:block; width:min(80%,310px); margin:0 auto; }
.jh-brand-dialog h2 { font-size:19px; }
.jh-brand-dialog .jh-warning { background:#fff0f4; padding:12px; border-radius:12px; font-weight:650; }
.jh-brand-dialog .jh-close { position:absolute; right:10px; top:6px; font-size:28px; border:0; background:transparent; cursor:pointer; color:#24245c; }
@media(max-width:600px){.jh-brand-home{gap:5px;bottom:6px}.jh-brand-home img{width:130px}.jh-brand-home button{font-size:11px;padding:5px 7px}.jh-brand-dialog{padding:20px 12px}}

.jh-brand-home{position:static;transform:none;justify-content:center;flex-wrap:wrap;max-width:100%;padding:12px 16px 24px;margin:auto}.jh-brand-home img{width:clamp(145px,19vw,210px);max-width:70vw}.jh-brand-home button{min-height:36px}.jh-brand-game{color:rgba(222,242,230,.65);right:max(8px,env(safe-area-inset-right));bottom:max(6px,env(safe-area-inset-bottom));z-index:9}.jh-brand-overlay{overflow:auto;overscroll-behavior:contain}.jh-brand-dialog{width:min(100%,640px);max-height:calc(100dvh - 32px);border:5px solid #cab0fb;box-shadow:inset 0 0 12px #d9cafa,0 12px 35px #15103a55;padding:24px;overflow-wrap:anywhere}.jh-brand-dialog img{width:min(82%,390px);margin:0 auto 18px}.jh-brand-dialog h2{background:#decaff;border-radius:999px;padding:8px 12px;font-weight:800;margin:12px 0}.jh-brand-dialog p{margin:12px 0}.jh-brand-dialog .jh-warning{background:#ffdce8}.jh-brand-dialog .jh-close{width:44px;height:44px;line-height:1}.jh-brand-dialog small{display:block;margin-top:14px}.jh-brand-dialog .jh-close:focus-visible,.jh-brand-home button:focus-visible{outline:3px solid #a080df;outline-offset:2px}
@media(max-width:480px){.jh-brand-dialog{padding:20px 12px;font-size:14px}.jh-brand-dialog h2{font-size:17px}.jh-brand-dialog img{max-width:75%}}