/* Haramain onboarding — photo scenes, emerald & gold */
#hob{position:fixed;inset:0;z-index:100000;background:#05291D;color:#fff;font-family:'DM Sans','Segoe UI',Arial,sans-serif;overflow:hidden;transition:opacity .35s ease;display:flex;flex-direction:column;align-items:center}
#hob.out{opacity:0}
html.hob-on,html.hob-on body{overflow:hidden}
.hob-media{position:absolute;inset:0;overflow:hidden;max-width:520px;margin:0 auto;background:#05291D}
.hob-img{position:absolute;inset:0;opacity:0;transition:opacity .9s ease}
.hob-img>i{position:absolute;inset:-6%;background-size:cover;background-position:50% 100%;filter:blur(14px) saturate(1.15) brightness(.85)}
.hob-img>img{position:absolute;left:0;top:0;width:100%;height:auto;min-height:62%;max-height:82%;object-fit:cover;-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 70%,transparent 100%);transform-origin:50% 45%}
.hob-img.on{opacity:1}
.hob-img.kb>img{animation:hobKb 9s ease-out forwards}
@keyframes hobKb{from{transform:scale(1.02) translate3d(0,0,0)}to{transform:scale(1.13) translate3d(-1.5%,-1.5%,0)}}
.hob-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,22,15,.55) 0%,rgba(3,22,15,0) 16%,rgba(3,22,15,0) 46%,rgba(5,41,29,.55) 62%,rgba(5,41,29,.9) 78%,#05291D 100%)}
.hob-top{position:relative;z-index:2;width:100%;max-width:520px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) 18px 0}
.hob-brand{display:flex;align-items:center;gap:10px}
.hob-brand img{width:42px;height:42px;border-radius:12px;box-shadow:0 6px 16px rgba(0,0,0,.35)}
.hob-brand b{display:block;font-size:23px;font-weight:800;letter-spacing:.01em;line-height:1.1;text-shadow:0 1px 6px rgba(0,0,0,.45)}
.hob-brand small{display:block;font-size:12.5px;opacity:.92;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.hob-right{display:flex;align-items:center;gap:10px}
.hob-count{font-size:13px;font-weight:700;opacity:.9;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.hob-skip{height:36px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.55);background:rgba(0,0,0,.28);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hob-panel{position:relative;z-index:2;margin-top:auto;width:100%;max-width:520px;box-sizing:border-box;padding:0 24px calc(18px + env(safe-area-inset-bottom))}
.hob-copy{display:grid}
.hob-txt{grid-area:1/1;opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease;visibility:hidden}
.hob-txt.on{opacity:1;transform:none;visibility:visible}
.hob-txt h2{margin:0;font-family:'Playfair Display',Georgia,'Times New Roman',serif;font-size:clamp(32px,9vw,40px);line-height:1.08;font-weight:700;letter-spacing:-.01em}
.hob-txt h2 span{display:block;color:#E6BD5C}
.hob-txt p{margin:12px 0 0;font-size:16.5px;line-height:1.5;color:rgba(255,255,255,.88);max-width:32ch}
.hob-bars{display:flex;gap:6px;margin:22px 0 16px}
.hob-bars i{flex:1;height:4px;border-radius:4px;background:rgba(255,255,255,.22);overflow:hidden}
.hob-bars b{display:block;height:100%;width:0;background:#E6BD5C;border-radius:4px}
.hob-actions{display:flex;justify-content:flex-end}
.hob-next{height:52px;padding:0 24px;border-radius:999px;border:2px solid #E6BD5C;background:#0B5C40;color:#fff;font:inherit;font-size:17px;font-weight:800;display:flex;align-items:center;gap:10px;cursor:pointer;box-shadow:0 10px 24px -12px rgba(0,0,0,.6)}
.hob-next span{font-size:20px;color:#E6BD5C}
.hob-final{display:none}
#hob.last .hob-actions{display:none}
#hob.last .hob-final{display:block}
.hob-pi{width:100%;height:56px;border:0;border-radius:16px;background:linear-gradient(135deg,#E6BD5C,#C2932F);color:#13261E;font:inherit;font-size:18px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:0 12px 26px -12px rgba(230,189,92,.7)}
.hob-pi span{font-size:21px}
.hob-guest{width:100%;height:52px;margin-top:10px;border:1.5px solid rgba(255,255,255,.5);border-radius:16px;background:transparent;color:#fff;font:inherit;font-size:16.5px;font-weight:700;cursor:pointer}
.hob-legal{margin:14px 0 0;font-size:11.5px;line-height:1.5;color:rgba(255,255,255,.6);text-align:center}
.hob-arc{position:absolute;left:0;bottom:0;width:62%;height:46px;opacity:.55;pointer-events:none}
.hob-skip:focus-visible,.hob-next:focus-visible,.hob-pi:focus-visible,.hob-guest:focus-visible{outline:2px solid #E6BD5C;outline-offset:3px}
@media (max-height:700px){.hob-img>img{min-height:56%;max-height:74%}.hob-txt h2{font-size:30px}.hob-txt p{font-size:15px;margin-top:8px}.hob-bars{margin:14px 0 12px}}
@media (min-width:521px){#hob{background:#05291D}}
.hob-full{display:none}#hob.last .hob-full{display:inline}
.hob-legal a{color:rgba(255,255,255,.85);text-decoration:underline}
[dir=rtl] .hob-next span{display:inline-block;transform:scaleX(-1)}

/* live Pi rate phone (last scene) */
.hob-phone{position:absolute;left:50%;top:calc(66px + env(safe-area-inset-top));height:min(43vh,400px);aspect-ratio:9/18.5;transform:translateX(-50%) rotate(-3deg);border-radius:34px;background:#0b0f0d;padding:7px;box-shadow:0 30px 60px rgba(0,0,0,.55),0 0 0 2px rgba(230,189,92,.65);z-index:1}
.hob-ph-scr{height:100%;border-radius:28px;overflow:hidden;background:#EEF9F4;color:#0B2A1C;display:flex;flex-direction:column;font-family:Poppins,'DM Sans',sans-serif}
.hob-ph-hd{background:linear-gradient(160deg,#0A6B45,#063F29);color:#fff;padding:26px 14px 14px;display:flex;align-items:center;gap:8px}
.hob-ph-hd img{width:22px;height:22px;border-radius:6px}.hob-ph-hd b{font-size:13px;font-weight:600}
.hob-ph-bd{flex:1;padding:12px 14px;display:flex;flex-direction:column}
.hob-ph-row{display:flex;justify-content:space-between;align-items:center}
.hob-ph-l{font-size:12px;font-weight:600;color:#2D483C}
.hob-ph-live{display:inline-flex;align-items:center;gap:5px;background:#E3F6EC;color:#0A6B45;border-radius:99px;padding:3px 9px;font-size:10.5px;font-weight:700}
.hob-ph-live i{width:7px;height:7px;border-radius:50%;background:#19BA71;animation:hobPulse 1.6s ease-in-out infinite}
@keyframes hobPulse{50%{opacity:.25}}
.hob-ph-one{margin-top:14px;font-size:13px;color:#5b7468;font-weight:600}
.hob-ph-big{font-size:clamp(24px,7.4vw,32px);font-weight:700;letter-spacing:-.5px;line-height:1.1}
.hob-ph-chg{font-size:11.5px;font-weight:700;margin-top:4px}.hob-ph-chg.hob-up{color:#0E9F5E}.hob-ph-chg.hob-dn{color:#C0262D}
.hob-ph-sp{width:100%;height:22%;margin-top:8px}
.hob-ph-alt{margin-top:auto;font-size:12px;font-weight:600;color:#2D483C;background:#fff;border-radius:12px;padding:9px 10px}
.hob-ph-up{margin-top:8px;font-size:10.5px;color:#5b7468}

/* clearer text over photos */
.hob-txt h2{text-shadow:0 2px 14px rgba(0,0,0,.55)}
.hob-txt p{color:#fff;opacity:.95;text-shadow:0 1px 10px rgba(0,0,0,.7)}
.hob-shade{background:linear-gradient(180deg,rgba(3,22,15,.5) 0%,rgba(3,22,15,0) 15%,rgba(3,22,15,0) 44%,rgba(5,41,29,.62) 60%,rgba(5,41,29,.94) 76%,#05291D 100%)}
.hob-img>img{image-rendering:auto;filter:saturate(1.05) contrast(1.03)}

/* wallet slide 7: receipt on the left, live rate phone on the right */
.hob-phone{left:71%;transform:translateX(-50%) rotate(4deg)}
