/* ®WISE SOCK QUEST: front end. Everything is scoped under .wsq-root (the floating orb) and .wsq-dialog (the panel). */

.wsq-root, .wsq-dialog {
	--wsq-navy: #0b1020;
	--wsq-navy-2: #1a2447;
	--wsq-ink: #0d0d0f;
	--wsq-muted: #5d5a55;
	--wsq-cream: #fbf5ec;
	--wsq-paper: #fff;
	--wsq-line: #ebe5db;
	--wsq-red: #db1215;
	--wsq-green: #1a7f45;
	--wsq-ease: cubic-bezier(.2, .75, .2, 1);
	--wsq-size: 76px;
	--wsq-x: 20px;
	--wsq-y: 24px;
	font-family: var(--wsq-font, 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif);
	-webkit-font-smoothing: antialiased;
	line-height: 1.4; letter-spacing: normal; text-transform: none; text-align: left; font-style: normal;
}
/* A theme's global button / form / heading rules must never leak into this component; :where() keeps these at zero specificity so our own classes still win. */
:where(.wsq-root, .wsq-dialog) :is(button, input, select, textarea) { font-family: inherit; letter-spacing: normal; text-transform: none; text-shadow: none; -webkit-appearance: none; appearance: none; margin: 0; }
:where(.wsq-root, .wsq-dialog) :is(h2, h3, p, ol, ul, li, code, small) { text-transform: none; letter-spacing: normal; font-family: inherit; }
:where(.wsq-dialog) :is(input[type="checkbox"], input[type="radio"]) { -webkit-appearance: auto; appearance: auto; }
html.wsq-lock { overflow: hidden; }
.wsq-root *, .wsq-root *::before, .wsq-root *::after,
.wsq-dialog *, .wsq-dialog *::before, .wsq-dialog *::after { box-sizing: border-box; }

/* ------------------------------------------------------------------ The floating orb */

.wsq-fab { position: fixed; z-index: 900; bottom: var(--wsq-y, 24px); left: var(--wsq-x, 20px); transition: opacity .25s, transform .25s var(--wsq-ease), visibility .25s; }
.wsq-halo .wsq-fab::before { content: ''; position: absolute; inset: -16px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .65) 0%, rgba(255, 255, 255, 0) 72%); pointer-events: none; z-index: -1; animation: wsq-halo-pulse 3.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .wsq-halo .wsq-fab::before { animation: none; } }
.wsq-pos-right .wsq-fab { left: auto; right: var(--wsq-x, 20px); }
/* The theme's drawers (cart, menu, search) add this class to <body>; the orb steps aside while one is open. */
body.offcanvas-opened .wsq-fab { opacity: 0; visibility: hidden; transform: scale(.8); pointer-events: none; }
@media (max-width: 1023px) {
	.wsq-root, .wsq-dialog { --wsq-size: 66px; --wsq-x: 12px; --wsq-y: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

.wsq-orb {
	position: relative; display: block; width: var(--wsq-size); height: var(--wsq-size); padding: 0; margin: 0;
	border: 0; border-radius: 50%; cursor: pointer; color: #fff;
	background: radial-gradient(120% 120% at 28% 18%, var(--wsq-navy-2) 0%, var(--wsq-navy) 62%);
	box-shadow: 0 16px 34px -12px rgba(6, 10, 25, .65), inset 0 0 0 1px rgba(255, 255, 255, .08);
	-webkit-tap-highlight-color: transparent;
	transition: transform .25s var(--wsq-ease), box-shadow .25s;
	animation: wsq-float 5.5s ease-in-out infinite;
}
.wsq-orb:hover { transform: scale(1.06); box-shadow: 0 20px 40px -12px rgba(6, 10, 25, .75), inset 0 0 0 1px rgba(255, 255, 255, .14); animation-play-state: paused; }
.wsq-orb:active { transform: scale(.96); }
.wsq-orb:focus-visible { outline: 3px solid var(--wsq-red); outline-offset: 4px; }

.wsq-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wsq-orb .wsq-ring { inset: 3%; width: 94%; height: 94%; }

/* Unlit segments run a bright "chase", like a spinner; lit segments hold their colour. */
.wsq-seg { fill: #fff; stroke: #fff; stroke-width: 4; stroke-linejoin: round; opacity: .16; transform-box: view-box; transform-origin: 60px 60px; }
.wsq-seg:not(.is-lit) { animation: wsq-chase var(--wsq-cycle, 2s) linear infinite; animation-delay: calc(var(--i) * var(--wsq-step, .25s) - var(--wsq-cycle, 2s)); }
.wsq-seg.is-lit { fill: var(--c); stroke: var(--c); opacity: 1; filter: drop-shadow(0 0 3px var(--c)); transition: fill .5s var(--wsq-ease), stroke .5s var(--wsq-ease), opacity .3s; }
.wsq-seg.is-pop { animation: wsq-pop .8s var(--wsq-ease); }
.wsq-ring--still .wsq-seg:not(.is-lit) { animation: none; opacity: .2; }

.wsq-sock { transform-box: view-box; transform-origin: 60px 60px; animation: wsq-wiggle 6s ease-in-out infinite; }
.wsq-sock--plain, .wsq-orb:hover .wsq-sock--plain { animation: none; }
.wsq-still .wsq-orb, .wsq-still .wsq-sock, .wsq-still .wsq-orb:hover .wsq-sock { animation: none !important; }
.wsq-orb:hover .wsq-sock { animation: wsq-wiggle-fast .6s ease-in-out; }

/* A fixed circle, placed from the disc's own size so it always sits wholly inside it (1.5px clear of the rim) at any orb size. */
.wsq-badge {
	--wsq-b: max(14px, calc(var(--wsq-size) * .2));
	--wsq-off: calc(var(--wsq-size) * .1464 + 2.1px - var(--wsq-b) * .1464);
	position: absolute; top: var(--wsq-off); right: var(--wsq-off); width: var(--wsq-b); height: var(--wsq-b); padding: 0; border-radius: 50%;
	display: grid; place-items: center; background: var(--wsq-red); color: #fff; font-size: calc(var(--wsq-b) * .62); line-height: 1; font-weight: 800;
	box-shadow: 0 0 0 1.5px #fff; transform: scale(0); transition: transform .35s var(--wsq-ease);
}
.wsq-root[data-state="progress"] .wsq-badge, .wsq-root[data-state="ready"] .wsq-badge, .wsq-root[data-state="done"] .wsq-badge { transform: scale(1); }
.wsq-root[data-state="ready"] .wsq-badge { background: var(--wsq-green); }
.wsq-root[data-state="done"] .wsq-badge { background: var(--wsq-green); }
.wsq-badge svg { width: calc(var(--wsq-b) * .66); height: calc(var(--wsq-b) * .66); }

.wsq-root[data-state="ready"] .wsq-orb { animation: wsq-float 5.5s ease-in-out infinite, wsq-glow 2.2s ease-in-out infinite; }

.wsq-nudge {
	position: absolute; left: calc(var(--wsq-size) + 12px); top: 50%; display: flex; align-items: center; gap: 4px;
	padding: 10px 6px 10px 15px; border-radius: 16px; background: #fff; color: var(--wsq-ink);
	font-weight: 800; font-size: 14px; line-height: 1.2; white-space: nowrap;
	box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5), 0 0 0 1px rgba(13, 13, 15, .05);
	opacity: 0; visibility: hidden; transform: translate(-8px, -50%); pointer-events: none;
	transition: opacity .35s, transform .45s var(--wsq-ease), visibility .35s;
}
.wsq-nudge::before { content: ''; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
.wsq-nudge.is-on { opacity: 1; visibility: visible; transform: translate(0, -50%); pointer-events: auto; }
.wsq-nudge b { color: var(--wsq-red); }
.wsq-nudge__x { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a857c; font-size: 18px; line-height: 1; cursor: pointer; }
.wsq-nudge__x:hover { background: #f3eee6; color: var(--wsq-ink); }
.wsq-pos-right .wsq-nudge { left: auto; right: calc(var(--wsq-size) + 12px); transform: translate(8px, -50%); }
.wsq-pos-right .wsq-nudge.is-on { transform: translate(0, -50%); }
.wsq-pos-right .wsq-nudge::before { left: auto; right: -6px; }

/* ------------------------------------------------------------------ The panel */

.wsq-dialog { padding: 0; border: 0; background: transparent; color: var(--wsq-ink); max-width: none; max-height: none; overflow: visible; }
.wsq-dialog[open] { position: fixed; inset: auto auto 24px 24px; margin: 0; }
.wsq-dialog.wsq-pos-right[open] { inset: auto 24px 24px auto; }
.wsq-dialog::backdrop { background: rgba(8, 12, 28, .5); backdrop-filter: blur(3px); animation: wsq-fade .3s ease both; }

.wsq-sheet {
	position: relative; display: flex; flex-direction: column; width: min(430px, calc(100vw - 24px)); max-height: min(740px, calc(100dvh - 48px));
	background: var(--wsq-paper); border-radius: 28px; overflow: hidden;
	box-shadow: 0 40px 90px -24px rgba(6, 10, 25, .7), 0 0 0 1px rgba(13, 13, 15, .06);
	transform-origin: 0 100%;
	animation: wsq-sheet-in .45s var(--wsq-ease) both;
}
.wsq-pos-right .wsq-sheet { transform-origin: 100% 100%; }

.wsq-head {
	position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 18px 14px; color: #fff;
	background: radial-gradient(120% 150% at 0% 0%, var(--wsq-navy-2) 0%, var(--wsq-navy) 58%);
}
.wsq-head__ring { position: relative; width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(120% 120% at 28% 18%, #222d57 0%, #0b1020 65%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wsq-head__ring .wsq-ring { inset: 3%; width: 94%; height: 94%; }
.wsq-title { margin: 0; font-size: 21px; line-height: 1.1; font-weight: 800; letter-spacing: -.015em; color: #fff; }
.wsq-sub { margin: 4px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .74); }
.wsq-sub b { color: #fff; }
.wsq-x { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s var(--wsq-ease); align-self: start; }
.wsq-x:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }
.wsq-x:focus-visible, .wsq-btn:focus-visible, .wsq-link:focus-visible, .wsq-copy:focus-visible { outline: 3px solid var(--wsq-red); outline-offset: 2px; }

.wsq-legend { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.wsq-legend li {
	padding-top: 7px; border-top: 3px solid rgba(255, 255, 255, .16); font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-transform: none;
	color: rgba(255, 255, 255, .55); transition: color .3s, border-color .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wsq-legend li.is-current { color: #fff; border-color: rgba(255, 255, 255, .75); }
.wsq-legend li.is-done { color: #fff; border-color: var(--c); }
.wsq-legend button { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsq-legend button:hover { color: #fff; }
.wsq-legend button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.wsq-body { position: relative; flex: 1 1 auto; padding: 22px 20px 6px; overflow: auto; overscroll-behavior: contain; }
.wsq-step { animation: wsq-slide .4s var(--wsq-ease) both; }
.wsq-step--back { animation-name: wsq-slide-back; }
.wsq-q { margin: 0 0 6px; font-size: 23px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.wsq-help { margin: 0 0 18px; font-size: 14.5px; line-height: 1.45; color: var(--wsq-muted); }

.wsq-field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.wsq-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.wsq-input, .wsq-select {
	display: block; width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--wsq-line); border-radius: 14px; background: #fff;
	font: inherit; font-size: 16px; color: var(--wsq-ink); transition: border-color .2s, box-shadow .2s;
}
.wsq-select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%230d0d0f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.wsq-input:focus, .wsq-select:focus { outline: none; border-color: var(--wsq-ink); box-shadow: 0 0 0 4px rgba(13, 13, 15, .08); }
.wsq-input[aria-invalid="true"], .wsq-select[aria-invalid="true"] { border-color: #b4231f; }
.wsq-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wsq-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--wsq-muted); }
.wsq-error { min-height: 20px; margin: 4px 0 0; font-size: 13.5px; font-weight: 700; color: #b4231f; }

.wsq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.wsq-chip { position: relative; display: inline-block; }
.wsq-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wsq-chip span {
	--c: var(--wsq-ink); --on: #fff;
	display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 17px; border: 1.5px solid var(--wsq-line); border-radius: 999px; background: #fff;
	font-size: 15px; font-weight: 700; color: var(--wsq-ink); user-select: none;
	transition: transform .18s var(--wsq-ease), background .2s, border-color .2s, box-shadow .25s, color .2s;
}
.wsq-chip span i { width: 0; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; transition: width .2s var(--wsq-ease), opacity .2s, margin .2s; margin-right: -8px; }
.wsq-chip:hover span { border-color: #cfc7b9; }
.wsq-chip input:active + span { transform: scale(.95); }
.wsq-chip input:checked + span { background: var(--c); border-color: var(--c); color: var(--on); box-shadow: 0 10px 22px -12px var(--c); animation: wsq-chip-pop .35s var(--wsq-ease); }
.wsq-chip input:checked + span i { width: 5px; opacity: 1; margin-right: 0; }
.wsq-chip input:focus-visible + span { outline: 3px solid var(--wsq-red); outline-offset: 2px; }
.wsq-chip--wide { display: block; width: 100%; }
.wsq-chip--wide span { display: flex; width: 100%; border-radius: 16px; padding: 13px 16px; min-height: 54px; }

.wsq-check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px; border: 1.5px solid var(--wsq-line); border-radius: 16px; background: var(--wsq-cream); font-size: 14px; line-height: 1.4; cursor: pointer; }
.wsq-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--wsq-ink); cursor: pointer; }
.wsq-check small { display: block; margin-top: 3px; color: var(--wsq-muted); font-size: 12.5px; }

.wsq-foot { display: flex; align-items: center; gap: 10px; padding: 12px 20px 18px; background: #fff; }
.wsq-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
	font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; text-decoration: none;
	transition: transform .18s var(--wsq-ease), box-shadow .25s, background .2s, opacity .2s;
}
.wsq-btn:active { transform: scale(.97); }
.wsq-btn--primary { flex: 1; background: var(--wsq-ink); color: #fff; }
.wsq-btn--primary:hover { background: #000; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .7); }
.wsq-btn--red { flex: 1; background: var(--wsq-red); color: #fff; }
.wsq-btn--red:hover { box-shadow: 0 14px 26px -12px rgba(219, 18, 21, .8); }
.wsq-btn--ghost { background: transparent; color: var(--wsq-ink); border: 1.5px solid var(--wsq-line); padding: 0 20px; }
.wsq-btn--ghost:hover { border-color: var(--wsq-ink); }
.wsq-btn[disabled] { opacity: .45; cursor: not-allowed; }
.wsq-btn.is-busy { position: relative; color: transparent; pointer-events: none; }
.wsq-btn.is-busy::after { content: ''; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: wsq-spin .7s linear infinite; }
.wsq-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--wsq-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wsq-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--wsq-muted); }
.wsq-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.wsq-progress-line { height: 6px; margin: 14px 20px 0; border-radius: 999px; background: #f0ebe2; overflow: hidden; }
.wsq-progress-line i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ff5a5f, #ffd23f, #4ade80, #60a5fa, #f472b6); transition: width .6s var(--wsq-ease); }

/* Milestone + reward screens */
.wsq-mile { text-align: center; padding: 18px 0 6px; }
.wsq-mile__pct { font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(90deg, #ff5a5f, #ffd23f, #4ade80, #60a5fa, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; animation: wsq-pop-in .6s var(--wsq-ease) both; }
.wsq-mile h3 { margin: 8px 0 6px; font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.wsq-mile p { margin: 0 auto 8px; max-width: 30ch; color: var(--wsq-muted); font-size: 15px; }

.wsq-reward { text-align: center; padding: 2px 0 6px; }
.wsq-reward__ring { position: relative; width: 156px; height: 156px; margin: 0 auto; border-radius: 50%; background: radial-gradient(120% 120% at 28% 18%, #222d57 0%, #0b1020 65%); box-shadow: 0 20px 40px -16px rgba(6, 10, 25, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); animation: wsq-pop-in .7s var(--wsq-ease) both; }
.wsq-reward__ring .wsq-ring { inset: 3%; width: 94%; height: 94%; }
.wsq-reward h3 { margin: 16px 0 4px; font-size: 27px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.wsq-reward p { margin: 0 auto; max-width: 34ch; color: var(--wsq-muted); font-size: 15px; }
.wsq-coupon { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 8px; padding: 12px 12px 12px 18px; border: 2px dashed var(--wsq-ink); border-radius: 18px; background: var(--wsq-cream); text-align: left; }
.wsq-coupon small { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wsq-muted); }
.wsq-coupon code { display: block; font: 800 22px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .05em; color: var(--wsq-ink); word-break: break-all; }
.wsq-copy { flex: none; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--wsq-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.wsq-copy.is-done { background: var(--wsq-green); }
.wsq-terms { margin: 4px 0 0; font-size: 12.5px; color: var(--wsq-muted); }
.wsq-terms b { color: var(--wsq-ink); }
.wsq-note { margin: 14px 0 0; padding: 11px 14px; border: 1.5px solid var(--wsq-line); border-radius: 14px; background: var(--wsq-cream); color: var(--wsq-ink); font-size: 13.5px; line-height: 1.45; text-align: left; }
.wsq-note a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.wsq-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* ------------------------------------------------------------------ Inline card ([wise_sock_quest] shortcode, My Account, thank-you page) */

.wsq-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; margin: 18px 0; border-radius: 22px; color: #fff; background: radial-gradient(120% 160% at 0% 0%, var(--wsq-navy-2) 0%, var(--wsq-navy) 60%); }
.wsq-card__ring { position: relative; flex: none; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(120% 120% at 28% 18%, #222d57 0%, #0b1020 65%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wsq-card__ring .wsq-ring { inset: 3%; width: 94%; height: 94%; }
.wsq-card h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.15; font-weight: 800; color: #fff; }
.wsq-card p { margin: 0 0 12px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.wsq-card .wsq-btn { min-height: 44px; padding: 0 20px; font-size: 15px; background: #fff; color: var(--wsq-ink); }
.wsq-card .wsq-btn:hover { background: #f3eee6; }
.wsq-card__body { min-width: 0; }
@media (max-width: 520px) { .wsq-card { flex-direction: column; text-align: center; } }

/* ------------------------------------------------------------------ Motion */

@keyframes wsq-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes wsq-halo-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .85; } }
@keyframes wsq-chase { from { opacity: 1; } to { opacity: .14; } }
@keyframes wsq-pop { 0% { transform: scale(1); filter: brightness(1); } 35% { transform: scale(1.16); filter: brightness(1.7); } 100% { transform: scale(1); filter: brightness(1); } }
@keyframes wsq-wiggle { 0%, 88%, 100% { transform: rotate(-10deg); } 92% { transform: rotate(-2deg); } 96% { transform: rotate(-16deg); } }
@keyframes wsq-wiggle-fast { 0%, 100% { transform: rotate(-10deg); } 30% { transform: rotate(4deg) scale(1.06); } 60% { transform: rotate(-18deg) scale(1.06); } }
@keyframes wsq-glow { 0%, 100% { box-shadow: 0 16px 34px -12px rgba(6, 10, 25, .65), 0 0 0 0 rgba(96, 165, 250, .0), inset 0 0 0 1px rgba(255, 255, 255, .08); } 50% { box-shadow: 0 16px 34px -12px rgba(6, 10, 25, .65), 0 0 0 10px rgba(96, 165, 250, .22), inset 0 0 0 1px rgba(255, 255, 255, .18); } }
@keyframes wsq-sheet-in { from { opacity: 0; transform: translateY(18px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes wsq-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wsq-slide { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes wsq-slide-back { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes wsq-chip-pop { 0% { transform: scale(.94); } 55% { transform: scale(1.07); } 100% { transform: scale(1.03); } }
@keyframes wsq-pop-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wsq-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ Phones: the panel becomes a bottom sheet */

@media (max-width: 640px) {
	.wsq-dialog[open], .wsq-dialog.wsq-pos-right[open] { inset: auto 0 0 0; width: 100%; max-width: 100%; }
	.wsq-sheet { width: 100%; max-height: min(94dvh, 780px); border-radius: 28px 28px 0 0; transform-origin: 50% 100%; padding-bottom: env(safe-area-inset-bottom, 0px); }
	.wsq-head { padding: 16px 16px 12px; }
	.wsq-body { padding: 20px 18px 6px; }
	.wsq-foot { padding: 12px 18px 16px; }
	.wsq-progress-line { margin-inline: 18px; }
	.wsq-q { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.wsq-orb, .wsq-sock, .wsq-seg, .wsq-sheet, .wsq-step, .wsq-mile__pct, .wsq-reward__ring, .wsq-chip input:checked + span, .wsq-dialog::backdrop { animation: none !important; }
	.wsq-seg:not(.is-lit) { opacity: .24; }
	.wsq-nudge, .wsq-fab, .wsq-badge, .wsq-progress-line i, .wsq-x { transition: none !important; }
	.wsq-sock { transform: rotate(-10deg); }
}
@media print { .wsq-root, .wsq-dialog { display: none !important; } }
