/* Giggity Arcade: "Swipe your to-do list" (the To-do rush). Everything is scoped under .g-swipe. */
.g-swipe {
  --gs-cyan: #22e4f2;
  --gs-gold: #ffc94d;
  --gs-pink: #ff4f8b;
  --gs-green: #4be38a;
  --gs-fire: #ff8a3d;
  --gs-navy: #0a192f;
  --gs-line: rgba(255, 255, 255, 0.1);
  --gs-glass: rgba(255, 255, 255, 0.05);
  --gs-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gs-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  padding: 14px 16px 14px;
  border-radius: 22px;
  border: 1px solid var(--gs-line);
  background: radial-gradient(420px 260px at 50% 0%, rgba(34, 228, 242, 0.09), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  color: #f4f7fc;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.g-swipe [hidden] { display: none !important; }
.g-swipe .gs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-swipe svg { display: block; }

/* wrong answer: a shake (or, with reduced motion, a red flash on the frame) */
.g-swipe.gs-shake { animation: gs-shake 0.42s ease; }
@keyframes gs-shake { 15% { transform: translateX(-9px) rotate(-0.4deg); } 30% { transform: translateX(8px) rotate(0.4deg); } 45% { transform: translateX(-6px); } 60% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.g-swipe.gs-shake, .g-swipe.gs-flash { box-shadow: inset 0 0 0 2px rgba(255, 79, 139, 0.8), 0 0 40px rgba(255, 79, 139, 0.25); border-color: var(--gs-pink); }
.g-swipe.gs-flash { animation: gs-flash 0.5s ease; }
@keyframes gs-flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: inset 0 0 0 3px var(--gs-pink); } }
/* slow time tints everything a cool blue */
.g-swipe.gs-slow { border-color: rgba(120, 160, 255, 0.6); box-shadow: 0 0 0 1px rgba(120, 160, 255, 0.35), 0 0 50px rgba(110, 140, 255, 0.22) inset; }

/* ───────── HUD: points, clock, hours ───────── */
.g-swipe .gs-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.g-swipe .gs-stat { display: grid; line-height: 1.05; min-width: 0; }
.g-swipe .gs-stat-r { text-align: right; justify-items: end; }
.g-swipe .gs-num { font-size: 26px; font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; display: inline-block; transform-origin: center bottom; color: #fff; }
.g-swipe .gs-stat:first-child .gs-num { color: var(--gs-gold); text-shadow: 0 0 22px rgba(255, 201, 77, 0.35); }
.g-swipe .gs-num-h { color: var(--gs-cyan); font-size: 22px; }
.g-swipe .gs-stat small, .g-swipe .gs-clock small { font-size: 10.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(226, 234, 248, 0.55); }
.g-swipe .gs-clock { position: relative; display: grid; justify-items: center; line-height: 1; padding: 6px 14px 5px; border-radius: 16px; background: rgba(5, 8, 18, 0.5); border: 1px solid var(--gs-line); min-width: 92px; }
.g-swipe .gs-clocknum { font-size: 30px; font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #fff; }
.g-swipe.gs-hurry .gs-clock { border-color: var(--gs-pink); background: rgba(255, 79, 139, 0.14); }
.g-swipe.gs-hurry .gs-clocknum { color: var(--gs-pink); }
.g-swipe .gs-tickpop { animation: gs-tickpop 0.35s var(--gs-bounce); }
@keyframes gs-tickpop { 40% { transform: scale(1.12); } }
.g-swipe .gs-tchip { position: absolute; left: 50%; top: -14px; padding: 3px 9px; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; pointer-events: none; transform: translateX(-50%); animation: gs-tchip 0.95s var(--gs-ease) forwards; }
.g-swipe .gs-tchip-good { background: var(--gs-green); color: #04220f; }
.g-swipe .gs-tchip-bad { background: var(--gs-pink); color: #fff; }
@keyframes gs-tchip { 0% { opacity: 0; transform: translate(-50%, 10px) scale(0.6); } 20% { opacity: 1; transform: translate(-50%, -14px) scale(1.1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -30px); } }
.g-swipe .gs-bump { animation: gs-bump 0.4s var(--gs-bounce); }
@keyframes gs-bump { 40% { transform: scale(1.22) translateY(-2px); } }

.g-swipe .gs-timebar { margin-top: 10px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.g-swipe .gs-timebar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gs-cyan), var(--gs-green)); transform-origin: left center; }
.g-swipe.gs-hurry .gs-timebar i { background: linear-gradient(90deg, var(--gs-pink), var(--gs-fire)); }
.g-swipe.gs-slow .gs-timebar i { background: linear-gradient(90deg, #8aa8ff, #b9c8ff); }

/* ───────── the fire meter ───────── */
.g-swipe .gs-fire { margin-top: 10px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 9px; }
.g-swipe .gs-mult { min-width: 44px; padding: 4px 8px; border-radius: 10px; text-align: center; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--gs-line); color: rgba(244, 247, 252, 0.8); }
.g-swipe .gs-multpop { animation: gs-multpop 0.5s var(--gs-bounce); }
@keyframes gs-multpop { 0% { transform: scale(1); } 35% { transform: scale(1.45) rotate(-6deg); } 100% { transform: scale(1); } }
.g-swipe .gs-firebar { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.g-swipe .gs-firebar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; transform: scaleX(0); background: linear-gradient(90deg, #ffb347, var(--gs-fire)); transition: transform 0.25s var(--gs-ease); }
.g-swipe .gs-flames { font-size: 14px; letter-spacing: -3px; line-height: 1; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.g-swipe .gs-streak { font-size: 11.5px; font-weight: 800; color: rgba(226, 234, 248, 0.6); white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-swipe .gs-m2 .gs-mult { color: #ffcf8a; border-color: rgba(255, 179, 71, 0.5); background: rgba(255, 179, 71, 0.12); }
.g-swipe .gs-m3 .gs-mult { color: #fff; border-color: rgba(255, 138, 61, 0.7); background: rgba(255, 138, 61, 0.28); box-shadow: 0 0 16px rgba(255, 138, 61, 0.35); }
.g-swipe .gs-m4 .gs-mult, .g-swipe .gs-m5 .gs-mult { color: #fff; border-color: #ff5a3d; background: linear-gradient(135deg, #ff8a3d, #ff3d6e); box-shadow: 0 0 22px rgba(255, 90, 61, 0.55); }
.g-swipe .gs-m3 .gs-firebar i, .g-swipe .gs-m4 .gs-firebar i { background: linear-gradient(90deg, var(--gs-fire), #ff3d6e); }
.g-swipe .gs-m5 .gs-firebar i { background: linear-gradient(90deg, #ff3d6e, var(--gs-gold), #ff3d6e); background-size: 200% 100%; animation: gs-burn 0.9s linear infinite; }
@keyframes gs-burn { to { background-position: -200% 0; } }
.g-swipe .gs-m3 .gs-flames, .g-swipe .gs-m4 .gs-flames, .g-swipe .gs-m5 .gs-flames { animation: gs-flicker 0.5s ease-in-out infinite alternate; transform-origin: center bottom; }
@keyframes gs-flicker { from { transform: scale(1) translateY(0); } to { transform: scale(1.12) translateY(-1px); } }

/* ───────── the deck ───────── */
.g-swipe .gs-deck { position: relative; height: clamp(300px, 86vw, 370px); margin: 12px 4px 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.g-swipe .gs-pile { position: absolute; inset: 0; }
.g-swipe .gs-card {
  position: absolute; left: 0; right: 0; top: 0; bottom: 28px;
  display: flex; flex-direction: column;
  border-radius: 22px; overflow: hidden;
  background: #fbfcff; color: var(--gs-navy);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  transform-origin: 50% 90%;
  transition: transform 0.26s var(--gs-ease), opacity 0.22s ease, box-shadow 0.2s;
  touch-action: pan-y; cursor: grab; will-change: transform;
}
.g-swipe .gs-card[aria-hidden='true'] { pointer-events: none; }
.g-swipe .gs-dragging .gs-card, .g-swipe .gs-card.gs-flying { transition: none; }
.g-swipe .gs-card.gs-flying { z-index: 30 !important; pointer-events: none; }
.g-swipe .gs-card.gs-held { cursor: grabbing; box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55); }
.g-swipe .gs-card.gs-bad { box-shadow: 0 0 0 4px var(--gs-pink), 0 18px 40px rgba(0, 0, 0, 0.45); }
.g-swipe .gs-card-boss { box-shadow: 0 0 0 3px #ff5a3d, 0 0 30px rgba(255, 90, 61, 0.35), 0 18px 40px rgba(0, 0, 0, 0.45); }
.g-swipe .gs-card-power { background: linear-gradient(160deg, #fff6d8, #ffe08a); box-shadow: 0 0 0 3px var(--gs-gold), 0 0 36px rgba(255, 201, 77, 0.45), 0 18px 40px rgba(0, 0, 0, 0.45); }
.g-swipe .gs-art { position: relative; flex: 1 1 auto; min-height: 110px; display: grid; place-items: center; overflow: hidden; }
.g-swipe .gs-art-power { background: radial-gradient(circle at 50% 55%, #fff, #ffd45e 70%); }
.g-swipe .gs-blob { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.g-swipe .gs-blob1 { width: 140px; height: 140px; left: 50%; top: 50%; transform: translate(-50%, -46%); box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.22); }
.g-swipe .gs-blob2 { width: 44px; height: 44px; right: 12%; bottom: 14%; background: rgba(255, 255, 255, 0.35); }
.g-swipe .gs-emoji { position: relative; font-size: clamp(62px, 19vw, 82px); line-height: 1; filter: drop-shadow(0 10px 10px rgba(10, 25, 47, 0.22)); font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.g-swipe .gs-tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); color: #4b5872; font-size: 11.5px; font-weight: 800; letter-spacing: 0.4px; }
.g-swipe .gs-tag-boss { background: #ff5a3d; color: #fff; }
.g-swipe .gs-tag-power { background: var(--gs-navy); color: var(--gs-gold); }
.g-swipe .gs-body { padding: 12px 18px 4px; }
.g-swipe .gs-body h3 { margin: 0; font-size: clamp(20px, 5.6vw, 24px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.1; color: var(--gs-navy); }
.g-swipe .gs-body p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.4; color: #4b5872; font-weight: 500; }
.g-swipe .gs-foot { padding: 4px 18px 6px; font-size: 12px; font-weight: 800; color: #8a6a00; }
.g-swipe .gs-fuse { height: 6px; margin: 10px 18px 14px; border-radius: 99px; background: #e8edf5; overflow: hidden; flex: none; }
.g-swipe .gs-fuse i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22c3d0, #4be38a); transform-origin: left center; }
.g-swipe .gs-fuse-low .gs-fuse i { background: linear-gradient(90deg, var(--gs-pink), var(--gs-fire)); }
/* the last stretch of a fuse: the card edge pulses red so the pressure reads from the corner of your eye */
.g-swipe .gs-fuse-low { outline: 3px solid rgba(255, 61, 110, 0.9); outline-offset: -3px; animation: gs-jitter 0.18s linear infinite, gs-edge 0.36s ease-in-out infinite alternate; }
@keyframes gs-edge { from { outline-color: rgba(255, 61, 110, 0.2); } to { outline-color: rgba(255, 61, 110, 0.95); } }
@keyframes gs-jitter { 50% { margin-left: 1px; } }
.g-swipe .gs-nofuse .gs-fuse { visibility: hidden; }

/* the rules card (the first card of a session; swiping it starts the clock) */
.g-swipe .gs-card-intro { background: linear-gradient(170deg, #ffffff, #eef6ff); }
.g-swipe .gs-intro { display: flex; flex-direction: column; gap: 9px; padding: 18px 18px 14px; height: 100%; box-sizing: border-box; }
.g-swipe .gs-intro-kick { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--gs-navy); color: var(--gs-gold); font-size: 11.5px; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase; }
.g-swipe .gs-intro h3 { margin: 2px 0 2px; font-size: clamp(22px, 6.2vw, 27px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; color: var(--gs-navy); }
.g-swipe .gs-rule { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 14px; }
.g-swipe .gs-rule b { display: block; font-size: 15px; font-weight: 900; color: var(--gs-navy); }
.g-swipe .gs-rule small { display: block; margin-top: 1px; font-size: 12.5px; color: #5a6782; }
.g-swipe .gs-rule-yes { background: #dcfbe8; }
.g-swipe .gs-rule-no { background: #ffe3ec; }
.g-swipe .gs-key { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 20px; font-weight: 900; color: #fff; }
.g-swipe .gs-rule-yes .gs-key { background: #1fbf68; }
.g-swipe .gs-rule-no .gs-key { background: #e8306f; }
.g-swipe .gs-intro-line { margin: 0; font-size: 13.5px; font-weight: 700; color: #4b5872; }
.g-swipe .gs-intro-go { margin-top: auto; align-self: center; padding: 8px 16px; border-radius: 999px; background: var(--gs-navy); color: #fff; font-size: 14px; font-weight: 900; animation: gs-go 1.6s ease-in-out infinite; }
@keyframes gs-go { 50% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(10, 25, 47, 0.12); } }
.g-swipe .gs-intro-goal { align-self: center; padding: 3px 10px; border-radius: 999px; background: #fff3c4; font-size: 12.5px; font-weight: 900; color: #7a5a00; }
/* the ready card after a run: shorter, the goal up front */
.g-swipe .gs-intro-again { justify-content: center; gap: 10px; }
.g-swipe .gs-intro-again h3 { text-align: center; }
.g-swipe .gs-intro-again .gs-intro-goal { font-size: 15px; padding: 6px 14px; }
.g-swipe .gs-intro-again .gs-intro-go { margin-top: 6px; }

/* stamps */
.g-swipe .gs-stamp { position: absolute; top: 54px; padding: 6px 12px; border: 4px solid; border-radius: 12px; font-size: 21px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0; pointer-events: none; background: rgba(255, 255, 255, 0.88); white-space: nowrap; }
.g-swipe .gs-stamp-yes { left: 16px; color: #12a55a; border-color: var(--gs-green); transform: rotate(-14deg); box-shadow: 0 0 24px rgba(75, 227, 138, 0.5); }
.g-swipe .gs-stamp-no { right: 16px; color: #e8306f; border-color: var(--gs-pink); transform: rotate(14deg); box-shadow: 0 0 24px rgba(255, 79, 139, 0.4); }
.g-swipe .gs-is-yes .gs-stamp-yes, .g-swipe .gs-is-no .gs-stamp-no { animation: gs-stamp 0.24s var(--gs-bounce); }
@keyframes gs-stamp { 0% { scale: 1.6; } 100% { scale: 1; } }

/* rules-card hint: a wiggle toward "hand it off" */
.g-swipe .gs-card.gs-nudge { animation: gs-nudge 1.4s var(--gs-ease); }
.g-swipe .gs-nudge .gs-stamp-yes { animation: gs-nudge-stamp 1.4s ease; }
@keyframes gs-nudge { 0%, 100% { transform: none; } 30% { transform: translateX(34px) rotate(4deg); } 55% { transform: translateX(-14px) rotate(-2deg); } 75% { transform: translateX(4px) rotate(0.5deg); } }
@keyframes gs-nudge-stamp { 0%, 100% { opacity: 0; } 30% { opacity: 0.5; } 50% { opacity: 0; } }

/* active effects (boss clock, slow time, double points), over the top of the deck */
.g-swipe .gs-pills { position: absolute; left: 0; right: 0; top: -6px; z-index: 45; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.g-swipe .gs-pill { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 900; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); font-variant-numeric: tabular-nums; }
.g-swipe .gs-pill-boss { background: #ff5a3d; color: #fff; }
.g-swipe .gs-pill-hot { animation: gs-hot 0.5s ease-in-out infinite alternate; }
@keyframes gs-hot { to { transform: scale(1.08); background: #ff2d55; } }
.g-swipe .gs-pill-slow { background: #8aa8ff; color: #0b1640; }
.g-swipe .gs-pill-dbl { background: var(--gs-gold); color: #2a1d00; }

/* points float, why-it-was-wrong panel, banners */
.g-swipe .gs-float { position: absolute; top: 26%; right: 6px; z-index: 40; display: grid; justify-items: end; gap: 3px; pointer-events: none; animation: gs-float 1s var(--gs-ease) forwards; }
.g-swipe .gs-float-l { right: auto; left: 6px; justify-items: start; }
.g-swipe .gs-float b { padding: 5px 12px; border-radius: 999px; font-size: 20px; font-weight: 900; background: var(--gs-green); color: #04220f; box-shadow: 0 8px 26px rgba(75, 227, 138, 0.45); }
.g-swipe .gs-float small { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(5, 8, 18, 0.85); color: #e6fbff; white-space: nowrap; }
.g-swipe .gs-float-power b { background: var(--gs-gold); color: #2a1d00; box-shadow: 0 8px 26px rgba(255, 201, 77, 0.5); font-size: 17px; }
@keyframes gs-float { 0% { opacity: 0; transform: translateY(16px) scale(0.7); } 16% { opacity: 1; transform: translateY(0) scale(1.06); } 28% { transform: scale(1); } 72% { opacity: 1; } 100% { opacity: 0; transform: translateY(-56px); } }
.g-swipe .gs-why { position: absolute; left: 6px; right: 6px; bottom: 0; z-index: 46; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.35; font-weight: 600; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.g-swipe .gs-why b { font-weight: 900; margin-right: 4px; }
.g-swipe .gs-why-bad { background: #3a0f22; border: 1px solid var(--gs-pink); color: #ffe1ec; }
.g-swipe .gs-why-bad b { color: var(--gs-pink); }
.g-swipe .gs-why-slow { background: #2a1d05; border: 1px solid var(--gs-fire); color: #ffe9d2; }
.g-swipe .gs-why-slow b { color: var(--gs-fire); }
.g-swipe .gs-why-in { animation: gs-why 0.3s var(--gs-bounce); }
@keyframes gs-why { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
.g-swipe .gs-banner { position: absolute; left: -4px; right: -4px; top: 30%; z-index: 50; display: grid; justify-items: center; gap: 4px; padding: 16px 14px; border-radius: 18px; text-align: center; pointer-events: none; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); }
.g-swipe .gs-banner b { font-size: clamp(18px, 5vw, 22px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.g-swipe .gs-banner small { font-size: 13px; font-weight: 700; opacity: 0.85; }
.g-swipe .gs-banner-e { font-size: 38px; line-height: 1; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.g-swipe .gs-banner-boss { background: linear-gradient(135deg, #ff5a3d, #ff2d6e); color: #fff; }
.g-swipe .gs-banner-fail { background: #2a1630; border: 1px solid var(--gs-pink); color: #ffe1ec; }
.g-swipe .gs-banner-win { background: linear-gradient(135deg, #2fd27a, #22e4f2); color: #03141c; }
.g-swipe .gs-banner-time { background: var(--gs-navy); border: 2px solid var(--gs-gold); color: var(--gs-gold); }
.g-swipe .gs-banner-time b { font-size: 34px; }
.g-swipe .gs-banner-in { animation: gs-banner 0.45s var(--gs-bounce); }
@keyframes gs-banner { from { opacity: 0; transform: scale(0.6) rotate(-3deg); } }
.g-swipe .gs-pause { position: absolute; inset: 0 0 28px; z-index: 60; display: grid; place-content: center; gap: 6px; border: 0; border-radius: 22px; background: rgba(5, 8, 18, 0.88); color: #fff; font: inherit; cursor: pointer; }
.g-swipe .gs-pause b { font-size: 26px; font-weight: 900; }
.g-swipe .gs-pause span { font-size: 14px; color: rgba(226, 234, 248, 0.75); }

/* the mini gigster who takes a handed-off card */
.g-swipe .gs-worker { position: absolute; right: -4px; bottom: 0; z-index: 35; width: 76px; pointer-events: none; animation: gs-worker 1s var(--gs-ease) forwards; }
.g-swipe .gs-giggy { width: 76px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45)); }
.g-swipe .gs-giggy svg { width: 100%; height: auto; }
.g-swipe .gs-mini { position: absolute; left: -10px; top: 52px; width: 32px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: #fbfcff; font-size: 17px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35); transform: rotate(-12deg); }
.g-swipe .gs-bubble { position: absolute; right: 46px; top: -4px; padding: 5px 9px; border-radius: 12px 12px 2px 12px; background: var(--gs-green); color: #04220f; font-size: 12px; font-weight: 900; white-space: nowrap; box-shadow: 0 6px 16px rgba(75, 227, 138, 0.4); }
@keyframes gs-worker { 0% { opacity: 0; transform: translate(30px, 50px) scale(0.4); } 20% { opacity: 1; transform: translate(0, -6px) scale(1.06); } 30% { transform: translate(0, 0) scale(1); } 68% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(120px, -8px) scale(0.9); } }

/* ───────── buttons ───────── */
.g-swipe .gs-actions { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; margin-top: 10px; }
.g-swipe .gs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 54px; padding: 12px 14px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 900; letter-spacing: -0.01em; cursor: pointer; transition: transform 0.2s var(--gs-bounce), box-shadow 0.2s, background 0.2s, opacity 0.2s; touch-action: manipulation; }
.g-swipe .gs-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.g-swipe .gs-no { background: rgba(255, 79, 139, 0.12); border-color: rgba(255, 79, 139, 0.6); color: var(--gs-pink); }
.g-swipe .gs-no:hover { background: rgba(255, 79, 139, 0.2); }
.g-swipe .gs-yes { background: var(--gs-green); color: #04220f; box-shadow: 0 10px 28px rgba(75, 227, 138, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.14); }
.g-swipe .gs-yes:hover { box-shadow: 0 14px 36px rgba(75, 227, 138, 0.5); }
.g-swipe .gs-skip { min-width: 58px; padding: 10px 12px; gap: 4px; background: rgba(255, 255, 255, 0.05); border-color: var(--gs-line); color: rgba(226, 234, 248, 0.55); }
.g-swipe .gs-skip svg { width: 18px; height: 18px; }
.g-swipe .gs-skip b { font-size: 15px; font-variant-numeric: tabular-nums; }
.g-swipe .gs-skip.gs-has { background: rgba(255, 201, 77, 0.16); border-color: var(--gs-gold); color: var(--gs-gold); }
.g-swipe .gs-btn:active, .g-swipe .gs-btn.gs-press { animation: gs-press 0.24s var(--gs-bounce); }
@keyframes gs-press { 40% { transform: scale(0.92); } }
.g-swipe .gs-btn:focus-visible, .g-swipe .gs-tiecard:focus-visible, .g-swipe .gs-pause:focus-visible { outline: 3px solid var(--gs-gold); outline-offset: 3px; }
.g-swipe .gs-btn:disabled { opacity: 0.4; cursor: default; }
.g-swipe .gs-hint { margin: 9px 0 0; text-align: center; font-size: 12.5px; color: rgba(226, 234, 248, 0.5); }
.g-swipe kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.2); border-bottom-width: 2px; background: rgba(255, 255, 255, 0.06); font: 700 12px/1.4 Inter, system-ui, sans-serif; color: rgba(226, 234, 248, 0.8); text-align: center; }
.g-swipe .gs-hint-touch { display: none; }
@media (hover: none) { .g-swipe .gs-hint-keys, .g-swipe .gs-again-hint { display: none; } .g-swipe .gs-hint-touch { display: inline; } }

/* ───────── end card ───────── */
.g-swipe .gs-end { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 6px 2px 4px; animation: gs-in 0.5s var(--gs-ease); }
@keyframes gs-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.g-swipe .gs-end-title { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 10px; outline: none; }
.g-swipe .gs-big { font-size: clamp(64px, 20vw, 96px); font-weight: 900; letter-spacing: -0.06em; line-height: 0.95; color: var(--gs-gold); text-shadow: 0 0 40px rgba(255, 201, 77, 0.45); font-variant-numeric: tabular-nums; }
.g-swipe .gs-end-title small { font-size: clamp(18px, 5vw, 24px); font-weight: 900; color: #fff; }
.g-swipe .gs-best { margin: -6px 0 0; font-size: 14px; font-weight: 700; color: rgba(226, 234, 248, 0.7); }
.g-swipe .gs-best b { color: var(--gs-gold); }
.g-swipe .gs-stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.g-swipe .gs-stats div { display: grid; gap: 3px; padding: 12px 6px; border-radius: 16px; background: rgba(5, 8, 18, 0.45); border: 1px solid var(--gs-line); }
.g-swipe .gs-stats b { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.g-swipe .gs-stats div:nth-child(2) b { color: var(--gs-fire); }
.g-swipe .gs-stats div:nth-child(3) b { color: var(--gs-cyan); }
.g-swipe .gs-stats small { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(226, 234, 248, 0.55); }
.g-swipe .gs-post { width: 100%; }
.g-swipe .gs-none { margin: 0; font-size: 14px; color: rgba(226, 234, 248, 0.6); }
.g-swipe .gs-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.g-swipe .gs-again-hint { margin: -6px 0 0; font-size: 12px; color: rgba(226, 234, 248, 0.45); }
.g-swipe .gs-learn, .g-swipe .gs-oops { width: 100%; text-align: left; }
.g-swipe .gs-learn h4, .g-swipe .gs-oops h4 { margin: 0 0 7px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(226, 234, 248, 0.6); }
.g-swipe .gs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g-swipe .gs-chip { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(75, 227, 138, 0.1); border: 1px solid rgba(75, 227, 138, 0.4); color: #d4fbe3; }
.g-swipe .gs-oops ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.g-swipe .gs-oops li { padding: 8px 12px; border-radius: 12px; background: rgba(255, 79, 139, 0.08); border: 1px solid rgba(255, 79, 139, 0.28); font-size: 13.5px; line-height: 1.4; color: rgba(255, 225, 236, 0.9); }
.g-swipe .gs-oops li b { color: #fff; }
.g-swipe .gs-tie { width: 100%; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 2px; }
.g-swipe .gs-tiecard { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--gs-line); background: var(--gs-glass); color: #f4f7fc; font: inherit; text-align: left; cursor: pointer; transition: transform 0.2s var(--gs-bounce), background 0.2s, border-color 0.2s; }
.g-swipe .gs-tiecard:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }
.g-swipe .gs-tie-hire { border-color: rgba(34, 228, 242, 0.4); background: linear-gradient(135deg, rgba(34, 228, 242, 0.14), rgba(34, 228, 242, 0.03)); }
.g-swipe .gs-tie-work { border-color: rgba(75, 227, 138, 0.38); background: linear-gradient(135deg, rgba(75, 227, 138, 0.13), rgba(75, 227, 138, 0.03)); }
.g-swipe .gs-tie-ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, 0.08); font-size: 22px; }
.g-swipe .gs-tiecard b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.g-swipe .gs-tiecard small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; color: var(--gs-cyan); }
.g-swipe .gs-tie-work small { color: var(--gs-green); }
.g-swipe .gs-note { margin: 0; font-size: 12px; line-height: 1.45; color: rgba(226, 234, 248, 0.45); }

@media (max-width: 480px) {
  .g-swipe { padding: 12px 12px 12px; }
  .g-swipe .gs-tie { grid-template-columns: 1fr; }
  .g-swipe .gs-num { font-size: 22px; }
  .g-swipe .gs-num-h { font-size: 19px; }
  .g-swipe .gs-clock { min-width: 80px; padding: 5px 10px 4px; }
  .g-swipe .gs-clocknum { font-size: 26px; }
  .g-swipe .gs-stats b { font-size: 21px; }
  .g-swipe .gs-deck { height: clamp(318px, 96vw, 370px); }
  .g-swipe .gs-btn { font-size: 15px; gap: 5px; padding: 10px 10px; white-space: nowrap; }
  .g-swipe .gs-btn svg { width: 19px; height: 19px; }
  .g-swipe .gs-skip { min-width: 52px; padding: 10px 8px; }
  .g-swipe .gs-intro { gap: 7px; padding: 14px 14px 12px; }
  .g-swipe .gs-intro h3 { font-size: 21px; }
  .g-swipe .gs-rule { padding: 7px 9px; gap: 9px; }
  .g-swipe .gs-rule b { font-size: 14px; }
  .g-swipe .gs-rule small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .g-swipe .gs-rule > div { min-width: 0; }
  .g-swipe .gs-key { width: 30px; height: 30px; font-size: 18px; }
  .g-swipe .gs-intro-line { font-size: 12.5px; }
}
@media (max-width: 400px) {
  .g-swipe .gs-btn { font-size: 14px; padding: 10px 8px; }
  .g-swipe .gs-yes svg { display: none; }
  .g-swipe .gs-skip { min-width: 46px; padding: 10px 6px; }
  .g-swipe .gs-stamp { font-size: 17px; }
  .g-swipe .gs-streak { display: none; }
  .g-swipe .gs-body p { font-size: 13.5px; }
  .g-swipe .gs-intro-line { display: none; }
}

/* Reduced motion: no shakes, wiggles, flights or bounces; cards simply fade. */
@media (prefers-reduced-motion: reduce) {
  .g-swipe .gs-card { transition: opacity 0.2s linear; }
  .g-swipe .gs-card.gs-nudge, .g-swipe .gs-nudge .gs-stamp-yes, .g-swipe .gs-bump, .g-swipe .gs-btn.gs-press, .g-swipe .gs-btn:active, .g-swipe .gs-is-yes .gs-stamp-yes, .g-swipe .gs-is-no .gs-stamp-no, .g-swipe .gs-multpop, .g-swipe .gs-tickpop, .g-swipe .gs-fuse-low, .g-swipe .gs-intro-go, .g-swipe .gs-flames, .g-swipe .gs-pill-hot, .g-swipe .gs-m5 .gs-firebar i, .g-swipe.gs-shake { animation: none; }
  .g-swipe .gs-float, .g-swipe .gs-tchip { animation: gs-fade 0.9s linear forwards; }
  .g-swipe .gs-banner-in, .g-swipe .gs-why-in, .g-swipe .gs-end { animation: none; }
  .g-swipe .gs-firebar i { transition: none; }
}
@keyframes gs-fade { 0% { opacity: 0; } 20%, 75% { opacity: 1; } 100% { opacity: 0; } }
