/* Tika kit – shared look for the games on kids.aleksovapps.com.
   Hand-drawn sticker style of "Učimo sat": ink outlines, solid offset shadows, warm paper.
   Put class="tk-app" on <html> to get the base (font size, no page scroll, Nunito). */

@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 1000; font-display: swap; src: url(fonts/nunito-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 1000; font-display: swap; src: url(fonts/nunito-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 1000; font-display: swap; src: url(fonts/nunito-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ================================================================ tokens */
:root {
  --ink: #24263B; --ink-2: #575B7C; --ink-3: #9094B3;
  --paper: #FFFBF1; --paper-2: #FFF3D9; --cream: #FFF0CC;
  --sun: #FFC53D; --sun-soft: #FFF0C2; --sun-deep: #E9A917;
  --tomato: #EC4A3D; --tomato-soft: #FFE1DC;
  --go: #17A565; --go-soft: #D4F6E4;
  --sky: #2A6EE5; --sky-soft: #DCE8FF; --sky-light: #BCE4FF;
  --grape: #8650E6; --grape-soft: #ECE2FF;
  --pink: #FF7AA8; --pink-soft: #FFE3EE;
  --orange: #FF9636; --orange-soft: #FFE6CC;
  --teal: #19B5C8; --teal-soft: #D6F6FA;
  --owl: #C98952; --owl-wing: #A86A38; --owl-belly: #FFE6BF;
  --line: 3px;
  --shadow: 0 5px 0 var(--ink); --shadow-sm: 0 3px 0 var(--ink); --shadow-lg: 0 7px 0 var(--ink);
  --r-sm: 12px; --r: 18px; --r-lg: 26px;
  --tap: 3rem;            /* smallest touch target (≥ 48 px at the usual root size) */
  --gap: .75rem;
  --font: "Nunito", ui-rounded, "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  --ease-pop: cubic-bezier(.3, 1.5, .5, 1);
  --vh: 1vh;
}

/* ================================================================ app base (opt-in)
   Resets use :where() so they never out-rank component classes (.tk-btn-go etc.). */
html.tk-app {
  font-size: 18px;
  font-size: clamp(15px, calc(.55vw + .9vh + 6px), 22px);
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}
html.tk-app, html.tk-app body { overflow: hidden; overscroll-behavior: none; }
html.tk-app body { margin: 0; height: 100%; min-height: 100%; }
:where(html.tk-app) :where(body) {
  font-family: var(--font); font-weight: 700; line-height: 1.35; color: var(--ink);
  background: var(--paper);
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
:where(.tk-app) *, :where(.tk-app) *::before, :where(.tk-app) *::after { box-sizing: border-box; }
:where(.tk-app) :where(button) { font: inherit; color: inherit; margin: 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:where(.tk-app) :where(input, textarea) { font: inherit; -webkit-user-select: text; user-select: text; }
:where(.tk-app) :focus { outline: none; }
.tk-app :focus-visible { outline: 4px solid var(--sky); outline-offset: 3px; }
.tk-app [hidden] { display: none !important; }
:where(.tk-app) :where(img, svg) { max-width: 100%; }

/* paper grain like Učimo sat: <body class="tk-grain"> */
.tk-grain::after {
  content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; z-index: 8000; opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .15 0 0 0 0 .23 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================================================================ shell: full screen, no page scroll */
.tk-shell {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column;
  height: 100vh; height: calc(var(--vh, 1vh) * 100); height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow: hidden;
}
.tk-main { position: relative; flex: 1 1 auto; min-height: 0; min-width: 0; display: flex; }
.tk-fill { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.tk-row { display: flex; align-items: center; gap: var(--gap); min-width: 0; }
.tk-col { display: flex; flex-direction: column; gap: var(--gap); min-height: 0; }
.tk-grow { flex: 1 1 auto; min-width: 0; min-height: 0; }
.tk-center { display: flex; align-items: center; justify-content: center; }
.tk-scroll { overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
/* fixed-size board scaled to fit (see ui.js fitStage) */
.tk-stage-host { position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; overflow: hidden; }
.tk-stage { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transform-origin: 50% 50%; }

/* ================================================================ top bar */
.tk-topbar {
  flex: 0 0 auto; display: flex; align-items: center; gap: .55rem;
  padding: .6rem clamp(.6rem, 2vw, 1.2rem) .4rem; min-height: calc(var(--tap) + 1rem); position: relative; z-index: 20;
}
.tk-topbar .tk-title { font-weight: 900; font-size: 1.25rem; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tk-spacer { flex: 1 1 auto; }
/* app.controls(): on narrow screens voice/sound/music/script fold into one settings button */
.tk-ctl-group { display: flex; align-items: center; gap: .55rem; }
.tk-ctl-narrow { display: none !important; }
@media (max-width: 600px) {
  .tk-compact .tk-ctl-wide { display: none; }
  .tk-compact .tk-ctl-narrow { display: inline-flex !important; }
}
.tk-settings { display: flex; flex-direction: column; gap: .7rem; margin: .4rem 0 .2rem; }
.tk-settings .tk-btn { justify-content: flex-start; width: 100%; }
.tk-settings .tk-btn .tk-state { margin-left: auto; font-size: .9em; opacity: .75; }
.tk-settings .tk-btn[aria-pressed="true"] .tk-state { color: var(--go); opacity: 1; }

/* ================================================================ buttons */
.tk-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: var(--tap); padding: .45em 1.1em;
  font-family: var(--font); font-weight: 900; font-size: 1.1rem; line-height: 1.1; letter-spacing: .01em;
  color: var(--ink); background: #fff; border: var(--line) solid var(--ink); border-radius: 16px; box-shadow: var(--shadow);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .08s ease, box-shadow .08s ease, background-color .2s, filter .2s;
}
.tk-btn:hover { filter: brightness(1.04); }
.tk-btn:active, .tk-btn.is-pressed { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.tk-btn[disabled], .tk-btn.is-disabled { opacity: .45; pointer-events: none; }
.tk-btn svg, .tk-btn .tk-ico { width: 1.35em; height: 1.35em; flex: 0 0 auto; }
.tk-btn-sun { background: var(--sun); }
.tk-btn-go { background: var(--go); color: #fff; }
.tk-btn-sky { background: var(--sky); color: #fff; }
.tk-btn-tomato { background: var(--tomato); color: #fff; }
.tk-btn-grape { background: var(--grape); color: #fff; }
.tk-btn-pink { background: var(--pink); }
.tk-btn-orange { background: var(--orange); }
.tk-btn-teal { background: var(--teal); color: #fff; }
.tk-btn-soft { background: var(--sky-soft); }
.tk-btn-ghost { background: transparent; box-shadow: none; border-color: transparent; }
.tk-btn-ghost:active { transform: none; box-shadow: none; background: rgba(36, 38, 59, .06); }
.tk-btn-go, .tk-btn-sky, .tk-btn-tomato, .tk-btn-grape, .tk-btn-teal { text-shadow: 0 2px 0 rgba(36, 38, 59, .35); }
.tk-btn-big { font-size: 1.35rem; min-height: 3.6rem; padding: .5em 1.4em; border-radius: 20px; box-shadow: var(--shadow-lg); }
.tk-btn-big:active { transform: translateY(6px); }
.tk-btn-block { display: flex; width: 100%; }
/* a gentle "press me" wobble for the main action */
.tk-btn-call { animation: tk-call 2.4s ease-in-out infinite; }
@keyframes tk-call { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-3deg) scale(1.04); } 92% { transform: rotate(3deg) scale(1.04); } 96% { transform: rotate(-1deg); } }

/* round icon buttons (sound, music, home, replay …) */
.tk-icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: var(--tap); height: var(--tap); padding: 0;
  background: #fff; color: var(--ink); border: var(--line) solid var(--ink); border-radius: 50%; box-shadow: var(--shadow-sm);
  cursor: pointer; transition: transform .08s ease, box-shadow .08s ease, background-color .2s;
}
.tk-icon-btn svg { width: 58%; height: 58%; }
.tk-icon-btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.tk-icon-btn.tk-sq { border-radius: 14px; }
.tk-icon-btn.tk-sun { background: var(--sun); }
.tk-icon-btn.tk-go { background: var(--go); color: #fff; }
.tk-icon-btn.tk-sky { background: var(--sky-soft); }
.tk-icon-btn.tk-big { width: 3.6rem; height: 3.6rem; }
/* toggles: aria-pressed="false" crosses the icon out */
.tk-icon-btn[aria-pressed="false"], .tk-btn[aria-pressed="false"].tk-tgl { background: #ECEDF3; color: var(--ink-2); }
.tk-icon-btn[aria-pressed="false"]::after {
  content: ""; position: absolute; left: 18%; right: 18%; top: calc(50% - 2px); height: 4px; border-radius: 3px; background: var(--tomato); transform: rotate(-40deg);
}
/* speaker button pulses while Tika talks */
.tk-icon-btn.tk-speaking { background: var(--sun); animation: tk-speak 1s ease-in-out infinite; }
@keyframes tk-speak { 50% { box-shadow: 0 3px 0 var(--ink), 0 0 0 6px rgba(255, 197, 61, .45); } }

/* latinica / ćirilica switch */
.tk-script-switch { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 .75em; font-weight: 900; font-size: 1rem; background: #fff; border: var(--line) solid var(--ink); border-radius: 999px; box-shadow: var(--shadow-sm); cursor: pointer; }
.tk-script-switch:active { transform: translateY(3px); box-shadow: none; }
.tk-script-switch span { opacity: .38; transition: opacity .2s; }
.tk-script-switch .tk-sep { margin: 0 .3em; opacity: .3; }
html[data-script="lat"] .tk-script-switch .tk-lat, html:not([data-script]) .tk-script-switch .tk-lat, html[data-script="cyr"] .tk-script-switch .tk-cyr { opacity: 1; }

/* ================================================================ chips, cards, panels */
.tk-chip {
  display: inline-flex; align-items: center; gap: .35em; min-height: 2.2rem; padding: .2em .8em;
  font-weight: 900; font-size: .95rem; background: #fff; border: var(--line) solid var(--ink); border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap;
}
.tk-chip svg { width: 1.2em; height: 1.2em; }
.tk-chip-sun { background: var(--sun); } .tk-chip-go { background: var(--go-soft); } .tk-chip-sky { background: var(--sky-soft); }
.tk-chip-grape { background: var(--grape-soft); } .tk-chip-pink { background: var(--pink-soft); } .tk-chip-tomato { background: var(--tomato-soft); }
button.tk-chip { cursor: pointer; }
button.tk-chip[aria-pressed="true"], button.tk-chip[aria-checked="true"] { background: var(--sun); transform: translateY(-2px) rotate(-1.5deg); }

.tk-card {
  position: relative; background: #fff; border: var(--line) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1rem 1.1rem;
}
.tk-card-tilt-l { transform: rotate(-1deg); } .tk-card-tilt-r { transform: rotate(1deg); }
button.tk-card { font: inherit; text-align: left; cursor: pointer; transition: transform .1s ease, box-shadow .1s ease; }
button.tk-card:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.tk-card.tk-locked { background: #EEF0F6; color: var(--ink-3); }
.tk-panel { background: rgba(255, 255, 255, .78); border: var(--line) solid var(--ink); border-radius: var(--r-lg); }
.tk-tag { display: inline-block; padding: .05em .55em; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 900; font-size: .8rem; letter-spacing: .03em; }

/* ================================================================ speech bubble */
.tk-bubble {
  position: relative; background: #fff; color: var(--ink); border: var(--line) solid var(--ink); border-radius: 22px; box-shadow: var(--shadow);
  padding: .7rem 1rem; font-size: 1.08rem; font-weight: 800; line-height: 1.38;
}
.tk-bubble::after {
  content: ""; position: absolute; width: 18px; height: 18px; background: #fff;
  border-right: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink);
  transform: rotate(45deg); bottom: -11px; left: 50%; margin-left: -9px;
}
.tk-bubble.tk-tail-none::after { display: none; }
.tk-bubble.tk-tail-left::after { left: -11px; top: 50%; bottom: auto; margin: -9px 0 0; border: 0; border-left: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); }
.tk-bubble.tk-tail-right::after { left: auto; right: -11px; top: 50%; bottom: auto; margin: -9px 0 0; border: 0; border-right: var(--line) solid var(--ink); border-top: var(--line) solid var(--ink); }
.tk-bubble.tk-tail-top::after { top: -11px; bottom: auto; border: 0; border-left: var(--line) solid var(--ink); border-top: var(--line) solid var(--ink); }
.tk-bubble.tk-tail-bottom-left::after { left: 2.2rem; }
.tk-bubble [lang="en"], .tk-en { color: var(--sky); font-weight: 900; }
.tk-bubble b, .tk-bubble strong { color: var(--tomato); }

/* ================================================================ stars, progress, badges */
.tk-stars { display: inline-flex; align-items: flex-end; gap: .15em; }
.tk-stars svg { width: 1.6em; height: 1.6em; overflow: visible; }
.tk-stars .tk-star-off path { fill: #E7E3D6; }
.tk-stars.tk-stars-big svg { width: 2.8rem; height: 2.8rem; }
.tk-stars.tk-stars-big svg:nth-child(2) { transform: translateY(-.5rem) scale(1.15); }
.tk-star-in { animation: tk-star-in .5s var(--ease-pop) both; }
@keyframes tk-star-in { from { transform: scale(0) rotate(-60deg); opacity: 0; } to { opacity: 1; } }

.tk-progress { position: relative; height: 1.1rem; background: #fff; border: var(--line) solid var(--ink); border-radius: 999px; overflow: hidden; }
.tk-progress > i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--go); border-right: var(--line) solid var(--ink); border-radius: 999px; transition: width .5s var(--ease-pop); }
.tk-progress > i::after { content: ""; position: absolute; left: .5rem; right: .5rem; top: .18rem; height: .22rem; border-radius: 4px; background: rgba(255, 255, 255, .5); }
.tk-dots { display: inline-flex; gap: .35rem; align-items: center; }
.tk-dots > i { width: .9rem; height: .9rem; border-radius: 50%; border: var(--line) solid var(--ink); background: #fff; transition: background-color .25s, transform .25s var(--ease-pop); }
.tk-dots > i.done { background: var(--go); }
.tk-dots > i.now { background: var(--sun); transform: scale(1.3); }

.tk-badge {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 5.2rem; height: 5.2rem; border-radius: 50%; background: var(--sun); border: var(--line) solid var(--ink); box-shadow: var(--shadow);
  font-weight: 1000; text-align: center;
}
.tk-badge::before { content: ""; position: absolute; top: .35rem; right: .35rem; bottom: .35rem; left: .35rem; border-radius: 50%; border: 2px dashed rgba(36, 38, 59, .45); }
.tk-badge.tk-badge-off { background: #EEF0F6; color: var(--ink-3); filter: grayscale(1); }

/* ================================================================ modal */
.tk-modal-back {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 7000; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(36, 38, 59, .45); animation: tk-fade .2s ease both;
}
.tk-modal {
  position: relative; width: min(30rem, 100%); max-height: calc(100% - 1rem); overflow: auto;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r-lg); box-shadow: 0 8px 0 var(--ink);
  padding: 1.2rem 1.3rem 1.3rem; text-align: center; animation: tk-modal-in .32s var(--ease-pop) both;
}
.tk-modal h2, .tk-modal .tk-modal-title { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 1000; line-height: 1.15; }
.tk-modal p { margin: .3rem 0 .8rem; font-size: 1.08rem; }
.tk-modal .tk-modal-tika { width: 7.5rem; margin: -.5rem auto .2rem; }
.tk-modal .tk-modal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1rem; }
.tk-modal .tk-modal-x { position: absolute; right: .6rem; top: .6rem; }
.tk-modal-back.tk-out { animation: tk-fade-out .18s ease both; }
@keyframes tk-fade { from { opacity: 0; } }
@keyframes tk-fade-out { to { opacity: 0; } }
@keyframes tk-modal-in { from { opacity: 0; transform: translateY(24px) scale(.94); } }

/* ================================================================ toast */
.tk-toasts { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 7500; display: flex; flex-direction: column; align-items: center; gap: .5rem; pointer-events: none; width: max-content; max-width: calc(100vw - 2rem); }
.tk-toast {
  display: flex; align-items: center; gap: .5rem; padding: .55rem 1rem; font-weight: 900; font-size: 1.02rem;
  background: var(--ink); color: #fff; border-radius: 16px; box-shadow: 0 4px 0 rgba(36, 38, 59, .35);
  animation: tk-toast-in .3s var(--ease-pop) both;
}
.tk-toast.tk-toast-sun { background: var(--sun); color: var(--ink); border: var(--line) solid var(--ink); }
.tk-toast.tk-toast-go { background: var(--go); }
.tk-toast.tk-out { animation: tk-fade-out .25s ease both; }
@keyframes tk-toast-in { from { opacity: 0; transform: translateY(16px) scale(.9); } }

/* ================================================================ answers & tiles (common game pieces) */
.tk-tile {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--tap); min-height: var(--tap); padding: .3em .7em;
  font-weight: 1000; font-size: 1.5rem; line-height: 1; background: #fff; color: var(--ink);
  border: var(--line) solid var(--ink); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.tk-ok { background: var(--go-soft) !important; border-color: var(--go) !important; }
.tk-no { background: var(--tomato-soft) !important; }
.tk-hint-glow { animation: tk-hint 1s ease-in-out 3; }
@keyframes tk-hint { 50% { box-shadow: 0 3px 0 var(--ink), 0 0 0 7px rgba(255, 197, 61, .7); } }

/* ================================================================ drag & drop states (dnd.js) */
.tk-draggable { cursor: grab; touch-action: none; -webkit-user-drag: none; user-select: none; }
.tk-dnd-active, .tk-dnd-active * { cursor: grabbing !important; }
.tk-dragging { filter: drop-shadow(0 10px 6px rgba(36, 38, 59, .28)); }
.tk-selected { outline: 4px solid var(--sun) !important; outline-offset: 3px; animation: tk-selected 1s ease-in-out infinite; }
@keyframes tk-selected { 50% { outline-color: var(--orange); } }
.tk-dropzone { transition: background-color .2s, box-shadow .2s, filter .2s; }
.tk-drop-ok { box-shadow: 0 0 0 4px rgba(255, 197, 61, .55); }
.tk-dnd-selecting .tk-drop-ok { cursor: pointer; }
/* no transform here: the dragged item may live inside this zone and must stay under the finger */
.tk-drop-over { box-shadow: 0 0 0 6px var(--sun), 0 0 0 11px rgba(255, 197, 61, .35); filter: brightness(1.04); }
.tk-reject { animation: tk-reject .42s ease; }
@keyframes tk-reject { 20% { rotate: -7deg; } 45% { rotate: 6deg; } 70% { rotate: -3deg; } 100% { rotate: 0deg; } }
.tk-dropped { animation: tk-dropped .45s var(--ease-pop); }
@keyframes tk-dropped { 0% { scale: 1.12; } 100% { scale: 1; } }

/* ================================================================ helpers */
.tk-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tk-outline-text { color: #fff; text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 7px 0 var(--ink); }
.tk-pop-in { animation: tk-pop-in .45s var(--ease-pop) both; }
@keyframes tk-pop-in { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.tk-float { animation: tk-float 4s ease-in-out infinite; }
@keyframes tk-float { 50% { transform: translateY(-8px); } }

/* very short screens (phones in landscape) */
@media (max-height: 460px) {
  :root { --tap: 2.75rem; }
  .tk-topbar { padding-top: .3rem; padding-bottom: .2rem; min-height: calc(var(--tap) + .5rem); }
  .tk-bubble { font-size: 1rem; padding: .5rem .8rem; }
}

/* ================================================================ calm motion */
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) .tk-btn-call, html:not([data-motion="full"]) .tk-float, html:not([data-motion="full"]) .tk-selected,
  html:not([data-motion="full"]) .tk-icon-btn.tk-speaking, html:not([data-motion="full"]) .tk-reject, html:not([data-motion="full"]) .tk-dropped,
  html:not([data-motion="full"]) .tk-hint-glow { animation: none !important; }
  html:not([data-motion="full"]) .tk-modal, html:not([data-motion="full"]) .tk-toast, html:not([data-motion="full"]) .tk-pop-in { animation-duration: .01s !important; }
}
html[data-motion="reduce"] .tk-btn-call, html[data-motion="reduce"] .tk-float, html[data-motion="reduce"] .tk-selected,
html[data-motion="reduce"] .tk-icon-btn.tk-speaking, html[data-motion="reduce"] .tk-reject, html[data-motion="reduce"] .tk-dropped,
html[data-motion="reduce"] .tk-hint-glow { animation: none !important; }
html[data-motion="reduce"] .tk-modal, html[data-motion="reduce"] .tk-toast, html[data-motion="reduce"] .tk-pop-in { animation-duration: .01s !important; }
