/* FIRST PARTNER (quiz/game) src:992fe398828408c5 */
/* DEX/HAUL POCKET, the handheld around FIRST PARTNER. Markup contract, variables and notes: quiz/game/SHELL.md */
.dxp{--n:#10194f;--d:#080d33;--y:#ffcb05;--c:#f5f0e1;--u:44px;--b:60px;--f:var(--disp,system-ui);--rx:0deg;--ry:0deg;position:relative;max-width:544px;
  color:var(--c);font:800 11px/1 var(--f);letter-spacing:.06em;transform-style:preserve-3d;transform:perspective(1300px) rotateX(var(--rx)) rotateY(var(--ry));
  transition:transform .25s ease-out;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:#0000}
/* the body's thickness: five layers behind the face, each the face's own outline (two rounded corners, two cut ones),
   stepped back in depth so the edge that shows as it turns is solid and rounded; the last one casts the shadow */
.dxp-z{position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:0 16px 28px 28px;transform:translateZ(calc(var(--z)*-3.6px));
  background:linear-gradient(135deg,#0000 11.4px,var(--k) 0)}
.dxp-z:nth-child(1){--z:1;--k:#16206b}.dxp-z:nth-child(2){--z:2;--k:#101858}.dxp-z:nth-child(3){--z:3;--k:#0b1146}.dxp-z:nth-child(4){--z:4;--k:#070b33}
.dxp-z:nth-child(5){--z:5;--k:#04061f;box-shadow:0 36px 30px -10px #080d3399}
.dxp,.dxp *{box-sizing:border-box}
.dxp :where(button){padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;touch-action:manipulation}
.dxp :focus-visible{outline:3px solid #fff;outline-offset:2px;z-index:5}
.dxp-tool:focus-visible,.dxp-start:focus-visible,.dxp-hot :focus-visible{outline-offset:-3px;box-shadow:inset 0 0 0 5px var(--n)}
.dxp-tool,.dxp-start,.dxp-title{text-transform:uppercase}

.dxp-bar{display:flex;flex:none;align-items:center;min-height:60px;padding:8px 4px 8px 18px;background:linear-gradient(#111a5c,var(--d) 70%);box-shadow:inset 0 2px #ffffff26;border-radius:0 16px 0 0;clip-path:polygon(16px 0,100% 0,100% 100%,0 100%,0 16px)}
.dxp-bar::before{content:"";width:8px;height:8px;margin-right:auto;border-radius:50%;background:#e3350d;opacity:.35}
.dxp[data-state=play] .dxp-bar::before{opacity:1;box-shadow:0 0 8px 2px #e3350d}
.dxp .dxp-tool,.dxp-ss button{height:44px;border:7px solid #0000;border-radius:22px}
.dxp-tool{min-width:44px;padding:0 9px;box-shadow:inset 0 0 0 2px #8f97c9;text-decoration:line-through}
.dxp-tool[aria-pressed=true]{background:var(--y) padding-box;color:var(--n);box-shadow:none;text-decoration:none}
.dxp-x{font-size:20px;text-decoration:none}
.dxp[data-state=idle] .dxp-x{visibility:hidden}

.dxp-shell{position:relative;display:flex;flex:1;flex-direction:column;padding:var(--sp,14px 14px 20px);border-top:4px solid var(--y);border-radius:0 0 28px 28px;
  background:radial-gradient(90% 50% at 15% 0,#fff3,#0000),linear-gradient(170deg,#1d2b7c,var(--n) 45%,#0b1140);
  box-shadow:inset 3px 0 #ffffff17,inset -4px -9px #00000066,inset 0 3px #ffffff1f}
.dxp-bezel{grid-area:z;align-self:center;width:100%;padding:var(--bp,16px 18px 18px);background:linear-gradient(170deg,#04071f,var(--d) 60%,#0d1445);box-shadow:inset 0 5px 9px #000c,inset 0 -2px #ffffff1a}
.dxp-bezel,.dxp-start{clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
.dxp-screen{position:relative;aspect-ratio:10/9;overflow:hidden;background:#05081f;container-type:size}
.dxp-screen>*,.dxp-screen::after{position:absolute;inset:0}
.dxp-screen canvas{width:100%;height:100%;image-rendering:crisp-edges;image-rendering:pixelated}
.dxp-screen::after{content:"";pointer-events:none;box-shadow:inset 0 4px 12px #000a,inset 0 0 0 1px #0006}
.dxp[data-state=idle] .dxp-screen::after{background:linear-gradient(118deg,#ffffff24 0 16%,#0000 16.4% 38%,#ffffff0f 38.4% 47%,#0000 47.4%)}
.dxp-poster{display:grid;place-content:center start;justify-items:start;gap:.7em;padding:6% 7%;background:linear-gradient(225deg,var(--y) 9%,#b7280a 0 11%,#0000 0),linear-gradient(160deg,#1a2566,var(--n));
  font:600 14px/1.35 var(--body,system-ui);font-size:clamp(12.5px,3.9cqw,17px);letter-spacing:0}
.dxp[data-state=play] .dxp-poster{display:none}
.dxp-poster p{margin:0}
.dxp-title{color:var(--y);font:900 2em/1 var(--f);font-stretch:125%}
.dxp-meta{color:#c8cdea;font-size:.82em}
.dxp-start{min-width:56%;min-height:54px;padding:0 30px;background:var(--y);color:var(--n);font:800 18px/1 var(--f);letter-spacing:.08em}
.dxp-start:active{background:#e6b600}
.dxp-start:disabled{opacity:.7}
.dxp-hot{pointer-events:none}
.dxp-hot button{position:absolute;pointer-events:auto}
.dxp-live{width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dxp-brand{grid-area:b;padding:12px 4px 0;font:italic 900 16px/1 var(--f);font-stretch:125%;letter-spacing:.01em}
.dxp-brand span{color:var(--y);font:800 .62em/1 var(--f);letter-spacing:.24em}

.dxp-ctl{display:grid;flex:1;grid-template:"p s a"/auto 1fr auto;place-content:space-evenly stretch;align-items:center;padding:var(--cp,14px 10px 6px)}
.dxp-pad{grid-area:p;position:relative;display:grid;width:fit-content;grid-template:repeat(3,var(--u))/repeat(3,var(--u));filter:drop-shadow(0 6px #a59e86) drop-shadow(0 8px 6px #0008)}
.dxp-pad::before,.dxp-pad::after{content:"";position:absolute;inset:var(--u) calc(var(--u) - 8px);background:var(--c)}
.dxp-pad::after{inset:calc(var(--u) - 8px) var(--u);background:radial-gradient(circle,#d3ccb4 9px,var(--c) 10px)}
.dxp-pad button{position:relative;grid-column:2;border-radius:8px;background:var(--c)}
.dxp-pad [data-k=left]{grid-column:1;--r:-90deg}
.dxp-pad [data-k=right]{grid-column:3;--r:90deg}
.dxp-pad [data-k=down]{--r:180deg}
.dxp-pad button::after{content:"";position:absolute;inset:0;width:12px;height:9px;margin:auto;background:var(--n);opacity:.45;rotate:var(--r);clip-path:polygon(50% 0,100% 100%,0 100%)}
.dxp-ab{grid-area:a;display:flex;align-items:flex-end;gap:18px;padding:0 8px 8px}
.dxp-ab button{--e:#a98600;width:var(--b);height:var(--b);border-radius:50%;color:var(--n);font-size:20px;background:radial-gradient(at 30% 22%,#fff8,#0000 32%) var(--y);box-shadow:0 8px var(--e),0 5px 0 7px var(--d),0 14px 10px #0007}
.dxp-ab [data-k=a]{--e:#6f1705;margin-bottom:26px;background-color:#b7280a;color:#fff}
.dxp-ss{grid-area:s;display:flex;place-content:center;align-self:end}
.dxp-ss button{width:70px;background:var(--c) padding-box;color:var(--n);font-size:10px;box-shadow:inset 0 -4px #10194f59}
.dxp-pad button:active,.dxp-pad .is-down{background:#ddd6bf;translate:0 3px}
.dxp-ab button:active,.dxp-ab .is-down{translate:0 6px;box-shadow:0 2px var(--e),0 -1px 0 7px var(--d)}
.dxp-ss button:active,.dxp-ss .is-down{background-color:#ddd6bf;box-shadow:inset 0 2px #10194f4d}
.dxp-grille{position:absolute;right:18px;bottom:16px;width:50px;height:40px;background:radial-gradient(#04071c 2.5px,#fff3 3px 3.5px,#0000 4px) 0 0/10px 10px}

/* desktop, inline at 3x: a faint pixel grid */
@media (min-width:641px) and (min-height:501px){.dxp[data-state=play] .dxp-screen::after{background:conic-gradient(from 90deg at 1px 1px,#0000 25%,#080d3312 0) 0 0/3px 3px}}
/* phones: slimmer shell, SELECT and START on their own row; play is a full-viewport overlay, the screen shrinks on short viewports */
@media (max-width:640px){.dxp{--sp:10px 10px 16px;--bp:8px}.dxp-ctl{grid-template:"p a" "s s"/1fr auto;row-gap:8px}}
@media (max-width:640px),(max-height:500px) and (orientation:landscape){
html.dxp-lock,html.dxp-lock body{overflow:hidden;overscroll-behavior:none}
.dxp[data-state=play]{--sp:6px 6px 10px;--bp:6px;--cp:6px 10px 0;position:fixed;inset:0 0 auto;z-index:1000;display:flex;flex-direction:column;max-width:none;height:100vh;height:100dvh;
  padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:var(--d);transform:none;transform-style:flat;animation:dxp-up .3s ease-out;overflow:auto;container-type:size}
.dxp[data-state=play] .dxp-z{display:none}
.dxp[data-state=play] .dxp-shell{border-radius:0}
.dxp[data-state=play] .dxp-brand{font-size:12px}
@supports (width:1cqh){.dxp[data-state=play] .dxp-bezel{width:min(100%,(100cqh - var(--k,284px))*10/9 + 12px)}}
}
/* short phones: the name moves up beside the light (POCKET drops off if it cannot fit). Tall phones: bigger controls */
@media (max-width:640px) and (max-height:719px){.dxp[data-state=play] .dxp-brand{position:absolute;top:-51px;left:28px;max-width:calc(100% - 200px);max-height:24px;overflow:hidden}}
@media (max-width:640px) and (min-height:720px){.dxp[data-state=play]{--u:54px;--b:72px;--k:338px}}
/* landscape phones: D-pad left, screen centre, A and B right */
@media (max-height:500px) and (orientation:landscape){
.dxp[data-state=play]{--sp:4px}
.dxp[data-state=play] .dxp-bezel{width:min(100cqw - 316px,(100cqh - 24px)*10/9 + 12px)}
.dxp[data-state=play] .dxp-bar{position:relative;z-index:1;height:0;min-height:0;padding-block:0;align-items:flex-start;clip-path:none;box-shadow:none}
.dxp[data-state=play] .dxp-bar::before,.dxp[data-state=play] .dxp-grille{display:none}
.dxp[data-state=play] .dxp-x{margin-left:auto}
.dxp[data-state=play] .dxp-shell{display:grid;grid-template:"p z a" 1fr "b z s" 44px/1fr auto 1fr;place-items:center}
.dxp[data-state=play] .dxp-ctl{display:contents}
.dxp[data-state=play] .dxp-brand{position:static;max-width:none}
}

/* ---- life: it lands on the page, sways while it waits, and powers on when Start is pressed ---- */
.dxp[data-state=idle]{--rx:7deg;--ry:-13deg;animation:dxp-in .95s cubic-bezier(.2,.8,.25,1) both,dxp-sway 9s ease-in-out .95s infinite}
.dxp[data-state=idle] .dxp-bar::before{animation:dxp-led 2.4s steps(2,jump-none) 1s infinite}
.dxp[data-state=idle] .dxp-start:enabled{animation:dxp-pulse 1.8s ease-in-out 1.4s infinite}
.dxp[data-state=play] canvas{animation:dxp-on .55s ease-out}
@keyframes dxp-in{0%{transform:perspective(1300px) translateY(70px) rotateX(58deg) rotateY(-34deg) scale(.84)}55%{transform:perspective(1300px) translateY(-8px) rotateX(-3deg) rotateY(-18deg) scale(1.02)}100%{transform:perspective(1300px) rotateX(7deg) rotateY(-13deg)}}
@keyframes dxp-sway{0%,100%{transform:perspective(1300px) rotateX(7deg) rotateY(-13deg)}50%{transform:perspective(1300px) translateY(-7px) rotateX(4deg) rotateY(11deg)}}
@keyframes dxp-led{50%{opacity:1;box-shadow:0 0 8px 2px #e3350d}}
@keyframes dxp-pulse{50%{scale:1.05}}
@keyframes dxp-on{0%{filter:brightness(4) saturate(0);scale:1 .02}40%{filter:brightness(2.2) saturate(.4);scale:1 1}}
@keyframes dxp-up{0%{translate:0 28px;opacity:.2}}
/* desktop and tablets: centred on the page */
@media (min-width:641px){.dxp{margin-inline:auto}}
/* phones in the page: a gentler lean so nothing reaches past the edges */
@media (max-width:640px){.dxp[data-state=idle]{scale:.94}}
@media (prefers-reduced-motion:reduce){.dxp,.dxp *,.dxp ::before,.dxp ::after{animation:none!important;transition:none!important}}
/* FIRST PARTNER share panel (quiz/game/src/70-share.js). Sits inside the quiz result, so it uses the site's tokens
   (blog.css) with fallbacks. Buttons are square with cut corners like .pq-btn; the cut is painted as a background
   instead of a clip-path so the focus ring is not clipped away. */
.dxs-panel { --dxs-navy: var(--navy, #10194f); --dxs-yellow: var(--yellow, #ffcb05); --dxs-red: var(--red-dark, #b7280a);
  box-sizing: border-box; max-width: 780px; margin: 18px 0 8px; padding: clamp(14px, 4vw, 22px);
  background: #f5f7fc; border-top: 4px solid var(--dxs-yellow); color: #1b2140; text-align: left;
  font: 16px/1.45 var(--body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); }
.dxs-panel *, .dxs-panel *::before, .dxs-panel *::after { box-sizing: border-box; }
.dxs-panel [hidden] { display: none !important; }
.dxs-top { display: flex; align-items: center; gap: 16px; margin: 0 0 6px; }
.dxs-thumb { flex: none; display: block; width: 90px; height: 160px; background: #0b1140; box-shadow: 0 10px 22px -12px rgba(16, 25, 79, .8); }
.dxs-h { margin: 0 0 6px; color: var(--dxs-navy); font: 800 clamp(20px, 5vw, 26px)/1.1 var(--disp, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .02em; }
.dxs-lead { margin: 0; font-size: 16px; }
.dxs-grp { margin: 16px 0 0; }
.dxs-gh { margin: 0 0 2px; color: var(--dxs-red); font: 800 13px/1.2 var(--disp, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .08em; }
.dxs-gh + .dxs-row { margin-top: 8px; }
.dxs-hint { margin: 0 0 10px; color: #434a68; font-size: 14px; line-height: 1.4; }
.dxs-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.dxs-btn { --b: var(--dxs-navy); display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; min-height: 52px; margin: 0; padding: 8px 12px;
  border: 0; border-radius: 0; cursor: pointer; text-align: left; text-decoration: none; color: #fff !important; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(135deg, transparent 6px, var(--b) 6.5px, var(--b) calc(100% - 6.5px), transparent calc(100% - 6px));
  font: 800 14px/1.15 var(--disp, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .04em; }
.dxs-btn:hover { --b: #1f2b73; }
.dxs-btn.dxs-alt { --b: var(--dxs-yellow); color: var(--dxs-navy) !important; min-height: 48px; }
.dxs-btn.dxs-alt:hover { --b: #ffd83d; }
.dxs-btn:focus-visible, .dxs-status a:focus-visible { outline: 3px solid var(--dxs-red); outline-offset: 2px; }
.dxs-btn[disabled] { opacity: .55; cursor: default; }
.dxs-i { flex: none; width: 22px; height: 22px; }
.dxs-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dxs-l { overflow-wrap: anywhere; }
.dxs-s { color: #dfe3f7; font: 600 12px/1.2 var(--body, system-ui, sans-serif); text-transform: none; letter-spacing: 0; }
.dxs-s:empty { display: none; }
.dxs-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.dxs-status { min-height: 1.45em; margin: 12px 0 0; color: var(--dxs-navy); font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.dxs-status a { color: var(--dxs-navy); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 0; }
@media (min-width: 600px) { .dxs-thumb { width: 108px; height: 192px; } .dxs-top { gap: 22px; } }
@media (forced-colors: active) { .dxs-btn { border: 2px solid ButtonText; background: ButtonFace; color: ButtonText !important; } }
