/* ============================================================================
   CHRISTMAS THEME — shared by every TV page, each page with its own look:
     xm-dash      main dashboard     snowy night, lights, countdown to Christmas, hats on everything
     xm-workout   workout board      a different holiday character in every box, numbers on ornaments
     xm-strength  strength station   gingerbread men and snowmen who lift
     xm-ads       ads + coach's corner   a reindeer jogs by now and then
     xm-ipad      both iPads         the same characters and ornaments, no snow (touch screens)
   christmas.js adds "christmas" plus one of those classes to <html> during
   December only. ?christmas=1 or ?christmas=0 on the address forces it, and
   ?xmasdemo=1 plays the surprise visitors every few seconds instead of every few minutes.
   The timer screen and slides built in the editor are left alone.
   ============================================================================ */

/* ---------- shared base: snowy pine night ---------- */
html.christmas {
  --cream:   #0b2a1d;
  --panel:   #12382a;
  --ink:     #f6f1e7;
  --ink-mid: #b9cfc1;
  --line:    rgba(255,255,255,0.13);

  --berry:      #ff4d4d;
  --berry-lit:  #ff6b6b;
  --berry-deep: #ff8f8f;
  --berry-ink:  #2a0606;
  --berry-soft: rgba(255,77,77,0.18);
  --berry-mist: rgba(255,255,255,0.05);

  --gold:      #f4c542;
  --gold-warm: #e8b020;
  --gold-deep: #5a3a00;

  --green:      #7bd389;
  --green-soft: rgba(123,211,137,0.16);

  --lift-1: 0 0.3vh 1.2vh rgba(0,0,0,0.35);
  --lift-2: 0 0.8vh 2.6vh rgba(0,0,0,0.45);
  --lift-3: 0 1vw 3vw rgba(0,0,0,0.5);
}
html.christmas, html.christmas body { background: var(--cream); }
html.christmas img.logo { background: #fff; border-radius: 50%; }
html.christmas .box-head { position: relative; }

/* ---------- snow (TV pages) ---------- */
.xm-flake {
  position: fixed; top: -2vh; z-index: 5; pointer-events: none;
  border-radius: 50%; background: #fff;
  animation: xmFall linear infinite;
}
@keyframes xmFall {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(2vw, 52vh); }
  100% { transform: translate(-1vw, 106vh); }
}
html.xm-workout .xm-flake, html.xm-strength .xm-flake { opacity: 0.45 !important; }

/* ---------- a string of lights along the top edge ---------- */
.xm-lights {
  position: fixed; top: 0; left: 0; right: 0; z-index: 6; height: 2.3vh; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 30'%3E%3Cdefs%3E%3CradialGradient id='b0' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23ffd0d0'/%3E%3Cstop offset='1' stop-color='%23ff3b3b'/%3E%3C/radialGradient%3E%3CradialGradient id='b1' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff6c8'/%3E%3Cstop offset='1' stop-color='%23ffd23f'/%3E%3C/radialGradient%3E%3CradialGradient id='b2' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23d4ffe1'/%3E%3Cstop offset='1' stop-color='%233ddc6a'/%3E%3C/radialGradient%3E%3CradialGradient id='b3' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23d6ecff'/%3E%3Cstop offset='1' stop-color='%234aa8ff'/%3E%3C/radialGradient%3E%3CradialGradient id='b4' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23ffe0f6'/%3E%3Cstop offset='1' stop-color='%23ff7ad9'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0 4Q18 14 36 5Q54 14 72 5Q90 14 108 5Q126 14 144 5Q162 14 180 4' stroke='%230e2219' stroke-width='1.8' fill='none'/%3E%3Crect x='15.4' y='8' width='5.2' height='4.6' rx='1' fill='%233a3f3a'/%3E%3Cellipse cx='18' cy='18' rx='4.4' ry='6.4' fill='%23ff3b3b' opacity='.6'/%3E%3Crect x='51.4' y='8' width='5.2' height='4.6' rx='1' fill='%233a3f3a'/%3E%3Cellipse cx='54' cy='18' rx='4.4' ry='6.4' fill='%23ffd23f' opacity='.6'/%3E%3Crect x='87.4' y='8' width='5.2' height='4.6' rx='1' fill='%233a3f3a'/%3E%3Cellipse cx='90' cy='18' rx='4.4' ry='6.4' fill='%233ddc6a' opacity='.6'/%3E%3Crect x='123.4' y='8' width='5.2' height='4.6' rx='1' fill='%233a3f3a'/%3E%3Cellipse cx='126' cy='18' rx='4.4' ry='6.4' fill='%234aa8ff' opacity='.6'/%3E%3Crect x='159.4' y='8' width='5.2' height='4.6' rx='1' fill='%233a3f3a'/%3E%3Cellipse cx='162' cy='18' rx='4.4' ry='6.4' fill='%23ff7ad9' opacity='.6'/%3E%3C/svg%3E") repeat-x left top / auto 100%;
}
.xm-lights::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 30'%3E%3Cdefs%3E%3CradialGradient id='b0' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23ffd0d0'/%3E%3Cstop offset='1' stop-color='%23ff3b3b'/%3E%3C/radialGradient%3E%3CradialGradient id='b1' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff6c8'/%3E%3Cstop offset='1' stop-color='%23ffd23f'/%3E%3C/radialGradient%3E%3CradialGradient id='b2' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23d4ffe1'/%3E%3Cstop offset='1' stop-color='%233ddc6a'/%3E%3C/radialGradient%3E%3CradialGradient id='b3' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23d6ecff'/%3E%3Cstop offset='1' stop-color='%234aa8ff'/%3E%3C/radialGradient%3E%3CradialGradient id='b4' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23ffe0f6'/%3E%3Cstop offset='1' stop-color='%23ff7ad9'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='18' cy='18' r='10' fill='%23ff3b3b' opacity='.28'/%3E%3Ccircle cx='18' cy='18' r='6.5' fill='%23ff3b3b' opacity='.35'/%3E%3Cellipse cx='18' cy='18' rx='4.4' ry='6.4' fill='url(%23b0)'/%3E%3Cellipse cx='16.7' cy='15.8' rx='1.3' ry='2.4' fill='%23fff' opacity='.85'/%3E%3Ccircle cx='54' cy='18' r='10' fill='%23ffd23f' opacity='.28'/%3E%3Ccircle cx='54' cy='18' r='6.5' fill='%23ffd23f' opacity='.35'/%3E%3Cellipse cx='54' cy='18' rx='4.4' ry='6.4' fill='url(%23b1)'/%3E%3Cellipse cx='52.7' cy='15.8' rx='1.3' ry='2.4' fill='%23fff' opacity='.85'/%3E%3Ccircle cx='90' cy='18' r='10' fill='%233ddc6a' opacity='.28'/%3E%3Ccircle cx='90' cy='18' r='6.5' fill='%233ddc6a' opacity='.35'/%3E%3Cellipse cx='90' cy='18' rx='4.4' ry='6.4' fill='url(%23b2)'/%3E%3Cellipse cx='88.7' cy='15.8' rx='1.3' ry='2.4' fill='%23fff' opacity='.85'/%3E%3Ccircle cx='126' cy='18' r='10' fill='%234aa8ff' opacity='.28'/%3E%3Ccircle cx='126' cy='18' r='6.5' fill='%234aa8ff' opacity='.35'/%3E%3Cellipse cx='126' cy='18' rx='4.4' ry='6.4' fill='url(%23b3)'/%3E%3Cellipse cx='124.7' cy='15.8' rx='1.3' ry='2.4' fill='%23fff' opacity='.85'/%3E%3Ccircle cx='162' cy='18' r='10' fill='%23ff7ad9' opacity='.28'/%3E%3Ccircle cx='162' cy='18' r='6.5' fill='%23ff7ad9' opacity='.35'/%3E%3Cellipse cx='162' cy='18' rx='4.4' ry='6.4' fill='url(%23b4)'/%3E%3Cellipse cx='160.7' cy='15.8' rx='1.3' ry='2.4' fill='%23fff' opacity='.85'/%3E%3C/svg%3E") repeat-x left top / auto 100%;
  animation: xmBlink 2.4s steps(1) infinite;
}
.xm-lights.b::after { background-position: 50% top; animation-delay: -1.2s; }
@keyframes xmBlink { 0% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- a Santa hat on the logo ---------- */
.xm-logohat {
  position: fixed; z-index: 7; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='w' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d9e2ec'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M13 72C15 44 31 17 54 12C73 8 87 24 91 54L81 57C78 43 72 36 65 37C68 47 73 60 75 72Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M24 60C29 40 40 24 56 18' stroke='%23ff9a90' stroke-width='3' fill='none' stroke-linecap='round' opacity='.65'/%3E%3Cpath d='M65 37C60 36 54 38 50 42' stroke='%238e0d1b' stroke-width='2' fill='none' stroke-linecap='round' opacity='.6'/%3E%3Ccircle cx='13' cy='74' r='10.6' fill='%233b1a10'/%3E%3Ccircle cx='23' cy='71' r='11.6' fill='%233b1a10'/%3E%3Ccircle cx='34' cy='73' r='11.6' fill='%233b1a10'/%3E%3Ccircle cx='45' cy='71' r='12.1' fill='%233b1a10'/%3E%3Ccircle cx='56' cy='73' r='11.6' fill='%233b1a10'/%3E%3Ccircle cx='66' cy='71' r='11.6' fill='%233b1a10'/%3E%3Ccircle cx='75' cy='74' r='10.6' fill='%233b1a10'/%3E%3Ccircle cx='13' cy='74' r='9' fill='url(%23w)'/%3E%3Ccircle cx='23' cy='71' r='10' fill='url(%23w)'/%3E%3Ccircle cx='34' cy='73' r='10' fill='url(%23w)'/%3E%3Ccircle cx='45' cy='71' r='10.5' fill='url(%23w)'/%3E%3Ccircle cx='56' cy='73' r='10' fill='url(%23w)'/%3E%3Ccircle cx='66' cy='71' r='10' fill='url(%23w)'/%3E%3Ccircle cx='75' cy='74' r='9' fill='url(%23w)'/%3E%3Crect x='13' y='68' width='62' height='11' fill='%23f2f5f9'/%3E%3Ccircle cx='87' cy='60' r='10.5' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Ccircle cx='84' cy='56' r='3' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: rotate(-16deg); transform-origin: 44% 74%;
}

/* ============================================================================
   1. MAIN DASHBOARD
   ============================================================================ */
html.xm-dash .backdrop .wash {
  background:
    radial-gradient(30% 40% at 96% 2%,  rgba(244,197,66,0.16) 0%, transparent 70%),
    radial-gradient(50% 60% at 4% -8%,  rgba(255,77,77,0.18) 0%, transparent 68%),
    radial-gradient(56% 50% at 30% 112%, rgba(123,211,137,0.12) 0%, transparent 72%);
}
html.xm-dash .stat.now,
html.xm-dash .dance-card.tonight,
html.xm-dash .card.milestone,
html.xm-dash .facts-panel,
html.xm-dash .promo-panel,
html.xm-dash .shoutout-panel { background: linear-gradient(150deg, #e23b3b 0%, #a3101f 48%, #3d0610 100%); }
html.xm-dash .avatar { background: linear-gradient(145deg, rgba(255,77,77,0.35), rgba(123,211,137,0.3)); color: #fff; }
html.xm-dash .goal-strip.goal-hit .goal-text b { color: var(--gold); }
html.xm-dash .goal-hit-badge { color: #2a0606; }
html.xm-dash .open-state.shut .beacon { background: #6f8a7b; }
html.xm-dash .status.open { background: rgba(123,211,137,0.16); }

.xm-countdown {
  display: flex; align-items: center;
  margin-right: 1.4vw;
  padding: 0.55vw 1.1vw 0.55vw 0.7vw;
  border-radius: 999px;
  background: rgba(255,77,77,0.14);
  border: 1px solid rgba(255,77,77,0.45);
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 0.95vw; letter-spacing: 0.08em; text-transform: uppercase;
  color: #ffb3b3; white-space: nowrap;
}
.xm-countdown::before { content: ''; width: 2vw; height: 2vw; margin-right: 0.6vw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='p' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ff4d4d'/%3E%3Cstop offset='1' stop-color='%23a50f1c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='14' y='40' width='72' height='52' rx='4' fill='url(%23p)' stroke='%233b1a10' stroke-width='2'/%3E%3Crect x='10' y='30' width='80' height='14' rx='3' fill='%23ff5a5a' stroke='%233b1a10' stroke-width='2'/%3E%3Crect x='44' y='30' width='12' height='62' fill='%23ffd54a' stroke='%233b1a10' stroke-width='1.6'/%3E%3Cpath d='M50 30C38 12 22 12 24 22C26 30 40 30 50 30C60 30 74 30 76 22C78 12 62 12 50 30Z' fill='%23ffd54a' stroke='%233b1a10' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.xm-countdown b { color: #fff; font-weight: 900; font-size: 1.25vw; margin-right: 0.4vw; }

/* ============================================================================
   2. WORKOUT BOARD + 5. IPADS — a character in every box, numbers on ornaments
   ============================================================================ */
html.xm-workout .backdrop .wash {
  background:
    radial-gradient(44% 50% at 50% 50%, rgba(255,77,77,0.12) 0%, transparent 72%),
    radial-gradient(40% 46% at 0% 100%, rgba(123,211,137,0.10) 0%, transparent 70%);
}
html.christmas .box.tone-green::before { background: linear-gradient(90deg, #3fb56a, var(--green)); }

/* ornaments replace the number circles; the circle's size is left exactly as it was so the rows still fit */
html.xm-workout .ex-num, html.xm-ipad .ex-num, html.xm-strength .ex-num {
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='o' cx='38%25' cy='32%25' r='72%25'%3E%3Cstop offset='0' stop-color='%23ff8a8a'/%3E%3Cstop offset='.55' stop-color='%23e0283a'/%3E%3Cstop offset='1' stop-color='%238e0d1b'/%3E%3C/radialGradient%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe98a'/%3E%3Cstop offset='1' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='35' r='26.5' fill='url(%23o)' stroke='%238e0d1b' stroke-width='1.2'/%3E%3Cellipse cx='22' cy='24' rx='7.5' ry='4.4' transform='rotate(-35 22 24)' fill='%23fff' opacity='.45'/%3E%3Ccircle cx='17.5' cy='33' r='1.6' fill='%23fff' opacity='.35'/%3E%3Ccircle cx='32' cy='3.3' r='2.4' fill='none' stroke='%23c99a2e' stroke-width='1.3'/%3E%3Crect x='25.5' y='4.6' width='13' height='7.6' rx='1.6' fill='url(%23k)' stroke='%237a5a10' stroke-width='.8'/%3E%3Cpath d='M28.6 5.4v6M32 5.4v6M35.4 5.4v6' stroke='%237a5a10' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E") no-repeat center / contain !important;
  color: #fff !important; padding-top: 0.12em;
}
html.xm-workout .box.tone-green .ex-num, html.xm-ipad .tone-green .ex-num, html.xm-strength .box.tone-green .ex-num {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='o' cx='38%25' cy='32%25' r='72%25'%3E%3Cstop offset='0' stop-color='%237ff0a8'/%3E%3Cstop offset='.55' stop-color='%231f9a52'/%3E%3Cstop offset='1' stop-color='%230c5a2e'/%3E%3C/radialGradient%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe98a'/%3E%3Cstop offset='1' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='35' r='26.5' fill='url(%23o)' stroke='%230c5a2e' stroke-width='1.2'/%3E%3Cellipse cx='22' cy='24' rx='7.5' ry='4.4' transform='rotate(-35 22 24)' fill='%23fff' opacity='.45'/%3E%3Ccircle cx='17.5' cy='33' r='1.6' fill='%23fff' opacity='.35'/%3E%3Ccircle cx='32' cy='3.3' r='2.4' fill='none' stroke='%23c99a2e' stroke-width='1.3'/%3E%3Crect x='25.5' y='4.6' width='13' height='7.6' rx='1.6' fill='url(%23k)' stroke='%237a5a10' stroke-width='.8'/%3E%3Cpath d='M28.6 5.4v6M32 5.4v6M35.4 5.4v6' stroke='%237a5a10' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E") !important;
}
html.xm-workout .order-center { background: linear-gradient(150deg, #a3101f 0%, #3d0610 100%); box-shadow: 0 0 0 1px rgba(244,197,66,0.5), var(--lift-2); }
html.xm-workout .order-pip, html.xm-ipad .order-pip {
  border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='o' cx='38%25' cy='32%25' r='72%25'%3E%3Cstop offset='0' stop-color='%23fff3b0'/%3E%3Cstop offset='.55' stop-color='%23e7b73d'/%3E%3Cstop offset='1' stop-color='%239a6f12'/%3E%3C/radialGradient%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe98a'/%3E%3Cstop offset='1' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='35' r='26.5' fill='url(%23o)' stroke='%239a6f12' stroke-width='1.2'/%3E%3Cellipse cx='22' cy='24' rx='7.5' ry='4.4' transform='rotate(-35 22 24)' fill='%23fff' opacity='.45'/%3E%3Ccircle cx='17.5' cy='33' r='1.6' fill='%23fff' opacity='.35'/%3E%3Ccircle cx='32' cy='3.3' r='2.4' fill='none' stroke='%23c99a2e' stroke-width='1.3'/%3E%3Crect x='25.5' y='4.6' width='13' height='7.6' rx='1.6' fill='url(%23k)' stroke='%237a5a10' stroke-width='.8'/%3E%3Cpath d='M28.6 5.4v6M32 5.4v6M35.4 5.4v6' stroke='%237a5a10' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E") no-repeat center / contain !important; color: #3a2a00 !important;
}
html.xm-workout .order-arrow, html.xm-ipad .order-arrow { color: rgba(244,197,66,0.8); }
html.xm-workout .challenge-badge, html.xm-ipad .challenge-badge { background: #c8102e; }

html.xm-workout .box-head::after {
  content: '';
  position: absolute; right: 0; top: -0.15vw;
  width: 5vw; height: 5vw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3CradialGradient id='w' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d9e2ec'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M22 47C20 25 38 9 60 10C77 11 87 23 89 38C83 31 75 28 67 31C57 35 51 41 49 47Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M58 14C70 14 80 20 84 30' stroke='%23ff9a90' stroke-width='2' fill='none' stroke-linecap='round' opacity='.7'/%3E%3Ccircle cx='87.5' cy='39' r='7.5' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.6'/%3E%3Ccircle cx='29' cy='73' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='32' cy='82' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='39' cy='89' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='46' cy='93' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='54' cy='93' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='61' cy='89' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='68' cy='82' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='71' cy='73' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cellipse cx='50' cy='58' rx='19' ry='18' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M28 60C27 74 34 86 44 90C48 92 52 92 56 90C66 86 73 74 72 60C67 68 60 71 50 71C40 71 33 68 28 60Z' fill='url(%23w)'/%3E%3Cpath d='M28 60C33 68 40 71 50 71C60 71 67 68 72 60' stroke='%233b1a10' stroke-width='1.2' fill='none' opacity='.35'/%3E%3Cellipse cx='50' cy='75.5' rx='3.8' ry='2.8' fill='%237a2a22'/%3E%3Cpath d='M50 66.5C46 62 38 62 33.5 67.5C38 72.5 46 71.5 50 68.5C54 71.5 62 72.5 66.5 67.5C62 62 54 62 50 66.5Z' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.3' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='63' r='4.4' fill='%23ef8a73' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='48.5' cy='61.5' r='1.3' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='38' cy='61.5' rx='4' ry='2.6' fill='%23ff7f7f' opacity='.5'/%3E%3Cellipse cx='62' cy='61.5' rx='4' ry='2.6' fill='%23ff7f7f' opacity='.5'/%3E%3Cpath d='M40 56Q43 52 46 56M54 56Q57 52 60 56' stroke='%233b1a10' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M38 51Q42.5 47.5 47 50M53 50Q57.5 47.5 62 51' stroke='%233b1a10' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M38 51Q42.5 47.5 47 50M53 50Q57.5 47.5 62 51' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='20' y='41' width='60' height='12' rx='6' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.6'/%3E%3Ccircle cx='30' cy='46' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='42' cy='48' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='56' cy='45.5' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='69' cy='47.5' r='1' fill='%23cfd8e2'/%3E%3C/svg%3E") no-repeat center / contain;
  transform-origin: 50% 100%;
  animation: xmBob 2.6s ease-in-out infinite;
}
html.xm-workout .box-title { padding-right: 5.8vw; }
html.xm-workout .box.xm-2 .box-head::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f0cf9c'/%3E%3Cstop offset='1' stop-color='%23b5864c'/%3E%3C/linearGradient%3E%3CradialGradient id='b' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23d0935a'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3CradialGradient id='m' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23f6dcbc'/%3E%3Cstop offset='1' stop-color='%23d6a674'/%3E%3C/radialGradient%3E%3CradialGradient id='n' cx='40%25' cy='35%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ff8a8a'/%3E%3Cstop offset='1' stop-color='%23c8102e'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M40 35C36 27 32 20 26 12M33 24C28 23 24 21 20 23M29 17C30 12 33 9 36 6' stroke='%233b1a10' stroke-width='6.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M40 35C36 27 32 20 26 12M33 24C28 23 24 21 20 23M29 17C30 12 33 9 36 6' stroke='url(%23a)' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M60 35C64 27 68 20 74 12M67 24C72 23 76 21 80 23M71 17C70 12 67 9 64 6' stroke='%233b1a10' stroke-width='6.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M60 35C64 27 68 20 74 12M67 24C72 23 76 21 80 23M71 17C70 12 67 9 64 6' stroke='url(%23a)' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M34 41C25 34 16 36 13 41C19 45 28 46 35 45Z' fill='%23a86b37' stroke='%233b1a10' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M31 42C25 39 20 40 17 41.5C21 43 27 43.5 31 43.5Z' fill='%23f3a7a0'/%3E%3Cpath d='M66 41C75 34 84 36 87 41C81 45 72 46 65 45Z' fill='%23a86b37' stroke='%233b1a10' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M69 42C75 39 80 40 83 41.5C79 43 73 43.5 69 43.5Z' fill='%23f3a7a0'/%3E%3Cellipse cx='50' cy='55' rx='18.5' ry='21' fill='url(%23b)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cellipse cx='50' cy='70' rx='14' ry='10.5' fill='url(%23m)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='31.5' y='34.5' width='37' height='7.5' rx='3.75' fill='%23fff' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='32.4' y='36.6' width='35.2' height='1.6' fill='%23e23b3b'/%3E%3Crect x='32.4' y='39.2' width='35.2' height='1.2' fill='%231f9a52'/%3E%3Cellipse cx='43' cy='50' rx='4.4' ry='5.2' fill='%23fff' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='43.8' cy='51' r='2.7' fill='%231b0f06'/%3E%3Ccircle cx='44.8' cy='49.6' r='1' fill='%23fff'/%3E%3Cellipse cx='57' cy='50' rx='4.4' ry='5.2' fill='%23fff' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='57.8' cy='51' r='2.7' fill='%231b0f06'/%3E%3Ccircle cx='58.8' cy='49.6' r='1' fill='%23fff'/%3E%3Ccircle cx='50' cy='64.5' r='10.5' fill='%23ff4d4d' opacity='.22'/%3E%3Ccircle cx='50' cy='64.5' r='6.4' fill='url(%23n)' stroke='%233b1a10' stroke-width='1.2'/%3E%3Cellipse cx='48' cy='62.5' rx='2.1' ry='1.3' fill='%23fff' opacity='.85'/%3E%3Cpath d='M44 73Q50 78 56 73' stroke='%233b1a10' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3Cpath d='M73 30q2.4 4.2 0 6.4q-2.4-2.2 0-6.4z' fill='%239ad8ff' stroke='%233b1a10' stroke-width='.8'/%3E%3C/svg%3E"); animation-delay: -1s; }
html.xm-workout .box.xm-3 .box-head::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='s' cx='38%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23c9dbea'/%3E%3C/radialGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffb35c'/%3E%3Cstop offset='1' stop-color='%23e46a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9 18H91' stroke='%233b1a10' stroke-width='5.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M9 18H91' stroke='%23c3c9d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='4' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='12.5' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='88.5' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='83' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%233b1a10' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%237a5230' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='50' cy='79' r='19' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Ccircle cx='50' cy='48' r='14' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Crect x='41' y='23' width='18' height='14' rx='1.5' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cellipse cx='50' cy='37' rx='14' ry='2.8' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Crect x='41.6' y='32' width='16.8' height='3.4' fill='%23e23b3b'/%3E%3Ccircle cx='55' cy='33.7' r='1.5' fill='%23ff4d5e'/%3E%3Ccircle cx='53.4' cy='33' r='1.2' fill='%23ff4d5e'/%3E%3Crect x='44' y='24.5' width='2.2' height='7' rx='1' fill='%23fff' opacity='.18'/%3E%3Ccircle cx='45' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='55' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='45.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Ccircle cx='55.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Cpath d='M50 48.5L65 51.5L50 54Z' fill='url(%23c)' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='44' cy='55' r='.95' fill='%2323262e'/%3E%3Ccircle cx='47' cy='56.6' r='.95' fill='%2323262e'/%3E%3Ccircle cx='50.5' cy='57.2' r='.95' fill='%2323262e'/%3E%3Ccircle cx='54' cy='56.6' r='.95' fill='%2323262e'/%3E%3Cellipse cx='41' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cellipse cx='59' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cpath d='M37 59Q50 65 63 59L63 64Q50 70 37 64Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M41 61.4Q50 66 59 61.4' stroke='%23fff' stroke-width='1.2' fill='none' stroke-dasharray='2.4 2.2'/%3E%3Cpath d='M55 63L58 78L64 76.5L61 62Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='74' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='82' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='90' r='2.1' fill='%2323262e'/%3E%3Cpath d='M31 44l-5-2M31 48.5l-6 0M69 44l5-2M69 48.5l6 0' stroke='%23cfe6ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); animation-delay: -0.4s; }
html.xm-workout .box.xm-4 .box-head::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3ClinearGradient id='e' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233fd884'/%3E%3Cstop offset='1' stop-color='%230f6b38'/%3E%3C/linearGradient%3E%3CradialGradient id='y' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff1a6'/%3E%3Cstop offset='1' stop-color='%23d79c12'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M34 72L40 81L45 74L50 82L55 74L60 81L66 72Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M32 57L13 44L35 65Z' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M68 57L87 44L65 65Z' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='58' r='18.5' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M29 45C33 27 50 10 81 6C77 14 73 27 71 45Z' fill='url(%23e)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M44 30C52 20 64 13 76 10' stroke='%237ef0a8' stroke-width='2' fill='none' opacity='.55' stroke-linecap='round'/%3E%3Ccircle cx='81' cy='7' r='5' fill='url(%23y)' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cpath d='M79 8.5h4' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='27' y='40' width='46' height='9' rx='4.5' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cellipse cx='43.5' cy='56' rx='2.5' ry='3.1' fill='%233b1a10'/%3E%3Ccircle cx='44.4' cy='54.8' r='.85' fill='%23fff'/%3E%3Cellipse cx='56.5' cy='56' rx='2.5' ry='3.1' fill='%233b1a10'/%3E%3Ccircle cx='57.4' cy='54.8' r='.85' fill='%23fff'/%3E%3Cpath d='M39.5 51.5Q43.5 49 47 51M53 51Q56.5 49 60.5 51.5' stroke='%238a5a2b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='38.5' cy='62' rx='3.6' ry='2.4' fill='%23ff7f7f' opacity='.55'/%3E%3Cellipse cx='61.5' cy='62' rx='3.6' ry='2.4' fill='%23ff7f7f' opacity='.55'/%3E%3Ccircle cx='37' cy='60' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='39.5' cy='61.5' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='61' cy='60' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='63' cy='61.8' r='.6' fill='%23c97a50'/%3E%3Cpath d='M41 64Q50 75 59 64Z' fill='%237a2a22' stroke='%233b1a10' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M42.6 64.6H57.4V66Q50 67.6 42.6 66Z' fill='%23fff'/%3E%3Ccircle cx='50' cy='61' r='2' fill='%23f2a07e'/%3E%3C/svg%3E"); animation-delay: -1.8s; }
@keyframes xmBob {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-0.25vw); }
}

/* ============================================================================
   3. STRENGTH STATION — gingerbread men and snowmen who lift
   ============================================================================ */
html.xm-strength {
  --berry:      #ff4d4d;
  --berry-lit:  #ff6b6b;
  --berry-deep: #ffa3a3;
  --green:      #f4c542;                 /* bottom row: gold */
  --green-soft: rgba(244,197,66,0.16);
}
html.xm-strength .backdrop .wash {
  background:
    radial-gradient(50% 50% at 50% 0%,   rgba(255,77,77,0.12) 0%, transparent 70%),
    radial-gradient(50% 50% at 50% 100%, rgba(244,197,66,0.10) 0%, transparent 70%);
}
html.xm-strength .box.tone-green::before { background: linear-gradient(90deg, #ffd96b, #e0b23a); }
html.xm-strength .box.tone-green .ex-num { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='o' cx='38%25' cy='32%25' r='72%25'%3E%3Cstop offset='0' stop-color='%23fff3b0'/%3E%3Cstop offset='.55' stop-color='%23e7b73d'/%3E%3Cstop offset='1' stop-color='%239a6f12'/%3E%3C/radialGradient%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe98a'/%3E%3Cstop offset='1' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='35' r='26.5' fill='url(%23o)' stroke='%239a6f12' stroke-width='1.2'/%3E%3Cellipse cx='22' cy='24' rx='7.5' ry='4.4' transform='rotate(-35 22 24)' fill='%23fff' opacity='.45'/%3E%3Ccircle cx='17.5' cy='33' r='1.6' fill='%23fff' opacity='.35'/%3E%3Ccircle cx='32' cy='3.3' r='2.4' fill='none' stroke='%23c99a2e' stroke-width='1.3'/%3E%3Crect x='25.5' y='4.6' width='13' height='7.6' rx='1.6' fill='url(%23k)' stroke='%237a5a10' stroke-width='.8'/%3E%3Cpath d='M28.6 5.4v6M32 5.4v6M35.4 5.4v6' stroke='%237a5a10' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E") !important; color: #3a2a00 !important; }
html.xm-strength .box-head::after {
  content: '';
  position: absolute; right: 0; top: 0.1vw;
  width: 5vw; height: 5vw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23e9a663'/%3E%3Cstop offset='1' stop-color='%23a5591f'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M38 49L23 51L18 33' stroke='%233b1a10' stroke-width='10.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M38 49L23 51L18 33' stroke='url(%23g)' stroke-width='8.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M62 49L77 51L82 33' stroke='%233b1a10' stroke-width='10.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M62 49L77 51L82 33' stroke='url(%23g)' stroke-width='8.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='25' cy='46.5' r='6' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Ccircle cx='75' cy='46.5' r='6' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Cpath d='M35 42C42 38 58 38 65 42L67 70L75 89C77 95 70 98 66 93L56 78H44L34 93C30 98 23 95 25 89L33 70Z' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='27' r='14.5' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M13.5 34q2-3 4 0t4 0M78.5 34q2-3 4 0t4 0M26 89q2-2.6 4 0t4 0M66 89q2-2.6 4 0t4 0M39 18q3-4 6-1t5-1t6 2t5 2' stroke='%23fff' stroke-width='2.1' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='45' cy='24.5' r='2.7' fill='%23fff'/%3E%3Ccircle cx='55' cy='24.5' r='2.7' fill='%23fff'/%3E%3Ccircle cx='45.5' cy='25' r='1.3' fill='%233b1a10'/%3E%3Ccircle cx='55.5' cy='25' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M43.5 30.5Q50 36.5 56.5 30.5' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='40.5' cy='29.5' r='2.3' fill='%23ff9e9e' opacity='.75'/%3E%3Ccircle cx='59.5' cy='29.5' r='2.3' fill='%23ff9e9e' opacity='.75'/%3E%3Cpath d='M44.5 43L50 46.4L44.5 49.8Z M55.5 43L50 46.4L55.5 49.8Z' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='46.4' r='1.6' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M46.5 58A3.5 3.5 0 0 1 53.5 58V60H46.5Z' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='48.6' cy='57' r='.8' fill='%23fff'/%3E%3Cpath d='M46.5 67A3.5 3.5 0 0 1 53.5 67V69H46.5Z' fill='%233ccf6e' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='48.6' cy='66' r='.8' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
  transform-origin: 50% 100%;
  animation: xmLift 2.2s ease-in-out infinite;
}
html.xm-strength .box.xm-2 .box-head::after, html.xm-strength .box.xm-4 .box-head::after, html.xm-strength .box.xm-6 .box-head::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='s' cx='38%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23c9dbea'/%3E%3C/radialGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffb35c'/%3E%3Cstop offset='1' stop-color='%23e46a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9 18H91' stroke='%233b1a10' stroke-width='5.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M9 18H91' stroke='%23c3c9d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='4' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='12.5' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='88.5' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='83' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%233b1a10' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%237a5230' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='50' cy='79' r='19' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Ccircle cx='50' cy='48' r='14' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Crect x='41' y='23' width='18' height='14' rx='1.5' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cellipse cx='50' cy='37' rx='14' ry='2.8' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Crect x='41.6' y='32' width='16.8' height='3.4' fill='%23e23b3b'/%3E%3Ccircle cx='55' cy='33.7' r='1.5' fill='%23ff4d5e'/%3E%3Ccircle cx='53.4' cy='33' r='1.2' fill='%23ff4d5e'/%3E%3Crect x='44' y='24.5' width='2.2' height='7' rx='1' fill='%23fff' opacity='.18'/%3E%3Ccircle cx='45' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='55' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='45.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Ccircle cx='55.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Cpath d='M50 48.5L65 51.5L50 54Z' fill='url(%23c)' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='44' cy='55' r='.95' fill='%2323262e'/%3E%3Ccircle cx='47' cy='56.6' r='.95' fill='%2323262e'/%3E%3Ccircle cx='50.5' cy='57.2' r='.95' fill='%2323262e'/%3E%3Ccircle cx='54' cy='56.6' r='.95' fill='%2323262e'/%3E%3Cellipse cx='41' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cellipse cx='59' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cpath d='M37 59Q50 65 63 59L63 64Q50 70 37 64Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M41 61.4Q50 66 59 61.4' stroke='%23fff' stroke-width='1.2' fill='none' stroke-dasharray='2.4 2.2'/%3E%3Cpath d='M55 63L58 78L64 76.5L61 62Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='74' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='82' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='90' r='2.1' fill='%2323262e'/%3E%3Cpath d='M31 44l-5-2M31 48.5l-6 0M69 44l5-2M69 48.5l6 0' stroke='%23cfe6ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
html.xm-strength .box.xm-2 .box-head::after { animation-delay: -0.5s; }
html.xm-strength .box.xm-3 .box-head::after { animation-delay: -1s; }
html.xm-strength .box.xm-4 .box-head::after { animation-delay: -1.5s; }
html.xm-strength .box.xm-5 .box-head::after { animation-delay: -0.3s; }
html.xm-strength .box-title { padding-right: 6vw; }
@keyframes xmLift { 0%, 100% { transform: translateY(0) scale(1); } 45%, 55% { transform: translateY(-0.2vw) scale(1.03); } }

/* ============================================================================
   4. ADS + COACH'S CORNER   (the timer on the same page is left alone)
   ============================================================================ */
html.xm-ads .topbar .brand { color: #f6f1e7; }
html.xm-ads .topbar .brand span { color: #b9cfc1; }
html.xm-ads .topbar .dots i { background: rgba(255,255,255,0.2); }
html.xm-ads .topbar .dots i.on { background: #ff4d4d; }
html.xm-ads .to-timer { color: #ffb3b3; background: rgba(255,77,77,0.12); border-color: rgba(255,77,77,0.4); }
html.xm-ads .slide { box-shadow: 0 1.2vh 4vh rgba(0,0,0,0.5); }
html.christmas body.show-timer .xm-flake, html.christmas body.show-timer .xm-lights,
html.christmas body.show-timer .xm-logohat, html.christmas body.show-timer .xm-stage { display: none; }

html.xm-ads .w2 { background: var(--cream); color: var(--ink); }
html.xm-ads .w2-top .brand { color: #f6f1e7; }
html.xm-ads .w2-top .brand span { color: #b9cfc1; }
html.xm-ads .w2-head { color: #ff6b6b; }
html.xm-ads .w2-pill { background: linear-gradient(150deg, #a3101f 0%, #3d0610 100%); box-shadow: 0 0 0 1px rgba(244,197,66,0.5); color: #ffe7a3; }
html.xm-ads .w2-pill i { background: #f4c542; }
html.xm-ads .w2-box { background: var(--panel); border-color: var(--line); }
html.xm-ads .w2-box::before { background: linear-gradient(90deg, #ff6b6b, #e23b3b); }
html.xm-ads .w2-box.green::before { background: linear-gradient(90deg, #3fb56a, #7bd389); }
html.xm-ads .w2-title { color: #ff8f8f; padding-right: 4.6vw; }
html.xm-ads .w2-box.green .w2-title { color: #7bd389; }
html.xm-ads .w2-rule { background: linear-gradient(90deg, #ff4d4d, rgba(255,77,77,0.12)); }
html.xm-ads .w2-box.green .w2-rule { background: linear-gradient(90deg, #7bd389, rgba(123,211,137,0.12)); }
html.xm-ads .w2-name { color: #f6f1e7; }
html.xm-ads .w2-reps { color: #b9cfc1; }
html.xm-ads .w2-n { border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='o' cx='38%25' cy='32%25' r='72%25'%3E%3Cstop offset='0' stop-color='%23ff8a8a'/%3E%3Cstop offset='.55' stop-color='%23e0283a'/%3E%3Cstop offset='1' stop-color='%238e0d1b'/%3E%3C/radialGradient%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe98a'/%3E%3Cstop offset='1' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='35' r='26.5' fill='url(%23o)' stroke='%238e0d1b' stroke-width='1.2'/%3E%3Cellipse cx='22' cy='24' rx='7.5' ry='4.4' transform='rotate(-35 22 24)' fill='%23fff' opacity='.45'/%3E%3Ccircle cx='17.5' cy='33' r='1.6' fill='%23fff' opacity='.35'/%3E%3Ccircle cx='32' cy='3.3' r='2.4' fill='none' stroke='%23c99a2e' stroke-width='1.3'/%3E%3Crect x='25.5' y='4.6' width='13' height='7.6' rx='1.6' fill='url(%23k)' stroke='%237a5a10' stroke-width='.8'/%3E%3Cpath d='M28.6 5.4v6M32 5.4v6M35.4 5.4v6' stroke='%237a5a10' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E") no-repeat center / contain; color: #fff; padding-top: 0.12em; }
html.xm-ads .w2-box.green .w2-n { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='o' cx='38%25' cy='32%25' r='72%25'%3E%3Cstop offset='0' stop-color='%237ff0a8'/%3E%3Cstop offset='.55' stop-color='%231f9a52'/%3E%3Cstop offset='1' stop-color='%230c5a2e'/%3E%3C/radialGradient%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe98a'/%3E%3Cstop offset='1' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='35' r='26.5' fill='url(%23o)' stroke='%230c5a2e' stroke-width='1.2'/%3E%3Cellipse cx='22' cy='24' rx='7.5' ry='4.4' transform='rotate(-35 22 24)' fill='%23fff' opacity='.45'/%3E%3Ccircle cx='17.5' cy='33' r='1.6' fill='%23fff' opacity='.35'/%3E%3Ccircle cx='32' cy='3.3' r='2.4' fill='none' stroke='%23c99a2e' stroke-width='1.3'/%3E%3Crect x='25.5' y='4.6' width='13' height='7.6' rx='1.6' fill='url(%23k)' stroke='%237a5a10' stroke-width='.8'/%3E%3Cpath d='M28.6 5.4v6M32 5.4v6M35.4 5.4v6' stroke='%237a5a10' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E"); color: #fff; }
html.xm-ads .w2-box::after {
  content: ''; position: absolute; right: 1.2vw; top: 1vh;
  width: 4.8vw; height: 4.8vw; transform-origin: 50% 100%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3CradialGradient id='w' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d9e2ec'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M22 47C20 25 38 9 60 10C77 11 87 23 89 38C83 31 75 28 67 31C57 35 51 41 49 47Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M58 14C70 14 80 20 84 30' stroke='%23ff9a90' stroke-width='2' fill='none' stroke-linecap='round' opacity='.7'/%3E%3Ccircle cx='87.5' cy='39' r='7.5' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.6'/%3E%3Ccircle cx='29' cy='73' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='32' cy='82' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='39' cy='89' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='46' cy='93' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='54' cy='93' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='61' cy='89' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='68' cy='82' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='71' cy='73' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cellipse cx='50' cy='58' rx='19' ry='18' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M28 60C27 74 34 86 44 90C48 92 52 92 56 90C66 86 73 74 72 60C67 68 60 71 50 71C40 71 33 68 28 60Z' fill='url(%23w)'/%3E%3Cpath d='M28 60C33 68 40 71 50 71C60 71 67 68 72 60' stroke='%233b1a10' stroke-width='1.2' fill='none' opacity='.35'/%3E%3Cellipse cx='50' cy='75.5' rx='3.8' ry='2.8' fill='%237a2a22'/%3E%3Cpath d='M50 66.5C46 62 38 62 33.5 67.5C38 72.5 46 71.5 50 68.5C54 71.5 62 72.5 66.5 67.5C62 62 54 62 50 66.5Z' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.3' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='63' r='4.4' fill='%23ef8a73' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='48.5' cy='61.5' r='1.3' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='38' cy='61.5' rx='4' ry='2.6' fill='%23ff7f7f' opacity='.5'/%3E%3Cellipse cx='62' cy='61.5' rx='4' ry='2.6' fill='%23ff7f7f' opacity='.5'/%3E%3Cpath d='M40 56Q43 52 46 56M54 56Q57 52 60 56' stroke='%233b1a10' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M38 51Q42.5 47.5 47 50M53 50Q57.5 47.5 62 51' stroke='%233b1a10' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M38 51Q42.5 47.5 47 50M53 50Q57.5 47.5 62 51' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='20' y='41' width='60' height='12' rx='6' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.6'/%3E%3Ccircle cx='30' cy='46' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='42' cy='48' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='56' cy='45.5' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='69' cy='47.5' r='1' fill='%23cfd8e2'/%3E%3C/svg%3E") no-repeat center / contain;
  animation: xmBob 2.8s ease-in-out infinite;
}
html.xm-ads .w2-box.xm-2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f0cf9c'/%3E%3Cstop offset='1' stop-color='%23b5864c'/%3E%3C/linearGradient%3E%3CradialGradient id='b' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23d0935a'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3CradialGradient id='m' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23f6dcbc'/%3E%3Cstop offset='1' stop-color='%23d6a674'/%3E%3C/radialGradient%3E%3CradialGradient id='n' cx='40%25' cy='35%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ff8a8a'/%3E%3Cstop offset='1' stop-color='%23c8102e'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M40 35C36 27 32 20 26 12M33 24C28 23 24 21 20 23M29 17C30 12 33 9 36 6' stroke='%233b1a10' stroke-width='6.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M40 35C36 27 32 20 26 12M33 24C28 23 24 21 20 23M29 17C30 12 33 9 36 6' stroke='url(%23a)' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M60 35C64 27 68 20 74 12M67 24C72 23 76 21 80 23M71 17C70 12 67 9 64 6' stroke='%233b1a10' stroke-width='6.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M60 35C64 27 68 20 74 12M67 24C72 23 76 21 80 23M71 17C70 12 67 9 64 6' stroke='url(%23a)' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M34 41C25 34 16 36 13 41C19 45 28 46 35 45Z' fill='%23a86b37' stroke='%233b1a10' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M31 42C25 39 20 40 17 41.5C21 43 27 43.5 31 43.5Z' fill='%23f3a7a0'/%3E%3Cpath d='M66 41C75 34 84 36 87 41C81 45 72 46 65 45Z' fill='%23a86b37' stroke='%233b1a10' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M69 42C75 39 80 40 83 41.5C79 43 73 43.5 69 43.5Z' fill='%23f3a7a0'/%3E%3Cellipse cx='50' cy='55' rx='18.5' ry='21' fill='url(%23b)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cellipse cx='50' cy='70' rx='14' ry='10.5' fill='url(%23m)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='31.5' y='34.5' width='37' height='7.5' rx='3.75' fill='%23fff' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='32.4' y='36.6' width='35.2' height='1.6' fill='%23e23b3b'/%3E%3Crect x='32.4' y='39.2' width='35.2' height='1.2' fill='%231f9a52'/%3E%3Cellipse cx='43' cy='50' rx='4.4' ry='5.2' fill='%23fff' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='43.8' cy='51' r='2.7' fill='%231b0f06'/%3E%3Ccircle cx='44.8' cy='49.6' r='1' fill='%23fff'/%3E%3Cellipse cx='57' cy='50' rx='4.4' ry='5.2' fill='%23fff' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='57.8' cy='51' r='2.7' fill='%231b0f06'/%3E%3Ccircle cx='58.8' cy='49.6' r='1' fill='%23fff'/%3E%3Ccircle cx='50' cy='64.5' r='10.5' fill='%23ff4d4d' opacity='.22'/%3E%3Ccircle cx='50' cy='64.5' r='6.4' fill='url(%23n)' stroke='%233b1a10' stroke-width='1.2'/%3E%3Cellipse cx='48' cy='62.5' rx='2.1' ry='1.3' fill='%23fff' opacity='.85'/%3E%3Cpath d='M44 73Q50 78 56 73' stroke='%233b1a10' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3Cpath d='M73 30q2.4 4.2 0 6.4q-2.4-2.2 0-6.4z' fill='%239ad8ff' stroke='%233b1a10' stroke-width='.8'/%3E%3C/svg%3E"); animation-delay: -1s; }
html.xm-ads .w2-box.xm-3::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='s' cx='38%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23c9dbea'/%3E%3C/radialGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffb35c'/%3E%3Cstop offset='1' stop-color='%23e46a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9 18H91' stroke='%233b1a10' stroke-width='5.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M9 18H91' stroke='%23c3c9d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='4' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='12.5' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='88.5' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='83' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%233b1a10' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%237a5230' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='50' cy='79' r='19' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Ccircle cx='50' cy='48' r='14' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Crect x='41' y='23' width='18' height='14' rx='1.5' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cellipse cx='50' cy='37' rx='14' ry='2.8' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Crect x='41.6' y='32' width='16.8' height='3.4' fill='%23e23b3b'/%3E%3Ccircle cx='55' cy='33.7' r='1.5' fill='%23ff4d5e'/%3E%3Ccircle cx='53.4' cy='33' r='1.2' fill='%23ff4d5e'/%3E%3Crect x='44' y='24.5' width='2.2' height='7' rx='1' fill='%23fff' opacity='.18'/%3E%3Ccircle cx='45' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='55' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='45.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Ccircle cx='55.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Cpath d='M50 48.5L65 51.5L50 54Z' fill='url(%23c)' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='44' cy='55' r='.95' fill='%2323262e'/%3E%3Ccircle cx='47' cy='56.6' r='.95' fill='%2323262e'/%3E%3Ccircle cx='50.5' cy='57.2' r='.95' fill='%2323262e'/%3E%3Ccircle cx='54' cy='56.6' r='.95' fill='%2323262e'/%3E%3Cellipse cx='41' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cellipse cx='59' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cpath d='M37 59Q50 65 63 59L63 64Q50 70 37 64Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M41 61.4Q50 66 59 61.4' stroke='%23fff' stroke-width='1.2' fill='none' stroke-dasharray='2.4 2.2'/%3E%3Cpath d='M55 63L58 78L64 76.5L61 62Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='74' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='82' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='90' r='2.1' fill='%2323262e'/%3E%3Cpath d='M31 44l-5-2M31 48.5l-6 0M69 44l5-2M69 48.5l6 0' stroke='%23cfe6ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); animation-delay: -0.5s; }
html.xm-ads .w2-box.xm-4::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3ClinearGradient id='e' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233fd884'/%3E%3Cstop offset='1' stop-color='%230f6b38'/%3E%3C/linearGradient%3E%3CradialGradient id='y' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff1a6'/%3E%3Cstop offset='1' stop-color='%23d79c12'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M34 72L40 81L45 74L50 82L55 74L60 81L66 72Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M32 57L13 44L35 65Z' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M68 57L87 44L65 65Z' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='58' r='18.5' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M29 45C33 27 50 10 81 6C77 14 73 27 71 45Z' fill='url(%23e)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M44 30C52 20 64 13 76 10' stroke='%237ef0a8' stroke-width='2' fill='none' opacity='.55' stroke-linecap='round'/%3E%3Ccircle cx='81' cy='7' r='5' fill='url(%23y)' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cpath d='M79 8.5h4' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='27' y='40' width='46' height='9' rx='4.5' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cellipse cx='43.5' cy='56' rx='2.5' ry='3.1' fill='%233b1a10'/%3E%3Ccircle cx='44.4' cy='54.8' r='.85' fill='%23fff'/%3E%3Cellipse cx='56.5' cy='56' rx='2.5' ry='3.1' fill='%233b1a10'/%3E%3Ccircle cx='57.4' cy='54.8' r='.85' fill='%23fff'/%3E%3Cpath d='M39.5 51.5Q43.5 49 47 51M53 51Q56.5 49 60.5 51.5' stroke='%238a5a2b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='38.5' cy='62' rx='3.6' ry='2.4' fill='%23ff7f7f' opacity='.55'/%3E%3Cellipse cx='61.5' cy='62' rx='3.6' ry='2.4' fill='%23ff7f7f' opacity='.55'/%3E%3Ccircle cx='37' cy='60' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='39.5' cy='61.5' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='61' cy='60' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='63' cy='61.8' r='.6' fill='%23c97a50'/%3E%3Cpath d='M41 64Q50 75 59 64Z' fill='%237a2a22' stroke='%233b1a10' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M42.6 64.6H57.4V66Q50 67.6 42.6 66Z' fill='%23fff'/%3E%3Ccircle cx='50' cy='61' r='2' fill='%23f2a07e'/%3E%3C/svg%3E"); animation-delay: -1.6s; }

/* ============================================================================
   5. IPADS
   ============================================================================ */
html.xm-ipad .stage {
  background:
    radial-gradient(60% 40% at 50% 50%, rgba(255,77,77,0.10) 0%, transparent 72%),
    radial-gradient(50% 30% at 0% 100%, rgba(123,211,137,0.10) 0%, transparent 70%),
    var(--cream);
}
html.xm-ipad .box-title { padding-right: calc(var(--u) * 6.5); }
html.xm-ipad .tone-berry .ex.has-video { background: rgba(255,77,77,0.13); box-shadow: inset 0 0 0 1.5px rgba(255,77,77,0.55); }
html.xm-ipad .tone-green .ex.has-video { background: rgba(123,211,137,0.12); box-shadow: inset 0 0 0 1.5px rgba(123,211,137,0.5); }
html.xm-ipad .play::before { border-left-color: #0b2a1d; }
html.xm-ipad .order-seq { background: linear-gradient(150deg, #a3101f 0%, #3d0610 100%); box-shadow: 0 0 0 1px rgba(244,197,66,0.5); }
html.xm-ipad .box::after {
  content: '';
  position: absolute; right: calc(var(--u) * 1.4); top: calc(var(--u) * 0.6);
  width: calc(var(--u) * 4.5); height: calc(var(--u) * 4.5);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3CradialGradient id='w' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d9e2ec'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M22 47C20 25 38 9 60 10C77 11 87 23 89 38C83 31 75 28 67 31C57 35 51 41 49 47Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M58 14C70 14 80 20 84 30' stroke='%23ff9a90' stroke-width='2' fill='none' stroke-linecap='round' opacity='.7'/%3E%3Ccircle cx='87.5' cy='39' r='7.5' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.6'/%3E%3Ccircle cx='29' cy='73' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='32' cy='82' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='39' cy='89' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='46' cy='93' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='54' cy='93' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='61' cy='89' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='68' cy='82' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='71' cy='73' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cellipse cx='50' cy='58' rx='19' ry='18' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M28 60C27 74 34 86 44 90C48 92 52 92 56 90C66 86 73 74 72 60C67 68 60 71 50 71C40 71 33 68 28 60Z' fill='url(%23w)'/%3E%3Cpath d='M28 60C33 68 40 71 50 71C60 71 67 68 72 60' stroke='%233b1a10' stroke-width='1.2' fill='none' opacity='.35'/%3E%3Cellipse cx='50' cy='75.5' rx='3.8' ry='2.8' fill='%237a2a22'/%3E%3Cpath d='M50 66.5C46 62 38 62 33.5 67.5C38 72.5 46 71.5 50 68.5C54 71.5 62 72.5 66.5 67.5C62 62 54 62 50 66.5Z' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.3' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='63' r='4.4' fill='%23ef8a73' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='48.5' cy='61.5' r='1.3' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='38' cy='61.5' rx='4' ry='2.6' fill='%23ff7f7f' opacity='.5'/%3E%3Cellipse cx='62' cy='61.5' rx='4' ry='2.6' fill='%23ff7f7f' opacity='.5'/%3E%3Cpath d='M40 56Q43 52 46 56M54 56Q57 52 60 56' stroke='%233b1a10' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M38 51Q42.5 47.5 47 50M53 50Q57.5 47.5 62 51' stroke='%233b1a10' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M38 51Q42.5 47.5 47 50M53 50Q57.5 47.5 62 51' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='20' y='41' width='60' height='12' rx='6' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.6'/%3E%3Ccircle cx='30' cy='46' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='42' cy='48' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='56' cy='45.5' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='69' cy='47.5' r='1' fill='%23cfd8e2'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none; transform-origin: 50% 100%;
  animation: xmBob 2.6s ease-in-out infinite;
}
html.xm-ipad .box.xm-2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f0cf9c'/%3E%3Cstop offset='1' stop-color='%23b5864c'/%3E%3C/linearGradient%3E%3CradialGradient id='b' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23d0935a'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3CradialGradient id='m' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23f6dcbc'/%3E%3Cstop offset='1' stop-color='%23d6a674'/%3E%3C/radialGradient%3E%3CradialGradient id='n' cx='40%25' cy='35%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ff8a8a'/%3E%3Cstop offset='1' stop-color='%23c8102e'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M40 35C36 27 32 20 26 12M33 24C28 23 24 21 20 23M29 17C30 12 33 9 36 6' stroke='%233b1a10' stroke-width='6.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M40 35C36 27 32 20 26 12M33 24C28 23 24 21 20 23M29 17C30 12 33 9 36 6' stroke='url(%23a)' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M60 35C64 27 68 20 74 12M67 24C72 23 76 21 80 23M71 17C70 12 67 9 64 6' stroke='%233b1a10' stroke-width='6.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M60 35C64 27 68 20 74 12M67 24C72 23 76 21 80 23M71 17C70 12 67 9 64 6' stroke='url(%23a)' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M34 41C25 34 16 36 13 41C19 45 28 46 35 45Z' fill='%23a86b37' stroke='%233b1a10' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M31 42C25 39 20 40 17 41.5C21 43 27 43.5 31 43.5Z' fill='%23f3a7a0'/%3E%3Cpath d='M66 41C75 34 84 36 87 41C81 45 72 46 65 45Z' fill='%23a86b37' stroke='%233b1a10' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M69 42C75 39 80 40 83 41.5C79 43 73 43.5 69 43.5Z' fill='%23f3a7a0'/%3E%3Cellipse cx='50' cy='55' rx='18.5' ry='21' fill='url(%23b)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cellipse cx='50' cy='70' rx='14' ry='10.5' fill='url(%23m)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='31.5' y='34.5' width='37' height='7.5' rx='3.75' fill='%23fff' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='32.4' y='36.6' width='35.2' height='1.6' fill='%23e23b3b'/%3E%3Crect x='32.4' y='39.2' width='35.2' height='1.2' fill='%231f9a52'/%3E%3Cellipse cx='43' cy='50' rx='4.4' ry='5.2' fill='%23fff' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='43.8' cy='51' r='2.7' fill='%231b0f06'/%3E%3Ccircle cx='44.8' cy='49.6' r='1' fill='%23fff'/%3E%3Cellipse cx='57' cy='50' rx='4.4' ry='5.2' fill='%23fff' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='57.8' cy='51' r='2.7' fill='%231b0f06'/%3E%3Ccircle cx='58.8' cy='49.6' r='1' fill='%23fff'/%3E%3Ccircle cx='50' cy='64.5' r='10.5' fill='%23ff4d4d' opacity='.22'/%3E%3Ccircle cx='50' cy='64.5' r='6.4' fill='url(%23n)' stroke='%233b1a10' stroke-width='1.2'/%3E%3Cellipse cx='48' cy='62.5' rx='2.1' ry='1.3' fill='%23fff' opacity='.85'/%3E%3Cpath d='M44 73Q50 78 56 73' stroke='%233b1a10' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3Cpath d='M73 30q2.4 4.2 0 6.4q-2.4-2.2 0-6.4z' fill='%239ad8ff' stroke='%233b1a10' stroke-width='.8'/%3E%3C/svg%3E"); animation-delay: -1s; }
html.xm-ipad .box.xm-3::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='s' cx='38%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23c9dbea'/%3E%3C/radialGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffb35c'/%3E%3Cstop offset='1' stop-color='%23e46a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9 18H91' stroke='%233b1a10' stroke-width='5.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M9 18H91' stroke='%23c3c9d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='4' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='12.5' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='88.5' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='83' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%233b1a10' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%237a5230' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='50' cy='79' r='19' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Ccircle cx='50' cy='48' r='14' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Crect x='41' y='23' width='18' height='14' rx='1.5' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cellipse cx='50' cy='37' rx='14' ry='2.8' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Crect x='41.6' y='32' width='16.8' height='3.4' fill='%23e23b3b'/%3E%3Ccircle cx='55' cy='33.7' r='1.5' fill='%23ff4d5e'/%3E%3Ccircle cx='53.4' cy='33' r='1.2' fill='%23ff4d5e'/%3E%3Crect x='44' y='24.5' width='2.2' height='7' rx='1' fill='%23fff' opacity='.18'/%3E%3Ccircle cx='45' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='55' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='45.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Ccircle cx='55.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Cpath d='M50 48.5L65 51.5L50 54Z' fill='url(%23c)' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='44' cy='55' r='.95' fill='%2323262e'/%3E%3Ccircle cx='47' cy='56.6' r='.95' fill='%2323262e'/%3E%3Ccircle cx='50.5' cy='57.2' r='.95' fill='%2323262e'/%3E%3Ccircle cx='54' cy='56.6' r='.95' fill='%2323262e'/%3E%3Cellipse cx='41' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cellipse cx='59' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cpath d='M37 59Q50 65 63 59L63 64Q50 70 37 64Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M41 61.4Q50 66 59 61.4' stroke='%23fff' stroke-width='1.2' fill='none' stroke-dasharray='2.4 2.2'/%3E%3Cpath d='M55 63L58 78L64 76.5L61 62Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='74' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='82' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='90' r='2.1' fill='%2323262e'/%3E%3Cpath d='M31 44l-5-2M31 48.5l-6 0M69 44l5-2M69 48.5l6 0' stroke='%23cfe6ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); animation-delay: -0.5s; }
html.xm-ipad .box.xm-4::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3ClinearGradient id='e' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233fd884'/%3E%3Cstop offset='1' stop-color='%230f6b38'/%3E%3C/linearGradient%3E%3CradialGradient id='y' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff1a6'/%3E%3Cstop offset='1' stop-color='%23d79c12'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M34 72L40 81L45 74L50 82L55 74L60 81L66 72Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M32 57L13 44L35 65Z' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M68 57L87 44L65 65Z' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='58' r='18.5' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M29 45C33 27 50 10 81 6C77 14 73 27 71 45Z' fill='url(%23e)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M44 30C52 20 64 13 76 10' stroke='%237ef0a8' stroke-width='2' fill='none' opacity='.55' stroke-linecap='round'/%3E%3Ccircle cx='81' cy='7' r='5' fill='url(%23y)' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cpath d='M79 8.5h4' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='27' y='40' width='46' height='9' rx='4.5' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cellipse cx='43.5' cy='56' rx='2.5' ry='3.1' fill='%233b1a10'/%3E%3Ccircle cx='44.4' cy='54.8' r='.85' fill='%23fff'/%3E%3Cellipse cx='56.5' cy='56' rx='2.5' ry='3.1' fill='%233b1a10'/%3E%3Ccircle cx='57.4' cy='54.8' r='.85' fill='%23fff'/%3E%3Cpath d='M39.5 51.5Q43.5 49 47 51M53 51Q56.5 49 60.5 51.5' stroke='%238a5a2b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='38.5' cy='62' rx='3.6' ry='2.4' fill='%23ff7f7f' opacity='.55'/%3E%3Cellipse cx='61.5' cy='62' rx='3.6' ry='2.4' fill='%23ff7f7f' opacity='.55'/%3E%3Ccircle cx='37' cy='60' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='39.5' cy='61.5' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='61' cy='60' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='63' cy='61.8' r='.6' fill='%23c97a50'/%3E%3Cpath d='M41 64Q50 75 59 64Z' fill='%237a2a22' stroke='%233b1a10' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M42.6 64.6H57.4V66Q50 67.6 42.6 66Z' fill='%23fff'/%3E%3Ccircle cx='50' cy='61' r='2' fill='%23f2a07e'/%3E%3C/svg%3E"); animation-delay: -1.6s; }
html.xm-ipad .viewer { background: linear-gradient(170deg, #12382a 0%, #0b2a1d 60%, #061a11 100%); }
html.xm-ipad .v-where { color: #ffb3b3; }
html.xm-ipad .v-tab.on { color: #0b2a1d; }
html.xm-ipad .v-back { background: #e23b3b; color: #fff; }
/* strength iPad: gingerbread and snowmen, gold bottom row like the strength TV */
html.xm-sipad { --green: #f4c542; --green-soft: rgba(244,197,66,0.16); --berry-deep: #ffa3a3; }
html.xm-sipad .tone-green .ex-num { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CradialGradient id='o' cx='38%25' cy='32%25' r='72%25'%3E%3Cstop offset='0' stop-color='%23fff3b0'/%3E%3Cstop offset='.55' stop-color='%23e7b73d'/%3E%3Cstop offset='1' stop-color='%239a6f12'/%3E%3C/radialGradient%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe98a'/%3E%3Cstop offset='1' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='35' r='26.5' fill='url(%23o)' stroke='%239a6f12' stroke-width='1.2'/%3E%3Cellipse cx='22' cy='24' rx='7.5' ry='4.4' transform='rotate(-35 22 24)' fill='%23fff' opacity='.45'/%3E%3Ccircle cx='17.5' cy='33' r='1.6' fill='%23fff' opacity='.35'/%3E%3Ccircle cx='32' cy='3.3' r='2.4' fill='none' stroke='%23c99a2e' stroke-width='1.3'/%3E%3Crect x='25.5' y='4.6' width='13' height='7.6' rx='1.6' fill='url(%23k)' stroke='%237a5a10' stroke-width='.8'/%3E%3Cpath d='M28.6 5.4v6M32 5.4v6M35.4 5.4v6' stroke='%237a5a10' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E") !important; color: #3a2a00 !important; }
html.xm-sipad .box::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23e9a663'/%3E%3Cstop offset='1' stop-color='%23a5591f'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M38 49L23 51L18 33' stroke='%233b1a10' stroke-width='10.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M38 49L23 51L18 33' stroke='url(%23g)' stroke-width='8.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M62 49L77 51L82 33' stroke='%233b1a10' stroke-width='10.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M62 49L77 51L82 33' stroke='url(%23g)' stroke-width='8.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='25' cy='46.5' r='6' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Ccircle cx='75' cy='46.5' r='6' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Cpath d='M35 42C42 38 58 38 65 42L67 70L75 89C77 95 70 98 66 93L56 78H44L34 93C30 98 23 95 25 89L33 70Z' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='27' r='14.5' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M13.5 34q2-3 4 0t4 0M78.5 34q2-3 4 0t4 0M26 89q2-2.6 4 0t4 0M66 89q2-2.6 4 0t4 0M39 18q3-4 6-1t5-1t6 2t5 2' stroke='%23fff' stroke-width='2.1' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='45' cy='24.5' r='2.7' fill='%23fff'/%3E%3Ccircle cx='55' cy='24.5' r='2.7' fill='%23fff'/%3E%3Ccircle cx='45.5' cy='25' r='1.3' fill='%233b1a10'/%3E%3Ccircle cx='55.5' cy='25' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M43.5 30.5Q50 36.5 56.5 30.5' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='40.5' cy='29.5' r='2.3' fill='%23ff9e9e' opacity='.75'/%3E%3Ccircle cx='59.5' cy='29.5' r='2.3' fill='%23ff9e9e' opacity='.75'/%3E%3Cpath d='M44.5 43L50 46.4L44.5 49.8Z M55.5 43L50 46.4L55.5 49.8Z' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='46.4' r='1.6' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M46.5 58A3.5 3.5 0 0 1 53.5 58V60H46.5Z' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='48.6' cy='57' r='.8' fill='%23fff'/%3E%3Cpath d='M46.5 67A3.5 3.5 0 0 1 53.5 67V69H46.5Z' fill='%233ccf6e' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='48.6' cy='66' r='.8' fill='%23fff'/%3E%3C/svg%3E"); animation-name: xmLift; animation-duration: 2.2s; }
html.xm-sipad .box.xm-2::after, html.xm-sipad .box.xm-4::after, html.xm-sipad .box.xm-6::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='s' cx='38%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23c9dbea'/%3E%3C/radialGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffb35c'/%3E%3Cstop offset='1' stop-color='%23e46a12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9 18H91' stroke='%233b1a10' stroke-width='5.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M9 18H91' stroke='%23c3c9d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='4' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='12.5' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='88.5' y='7' width='7.5' height='22' rx='2' fill='%232f3340' stroke='%233b1a10' stroke-width='1.2'/%3E%3Crect x='83' y='10' width='4.5' height='16' rx='1.5' fill='%234a5060' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%233b1a10' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M37 63L24 22M27 33L20 31M63 63L76 22M73 33L80 31' stroke='%237a5230' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='50' cy='79' r='19' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Ccircle cx='50' cy='48' r='14' fill='url(%23s)' stroke='%236d86a0' stroke-width='1.6'/%3E%3Crect x='41' y='23' width='18' height='14' rx='1.5' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cellipse cx='50' cy='37' rx='14' ry='2.8' fill='%23262a33' stroke='%233b1a10' stroke-width='1.3'/%3E%3Crect x='41.6' y='32' width='16.8' height='3.4' fill='%23e23b3b'/%3E%3Ccircle cx='55' cy='33.7' r='1.5' fill='%23ff4d5e'/%3E%3Ccircle cx='53.4' cy='33' r='1.2' fill='%23ff4d5e'/%3E%3Crect x='44' y='24.5' width='2.2' height='7' rx='1' fill='%23fff' opacity='.18'/%3E%3Ccircle cx='45' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='55' cy='45' r='2' fill='%2323262e'/%3E%3Ccircle cx='45.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Ccircle cx='55.6' cy='44.4' r='.6' fill='%23fff'/%3E%3Cpath d='M50 48.5L65 51.5L50 54Z' fill='url(%23c)' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='44' cy='55' r='.95' fill='%2323262e'/%3E%3Ccircle cx='47' cy='56.6' r='.95' fill='%2323262e'/%3E%3Ccircle cx='50.5' cy='57.2' r='.95' fill='%2323262e'/%3E%3Ccircle cx='54' cy='56.6' r='.95' fill='%2323262e'/%3E%3Cellipse cx='41' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cellipse cx='59' cy='51' rx='2.6' ry='1.6' fill='%23ff9aa2' opacity='.6'/%3E%3Cpath d='M37 59Q50 65 63 59L63 64Q50 70 37 64Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M41 61.4Q50 66 59 61.4' stroke='%23fff' stroke-width='1.2' fill='none' stroke-dasharray='2.4 2.2'/%3E%3Cpath d='M55 63L58 78L64 76.5L61 62Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='74' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='82' r='2.1' fill='%2323262e'/%3E%3Ccircle cx='50' cy='90' r='2.1' fill='%2323262e'/%3E%3Cpath d='M31 44l-5-2M31 48.5l-6 0M69 44l5-2M69 48.5l6 0' stroke='%23cfe6ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
html.xm-sipad .box.xm-3::after, html.xm-sipad .box.xm-5::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23e9a663'/%3E%3Cstop offset='1' stop-color='%23a5591f'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M38 49L23 51L18 33' stroke='%233b1a10' stroke-width='10.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M38 49L23 51L18 33' stroke='url(%23g)' stroke-width='8.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M62 49L77 51L82 33' stroke='%233b1a10' stroke-width='10.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M62 49L77 51L82 33' stroke='url(%23g)' stroke-width='8.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='25' cy='46.5' r='6' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Ccircle cx='75' cy='46.5' r='6' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Cpath d='M35 42C42 38 58 38 65 42L67 70L75 89C77 95 70 98 66 93L56 78H44L34 93C30 98 23 95 25 89L33 70Z' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='27' r='14.5' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M13.5 34q2-3 4 0t4 0M78.5 34q2-3 4 0t4 0M26 89q2-2.6 4 0t4 0M66 89q2-2.6 4 0t4 0M39 18q3-4 6-1t5-1t6 2t5 2' stroke='%23fff' stroke-width='2.1' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='45' cy='24.5' r='2.7' fill='%23fff'/%3E%3Ccircle cx='55' cy='24.5' r='2.7' fill='%23fff'/%3E%3Ccircle cx='45.5' cy='25' r='1.3' fill='%233b1a10'/%3E%3Ccircle cx='55.5' cy='25' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M43.5 30.5Q50 36.5 56.5 30.5' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='40.5' cy='29.5' r='2.3' fill='%23ff9e9e' opacity='.75'/%3E%3Ccircle cx='59.5' cy='29.5' r='2.3' fill='%23ff9e9e' opacity='.75'/%3E%3Cpath d='M44.5 43L50 46.4L44.5 49.8Z M55.5 43L50 46.4L55.5 49.8Z' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='46.4' r='1.6' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M46.5 58A3.5 3.5 0 0 1 53.5 58V60H46.5Z' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='48.6' cy='57' r='.8' fill='%23fff'/%3E%3Cpath d='M46.5 67A3.5 3.5 0 0 1 53.5 67V69H46.5Z' fill='%233ccf6e' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='48.6' cy='66' r='.8' fill='%23fff'/%3E%3C/svg%3E"); }
html.xm-sipad .ex-reps { background: none; padding: 0; color: var(--berry-deep); }
html.xm-sipad .tone-green .ex-reps { color: var(--green); }
html.xm-sipad .tone-green .ex.has-video { background: rgba(244,197,66,0.10); box-shadow: inset 0 0 0 1.5px rgba(244,197,66,0.5); }

/* ============================================================================
   SURPRISE VISITORS — christmas.js drops one of these onto a TV now and then
   ============================================================================ */
.xm-stage { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 30; pointer-events: none; overflow: hidden; }
.xm-ev { position: absolute; background-repeat: no-repeat; background-position: center; background-size: contain; }
.xm-bubble {
  position: absolute; white-space: nowrap;
  padding: 0.7vw 1.2vw; border-radius: 1.4vw;
  background: #fff; color: #7a0d18; box-shadow: 0 0.6vh 2vh rgba(0,0,0,0.35);
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.35vw; letter-spacing: 0.01em;
}

/* Santa's sleigh crosses the sky (on the hour). The reindeer lead, and their legs gallop:
   ::after holds the second leg pose and blinks on and off. */
.xm-ev.sleigh { width: 38vw; height: 13vw; top: 8vh; left: -40vw; animation: xmSleigh 12s cubic-bezier(.45,.05,.55,.95) forwards; }
.xm-ev.sleigh::before, .xm-ev.sleigh::after { content: ''; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 292 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3CradialGradient id='d' cx='40%25' cy='30%25' r='80%25'%3E%3Cstop offset='0' stop-color='%23cf9157'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M104 49Q130 40 155 46M104 49Q170 33 235 46' stroke='%23ffd54a' stroke-width='1.4' fill='none'/%3E%3Cg transform='translate(310 0) scale(-1 1)'%3E%3Cpath d='M266 46C262 28 290 26 288 46Z' fill='%23b07a46' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='270' y='29' width='11' height='10' rx='1' fill='%232ec46a' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='274.6' y='29' width='1.8' height='10' fill='%23ffd54a'/%3E%3Cpath d='M240 40L228 27' stroke='%233b1a10' stroke-width='6.1' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M240 40L228 27' stroke='%23d62828' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='227' cy='25.5' r='3.2' fill='%23fff' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='248' cy='45' r='13' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='248' cy='28' r='8' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cpath d='M240.5 30C241 39 255 39 255.5 30C252 33 244 33 240.5 30Z' fill='%23fff'/%3E%3Cpath d='M240 23L250 10L256 22Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='250.5' cy='10' r='2.6' fill='%23fff' stroke='%233b1a10' stroke-width='.8'/%3E%3Crect x='239' y='21' width='18' height='4' rx='2' fill='%23fff' stroke='%233b1a10' stroke-width='.9'/%3E%3Ccircle cx='245' cy='27.5' r='.9' fill='%233b1a10'/%3E%3Ccircle cx='251' cy='27.5' r='.9' fill='%233b1a10'/%3E%3Cpath d='M206 46H294C300 46 302 52 300 58C296 74 284 80 264 80H224C208 80 198 70 196 56Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M204 54H298' stroke='%23ffd54a' stroke-width='2.4'/%3E%3Cpath d='M214 64q8-6 16 0t16 0t16 0t16 0' stroke='%23ffd54a' stroke-width='1.6' fill='none'/%3E%3Cpath d='M206 46C194 40 194 28 205 28C212 28 213 35 208 39' stroke='%233b1a10' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M206 46C194 40 194 28 205 28C212 28 213 35 208 39' stroke='%23ffd54a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M214 80L210 92M282 80L286 92' stroke='%233b1a10' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M214 80L210 92M282 80L286 92' stroke='%23ffd54a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M196 92H288C302 92 308 82 302 76' stroke='%233b1a10' stroke-width='4.800000000000001' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M196 92H288C302 92 308 82 302 76' stroke='%23ffd54a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/g%3E%3Cpath d='M174 47L188 53L194 51M170 50L182 60L187 59' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M174 47L188 53L194 51M170 50L182 60L187 59' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M144 49L130 54L125 52M148 51L136 61L131 61' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M144 49L130 54L125 52M148 51L136 61L131 61' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M190 26L186 13M188 19L182 17M194 25L197 12M195.5 18L201 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M190 26L186 13M188 19L182 17M194 25L197 12M195.5 18L201 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M136 45C138 35 164 33 176 39L184 29C186 25 193 23 197 26L202 30C200 35 193 35 189 35L182 46C177 54 146 55 136 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M137 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M154 37C156 45 156 50 154 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='155' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='193' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M187 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='202' cy='30' r='2.2' fill='%233b1a10'/%3E%3Cpath d='M254 47L259 56L255 61M250 50L254 58L249 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M254 47L259 56L255 61M250 50L254 58L249 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M224 49L228 58L234 62M228 51L235 57L240 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M224 49L228 58L234 62M228 51L235 57L240 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M270 26L266 13M268 19L262 17M274 25L277 12M275.5 18L281 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M270 26L266 13M268 19L262 17M274 25L277 12M275.5 18L281 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M216 45C218 35 244 33 256 39L264 29C266 25 273 23 277 26L282 30C280 35 273 35 269 35L262 46C257 54 226 55 216 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M217 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M234 37C236 45 236 50 234 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='235' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='273' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M267 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='282.5' cy='30' r='7' fill='%23ff2d3d' opacity='.3'/%3E%3Ccircle cx='282.5' cy='30' r='3.2' fill='%23ff2d3d' stroke='%233b1a10' stroke-width='.8'/%3E%3C/svg%3E") no-repeat center / contain; animation: xmFrameA 0.5s steps(1) infinite; }
.xm-ev.sleigh::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 292 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3CradialGradient id='d' cx='40%25' cy='30%25' r='80%25'%3E%3Cstop offset='0' stop-color='%23cf9157'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M104 49Q130 40 155 46M104 49Q170 33 235 46' stroke='%23ffd54a' stroke-width='1.4' fill='none'/%3E%3Cg transform='translate(310 0) scale(-1 1)'%3E%3Cpath d='M266 46C262 28 290 26 288 46Z' fill='%23b07a46' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='270' y='29' width='11' height='10' rx='1' fill='%232ec46a' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='274.6' y='29' width='1.8' height='10' fill='%23ffd54a'/%3E%3Cpath d='M240 40L228 27' stroke='%233b1a10' stroke-width='6.1' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M240 40L228 27' stroke='%23d62828' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='227' cy='25.5' r='3.2' fill='%23fff' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='248' cy='45' r='13' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='248' cy='28' r='8' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cpath d='M240.5 30C241 39 255 39 255.5 30C252 33 244 33 240.5 30Z' fill='%23fff'/%3E%3Cpath d='M240 23L250 10L256 22Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='250.5' cy='10' r='2.6' fill='%23fff' stroke='%233b1a10' stroke-width='.8'/%3E%3Crect x='239' y='21' width='18' height='4' rx='2' fill='%23fff' stroke='%233b1a10' stroke-width='.9'/%3E%3Ccircle cx='245' cy='27.5' r='.9' fill='%233b1a10'/%3E%3Ccircle cx='251' cy='27.5' r='.9' fill='%233b1a10'/%3E%3Cpath d='M206 46H294C300 46 302 52 300 58C296 74 284 80 264 80H224C208 80 198 70 196 56Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M204 54H298' stroke='%23ffd54a' stroke-width='2.4'/%3E%3Cpath d='M214 64q8-6 16 0t16 0t16 0t16 0' stroke='%23ffd54a' stroke-width='1.6' fill='none'/%3E%3Cpath d='M206 46C194 40 194 28 205 28C212 28 213 35 208 39' stroke='%233b1a10' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M206 46C194 40 194 28 205 28C212 28 213 35 208 39' stroke='%23ffd54a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M214 80L210 92M282 80L286 92' stroke='%233b1a10' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M214 80L210 92M282 80L286 92' stroke='%23ffd54a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M196 92H288C302 92 308 82 302 76' stroke='%233b1a10' stroke-width='4.800000000000001' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M196 92H288C302 92 308 82 302 76' stroke='%23ffd54a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/g%3E%3Cpath d='M174 47L179 56L175 61M170 50L174 58L169 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M174 47L179 56L175 61M170 50L174 58L169 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M144 49L148 58L154 62M148 51L155 57L160 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M144 49L148 58L154 62M148 51L155 57L160 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M190 26L186 13M188 19L182 17M194 25L197 12M195.5 18L201 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M190 26L186 13M188 19L182 17M194 25L197 12M195.5 18L201 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M136 45C138 35 164 33 176 39L184 29C186 25 193 23 197 26L202 30C200 35 193 35 189 35L182 46C177 54 146 55 136 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M137 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M154 37C156 45 156 50 154 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='155' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='193' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M187 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='202' cy='30' r='2.2' fill='%233b1a10'/%3E%3Cpath d='M254 47L268 53L274 51M250 50L262 60L267 59' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M254 47L268 53L274 51M250 50L262 60L267 59' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M224 49L210 54L205 52M228 51L216 61L211 61' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M224 49L210 54L205 52M228 51L216 61L211 61' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M270 26L266 13M268 19L262 17M274 25L277 12M275.5 18L281 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M270 26L266 13M268 19L262 17M274 25L277 12M275.5 18L281 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M216 45C218 35 244 33 256 39L264 29C266 25 273 23 277 26L282 30C280 35 273 35 269 35L262 46C257 54 226 55 216 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M217 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M234 37C236 45 236 50 234 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='235' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='273' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M267 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='282.5' cy='30' r='7' fill='%23ff2d3d' opacity='.3'/%3E%3Ccircle cx='282.5' cy='30' r='3.2' fill='%23ff2d3d' stroke='%233b1a10' stroke-width='.8'/%3E%3C/svg%3E"); animation-name: xmFrameB; }
.xm-ev.sleigh.with-greg::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 292 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3CradialGradient id='d' cx='40%25' cy='30%25' r='80%25'%3E%3Cstop offset='0' stop-color='%23cf9157'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M104 49Q130 40 155 46M104 49Q170 33 235 46' stroke='%23ffd54a' stroke-width='1.4' fill='none'/%3E%3Cg transform='translate(310 0) scale(-1 1)'%3E%3Cpath d='M266 46C262 28 290 26 288 46Z' fill='%23b07a46' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='270' y='29' width='11' height='10' rx='1' fill='%232ec46a' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='274.6' y='29' width='1.8' height='10' fill='%23ffd54a'/%3E%3Cpath d='M240 40L228 27' stroke='%233b1a10' stroke-width='6.1' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M240 40L228 27' stroke='%23d62828' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='227' cy='25.5' r='3.2' fill='%23fff' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='248' cy='45' r='13' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cpath d='M206 46H294C300 46 302 52 300 58C296 74 284 80 264 80H224C208 80 198 70 196 56Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M204 54H298' stroke='%23ffd54a' stroke-width='2.4'/%3E%3Cpath d='M214 64q8-6 16 0t16 0t16 0t16 0' stroke='%23ffd54a' stroke-width='1.6' fill='none'/%3E%3Cpath d='M206 46C194 40 194 28 205 28C212 28 213 35 208 39' stroke='%233b1a10' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M206 46C194 40 194 28 205 28C212 28 213 35 208 39' stroke='%23ffd54a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M214 80L210 92M282 80L286 92' stroke='%233b1a10' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M214 80L210 92M282 80L286 92' stroke='%23ffd54a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M196 92H288C302 92 308 82 302 76' stroke='%233b1a10' stroke-width='4.800000000000001' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M196 92H288C302 92 308 82 302 76' stroke='%23ffd54a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/g%3E%3Cpath d='M174 47L188 53L194 51M170 50L182 60L187 59' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M174 47L188 53L194 51M170 50L182 60L187 59' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M144 49L130 54L125 52M148 51L136 61L131 61' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M144 49L130 54L125 52M148 51L136 61L131 61' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M190 26L186 13M188 19L182 17M194 25L197 12M195.5 18L201 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M190 26L186 13M188 19L182 17M194 25L197 12M195.5 18L201 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M136 45C138 35 164 33 176 39L184 29C186 25 193 23 197 26L202 30C200 35 193 35 189 35L182 46C177 54 146 55 136 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M137 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M154 37C156 45 156 50 154 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='155' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='193' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M187 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='202' cy='30' r='2.2' fill='%233b1a10'/%3E%3Cpath d='M254 47L259 56L255 61M250 50L254 58L249 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M254 47L259 56L255 61M250 50L254 58L249 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M224 49L228 58L234 62M228 51L235 57L240 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M224 49L228 58L234 62M228 51L235 57L240 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M270 26L266 13M268 19L262 17M274 25L277 12M275.5 18L281 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M270 26L266 13M268 19L262 17M274 25L277 12M275.5 18L281 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M216 45C218 35 244 33 256 39L264 29C266 25 273 23 277 26L282 30C280 35 273 35 269 35L262 46C257 54 226 55 216 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M217 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M234 37C236 45 236 50 234 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='235' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='273' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M267 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='282.5' cy='30' r='7' fill='%23ff2d3d' opacity='.3'/%3E%3Ccircle cx='282.5' cy='30' r='3.2' fill='%23ff2d3d' stroke='%233b1a10' stroke-width='.8'/%3E%3C/svg%3E"); }
.xm-ev.sleigh.with-greg::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 292 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3CradialGradient id='d' cx='40%25' cy='30%25' r='80%25'%3E%3Cstop offset='0' stop-color='%23cf9157'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M104 49Q130 40 155 46M104 49Q170 33 235 46' stroke='%23ffd54a' stroke-width='1.4' fill='none'/%3E%3Cg transform='translate(310 0) scale(-1 1)'%3E%3Cpath d='M266 46C262 28 290 26 288 46Z' fill='%23b07a46' stroke='%233b1a10' stroke-width='1.4'/%3E%3Crect x='270' y='29' width='11' height='10' rx='1' fill='%232ec46a' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='274.6' y='29' width='1.8' height='10' fill='%23ffd54a'/%3E%3Cpath d='M240 40L228 27' stroke='%233b1a10' stroke-width='6.1' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M240 40L228 27' stroke='%23d62828' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='227' cy='25.5' r='3.2' fill='%23fff' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='248' cy='45' r='13' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cpath d='M206 46H294C300 46 302 52 300 58C296 74 284 80 264 80H224C208 80 198 70 196 56Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M204 54H298' stroke='%23ffd54a' stroke-width='2.4'/%3E%3Cpath d='M214 64q8-6 16 0t16 0t16 0t16 0' stroke='%23ffd54a' stroke-width='1.6' fill='none'/%3E%3Cpath d='M206 46C194 40 194 28 205 28C212 28 213 35 208 39' stroke='%233b1a10' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M206 46C194 40 194 28 205 28C212 28 213 35 208 39' stroke='%23ffd54a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M214 80L210 92M282 80L286 92' stroke='%233b1a10' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M214 80L210 92M282 80L286 92' stroke='%23ffd54a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M196 92H288C302 92 308 82 302 76' stroke='%233b1a10' stroke-width='4.800000000000001' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M196 92H288C302 92 308 82 302 76' stroke='%23ffd54a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/g%3E%3Cpath d='M174 47L179 56L175 61M170 50L174 58L169 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M174 47L179 56L175 61M170 50L174 58L169 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M144 49L148 58L154 62M148 51L155 57L160 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M144 49L148 58L154 62M148 51L155 57L160 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M190 26L186 13M188 19L182 17M194 25L197 12M195.5 18L201 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M190 26L186 13M188 19L182 17M194 25L197 12M195.5 18L201 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M136 45C138 35 164 33 176 39L184 29C186 25 193 23 197 26L202 30C200 35 193 35 189 35L182 46C177 54 146 55 136 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M137 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M154 37C156 45 156 50 154 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='155' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='193' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M187 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='202' cy='30' r='2.2' fill='%233b1a10'/%3E%3Cpath d='M254 47L268 53L274 51M250 50L262 60L267 59' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M254 47L268 53L274 51M250 50L262 60L267 59' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M224 49L210 54L205 52M228 51L216 61L211 61' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M224 49L210 54L205 52M228 51L216 61L211 61' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M270 26L266 13M268 19L262 17M274 25L277 12M275.5 18L281 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M270 26L266 13M268 19L262 17M274 25L277 12M275.5 18L281 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M216 45C218 35 244 33 256 39L264 29C266 25 273 23 277 26L282 30C280 35 273 35 269 35L262 46C257 54 226 55 216 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M217 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M234 37C236 45 236 50 234 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='235' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='273' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M267 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='282.5' cy='30' r='7' fill='%23ff2d3d' opacity='.3'/%3E%3Ccircle cx='282.5' cy='30' r='3.2' fill='%23ff2d3d' stroke='%233b1a10' stroke-width='.8'/%3E%3C/svg%3E"); }
.xm-ev.sleigh .xm-bubble { z-index: 3; left: 0; top: -3.4vw; }
@keyframes xmFrameA { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes xmFrameB { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes xmSleigh {
  0%   { transform: translate(0, 5vh) rotate(-3deg); }
  20%  { transform: translate(30vw, -1vh) rotate(-1deg); }
  40%  { transform: translate(60vw, 2vh) rotate(1deg); }
  60%  { transform: translate(90vw, -2vh) rotate(-1deg); }
  80%  { transform: translate(118vw, 1vh) rotate(-2deg); }
  100% { transform: translate(146vw, -4vh) rotate(-4deg); }
}

/* a snowball smacks the screen and slides down */
.xm-ev.splat { width: 13vw; height: 13vw; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='s' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d6e4f0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M50 12C55 22 60 23 66 14C67 26 72 29 82 24C76 35 79 40 89 44C78 48 77 54 82 62C70 60 66 63 66 74C58 66 53 67 50 78C46 67 41 66 33 73C33 62 29 59 18 61C24 52 22 47 12 43C22 39 24 34 18 24C28 29 33 26 34 14C40 23 45 22 50 12Z' fill='url(%23s)' stroke='%239fb8cf' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='11' cy='19' r='4.2' fill='%23fff' stroke='%239fb8cf' stroke-width='1'/%3E%3Ccircle cx='89' cy='70' r='5' fill='%23fff' stroke='%239fb8cf' stroke-width='1'/%3E%3Ccircle cx='87' cy='15' r='3' fill='%23fff' stroke='%239fb8cf' stroke-width='1'/%3E%3Ccircle cx='15' cy='79' r='3.6' fill='%23fff' stroke='%239fb8cf' stroke-width='1'/%3E%3Cpath d='M45 76C45 84 46 90 44 95' stroke='%239fb8cf' stroke-width='6.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M45 76C45 84 46 90 44 95' stroke='%23fff' stroke-width='4.4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M58 72C59 78 59 83 58 87' stroke='%239fb8cf' stroke-width='5' stroke-linecap='round' fill='none'/%3E%3Cpath d='M58 72C59 78 59 83 58 87' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' fill='none'/%3E%3Cellipse cx='40' cy='34' rx='9' ry='5' fill='%23fff' opacity='.9'/%3E%3C/svg%3E"); opacity: 0.95; animation: xmSplat 7s ease-in forwards; }
@keyframes xmSplat {
  0%   { transform: scale(0.2); opacity: 0; }
  6%   { transform: scale(1.12); opacity: 0.95; }
  10%  { transform: scale(1); }
  55%  { transform: translateY(2vh) scale(1); opacity: 0.95; }
  100% { transform: translateY(30vh) scale(0.95); opacity: 0; }
}

/* runners across the bottom: a reindeer in a sweatband (galloping), a gingerbread man (hopping) */
.xm-ev.runner { width: 9vw; height: 8vw; bottom: 1.5vh; left: -11vw; animation: xmRun 9s linear forwards; }
.xm-ev.runner .bod { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: no-repeat center / contain; }
.xm-ev.runner .xm-bubble { left: 60%; bottom: 100%; }
.xm-ev.runner.reindeer .bod { animation: xmBounce 0.5s ease-in-out infinite; }
.xm-ev.runner.reindeer .bod::before, .xm-ev.runner.reindeer .bod::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 4 94 64'%3E%3Cdefs%3E%3CradialGradient id='d' cx='40%25' cy='30%25' r='80%25'%3E%3Cstop offset='0' stop-color='%23cf9157'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M50 47L64 53L70 51M46 50L58 60L63 59' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M50 47L64 53L70 51M46 50L58 60L63 59' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M20 49L6 54L1 52M24 51L12 61L7 61' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M20 49L6 54L1 52M24 51L12 61L7 61' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M66 26L62 13M64 19L58 17M70 25L73 12M71.5 18L77 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M66 26L62 13M64 19L58 17M70 25L73 12M71.5 18L77 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M12 45C14 35 40 33 52 39L60 29C62 25 69 23 73 26L78 30C76 35 69 35 65 35L58 46C53 54 22 55 12 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M13 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M30 37C32 45 32 50 30 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='31' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='69' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M63 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='78.5' cy='30' r='7' fill='%23ff2d3d' opacity='.3'/%3E%3Ccircle cx='78.5' cy='30' r='3.2' fill='%23ff2d3d' stroke='%233b1a10' stroke-width='.8'/%3E%3Cpath d='M59 27.5L69.5 22' stroke='%233b1a10' stroke-width='5.6' stroke-linecap='round'/%3E%3Cpath d='M59 27.5L69.5 22' stroke='%23e23b3b' stroke-width='3.8' stroke-linecap='round'/%3E%3Cpath d='M59 27.5L69.5 22' stroke='%23fff' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; animation: xmFrameA 0.5s steps(1) infinite; }
.xm-ev.runner.reindeer .bod::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 4 94 64'%3E%3Cdefs%3E%3CradialGradient id='d' cx='40%25' cy='30%25' r='80%25'%3E%3Cstop offset='0' stop-color='%23cf9157'/%3E%3Cstop offset='1' stop-color='%238a5428'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M50 47L55 56L51 61M46 50L50 58L45 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M50 47L55 56L51 61M46 50L50 58L45 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M20 49L24 58L30 62M24 51L31 57L36 63' stroke='%233b1a10' stroke-width='5.0' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M20 49L24 58L30 62M24 51L31 57L36 63' stroke='%239a6434' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M66 26L62 13M64 19L58 17M70 25L73 12M71.5 18L77 15' stroke='%233b1a10' stroke-width='3.8000000000000003' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M66 26L62 13M64 19L58 17M70 25L73 12M71.5 18L77 15' stroke='%23e8c48e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M12 45C14 35 40 33 52 39L60 29C62 25 69 23 73 26L78 30C76 35 69 35 65 35L58 46C53 54 22 55 12 45Z' fill='url(%23d)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M13 43c-4-2-6-6-4-9' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Cpath d='M30 37C32 45 32 50 30 54' stroke='%23e23b3b' stroke-width='3' fill='none'/%3E%3Ccircle cx='31' cy='47' r='2' fill='%23ffd54a' stroke='%233b1a10' stroke-width='.7'/%3E%3Ccircle cx='69' cy='27.5' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M63 25l-3-4' stroke='%233b1a10' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='78.5' cy='30' r='7' fill='%23ff2d3d' opacity='.3'/%3E%3Ccircle cx='78.5' cy='30' r='3.2' fill='%23ff2d3d' stroke='%233b1a10' stroke-width='.8'/%3E%3Cpath d='M59 27.5L69.5 22' stroke='%233b1a10' stroke-width='5.6' stroke-linecap='round'/%3E%3Cpath d='M59 27.5L69.5 22' stroke='%23e23b3b' stroke-width='3.8' stroke-linecap='round'/%3E%3Cpath d='M59 27.5L69.5 22' stroke='%23fff' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E"); animation-name: xmFrameB; }
.xm-ev.runner.reindeer { width: 14vw; height: 9.5vw; left: -16vw; }
.xm-ev.runner.ginger { width: 7vw; height: 7vw; }
.xm-ev.runner.ginger .bod { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23e9a663'/%3E%3Cstop offset='1' stop-color='%23a5591f'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M38 49L23 51L18 33' stroke='%233b1a10' stroke-width='10.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M38 49L23 51L18 33' stroke='url(%23g)' stroke-width='8.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M62 49L77 51L82 33' stroke='%233b1a10' stroke-width='10.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M62 49L77 51L82 33' stroke='url(%23g)' stroke-width='8.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='25' cy='46.5' r='6' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Ccircle cx='75' cy='46.5' r='6' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.4'/%3E%3Cpath d='M35 42C42 38 58 38 65 42L67 70L75 89C77 95 70 98 66 93L56 78H44L34 93C30 98 23 95 25 89L33 70Z' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='27' r='14.5' fill='url(%23g)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M13.5 34q2-3 4 0t4 0M78.5 34q2-3 4 0t4 0M26 89q2-2.6 4 0t4 0M66 89q2-2.6 4 0t4 0M39 18q3-4 6-1t5-1t6 2t5 2' stroke='%23fff' stroke-width='2.1' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='45' cy='24.5' r='2.7' fill='%23fff'/%3E%3Ccircle cx='55' cy='24.5' r='2.7' fill='%23fff'/%3E%3Ccircle cx='45.5' cy='25' r='1.3' fill='%233b1a10'/%3E%3Ccircle cx='55.5' cy='25' r='1.3' fill='%233b1a10'/%3E%3Cpath d='M43.5 30.5Q50 36.5 56.5 30.5' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='40.5' cy='29.5' r='2.3' fill='%23ff9e9e' opacity='.75'/%3E%3Ccircle cx='59.5' cy='29.5' r='2.3' fill='%23ff9e9e' opacity='.75'/%3E%3Cpath d='M44.5 43L50 46.4L44.5 49.8Z M55.5 43L50 46.4L55.5 49.8Z' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='46.4' r='1.6' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1'/%3E%3Cpath d='M46.5 58A3.5 3.5 0 0 1 53.5 58V60H46.5Z' fill='%23ff4d5e' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='48.6' cy='57' r='.8' fill='%23fff'/%3E%3Cpath d='M46.5 67A3.5 3.5 0 0 1 53.5 67V69H46.5Z' fill='%233ccf6e' stroke='%233b1a10' stroke-width='1'/%3E%3Ccircle cx='48.6' cy='66' r='.8' fill='%23fff'/%3E%3C/svg%3E"); animation: xmHop 0.36s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes xmRun { to { transform: translateX(124vw); } }
@keyframes xmBounce { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-1.6vh); } 50% { transform: translateY(0); } 75% { transform: translateY(-1.6vh); } }
@keyframes xmHop { from { transform: translateY(0) rotate(-7deg); } to { transform: translateY(-2vh) rotate(7deg); } }

/* someone peeks up from the bottom corner and says something */
.xm-ev.peek { width: 11vw; height: 11vw; right: 4vw; bottom: 0; transform: translateY(110%); animation: xmPeek 9s ease-in-out forwards; background-position: center bottom; }
.xm-ev.peek.santa { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3CradialGradient id='w' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d9e2ec'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M22 47C20 25 38 9 60 10C77 11 87 23 89 38C83 31 75 28 67 31C57 35 51 41 49 47Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M58 14C70 14 80 20 84 30' stroke='%23ff9a90' stroke-width='2' fill='none' stroke-linecap='round' opacity='.7'/%3E%3Ccircle cx='87.5' cy='39' r='7.5' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.6'/%3E%3Ccircle cx='29' cy='73' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='32' cy='82' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='39' cy='89' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='46' cy='93' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='54' cy='93' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='61' cy='89' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='68' cy='82' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Ccircle cx='71' cy='73' r='5.4' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cellipse cx='50' cy='58' rx='19' ry='18' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M28 60C27 74 34 86 44 90C48 92 52 92 56 90C66 86 73 74 72 60C67 68 60 71 50 71C40 71 33 68 28 60Z' fill='url(%23w)'/%3E%3Cpath d='M28 60C33 68 40 71 50 71C60 71 67 68 72 60' stroke='%233b1a10' stroke-width='1.2' fill='none' opacity='.35'/%3E%3Cellipse cx='50' cy='75.5' rx='3.8' ry='2.8' fill='%237a2a22'/%3E%3Cpath d='M50 66.5C46 62 38 62 33.5 67.5C38 72.5 46 71.5 50 68.5C54 71.5 62 72.5 66.5 67.5C62 62 54 62 50 66.5Z' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.3' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='63' r='4.4' fill='%23ef8a73' stroke='%233b1a10' stroke-width='1.2'/%3E%3Ccircle cx='48.5' cy='61.5' r='1.3' fill='%23fff' opacity='.85'/%3E%3Cellipse cx='38' cy='61.5' rx='4' ry='2.6' fill='%23ff7f7f' opacity='.5'/%3E%3Cellipse cx='62' cy='61.5' rx='4' ry='2.6' fill='%23ff7f7f' opacity='.5'/%3E%3Cpath d='M40 56Q43 52 46 56M54 56Q57 52 60 56' stroke='%233b1a10' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M38 51Q42.5 47.5 47 50M53 50Q57.5 47.5 62 51' stroke='%233b1a10' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M38 51Q42.5 47.5 47 50M53 50Q57.5 47.5 62 51' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Crect x='20' y='41' width='60' height='12' rx='6' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.6'/%3E%3Ccircle cx='30' cy='46' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='42' cy='48' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='56' cy='45.5' r='1' fill='%23cfd8e2'/%3E%3Ccircle cx='69' cy='47.5' r='1' fill='%23cfd8e2'/%3E%3C/svg%3E"); }
.xm-ev.peek.elf { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='f' cx='45%25' cy='38%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe3cc'/%3E%3Cstop offset='1' stop-color='%23efa47e'/%3E%3C/radialGradient%3E%3ClinearGradient id='e' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%233fd884'/%3E%3Cstop offset='1' stop-color='%230f6b38'/%3E%3C/linearGradient%3E%3CradialGradient id='y' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff1a6'/%3E%3Cstop offset='1' stop-color='%23d79c12'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M34 72L40 81L45 74L50 82L55 74L60 81L66 72Z' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M32 57L13 44L35 65Z' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M68 57L87 44L65 65Z' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.5' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='58' r='18.5' fill='url(%23f)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Cpath d='M29 45C33 27 50 10 81 6C77 14 73 27 71 45Z' fill='url(%23e)' stroke='%233b1a10' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M44 30C52 20 64 13 76 10' stroke='%237ef0a8' stroke-width='2' fill='none' opacity='.55' stroke-linecap='round'/%3E%3Ccircle cx='81' cy='7' r='5' fill='url(%23y)' stroke='%233b1a10' stroke-width='1.3'/%3E%3Cpath d='M79 8.5h4' stroke='%233b1a10' stroke-width='1'/%3E%3Crect x='27' y='40' width='46' height='9' rx='4.5' fill='%23e23b3b' stroke='%233b1a10' stroke-width='1.5'/%3E%3Cellipse cx='43.5' cy='56' rx='2.5' ry='3.1' fill='%233b1a10'/%3E%3Ccircle cx='44.4' cy='54.8' r='.85' fill='%23fff'/%3E%3Cellipse cx='56.5' cy='56' rx='2.5' ry='3.1' fill='%233b1a10'/%3E%3Ccircle cx='57.4' cy='54.8' r='.85' fill='%23fff'/%3E%3Cpath d='M39.5 51.5Q43.5 49 47 51M53 51Q56.5 49 60.5 51.5' stroke='%238a5a2b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='38.5' cy='62' rx='3.6' ry='2.4' fill='%23ff7f7f' opacity='.55'/%3E%3Cellipse cx='61.5' cy='62' rx='3.6' ry='2.4' fill='%23ff7f7f' opacity='.55'/%3E%3Ccircle cx='37' cy='60' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='39.5' cy='61.5' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='61' cy='60' r='.6' fill='%23c97a50'/%3E%3Ccircle cx='63' cy='61.8' r='.6' fill='%23c97a50'/%3E%3Cpath d='M41 64Q50 75 59 64Z' fill='%237a2a22' stroke='%233b1a10' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M42.6 64.6H57.4V66Q50 67.6 42.6 66Z' fill='%23fff'/%3E%3Ccircle cx='50' cy='61' r='2' fill='%23f2a07e'/%3E%3C/svg%3E"); }
.xm-ev.peek .xm-bubble { right: 92%; top: 8%; }
@keyframes xmPeek {
  0%        { transform: translateY(110%); }
  12%       { transform: translateY(8%); }
  16%       { transform: translateY(14%); }
  20%, 82%  { transform: translateY(8%); }
  100%      { transform: translateY(110%); }
}

/* Greg in a Santa hat: his face is the cut-out in flash.png (the faint one in the TV's corner) */
.xm-greg { position: absolute; left: 0; bottom: 0; width: 100%; height: 0; padding-bottom: 100%; }
.xm-greg img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; filter: drop-shadow(0 0.6vh 1.4vh rgba(0,0,0,0.45)); }
.xm-greg .hat { position: absolute; width: 84%; height: 84%; left: 15%; top: -39%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='w' cx='40%25' cy='30%25' r='75%25'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d9e2ec'/%3E%3C/radialGradient%3E%3ClinearGradient id='h' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff6a5c'/%3E%3Cstop offset='1' stop-color='%23b10f1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M13 72C15 44 31 17 54 12C73 8 87 24 91 54L81 57C78 43 72 36 65 37C68 47 73 60 75 72Z' fill='url(%23h)' stroke='%233b1a10' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M24 60C29 40 40 24 56 18' stroke='%23ff9a90' stroke-width='3' fill='none' stroke-linecap='round' opacity='.65'/%3E%3Cpath d='M65 37C60 36 54 38 50 42' stroke='%238e0d1b' stroke-width='2' fill='none' stroke-linecap='round' opacity='.6'/%3E%3Ccircle cx='13' cy='74' r='10.6' fill='%233b1a10'/%3E%3Ccircle cx='23' cy='71' r='11.6' fill='%233b1a10'/%3E%3Ccircle cx='34' cy='73' r='11.6' fill='%233b1a10'/%3E%3Ccircle cx='45' cy='71' r='12.1' fill='%233b1a10'/%3E%3Ccircle cx='56' cy='73' r='11.6' fill='%233b1a10'/%3E%3Ccircle cx='66' cy='71' r='11.6' fill='%233b1a10'/%3E%3Ccircle cx='75' cy='74' r='10.6' fill='%233b1a10'/%3E%3Ccircle cx='13' cy='74' r='9' fill='url(%23w)'/%3E%3Ccircle cx='23' cy='71' r='10' fill='url(%23w)'/%3E%3Ccircle cx='34' cy='73' r='10' fill='url(%23w)'/%3E%3Ccircle cx='45' cy='71' r='10.5' fill='url(%23w)'/%3E%3Ccircle cx='56' cy='73' r='10' fill='url(%23w)'/%3E%3Ccircle cx='66' cy='71' r='10' fill='url(%23w)'/%3E%3Ccircle cx='75' cy='74' r='9' fill='url(%23w)'/%3E%3Crect x='13' y='68' width='62' height='11' fill='%23f2f5f9'/%3E%3Ccircle cx='87' cy='60' r='10.5' fill='url(%23w)' stroke='%233b1a10' stroke-width='1.8'/%3E%3Ccircle cx='84' cy='56' r='3' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain; transform: rotate(7deg); transform-origin: 44% 74%; }
.xm-ev.peek.greg { width: 14vw; height: 16vw; right: 4vw; }
.xm-ev.peek.greg .xm-bubble { right: 96%; top: 18%; }
/* on the hour Greg takes Santa's seat in the sleigh */
.xm-ev.sleigh .xm-greg { z-index: 2; left: 13.2%; bottom: auto; top: 2%; width: 16%; padding-bottom: 16%; }

/* a big flurry: the snow gets heavy for a few seconds */
.xm-flurry { position: absolute; top: -3vh; border-radius: 50%; background: #fff; animation: xmFall 4.5s linear forwards; }
