/* Terra pult · Demo. The games imitate someone else's app, so inside the stage they have their own bright look;
   everything around them is Terra Glass. Sizes inside the stage follow its width (cqw), so a phone and a projector match. */

.ic { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic .solid { fill: currentColor; stroke: none; }

/* game and deck screens use the whole height; Claude's queue does not cover the demo */
body[data-screen="game"] main, body[data-screen="deck"] main { padding-bottom: calc(var(--bottom) + 10px); }
body[data-screen="demo"] #jobs, body[data-screen="game"] #jobs, body[data-screen="deck"] #jobs { display: none !important; }
body[data-screen="demo"] main { padding-bottom: calc(var(--bottom) + 40px); }

/* ---------- the demo's tabs ---------- */
.dhead { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.dhead .brand { margin-right: auto; }
.dhead .dchip, .dhead .dlang { background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }  /* solid: they can sit over the header art */
.dhead .dchip[aria-pressed="true"] { background: var(--accent); box-shadow: none; }
.dlang { flex: none; display: inline-flex; padding: 3px; border-radius: 99px; background: var(--pane-2); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.dlang span { padding: 5px 9px; border-radius: 99px; color: var(--text-3); }
.dlang span.on { background: var(--text); color: var(--bg); }
.dtabs { position: sticky; top: calc(var(--top) + 8px); z-index: 4; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; margin-top: 22px; padding: 3px;
  border-radius: 14px; background: color-mix(in srgb, var(--pane-2) 55%, var(--bg)); box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgba(0,2,40,.18);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }
.dtabs button { min-height: 44px; padding: 10px 2px; border-radius: 11px; text-align: center; font-size: 14px; font-weight: 700; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtabs button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.dsub { display: flex; gap: 22px; margin-top: 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.dsub::-webkit-scrollbar { display: none; }
.dsub button { flex: none; min-height: 44px; margin-bottom: -1px; padding: 9px 0; border-bottom: 2px solid transparent; font-size: 15px; font-weight: 700; color: var(--text-3); }
.dsub button[aria-selected="true"] { color: var(--text); border-color: var(--accent); }
.dsub-body > .dnote:first-child { margin-top: 12px; }
.dnote { display: block; margin-top: 8px; padding: 9px 11px; border-radius: 10px; background: var(--marker); color: var(--text); font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; }

/* Games: the two games, then every format with a way to show it */
.dfmts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.dfmt { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.dfmt-top { display: flex; align-items: center; gap: 8px; }
.dfmt-ic, .dads .ic { color: var(--accent); }
.dfmt-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--marker); }
.dfmt-ic .ic { width: 18px; height: 18px; }
.dfmt-top b { font-size: 15px; line-height: 1.2; letter-spacing: -.01em; }
.dfmt p { font-size: 13px; line-height: 1.35; color: var(--text-2); }
.dfmt .dnote { margin-top: 0; }
.dfmt-go { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-top: auto; padding-top: 4px; }
.dpf { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 4px; border-radius: 99px; background: var(--pane-2); font-size: 12px; font-weight: 700; color: var(--link); text-align: center; white-space: nowrap; }

/* Safety: start the slides, or jump to one */
.dstart { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; margin-top: 16px; padding: 14px; border-radius: 18px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.dstart-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--marker); color: var(--accent); }
.dstart-ic .ic { width: 26px; height: 26px; }
.dstart b { display: block; font-size: 17px; line-height: 1.25; letter-spacing: -.015em; }
.dstart small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); }
.dstart-go { display: grid; place-items: center; width: 40px; height: 40px; padding-left: 2px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.dstart-go .ic { width: 18px; height: 18px; }
.dtoc { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dtoc button { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: baseline; width: 100%; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.dtoc i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.dtoc b { font-size: 15px; font-weight: 400; line-height: 1.3; }

/* Brand: whose ads appear in the games */
.dset { margin-top: 16px; }
.dset h2 { margin-top: 14px; }
.dset h2:first-child { margin-top: 0; }
.dinput { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); outline: none; font-size: 16px; }
.dinput:focus { border-color: var(--accent); }
.dpick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.dprod { display: grid; justify-items: center; gap: 4px; min-width: 0; padding: 8px 2px 7px; border-radius: 12px; background: var(--pane-2); font-size: 12px; line-height: 1.2; color: var(--text-2); text-align: center;
  overflow-wrap: normal; }
@media (max-width: 439px) { .dprod { padding-inline: 1px; font-size: 10px; letter-spacing: -.015em; } }  /* "Bez proizvoda" stays inside its tile on a phone, whole words */
.dprod .b-prod { width: 34px; height: 34px; }
.dprod[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--text); font-weight: 700; }
.dcolors { display: flex; gap: 10px; margin-top: 10px; }
.dcolor { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.dcolor[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.b-prod { display: block; flex: none; }
.b-prod > svg, .end-prod > svg, .v-prod > svg, .vf-prod > svg { display: block; width: 100%; height: 100%; }
.dpreview { container-type: inline-size; position: relative; margin: 8px 0 4px; height: 62px; border-radius: 12px; overflow: hidden; background: #DDF4FF; color: #10123A; }
.dpreview .banner { height: 100%; font-size: 4.2cqw; }
.by { display: flex; gap: 4px; }
.by span { padding: 1px 6px; border-radius: 5px; background: var(--marker); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--text); }

/* ---------- game screen: tools and the ad remote around the stage ---------- */
.dplay { --reserve: calc(var(--side, 210px) + 24px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.back + .dplay { --reserve: calc(var(--side, 210px) + 60px); }
.dside { display: contents; }  /* on a phone the tools go above the stage, the rest below */
.dside > * { align-self: stretch; }
.dbar { order: -1; display: flex; align-items: center; gap: 6px; margin: -5px calc(var(--gut) * -1); padding: 5px var(--gut); overflow-x: auto; scrollbar-width: none; }
.dbar::-webkit-scrollbar { display: none; }
.dbar .dlang { margin-left: auto; }
.dstage { width: min(100%, calc((var(--vvh, 100dvh) - var(--top) - var(--bottom) - var(--reserve)) * 9 / 18)); min-width: 200px; }  /* the phone is 9:18 */
.dplay.fitted .dstage { transition: width .25s ease; }
.dchip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 99px; background: var(--pane-2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.dchip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.dchip .ic { width: 16px; height: 16px; }
.dads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }  /* seven formats: two rows */
.dads button { display: grid; justify-items: center; gap: 4px; padding: 8px 2px 7px; border-radius: 12px; background: var(--pane-2); font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center; }
.dads .ic { width: 20px; height: 20px; }
.dads button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.dads button[aria-pressed="true"] .ic { color: inherit; }
.dplay .dnote { margin-top: 0; }
.cap { min-height: 58px; }
.cap .by { margin-bottom: 3px; }
.cap b { display: block; font-size: 15px; letter-spacing: -.01em; }
.cap p { margin-top: 1px; font-size: 13px; line-height: 1.35; color: var(--text-2); }
.cap small { display: block; margin-top: 3px; font-size: 12px; color: var(--text-3); }
.dplay.xray .cap small { display: none; }
.xr-hint { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(13, 200, 154, .12); color: var(--text); font-size: 13px; line-height: 1.4; }
.xr-hint[hidden] { display: none; }  /* the X-ray panel names the source */
.knows { padding: 10px 12px; border-radius: 14px; background: var(--pane); border: 1px solid var(--line); }
.knows > b { font-size: 13px; }
.kcols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.kcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.kcols li { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.3; }
.kcols li .ic { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.kcols li.yes .ic { color: var(--accent); }
.kcols li.no { color: var(--text-2); }
.kcols li.no .ic { color: #FF6B7A; }
.knows small { display: block; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.report { padding: 10px 12px; border-radius: 14px; background: var(--pane); border: 1px solid var(--line); }
.report > b { font-size: 13px; }
.rtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.rtile { padding: 8px 10px; border-radius: 10px; background: var(--pane-2); }
.rtile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rtile span { display: block; font-size: 12px; color: var(--text-2); }
.rtile b { display: block; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rtile small { display: block; font-size: 12px; line-height: 1.3; color: var(--text-3); }
.rfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.rfoot small { font-size: 12px; color: var(--text-3); }
@media (max-width: 899px) {  /* beside a game on a phone the report stays short, so the stage keeps its size */
  .dplay .rtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dplay .rtile { padding: 6px 8px; }
  .dplay .rtile b { font-size: 17px; }
  .dplay .rtile small { display: none; }
}

.stage { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; container-type: inline-size; border-radius: 22px; background: #DDF4FF;
  box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(0,2,40,.35); color: #10123A; line-height: 1.3; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage > * { font-size: 4.2cqw; }  /* on the children: cqw on the stage itself would measure the window */
.stage button { touch-action: manipulation; }
.stage > .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .ads { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.stage .ads > * { pointer-events: auto; isolation: isolate; }  /* each ad or page is its own layer: an ad's close button never shows through the page it opened */
.stage .ads > .say { pointer-events: none; }

/* the made-up games' own look */
.hud { position: absolute; top: 13%; left: 3cqw; right: 3cqw; z-index: 2; display: flex; justify-content: space-between; gap: 2cqw; font-weight: 700; pointer-events: none; }
.hud > * { padding: 1.2cqw 2.8cqw; border-radius: 99px; background: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; }
.stage[data-game="tower"] .hud { top: 4%; justify-content: center; align-items: center; }
.stage[data-game="tower"] .hud > * { background: none; color: #fff; }
.stage[data-game="tower"] .hud b { font-size: 13cqw; line-height: 1; letter-spacing: -.04em; }
.t-shield .ic { width: 7cqw; height: 7cqw; color: #8BE3C3; stroke-width: 2.2; }
.gscreen { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 22% 7cqw 7cqw; }
.stage[data-game="tower"] .gscreen { padding-top: 7cqw; }
.g-card { position: relative; display: grid; justify-items: center; gap: 2.6cqw; width: 100%; padding: 6cqw 5cqw; border-radius: 6cqw; background: #fff; text-align: center; box-shadow: 0 3cqw 8cqw rgba(16,18,58,.22); }
.g-card.dark { background: rgba(14,17,54,.82); color: #fff; box-shadow: 0 0 0 .3cqw rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.g-card p { opacity: .75; }
.g-title { font-size: 10cqw; line-height: 1.05; letter-spacing: -.035em; }
.g-age { position: relative; padding: .8cqw 2.6cqw; border-radius: 1.6cqw; background: #8AC926; color: #fff; font-weight: 700; font-size: 3.6cqw; }
.g-stars { display: flex; gap: 1.6cqw; }
.g-stars .ic { width: 10cqw; height: 10cqw; }
.hud .ic, .g-score .ic { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .3em; vertical-align: -.2em; }
:is(.g-stars, .hud, .g-score) .ic { fill: #FFB703; stroke: #F48C06; stroke-width: 1.4; }  /* drawn stars: an emoji star differs on every phone */
.g-best { font-weight: 700; }
.g-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 1.6cqw; padding: 3.2cqw 8cqw; border-radius: 99px; background: #FF5D73; color: #fff; font-weight: 700; font-size: 4.8cqw; text-align: center; box-shadow: 0 1.2cqw 0 #D9405A; }
.g-btn .ic { width: 1em; height: 1em; }
.g-btn:active { transform: translateY(.8cqw); box-shadow: 0 .4cqw 0 #D9405A; }
.stage[data-game="tower"] .g-btn { background: #0DC89A; color: #000228; box-shadow: 0 1.2cqw 0 #08977A; }
.g-link { padding: 1.6cqw 3cqw; font-size: 3.8cqw; font-weight: 700; opacity: .7; text-align: center; }
.balloon { cursor: pointer; }
.b-body { transform-box: fill-box; transform-origin: center; }
.b-body.popped { animation: popped .26s ease-out forwards; }
@keyframes popped { to { transform: scale(1.5); opacity: 0; } }
.spark { animation: spark .45s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

/* ---------- ads ---------- */
.stage .tag { position: relative; display: inline-block; padding: .5cqw 1.6cqw; border-radius: 1cqw; background: #FFC93C; color: #10123A; font-size: 2.6cqw; font-weight: 700; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; }
.banner { position: absolute; top: 0; left: 0; right: 0; height: 10.94%; z-index: 3; display: flex; align-items: center; gap: 2.4cqw; padding: 0 3cqw; background: #fff; border-bottom: .5cqw solid rgba(0,2,40,.12); color: #10123A; text-align: left; }
.banner .b-prod { width: 13cqw; height: 13cqw; }
.b-txt { flex: 1; min-width: 0; display: grid; }
.b-txt b { font-size: 4.2cqw; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-txt span { font-size: 3.1cqw; color: #4d4f6b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-cta { flex: none; padding: 1.6cqw 3cqw; border-radius: 99px; background: var(--brand); color: #fff; font-size: 3.2cqw; font-weight: 700; }
.banner .tag { position: absolute; top: 1cqw; right: 1.2cqw; padding: .2cqw 1.2cqw; font-size: 2.2cqw; }
.native { position: relative; display: flex; align-items: center; gap: 2.6cqw; width: 100%; margin-top: 3cqw; padding: 3.4cqw 3cqw 3cqw; border-radius: 4.6cqw; background: rgba(255,255,255,.1); border: .3cqw solid rgba(255,255,255,.22); color: #fff; text-align: left; }
.native .b-prod { width: 14cqw; height: 14cqw; padding: 1.4cqw; border-radius: 3.4cqw; background: #fff; }
.native .b-txt span { color: rgba(255,255,255,.72); }
.native .tag { position: absolute; top: -2.2cqw; left: 3cqw; }

.ov { position: absolute; inset: 0; display: grid; place-items: center; padding: 6%; animation: fade .18s ease-out; }
.ov.dim { background: rgba(10,12,40,.55); }
.ov.full { padding: 0; place-items: stretch; background: #0B0D2E; color: #fff; }
.box { container-type: inline-size; width: min(100%, 440px); }
.ov .card { position: relative; display: grid; justify-items: center; gap: 2.6cqw; padding: 7cqw 6cqw 5cqw; border-radius: 7cqw; background: #fff; color: #10123A; text-align: center; box-shadow: 0 3cqw 10cqw rgba(0,0,0,.3); font-size: 4.6cqw; line-height: 1.3; }
.ov .card > b { font-size: 7.4cqw; line-height: 1.1; letter-spacing: -.02em; }
.ov .card > p { color: #4d4f6b; }
.ov .card > .ic { width: 14cqw; height: 14cqw; color: var(--brand, #2F6BFF); }
.ov .card .g-btn { font-size: 5.2cqw; }
.ov .card .g-link { font-size: 4.4cqw; }
.gift { display: grid; place-items: center; width: 18cqw; height: 18cqw; border-radius: 50%; background: color-mix(in srgb, var(--brand, #2F6BFF) 14%, #fff); color: var(--brand, #2F6BFF); }
.gift .ic { width: 55%; height: 55%; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw; width: 100%; margin-top: 1cqw; }
.opts button { padding: 3.6cqw; border-radius: 3.6cqw; background: #EEF1FF; color: #10123A; font-size: 7cqw; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.opts button.wrong { background: #FFE1E4; color: #C0263A; }
.ad-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 3cqw; }
.x { position: relative; display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 4cqw; font-weight: 700; text-align: center; }
.x:disabled { cursor: default; }
.ad-body { position: absolute; inset: 0; }
.say { position: absolute; left: 50%; top: 40%; z-index: 3; padding: 2.4cqw 5cqw; border-radius: 99px; background: rgba(16,18,58,.9); color: #fff; font-size: 4.6cqw; font-weight: 700; white-space: nowrap; animation: say 1.7s ease-out both; }
@keyframes say { 0% { opacity: 0; transform: translate(-50%, 4cqw); } 15%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }

/* the "video": product, name, line, progress */
.v { position: absolute; inset: 0; overflow: hidden; isolation: isolate; container-type: size; display: grid; align-content: center; justify-items: center; gap: 2.4cqh; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand) 50%, #fff) 0, var(--brand) 45%, var(--brand-dark) 100%); }
.v-rays { position: absolute; inset: -50%; background: repeating-conic-gradient(rgba(255,255,255,.09) 0 10deg, transparent 10deg 20deg); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.v-spark { position: absolute; width: 2.6cqmin; height: 2.6cqmin; border-radius: 50%; background: #fff; animation: twinkle 1.8s ease-in-out infinite both; }
.v-spark:nth-of-type(1) { left: 14%; top: 20%; }
.v-spark:nth-of-type(2) { left: 80%; top: 16%; animation-delay: .3s; }
.v-spark:nth-of-type(3) { left: 20%; top: 72%; animation-delay: .6s; }
.v-spark:nth-of-type(4) { left: 78%; top: 66%; animation-delay: .9s; }
.v-spark:nth-of-type(5) { left: 50%; top: 9%; animation-delay: 1.2s; }
.v-spark:nth-of-type(6) { left: 88%; top: 42%; animation-delay: 1.5s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }
.v-prod { position: relative; width: 50cqmin; height: 50cqmin; animation: v-in .7s cubic-bezier(.2,1.5,.4,1) .2s both, bob 2.4s ease-in-out 1.1s infinite; }
@keyframes v-in { from { opacity: 0; transform: scale(.3) rotate(-14deg); } }
@keyframes bob { 50% { transform: translateY(-2.4cqmin) rotate(3deg); } }
.v-name { position: relative; max-width: 86%; font-size: 9cqmin; line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; animation: rise .5s ease-out 1.1s both; }
.v-tag { position: relative; max-width: 80%; font-size: 5.4cqmin; opacity: .92; animation: rise .5s ease-out 1.8s both; }
.v-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1.2cqmin; background: rgba(255,255,255,.25); }
.v-bar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.v-time { position: absolute; left: 3cqmin; bottom: 3cqmin; padding: .6cqmin 1.8cqmin; border-radius: 99px; background: rgba(0,0,0,.35); font-size: 3.6cqmin; font-weight: 700; font-variant-numeric: tabular-nums; }
.ov.full .v { padding-top: 6cqh; }
/* the scene's clip (img/demo/clips): over the scene picture ([data-scene] background), under the brand's colour, product and words */
.v-clip { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; pointer-events: none; }

.end { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 2.6cqw; padding: 14cqw 8cqw; text-align: center; color: #10123A;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 22%, #fff), #fff 70%); animation: fade .25s ease-out; }
.end-score { font-size: 6cqw; color: var(--brand-dark); }
.end-prod { width: 42cqw; height: 42cqw; animation: v-in .6s cubic-bezier(.2,1.5,.4,1) both; }
.end-photo { width: 78cqw; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 5cqw; box-shadow: 0 3cqw 8cqw rgba(16,18,58,.18); animation: fade .4s ease-out both; }
.end-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.end-name { font-size: 8cqw; line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.end-tag { font-size: 4.4cqw; color: #4d4f6b; }
.cta { position: relative; margin-top: 2cqw; padding: 3.4cqw 9cqw; border-radius: 99px; background: var(--brand); color: #fff; font-size: 4.8cqw; font-weight: 700; text-align: center; }
.again { padding: 2cqw 3cqw; color: var(--brand-dark); font-size: 4.2cqw; font-weight: 700; text-align: center; }

/* playable: catch the product */
.play { position: absolute; inset: 0; touch-action: none; }
.p-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-hud { position: absolute; top: 15cqw; left: 50%; transform: translateX(-50%); display: flex; gap: 3cqw; align-items: center; padding: 1.6cqw 4cqw; border-radius: 99px; background: rgba(255,255,255,.92);
  color: #10123A; font-size: 4.4cqw; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.p-hint { position: absolute; left: 0; right: 0; bottom: 24%; text-align: center; color: var(--brand-dark); font-size: 4.6cqw; font-weight: 700; pointer-events: none; }
.p-hint i { display: block; width: 10cqw; height: 10cqw; margin: 0 auto 2cqw; border-radius: 50%; background: var(--brand); opacity: .55; animation: swipe 1.4s ease-in-out infinite; }
@keyframes swipe { 0%, 100% { transform: translateX(-14cqw); } 50% { transform: translateX(14cqw); } }

/* Video Frame */
.vf { position: relative; padding: 3cqw; border-radius: 6cqw; background: var(--brand); color: #fff;
  box-shadow: 0 0 0 1.6cqw color-mix(in srgb, var(--brand) 35%, #fff), 0 3cqw 10cqw rgba(0,0,0,.35); }
.vf .ad-top { position: static; padding: 0 0 2.4cqw; }
.vf .x { background: rgba(0,0,0,.25); }
.vf-screen { position: relative; aspect-ratio: 16 / 11; border-radius: 3.6cqw; overflow: hidden; background: #000; }
.vf-again { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; }
.vf-again .ic { width: 16cqw; height: 16cqw; }
.vf-row { display: flex; align-items: center; gap: 2.6cqw; margin-top: 3cqw; text-align: left; }
.vf-prod { position: relative; flex: none; width: 16cqw; height: 16cqw; padding: 1.6cqw; border-radius: 4cqw; background: #fff; }
.vf-prod.hop { animation: hop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes hop { 40% { transform: translateY(-4cqw) rotate(-10deg) scale(1.1); } }
.vf-txt { flex: 1; min-width: 0; display: grid; }
.vf-txt b { font-size: 4.6cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-txt span { font-size: 3.3cqw; opacity: .85; }
.cta.small { margin: 0; padding: 2.4cqw 3.6cqw; background: #fff; color: var(--brand-dark); font-size: 3.6cqw; }

/* X-ray: what each rule on screen is, in the presenter's words */
.stage.xray [data-xr] { outline: .6cqw dashed #0DC89A; outline-offset: .6cqw; }
.stage.xray [data-xr]::after { content: attr(data-xr); position: absolute; left: 0; top: calc(100% + 1.8cqw); z-index: 9; width: max-content; max-width: 58cqw; padding: 1cqw 2cqw; border-radius: 1.6cqw;
  background: #0DC89A; color: #000228; font: 700 3cqw/1.25 "Inter", sans-serif; letter-spacing: 0; text-align: left; text-transform: none; white-space: normal; pointer-events: none; }
.stage.xray .x::after { left: auto; right: 0; }
.stage.xray .banner::after { left: 3cqw; }
.stage.xray .g-btn::after, .stage.xray .cta::after { left: 50%; transform: translateX(-50%); }
.stage.xray .ov .card::after, .stage.xray .vf::after { top: auto; bottom: calc(100% + 1.8cqw); }

/* ---------- numbers ---------- */
.serbia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.sfig { padding: 12px; border-radius: 16px; background: var(--pane); border: 1px solid var(--line); }
.sfig b { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sfig span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; }
.sfig small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--text-3); }
.sfig:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dgroup { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 400; }
.dgroup small { font-size: 12px; color: var(--text-3); }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.case { padding: 12px; border-radius: 16px; background: var(--pane); border: 1px solid var(--line); }
.case-title { display: block; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.case-format { display: block; margin-top: 2px; font-size: 12px; line-height: 1.3; color: var(--text-2); }
.case-figs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.case-figs b { display: block; font-size: 24px; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.case-figs span { display: block; font-size: 12px; color: var(--text-3); }
.dask { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 10px; padding: 14px; border-radius: 16px; background: var(--marker); }
.dask > .ic { width: 28px; height: 28px; margin-top: 2px; }
.dask b { display: block; font-size: 15px; }
.dask p { margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.dask-mail { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--link); }
.dsub-body > .report { margin-top: 14px; }
.dmetrics { margin-top: 14px; }
.metrics { display: grid; gap: 8px; margin-top: 8px; }
.metric { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--pane); border: 1px solid var(--line); }
.metric .s-ic { width: 38px; height: 38px; }
.metric b { display: block; font-size: 15px; }
.metric small { display: block; margin-top: 1px; font-size: 13px; line-height: 1.35; color: var(--text-2); }
@media (min-width: 900px) {
  body[data-screen="demo"] main { max-width: 980px; }
  .dfmts, .cases, .serbia { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dsub-body > .report, .dset, .dask { max-width: 620px; }
  .dtabs { max-width: 620px; }
}

/* ---------- the deck ---------- */
.deck { height: calc(var(--vvh, 100dvh) - var(--top) - var(--bottom) - 90px); min-height: 380px; }
.back + .deck { height: calc(var(--vvh, 100dvh) - var(--top) - var(--bottom) - 128px); }
.deck-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; }
.deck-strip::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: start; container-type: size; display: flex; flex-direction: column; gap: 3.4cqmin;
  padding: 7cqmin 7cqmin 6cqmin; border-radius: 22px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.slide::before { content: ""; position: absolute; top: 0; right: 0; width: 75%; height: 50%; pointer-events: none; background: var(--plate) right top / cover no-repeat; mix-blend-mode: var(--plate-blend); opacity: .45;
  -webkit-mask: linear-gradient(to bottom, #000 30%, transparent), linear-gradient(to right, transparent 10%, #000 80%); -webkit-mask-composite: source-in;
  mask: linear-gradient(to bottom, #000 30%, transparent), linear-gradient(to right, transparent 10%, #000 80%); mask-composite: intersect; }
.slide > * { position: relative; }
.slide > .brand { flex: none; width: clamp(90px, 24cqmin, 170px); height: clamp(18px, 4.6cqmin, 33px); }
.slide h2 { font-size: clamp(22px, 8cqmin, 68px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; max-width: 18em; }
.slide .s-big { margin-top: auto; font-size: clamp(28px, 10.5cqmin, 92px); }
.s-kick { font-size: clamp(11px, 3.2cqmin, 20px); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--link); }
.s-sub, .s-lead { font-size: clamp(15px, 4.6cqmin, 34px); line-height: 1.3; color: var(--text-2); max-width: 30em; }
.s-src { margin-top: auto; font-size: clamp(10px, 2.6cqmin, 16px); line-height: 1.35; color: var(--text-3); }
.slide.on .rise { animation: rise .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.s-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.8cqmin; }
.s-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3cqmin; align-items: center; }
.s-ic { display: grid; place-items: center; width: clamp(34px, 10cqmin, 76px); height: clamp(34px, 10cqmin, 76px); border-radius: 28%; background: var(--marker); }
.s-ic .ic { width: 55%; height: 55%; }
.s-rows b { display: block; font-size: clamp(14px, 4.3cqmin, 34px); line-height: 1.22; letter-spacing: -.01em; }
.s-rows small { display: block; margin-top: .5cqmin; font-size: clamp(11px, 2.8cqmin, 18px); color: var(--text-3); }

.s-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2cqmin; }
.s-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3cqmin; align-items: center; }
.s-steps i { display: grid; place-items: center; width: clamp(28px, 8cqmin, 60px); height: clamp(28px, 8cqmin, 60px); border-radius: 50%; background: var(--accent); color: var(--on-accent);
  font-style: normal; font-weight: 700; font-size: clamp(13px, 3.6cqmin, 26px); }
.s-steps b { display: block; font-size: clamp(14px, 4cqmin, 30px); line-height: 1.2; }
.s-steps small { display: block; font-size: clamp(12px, 3.2cqmin, 22px); line-height: 1.3; color: var(--text-2); }

.s-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqmin; }
.s-col { padding: 4cqmin; border-radius: 4cqmin; background: var(--pane-2); box-shadow: inset 0 0 0 1px var(--line); }
.s-col > b { font-size: clamp(14px, 4.2cqmin, 30px); }
.s-col ul { list-style: none; margin: 2.6cqmin 0 0; padding: 0; display: grid; gap: 2.6cqmin; }
.s-col li { display: flex; gap: 2cqmin; align-items: flex-start; font-size: clamp(13px, 4cqmin, 30px); line-height: 1.25; }
.s-col li .ic { flex: none; width: 1.1em; height: 1.1em; margin-top: .1em; stroke-width: 2.4; }
.s-col.yes .ic { color: var(--accent); }
.s-col.no .ic { color: #FF6B7A; }
.s-col.no { animation-delay: 260ms; }

.s-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 2cqmin; }
.s-flow li { display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr); gap: 3cqmin; align-items: center; padding: 3cqmin; border-radius: 3.4cqmin; background: var(--pane-2); }
.s-flow b { font-size: clamp(15px, 4.8cqmin, 36px); color: var(--link); letter-spacing: -.01em; }
.s-flow span { font-size: clamp(13px, 3.6cqmin, 26px); line-height: 1.3; }

.s-phone { flex: none; align-self: center; margin-top: auto; position: relative; width: clamp(110px, 34cqmin, 260px); aspect-ratio: 9 / 16; border-radius: 6cqmin; background: linear-gradient(#5EC3FF, #DDF4FF);
  box-shadow: 0 0 0 1.4cqmin #10123A, 0 4cqmin 10cqmin rgba(0,0,0,.35); }
.s-ad { position: absolute; top: 0; left: 0; right: 0; height: 17%; display: flex; align-items: center; gap: 2cqmin; padding: 0 2.6cqmin; border-radius: 6cqmin 6cqmin 0 0; background: #fff; color: #10123A; font-size: clamp(10px, 3cqmin, 22px); }
.s-ad .b-prod { width: 18%; aspect-ratio: 1; }
.s-ad b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-tag { flex: none; padding: .3em .6em; border-radius: .4em; background: #FFC93C; color: #10123A; font-size: clamp(9px, 2.4cqmin, 18px); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.s-shield { position: absolute; right: -24%; bottom: 14%; display: grid; place-items: center; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #000228; }
.s-shield .ic { width: 58%; height: 58%; stroke-width: 2.2; }
.s-mock { display: flex; align-items: center; gap: 3cqmin; padding: 2.6cqmin 3cqmin; border-radius: 3.4cqmin; background: var(--pane-2); align-self: flex-start; }
.s-mock .s-tag { font-size: clamp(11px, 3cqmin, 20px); }
.s-x { display: grid; place-items: center; width: clamp(30px, 8cqmin, 56px); height: clamp(30px, 8cqmin, 56px); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--text-3); color: var(--text-2);
  font-size: clamp(13px, 3.6cqmin, 24px); font-weight: 700; font-variant-numeric: tabular-nums; }
.s-x.free { background: var(--accent); box-shadow: none; color: var(--on-accent); }
.s-gate { margin: auto 0; display: grid; justify-items: center; gap: 4cqmin; text-align: center; }
.s-gate > .ic { width: clamp(60px, 20cqmin, 150px); height: clamp(60px, 20cqmin, 150px); color: var(--accent); stroke-width: 1.4; }
.s-try { padding: 3cqmin 9cqmin; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: clamp(16px, 4.6cqmin, 32px); font-weight: 700; text-align: center; }
.s-result { min-height: 1.3em; color: var(--text); font-weight: 700; }
.s-layer { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.s-layer > * { pointer-events: auto; }
.s-layer .ov { border-radius: 22px; }
.slide > .s-logo { width: clamp(150px, 46cqmin, 340px); height: clamp(30px, 9cqmin, 66px); margin-top: auto; }
.s-contact { margin-bottom: auto; font-size: clamp(15px, 4.4cqmin, 32px); font-weight: 700; color: var(--link); }

@container (orientation: portrait) {  /* a phone held upright: bigger type, lists share the height */
  .slide h2 { font-size: clamp(24px, 9cqw, 48px); }
  .slide .s-big { font-size: clamp(30px, 11.5cqw, 64px); }
  .s-sub, .s-lead { font-size: clamp(16px, 5cqw, 28px); }
  .s-steps, .s-rows, .s-flow, .s-cols { flex: 1; align-content: space-evenly; }
  .s-steps b, .s-rows b { font-size: clamp(16px, 5cqw, 28px); }
  .s-steps small, .s-rows small { font-size: clamp(13px, 3.8cqw, 20px); }
  .s-steps i, .s-ic { width: clamp(34px, 10cqw, 56px); height: clamp(34px, 10cqw, 56px); }
  .s-steps i { font-size: clamp(14px, 4.4cqw, 24px); }
  .s-cols { grid-template-columns: 1fr; gap: 5cqw; align-content: center; }
  .s-col { padding: 5cqw; }
  .s-col > b { font-size: clamp(16px, 5cqw, 28px); }
  .s-col li { font-size: clamp(16px, 5cqw, 28px); }
  .s-flow b { font-size: clamp(17px, 5.4cqw, 30px); }
  .s-flow span { font-size: clamp(14px, 4.4cqw, 24px); }
  .s-src { font-size: clamp(11px, 3cqw, 16px); }
  .s-phone { width: clamp(130px, 44cqw, 280px); }
  .s-ad { font-size: clamp(11px, 3.4cqw, 20px); }
}

@container (orientation: landscape) {  /* a laptop or a projector: two columns read top to bottom */
  .s-steps, .s-rows { flex: 1; align-content: space-evenly; grid-auto-flow: column; grid-template-columns: 1fr 1fr; column-gap: 7cqmin; }
  .s-steps { grid-template-rows: repeat(4, auto); }
  .s-rows { grid-template-rows: repeat(2, auto); }
  .s-steps b, .s-rows b { font-size: clamp(16px, 4.6cqh, 36px); }
  .s-steps small, .s-rows small { font-size: clamp(12px, 3.4cqh, 24px); }
  .s-cols { flex: 1; align-content: center; }
  .s-flow { flex: 1; align-content: center; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .s-flow li { grid-template-columns: 1fr; align-content: start; height: 100%; }
  .s-phone { position: absolute; right: 10cqmin; bottom: 10cqmin; margin: 0; }
  .slide .s-big { margin-top: auto; max-width: 60%; }
}

.deck-ctl { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.deck-ctl .arrow { color: var(--text); font-size: 24px; }
.deck-num { min-width: 52px; text-align: center; font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.deck-ctl .gap { flex: 1; }
.deck-note { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--marker); font-size: 14px; line-height: 1.45; }

/* a laptop or a projector: the stage beside the presenter's panel, the deck wide */
@media (min-width: 900px) {
  body[data-screen="game"] main, body[data-screen="deck"] main { max-width: 1180px; }
  .dplay { --reserve: 90px; flex-direction: row; justify-content: center; align-items: center; gap: 32px; }
  .back + .dplay { --reserve: 130px; }
  .dside { display: grid; gap: 10px; width: 340px; flex: none; }
  .dbar { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .cap b { font-size: 18px; }
  .cap p { font-size: 15px; }
}
.s-logo + .s-big { margin-top: 5cqmin; }

/* touch, keyboard and motion (ui-ux-pro-max checklist): 44px hit areas, a pressed state, focus clear of the sticky tabs */
html:has(> body[data-screen="demo"]) { scroll-padding-top: calc(var(--top) + 72px); }
.dchip, .dlang, .dpf { position: relative; }
.dchip::after, .dpf::after, .dcolor::after { content: ''; position: absolute; inset: -5px 0; }
.dlang::after { content: ''; position: absolute; inset: -6px 0; }
.dcolor::after { inset: -5px; }
body[data-screen="game"] .back, body[data-screen="deck"] .back { position: relative; }
body[data-screen="game"] .back::after, body[data-screen="deck"] .back::after { content: ''; position: absolute; inset: -5px -8px; }
.day small .ic { display: inline-block; width: .8em; height: .8em; margin-left: 4px; vertical-align: -.05em; }
.dpf .ic { width: 10px; height: 10px; }
.dbar .dchip { padding-left: 10px; padding-right: 10px; }  /* the four tools fit a 375px phone without scrolling */
:is(.dtabs button, .dsub button, .dchip, .dlang, .dpf, .dapp, .hs-app, .dstart, .dtoc button, .dads button, .dprod, .dcolor) { transition: opacity .12s ease; }
:is(.dtabs button, .dsub button, .dchip, .dlang, .dpf, .dapp, .hs-app, .dstart, .dtoc button, .dads button, .dprod, .dcolor):active { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .dplay.fitted .dstage { transition: none; } }

/* Play: the phone launcher, the three apps */
.dphone .dphone-mini { display: flex; padding-left: 2px; }
.dphone-mini img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 2px var(--pane); }
.dphone-mini img + img { margin-left: -12px; }
.dapps { display: grid; gap: 8px; margin-top: 10px; }
.dapp { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 16px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.dapp img { width: 52px; height: 52px; border-radius: 14px; }
.dapp-txt { display: grid; gap: 1px; }
.dapp-txt b { font-size: 16px; letter-spacing: -.01em; }
.dapp-txt > span { font-size: 13px; color: var(--text-2); }
.dapp-txt .dnote { margin-top: 6px; }

/* Formats: how brands get into games */
.dways { display: grid; gap: 8px; margin-top: 10px; }
.dway { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.dway.on { box-shadow: inset 0 0 0 1.5px var(--accent); }
.dway p { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.dway-pm { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dway-pm li { display: flex; gap: 6px; font-size: 13px; line-height: 1.35; }
.dway-pm .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.dway-pm .yes .ic { color: var(--accent); }
.dway-pm .no .ic { color: #FF6B7A; }
.dway-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.dway-foot small { font-size: 12px; color: var(--text-3); }
.dway-foot .dpf { padding-left: 14px; padding-right: 14px; }

/* Terra: why us, how a campaign starts */
.dwhy { display: grid; gap: 2px; margin-top: 10px; border-radius: 16px; overflow: hidden; }
.dwhy-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; background: var(--pane); }
.dwhy-row b, .dsteps b { display: block; font-size: 15px; letter-spacing: -.01em; }
.dwhy-row small, .dsteps small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.dsteps { list-style: none; display: grid; gap: 12px; margin: 12px 0 0; padding: 0; }
.dsteps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.dsteps i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-style: normal; font-weight: 700; }

/* the phone: a status bar, a 9:16 screen for the apps, the home bar; scaled by its own width */
.phone { container-type: inline-size; position: relative; display: flex; flex-direction: column; width: 100%; aspect-ratio: 9 / 18; overflow: hidden; border-radius: 11% / 5.5%;
  background: #F2D6CF url(img/demo/wallpaper.webp) center / cover; color: #2B2350; line-height: 1.25; user-select: none; -webkit-user-select: none;
  box-shadow: 0 0 0 6px #07081A, 0 0 0 7px #3A3D52, 0 18px 50px rgba(0,2,40,.4); }
.sbar { flex: none; position: relative; display: flex; align-items: center; justify-content: space-between; height: 12cqw; padding: 2cqw 8cqw 0; font-size: 3.9cqw; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; }
.sb-cam { position: absolute; left: 50%; top: 3.6cqw; width: 4.2cqw; height: 4.2cqw; border-radius: 50%; background: #07081A; transform: translateX(-50%); }
.sb-ic { width: 17cqw; height: 3.6cqw; }
.pscreen { position: relative; flex: none; aspect-ratio: 9 / 16; overflow: hidden; container-type: inline-size; }
.hbar { flex: 1; display: grid; place-items: center; width: 100%; transition: background-color .2s, color .2s; }
.hbar i { width: 36%; height: 1.4cqw; border-radius: 99px; background: currentColor; opacity: .8; }
.phone[data-app] .sbar { background: #1AA8FD; }  /* the edge colours of each app's painted background */
.phone[data-app="balloons"] .hbar { background: #71BB0E; color: #fff; }
.phone[data-app="tower"] .sbar { background: #150C62; color: #fff; }
.phone[data-app="tower"] .hbar { background: #1A1C52; color: #fff; }
.phone[data-app="count"] .sbar { background: #F5CC85; }
.phone[data-app="count"] .hbar { background: #F0BE8C; }
.pscreen .stage { position: absolute; inset: 0; z-index: 2; aspect-ratio: auto; border-radius: 0; box-shadow: none; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.pscreen .stage.launch { animation: app-in .34s cubic-bezier(.2,.9,.25,1) backwards; }
.pscreen .stage.leaving { animation: app-out .22s ease-in forwards; }
@keyframes app-in { from { transform: scale(.14); opacity: 0; border-radius: 40%; } 40% { opacity: 1; } }
@keyframes app-out { to { transform: scale(.14); opacity: 0; border-radius: 40%; } }

.home { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: 2cqw 5cqw 4cqw; }
.hs-widget { display: grid; justify-items: center; margin: 4cqw 0 8cqw; }
.hs-widget b { font-size: 17cqw; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hs-widget span { margin-top: 1.4cqw; font-size: 4cqw; font-weight: 700; opacity: .75; }
.hs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5cqw 3cqw; }
.hs-app { display: grid; justify-items: center; gap: 1.4cqw; min-width: 0; }
.hs-ic { position: relative; display: grid; place-items: center; width: 16cqw; height: 16cqw; overflow: hidden; border-radius: 4.4cqw; background: #fff; box-shadow: 0 1cqw 3cqw rgba(43,35,80,.18); }
.hs-ic img { width: 100%; height: 100%; object-fit: cover; }
.hs-ic .ic { width: 58%; height: 58%; color: #fff; stroke-width: 1.7; }
.hs-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 3.1cqw; font-weight: 700; }
.hs-app.live .hs-ic { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 .8cqw rgba(255,255,255,.95), 0 1.4cqw 4cqw rgba(43,35,80,.3); } 50% { box-shadow: 0 0 0 1.8cqw rgba(255,255,255,.45), 0 1.4cqw 4cqw rgba(43,35,80,.3); } }
.hs-app.nope { animation: nope .35s; }
@keyframes nope { 25% { transform: translateX(-1.2cqw); } 75% { transform: translateX(1.2cqw); } }
.f-image { background: linear-gradient(135deg, #FF9F43, #EE5A6F); }
.f-sun { background: linear-gradient(135deg, #6CC4FF, #2F6BFF); }
.f-note { background: linear-gradient(135deg, #FF7AA2, #D6336C); }
.f-pin { background: linear-gradient(135deg, #5FE3A1, #2A9D8F); }
.f-call { background: linear-gradient(135deg, #5EE07F, #22B455); }
.f-chat { background: linear-gradient(135deg, #6EE7F9, #2F80ED); }
.f-globe { background: linear-gradient(135deg, #A78BFA, #6D28D9); }
.f-camera { background: linear-gradient(135deg, #9AA1AE, #4B5160); }
.hs-ic.f-cal { align-content: center; gap: .2cqw; }
.f-cal small { font-size: 2.6cqw; font-weight: 700; color: #E63946; text-transform: capitalize; }
.f-cal b { font-size: 7.2cqw; line-height: 1; color: #10123A; }
.hs-dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3cqw; margin-top: auto; padding: 3cqw; border-radius: 7cqw; background: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hs-toast { position: absolute; left: 50%; bottom: 25%; z-index: 3; width: max-content; max-width: 84%; padding: 2.4cqw 4.4cqw; border-radius: 99px; background: rgba(16,18,58,.88); color: #fff; font-size: 3.6cqw; font-weight: 700; text-align: center; transform: translateX(-50%); }

/* Brojalica: the counting app */
.c-hud { position: absolute; top: 13%; left: 5cqw; right: 5cqw; z-index: 2; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.c-dots { display: flex; gap: 1.8cqw; padding: 1.8cqw 2.6cqw; border-radius: 99px; background: rgba(255,255,255,.85); }
.c-dots i { width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: #F1D9A0; }
.c-dots i.on { background: #2BB673; }
.c-dots i.now { background: #FF924C; }
.c-shelf { display: flex; gap: 1cqw; }
.c-shelf .c-sticker { width: 8cqw; height: 8cqw; filter: drop-shadow(0 .6cqw .8cqw rgba(0,0,0,.15)); }
.g-card .c-sticker { width: 24cqw; height: 24cqw; }
.stage > .c-ask { position: absolute; top: 69.5%; left: 0; right: 0; z-index: 2; text-align: center; font-size: 6.4cqw; letter-spacing: -.02em; }
.c-answers { position: absolute; top: 77%; left: 8cqw; right: 8cqw; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5cqw; }
.c-opt { aspect-ratio: 1; border-radius: 6cqw; background: #fff; font-size: 11cqw; font-weight: 700; text-align: center; box-shadow: 0 1.4cqw 0 #F1C96B, 0 2cqw 5cqw rgba(160,110,0,.18); }
.c-opt.yes { background: #2BB673; color: #fff; box-shadow: 0 1.4cqw 0 #1E8A55; }
.c-opt.no { background: #FFE3E7; animation: nope .35s; }

/* the "video" over a scene that suits the product (brand/assets/demo) */
.v[data-scene] { background-color: var(--brand-dark); background-position: center bottom; background-size: cover; background-repeat: no-repeat; }  /* longhands: the image comes from [data-scene=…] */
.v[data-scene], .ov.full .v[data-scene] { align-content: start; padding-top: 10cqh; }
.vf-screen .v[data-scene], .ir .v[data-scene] { align-content: center; padding-top: 0; }  /* the small landscape screen of Video Frame */
[data-scene="toy"] { background-image: url(img/demo/scene-toy.webp); }
[data-scene="juice"] { background-image: url(img/demo/scene-juice.webp); }
[data-scene="film"] { background-image: url(img/demo/scene-film.webp); }
[data-scene="book"] { background-image: url(img/demo/scene-book.webp); }
[data-scene="phone"] { background-image: url(img/demo/scene-phone.webp); }
[data-scene="car"] { background-image: url(img/demo/scene-car.webp); }
[data-scene="mobile"] { background-image: url(img/demo/scene-mobile.webp); }
[data-scene="card"] { background-image: url(img/demo/scene-card.webp); }
[data-scene="burger"] { background-image: url(img/demo/scene-burger.webp); }
[data-scene="coffee"] { background-image: url(img/demo/scene-coffee.webp); }
.v[data-scene]::before { content: ''; position: absolute; inset: 0; background: linear-gradient(color-mix(in srgb, var(--brand) 94%, transparent), color-mix(in srgb, var(--brand) 60%, transparent) 40%, transparent 66%); }
.v[data-scene] .v-rays { display: none; }
.v[data-scene] .v-name, .v[data-scene] .v-tag { text-shadow: 0 .3cqmin 1.6cqmin rgba(0,0,0,.45), 0 0 4cqmin rgba(0,0,0,.25); }  /* readable over the scene */
.v[data-scene] .v-tag { opacity: 1; text-shadow: 0 .15cqmin .5cqmin rgba(0,0,0,.6), 0 .3cqmin 1.6cqmin rgba(0,0,0,.5), 0 0 4cqmin rgba(0,0,0,.35); }  /* thin words over a light, moving scene */
.v[data-scene] .v-prod { width: 46cqmin; height: 46cqmin; filter: drop-shadow(0 2.4cqmin 3cqmin rgba(0,0,0,.28)); }

/* the car's own film (demo.js carFilm, 21.11): the car drives up a golden-hour street, filmed. Upright: the film is fitted
   to 120 % of the width with the car in the middle, so the whole car is in view, and above it the sky goes on: a strip
   of its own first frame, mirrored at the film's edge, stretched, blurred, a little deeper towards the top, fading into
   the film, so no seam shows. Wide (Video Frame, the pre-roll, the brand site's hero): cropped to the street. Nothing
   moves or zooms the film, and no product picture, rays or sparks go over it; the name comes up over the sky as it stops. */
.car-rig { position: absolute; left: -15%; width: 120%; bottom: 0; z-index: -1; aspect-ratio: 3 / 4; }
.car-rig.still { left: -19%; aspect-ratio: 2 / 3; }  /* reduced motion: the parked car, a 2:3 still */
.car-rig > video { position: absolute; inset: 0; z-index: auto; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.car-sky { position: absolute; left: 0; right: 0; bottom: calc(100% - 48px); height: 200%; transform: scaleY(-1); filter: blur(10px); pointer-events: none;
  background-image: linear-gradient(rgba(88, 64, 132, 0) 80px, rgba(88, 64, 132, .2) 320px), var(--sky); background-size: 100% 100%, 100% 300%; background-position: center top; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(transparent, #000 48px); mask-image: linear-gradient(transparent, #000 48px); }
@container (orientation: landscape) {
  .car-rig, .car-rig.still { inset: 0; width: auto; aspect-ratio: auto; }
  .car-rig > video { object-position: center 86%; }
  .car-sky { display: none; }
}
.v.car { background-image: none; }
.v.car::before { background: linear-gradient(rgba(38, 20, 62, .52), rgba(38, 20, 62, .32) 34%, rgba(38, 20, 62, 0) 58%); }  /* a dusk scrim: white words over a light evening sky */
.v.car .v-prod, .v.car .v-spark { display: none; }
.v.car .v-name, .v.car .v-tag { animation: none; opacity: 0; transform: translateY(12px); transition: opacity .6s ease-out, transform .6s ease-out; }
.v.car .v-tag { transition-delay: .25s; font-weight: 650; }
.v.car.on .v-name, .v.car.on .v-tag { opacity: 1; transform: none; }
.vf-screen .v.car, .ir .v.car { align-content: start; padding-top: 4cqh; gap: 1cqh; }  /* wide: the name over the sky, the car below it */
.film.car .f-scene { background-image: none; }
.film .car-rig { z-index: auto; }  /* .film is no stacking context of its own: the scene comes first, the shade and words paint over it */
.film.car .f-shade { background: linear-gradient(color-mix(in srgb, var(--brand) 55%, transparent), transparent 42%); }
.film.car .f-prod, .film.car .f-sweep { display: none; }
.film.car .f-copy { top: 9%; animation-name: f-car; }
@keyframes f-car { 0%, 38% { opacity: 0; transform: translateY(20%); } 46%, 62% { opacity: 1; transform: none; } 68%, 100% { opacity: 0; } }  /* with the car as it stops */

@media (min-width: 900px) {
  .dapps, .dways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dwhy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .hs-app.live .hs-ic { box-shadow: 0 0 0 .8cqw rgba(255,255,255,.95), 0 1.4cqw 4cqw rgba(43,35,80,.3); } }

/* the advertiser's made-up identity: a letter mark, a brand bug on the video */
.mark { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-right: .35em; border-radius: 30%; background: var(--brand); color: #fff; font-size: .6em; font-weight: 700; line-height: 1; vertical-align: .2em; }
.v-bug { position: absolute; right: 3cqmin; bottom: 3.4cqmin; display: flex; align-items: center; gap: 1.4cqmin; max-width: 60%; padding: .6cqmin 2cqmin .6cqmin .6cqmin; border-radius: 99px; background: rgba(255,255,255,.92); color: #10123A; font-size: 3.4cqmin; font-weight: 700; white-space: nowrap; overflow: hidden; }
.v-bug .mark { width: 5.4cqmin; height: 5.4cqmin; margin: 0; font-size: 3.2cqmin; vertical-align: 0; }
.p-plus { fill: #fff; stroke: var(--brand-dark); stroke-width: 5px; paint-order: stroke; font-size: 30px; font-weight: 700; animation: p-plus .65s ease-out forwards; }
@keyframes p-plus { to { transform: translateY(-34px); opacity: 0; } }
@media (min-width: 900px) { .dads { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* the phone's bars for the PRADO apps */
.phone[data-app="kviz"] .sbar, .phone[data-app="kviz"] .hbar { background: #08243A; color: #fff; }
.phone[data-app="video"] .sbar, .phone[data-app="video"] .hbar { background: #0E0F1A; color: #fff; }

/* Play: family and adult products, where a tap leads */
.dpick-h { display: block; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.ddest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ddest .dchip .ic { width: 14px; height: 14px; }
.ddest .dchip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

/* Formats: rewards and destinations, one row each */
.drows { display: grid; gap: 2px; margin-top: 10px; border-radius: 16px; overflow: hidden; }
.drow { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--pane); }
.drow b { display: block; font-size: 15px; letter-spacing: -.01em; }
.drow small { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.35; color: var(--text-2); }
.drow .dpf { padding-left: 12px; padding-right: 12px; }
@media (min-width: 900px) { .drows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* banners that are not ads: the bottom one in Kviz, the empty one when the brand is for adults */
.banner.bottom { top: auto; bottom: 0; border-bottom: 0; border-top: .5cqw solid rgba(0,0,0,.08); }

/* after the click: pages and sheets drawn inside the phone */
.ov.page { padding: 0; place-items: stretch; align-content: start; background: #fff; color: #10123A; animation: page-in .28s cubic-bezier(.2,.9,.3,1); }
@keyframes page-in { from { transform: translateY(100%); } }
.pg-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 11cqw; padding: 0 3cqw; background: #F4F5F8; border-bottom: .3cqw solid #E3E5EC; font-size: 3.6cqw; }
.pg-done { justify-self: start; color: #2F6BFF; font-weight: 700; }
.pg-url { display: flex; align-items: center; gap: 1cqw; color: #4d4f6b; }
.pg-url .ic { width: 3.4cqw; height: 3.4cqw; }
.pg-body { overflow: auto; min-height: 0; }
.ov.page.site { align-content: stretch; grid-template-rows: auto minmax(0, 1fr); }
.pg-hero { position: relative; height: 62cqw; overflow: hidden; }
.pg-prod { width: 40cqw; height: 40cqw; filter: drop-shadow(0 2cqw 3cqw rgba(0,0,0,.3)); }
.pg-prod > svg, .ba-prod > svg, .cp-prod > svg, .st-shots svg { display: block; width: 100%; height: 100%; }
.pg-txt { display: grid; justify-items: start; gap: 2cqw; padding: 5cqw; }
.pg-txt > b { font-size: 7cqw; letter-spacing: -.02em; }
.pg-txt p { color: #4d4f6b; }
.pg-btn { margin-top: 1cqw; padding: 2.6cqw 6cqw; border-radius: 99px; background: var(--brand); color: #fff; font-weight: 700; }
.pg-txt small { color: #8a8ca3; font-size: 3cqw; }
.ov > .sheet { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3cqw; padding: 6cqw 5cqw 5cqw; border-radius: 6cqw 6cqw 0 0; background: #fff; color: #10123A; animation: page-in .28s cubic-bezier(.2,.9,.3,1); }
.sh-x { position: absolute; top: 3cqw; right: 3cqw; display: grid; place-items: center; width: 8cqw; height: 8cqw; border-radius: 50%; background: #EEF0F5; color: #4d4f6b; }
.sh-x .ic { width: 4cqw; height: 4cqw; }
.sh-title { font-size: 6cqw; letter-spacing: -.02em; padding-right: 10cqw; }
.sh-note { color: #8a8ca3; font-size: 3cqw; text-align: center; }
.st-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3cqw; align-items: center; padding-right: 9cqw; }
.st-ic { display: grid; place-items: center; width: 15cqw; height: 15cqw; border-radius: 3.6cqw; background: var(--brand); }
.st-ic .mark { width: auto; height: auto; margin: 0; background: none; font-size: 8cqw; }
.st-head b { display: block; font-size: 4.8cqw; }
.st-head small { color: #8a8ca3; font-size: 3.2cqw; }
.st-get { padding: 2cqw 5cqw; border-radius: 99px; background: #2F6BFF; color: #fff; font-weight: 700; text-align: center; }
.st-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.st-shots > div { display: grid; place-items: center; height: 44cqw; padding: 6cqw; border-radius: 4cqw; background-color: var(--brand-dark); background-position: center bottom; background-size: cover; }
.st-shots > .st-shot2 { background: color-mix(in srgb, var(--brand) 18%, #fff); }
.fm { display: grid; gap: 2.4cqw; }
.fm label { display: grid; gap: 1cqw; font-size: 3.2cqw; color: #4d4f6b; }
.fm input, .fm select { padding: 2.4cqw 3cqw; border: .3cqw solid #E3E5EC; border-radius: 2.6cqw; background: #F7F8FB; font-size: 16px; color: #10123A; }
.fm .fm-ok { display: flex; align-items: center; gap: 2cqw; }
.fm .fm-ok input { width: 5cqw; height: 5cqw; }
.fm-done { display: grid; justify-items: center; gap: 2cqw; text-align: center; }
.fm-done > .ic { width: 12cqw; height: 12cqw; color: #2BB673; }
.cp { display: grid; justify-items: center; gap: 2cqw; text-align: center; }
.cp-prod { width: 24cqw; height: 24cqw; }
.cp-code { padding: 2cqw 5cqw; border: .5cqw dashed var(--brand); border-radius: 3cqw; font-size: 8cqw; letter-spacing: .08em; color: var(--brand-dark); }
.cp-bars { display: flex; align-items: stretch; gap: .6cqw; height: 12cqw; }
.cp-bars i { width: .6cqw; background: #10123A; }
.cp-bars i.w1 { width: 1.2cqw; }
.cp-bars i.w2 { width: 1.8cqw; }
.cp small { color: #4d4f6b; font-size: 3.2cqw; }
.brandapp { background: color-mix(in srgb, var(--brand) 10%, #fff); }
.ba-back { position: absolute; top: 1.5cqw; left: 3cqw; z-index: 2; padding: 1cqw 2cqw; border-radius: 99px; background: rgba(255,255,255,.85); color: #2F6BFF; font-size: 3.2cqw; font-weight: 700; }
.ba-head { display: flex; align-items: center; justify-content: center; gap: 2cqw; height: 26cqw; padding-top: 6cqw; background: var(--brand); color: #fff; font-size: 6cqw; }
.ba-head .mark { background: #fff; color: var(--brand); }
.ba-card { display: grid; justify-items: center; gap: 2.4cqw; margin: -6cqw 5cqw 0; padding: 6cqw 5cqw; border-radius: 5cqw; background: #fff; text-align: center; box-shadow: 0 2cqw 6cqw rgba(0,2,40,.12); }
.ba-card small { color: #8a8ca3; font-size: 3.2cqw; }
.ba-prod { width: 36cqw; height: 36cqw; }
.ba-btn { padding: 2.6cqw 8cqw; border-radius: 99px; background: var(--brand); color: #fff; font-weight: 700; }
.ba-btn:disabled { background: #2BB673; }
.ov.page.map { background: #EDE6F2 url(img/demo/map.webp) center / cover; }
.mp-pins i { position: absolute; display: grid; place-items: center; }
.mp-pins i .mark { margin: 0; font-size: 3.4cqw; width: 7.6cqw; height: 7.6cqw; border: .7cqw solid #fff; border-radius: 50%; box-shadow: 0 1cqw 2cqw rgba(0,0,0,.25); }
.mp-pins .p1 { left: 30%; top: 22%; }
.mp-pins .p2 { left: 64%; top: 34%; }
.mp-pins .p3 { left: 20%; top: 47%; }
.mp-pins .me { left: 46%; top: 40%; width: 4.6cqw; height: 4.6cqw; border: 1cqw solid #fff; border-radius: 50%; background: #2F6BFF; box-shadow: 0 0 0 3cqw rgba(47,107,255,.25); }
.mp-list { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2.4cqw; padding: 5cqw; border-radius: 6cqw 6cqw 0 0; background: #fff; }
.mp-list > b { font-size: 5cqw; }
.mp-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3cqw; align-items: center; }
.mp-row b { display: block; font-size: 3.8cqw; }
.mp-row small { color: #8a8ca3; font-size: 3.2cqw; }
.mp-row .mark { margin: 0; font-size: 3.4cqw; width: 8cqw; height: 8cqw; }
.mp-row .cta.small { background: var(--brand); color: #fff; }
.ov .card.sv { justify-items: stretch; text-align: left; }
.sv > small { color: #8a8ca3; }
.sv > b { font-size: 6cqw; line-height: 1.2; }
.sv-opts { display: grid; gap: 2cqw; }
.sv-opts button { padding: 3cqw 4cqw; border-radius: 3cqw; background: #F1F3F8; font-weight: 700; }
.sv > .ic { justify-self: center; width: 14cqw; height: 14cqw; color: #F4A100; }
.sv > .g-btn, .sv > .g-link { justify-self: center; }

/* in-stream video in the video app */
.ir { position: absolute; inset: 0; container-type: size; }
.ir-tag { position: absolute; left: 2cqw; bottom: 2.6cqw; padding: .4cqw 1.6cqw; border-radius: 1cqw; background: #FFC93C; color: #10123A; font-size: 3cqw; font-weight: 700; }
.ir .v-time { left: 13cqw; }
.ir .v-bug { display: none; }
.ir-skip { position: absolute; right: 0; bottom: 6cqh; padding: 2cqw 3cqw; background: rgba(0,0,0,.7); color: #fff; font-size: 3.4cqw; font-weight: 700; border: .3cqw solid rgba(255,255,255,.4); border-right: 0; }
.ir-skip:disabled { opacity: .85; }
.ir-cta { position: absolute; right: 2cqw; top: 2cqw; }
.vd { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0E0F1A; color: #fff; }
.vd-top { display: flex; align-items: center; gap: 2cqw; padding: 3cqw 4cqw; font-size: 5cqw; font-weight: 700; }
.vd-logo { display: grid; place-items: center; width: 8cqw; height: 6cqw; border-radius: 1.6cqw; background: #7C3AED; }
.vd-logo .ic { width: 5cqw; height: 5cqw; }
.vd-player { position: relative; flex: none; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.vd-clip { position: absolute; inset: 0; overflow: hidden; }  /* the clip after the ad, over its own first frame (the poster) */
.vd-v { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
video.vd-v + video.vd-v { animation: fade .7s ease-in-out both; }  /* a one-shot clip dissolves back into its start */
.vd-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1cqw; background: rgba(255,255,255,.25); }
.vd-bar i { display: block; height: 100%; background: #7C3AED; transform-origin: left; transform: scaleX(var(--k, 0)); }
.vd-info { display: grid; gap: 1.6cqw; padding: 3cqw 4cqw; }
.vd-info b { font-size: 4.4cqw; }
.vd-back { justify-self: start; color: #B9A4FF; font-size: 3.6cqw; font-weight: 700; }
.vd-list { display: grid; gap: 3cqw; padding: 2cqw 4cqw; overflow: auto; }
.vd-player:not([hidden]) ~ .vd-info ~ .vd-list { display: none; }
.vd-item { display: grid; gap: 1.6cqw; }
.vd-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3cqw; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vd-thumb small { position: absolute; right: 1.6cqw; bottom: 1.6cqw; padding: .3cqw 1.4cqw; border-radius: 1cqw; background: rgba(0,0,0,.75); font-size: 2.8cqw; font-weight: 700; }
.vd-meta b { display: block; font-size: 4cqw; }
.vd-meta small { color: rgba(255,255,255,.6); font-size: 3.2cqw; }

/* Kviz */
.k-hud { position: absolute; top: 3cqw; left: 4cqw; right: 4cqw; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 700; pointer-events: none; }
.k-coins { display: flex; align-items: center; gap: 1.4cqw; padding: 1.2cqw 3cqw; border-radius: 99px; background: rgba(255,255,255,.14); }
.k-coins .ic, .k-won .ic { width: 5cqw; height: 5cqw; color: #FFC93C; }
.k-lives { display: flex; gap: 1cqw; }
.k-lives .ic { width: 5.4cqw; height: 5.4cqw; color: rgba(255,255,255,.3); }
.k-lives .on .ic { color: #FF6B7A; fill: #FF6B7A; }
.k-box { position: absolute; left: 5cqw; right: 5cqw; top: 14%; z-index: 2; display: grid; gap: 3cqw; padding: 5cqw; border-radius: 6cqw; background: rgba(255,255,255,.96); color: #10123A; box-shadow: 0 3cqw 8cqw rgba(0,0,0,.3); }
.k-box > small { color: #2A9D8F; font-weight: 700; }
.k-box > b { font-size: 6cqw; line-height: 1.2; letter-spacing: -.015em; }
.k-opts { display: grid; gap: 2.4cqw; }
.k-opt { padding: 3.4cqw 4cqw; border-radius: 3.4cqw; background: #EEF3F6; font-weight: 700; }
.k-opt.yes { background: #2BB673; color: #fff; }
.k-opt.no { background: #FF6B7A; color: #fff; animation: nope .35s; }
.k-opt.gone { opacity: .25; text-decoration: line-through; }
.k-hint { justify-self: center; display: flex; align-items: center; gap: 1.4cqw; padding: 2cqw 4cqw; border-radius: 99px; background: #08243A; color: #FFC93C; font-weight: 700; }
.k-hint .ic { width: 3.6cqw; height: 3.6cqw; }
.k-hint:disabled { opacity: .35; }
.k-won { display: flex; align-items: center; justify-content: center; gap: 1.6cqw; font-size: 7cqw; font-weight: 700; color: #FFC93C; opacity: 1 !important; }
.k-won .ic { width: 7cqw; height: 7cqw; }

/* a click lands somewhere you can see: the page loads, the brand's app opens with its logo */
.pg-bar { position: relative; }
.pg-bar::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: .8cqw; background: #2F6BFF; transform-origin: left; animation: load .9s ease-out forwards; }
@keyframes load { from { transform: scaleX(0); } 90% { transform: scaleX(1); opacity: 1; } to { transform: scaleX(1); opacity: 0; } }
.pg-nav { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 4cqw; font-size: 3.4cqw; }
.pg-nav b { margin-right: auto; font-size: 4.4cqw; }
.pg-nav span { color: #4d4f6b; }
.pg-nav .mark { margin: 0; font-size: 3.4cqw; }
.pg-play { position: absolute; left: 4cqw; bottom: 4cqw; z-index: 2; display: flex; align-items: center; gap: 1.4cqw; padding: 2cqw 3.6cqw; border-radius: 99px; background: rgba(255,255,255,.92); color: #10123A; font-size: 3.4cqw; font-weight: 700; }
.pg-play .ic { width: 3.4cqw; height: 3.4cqw; }
.pg-colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2cqw; padding: 0 5cqw; }
.pg-colors span { aspect-ratio: 1; padding: 2cqw; border-radius: 3cqw; background: #F4F5F8; }
.pg-colors svg { display: block; width: 100%; height: 100%; }
.pg-feats { display: grid; gap: 2.4cqw; padding: 4cqw 5cqw; }
.pg-feats div { display: flex; align-items: center; gap: 2.4cqw; font-size: 3.6cqw; font-weight: 700; }
.pg-feats .ic { flex: none; width: 7cqw; height: 7cqw; padding: 1.4cqw; border-radius: 2cqw; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand-dark); }
.pg-foot { display: block; padding: 2cqw 5cqw 6cqw; color: #8a8ca3; font-size: 3cqw; }
.pg-film { position: absolute; inset: 0; z-index: 5; background: #000; animation: fade .2s; }
.pg-film .sh-x { z-index: 3; background: rgba(255,255,255,.85); }
.ba-film { position: relative; height: 46cqw; margin: -6cqw 5cqw 0; overflow: hidden; border-radius: 5cqw; box-shadow: 0 2cqw 6cqw rgba(0,2,40,.15); }
.ba-film + .ba-card { margin-top: 4cqw; padding: 4cqw 5cqw; }
.ba-film + .ba-card .ba-prod { width: 22cqw; height: 22cqw; }
.ba-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 3cqw 0 4cqw; background: #fff; border-top: .3cqw solid #E3E5EC; color: #8a8ca3; }
.ba-tabs .ic { width: 6cqw; height: 6cqw; }
.ba-tabs .ic:first-child { color: var(--brand); }
.ba-splash { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 2cqw; background: var(--brand); color: #fff; font-size: 7cqw; pointer-events: none; animation: splash 1.2s ease-in forwards; }
.ba-splash .mark { width: 16cqw; height: 16cqw; margin: 0; border-radius: 26%; background: #fff; color: var(--brand); font-size: 9cqw; animation: splash-logo 1s cubic-bezier(.2,1.4,.4,1); }
@keyframes splash { 0%, 70% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes splash-logo { from { transform: scale(.5); } }

/* the brand film: ten seconds, a shot list in keyframes; .loop repeats it, otherwise it stops on the end slate */
.film { position: absolute; inset: 0; overflow: hidden; container-type: size; background: var(--brand-dark); color: #fff; }
.film > * { position: absolute; animation-duration: 10s; animation-fill-mode: both; }
.film.loop > *, .film.loop .f-end { animation-iteration-count: infinite; }
.f-scene { inset: -6%; background-position: center 70%; background-size: cover; animation-name: f-kb; animation-timing-function: ease-in-out; }
.f-scene.clip { inset: 0; animation-name: none; }  /* the scene's clip moves by itself: no zoom on top of it */
.f-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.f-shade { inset: 0; background: linear-gradient(color-mix(in srgb, var(--brand) 88%, transparent), color-mix(in srgb, var(--brand) 40%, transparent) 45%, transparent 75%); animation: none; }
.f-prod { left: 50%; top: 8%; width: 44cqmin; height: 44cqmin; transform: translateX(-50%); filter: drop-shadow(0 2cqmin 3cqmin rgba(0,0,0,.3)); }
.f-prod > svg { display: block; width: 100%; height: 100%; }
.f-copy { left: 6%; right: 6%; top: 58%; display: grid; justify-items: center; gap: 1cqmin; text-align: center; text-shadow: 0 .3cqmin 1.6cqmin rgba(0,0,0,.5); }
.f-copy b { font-size: 9cqmin; line-height: 1.05; letter-spacing: -.02em; }
.f-copy span { font-size: 5cqmin; text-shadow: 0 .15cqmin .5cqmin rgba(0,0,0,.65), 0 .3cqmin 1.6cqmin rgba(0,0,0,.5), 0 0 3cqmin rgba(0,0,0,.35); }  /* the small line stays readable over a busy scene */
.f-end { inset: 0; display: grid; place-content: center; justify-items: center; gap: 2cqmin; padding: 8cqmin; background: var(--brand); text-align: center; opacity: 0; animation-name: f-end; }
.f-end .mark { width: 16cqmin; height: 16cqmin; margin: 0; border-radius: 26%; background: #fff; color: var(--brand); font-size: 9cqmin; vertical-align: 0; }
.f-end b { font-size: 9cqmin; letter-spacing: -.02em; }
.f-end span { max-width: 80%; font-size: 4.6cqmin; opacity: .9; }
.f-bar { left: 0; right: 0; bottom: 0; z-index: 2; height: 1.2cqmin; background: rgba(255,255,255,.3); animation: none; }
.f-bar i { display: block; height: 100%; background: #fff; transform-origin: left; animation: f-bar 10s linear forwards; }
.kid .f-prod { animation-name: f-drop; }
.kid .f-copy { animation-name: f-pop; }
.kid .f-copy b { font-size: 10cqmin; }
.f-dots { inset: 0; animation: none; }
.f-dots i { position: absolute; top: -6%; width: 2.6cqmin; height: 2.6cqmin; border-radius: 50%; background: #FFC93C; animation: f-fall 2.6s linear infinite; }
.f-dots i:nth-child(2n) { background: #fff; width: 2cqmin; height: 2cqmin; }
.f-dots i:nth-child(3n) { background: #FF7A6B; border-radius: 30%; }
.f-dots i:nth-child(1) { left: 8%; } .f-dots i:nth-child(2) { left: 22%; animation-delay: .7s; } .f-dots i:nth-child(3) { left: 36%; animation-delay: 1.5s; } .f-dots i:nth-child(4) { left: 50%; animation-delay: .3s; }
.f-dots i:nth-child(5) { left: 63%; animation-delay: 1.1s; } .f-dots i:nth-child(6) { left: 76%; animation-delay: 1.9s; } .f-dots i:nth-child(7) { left: 88%; animation-delay: .5s; } .f-dots i:nth-child(8) { left: 95%; animation-delay: 1.3s; }
.grown .f-prod { animation-name: f-glide; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
.grown .f-copy { animation-name: f-rise; }
.grown .f-copy b { font-weight: 700; letter-spacing: .01em; }
.f-sweep { top: -20%; bottom: -20%; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); animation-name: f-sweep; animation-timing-function: ease-in-out; }
@keyframes f-kb { from { transform: scale(1.12) translate(2%, 1%); } to { transform: scale(1) translate(-2%, 0); } }
@keyframes f-drop { 0%, 4% { transform: translate(-50%, -150%) rotate(-25deg); opacity: 0; } 12% { transform: translate(-50%, 8%) rotate(8deg); opacity: 1; } 16% { transform: translate(-50%, -6%) rotate(-4deg); } 20%, 32% { transform: translate(-50%, 0); } 42% { transform: translate(-50%, -5%) rotate(4deg); } 52%, 62% { transform: translate(-50%, 0); opacity: 1; } 68%, 100% { transform: translate(-50%, 0) scale(.4); opacity: 0; } }
@keyframes f-pop { 0%, 18% { opacity: 0; transform: scale(.5) rotate(-8deg); } 24% { opacity: 1; transform: scale(1.08) rotate(2deg); } 28%, 62% { opacity: 1; transform: none; } 68%, 100% { opacity: 0; } }
@keyframes f-glide { 0%, 4% { transform: translate(10%, 0); opacity: 0; filter: blur(8px) drop-shadow(0 0 0 transparent); } 20% { transform: translate(-50%, 0); opacity: 1; filter: blur(0) drop-shadow(0 2cqmin 3cqmin rgba(0,0,0,.3)); } 62% { transform: translate(-53%, 0) scale(1.05); opacity: 1; } 68%, 100% { opacity: 0; transform: translate(-56%, 0) scale(1.05); } }
@keyframes f-rise { 0%, 20% { opacity: 0; transform: translateY(20%); letter-spacing: .2em; } 30%, 62% { opacity: 1; transform: none; } 68%, 100% { opacity: 0; } }
@keyframes f-sweep { 0%, 24% { left: -40%; } 42%, 100% { left: 120%; } }
@keyframes f-end { 0%, 66% { opacity: 0; transform: translateY(100%); } 72%, 100% { opacity: 1; transform: none; } }
@keyframes f-fall { from { transform: translateY(0) rotate(0); } to { transform: translateY(120cqh) rotate(400deg); } }
@keyframes f-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .ba-splash, .f-dots, .f-sweep { display: none; } }


/* ---------- the gallery (Play): one card per ad format, a small phone that plays it in three beats ---------- */
.gal { --beat: 3200ms; margin-top: 10px; }
.gal-track { display: flex; gap: 10px; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  overscroll-behavior-x: contain; scrollbar-width: none; outline-offset: -3px; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track::after { content: ''; flex: 0 0 calc(100% - min(100% - 46px, 330px) - 10px); }  /* room for the last card to reach the left edge */
.gcard { flex: 0 0 min(100% - 46px, 330px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 10px; border-radius: 20px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.gcard-show { display: grid; grid-template-columns: 56% minmax(0, 1fr); gap: 12px; padding: 12px 10px 12px 12px; border-radius: 14px; background: var(--pane-2); cursor: pointer; }
.gcard-side { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.gcard-side img { width: 38px; height: 38px; margin-bottom: 3px; border-radius: 11px; }
.gcard-side b { font-size: 14px; line-height: 1.2; letter-spacing: -.01em; }
.gcard-side small { font-size: 12px; line-height: 1.3; color: var(--text-3); }
.gcard-side .by { flex-wrap: wrap; margin-top: 5px; }
.gcard-beats { display: flex; gap: min(5px, 1.2vw); margin-top: auto; }
.gcard-beats i { display: grid; place-items: center; width: min(22px, 6vw); height: min(22px, 6vw); border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); font-style: normal; font-size: 12px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.gcard-beats i.now { background: var(--accent); box-shadow: none; color: var(--on-accent); }
.gcard-txt { min-width: 0; padding: 0 2px; }
.gcard-txt h3 { margin: 0; font-size: 18px; line-height: 1.2; letter-spacing: -.015em; }
.gcard-txt p { display: none; }
.gcard-txt ol { list-style: none; display: grid; margin: 4px 0 0; padding: 0; }
.gcard-txt li { grid-area: 1 / 1; visibility: hidden; font-size: 14px; line-height: 1.4; color: var(--text-2); }  /* the three lines share one cell: the tallest sets the height, so nothing jumps */
.gcard-txt li.now { visibility: visible; }
.gcard-txt li i { display: none; }
.gcard-go { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: auto; padding: 10px 18px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 700; transition: opacity .12s ease; }
.gcard-go:active { opacity: .7; }
.gcard-go .ic { width: 13px; height: 13px; }
.gal-ctl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; min-height: 28px; }
.gal-pips { display: flex; align-items: center; gap: 7px; }
.gal-pip { position: relative; width: 8px; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--text-3) 45%, transparent); transition: width .2s ease; }
.gal-pip::after { content: ''; position: absolute; inset: -12px -3px; }
.gal-pip.on { width: 28px; }
.gal-pip i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.gal-pip.on i { transform: none; }
.gal.self .gal-pip.on i { animation: gal-fill calc(var(--beat) * 3) linear both; }
@keyframes gal-fill { from { transform: scaleX(0); } }
.gal-arrow { display: none; }
@media (hover: hover) and (pointer: fine) { .gal-arrow { display: grid; } }
.gal + .foot { text-align: center; }
/* without motion: the three lines as a list, the picture on its middle beat */
.gal.still .gcard-txt ol { gap: 4px; }
.gal.still .gcard-txt li { grid-area: auto; visibility: visible; display: grid; grid-template-columns: 16px minmax(0, 1fr); }
.gal.still .gcard-txt li i { display: block; font-style: normal; font-weight: 700; color: var(--text-3); }
.gal.still .gcard-beats, .gal.still .gal-pip.on i { display: none; }
.gal.still .gal-pip.on { background: var(--accent); }
.pub-hero.slim h1 { font-size: 22px; }
.dpanel > .pub-offer { margin-top: 10px; }
.dpanel > .pub-cta { margin-top: 12px; }

/* the small phone: its own drawings, sized by its width and larger than life, so the "Ad" label reads at 150 px */
.gp { position: relative; container-type: inline-size; aspect-ratio: 9 / 18; overflow: hidden; border-radius: 11% / 5.5%; background: #DDF4FF; color: #10123A; font-weight: 700; line-height: 1.2; text-align: center;
  box-shadow: 0 0 0 3px #07081A, 0 0 0 4px #3A3D52, 0 8px 22px rgba(0,2,40,.28); user-select: none; -webkit-user-select: none; }
.gp > * { font-size: 6.2cqw; }
.gp[data-beat="0"] [data-on]:not([data-on*="0"]), .gp[data-beat="1"] [data-on]:not([data-on*="1"]), .gp[data-beat="2"] [data-on]:not([data-on*="2"]) { display: none; }
.gcard:not(.on) .gp *, .gcard:not(.on) .gp *::before, .gcard:not(.on) .gp *::after { animation: none !important; }  /* only the card in view plays */
.gp .ic { width: 1em; height: 1em; }
.gp-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.gp-bg.balloons { background-image: url(img/demo/bg-balloons.webp); }
.gp-bg.tower { background-image: url(img/demo/bg-tower.webp); }
.gp-bg.playable { background-image: url(img/demo/bg-playable.webp); }
.gp-balloons span { position: absolute; width: 21cqw; animation: gp-bob 2.8s ease-in-out infinite alternate; }
.gp-balloons span:nth-child(1) { left: 9%; top: 52%; }
.gp-balloons span:nth-child(2) { left: 41%; top: 36%; animation-delay: -1.1s; }
.gp-balloons span:nth-child(3) { left: 70%; top: 58%; animation-delay: -2s; }
.gp-balloons span:nth-child(4) { left: 27%; top: 72%; animation-delay: -.5s; }
.gp-balloons img { width: 100%; }
@keyframes gp-bob { to { transform: translateY(-9cqw); } }
.gp[data-beat="1"] .gp-balloons span:nth-child(2) img { animation: gp-popped .3s ease-out 1.45s forwards; }
@keyframes gp-popped { to { transform: scale(1.5); opacity: 0; } }
.gp-hud { position: absolute; top: 5%; left: 4cqw; right: 4cqw; z-index: 1; display: flex; justify-content: space-between; gap: 1.6cqw; font-size: 5.2cqw; }
.gp-hud.low { top: 17%; }
.gp-hud > span { display: flex; align-items: center; gap: .3em; padding: 1.4cqw 2.8cqw; border-radius: 99px; background: rgba(255,255,255,.88); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gp-hud i { font-style: normal; }
.gp-hud i.more { color: #128A52; }
.gp-hud .ic, .gp-stars .ic { fill: #FFB703; stroke: #F48C06; stroke-width: 1.4; }
.gp-dim { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 7cqw; background: rgba(10,12,40,.55); animation: fade .25s ease-out; }
.gp-card { display: grid; justify-items: center; gap: 3cqw; width: 100%; padding: 7cqw 4cqw 6cqw; border-radius: 8cqw; background: #fff; box-shadow: 0 3cqw 10cqw rgba(0,0,0,.3); animation: gp-pop .35s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes gp-pop { from { opacity: 0; transform: scale(.8); } }
.gp-card > b { font-size: 10cqw; line-height: 1.05; letter-spacing: -.02em; }
.gp-card > small { font-size: 5.4cqw; font-weight: 400; color: #4d4f6b; }
.gp-gift { display: grid; place-items: center; width: 20cqw; height: 20cqw; border-radius: 50%; background: #E3ECFF; color: #2F6BFF; font-size: 11cqw; }
.gp-stars { display: flex; gap: 1.6cqw; font-size: 12cqw; }
.gp-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 1.6cqw; padding: 3.6cqw 5cqw; border-radius: 99px; background: #FF5D73; color: #fff; font-size: 6.2cqw; white-space: nowrap; box-shadow: 0 1.4cqw 0 #D9405A; }
.gp-btn.green { background: #0DC89A; color: #000228; box-shadow: 0 1.4cqw 0 #08977A; }
.gp-tag { display: inline-block; padding: .8cqw 2.4cqw; border-radius: 1.6cqw; background: #FFC93C; color: #10123A; font-size: 5cqw; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; }
.gp-x { position: relative; display: grid; place-items: center; width: 13cqw; height: 13cqw; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 6cqw; font-variant-numeric: tabular-nums; }
.gp-x.free { background: #fff; color: #10123A; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.3); }
.gp-ad { position: absolute; inset: 0; z-index: 3; background: #0B0D2E; color: #fff; animation: fade .3s ease-out; }
.gp-adtop { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 4cqw; }
.gp .v-bar { height: 2cqmin; }
.gp .v-bar i { animation: gp-bar var(--beat) linear both; }
.gp[data-f="interstitial"] .v-bar i { animation-duration: calc(var(--beat) * 2); }
@keyframes gp-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.gcard:not(.on) .gp .v-bar i { transform: scaleX(.45); }
.gp-toast { position: absolute; left: 50%; top: 42%; z-index: 2; padding: 3cqw 6cqw; border-radius: 99px; background: #2BB673; color: #fff; font-size: 8cqw; white-space: nowrap; box-shadow: 0 2cqw 6cqw rgba(0,0,0,.25); transform: translateX(-50%); animation: gp-toast .5s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes gp-toast { from { opacity: 0; transform: translateX(-50%) scale(.5); } }

.gp-prod { position: relative; flex: none; display: block; width: 15cqw; height: 15cqw; }
.gp-prod > svg { display: block; width: 100%; height: 100%; }
.gp-txt { flex: 1; min-width: 0; display: grid; text-align: left; }
.gp-txt b { font-size: 6.2cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-txt span { font-size: 4.8cqw; font-weight: 400; color: #4d4f6b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-cta { position: relative; display: block; padding: 3cqw 5cqw; border-radius: 99px; background: var(--brand); color: #fff; font-size: 6cqw; text-align: center; white-space: nowrap; }
.gp-banner { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 2.4cqw; height: 14.2%; padding: 5cqw 3cqw 0; background: #fff; border-bottom: .6cqw solid rgba(0,2,40,.12); }
.gp-banner .gp-tag { position: absolute; top: 1.4cqw; right: 2cqw; padding: .4cqw 1.8cqw; font-size: 4.4cqw; }
.gp[data-beat="0"] .gp-banner .gp-tag, .gp[data-beat="1"] .gp-native .gp-tag { animation: gp-ring 1.1s ease-out .5s 2; }
@keyframes gp-ring { from { box-shadow: 0 0 0 0 rgba(255,201,60,.9); } to { box-shadow: 0 0 0 5cqw rgba(255,201,60,0); } }
.gp-banner.swap { animation: gp-swap .45s ease-out both; }
@keyframes gp-swap { from { opacity: 0; transform: translateX(30%); } }

.gp-drops span { position: absolute; width: 17cqw; height: 17cqw; animation: gp-fall 2.4s linear infinite; }
.gp-drops span:nth-child(1) { left: 14%; top: 24%; }
.gp-drops span:nth-child(2) { left: 62%; top: 34%; animation-delay: -.8s; }
.gp-drops span:nth-child(3) { left: 38%; top: 29%; animation-delay: -1.6s; }
.gp-drops svg { display: block; width: 100%; height: 100%; }
@keyframes gp-fall { from { transform: translateY(-80cqw) rotate(-30deg); } to { transform: translateY(96cqw) rotate(160deg); } }
.gp-catch { position: absolute; left: 50%; bottom: 8%; width: 36cqw; margin-left: -18cqw; animation: gp-sway var(--beat) ease-in-out infinite; }
.gp-catch img { width: 100%; }
.gp-catch .gp-tap { left: 50%; top: 64%; animation: none; }
.gp-catch .gp-tap::after { display: none; }
@keyframes gp-sway { 0%, 100% { transform: translateX(-22cqw); } 50% { transform: translateX(22cqw); } }
.gp-pill { position: absolute; top: 20%; left: 50%; z-index: 1; padding: 1.8cqw 4.4cqw; border-radius: 99px; background: rgba(255,255,255,.92); font-size: 6cqw; white-space: nowrap; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.gp-end { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 3cqw; padding: 18cqw 6cqw 8cqw; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 22%, #fff), #fff 70%); animation: fade .3s ease-out; }
.gp-end .gp-prod { width: 46cqw; height: 46cqw; animation: v-in .6s cubic-bezier(.2,1.5,.4,1) both; }
.gp-end > b { font-size: 10cqw; line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.gp-end > small { font-size: 5.4cqw; font-weight: 400; color: #4d4f6b; }
.gp-end .gp-cta { margin-top: 2cqw; padding: 3.6cqw 8cqw; }

.gp-vf { position: relative; width: 100%; padding: 3.4cqw; border-radius: 7cqw; background: var(--brand); color: #fff; box-shadow: 0 0 0 1.8cqw color-mix(in srgb, var(--brand) 35%, #fff), 0 3cqw 10cqw rgba(0,0,0,.35); animation: gp-pop .35s cubic-bezier(.2,1.4,.4,1) both; }
.gp-vftop { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2.6cqw; }
.gp-vf .gp-x { width: 10cqw; height: 10cqw; background: rgba(0,0,0,.25); font-size: 5cqw; }
.gp-screen { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 4cqw; background: #000; }
.gp-screen .v[data-scene], .gp-player .v[data-scene] { align-content: center; padding-top: 0; }
.gp-vfrow { display: flex; align-items: center; gap: 2.6cqw; margin-top: 3cqw; }
.gp-vf .gp-prod { width: 17cqw; height: 17cqw; padding: 1.8cqw; border-radius: 4.4cqw; background: #fff; }
.gp[data-beat="1"] .gp-vf .gp-prod > svg { animation: gp-hop .5s cubic-bezier(.2,1.6,.4,1) 1.45s; }
@keyframes gp-hop { 40% { transform: translateY(-5cqw) rotate(-12deg) scale(1.15); } }
.gp-vf .gp-txt span { color: rgba(255,255,255,.85); }
.gp-vf .gp-cta { margin-top: 3cqw; background: #fff; color: var(--brand-dark); }
.gp-menu { position: absolute; left: 6cqw; right: 6cqw; top: 12%; z-index: 1; display: grid; justify-items: center; gap: 3cqw; padding: 8cqw 5cqw 6cqw; border-radius: 7cqw; background: rgba(14,17,54,.82); color: #fff; box-shadow: 0 0 0 .4cqw rgba(255,255,255,.14); }
.gp-menu > b { font-size: 13cqw; line-height: 1; letter-spacing: -.035em; }
.gp-menu > small { font-size: 5cqw; font-weight: 400; opacity: .75; }
.gp-native { position: relative; display: flex; align-items: center; gap: 2.6cqw; width: 100%; margin-top: 6cqw; padding: 5cqw 3cqw 3.6cqw; border-radius: 5cqw; background: rgba(255,255,255,.1); border: .4cqw solid rgba(255,255,255,.22); }
.gp-native .gp-prod { padding: 1.4cqw; border-radius: 3.6cqw; background: #fff; }
.gp-native .gp-txt span { color: rgba(255,255,255,.72); }
.gp-native .gp-tag { position: absolute; top: -3.4cqw; left: 3cqw; }
.gp-site { position: absolute; inset: 9% 0 0; z-index: 4; display: grid; align-content: start; overflow: hidden; border-radius: 6cqw 6cqw 0 0; background: #fff; color: #10123A; box-shadow: 0 -2cqw 8cqw rgba(0,0,0,.3); animation: gp-rise .45s cubic-bezier(.2,.9,.3,1) 1.5s both; }
@keyframes gp-rise { from { transform: translateY(102%); } }
.gp-sitebar { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 3.4cqw 4cqw; background: #F4F5F8; border-bottom: .4cqw solid #E3E5EC; font-size: 5cqw; }
.gp-sitebar > span:first-child { color: #2F6BFF; }
.gp-url { display: flex; align-items: center; gap: 1cqw; font-weight: 400; color: #4d4f6b; }
.gp-hero { display: grid; place-items: center; height: 48cqw; background-color: var(--brand-dark); background-position: center bottom; background-size: cover; }
.gp-hero .gp-prod { width: 32cqw; height: 32cqw; filter: drop-shadow(0 2cqw 3cqw rgba(0,0,0,.3)); }
.gp-sitetxt { display: grid; justify-items: start; gap: 3cqw; padding: 5cqw; text-align: left; }
.gp-sitetxt b { font-size: 7.4cqw; line-height: 1.15; letter-spacing: -.02em; }

.gp-vd { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0E0F1A; color: #fff; text-align: left; }
.gp-vdtop { display: flex; align-items: center; gap: 2.4cqw; padding: 6cqw 5cqw 4cqw; font-size: 7cqw; }
.gp-vdlogo { display: grid; place-items: center; width: 11cqw; height: 8cqw; border-radius: 2cqw; background: #7C3AED; font-size: 6cqw; }
.gp-vdlist { display: grid; gap: 4cqw; padding: 1cqw 5cqw; }
.gp-clip { display: grid; gap: 1.8cqw; }
.gp-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3.4cqw; }
.gp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gp-thumb small { position: absolute; right: 2cqw; bottom: 2cqw; padding: .4cqw 1.8cqw; border-radius: 1.2cqw; background: rgba(0,0,0,.75); font-size: 4.4cqw; }
.gp-clip b { font-size: 5.6cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-player { position: relative; flex: none; aspect-ratio: 16 / 12; overflow: hidden; background: #000; animation: fade .3s ease-out; }
.gp-player .gp-tag { position: absolute; left: 3cqw; bottom: 5cqw; z-index: 2; }
.gp-skip { position: absolute; right: 0; bottom: 5cqw; z-index: 2; padding: 2.4cqw 3cqw; background: rgba(0,0,0,.72); border: .4cqw solid rgba(255,255,255,.4); border-right: 0; color: rgba(255,255,255,.75); font-size: 4.8cqw; white-space: nowrap; }
.gp-skip.free { border-color: #fff; color: #fff; }
.gp-vdinfo { display: grid; gap: 2.6cqw; padding: 5cqw; }
.gp-vdinfo b { font-size: 6.4cqw; }
.gp-vdinfo i { height: 3cqw; border-radius: 99px; background: rgba(255,255,255,.14); }
.gp-vdinfo i:last-child { width: 60%; }

/* the finger: comes in, presses, and what it pressed answers a moment later */
.gp-tap { position: absolute; left: 95%; top: 100%; z-index: 6; width: 13cqw; height: 13cqw; margin: -6.5cqw 0 0 -6.5cqw; border-radius: 50%; background: rgba(16,18,58,.4); border: 1cqw solid #fff;
  box-shadow: 0 0 0 .5cqw rgba(16,18,58,.45), 0 1.4cqw 4cqw rgba(0,0,0,.35); pointer-events: none; animation: gp-tap var(--beat) ease-out both; }
.gp-tap::after { content: ''; position: absolute; inset: -1cqw; border-radius: 50%; border: 1cqw solid #fff; opacity: 0; animation: gp-ripple var(--beat) ease-out both; }
@keyframes gp-tap { 0%, 20% { opacity: 0; transform: translate(7cqw, 9cqw) scale(1.5); } 34% { opacity: 1; transform: none; } 42% { transform: scale(.76); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes gp-ripple { 0%, 42% { opacity: 0; transform: scale(1); } 45% { opacity: .9; } 72%, 100% { opacity: 0; transform: scale(2.3); } }
.gp-x .gp-tap { left: 24%; top: 84%; }  /* beside what it presses, so the label stays readable */
.gp-prod .gp-tap { left: 74%; top: 78%; }
.gp-skip .gp-tap { left: 12%; top: 92%; }
.gp-thumb .gp-tap, .gp-balloons .gp-tap { left: 50%; top: 52%; }
.gp-balloons .gp-tap { top: 40%; }

@media (min-width: 900px) {  /* a laptop or a projector: one wide card at a time, the three lines in full */
  .gal-track { gap: 20px; }  /* wider than the gutter: the next card stays out of sight */
  .gal-track::after { display: none; }
  .gcard { flex-basis: 100%; display: grid; grid-template-columns: 400px minmax(0, 1fr); grid-template-rows: 1fr auto 1fr; gap: 14px 30px; padding: 14px 30px 14px 14px; }
  .gcard-show { grid-row: 1 / 4; grid-template-columns: 205px minmax(0, 1fr); gap: 18px; padding: 18px; }
  .gcard-side img { width: 48px; height: 48px; border-radius: 13px; }
  .gcard-side b { font-size: 16px; }
  .gcard-side small { font-size: 13px; }
  .gcard-beats { display: none; }
  .gcard-txt { align-self: end; padding: 0; }
  .gcard-txt h3 { font-size: 30px; letter-spacing: -.025em; }
  .gcard-txt p { display: block; margin-top: 8px; max-width: 34em; font-size: 15px; line-height: 1.45; color: var(--text-2); }
  .gcard-txt ol, .gal.still .gcard-txt ol { gap: 8px; margin-top: 18px; }
  .gcard-txt li, .gal.still .gcard-txt li { grid-area: auto; visibility: visible; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; transition: color .2s ease; }
  .gcard-txt li.now { color: var(--text); }
  .gcard-txt li i, .gal.still .gcard-txt li i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); font-style: normal; font-size: 13px; font-weight: 700; color: var(--text-3); }
  .gcard-txt li.now i { background: var(--accent); box-shadow: none; color: var(--on-accent); }
  .gal.still .gcard-txt li, .gal.still .gcard-txt li.now { color: var(--text-2); }
  .gal.still .gcard-txt li.now i { background: none; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--text-3); }
  .gcard-go { align-self: start; justify-self: start; margin: 0 0 6px; padding: 10px 28px; }
  .pub-hero.slim h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { .gal-pip { transition: none; } }

/* ---------- a client's demo (pult only, bot/miniapp/clients/<id>/): its own tab first ---------- */
.mark.logo { overflow: hidden; padding: 0; background: #fff; }
.mark.logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cl-hero { display: grid; gap: 10px; margin-top: 4px; }
.cl-cover { position: relative; overflow: hidden; border-radius: 18px; background: var(--pane-2); }
.cl-cover img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cl-cover > div { position: absolute; inset: auto 0 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(0, 2, 40, .82)); color: #fff; }
.cl-cover small { font-size: 12px; font-weight: 700; color: #8FF0D2; letter-spacing: .01em; }
.cl-cover h1 { margin: 3px 0 0; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; }
.cl-hero > p { font-size: 15px; line-height: 1.45; color: var(--text-2); }
.cl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-chips button { padding: 8px 12px; border-radius: 99px; background: var(--pane-2); font-size: 13px; font-weight: 700; }
.cl-h { scroll-margin-top: calc(var(--top) + 72px); }
.cl-lead { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.cl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.cl-facts > div { display: grid; align-content: start; gap: 2px; padding: 10px; border-radius: 14px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.cl-facts b { font-size: 18px; line-height: 1.15; color: var(--link); letter-spacing: -.01em; }
.cl-facts small { font-size: 12px; line-height: 1.3; color: var(--text-2); }
.cl-row { display: flex; gap: 8px; margin: 8px calc(var(--gut) * -1) 0; padding: 2px var(--gut) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; scrollbar-width: none; }
.cl-row::-webkit-scrollbar { display: none; }
.cl-sc { flex: 0 0 min(78%, 280px); scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 16px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.cl-sc > i { padding: 2px 8px; border-radius: 99px; background: var(--marker); font-style: normal; font-size: 12px; font-weight: 700; }
.cl-sc > b { font-size: 16px; line-height: 1.25; letter-spacing: -.01em; }
.cl-sc > small { font-size: 13px; color: var(--text-2); }
.cl-sc > span { font-size: 13px; line-height: 1.35; color: var(--link); font-weight: 700; }
.cl-sc .dpf { margin-top: auto; padding-top: 6px; }
.cl-ex { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 10px; padding: 12px; border-radius: 18px; background: var(--pane-2); scroll-margin-top: calc(var(--top) + 72px); }
.cl-ph { position: relative; display: block; width: 100%; }
.cl-ph img { display: block; width: 100%; filter: drop-shadow(0 8px 18px rgba(0, 2, 40, .22)); }
.cl-tap { position: absolute; left: 50%; bottom: 14%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: rgba(16, 18, 58, .35); border: 2px solid #fff; animation: cl-tap 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes cl-tap { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.82); opacity: .55; } }
.cl-ex-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.cl-ex-txt > b { font-size: 16px; line-height: 1.25; letter-spacing: -.01em; }
.cl-ex-txt > small { font-size: 12px; font-weight: 700; color: var(--link); }
.cl-ex-txt > p { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.cl-dots { display: flex; gap: 5px; margin-top: 4px; }
.cl-dots i { width: 7px; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--text-3) 45%, transparent); transition: width .2s ease; }
.cl-dots i.on { width: 18px; background: var(--accent); }
.cl-step { min-height: 2.6em; font-size: 13px; font-weight: 700; line-height: 1.3; }
.cl-list { display: grid; gap: 6px; margin-top: 8px; }
.cl-list > div { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.cl-dot { grid-row: span 2; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--link); }
.cl-list b { font-size: 14px; } .cl-list small { font-size: 12px; color: var(--text-2); }
.cl-plan { list-style: none; display: grid; gap: 0; margin: 8px 0 0; padding: 0; }
.cl-plan li { position: relative; display: grid; gap: 1px; padding: 0 0 12px 22px; }
.cl-plan li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.cl-plan li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.cl-plan i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--link); }
.cl-plan b { font-size: 15px; }
.cl-next { display: grid; gap: 8px; margin-top: 18px; padding: 14px; border-radius: 18px; background: var(--pane); box-shadow: inset 0 0 0 1px var(--line); }
.cl-next .day { margin-top: 0; }
.cl-next p { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.cl-note { margin-top: 2px; }
.cl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cl-cta .gcard-go { flex: 1 1 160px; text-decoration: none; }
.cl-cta .dchip { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .cl-tap { animation: none; } }
@media (min-width: 900px) {
  .cl-cover h1 { font-size: 30px; max-width: 18em; }
  .cl-ex { grid-template-columns: 260px minmax(0, 1fr); }
}

/* ---------- a client's model picker (quizAd): two questions, a model, the partners in a city ---------- */
.cl-ex.live { grid-template-columns: 1fr; justify-items: center; }
.cl-ex.live .cl-ex-txt { justify-self: stretch; }
.cl-live { width: min(100%, 300px); padding: 8px; border-radius: 40px; background: #0B0C1E; box-shadow: 0 12px 30px rgba(0, 2, 40, .25); }
.cl-live-scr { position: relative; container-type: inline-size; aspect-ratio: 9 / 19; overflow: hidden; border-radius: 32px; background: #fff; }
.cl-ex.live .cl-cta { justify-content: center; }
.qz-ov { position: absolute; inset: 0; z-index: 30; background: #fff; }
.qz { position: absolute; inset: 0; display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; background: #F5F8FC;
  color: #10123A; font-size: 4.2cqw; line-height: 1.3; text-align: left; -webkit-user-select: none; user-select: none; }
.qz::-webkit-scrollbar { display: none; }
.qz .ic { width: 1em; height: 1em; }
.qz button { font-family: inherit; line-height: inherit; color: inherit; }
.qz-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 9cqw 4cqw 0; }
.qz-tag { padding: 1cqw 2.4cqw; border-radius: 99px; background: rgba(255, 255, 255, .92); color: #10123A; font-size: 3cqw; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.qz-logo { display: grid; place-items: center; height: 7cqw; padding: 0 3cqw; border-radius: 2cqw; background: var(--brand); }
.qz-logo img { display: block; height: 3.6cqw; }
.qz-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qz-offer { position: relative; z-index: 1; display: grid; align-content: center; gap: 4cqw; min-height: 100%; padding: 12cqw 6cqw; background: rgba(10, 12, 40, .35); }
.qz-card { display: grid; justify-items: center; gap: 2cqw; padding: 5cqw; border-radius: 6cqw; background: #fff; text-align: center; box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, .25); }
.qz-card small { font-size: 3.2cqw; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5B6B8C; }
.qz-card b { font-size: 5.4cqw; line-height: 1.2; }
.qz-card b.qz-big { font-size: 9cqw; letter-spacing: -.02em; }
.qz-stars { display: flex; gap: 2cqw; font-size: 9cqw; } .qz-stars .ic { fill: #FFB703; stroke: #F48C06; stroke-width: 1.2; }
.qz-gem { display: inline-flex; align-items: center; gap: 1.5cqw; padding: 1.5cqw 4cqw; border-radius: 99px; background: #E6F4FD; color: var(--brand); font-weight: 700; font-size: 5cqw; }
.qz-gem.big { font-size: 9cqw; padding: 2cqw 6cqw; }
.qz-btn { justify-self: stretch; display: block; width: 100%; padding: 3.4cqw 4cqw; border-radius: 99px; background: var(--brand); color: #fff !important; font-weight: 700; font-size: 4.4cqw; text-align: center; }
.qz-btn.ghost { background: #fff; color: var(--brand) !important; box-shadow: inset 0 0 0 .5cqw var(--brand); }
.qz-btn:disabled { background: #2BB673; opacity: 1; }
.qz-link { padding: 1cqw; font-size: 3.6cqw; color: #5B6B8C; }
.qz-top { position: relative; flex: none; height: 62cqw; overflow: hidden; }
.qz-top > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qz-top::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #F5F8FC 92%); }
.qz-top > b { position: absolute; left: 5cqw; right: 5cqw; bottom: 4cqw; z-index: 1; font-size: 7cqw; line-height: 1.1; letter-spacing: -.02em; }
.qz-body { display: grid; gap: 3cqw; padding: 2cqw 5cqw 6cqw; }
.qz-k { font-size: 3.2cqw; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.qz-q { font-size: 5.6cqw; line-height: 1.2; }
.qz-opts { display: grid; gap: 2.6cqw; }
.qz-opts button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3cqw; padding: 3.4cqw; border-radius: 4cqw; background: #fff;
  box-shadow: inset 0 0 0 .4cqw #DCE4EF; font-weight: 700; font-size: 4.2cqw; text-align: left; transition: box-shadow .15s ease, background .15s ease; }
.qz-ic { display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: 2.6cqw; background: #EEF3F9; color: var(--brand); font-size: 5cqw; }
.qz-ic .ic { fill: none; stroke: currentColor; stroke-width: 1.8; }
.qz-ok { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--brand); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.qz-opts button.on { background: #EAF6FE; box-shadow: inset 0 0 0 .6cqw var(--brand); }
.qz-opts button.on .qz-ok { opacity: 1; transform: none; }
.qz-dots { display: flex; justify-content: center; gap: 1.6cqw; margin-top: 2cqw; }
.qz-dots i { width: 4cqw; height: 1.2cqw; border-radius: 99px; background: #DCE4EF; } .qz-dots i.on { width: 8cqw; background: var(--brand); }
.qz-load { display: grid; justify-items: center; gap: 4cqw; padding: 10cqw 5cqw; font-weight: 700; font-size: 5cqw; color: #10123A; }
.qz-ld { display: flex; gap: 2cqw; } .qz-ld i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--brand); animation: qz-ld 1s ease-in-out infinite; }
.qz-ld i:nth-child(2) { animation-delay: .15s; } .qz-ld i:nth-child(3) { animation-delay: .3s; }
@keyframes qz-ld { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-1.5cqw); } }
.qz-res { position: relative; display: grid; gap: 2.4cqw; padding: 22cqw 5cqw 6cqw; background: linear-gradient(#EAF6FE, #F5F8FC 45%); }
.qz-for { font-size: 3.2cqw; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.qz-name { font-size: 8cqw; line-height: 1.05; letter-spacing: -.02em; }
.qz-res > p { font-size: 3.8cqw; color: #4A5878; }
.qz-pic { display: grid; place-items: center; padding: 2cqw 0; }
.qz-pic img { display: block; width: 100%; max-height: 32cqw; object-fit: contain; filter: drop-shadow(0 2cqw 3cqw rgba(16, 18, 58, .18)); animation: qz-in .5s ease-out both; }
@keyframes qz-in { from { opacity: 0; transform: translateY(3cqw); } }
.qz-specs { display: grid; gap: 1.8cqw; }
.qz-specs div { display: grid; grid-template-columns: 17cqw 1fr; align-items: center; gap: 2cqw; padding: 2.2cqw 3cqw; border-radius: 3cqw; background: #fff; font-size: 3.6cqw; }
.qz-specs b { color: var(--brand); font-size: 4.2cqw; }
.qz-ctas { display: grid; gap: 2cqw; margin-top: 2cqw; }
.qz-ctas .qz-link, .qz-panel .qz-link { justify-self: center; }
.qz-map { position: relative; flex: none; aspect-ratio: 7 / 6; overflow: hidden; background: #E7EEF6; }
.qz-tiles { position: absolute; inset: 0; width: 100%; height: 100%; }
.qz-osm { position: absolute; right: 1.6cqw; bottom: 7.4cqw; z-index: 1; padding: .3cqw 1.2cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .8); font-size: 2.4cqw; color: #4A5878; }
.qz-pin { position: absolute; z-index: 1; display: grid; place-items: center; width: 7cqw; height: 7cqw; margin: -8.4cqw 0 0 -3.5cqw; padding: 0;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .25), inset 0 0 0 .6cqw #fff; transition: transform .15s ease; }
.qz-pin span { transform: rotate(45deg); color: #fff; font-size: 3.4cqw; font-weight: 800; }
.qz-pin.on { z-index: 2; transform: rotate(-45deg) scale(1.3); background: #10123A; }
.qz-me { position: absolute; z-index: 1; width: 4cqw; height: 4cqw; margin: -2cqw; border-radius: 50%; background: #2F6BFF; box-shadow: 0 0 0 .7cqw #fff, 0 0 0 2.4cqw rgba(47, 107, 255, .25); }
.qz-panel { position: relative; z-index: 1; display: grid; gap: 2.4cqw; margin-top: -6cqw; padding: 5cqw; border-radius: 6cqw 6cqw 0 0; background: #fff; }
.qz-cities { display: flex; gap: 1.6cqw; overflow-x: auto; scrollbar-width: none; } .qz-cities::-webkit-scrollbar { display: none; }
.qz-cities button { flex: none; padding: 1.6cqw 3.2cqw; border-radius: 99px; background: #EEF3F9; font-size: 3.6cqw; font-weight: 700; }
.qz-cities button[aria-selected="true"] { background: var(--brand); color: #fff; }
.qz-ph { font-size: 4.8cqw; }
.qz-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.6cqw; width: 100%; padding: 2.2cqw 2cqw; border-radius: 3cqw; text-align: left; }
.qz-row.on { background: #EAF6FE; }
.qz-row b { display: block; font-size: 3.9cqw; line-height: 1.2; } .qz-row small { display: block; font-size: 3.2cqw; color: #5B6B8C; }
.qz-row em { font-style: normal; font-size: 3.4cqw; font-weight: 700; color: var(--brand); white-space: nowrap; }
.qz-row .qz-av { font-size: 3.6cqw; font-weight: 800; }
.qz-row.on .qz-av { background: #10123A; color: #fff; }
.qz-none { padding: 3cqw; border-radius: 3cqw; background: #F5F8FC; font-size: 3.6cqw; color: #4A5878; }
.qz-from { margin-top: -1.6cqw; font-size: 3.2cqw; color: #5B6B8C; }
.qz-av { display: grid; place-items: center; width: 8.4cqw; height: 8.4cqw; border-radius: 50%; background: #EAF6FE; color: var(--brand); font-size: 4.4cqw; }
.qz-route { padding: 1.4cqw 2.8cqw; border-radius: 99px; background: #EEF3F9; font-size: 3.2cqw; font-weight: 700; color: var(--brand) !important; }
.qz-chains { font-size: 3.3cqw; color: #4A5878; }
.qz-src { font-size: 2.8cqw; color: #8A94AB; }
.qz-note { position: fixed; left: 6cqw; right: 6cqw; bottom: 6cqw; z-index: 9; padding: 3cqw 4cqw; border-radius: 4cqw; background: rgba(16, 18, 58, .9); color: #fff; font-size: 3.6cqw; text-align: center; animation: qz-in .25s ease-out both; }
.qz.busy .qz-opts button:not(.on) { opacity: .55; }
.qz-got { display: inline-flex; align-items: center; gap: 1cqw; margin: 0 auto 0 2cqw; padding: 1cqw 2.4cqw; border-radius: 99px; background: #2BB673; color: #fff; font-size: 3.2cqw; font-weight: 700; }
.qz-got .ic { fill: none; stroke: currentColor; stroke-width: 3; }
/* the expert's tip: a rewarded video, full screen */
.qz-vid { position: relative; flex: none; min-height: 100%; overflow: hidden; background: #0B0C1E; color: #fff; }
.qz-kb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: qz-kb var(--secs, 30s) linear both; }
@keyframes qz-kb { from { transform: scale(1.02); } to { transform: scale(1.16) translate(-2%, 1%); } }
.qz-reel { position: absolute; inset: 0; }
.qz-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }  /* a tip's clip fades in with its caption */
.qz-clip.on { opacity: 1; }
.qz-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .35), transparent 22%, transparent 45%, rgba(6, 10, 40, .92)); }
.qz-time { margin: 0 auto 0 2cqw; padding: 1cqw 2.4cqw; border-radius: 99px; background: rgba(0, 0, 0, .5); font-size: 3.2cqw; font-weight: 700; font-variant-numeric: tabular-nums; }
.qz-vtxt { position: absolute; left: 5cqw; right: 5cqw; bottom: 16cqw; display: grid; gap: 2cqw; }
.qz-vtxt small { font-size: 3cqw; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.qz-vtxt b { font-size: 6.4cqw; line-height: 1.12; letter-spacing: -.01em; }
.qz-cap { min-height: 2.6em; padding: 2.4cqw 3cqw; border-radius: 3cqw; background: rgba(0, 0, 0, .55); font-size: 3.8cqw; line-height: 1.3; }
.qz-pb { height: 1.2cqw; border-radius: 99px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.qz-pb i { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.qz-ff { position: absolute; left: 50%; bottom: 5cqw; transform: translateX(-50%); padding: 1.6cqw 3.4cqw; border-radius: 99px; background: rgba(255, 255, 255, .16); color: #fff !important; font-size: 3.2cqw; white-space: nowrap; }
/* where does the damp gather: a video frame with a question, over the game */
.qz.see { background: rgba(10, 12, 40, .55); }
.qz-ov.see { background: transparent; }
.qz-vf { position: relative; z-index: 1; display: grid; align-content: center; justify-items: center; gap: 3cqw; min-height: 100%; padding: 12cqw 5cqw; }
.qz-bg + .qz-vf { background: linear-gradient(rgba(10, 12, 40, .15), rgba(10, 12, 40, .4)); }
.qz-vq { color: #fff; font-size: 7cqw; line-height: 1.1; text-align: center; text-shadow: 0 .6cqw 2cqw rgba(0, 0, 0, .5); }
.qz-vbox { position: relative; width: 100%; aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: 6cqw; box-shadow: 0 0 0 1.4cqw var(--brand), 0 3cqw 8cqw rgba(0, 0, 0, .35); }
.qz-vbox .qz-kb { animation-duration: 14s; }
.qz-vbox .qz-bar { padding: 3cqw 3cqw 0; }
.qz-x { position: absolute; right: 3cqw; bottom: 3cqw; z-index: 3; display: grid; place-items: center; width: 7cqw; height: 7cqw; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff !important; font-size: 3.4cqw; font-weight: 700; }
.qz-x:disabled { opacity: .7; }
.qz-vchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 2cqw; }
.qz-vchips button { padding: 2.2cqw 3.6cqw; border-radius: 99px; background: #fff; font-size: 3.8cqw; font-weight: 700; box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, .2); }
.qz-vchips button.on { background: var(--brand); color: #fff !important; }
.qz.busy .qz-vchips button:not(.on) { opacity: .55; }
.qz-vcap { padding: 1.8cqw 3.6cqw; border-radius: 99px; background: #fff; font-size: 3.4cqw; font-weight: 700; text-align: center; }
@media (prefers-reduced-motion: reduce) { .qz-ld i, .qz-pic img, .qz-note, .qz-kb { animation: none; } .qz-pin, .qz-clip { transition: none; } }

/* ---------- real brands (22.11.2026): the client's, or a name typed in the pult ---------- */
/* While a real brand's ad is on top (.real, set by demo.js paint/tint), the phone's bottom bezel says whose concept it is */
/* readable on a phone (10 px at least), up to two lines, and the home indicator steps aside while it shows (the whole bar
   still goes home) */
.phone.concept-on .hbar[data-concept] { align-content: center; padding: 0 4%; }
.phone.concept-on .hbar[data-concept] i { display: none; }
.phone.concept-on .hbar[data-concept]::before { content: attr(data-concept); max-width: 100%; overflow: hidden; font-size: max(10px, 2.7cqw); font-weight: 650; line-height: 1.18;
  text-align: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; opacity: .95; }
.concept-line { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--text-3); }
.say.long { width: 84cqw; padding: 2.4cqw 4cqw; border-radius: 4cqw; font-size: 3.8cqw; line-height: 1.3; text-align: center; white-space: normal; animation-duration: 3.4s; }
/* the pult's chip that turns the client off */
.dhead:has(.cl-off) { flex-wrap: wrap; row-gap: 8px; }  /* on a phone the chip takes a row of its own under the logo */
.dhead .cl-off { order: 9; max-width: 100%; }
.cl-off span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cl-off i { font-style: normal; font-size: 15px; line-height: 1; opacity: .7; }
