/* WysMy - welcome tour. The pictures are inline SVG (inc/tour_art.php); animations run only while a step is showing (.tstep.on). */
.tour { max-width:1040px; margin:0 auto; }
.thead { display:flex; align-items:flex-end; gap:14px; flex-wrap:wrap; margin-bottom:14px; }
.thead .sp { flex:1; }
.tcount { font-family:var(--font-head); font-weight:600; color:var(--dim); font-size:15px; }
.tprog { display:flex; gap:7px; flex-wrap:wrap; margin:0 0 16px; }
.tprog button { width:34px; height:8px; border-radius:6px; border:0; background:var(--line); cursor:pointer; padding:0; transition:background .2s, width .2s; }
.tprog button.done { background:var(--brand); opacity:.55; }
.tprog button.on { background:var(--brand); width:54px; }
.tcard { background:var(--card); border:2px solid var(--line); border-radius:26px; padding:22px; box-shadow:0 6px 0 var(--line); }
.tstep { display:none; }
.tstep.on { display:grid; grid-template-columns:1.3fr 1fr; gap:26px; align-items:center; animation:t-in .35s ease both; }
@keyframes t-in { from { opacity:0; transform:translateX(14px); } to { opacity:1; transform:none; } }
.tstage { background:var(--soft); border-radius:20px; padding:10px; }
.tart { width:100%; height:auto; display:block; }
.ttext .tn { font-family:var(--font-head); font-weight:700; color:var(--hl); font-size:14px; letter-spacing:.06em; text-transform:uppercase; }
.ttext h2 { font-size:28px; margin:4px 0 12px; line-height:1.15; }
.ttext p { font-size:17px; line-height:1.55; margin:0 0 14px; color:var(--ink); }
.ttip { font-size:14.5px; line-height:1.5; }
.ttip b { font-family:var(--font-head); }
.tnav { display:flex; align-items:center; gap:12px; margin-top:18px; }
.tnav .sp { flex:1; }
.tkeys { text-align:center; margin-top:14px; color:var(--dim); font-size:13px; }
@media (max-width:820px) { .tstep.on { grid-template-columns:1fr; gap:16px; } .ttext h2 { font-size:24px; } }

/* ---- picture parts (colours come from the theme, so dark mode just works) ---- */
.tart .tw { font-family:var(--font-head); font-weight:600; font-size:16px; fill:var(--ink); }
.tart .tw.sm { font-size:13px; } .tart .tw.big { font-size:22px; fill:var(--hl); } .tart .dark { fill:#213547; } .tart .dim { fill:var(--dim); }
.tart .em { font-size:34px; } .tart .code { font-family:var(--font-head); font-weight:700; font-size:34px; fill:var(--hl); letter-spacing:.08em; } .tart .huge { font-family:var(--font-head); font-weight:700; font-size:66px; fill:var(--hl); }
.tart .ph { fill:var(--card); stroke:var(--logo-a); stroke-width:4; } .tart .ps { fill:var(--soft); }
.tart .sc { fill:var(--logo-a); } .tart .ss { fill:var(--card); } .tart .stand { fill:var(--logo-a); opacity:.55; }
.tart .win { fill:var(--card); stroke:var(--line); stroke-width:3; } .tart .rail { fill:var(--soft); }
.tart .item, .tart .bar { fill:var(--soft); } .tart .item.on1 { fill:var(--brand); opacity:.75; }
.tart .ln { fill:var(--dim); opacity:.55; } .tart .ln.dim { opacity:.3; }
.tart .teal { fill:var(--brand); } .tart .sun { fill:var(--pop2); } .tart .ribbon { fill:var(--tint2); } .tart .line { fill:var(--line); }
.tart .pop1 { fill:var(--pop1); } .tart .pop2 { fill:var(--pop2); } .tart .pop3 { fill:var(--pop3); } .tart .pop4 { fill:var(--pop4); } .tart .pop5 { fill:var(--pop5); }
.tart .card { fill:var(--card); stroke:var(--line); stroke-width:2.5; }
.tart .qr { fill:#213547; } .tart .qrbg { fill:#fff; } .tart .axis { stroke:var(--line); stroke-width:3; }
.tart .tk { fill:var(--tint4); stroke:var(--brand); stroke-width:3; stroke-dasharray:9 7; }
.tart .wh { fill:var(--logo-a); } .tart .ptr { fill:var(--logo-a); }
.tart .tick { stroke:#213547; stroke-width:4; fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:34; }
.tart .dash { fill:none; stroke:var(--brand); stroke-width:3; stroke-dasharray:3 9; stroke-linecap:round; }
.tart .wave { fill:none; stroke:var(--brand); stroke-width:5; stroke-linecap:round; opacity:.25; }
.tart .finger { fill:var(--logo-a); opacity:0; } .tart .ripple { fill:none; stroke:var(--brand); stroke-width:4; opacity:0; }
.tart .plus { font-family:var(--font-head); font-weight:700; font-size:30px; fill:var(--good); opacity:0; }
.tart .n1, .tart .n2, .tart .n3 { opacity:0; }
.tart [class*="pop"], .tart .float, .tart .slide, .tart .popin, .tart .grow, .tart .tile, .tart .pulse, .tart .press, .tart .car, .tart .wheel, .tart .row, .tart .ab, .tart .check, .tart .ticket, .tart .askbox, .tart .type, .tart .tablet { transform-box:fill-box; }
.tart .float, .tart .popin, .tart .pulse, .tart .tile, .tart .press, .tart .ticket, .tart .askbox, .tart .item.pop { transform-origin:center; }
.tart .grow { transform-origin:50% 100%; } .tart .type { transform-origin:0 50%; }
.tart .wheel { transform-box:view-box; transform-origin:190px 190px; }
.tart .slideB { opacity:0; }

/* ---- animations: only while the step is showing ---- */
.tstep.on .float { animation:t-float 3.2s ease-in-out infinite; } .tstep.on .f1 { animation-delay:.5s; } .tstep.on .f2 { animation-delay:1s; }
@keyframes t-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-9px); } }
.tstep.on .pulse { animation:t-pulse 1.6s ease-in-out infinite; }
@keyframes t-pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.07); } }
.tstep.on .dash { animation:t-dash 1.2s linear infinite; } @keyframes t-dash { to { stroke-dashoffset:-24; } }
.tstep.on .slide { animation:t-slide .5s ease-out both; } .tstep.on .s0 { animation-delay:1.5s; } .tstep.on .s1 { animation-delay:1.7s; } .tstep.on .s2 { animation-delay:1.9s; } .tstep.on .s3 { animation-delay:2.1s; }
@keyframes t-slide { from { opacity:0; transform:translateX(-26px); } to { opacity:1; transform:none; } }
.tstep.on .type { animation:t-type 1.3s .2s ease-out both; } @keyframes t-type { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.tstep.on .item.pop { animation:t-popin .45s 2.6s cubic-bezier(.3,1.6,.5,1) both; }
.tstep.on .popin { animation:t-popin .45s cubic-bezier(.3,1.6,.5,1) both; } .tstep.on .a0 { animation-delay:.3s; } .tstep.on .a1 { animation-delay:.6s; } .tstep.on .a2 { animation-delay:.9s; } .tstep.on .a3 { animation-delay:1.2s; } .tstep.on .a4 { animation-delay:1.5s; } .tstep.on .a5 { animation-delay:1.8s; }
@keyframes t-popin { from { opacity:0; transform:scale(0); } to { opacity:1; transform:scale(1); } }
.tstep.on .grow { animation:t-grow .9s cubic-bezier(.2,1,.3,1) both; } .tstep.on .g0 { animation-delay:.5s; } .tstep.on .g1 { animation-delay:.9s; } .tstep.on .g2 { animation-delay:1.3s; } .tstep.on .g3 { animation-delay:1.7s; }
@keyframes t-grow { from { transform:scaleY(0); } to { transform:scaleY(1); } }
.tstep.on .tile { animation:t-hl 6.3s ease-in-out infinite both; opacity:.7; }
.tstep.on .ti0 { animation-delay:0s; } .tstep.on .ti1 { animation-delay:.9s; } .tstep.on .ti2 { animation-delay:1.8s; } .tstep.on .ti3 { animation-delay:2.7s; } .tstep.on .ti4 { animation-delay:3.6s; } .tstep.on .ti5 { animation-delay:4.5s; } .tstep.on .ti6 { animation-delay:5.4s; }
@keyframes t-hl { 0% { transform:scale(1); opacity:.7; } 4%,12% { transform:scale(1.08); opacity:1; } 18%,100% { transform:scale(1); opacity:.7; } }
.tstep.on .n0, .tstep.on .n1, .tstep.on .n2, .tstep.on .n3 { animation:t-show 6s linear infinite backwards; }
.tstep.on .n1 { animation-delay:1.5s; } .tstep.on .n2 { animation-delay:3s; } .tstep.on .n3 { animation-delay:4.5s; }
@keyframes t-show { 0% { opacity:0; } 3%,22% { opacity:1; } 25%,100% { opacity:0; } }
.tstep.on .press { animation:t-press 2.6s ease-in-out infinite; }
@keyframes t-press { 0%,78% { transform:scale(1); } 84% { transform:scale(.88); } 92%,100% { transform:scale(1); } }
.tstep.on .slideA { animation:t-ab 5.2s linear infinite; } .tstep.on .slideB { animation:t-ba 5.2s linear infinite; }
@keyframes t-ab { 0%,49% { opacity:1; } 52%,97% { opacity:0; } 100% { opacity:1; } } @keyframes t-ba { 0%,49% { opacity:0; } 52%,97% { opacity:1; } 100% { opacity:0; } }
.tstep.on .wave { animation:t-wave 1.8s ease-in-out infinite; } .tstep.on .w1 { animation-delay:.3s; } .tstep.on .w2 { animation-delay:.6s; }
@keyframes t-wave { 0%,100% { opacity:.18; } 50% { opacity:1; } }
.tstep.on .finger { animation:t-finger 5s ease-in-out infinite; } .tstep.on .ripple { animation:t-ripple 5s ease-out infinite; }
@keyframes t-finger { 0% { transform:translate(60px,110px); opacity:0; } 14% { transform:translate(0,0); opacity:.9; } 20% { transform:scale(.8); opacity:.9; } 24% { transform:scale(1); opacity:.9; } 40%,100% { opacity:0; } }
@keyframes t-ripple { 0%,20% { transform:scale(1); opacity:0; } 22% { opacity:.9; } 46%,100% { transform:scale(3.4); opacity:0; } }
.tstep.on .ab:not(.b1) { animation:t-dim 5s linear infinite; } @keyframes t-dim { 0%,22% { opacity:1; } 26%,88% { opacity:.3; } 94%,100% { opacity:1; } }
.tstep.on .plus { animation:t-plus 5s ease-out infinite; } @keyframes t-plus { 0%,32% { opacity:0; transform:translateY(0); } 38% { opacity:1; } 62% { opacity:0; transform:translateY(-34px); } 100% { opacity:0; } }
.tstep.on .r0 { animation:t-down 5s ease-in-out infinite; } .tstep.on .r1 { animation:t-up 5s ease-in-out infinite; }
@keyframes t-down { 0%,50% { transform:translateY(0); } 62%,92% { transform:translateY(50px); } 100% { transform:translateY(0); } }
@keyframes t-up { 0%,50% { transform:translateY(0); } 62%,92% { transform:translateY(-50px); } 100% { transform:translateY(0); } }
.tstep.on .wheel { animation:t-spin 6s cubic-bezier(.12,.7,.2,1) infinite; } @keyframes t-spin { 0% { transform:rotate(0); } 70%,100% { transform:rotate(1140deg); } }
.tstep.on .car { animation:t-race 2.4s ease-in-out infinite alternate; } .tstep.on .c1 { animation-duration:3s; } .tstep.on .c2 { animation-duration:2.7s; animation-delay:.3s; }
@keyframes t-race { from { transform:translateX(0); } to { transform:translateX(150px); } }
.tstep.on .ticket { animation:t-float 3.4s ease-in-out infinite; }
.tstep.on .askbox { animation:t-popin .5s 1.2s cubic-bezier(.3,1.6,.5,1) both; }
.tstep.on .check { animation:t-slide .5s ease-out both; } .tstep.on .k0 { animation-delay:.2s; } .tstep.on .k1 { animation-delay:.8s; } .tstep.on .k2 { animation-delay:1.4s; } .tstep.on .k3 { animation-delay:2s; }
.tstep.on .tick { animation:t-draw .5s ease-out both; } .tstep.on .k0 .tick { animation-delay:.5s; } .tstep.on .k1 .tick { animation-delay:1.1s; } .tstep.on .k2 .tick { animation-delay:1.7s; } .tstep.on .k3 .tick { animation-delay:2.3s; }
@keyframes t-draw { from { stroke-dashoffset:34; } to { stroke-dashoffset:0; } }
@media (prefers-reduced-motion:reduce) { .tstep.on * { animation:none !important; } .tart .slideB { opacity:0; } .tart .n0 { opacity:1; } }

.tart circle.pulse { fill:var(--brand); }

/* ---- layout: picture box and text column always end on the same line; the tip sits at the bottom of the text column ---- */
.tstep.on { align-items:stretch; }
.tstage { display:flex; align-items:center; }
.ttext { display:flex; flex-direction:column; justify-content:center; }
.ttext .ttip { margin-top:auto; }
.ttext p:last-of-type { margin-bottom:18px; }
/* ---- the tip is in the brand teal ---- */
.ttip { background:var(--soft); border:2px solid rgba(34,187,177,.5); color:var(--ink); border-radius:16px; padding:13px 16px; }
.ttip b { color:var(--hl); }
.tart .ring { fill:var(--soft); stroke:var(--brand); stroke-width:3; }

/* ---- step 4: the results chart keeps moving, like live answers coming in; step 5: the player counter text ---- */
.tart .cnt { font-size:15px; fill:var(--hl); }
.tart .live { transform-box:fill-box; transform-origin:50% 100%; }
.tstep.on .live { animation-duration:4s; animation-timing-function:ease-in-out; animation-iteration-count:infinite; }
.tstep.on .l0 { animation-name:t-l0; } .tstep.on .l1 { animation-name:t-l1; } .tstep.on .l2 { animation-name:t-l2; } .tstep.on .l3 { animation-name:t-l3; }
@keyframes t-l0 { 0%,100% { transform:scaleY(.3); } 40% { transform:scaleY(1); } 70% { transform:scaleY(.6); } }
@keyframes t-l1 { 0%,100% { transform:scaleY(.85); } 30% { transform:scaleY(.4); } 65% { transform:scaleY(1); } }
@keyframes t-l2 { 0%,100% { transform:scaleY(.5); } 50% { transform:scaleY(.95); } 80% { transform:scaleY(.4); } }
@keyframes t-l3 { 0%,100% { transform:scaleY(.9); } 35% { transform:scaleY(.5); } 75% { transform:scaleY(.25); } }

/* ---- step 10: the launch trail ---- */
.tart .node, .tart .gobtn, .tart .rays, .tart .goring { transform-box:fill-box; transform-origin:center; }
.tart .trail { stroke-width:4; }
.tart .goarrow { fill:#213547; }
.tart .rayl { stroke:var(--brand); stroke-width:4; stroke-linecap:round; opacity:.55; }
.tart .goring { fill:none; stroke:var(--brand); stroke-width:4; opacity:0; }
.tart .star { fill:var(--pop2); opacity:.7; }
.tart .traveler { fill:var(--pop1); offset-rotate:0deg; }
.tstep.on .node { animation:t-popin .5s cubic-bezier(.3,1.6,.5,1) both; } .tstep.on .nd0 { animation-delay:.2s; } .tstep.on .nd1 { animation-delay:.9s; } .tstep.on .nd2 { animation-delay:1.6s; }
.tstep.on .gobtn { animation:t-popin .6s 2.3s cubic-bezier(.3,1.6,.5,1) both, t-pulse 1.8s 3s ease-in-out infinite; }
.tstep.on .rays { animation:t-popin .6s 2.3s both, t-rot 14s linear 2.9s infinite; }
@keyframes t-rot { to { transform:rotate(360deg); } }
.tstep.on .goring { animation:t-ring 2.4s ease-out 2.8s infinite; } .tstep.on .goring.r2 { animation-delay:3.6s; }
@keyframes t-ring { 0% { transform:scale(1); opacity:.7; } 100% { transform:scale(1.9); opacity:0; } }
.tstep.on .traveler { animation:t-travel 3.4s ease-in-out .3s infinite; }
@keyframes t-travel { 0% { offset-distance:0%; opacity:0; } 6% { opacity:1; } 90% { opacity:1; } 100% { offset-distance:100%; opacity:0; } }
.tstep.on .star { animation:t-twinkle 2.4s ease-in-out infinite; } .tstep.on .st1 { animation-delay:.8s; } .tstep.on .st2 { animation-delay:1.6s; }
@keyframes t-twinkle { 0%,100% { opacity:.2; transform:scale(.7); } 50% { opacity:.9; transform:scale(1.2); } }
.tart .star { transform-box:fill-box; transform-origin:center; }
@media (prefers-reduced-motion:reduce) { .tart .goring { opacity:0; } }
/* ---- chapters: a tab per chapter above the dots; the dots show the chapter that is open ---- */
.tchap { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 14px; }
.tchap button { font:600 14.5px var(--font-head); color:var(--ink); background:var(--card); border:2px solid var(--line); border-radius:999px; padding:7px 14px; cursor:pointer; transition:background .15s, border-color .15s; }
.tchap button small { font-size:12px; color:var(--dim); margin-left:3px; }
.tchap button:hover { background:var(--soft); }
.tchap button.on { background:var(--brand); border-color:var(--brand); color:#213547; }
.tchap button.on small { color:#213547; opacity:.7; }
.tchap button:focus-visible { outline:3px solid var(--hl); outline-offset:2px; }
.tnav .btn.hide { display:none; }
@media (max-width:820px) { .tchap { flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; scrollbar-width:thin; } .tchap button { flex:none; } }

/* ---- pictures of the feature chapters: tiles with a line icon (inc/icons.php), reactions, player pictures ---- */
.tart .tic { fill:none; stroke:var(--hl); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.tart .tw.sub { font-size:20px; fill:var(--hl); }
.tart .tw.xs { font-size:12px; }
.tart .rx, .tart .av { transform-box:fill-box; transform-origin:center; }
.tart .rx { font-size:30px; opacity:0; }
.tstep.on .rx { animation:t-rise 4s ease-out infinite; }
.tstep.on .x1 { animation-delay:.7s; } .tstep.on .x2 { animation-delay:1.5s; } .tstep.on .x3 { animation-delay:2.2s; } .tstep.on .x4 { animation-delay:3s; }
@keyframes t-rise { 0% { opacity:0; transform:translateY(0) scale(.6); } 12% { opacity:1; } 70% { opacity:1; } 100% { opacity:0; transform:translateY(-92px) scale(1.15); } }
.tart .avt { font-size:22px; }
.tart .avring { fill:none; stroke:var(--brand); stroke-width:4; }
.tstep.on .av { animation:t-popin .4s cubic-bezier(.3,1.6,.5,1) both; }
@media (prefers-reduced-motion:reduce) { .tart .rx { opacity:1; } }
.tart circle.avring { fill:none; }

/* ---- the feature chapters' scenes (inc/tour_scenes.php): their timing is in an inline <style> made by tour_scene_css() ---- */
.tart .fb { transform-box:fill-box; transform-origin:center; } .tart .fbb { transform-box:fill-box; transform-origin:50% 100%; }
.tart .fbl { transform-box:fill-box; transform-origin:0 50%; } .tart .fbr { transform-box:fill-box; transform-origin:100% 50%; }
.tart .ln1 { stroke-dasharray:1 1; }
.tart .tw.xs { font-size:12px; } .tart .tw.wht { fill:#fff; font-size:18px; } .tart .hlt { fill:var(--hl); }
.tart .ok { fill:var(--good); } .tart .tick2 { fill:none; stroke:#fff; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.tart .tick3 { fill:none; stroke:#213547; stroke-width:9; stroke-linecap:round; stroke-linejoin:round; }
.tart .plus2 { font-family:var(--font-head); font-weight:700; font-size:24px; fill:var(--good); }
.tart .eye { fill:#213547; } .tart .smile { fill:none; stroke:#213547; stroke-width:2; stroke-linecap:round; }
.tart .land { fill:var(--pop3); opacity:.35; } .tart .ring2 { fill:none; stroke:var(--hl); stroke-width:3; stroke-dasharray:4 4; } .tart .xmark { stroke:var(--hl); stroke-width:4; stroke-linecap:round; }
.tart .ring3 { fill:none; stroke:var(--brand); stroke-width:4; }
.tart .webl { fill:none; stroke:var(--line); stroke-width:2; } .tart .area { fill-opacity:.5; stroke-width:3; stroke:currentColor; }
.tart .area.pop4 { color:var(--pop4); } .tart .area.pop1 { color:var(--pop1); }
.tart .cw { font-family:var(--font-head); font-weight:700; }
.tart .hlbar { fill:var(--tint2); } .tart .arr { fill:none; stroke:var(--ink); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; } .tart .arr.dim2 { opacity:.35; }
.tart .guide { stroke:var(--pop1); stroke-width:2; stroke-dasharray:6 5; } .tart .mtn { fill:#fff; opacity:.75; } .tart .cursor { fill:var(--ink); stroke:var(--card); stroke-width:1.5; }
.tart .globe { fill:var(--soft); stroke:var(--logo-a); stroke-width:4; } .tart .shine { fill:none; stroke:#fff; stroke-width:6; stroke-linecap:round; opacity:.55; }
.tart .ballno { font-family:var(--font-head); font-weight:700; font-size:10px; fill:#213547; text-anchor:middle; }
.tart .rope { fill:#b98a4e; } .tart .ripple2 { fill:none; stroke:var(--brand); stroke-width:4; }
.tart .potato { fill:#b5793e; } .tart .spot { fill:#8a5a2b; } .tart .burst { fill:none; stroke:var(--pop1); stroke-width:6; } .tart .burst2 { fill:none; stroke:var(--pop2); stroke-width:5; }
.tart .boom { fill:var(--pop1); font-size:30px; }
.tart .hlring { fill:none; stroke:var(--brand); stroke-width:4; } .tart .knob { fill:var(--brand); stroke:var(--card); stroke-width:3; }
.tart .ringbg { fill:none; stroke:var(--line); stroke-width:10; } .tart .ringfg { fill:none; stroke:var(--brand); stroke-width:10; } .tart .ringbg.sm, .tart .ringfg.sm { stroke-width:5; }
.tart .hlfill { fill:var(--hl); } .tart .env { fill:none; stroke:#213547; stroke-width:1.5; }
.tart .vote { stroke:var(--pop1); stroke-width:5; stroke-linecap:round; }
.tart .night { fill:#0f2133; } .tart .moon { fill:#f3e3a4; } .tart .starw { fill:#fff; } .tart .tree1 { fill:#173b31; } .tart .tree2 { fill:#1f4d3f; } .tart .ground { fill:#0b1826; }
.tart .drop { stroke:#9ec4ea; stroke-width:2; stroke-linecap:round; } .tart .wavew { fill:none; stroke:#9fd7c9; stroke-width:3; stroke-linecap:round; }
.tart .bolt { fill:#ffe36e; } .tart .flash { fill:#fff; opacity:0; }
.tart .area2 { fill:var(--brand); fill-opacity:.18; } .tart .line2 { fill:none; stroke:var(--brand); stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
.tart .fold { fill:none; stroke:var(--line); stroke-width:2.5; } .tart .inkdot { fill:var(--ink); } .tart .dimdot { fill:var(--dim); }
.tart .darkslide { fill:#1d2b3a; } .tart .brandline { stroke:var(--brand); }
@media (prefers-reduced-motion:reduce) { .tart .flash, .tart .bolt { opacity:0; } }

/* ---- small screens: button labels stay on one line; at the end of the basics the create button gets its own row ---- */
@media (max-width:600px) { .tnav { flex-wrap:wrap; } .tnav .btn { white-space:nowrap; } .tnav #tdone, .tnav:has(#tdone:not(.hide)) #tnext { flex:1 1 100%; justify-content:center; text-align:center; } }
