/* X9 Launch Portal (owner design 2026-10-10): the whole screen turns into matte glass; one glass card at a time,
   each screen leaves cinematically before the next arrives. Central component: X9.ui.portal (ui/portal.js). */
.x9-portal { --ink: #f4f8f5; --soft: #c9d8d2; --mute: #93aaa2; --mint: #8ef0dc; --cyan: #60f5f6; --green: #71ff69; --lime: #c4ff3a; --lime-2: #b6f032; --lime-ink: #0e2209;
  --glass-card: rgba(20, 38, 34, .46); --edge: rgba(190, 240, 222, .22); --edge-hi: rgba(200, 255, 120, .5); --ease: cubic-bezier(.2, .9, .2, 1); }
.x9-portal *, .x9-portal *::before, .x9-portal *::after { box-sizing: border-box; }
.x9-portal button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.x9-portal button:focus-visible, .x9-portal input:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.x9-portal svg.i, .flyer svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.x9-portal .x9p-frame { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: 0 auto; max-width: 440px; }
.x9-portal img { max-width: none; display: inline; }
.x9-portal .slide img, .x9-portal .photo img, .x9-portal .cph img, .x9-portal .gph img, .x9-portal .thumbs img, .x9-portal .picked img, .x9-portal .finder img, .x9-portal .shot img, .x9-portal .card img, .x9-portal .fan img, .x9-portal .stack3 img { display: block; }
/* ---------------- the glass screen (the show) ---------------- */
.x9-portal { position: fixed; inset: 0; z-index: 9000; overflow: hidden; direction: rtl; font-family: inherit; color: var(--ink); }
.x9-portal[hidden] { display: none !important; }
.x9-portal .pglass { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 38, 32, .66), rgba(8, 24, 19, .72)); backdrop-filter: blur(24px) saturate(1.25); -webkit-backdrop-filter: blur(24px) saturate(1.25); }
.x9-portal .pglass::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 40% at 50% 30%, rgba(113, 255, 105, .10), transparent 70%), radial-gradient(60% 30% at 0% 100%, rgba(96, 245, 246, .10), transparent 70%), radial-gradient(60% 30% at 100% 90%, rgba(196, 255, 58, .08), transparent 70%); }
.x9-portal .pglass::after { content: ''; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(160, 255, 220, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(160, 255, 220, .05) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask: radial-gradient(80% 60% at 50% 40%, #000, transparent); mask: radial-gradient(80% 60% at 50% 40%, #000, transparent); }
.x9-portal .pfx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.x9-portal .corner { position: absolute; width: 26px; height: 26px; border: 1.5px solid rgba(196, 255, 58, .55); pointer-events: none; filter: drop-shadow(0 0 4px rgba(196, 255, 58, .6)); }
.x9-portal .corner.c1 { top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.x9-portal .corner.c2 { top: calc(env(safe-area-inset-top, 0px) + 14px); left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.x9-portal .corner.c3 { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.x9-portal .corner.c4 { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.x9-portal.s1 .corner.c3, .x9-portal.s1 .corner.c4 { opacity: 0; }
.x9-portal .phead { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); left: 0; right: 0; height: 52px; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.x9-portal .phead img { height: 28px; filter: drop-shadow(0 0 10px rgba(196, 255, 58, .35)); }
.x9-portal .circ { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid var(--edge); backdrop-filter: blur(10px); color: #e8f2ee; transition: opacity .3s, transform .3s; }
.x9-portal .circ svg.i { width: 18px; height: 18px; stroke-width: 2.2; }
.x9-portal .circ.off { opacity: 0; pointer-events: none; transform: scale(.6); }
.x9-portal .pstage { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 62px); left: 0; right: 0; bottom: 0; z-index: 10; }
.x9-portal .scr { position: absolute; inset: 0; padding: 0 18px 22px; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.x9-portal .scr::-webkit-scrollbar { display: none; }
.x9-portal .pover { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
.x9-portal .sweep { position: absolute; top: 0; bottom: 0; width: 46%; z-index: 45; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(196, 255, 58, .10) 40%, rgba(230, 255, 180, .35) 50%, rgba(196, 255, 58, .10) 60%, transparent); filter: blur(2px); mix-blend-mode: screen; }
/* holographic globe (persistent between screen 1 and 2) */
.x9-portal .globe { position: absolute; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 62px); width: 330px; height: 330px; margin-left: -165px; z-index: 5; pointer-events: none; transition: transform 1.3s var(--ease), opacity 1.1s var(--ease); }
.x9-portal .globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.x9-portal .globe.faint { transform: translateY(96px) scale(1.08); opacity: .28; }
.x9-portal .globe.live { transform: translateY(0) scale(1); opacity: 1; filter: none; }
.x9-portal .globe.dive { transform: translateY(10px) scale(2.6); opacity: 0; }
.x9-portal .globe.away { opacity: 0; transform: scale(.4); }
.x9-portal .logo-card { position: absolute; left: 0; top: 0; width: 86px; height: 56px; margin: -28px 0 0 -43px; border-radius: 12px; display: grid; place-items: center; direction: ltr; background: linear-gradient(160deg, #ffffff, #e3ebe7); color: #111; box-shadow: 0 8px 18px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255,255,255,.6) inset; will-change: transform; opacity: 0; transition: opacity .8s; }
.x9-portal .globe.live .logo-card { opacity: 1; }
.x9-portal .logo-card svg { width: 72px; height: 34px; display: block; }
.x9-portal .target { position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%) scale(.2); opacity: 0; transition: all .9s var(--ease); }
.x9-portal .target.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.x9-portal .target .host { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(160deg, #fff, #e6eeea); color: #10221b; font-weight: 700; font-size: 18px; direction: ltr; box-shadow: 0 0 0 4px rgba(196, 255, 58, .35), 0 0 44px rgba(196, 255, 58, .55), 0 14px 26px rgba(0, 0, 0, .5); }
.x9-portal .target .host svg.i { color: #1f8a55; width: 26px; height: 26px; }
.x9-portal .target .shot { width: 132px; height: 168px; border-radius: 16px; overflow: hidden; background: #f3f3f1; box-shadow: 0 0 0 2px rgba(220, 255, 170, .8), 0 0 40px rgba(196, 255, 58, .6); position: relative; }
.x9-portal .target .shot img { width: 100%; height: 100%; object-fit: cover; }
.x9-portal .target .shot i { position: absolute; left: 0; right: 0; height: 36px; background: linear-gradient(180deg, transparent, rgba(196, 255, 58, .55) 70%, #f0ffc0); mix-blend-mode: screen; animation: scanv 1.6s ease-in-out infinite; }
@keyframes scanv { from { top: -36px; } to { top: 100%; } }
.x9-portal .word-chip { position: absolute; left: 0; top: 0; padding: 6px 11px; border-radius: 11px; background: rgba(20, 40, 34, .7); border: 1px solid rgba(196, 255, 58, .45); color: #eaffc4; font-weight: 700; font-size: 13px; white-space: nowrap; box-shadow: 0 0 14px rgba(196, 255, 58, .3); will-change: transform; }
/* screen 1 */
.x9-portal .s1-slot { position: relative; margin-top: 150px; min-height: 172px; }
.x9-portal .s1-hello { text-align: center; padding-top: 36px; }
.x9-portal .s1-hello h2 { margin: 0; font-size: 25px; font-weight: 700; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.x9-portal .s1-hello p { margin: 6px 0 0; color: var(--mint); font-size: 15px; }
.x9-portal .field { display: flex; align-items: center; gap: 10px; height: 58px; border-radius: 18px; padding: 0 14px; background: var(--glass-card); border: 1.5px solid rgba(200, 255, 120, .55); box-shadow: 0 0 18px rgba(196, 255, 58, .22), inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.x9-portal .field svg.i { color: var(--lime); }
.x9-portal .field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; direction: ltr; text-align: left; outline: none; }
.x9-portal .field input::placeholder { color: #b9cdc5; direction: rtl; text-align: right; font-weight: 500; }
.x9-portal .field .fx { border: 0; background: none; color: #fff; padding: 6px; display: grid; place-items: center; }
.x9-portal .field .fx.txt { font-size: 13.5px; font-weight: 700; color: #e8ffc0; border: 1px solid rgba(200,255,120,.4); border-radius: 10px; padding: 5px 10px; }
.x9-portal .go { margin-top: 14px; width: 100%; height: 66px; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 20px; font-weight: 700; color: #fff; position: relative; overflow: hidden;
  border: 1.5px solid #d4ff5c; background: linear-gradient(180deg, rgba(150, 210, 50, .45), rgba(46, 84, 20, .66)); box-shadow: 0 0 30px rgba(182, 251, 50, .55), inset 0 0 22px rgba(182, 251, 50, .45), inset 0 1px 0 #f4ffd080; }
.x9-portal .go svg.i { color: var(--lime); width: 28px; height: 28px; filter: drop-shadow(0 0 6px var(--lime)); }
.x9-portal .go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, #ffffff40 50%, transparent 70%); transform: translateX(-110%); animation: sheen 3.2s ease-in-out infinite; }
.x9-portal .go[disabled] { filter: saturate(.3) brightness(.7); box-shadow: none; }
.x9-portal .go[disabled]::after { display: none; }
.x9-portal .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.x9-portal .opt { min-height: 150px; border-radius: 22px; padding: 16px 12px; display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; background: var(--glass-card); border: 1px solid var(--edge); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 24px rgba(0,0,0,.25); transition: transform .2s, border-color .3s, box-shadow .3s; }
.x9-portal .opt:hover, .x9-portal .opt:focus-visible { border-color: var(--edge-hi); box-shadow: 0 0 22px rgba(196, 255, 58, .3); }
.x9-portal .opt:active { transform: scale(.97); }
.x9-portal .opt .oi { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(196, 255, 58, .1); border: 1px solid rgba(196, 255, 58, .35); color: var(--lime); }
.x9-portal .opt .oi svg.i { width: 28px; height: 28px; }
.x9-portal .opt b { font-size: 16px; }
.x9-portal .opt small { color: var(--soft); font-size: 12.5px; line-height: 1.5; }
.x9-portal .drop { min-height: 150px; padding: 12px 0; border-radius: 22px; border: 1.5px dashed rgba(200, 255, 120, .5); background: var(--glass-card); backdrop-filter: blur(14px); display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; position: relative; overflow: hidden; }
.x9-portal .drop svg.i { width: 34px; height: 34px; color: var(--lime); }
.x9-portal .drop b { font-size: 15px; }
.x9-portal .drop small { color: var(--soft); font-size: 12.5px; }
.x9-portal .drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.x9-portal .picked { display: flex; align-items: center; gap: 12px; height: 92px; padding: 10px; border-radius: 20px; background: var(--glass-card); border: 1.5px solid rgba(200, 255, 120, .55); box-shadow: 0 0 18px rgba(196, 255, 58, .2); }
.x9-portal .picked img { width: 70px; height: 70px; border-radius: 13px; object-fit: cover; background: #f2f2f0; }
.x9-portal .picked div { flex: 1; min-width: 0; }
.x9-portal .picked b { display: block; font-size: 15px; }
.x9-portal .picked small { color: var(--soft); font-size: 12.5px; }
.x9-portal .picked button { border: 0; background: none; color: #fff; }
.x9-portal .finder { position: relative; height: 196px; border-radius: 24px; overflow: hidden; background: #0c1512; border: 1px solid var(--edge); }
.x9-portal .finder img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9) contrast(1.05); animation: handheld 5s ease-in-out infinite; }
@keyframes handheld { 0%, 100% { transform: scale(1.12) translate(0, 0); } 33% { transform: scale(1.14) translate(4px, -3px); } 66% { transform: scale(1.12) translate(-3px, 2px); } }
.x9-portal .finder .br { position: absolute; width: 34px; height: 34px; border: 3px solid var(--lime); filter: drop-shadow(0 0 6px var(--lime)); }
.x9-portal .finder .b1 { top: 22px; right: 70px; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.x9-portal .finder .b2 { top: 22px; left: 70px; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.x9-portal .finder .b3 { bottom: 22px; right: 70px; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.x9-portal .finder .b4 { bottom: 22px; left: 70px; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.x9-portal .finder .shutter { position: absolute; left: 50%; bottom: 14px; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; border: 4px solid #fff; background: rgba(255,255,255,.25); box-shadow: 0 0 0 4px rgba(0,0,0,.25); }
.x9-portal .finder .tag { position: absolute; top: 12px; right: 12px; font-size: 11.5px; padding: 3px 8px; border-radius: 8px; background: rgba(0,0,0,.45); color: #fff; }
.x9-portal .finder .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.x9-portal .voice { height: 196px; border-radius: 24px; background: var(--glass-card); border: 1px solid var(--edge); backdrop-filter: blur(14px); display: grid; justify-items: center; align-content: center; gap: 10px; padding: 12px; position: relative; overflow: hidden; }
.x9-portal .mic { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: var(--lime-ink); background: radial-gradient(circle at 35% 30%, #e6ff9a, #b6f032); box-shadow: 0 0 0 0 rgba(196, 255, 58, .5); animation: micpulse 1.4s ease-out infinite; border: 0; }
.x9-portal .mic svg.i { width: 32px; height: 32px; stroke-width: 2.2; }
@keyframes micpulse { 0% { box-shadow: 0 0 0 0 rgba(196, 255, 58, .55); } 100% { box-shadow: 0 0 0 26px rgba(196, 255, 58, 0); } }
.x9-portal .wave { display: flex; gap: 4px; align-items: center; height: 30px; }
.x9-portal .wave i { width: 4px; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--lime)); height: 30%; animation: wv 1s ease-in-out infinite; }
@keyframes wv { 50% { height: 100%; } }
.x9-portal .transcript { min-height: 40px; max-width: 100%; text-align: center; font-size: 14px; font-weight: 600; color: #f0fff0; line-height: 1.6; }
.x9-portal .transcript span { opacity: 0; animation: wordin .4s forwards; }
@keyframes wordin { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.x9-portal .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.x9-portal .tile1 { height: 92px; border-radius: 20px; display: grid; place-items: center; align-content: center; gap: 6px; font-size: 14px; color: #e3eeea; background: var(--glass-card); border: 1px solid var(--edge); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); transition: all .3s; }
.x9-portal .tile1 svg.i { width: 32px; height: 32px; color: var(--mint); stroke-width: 1.6; }
.x9-portal .tile1.on { border: 1.5px solid #d4ff5c; background: linear-gradient(180deg, rgba(150, 210, 50, .3), rgba(46, 84, 20, .5)); box-shadow: 0 0 22px rgba(182, 251, 50, .45); color: #f0ffd0; }
.x9-portal .tile1.on svg.i { color: var(--lime); filter: drop-shadow(0 0 5px var(--lime)); }
.x9-portal .tile1:active { transform: scale(.95); }
.x9-portal .stores { margin-top: 26px; text-align: center; }
.x9-portal .stores small { color: var(--mint); font-size: 13px; }
.x9-portal .stores .row { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 10px; direction: ltr; color: #c9d6d1; }
.x9-portal .stores .row svg { height: 22px; width: auto; }
.x9-portal .stores .row b { font-size: 18px; letter-spacing: .1em; }
/* shared pieces of screens 2–8 */
.x9-portal .hd { text-align: center; }
.x9-portal .hd h2 { margin: 0; font-size: 24px; font-weight: 700; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.x9-portal .hd p { margin: 4px 0 0; color: var(--mint); font-size: 14.5px; }
.x9-portal .say { text-align: center; font-size: 17px; font-weight: 700; min-height: 26px; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.x9-portal .counter { position: relative; width: 112px; height: 112px; margin: 6px auto 0; flex: none; }
.x9-portal .counter .disc { position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.16), rgba(20, 40, 34, .5) 60%); border: 1px solid rgba(200, 255, 200, .28); backdrop-filter: blur(10px); box-shadow: inset 0 0 18px rgba(196, 255, 58, .18), 0 10px 26px rgba(0,0,0,.35); display: grid; place-items: center; align-content: center; }
.x9-portal .counter .num { font-size: 30px; font-weight: 700; line-height: 1; direction: ltr; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(196, 255, 58, .6); }
.x9-portal .counter .num small { font-size: 14px; color: var(--lime); margin-left: 1px; }
.x9-portal .counter .lbl { font-size: 10.5px; color: var(--mint); margin-top: 3px; letter-spacing: .04em; }
.x9-portal .counter svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.x9-portal .counter .r-track { fill: none; stroke: rgba(200, 255, 220, .14); stroke-width: 3; }
.x9-portal .counter .r-ticks { fill: none; stroke: rgba(200, 255, 220, .35); stroke-width: 4; stroke-dasharray: 1 6.33; }
.x9-portal .counter .r-arc { fill: none; stroke: url(#cgrad); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px #c4ff3a); transition: stroke-dashoffset .2s linear; }
.x9-portal .counter .r-spin { fill: none; stroke: rgba(96, 245, 246, .6); stroke-width: 1.2; stroke-dasharray: 18 10 4 10; transform-origin: 50% 50%; animation: rspin 9s linear infinite; }
.x9-portal .counter .r-spin2 { fill: none; stroke: rgba(196, 255, 58, .5); stroke-width: 1; stroke-dasharray: 40 160; transform-origin: 50% 50%; animation: rspin 3s linear infinite reverse; }
@keyframes rspin { to { transform: rotate(360deg); } }
.x9-portal .counter .shock { position: absolute; inset: 14px; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; pointer-events: none; }
.x9-portal .phrase { min-height: 30px; margin: 8px 0 0; text-align: center; font-size: 15px; font-weight: 600; color: #eaffc8; text-shadow: 0 0 16px rgba(196, 255, 58, .45); position: relative; }
.x9-portal .phrase span { display: inline-block; }
.x9-portal .landed { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.x9-portal .landed li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; visibility: hidden; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.x9-portal .landed li.in { visibility: visible; }
.x9-portal .landed li .ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 12px rgba(196, 255, 58, .7); flex: none; transform: scale(0); transition: transform .45s var(--ease); }
.x9-portal .landed li.in .ck { transform: scale(1); }
.x9-portal .landed li .ck svg.i { width: 14px; height: 14px; stroke-width: 3.2; }
.x9-portal .landed li em { font-style: normal; color: var(--mint); font-size: 13px; margin-inline-start: 4px; direction: ltr; }
.x9-portal .foot { text-align: center; color: var(--mint); font-size: 13px; margin: 12px 0 0; }
.x9-portal .fly-word { position: absolute; left: 0; top: 0; font-weight: 700; font-size: 16px; white-space: nowrap; color: #fff; text-shadow: 0 0 18px rgba(196, 255, 58, .9), 0 0 4px #fff; will-change: transform, opacity; }
.x9-portal .spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #f0ffc0; box-shadow: 0 0 8px var(--lime), 0 0 2px #fff; }
/* showcase (screens 3 and 8) */
.x9-portal .show { position: relative; height: 330px; flex: none; margin: 0 -18px; perspective: 900px; }
.x9-portal .slide { position: absolute; left: 50%; top: 16px; width: 206px; height: 276px; margin-left: -103px; border-radius: 20px; overflow: hidden; background: #f3f3f1; transition: transform .95s var(--ease), opacity .95s var(--ease); transform-origin: 50% 60%; }
.x9-portal .slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.x9-portal .slide::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(30, 70, 58, .62), rgba(10, 30, 24, .76)); opacity: 0; transition: opacity .95s var(--ease); }
.x9-portal .slide.front { z-index: 6; box-shadow: 0 0 0 2px rgba(230, 255, 200, .85), 0 0 34px rgba(196, 255, 58, .45), 0 24px 40px rgba(0,0,0,.5); }
.x9-portal .slide.back::after { opacity: 1; }
.x9-portal .slide.back { box-shadow: 0 0 0 1px rgba(170, 255, 220, .45), 0 0 26px rgba(96, 245, 246, .25); }
.x9-portal .slide.hidden { opacity: 0 !important; }
.x9-portal .slide.arrive { animation: arrive .9s var(--ease); }
@keyframes arrive { from { opacity: 0; transform: translate(0, 30px) scale(.82); } }
.x9-portal .halo { position: absolute; left: 50%; top: 0; width: 260px; height: 320px; margin-left: -130px; border-radius: 28px; background: radial-gradient(60% 50% at 50% 50%, rgba(196, 255, 58, .16), transparent 70%); pointer-events: none; }
.x9-portal .pinfo { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 20px; background: var(--glass-card); border: 1px solid var(--edge); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); margin-top: -12px; position: relative; z-index: 8; }
.x9-portal .pinfo > div { flex: 1; min-width: 0; direction: ltr; text-align: left; }
.x9-portal .pinfo small { color: var(--mute); font-size: 13px; display: block; }
.x9-portal .pinfo h3 { margin: 4px 0; font-size: 15.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.45; }
.x9-portal .pinfo .ext { width: 34px; height: 34px; border: 0; background: none; color: var(--cyan); display: grid; place-items: center; }
.x9-portal .pinfo .ok-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 3px 10px; border-radius: 10px; background: rgba(110, 220, 60, .2); border: 1px solid rgba(196, 255, 58, .55); color: #d8ff8a; font-size: 12.5px; font-weight: 700; }
.x9-portal .thumbs { display: flex; gap: 8px; margin: 12px -18px 0; padding: 2px 18px 4px; direction: ltr; overflow-x: auto; overscroll-behavior-x: contain; touch-action: pan-x; scrollbar-width: none; }
.x9-portal .thumbs::-webkit-scrollbar { display: none; }
.x9-portal .thumbs button { flex: 0 0 calc((100% - 32px) / 5); }
.x9-portal .thumbs button { aspect-ratio: 1 / 1.08; max-width: 100%; border-radius: 13px; overflow: hidden; padding: 0; background: rgba(255,255,255,.05); border: 1.5px solid var(--edge); transition: border-color .3s, box-shadow .3s, opacity .4s, transform .4s; }
.x9-portal .thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; background: #f2f2f0; }
.x9-portal .thumbs button.on { border-color: #d4ff5c; box-shadow: 0 0 12px rgba(196, 255, 58, .5); }
.x9-portal .thumbs button.wait { opacity: .25; }
.x9-portal .thumbs .more { display: grid; place-items: center; font-weight: 700; font-size: 17px; background: var(--glass-card); }
.x9-portal .btns { display: grid; grid-template-columns: 1fr 2.2fr; gap: 12px; margin-top: auto; padding-top: 14px; }
.x9-portal .b-glass { height: 58px; border-radius: 19px; border: 1px solid var(--edge); background: var(--glass-card); backdrop-filter: blur(12px); font-weight: 700; font-size: 16px; color: #eef6f2; }
.x9-portal .b-lime { height: 58px; border-radius: 19px; border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--lime-ink); background: linear-gradient(180deg, #d6ff5e, #b6f032); box-shadow: 0 0 26px rgba(182, 240, 50, .5), inset 0 1px 0 #f4ffd0; position: relative; overflow: hidden; }
.x9-portal .b-lime svg.i { stroke-width: 2.4; }
.x9-portal .b-lime::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, #ffffff66 50%, transparent 70%); transform: translateX(-110%); animation: sheen 3s ease-in-out infinite; }
.x9-portal .b-glow { width: 100%; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 19px; font-weight: 700; color: #fff; position: relative; overflow: hidden;
  border: 1.5px solid #d4ff5c; background: linear-gradient(180deg, rgba(150, 210, 50, .45), rgba(46, 84, 20, .66)); box-shadow: 0 0 30px rgba(182, 251, 50, .55), inset 0 0 22px rgba(182, 251, 50, .45), inset 0 1px 0 #f4ffd080; }
.x9-portal .b-glow svg.i { color: var(--lime); width: 28px; height: 28px; filter: drop-shadow(0 0 6px var(--lime)); }
.x9-portal .b-glow .chev { width: 18px; height: 18px; stroke-width: 3; }
.x9-portal .b-glow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, #ffffff3a 50%, transparent 70%); transform: translateX(-110%); animation: sheen 3s ease-in-out infinite; }
.x9-portal .note { text-align: center; color: var(--mute); font-size: 12.5px; margin: 8px 0 0; }
/* screen 4: interactive preview */
.x9-portal .stage4 { position: relative; height: 420px; flex: none; margin: -4px -18px 0; }
.x9-portal .stage4 .frame { position: absolute; left: 50%; top: 4px; width: 236px; height: 330px; margin-left: -118px; border-radius: 26px; border: 1.5px solid rgba(200, 255, 120, .6); box-shadow: 0 0 34px rgba(196, 255, 58, .45), inset 0 0 30px rgba(196, 255, 58, .2); background: linear-gradient(180deg, rgba(196,255,58,.06), transparent); }
.x9-portal .stage4 .photo { position: absolute; left: 50%; top: 18px; width: 208px; height: 302px; margin-left: -104px; border-radius: 18px; overflow: hidden; background: #f3f3f1; z-index: 3; }
.x9-portal .stage4 .photo img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.x9-portal .pedestal { position: absolute; left: 50%; width: 300px; height: 92px; margin-left: -150px; pointer-events: none; }
.x9-portal .pedestal i { position: absolute; left: 50%; border-radius: 50%; transform: translateX(-50%); }
.x9-portal .pedestal .p0 { width: 300px; height: 80px; bottom: 0; background: radial-gradient(ellipse at center, rgba(196, 255, 58, .32), transparent 70%); }
.x9-portal .pedestal .p1 { width: 270px; height: 64px; bottom: 8px; background: linear-gradient(180deg, rgba(30, 60, 40, .9), rgba(8, 20, 14, .95)); border: 1px solid rgba(200,255,150,.35); }
.x9-portal .pedestal .p2 { width: 236px; height: 50px; bottom: 22px; border: 3px solid #c4ff3a; box-shadow: 0 0 22px #c4ff3a, inset 0 0 16px rgba(196, 255, 58, .7); }
.x9-portal .pedestal .p3 { width: 176px; height: 34px; bottom: 30px; border: 1.5px solid rgba(96, 245, 246, .8); box-shadow: 0 0 12px rgba(96, 245, 246, .6); animation: pr 2.4s ease-in-out infinite; }
.x9-portal .pedestal .p4 { width: 110px; height: 20px; bottom: 37px; background: radial-gradient(ellipse, rgba(230, 255, 180, .9), transparent 70%); }
@keyframes pr { 50% { transform: translateX(-50%) scale(1.1); opacity: .5; } }
.x9-portal .stage4 .pedestal { top: 286px; }
.x9-portal .fact { position: absolute; z-index: 5; width: 104px; padding: 9px 8px; border-radius: 16px; text-align: center; background: rgba(18, 40, 32, .55); border: 1px solid rgba(200, 255, 120, .5); box-shadow: 0 0 16px rgba(196, 255, 58, .25), inset 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.x9-portal .fact b { display: block; font-size: 14.5px; font-weight: 700; direction: ltr; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x9-portal .fact small { display: block; font-size: 12px; color: var(--soft); margin-top: 1px; }
.x9-portal .fact.l1 { left: 12px; top: 48px; }
.x9-portal .fact.l2 { left: 8px; top: 140px; }
.x9-portal .fact.l3 { left: 12px; top: 232px; }
.x9-portal .fact.r1 { right: 12px; top: 44px; }
.x9-portal .fact.r2 { right: 8px; top: 136px; }
.x9-portal .fact.r3 { right: 12px; top: 228px; }
.x9-portal .dots { position: absolute; left: 0; right: 0; top: 392px; display: flex; justify-content: center; gap: 7px; direction: ltr; }
.x9-portal .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); transition: all .35s; }
.x9-portal .dots i.on { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
/* screen 5: confirm (the child card) */
.x9-portal .ccard { position: relative; margin-top: 18px; padding: 18px 16px; border-radius: 26px; background: var(--glass-card); border: 1px solid var(--edge); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 50px rgba(0,0,0,.35); }
.x9-portal .ccard .x5 { position: absolute; top: 12px; right: 12px; border: 0; background: none; color: var(--mint); padding: 6px; }
.x9-portal .ccard .x5 svg.i { width: 22px; height: 22px; stroke-width: 2.4; }
.x9-portal .crow { display: flex; gap: 14px; align-items: center; direction: ltr; }
.x9-portal .crow .cph { width: 104px; height: 124px; border-radius: 14px; background: #f3f3f1; overflow: hidden; flex: none; display: grid; place-items: center; position: relative; }
.x9-portal .crow .cph img { width: 100%; height: 100%; object-fit: contain; }
.x9-portal .crow > div { min-width: 0; direction: ltr; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.x9-portal .crow b { font-size: 14.5px; }
.x9-portal .crow span { font-size: 14px; color: var(--soft); text-transform: uppercase; line-height: 1.45; }
.x9-portal .crow strong { font-size: 19px; }
.x9-portal .crow small { color: var(--mute); font-size: 13px; direction: rtl; text-align: left; }
.x9-portal .cq { text-align: center; font-size: 17px; font-weight: 700; margin: 18px 0 12px; }
.x9-portal .clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.x9-portal .clist li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.x9-portal .clist li .ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #a8f05a; color: var(--lime-ink); flex: none; box-shadow: 0 0 10px rgba(168, 240, 90, .5); }
.x9-portal .clist li .ck svg.i { width: 14px; height: 14px; stroke-width: 3.2; }
.x9-portal .stack3 { position: relative; width: 104px; height: 124px; flex: none; }
.x9-portal .stack3 div { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: #f3f3f1; box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.x9-portal .stack3 div img { width: 100%; height: 100%; object-fit: contain; }
.x9-portal .stack3 div:nth-child(1) { transform: rotate(-9deg) translateX(-10px); }
.x9-portal .stack3 div:nth-child(2) { transform: rotate(6deg) translateX(8px); }
/* screen 6: the fetch chamber */
.x9-portal .chamber { position: relative; height: 318px; flex: none; margin: 4px -18px 0; }
.x9-portal .chamber .cyl { position: absolute; left: 50%; top: 10px; width: 210px; height: 290px; margin-left: -105px; border-radius: 50% / 22px; background: linear-gradient(90deg, rgba(96, 245, 246, .05), rgba(196, 255, 58, .14) 30%, rgba(196, 255, 58, .04) 50%, rgba(196, 255, 58, .14) 70%, rgba(96, 245, 246, .05)); border-left: 1px solid rgba(160, 255, 220, .3); border-right: 1px solid rgba(160, 255, 220, .3); }
.x9-portal .chamber .ringtop { position: absolute; left: 50%; top: 0; width: 224px; height: 42px; margin-left: -112px; border-radius: 50%; border: 2px solid rgba(160, 255, 220, .6); box-shadow: 0 0 18px rgba(96, 245, 246, .5); }
.x9-portal .chamber .ringtop.t2 { top: 12px; width: 190px; margin-left: -95px; height: 34px; border-color: rgba(196, 255, 58, .45); animation: pr 3s ease-in-out infinite; }
.x9-portal .chamber .photo { position: absolute; left: 50%; top: 46px; width: 150px; height: 200px; margin-left: -75px; border-radius: 14px; overflow: hidden; background: #f3f3f1; z-index: 3; box-shadow: 0 0 0 2px rgba(230, 255, 200, .85), 0 0 34px rgba(196, 255, 58, .5); transition: transform .6s var(--ease), opacity .6s; }
.x9-portal .chamber .photo img { width: 100%; height: 100%; object-fit: contain; }
.x9-portal .chamber .photo .scanl { position: absolute; left: 0; right: 0; height: 34px; background: linear-gradient(180deg, transparent, rgba(196, 255, 58, .5) 70%, #f0ffc0); mix-blend-mode: multiply; animation: scanv 1.8s ease-in-out infinite; opacity: .7; }
.x9-portal .chamber .pedestal { top: 222px; }
.x9-portal .chamber .rise { position: absolute; left: 50%; top: 40px; width: 180px; height: 240px; margin-left: -90px; pointer-events: none; overflow: hidden; }
.x9-portal .chamber .rise i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: #e8ffb0; box-shadow: 0 0 6px var(--lime); animation: rise 2.6s linear infinite; }
@keyframes rise { from { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-240px); opacity: 0; } }
.x9-portal .tile6 { position: absolute; width: 92px; height: 82px; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 5px; font-size: 13.5px; color: #9fb4ac; font-weight: 600; z-index: 4;
  background: rgba(18, 36, 30, .5); border: 1px solid rgba(200, 255, 220, .2); backdrop-filter: blur(10px); transition: all .5s var(--ease); }
.x9-portal .tile6 svg.i { width: 30px; height: 30px; color: #6f8a80; transition: color .4s, filter .4s; }
.x9-portal .tile6.t1 { left: 16px; top: 10px; }
.x9-portal .tile6.t2 { left: 6px; top: 112px; }
.x9-portal .tile6.t3 { left: 16px; top: 214px; }
.x9-portal .tile6.t4 { right: 16px; top: 10px; }
.x9-portal .tile6.t5 { right: 6px; top: 112px; }
.x9-portal .tile6.t6 { right: 16px; top: 214px; }
.x9-portal .tile6.active { color: #fff; border-color: rgba(200, 255, 120, .8); box-shadow: 0 0 26px rgba(196, 255, 58, .5); animation: tglow 1s ease-in-out infinite; }
.x9-portal .tile6.active svg.i, .x9-portal .tile6.done svg.i { color: var(--lime); filter: drop-shadow(0 0 6px var(--lime)); }
.x9-portal .tile6.done { color: #eaffc8; border-color: rgba(200, 255, 120, .7); background: rgba(60, 100, 30, .35); }
.x9-portal .tile6.done::after { content: ''; position: absolute; top: -7px; left: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%230e2209' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 0 10px var(--lime); }
@keyframes tglow { 50% { box-shadow: 0 0 38px rgba(196, 255, 58, .8); } }
.x9-portal .tile6.absorb { transform: scale(.2); opacity: 0; }
.x9-portal .beamline { position: absolute; height: 2px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(196, 255, 58, 0), #d8ff70, rgba(196, 255, 58, 0)); background-size: 200% 100%; animation: flow .8s linear infinite; z-index: 2; opacity: 0; transition: opacity .3s; }
.x9-portal .beamline.on { opacity: 1; }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.x9-portal .cyc { position: absolute; left: 50%; top: 46px; width: 150px; height: 200px; margin-left: -75px; z-index: 3; }
.x9-portal .cyc .card { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: #f3f3f1; box-shadow: 0 0 0 2px rgba(230, 255, 200, .85), 0 0 34px rgba(196, 255, 58, .5); }
.x9-portal .cyc .card img { width: 100%; height: 100%; object-fit: contain; }
.x9-portal .queue { position: absolute; display: flex; gap: 6px; bottom: 6px; direction: ltr; }
.x9-portal .queue i { width: 26px; height: 32px; border-radius: 6px; background: rgba(255,255,255,.12) center / contain no-repeat; border: 1px solid rgba(255,255,255,.2); transition: all .4s; }
.x9-portal .queue i.done { border-color: var(--lime); box-shadow: 0 0 8px rgba(196,255,58,.6); }
/* screen 7 */
.x9-portal .win { position: relative; height: 380px; flex: none; margin: 0 -18px; }
.x9-portal .win canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.x9-portal .win .okring { position: absolute; left: 50%; top: 0; width: 70px; height: 70px; margin-left: -35px; border-radius: 50%; border: 3px solid var(--lime); display: grid; place-items: center; color: var(--lime); box-shadow: 0 0 26px var(--lime), inset 0 0 14px rgba(196, 255, 58, .5); background: rgba(20, 40, 20, .4); opacity: 0; transform: scale(.3); }
.x9-portal .win .okring svg.i { width: 34px; height: 34px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; }
.x9-portal .win.go7 .okring { animation: okin .6s var(--ease) .2s forwards; }
.x9-portal .win.go7 .okring svg.i { animation: draw .5s ease-out .6s forwards; }
@keyframes okin { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.x9-portal .win .photo { position: absolute; left: 50%; top: 96px; width: 186px; height: 236px; margin-left: -93px; border-radius: 16px; overflow: hidden; background: #f3f3f1; z-index: 3; box-shadow: 0 0 0 2px rgba(230, 255, 200, .9), 0 0 40px rgba(196, 255, 58, .55); }
.x9-portal .win .photo img { width: 100%; height: 100%; object-fit: contain; }
.x9-portal .win .pedestal { top: 286px; }
.x9-portal .win .fan { position: absolute; left: 50%; top: 104px; width: 150px; height: 200px; margin-left: -75px; z-index: 3; }
.x9-portal .win .fan div { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: #f3f3f1; box-shadow: 0 0 0 1.5px rgba(230,255,200,.7), 0 10px 20px rgba(0,0,0,.4); transition: transform .9s var(--ease); }
.x9-portal .win .fan div img { width: 100%; height: 100%; object-fit: contain; }
.x9-portal .big7 { text-align: center; margin-top: 2px; }
.x9-portal .big7 h2 { margin: 0; font-size: 23px; }
.x9-portal .big7 p { margin: 4px 0 0; color: var(--mint); font-size: 14.5px; }
.x9-portal .list7 { display: grid; gap: 10px; margin-top: auto; padding-top: 12px; }
.x9-portal .b-row { height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 700; border: 1px solid var(--edge); background: var(--glass-card); backdrop-filter: blur(12px); color: #eef6f2; position: relative; }
.x9-portal .b-row svg.i { color: var(--mint); }
.x9-portal .b-row.main { border: 0; color: var(--lime-ink); background: linear-gradient(180deg, #d6ff5e, #b6f032); box-shadow: 0 0 26px rgba(182, 240, 50, .5); }
.x9-portal .b-row.main svg.i { color: var(--lime-ink); stroke-width: 2.4; }
.x9-portal .b-row .chev { position: absolute; left: 16px; width: 18px; height: 18px; stroke-width: 2.6; }
/* screen 8 */
.x9-portal .rows8 { display: grid; gap: 8px; margin-top: 10px; }
.x9-portal .row8 { height: 54px; border-radius: 17px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border: 1px solid var(--edge); background: var(--glass-card); backdrop-filter: blur(12px); font-size: 15.5px; font-weight: 600; text-align: right; }
.x9-portal .row8 svg.i { color: var(--lime); width: 26px; height: 26px; filter: drop-shadow(0 0 4px rgba(196,255,58,.5)); }
.x9-portal .row8 .chev { margin-inline-start: auto; color: #e3eeea; width: 18px; height: 18px; stroke-width: 2.4; filter: none; }
.x9-portal .home { margin-top: 10px; height: 54px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--edge); background: rgba(255,255,255,.04); font-size: 16px; font-weight: 700; }
.x9-portal .home svg.i { color: var(--mint); }
.x9-portal .show.sm { height: 222px; margin-top: 12px; }
.x9-portal .show.sm .slide { width: 148px; height: 196px; margin-left: -74px; top: 12px; }
.x9-portal .rows8 .row8 { height: 50px; }
.flyer { position: fixed; z-index: 9600; border-radius: 18px; overflow: hidden; background: #f3f3f1; pointer-events: none; box-shadow: 0 0 0 2px #e9ffd0, 0 0 34px rgba(196, 255, 58, .7), 0 20px 40px rgba(0,0,0,.5); }
.flyer img { width: 100%; height: 100%; object-fit: contain; }
/* page (category) grid */
.x9-portal .grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow-y: auto; margin: 8px -4px 0; padding: 4px; flex: 1; min-height: 0; scrollbar-width: none; }
.x9-portal .gcard { position: relative; border-radius: 18px; padding: 8px; background: var(--glass-card); border: 1px solid var(--edge); backdrop-filter: blur(12px); text-align: right; transition: border-color .3s, box-shadow .3s, transform .2s; }
.x9-portal .gcard .gph { aspect-ratio: 1 / 1.1; border-radius: 12px; overflow: hidden; background: #f3f3f1; }
.x9-portal .gcard .gph img { width: 100%; height: 100%; object-fit: contain; }
.x9-portal .gcard b { display: block; font-size: 12.5px; margin-top: 6px; direction: ltr; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x9-portal .gcard small { display: block; font-size: 12.5px; color: var(--lime); direction: ltr; text-align: left; font-weight: 700; }
.x9-portal .gcard .mk { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; background: rgba(0,0,0,.25); color: var(--lime-ink); }
.x9-portal .gcard .mk svg.i { width: 14px; height: 14px; stroke-width: 3.2; opacity: 0; }
.x9-portal .gcard.on { border-color: rgba(200, 255, 120, .75); box-shadow: 0 0 16px rgba(196, 255, 58, .3); }
.x9-portal .gcard.on .mk { background: var(--lime); border-color: var(--lime); }
.x9-portal .gcard.on .mk svg.i { opacity: 1; }
.x9-portal .gbar { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; color: var(--soft); }
.x9-portal .gbar button { border: 0; background: none; color: var(--lime); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .x9-portal *, .x9-portal *::before, .x9-portal *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* smooth on every phone (owner 2026-10-10: «سلس وما يحس إنه ثقيل»): the page behind the glass stops moving, animated parts get their own layers */
body.x9-portal-on .x9-bg *, body.x9-portal-on .x9w-ticker *, body.x9-portal-on .x9w-stack * { animation-play-state: paused !important; }
.x9-portal .slide, .x9-portal .logo-card, .x9-portal .tile6, .x9-portal .counter, .x9-portal .fly-word, .x9-portal .marq .track, .flyer { will-change: transform; }
.x9-portal .gspace { height: 334px; flex: none; }
.x9-portal .scr > .phrase { margin-top: 6px; }
/* the stores row moves on its own, a lime light passes over the names one after another; touching it holds it */
.x9-portal .stores .marq { position: relative; overflow: hidden; margin-top: 12px; direction: ltr; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.x9-portal .stores .track { display: flex; gap: 26px; width: max-content; animation: x9p-marq 38s linear infinite; padding: 4px 0; }
.x9-portal .stores .marq.hold .track { animation-play-state: paused; }
@keyframes x9p-marq { to { transform: translateX(-50%); } }
.x9-portal .stores .st { display: inline-flex; align-items: center; height: 30px; color: #c9d6d1; white-space: nowrap; animation: x9p-glint 9.6s ease-in-out infinite; animation-delay: calc(var(--i) * .6s); }
.x9-portal .stores .st b { font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.x9-portal .stores .st img { height: 22px; width: auto; filter: grayscale(1) brightness(1.6); }
@keyframes x9p-glint { 0%, 88%, 100% { color: #c9d6d1; transform: none; text-shadow: none; } 93% { color: #eaffb0; transform: scale(1.12); text-shadow: 0 0 14px rgba(196, 255, 58, .8); } }
.x9-portal .logo-card b { font-size: 15px; font-weight: 800; color: #10221b; letter-spacing: -.01em; }
.x9-portal .logo-card img { max-width: 70px; max-height: 32px; }
/* the disclaimer: the same glass card, shown like every other screen */
.x9-portal .terms { margin-top: 6px; padding: 22px 18px 16px; border-radius: 26px; background: var(--glass-card); border: 1px solid var(--edge); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 50px rgba(0,0,0,.3); }
.x9-portal .terms .ti { width: 58px; height: 58px; margin: 0 auto 8px; border-radius: 18px; display: grid; place-items: center; color: var(--lime); background: rgba(196, 255, 58, .1); border: 1px solid rgba(196, 255, 58, .4); box-shadow: 0 0 22px rgba(196, 255, 58, .25); }
.x9-portal .terms .ti svg.i { width: 30px; height: 30px; }
.x9-portal .terms h2 { margin: 0 0 10px; text-align: center; font-size: 22px; }
.x9-portal .terms .tb { font-size: 14.5px; line-height: 1.8; color: #e6efea; }
.x9-portal .terms .tb p { margin: 0 0 6px; }
.x9-portal .terms .tb ul { margin: 0 0 8px; padding-inline-start: 20px; }
.x9-portal .terms .tb li { margin-bottom: 4px; }
.x9-portal .terms .tb .tl { color: var(--mint); font-weight: 600; }
.x9-portal .terms .tlink { border: 0; background: none; color: var(--lime); font-weight: 700; padding: 4px 0; font-size: 14px; }
.x9-portal .tcheck { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--edge); cursor: pointer; font-weight: 700; font-size: 15px; }
.x9-portal .tcheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.x9-portal .tcheck .box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid rgba(220, 255, 200, .7); display: grid; place-items: center; color: var(--lime-ink); flex: none; transition: all .25s; }
.x9-portal .tcheck .box svg.i { width: 15px; height: 15px; stroke-width: 3.2; opacity: 0; }
.x9-portal .tcheck input:checked + .box { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 14px rgba(196, 255, 58, .6); }
.x9-portal .tcheck input:checked + .box svg.i { opacity: 1; }
.x9-portal .tcheck input:focus-visible + .box { outline: 2px solid var(--lime); outline-offset: 2px; }
.x9-portal .terr, .x9-portal .ferr { min-height: 18px; margin: 6px 0 0; color: #ffb3a8; font-size: 13px; text-align: center; }
.x9-portal .b-lime[disabled] { filter: saturate(.25) brightness(.65); box-shadow: none; }
.x9-portal .b-lime[disabled]::after { display: none; }
.x9-portal .b-glow[disabled] { filter: saturate(.3) brightness(.75); box-shadow: none; cursor: default; }
.x9-portal .b-glow[disabled]::after { display: none; }
.x9-portal .wide { width: 100%; margin-top: 10px; }
.x9-portal .failc { margin-top: 30px; text-align: center; padding: 22px 18px; border-radius: 26px; background: var(--glass-card); border: 1px solid var(--edge); backdrop-filter: blur(16px); }
.x9-portal .failc .fi { width: 70px; height: 70px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: #ffc56b; background: rgba(255, 197, 107, .1); border: 1px solid rgba(255, 197, 107, .45); }
.x9-portal .failc .fi svg.i { width: 34px; height: 34px; }
.x9-portal .failc h2 { margin: 0 0 6px; font-size: 20px; }
.x9-portal .failc p { margin: 0 0 6px; color: var(--soft); font-size: 14px; line-height: 1.7; }
.x9-portal .failc small { color: var(--mute); font-size: 12.5px; }
.x9-portal .scr > .b-glow { margin-top: 16px; }
.x9-portal .nophoto { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; color: #6d8a80; font-size: 13px; background: #eef2f0; }
.x9-portal .nophoto svg.i { width: 34px; height: 34px; }
.x9-portal .pinfo .pp { display: block; font-size: 18px; margin-top: 2px; }
.x9-portal .pinfo .ok-badge svg.i { width: 13px; height: 13px; stroke-width: 3; }
.x9-portal .gcard[disabled] { opacity: .5; }
.x9-portal .gcard b { direction: auto; text-align: start; }
/* the work screen's add card: one door «اكتشف منتجك» (+ «المزيد»), the old link field stays in the page (hidden) for the share / bookmark paths */
html.x9ui .x9w .x9w-add.is-portal { min-height: 0; height: auto; padding: 18px 16px 16px; display: block; }
html.x9ui .x9w .x9w-add.is-portal > * { translate: none; }
html.x9ui .x9w .x9w-add.is-portal h2 { position: static; line-height: 1.3; }
html.x9ui .x9w .x9w-add.is-portal .x9w-add-sub { position: static; margin: 4px 0 0 !important; font-size: 13px; line-height: 1.5; color: var(--x9w-add-sub); }
html.x9ui .x9w .x9w-add.is-portal .x9w-url, html.x9ui .x9w .x9w-add.is-portal .x9-link-panel { display: none !important; }
html.x9ui .x9w .x9w-add.is-portal .x9w-status-line { position: static; margin-top: 8px !important; }
html.x9ui .x9w .x9w-add.is-portal .x9w-add-row { position: static; display: flex; gap: 10px; height: 60px; margin-top: 14px !important; }
html.x9ui .x9w .x9w-add.is-portal .x9w-box-art { width: 92px; height: auto; left: 8px; top: -4px; }
html.x9ui .x9w .x9w-add.is-portal .x9w-fetch { color: #fff; border: 1.5px solid #d4ff5c; background: linear-gradient(180deg, rgba(150, 210, 50, .45), rgba(46, 84, 20, .66)); box-shadow: 0 0 26px rgba(182, 251, 50, .45), inset 0 0 20px rgba(182, 251, 50, .4); }

/* the store logos (owner 2026-10-10): the logo itself, no card, no background, no colour */
.x9-portal .logo-card { width: 64px; height: 40px; margin: -20px 0 0 -32px; background: none !important; box-shadow: none !important; border-radius: 0; }
.x9-portal .logo-card img { max-width: 60px; max-height: 34px; filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(196, 255, 58, .35)); opacity: .92; }
.x9-portal .logo-card b { color: #eef6f2; font-size: 15px; text-shadow: 0 0 8px rgba(196, 255, 58, .4); }
.x9-portal .stores .st img { height: 26px; width: auto; filter: brightness(0) invert(.86); }
.x9-portal .stores .st { animation-name: x9p-glint2; }
@keyframes x9p-glint2 { 0%, 88%, 100% { transform: none; filter: none; } 93% { transform: scale(1.14); filter: drop-shadow(0 0 10px rgba(196, 255, 58, .9)); } }

/* the opening show: scripted, nothing to press except «تخطّى» */
.x9-portal.intro .pstage { pointer-events: none; }
.x9-portal.intro .x9p-back { visibility: hidden; }
.x9-portal .circ.skip { width: auto; min-width: 64px; padding: 0 14px; border-radius: 20px; font-size: 14px; font-weight: 700; color: #eaffc4; }
.x9-portal .x9p-more { position: absolute; z-index: 2; width: 62px; height: 74px; border-radius: 12px; overflow: hidden; background: #f3f3f1; opacity: 0; box-shadow: 0 0 0 1px rgba(220, 255, 180, .5), 0 8px 18px rgba(0,0,0,.4); animation: x9p-more-in .8s var(--ease) forwards; }
.x9-portal .x9p-more img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x9-portal .x9p-more.m0 { left: 8%; top: 90px; animation-delay: .25s; } .x9-portal .x9p-more.m1 { right: 8%; top: 84px; animation-delay: .35s; }
.x9-portal .x9p-more.m2 { left: 3%; top: 190px; animation-delay: .45s; } .x9-portal .x9p-more.m3 { right: 3%; top: 186px; animation-delay: .55s; }
.x9-portal .x9p-more.m4 { left: 12%; top: 286px; animation-delay: .65s; } .x9-portal .x9p-more.m5 { right: 12%; top: 282px; animation-delay: .75s; }
@keyframes x9p-more-in { from { opacity: 0; transform: scale(.4) translateY(30px); } to { opacity: .85; transform: none; } }

/* owner 2026-10-11: the page under the show stays still while the show is touched */
/* a class on <html> set by ui/portal.js (not :has(): that restyled the whole page on every word and spark of the show) */
html.x9-portal-lock, html.x9-portal-lock body { overflow: hidden !important; overscroll-behavior: none; }
.x9-portal { overscroll-behavior: contain; touch-action: none; }
.x9-portal .scr, .x9-portal .grid4, .x9-portal [class*="scroll"] { overscroll-behavior: contain; touch-action: pan-y; }
.x9-portal input, .x9-portal textarea { touch-action: manipulation; }
.x9-portal .phead-gap { width: 1px; height: 1px; }

/* owner 2026-10-11 «سلس متل فيديو 4K»: behind the show nothing on the page moves (the glass is drawn once, not every frame) */
body.x9-portal-on :is(.x9w-next,.x9w-add,.x9w-card,.x9-studio-tool,.xa-wayb,.x9-exp-row,.x9-channel-section,.x9-channel-choice,.x9-channel-future,.xa-pcard,.x9-fcard),
body.x9-portal-on :is(.x9w-next,.x9w-add,.x9w-card,.x9-studio-tool,.xa-wayb,.x9-exp-row,.x9-channel-section,.x9-channel-choice,.x9-channel-future,.xa-pcard,.x9-fcard)::after,
body.x9-portal-on .x9-bg > svg, body.x9-portal-on .xa-ticker-track { animation-play-state: paused !important; }
.x9-portal .globe, .x9-portal .gcv, .x9-portal .pfx { will-change: transform, opacity; }
/* the cards inside the show sit on the matte glass already: a second live blur under each of them cost ~15% of the frames on a
   phone and hardly shows (the glass behind is smooth) — the screen glass keeps its real blur */
.x9-portal .x9p-frame * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.x9-portal .x9p-frame :where(.tile1,.opt,.field,.pinfo,.ccard,.b-glass,.b-row,.row8,.gcard,.terms,.failc,.fact,.tile6,.drop,.voice) { background-color: rgba(22, 42, 37, .58); }

.x9-portal .big7 .x9p-how { display: block; margin-top: 6px; font-size: 12.5px; color: var(--mute); }
