/* Baloo 2, bundled so the game (and the Android app) works without internet; licence in fonts/OFL.txt.
   One variable font per subset (weights 400–800); the browser fetches latin-ext only for č, ć, đ, š, ž. */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/baloo2-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/baloo2-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;
}
/* Baloo 2 has no Cyrillic, so Russian and Ukrainian letters come from rounded Nunito (next in --font; licence in
   fonts/OFL-Nunito.txt). Only its Cyrillic subset is bundled, fetched only when such a letter is on screen. */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  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;
}

/* Zvezdica — šareno, veliko, okruglo. Everything is sized in vh/vw so it
   fills a laptop, a TV or a tablet the same way. */

:root {
  --ink: #2B2D42;
  --ink-soft: #5E6280;
  --paper: #FFFFFF;
  --accent: #FF4FA0;
  --hud-h: clamp(56px, 11vh, 110px);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  /* Baloo 2 has every Serbian letter; Fredoka had no č, ć or đ, so those showed in another font */
  --font: 'Baloo 2', 'Nunito', 'Comic Sans MS', 'Chalkboard SE', 'Segoe UI', system-ui, sans-serif;
  --emoji: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Twemoji Mozilla', sans-serif;
  --shadow: 0 1.1vh 0 rgba(43, 45, 66, .13), 0 2.2vh 4vh rgba(43, 45, 66, .14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  background: #A9E4FF;
  color: var(--ink);
  font-family: var(--font);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  overscroll-behavior: none;
}

#app { position: fixed; inset: 0; }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }

.screen { position: absolute; inset: 0; overflow: hidden; }

svg.art { width: 100%; height: 100%; overflow: visible; display: block; }

/* ---------------- backgrounds ---------------- */

.scenery { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.scenery-sky { background: linear-gradient(#52C2FF 0%, #A6E3FF 58%, #E4F8FF 100%); }
.scenery-meadow { background: linear-gradient(#6FD0FF 0%, #B9EAFF 55%, #EFFFE4 100%); }
.scenery-rainbow {
  background:
    radial-gradient(circle at 15% 20%, #FFD9EC 0, transparent 42%),
    radial-gradient(circle at 85% 25%, #D6EEFF 0, transparent 45%),
    radial-gradient(circle at 60% 90%, #FFF2C2 0, transparent 45%),
    linear-gradient(#FFF3FA, #EEF7FF);
}
.scenery-candy {
  background:
    radial-gradient(circle at 80% 15%, #FFE1F4 0, transparent 40%),
    radial-gradient(circle at 10% 85%, #D7FFF0 0, transparent 45%),
    linear-gradient(135deg, #EFE6FF, #E2FBF3);
}
.scenery-studio {
  background-color: #FFF7E8;
  background-image: radial-gradient(#F1D9B3 1.6px, transparent 1.8px);
  background-size: 3.2vh 3.2vh;
}
.scenery-party { background: radial-gradient(circle at 50% 45%, #FFF6BF 0, #FFC2DF 55%, #C8AFFF 100%); }

.cloud {
  position: absolute;
  top: var(--top);
  left: 0;
  width: var(--w);
  opacity: var(--o, .95);
  animation: drift var(--dur) linear infinite;
  animation-delay: var(--delay);
  filter: drop-shadow(0 .8vh 0 rgba(255, 255, 255, .35));
}
.cloud svg { width: 100%; display: block; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(115vw); } }

.sun { position: absolute; right: 3vw; top: 2vh; width: min(22vh, 17vw); aspect-ratio: 1; }
.sun svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun-rays { animation: spin 40s linear infinite; }
.sun-face { animation: sunBob 4s ease-in-out infinite; }
@keyframes sunBob { 50% { transform: translateY(-3%) rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 30vh; }
.flowers { position: absolute; inset: 0; }
.flower { position: absolute; width: var(--s); height: var(--s); animation: sway 3s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes sway { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }

.rainbow { position: absolute; left: 50%; bottom: 8vh; width: min(120vh, 96vw); transform: translateX(-50%); opacity: .55; }

.floater {
  position: absolute;
  bottom: -12vh;
  width: var(--s);
  height: var(--s);
  animation: rise var(--dur) linear infinite;
  animation-delay: var(--delay);
}
@keyframes rise {
  from { transform: translateY(0) rotate(0); }
  to { transform: translateY(-125vh) rotate(var(--spin)); }
}

.scribble { position: absolute; width: min(40vh, 32vw); }

.rays {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 250vmax;
  height: 250vmax;
  margin: -125vmax 0 0 -125vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .28) 0 10deg, transparent 10deg 20deg);
  animation: spin 50s linear infinite;
}

/* ---------------- top bar ---------------- */

#hud-root { position: fixed; inset: 0 0 auto 0; z-index: 20; pointer-events: none; }
.hud {
  height: var(--hud-h);
  padding: 0 2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity .3s;
}
.hud.hidden { opacity: 0; visibility: hidden; }
.hud-left, .hud-right { display: flex; align-items: center; gap: 1.6vh; pointer-events: auto; }
.hud-btn {
  position: relative;
  width: calc(var(--hud-h) * .66);
  height: calc(var(--hud-h) * .66);
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  color: var(--ink-soft);
  box-shadow: 0 .5vh 0 rgba(43, 45, 66, .15);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s var(--pop), background .2s;
}
.hud-btn > svg:first-child { width: 55%; height: 55%; }
.hud-btn.holding { transform: scale(1.12); background: #fff; }
.lock-badge { display: none; position: absolute; right: -10%; bottom: -10%; width: 42%; height: 42%; pointer-events: none; }
.hud-btn.locked .lock-badge { display: block; }
.lang-code { font-size: calc(var(--hud-h) * .27); font-weight: 800; line-height: 1; letter-spacing: .02em; }
.hold-ring { position: absolute; inset: -12%; width: 124%; height: 124%; transform: rotate(-90deg); pointer-events: none; }
.hold-ring circle { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
/* a short tap on a button that wants holding: what it does, in a bubble under it (2.13.1) */
.hold-tip {
  position: fixed;
  z-index: 40;
  max-width: min(60vw, 70vh);
  padding: 1.3vh 2.4vh 1.1vh;
  border-radius: 2.4vh;
  background: #fff;
  color: var(--ink);
  font-size: calc(var(--hud-h) * .3);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 .8vh 2.6vh rgba(43, 45, 66, .25);
  pointer-events: none;
  animation: hold-tip-in .25s var(--pop) both;
}
.hold-tip::before { content: ''; position: absolute; top: -1vh; width: 2vh; height: 2vh; background: #fff; border-radius: .4vh; transform: rotate(45deg); }
.hold-tip.at-right::before { right: calc(var(--ax) - 1vh); }
.hold-tip.at-left::before { left: calc(var(--ax) - 1vh); }
.hold-tip.out { animation: hold-tip-out .3s ease both; }
@keyframes hold-tip-in { from { opacity: 0; transform: translateY(-1vh) scale(.9); } }
@keyframes hold-tip-out { to { opacity: 0; transform: translateY(-.6vh); } }

.slots { display: flex; gap: .9vh; }
.slot { width: calc(var(--hud-h) * .6); height: calc(var(--hud-h) * .6); }
.slot .star-icon { width: 100%; height: 100%; filter: grayscale(1) brightness(1.7) opacity(.55); transition: filter .3s; }
.slot.full .star-icon { filter: drop-shadow(0 0 .8vh rgba(255, 210, 63, .9)); }

.level-pill {
  padding: .5vh 1.6vh;
  border-radius: 99px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 .5vh 0 rgba(43, 45, 66, .15);
  font-size: calc(var(--hud-h) * .3);
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.total {
  display: flex;
  align-items: center;
  gap: .8vh;
  padding: .6vh 1.8vh .6vh 1vh;
  border-radius: 99px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 .5vh 0 rgba(43, 45, 66, .15);
  font-size: calc(var(--hud-h) * .36);
}
.total .star-icon { width: calc(var(--hud-h) * .5); height: calc(var(--hud-h) * .5); }
/* the child playing (2.7): its picture at the front of its stars, in a ring of its own colour */
.total { padding-left: .5vh; }
.total .kid-btn { width: calc(var(--hud-h) * .56); height: calc(var(--hud-h) * .56); background: transparent; box-shadow: none; }
.kid-face { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #fff; border: max(2px, .28vh) solid #fff; box-shadow: 0 0 0 max(2px, .28vh) var(--kid, #2F86FF); }
.kid-face svg, .kid-pic svg { display: block; width: 100%; height: 100%; }
.star-icon.flyer { position: fixed; z-index: 35; pointer-events: none; filter: drop-shadow(0 0 1.2vh rgba(255, 210, 63, .9)); }

/* ---------------- mascot ---------------- */

.mascot { position: relative; width: 100%; height: 100%; }
.mascot svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 1vh 0 rgba(43, 45, 66, .12)); }
.m-bubble {
  position: absolute;
  left: 86%;
  bottom: 66%;
  width: max-content;
  max-width: min(24vw, 44vh);
  padding: .7em 1em;
  border-radius: 1.2em;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 .6vh 0 rgba(43, 45, 66, .12), 0 1vh 3vh rgba(43, 45, 66, .12);
  font-size: clamp(14px, 2.5vh, 30px);
  font-weight: 600;
  line-height: 1.2;
  transform: scale(0);
  transform-origin: 0 100%;
  transition: transform .25s var(--pop);
  z-index: 2;
}
.m-bubble::after {
  content: '';
  position: absolute;
  left: -.5em;
  bottom: .5em;
  border: .45em solid transparent;
  border-right: .7em solid #fff;
  border-left: 0;
}
.m-bubble.show { transform: scale(1); }

.dock { position: absolute; left: 1.5vw; bottom: 1.5vh; width: min(19vh, 15vw); height: min(19vh, 15vw); z-index: 3; }

/* ---------------- title ---------------- */

.title .logo {
  position: absolute;
  top: 7vh;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: min(17vh, 14vw);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}
.logo span, .bravo span {
  display: inline-block;
  color: var(--c);
  -webkit-text-stroke: .07em #fff;
  paint-order: stroke fill;
  text-shadow: 0 .07em 0 rgba(43, 45, 66, .22);
  animation: wave 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 110ms);
}
@keyframes wave { 50% { transform: translateY(-12%) rotate(-4deg); } }
.title-mascot { position: absolute; left: 50%; top: 30vh; width: min(38vh, 34vw); height: min(38vh, 34vw); transform: translateX(-50%); }
.play-btn {
  position: absolute;
  left: 50%;
  bottom: 12vh;
  width: min(17vh, 16vw);
  height: min(17vh, 16vw);
  margin-left: calc(min(17vh, 16vw) / -2);
  cursor: pointer;
  filter: drop-shadow(0 1vh 0 rgba(20, 110, 50, .35));
  animation: pulse 1.3s ease-in-out infinite;
}
.play-btn svg { width: 100%; height: 100%; }
@keyframes pulse { 50% { transform: scale(1.09); } }
.tap-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4vh;
  margin: 0;
  text-align: center;
  font-size: clamp(14px, 2.6vh, 28px);
  font-weight: 600;
  color: rgba(43, 45, 66, .6);
}

/* ---------------- cross layout (menu + tasks) ---------------- */

.cross {
  position: absolute;
  inset: var(--hud-h) 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  place-items: center;
  z-index: 2;
}
.cross.n2 { grid-template-areas: "left center right"; grid-template-rows: 1fr; --card: min(40vh, 26vw); --target: min(34vh, 24vw); }
.cross.n3 { grid-template-areas: ". up ." "left center right"; grid-template-rows: 1fr 1fr; --card: min(32vh, 24vw); --target: min(29vh, 21vw); }
.cross.n4 { grid-template-areas: ". up ." "left center right" ". down ."; grid-template-rows: 1fr 1fr 1fr; --card: min(24vh, 22vw); --target: min(23vh, 20vw); }
.cross.n3 { padding-bottom: 12vh; }
[data-dir="up"] { grid-area: up; }
[data-dir="down"] { grid-area: down; }
[data-dir="left"] { grid-area: left; }
[data-dir="right"] { grid-area: right; }
.target, .menu-center { grid-area: center; }

.card {
  position: relative;
  width: var(--card);
  height: var(--card);
  border-radius: 24%;
  background: var(--paper);
  border: max(4px, .55vh) solid #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .25s var(--pop), opacity .35s, filter .35s, background-color .35s, border-color .35s;
}
.card .item, .target .item { width: 80%; height: 80%; display: grid; place-items: center; }
/* A card the child already tried: smaller and crossed out, but in its own colours. Faded or gray it looked like
   another colour in the colour questions (a blue dog that turned gray looked like a gray dog, a right one). */
.card.out { transform: scale(.82); background: #E9ECF3; border-color: #DDE1EA; box-shadow: none; }
.card.out::after {
  content: '';
  position: absolute;
  inset: 20%;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M16 16L84 84M84 16L16 84' stroke='%23fff' stroke-width='18'/%3E%3Cpath d='M16 16L84 84M84 16L16 84' stroke='%237A8098' stroke-opacity='.9' stroke-width='9'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.card.win { z-index: 5; box-shadow: 0 0 0 .8vh #FFE45C, 0 0 6vh 1vh rgba(255, 220, 90, .85), var(--shadow); }
.card.hint { animation: hint 1s ease-in-out infinite; }
@keyframes hint {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 214, 10, .0), var(--shadow); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 1.2vh rgba(255, 214, 10, .75), var(--shadow); }
}

.badge {
  position: absolute;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  background: var(--accent);
  border: max(3px, .45vh) solid #fff;
  box-shadow: 0 .45vh 0 rgba(43, 45, 66, .18);
  display: grid;
  place-items: center;
}
.badge .chev { width: 64%; height: 64%; }
[data-dir="up"] .badge { top: -12.5%; left: 37.5%; }
[data-dir="up"] .chev { transform: rotate(-90deg); }
[data-dir="down"] .badge { bottom: -12.5%; left: 37.5%; }
[data-dir="down"] .chev { transform: rotate(90deg); }
[data-dir="left"] .badge { left: -12.5%; top: 37.5%; }
[data-dir="left"] .chev { transform: rotate(180deg); }
[data-dir="right"] .badge { right: -12.5%; top: 37.5%; }

.target { position: relative; width: var(--target); height: var(--target); display: grid; place-items: center; cursor: pointer; }
.target::before {
  content: '';
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 58%, rgba(255, 255, 255, 0) 71%);
}
.target-ring {
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  border: max(3px, .5vh) dashed rgba(255, 255, 255, .95);
  animation: spin 16s linear infinite;
}
.target .item { position: relative; }
/* A picture in the middle sits in an empty place shaped like a card, smaller than on the cards: it is what to look
   for, not one more card (small children tapped a middle zebra as often as the cards). The right card lands in it. */
.target.slot::before { inset: 4%; border-radius: 24%; background: rgba(255, 255, 255, .5); border: max(4px, .6vh) dashed rgba(255, 255, 255, .98); transition: opacity .3s; }
.target.slot .target-ring { display: none; }
.target.slot > .item { width: 66%; height: 66%; }
.target.slot.filled::before { opacity: 0; }

.emoji {
  font-family: var(--emoji);
  font-size: calc(var(--card) * .6);
  line-height: 1;
  filter: drop-shadow(0 .6vh 0 rgba(43, 45, 66, .14));
}
.target .emoji { font-size: calc(var(--target) * .62); }
.emoji.silhouette { filter: brightness(0) opacity(.8); }
/* animals: finished coloring-book drawings (pictures/render.js) */
.item img.pic { width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.item img.pic.silhouette { opacity: .9; }
/* colours: "crvena + žuta = ?" in the middle; the two buddies merge into the answer */
.mix { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.mix svg.art { flex: none; width: 47%; height: 47%; }
.mix-plus { flex: none; width: 8%; text-align: center; font-size: calc(var(--target) * .17); font-weight: 700; line-height: 1; color: var(--ink); }
/* shapes: the train of shapes sits on top across the whole width, its cards on the bottom row */
.cross.wide { grid-template-areas: "center center center" "left down right"; grid-template-rows: 1fr 1fr; --card: min(27vh, 20vw); }
.cross.wide.n2 { grid-template-areas: "center center center" "left . right"; }
.cross.wide.n3 { padding-bottom: 4vh; }
.target.wide { width: min(86vw, 120vh); height: auto; }
.target.wide::before { inset: -12% -3%; border-radius: 999px; background: rgba(255, 255, 255, .9); }
.target.wide .target-ring { display: none; }
.target.wide .item { width: 100%; height: auto; }
.train { width: 100%; }
.train svg.art { width: 100%; height: auto; }
/* groups that grow on their own: a new wagon, the shapes being counted */
.train .wagon, svg.count .spot { transform-box: fill-box; transform-origin: center; }

.ask { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.ask-bubble { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 .8vh 0 rgba(43, 45, 66, .12)); }
.ask-q {
  position: relative;
  margin-top: -12%;
  font-size: calc(var(--target) * .5);
  font-weight: 700;
  color: var(--accent);
  animation: qBounce 1.4s var(--pop) infinite;
}
@keyframes qBounce { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-10%) rotate(-8deg); } 70% { transform: translateY(2%) rotate(5deg); } }
.ask-ear { position: absolute; right: 12%; top: 16%; width: 22%; color: var(--accent); animation: pulse 1s ease-in-out infinite; }
/* a hint instead of the question mark: 🌊 "who lives in the sea?", ☁️ "who flies?" */
.ask-q.ask-icon { font-family: var(--emoji); font-weight: 400; font-size: calc(var(--target) * .36); line-height: 1; margin-top: -14%; }

.blob-eyes { animation: blink 4.5s infinite; transform-origin: 50px 56px; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }

/* ---------------- menu ---------------- */

.menu-cross { inset: 1.5vh 0 1.5vh 0; --disc: min(23vh, 19vw); }
.menu-center { width: min(28vh, 22vw); height: min(28vh, 22vw); }
.world { display: grid; justify-items: center; gap: .6vh; cursor: pointer; }
.world-disc {
  position: relative;
  width: var(--disc);
  height: var(--disc);
  border-radius: 50%;
  background: #fff;
  border: max(5px, .9vh) solid var(--accent);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  animation: bob 3.2s ease-in-out infinite;
}
.world:nth-child(3) .world-disc { animation-delay: -.8s; }
.world:nth-child(4) .world-disc { animation-delay: -1.6s; }
.world:nth-child(5) .world-disc { animation-delay: -2.4s; }
@keyframes bob { 50% { transform: translateY(-4%) rotate(2deg); } }
.world-disc .badge { width: 24%; height: 24%; }
.world[data-dir="up"] .world-disc .badge { top: -10%; }
.world[data-dir="down"] .world-disc .badge { bottom: -10%; }
.world[data-dir="left"] .world-disc .badge { left: -10%; }
.world[data-dir="right"] .world-disc .badge { right: -10%; }
.world-label {
  display: flex;
  align-items: baseline;
  gap: .8vh;
  padding: .3vh 1.8vh;
  border-radius: 99px;
  background: rgba(255, 255, 255, .85);
  font-size: min(3.2vh, 2.6vw);
  font-weight: 700;
  color: var(--ink);
}
.world-label small { font-size: .7em; color: #E59400; }
.world-icon { position: relative; width: 72%; height: 72%; }
.world-icon > * { position: absolute; }
.icon-colors > :nth-child(1), .icon-shapes > :nth-child(1) { width: 56%; height: 56%; left: 0; top: 30%; transform: rotate(-12deg); }
.icon-colors > :nth-child(2), .icon-shapes > :nth-child(2) { width: 56%; height: 56%; left: 22%; top: 0; }
.icon-colors > :nth-child(3), .icon-shapes > :nth-child(3) { width: 56%; height: 56%; left: 44%; top: 32%; transform: rotate(12deg); }
.world-icon .emoji { font-size: calc(var(--disc) * .44); }
.icon-paint > :nth-child(1) { left: 2%; top: 12%; }
.icon-paint > :nth-child(2) { right: 0; bottom: 0; font-size: calc(var(--disc) * .3); transform: rotate(10deg); }
.icon-animals > .pic { pointer-events: none; }
.icon-animals > :nth-child(1) { width: 70%; height: 70%; left: -6%; top: -2%; transform: rotate(-8deg); }
.icon-animals > :nth-child(2) { width: 62%; height: 62%; right: -8%; bottom: -6%; transform: rotate(9deg); }

/* ---------------- "Ko se igra?" (2.7) ---------------- */

.who-cross { inset: 1.5vh 0 1.5vh 0; --disc: min(24vh, 19vw); }
.who-cross.n2 { --disc: min(36vh, 24vw); }
.who-cross.n3 { --disc: min(30vh, 21vw); padding-bottom: 4vh; }
.kid { display: grid; justify-items: center; gap: .8vh; cursor: pointer; }
.kid-disc {
  position: relative;
  width: var(--disc);
  height: var(--disc);
  padding: max(3px, .5vh);
  border-radius: 50%;
  background: #fff;
  border: max(5px, .9vh) solid var(--kid);
  box-shadow: var(--shadow);
  animation: bob 3.2s ease-in-out infinite;
}
.kid:nth-child(3) .kid-disc { animation-delay: -.8s; }
.kid:nth-child(4) .kid-disc { animation-delay: -1.6s; }
.kid:nth-child(5) .kid-disc { animation-delay: -2.4s; }
.kid-pic { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.kid-disc .badge { width: 24%; height: 24%; background: var(--kid); }
.kid[data-dir="up"] .kid-disc .badge { top: -10%; }
.kid[data-dir="down"] .kid-disc .badge { bottom: -10%; }
.kid[data-dir="left"] .kid-disc .badge { left: -10%; }
.kid[data-dir="right"] .kid-disc .badge { right: -10%; }
/* the child who played last glows softly */
.kid.last .kid-disc { animation: bob 3.2s ease-in-out infinite, kidGlow 1.8s ease-in-out infinite; }
@keyframes kidGlow {
  0%, 100% { box-shadow: 0 0 0 .7vh rgba(255, 228, 92, .85), 0 0 3vh .8vh rgba(255, 220, 90, .55), var(--shadow); }
  50% { box-shadow: 0 0 0 1.3vh rgba(255, 228, 92, .95), 0 0 6vh 2vh rgba(255, 220, 90, .85), var(--shadow); }
}
.kid-name {
  max-width: calc(var(--disc) * 1.5);
  padding: .3vh 1.8vh;
  border-radius: 99px;
  background: rgba(255, 255, 255, .88);
  font-size: min(3vh, 2.4vw);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.who .m-bubble { font-size: clamp(14px, 2.8vh, 32px); }
/* picked, waiting for a grown-up to confirm (2.7.1, "Samo roditelj") */
.kid.picked { transform: scale(1.08); transition: transform .25s var(--pop); }
.kid.picked .kid-disc { animation: none; box-shadow: 0 0 0 1vh #fff, 0 0 0 1.8vh var(--kid), var(--shadow); }
@media (prefers-reduced-motion: reduce) {
  .kid-disc, .kid.last .kid-disc { animation: none; }
  .kid.last .kid-disc { box-shadow: 0 0 0 1vh rgba(255, 228, 92, .9), 0 0 4vh 1.2vh rgba(255, 220, 90, .7), var(--shadow); }
}

/* ---------------- paint ---------------- */

.screen.paint, .screen.paint * { cursor: none; }
.paint-stage { position: absolute; z-index: 2; }
.paint-canvas { width: 100%; height: 100%; display: block; }
.paint-stage.alive-bounce { animation: aliveBounce .9s var(--pop) 2; }
.paint-stage.alive-beat { animation: aliveBeat .6s ease-in-out 4; }
.paint-stage.alive-spin { animation: aliveSpin 1.4s var(--pop) 1; }
.paint-stage.alive-float { animation: aliveFloat 1.6s ease-in-out 2; }
.paint-stage.alive-swim { animation: aliveSwim .8s ease-in-out 3; }
.paint-stage.alive-sway { animation: aliveSway .9s ease-in-out 3; }
.paint-stage.alive-drive { animation: aliveDrive 1.6s ease-in-out 1; }
.paint-stage.alive-flap { animation: aliveFlap .35s ease-in-out 8; }
@keyframes aliveBounce { 30% { transform: translateY(-8%) scale(1.06, .96); } 60% { transform: translateY(0) scale(.96, 1.05); } }
@keyframes aliveBeat { 30% { transform: scale(1.12); } 60% { transform: scale(.98); } }
@keyframes aliveSpin { to { transform: rotate(360deg); } }
@keyframes aliveFloat { 50% { transform: translateY(-9%) rotate(-4deg); } }
@keyframes aliveSwim { 25% { transform: translateX(-5%) rotate(-6deg); } 75% { transform: translateX(5%) rotate(6deg); } }
@keyframes aliveSway { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes aliveDrive { 30% { transform: translateX(10%) rotate(-2deg); } 70% { transform: translateX(-6%) rotate(1deg); } }
@keyframes aliveFlap { 50% { transform: scaleX(.72); } }

.palette {
  --pal: 1;         /* size of the whole palette (bigger on phones, see below) */
  --pal-lift: 0px;  /* extra distance from the bottom edge */
  position: absolute;
  left: 50%;
  bottom: calc(2.4vh + var(--pal-lift) + env(safe-area-inset-bottom, 0px));
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: calc(1.5vh * var(--pal));
  padding: calc(1.2vh * var(--pal)) calc(2vh * var(--pal));
  border-radius: 99px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}
.swatch {
  width: calc(6.2vh * var(--pal));
  height: calc(6.2vh * var(--pal));
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55) 0 14%, transparent 16%), var(--c);
  border: .5vh solid #fff;
  box-shadow: 0 .5vh 0 rgba(43, 45, 66, .16);
  transition: transform .25s var(--pop), box-shadow .25s;
}
.swatch.on { transform: translateY(-1.2vh) scale(1.38); box-shadow: 0 0 0 .5vh var(--c), 0 1vh 0 rgba(43, 45, 66, .16); }
/* "this one!" — the asked-for colour after the picture was painted in another */
.swatch.want { animation: want 0.9s ease-in-out infinite; }
.swatch.want.on { animation: none; }
@keyframes want {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(255, 214, 10, 0), 0 .5vh 0 rgba(43, 45, 66, .16); }
  50% { transform: translateY(-1.6vh) scale(1.3); box-shadow: 0 0 0 1vh rgba(255, 214, 10, .85), 0 .5vh 0 rgba(43, 45, 66, .16); }
}
.palette.many { gap: calc(1.1vh * var(--pal)); }
.palette.many .swatch { width: calc(min(5.4vh, 6.4vw) * var(--pal)); height: calc(min(5.4vh, 6.4vw) * var(--pal)); }
.pal-arrow { width: calc(3.4vh * var(--pal)); height: calc(3.4vh * var(--pal)); opacity: .5; background: var(--ink); clip-path: polygon(25% 10%, 85% 50%, 25% 90%); }
/* Phones on their side: the same palette ends up small under a child's finger and tight on the
   bottom edge, so it is 15% bigger and 12px higher there. Desktop stays as it is. */
@media (pointer: coarse) and (max-height: 600px) {
  .palette { --pal: 1.15; --pal-lift: 12px; }
}
.pal-arrow.left { transform: scaleX(-1); }

.brush-cursor, .ghost-brush {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 25;
  pointer-events: none;
}
.brush-cursor::before, .ghost-brush::before {
  content: '';
  position: absolute;
  width: var(--bw, 40px);
  height: var(--bw, 40px);
  left: calc(var(--bw, 40px) / -2);
  top: calc(var(--bw, 40px) / -2);
  border-radius: 50%;
  background: var(--c);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(43, 45, 66, .3), 0 6px 14px rgba(43, 45, 66, .25);
  transition: width .2s, height .2s, left .2s, top .2s, background .2s;
}
.brush-cursor.gone { opacity: 0; }
.ghost-brush { opacity: .7; --bw: 7vh; }
.ghost-brush::after { content: '👆'; position: absolute; left: 1vh; top: 1vh; font-family: var(--emoji); font-size: 6vh; }

.paint .m-bubble { left: 18%; bottom: 102%; transform-origin: 0 100%; }
.paint .m-bubble::after { left: 1.2em; bottom: -.9em; border: .5em solid transparent; border-top: .6em solid #fff; border-bottom: 0; }

/* ---------------- celebrate + balloons ---------------- */

.bravo {
  position: absolute;
  top: 9vh;
  left: 0;
  right: 0;
  text-align: center;
  font-size: min(22vh, 17vw);
  font-weight: 700;
  line-height: 1;
}
.bravo span { animation: letterIn .7s var(--pop) both, wave 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms), calc(.7s + var(--i) * 120ms); }
@keyframes letterIn { from { transform: translateY(-60vh) rotate(-30deg); opacity: 0; } }
.big-stars { position: absolute; top: 42vh; left: 0; right: 0; display: flex; justify-content: center; gap: 2vh; }
.star-icon.big { width: min(15vh, 13vw); height: min(15vh, 13vw); opacity: 0; filter: drop-shadow(0 0 2vh rgba(255, 214, 10, .8)); }
.star-icon.big.in { opacity: 1; }
.celebrate-mascot { position: absolute; left: 50%; bottom: 3vh; width: min(26vh, 22vw); height: min(26vh, 22vw); transform: translateX(-50%); }
.celebrate-mascot .m-bubble { left: 92%; bottom: 55%; }

.balloon-field { position: absolute; inset: 0; z-index: 2; }
.balloon { position: absolute; left: 0; top: 0; overflow: visible; will-change: transform; filter: drop-shadow(0 1vh 1.5vh rgba(43, 45, 66, .18)); cursor: pointer; }

/* ---------------- parents' corner ---------------- */

.parent {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(43, 45, 66, .45);
  touch-action: auto;
  user-select: auto;
}
.parent .sheet {
  width: min(560px, 92vw);
  max-height: 92vh;
  overflow: auto;
  padding: 20px 26px 22px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  font-size: 18px;
}
.parent header { display: flex; align-items: center; justify-content: space-between; }
.parent h2 { margin: 0; font-size: 26px; }
.parent h3 { margin: 14px 0 4px; font-size: 16px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.parent section { border-top: 1px solid #EEF0F6; padding: 8px 0; }
.parent .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; }
.parent .row small { color: #E59400; margin-left: 6px; }
.parent input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.parent .switch { position: relative; width: 52px; height: 30px; border-radius: 99px; background: #D5D9E6; transition: background .2s; flex: none; }
.parent .switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s; }
.parent input:checked + .switch { background: #2FC760; }
.parent input:checked + .switch::after { transform: translateX(22px); }
.parent input:focus-visible + .switch { outline: 3px solid #2F86FF; outline-offset: 2px; }
.parent input[type="range"] { width: 55%; accent-color: #FF4FA0; }
.parent .stepper { display: flex; align-items: center; gap: 10px; }
.parent .stepper b { min-width: 58px; text-align: center; }
.parent button { font: inherit; cursor: pointer; }
.parent .stepper button, .parent .close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #EEF0F6;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}
.parent .close { font-size: 28px; }
.parent .actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 14px; }
.parent .btn { border: 0; border-radius: 99px; padding: 10px 18px; background: #EEF0F6; color: var(--ink); font-weight: 600; }
.parent .btn.danger { background: #FFE3E3; color: #B42318; }
.parent .btn.primary { background: #2FC760; color: #fff; }
.parent .buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0; }
.parent .full p { margin: 4px 0 8px; line-height: 1.45; }
/* the parent gate: a sum written in words, four big answers; on "Ko se igra?" also the child to let play */
.parent.gate .gate-kid { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 0; }
.parent.gate .gate-kid .kid-pic { width: 64px; height: 64px; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--kid); }
.parent.gate .gate-kid b { font-size: 24px; }
.parent.gate .sheet { max-width: 460px; text-align: center; }
.parent.gate p { margin: 10px 0 4px; line-height: 1.4; }
.parent.gate .question { font-size: 28px; font-weight: 700; margin: 6px 0 14px; }
.parent.gate .answers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.parent.gate .answers .btn { font-size: 24px; padding: 14px 0; }
.parent .help { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.parent .ages { display: flex; gap: 8px; margin: 6px 0; }
.parent .ages button { flex: 1; border: 2px solid #E3E6EF; border-radius: 14px; padding: 10px 6px; background: #fff; font-weight: 600; color: var(--ink); }
.parent .ages button.on { border-color: #2FC760; background: #EAFBEF; }
/* The parents' corner (2.6): wide, for a screen held sideways, with tabs on the side. Only a tab's content scrolls,
   with a thin bar inside the box. */
.parent.corner .sheet {
  width: min(880px, 94vw);
  height: min(580px, 92vh);
  max-height: none;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(150px, 22%) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr); /* the sheet's height holds: a long tab scrolls inside instead of growing it */
  font-size: 17px;
}
.parent.corner .rail { background: #F4F5FA; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.parent.corner .rail h2 { margin: 0 8px 12px; font-size: 22px; line-height: 1.1; cursor: default; }
.parent.corner .tab { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; border-radius: 14px; padding: 9px 12px; color: var(--ink-soft); font-weight: 700; text-align: left; }
.parent.corner .tab svg { width: 22px; height: 22px; flex: none; }
.parent.corner .tab.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(43, 45, 66, .08); }
.parent.corner .tab.on svg { color: #2FC760; }
.parent.corner .tab:focus-visible { outline: 3px solid #2F86FF; outline-offset: 1px; }
.parent.corner .main { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; }
.parent.corner header { padding: 16px 18px 6px 24px; gap: 12px; }
.parent.corner .tab-title { margin: 0; font-size: 24px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.parent.corner .body { overflow: auto; padding: 4px 24px 20px; scrollbar-width: thin; scrollbar-color: #D5D9E6 transparent; }
.parent.corner .body::-webkit-scrollbar { width: 6px; }
.parent.corner .body::-webkit-scrollbar-thumb { background: #D5D9E6; border-radius: 6px; }
.parent.corner .panel { display: none; border: 0; padding: 0; }
.parent.corner .panel.on { display: block; }
.parent.corner h4 { margin: 12px 0 6px; font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.parent.corner .panel > h4:first-child { margin-top: 2px; }
.parent.corner .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; }
.parent.corner .langs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 2px 0; }
.parent.corner .progress { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.parent.corner .game { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #F6F7FB; min-width: 0; }
.parent.corner .game i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; }
.parent.corner .game b { flex: 1; min-width: 0; }
.parent.corner .game span { color: var(--ink-soft); font-size: 15px; white-space: nowrap; }
.parent.corner .reset-row { justify-content: flex-end; margin-top: 14px; }
.parent.corner .about { display: flex; align-items: center; gap: 14px; }
.parent.corner .about svg { width: 64px; height: 64px; flex: none; }
.parent.corner .about b { display: block; font-size: 22px; }
/* 2.7: settings as one list with a line between rows (Zvuk, Igra, "Poslednji aktivan") */
.parent.corner .list { display: grid; }
.parent.corner .list > * { border-bottom: 1px solid #EEF0F6; }
.parent.corner .list > :last-child { border-bottom: 0; }
.parent.corner .list .row { min-height: 54px; padding: 4px 0; }
.parent.corner .list .row > span { display: grid; gap: 2px; }
.parent.corner .list .row .note { margin: 0; font-size: 14px; line-height: 1.35; }
.parent.corner .list .sub { padding: 2px 0 12px; }
.parent.corner .list .sub .ages { margin: 0; }
.parent.corner header .back { width: 40px; height: 40px; margin-left: -8px; border: 0; border-radius: 50%; background: #EEF0F6; color: var(--ink); font-size: 22px; line-height: 1; flex: none; }
.parent.corner header .tab-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parent .btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px #FFD0D0; color: #B42318; }
/* "Ko bira ko se igra": the label and its note on the left, Deca | Samo roditelj on the right */
.parent.corner .list .row.choice { flex-wrap: wrap; row-gap: 6px; }
.parent.corner .row.choice > span { flex: 1 1 220px; min-width: 0; }
.parent.corner .row.choice .ages { flex: 0 0 auto; margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.parent.corner .row.choice .ages button { padding: 8px 14px; white-space: nowrap; }
/* Deca: the children, one child's page, the look builder */
.parent.corner .panel.kids-panel.on { display: flex; flex-direction: column; min-height: 100%; }
.parent .kid-pic { display: block; flex: none; border-radius: 50%; overflow: hidden; background: #fff; }
.parent.corner .kids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.parent.corner .kidcard { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 12px; border: 2px solid transparent; border-radius: 18px; background: #F6F7FB; color: var(--ink); text-align: left; min-width: 0; }
.parent.corner .kidcard:hover { border-color: #E3E6EF; }
.parent.corner .kidcard .kid-pic { width: 54px; height: 54px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--kid); }
.parent.corner .kid-text { display: grid; gap: 2px; min-width: 0; }
.parent.corner .kid-text b { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parent.corner .kid-text span { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.parent.corner .kidcard .now { margin-left: auto; padding: 4px 8px; border-radius: 99px; background: #EAFBEF; color: #1E9E54; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.parent.corner .kidcard.add { justify-content: center; border: 2px dashed #D5D9E6; background: #fff; color: var(--ink-soft); font-weight: 700; }
.parent.corner .kidcard.add .plus { font-size: 26px; line-height: 1; color: #2FC760; }
.parent.corner .kid-head { display: flex; align-items: center; gap: 14px; margin: 2px 0 4px; }
.parent.corner .kid-face-btn { padding: 0; border: 0; border-radius: 50%; background: transparent; flex: none; }
.parent.corner .kid-face-btn .kid-pic { width: 72px; height: 72px; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--kid); }
.parent.corner .kid-name { flex: 1; min-width: 0; font: inherit; font-weight: 700; padding: 10px 14px; border: 2px solid #E3E6EF; border-radius: 14px; color: var(--ink); background: #fff; }
.parent.corner .kid-name:focus { outline: none; border-color: #2FC760; }
.parent.corner .kid-actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.parent.corner .kid-actions .grow { flex: 1; }
.parent.corner .kid-actions::before { content: ''; flex-basis: 100%; height: 0; border-top: 1px solid #EEF0F6; margin-bottom: 2px; }
.parent.corner .builder { display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1fr); gap: 18px; align-items: start; }
.parent.corner .builder .preview { display: grid; justify-items: center; gap: 12px; }
.parent.corner .builder .preview .btn { white-space: nowrap; }
.parent.corner .builder .preview .kid-pic { width: 140px; height: 140px; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--kid); margin-top: 6px; }
.parent.corner .builder .cats { display: flex; flex-wrap: wrap; gap: 6px; }
.parent.corner .builder .cats button { border: 0; border-radius: 99px; padding: 6px 12px; background: #F1F2F7; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.parent.corner .builder .cats button.on { background: var(--ink); color: #fff; }
.parent.corner .builder .opts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.parent.corner .builder .opt { padding: 0; border: 3px solid transparent; border-radius: 50%; background: transparent; aspect-ratio: 1; }
.parent.corner .builder .opt .kid-pic { width: 100%; height: 100%; }
.parent.corner .builder .opt.on { border-color: #2FC760; }
.parent.corner .builder .swatch { padding: 0; aspect-ratio: 1; border: 4px solid #fff; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #E3E6EF; }
.parent.corner .builder .swatch.on { box-shadow: 0 0 0 3px #2FC760; }
.parent.corner .builder .opts.swatches { grid-template-columns: repeat(8, minmax(0, 1fr)); max-width: 460px; }
/* a narrow window (a computer, not a phone held sideways): the tabs go across the top, icons only */
@media (max-width: 620px) {
  .parent.corner .sheet { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .parent.corner .rail { flex-direction: row; overflow-x: auto; padding: 10px; }
  .parent.corner .rail h2, .parent.corner .tab span { display: none; }
  .parent.corner .cols, .parent.corner .progress { grid-template-columns: minmax(0, 1fr); }
  .parent.corner .kids { grid-template-columns: minmax(0, 1fr); }
  .parent.corner .builder { grid-template-columns: minmax(0, 1fr); }
  .parent.corner .builder .opts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .parent.corner .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* a phone held sideways has little height */
@media (max-height: 460px) {
  .parent.corner .sheet { height: 94vh; font-size: 15px; }
  .parent.corner .rail { padding: 10px 8px; gap: 2px; }
  .parent.corner .rail h2 { font-size: 18px; margin-bottom: 6px; }
  .parent.corner .tab { padding: 6px 10px; }
  .parent.corner .tab svg { width: 20px; height: 20px; }
  .parent.corner header { padding: 10px 14px 2px 18px; }
  .parent.corner .tab-title { font-size: 20px; }
  .parent.corner .body { padding: 2px 18px 12px; }
  .parent.corner .row { min-height: 38px; }
  .parent.corner .ages button { padding: 7px 6px; }
  .parent.corner .game { padding: 7px 10px; }
  .parent.corner h4 { margin: 8px 0 4px; }
  .parent.corner .list .row { min-height: 44px; padding: 2px 0; }
  .parent.corner .list .row .note { font-size: 13px; }
  .parent.corner header .back { width: 34px; height: 34px; font-size: 19px; }
  .parent.corner .kids { gap: 8px; margin-bottom: 4px; }
  .parent.corner .kidcard { min-height: 56px; padding: 5px 10px; gap: 10px; }
  .parent.corner .list .row.choice { padding: 2px 0 6px; }
  .parent.corner .row.choice .ages button { padding: 6px 12px; }
  .parent.corner .kidcard .kid-pic { width: 44px; height: 44px; }
  .parent.corner .kid-text b { font-size: 16px; }
  .parent.corner .kid-head { gap: 10px; }
  .parent.corner .kid-face-btn .kid-pic { width: 52px; height: 52px; }
  .parent.corner .kid-name { padding: 6px 10px; }
  .parent.corner .kid-actions { padding-top: 8px; gap: 8px; }
  .parent.corner .btn { padding: 7px 14px; }
  .parent.corner .builder { grid-template-columns: minmax(110px, auto) minmax(0, 1fr); gap: 12px; }
  .parent.corner .builder .preview .kid-pic { width: 100px; height: 100px; }
  .parent.corner .builder .preview .btn { padding: 6px 12px; font-size: 14px; }
  .parent.corner .builder .cats button { padding: 4px 10px; font-size: 13px; }
  .parent.corner .builder .opts { gap: 6px; margin-top: 8px; }
}

/* "Okreni telefon": a phone or tablet held upright in the browser (orientation.js) */
.turn-phone {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: #fff;
  background: rgba(43, 45, 66, .86);
  backdrop-filter: blur(4px);
}
.turn-phone svg { width: 104px; height: 104px; animation: turnPhone 2.6s ease-in-out infinite; }
.turn-phone b { font-size: 30px; line-height: 1.1; margin-top: 6px; }
.turn-phone span { font-size: 18px; opacity: .9; max-width: 22em; }
@keyframes turnPhone { 0%, 25% { transform: rotate(0); } 55%, 85% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .turn-phone svg { animation: none; } }

/* the voice: recorded or the device's own, with the device's voices for the language */
.parent .voice-kind { padding: 0 0 6px; }
.parent .voice-kind .ages { margin-top: 0; }
.parent .device-voice .row { gap: 10px; }
.parent .device-voice select { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 2px solid #E3E6EF; border-radius: 14px; background: #fff; color: var(--ink); }
.parent .device-voice .note { margin: 4px 0 0; }
.parent .langs { flex-wrap: wrap; }
.parent .langs button { flex: 1 1 calc(50% - 8px); }
/* the language picker (menu button): every language in its own name */
.parent.lang-picker .sheet { max-width: 480px; }
.parent .lang-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.parent .lang-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  border: 2px solid #E3E6EF;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  text-align: left;
}
.parent .lang-choice b {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #5CC8FF;
  color: #fff;
  font-size: 15px;
  letter-spacing: .03em;
}
.parent .lang-choice.on { border-color: #2FC760; background: #EAFBEF; }
.parent .lang-choice.on b { background: #2FC760; }
/* Fifteen languages: three columns where the screen is wide, smaller rows where it is short (a phone held
   sideways), so the whole list fits without scrolling. */
@media (min-width: 700px), (min-width: 560px) and (max-height: 500px) {
  .parent.lang-picker .sheet { width: min(760px, 94vw); max-width: none; }
  .parent.lang-picker .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .parent.lang-picker .sheet { padding: 16px 12px 18px; }
  .parent.lang-picker .lang-grid { gap: 8px; }
  .parent.lang-picker .lang-choice { min-height: 54px; padding: 6px 8px; gap: 7px; font-size: 15px; }
  .parent.lang-picker .lang-choice b { width: 32px; height: 32px; font-size: 12px; }
}
@media (max-height: 500px) {
  .parent.lang-picker .sheet { padding: 12px 18px 14px; }
  .parent.lang-picker h2 { font-size: 22px; }
  .parent.lang-picker .lang-grid { gap: 6px; margin-top: 8px; }
  .parent.lang-picker .lang-choice { min-height: 44px; padding: 4px 10px; gap: 8px; font-size: 16px; }
  .parent.lang-picker .lang-choice b { width: 32px; height: 32px; font-size: 12px; }
}
.parent .note { margin: 4px 0 6px; font-size: 14px; color: var(--ink-soft); }
.parent .muted { color: var(--ink-soft); font-size: 16px; }
.parent .news { margin-top: 12px; border-top: 1px solid #EEF0F6; padding-top: 10px; font-size: 15px; }
.parent .news summary { cursor: pointer; font-weight: 600; }
.parent .news h4 { margin: 12px 0 4px; font-size: 15px; }
.parent .news ul { margin: 0; padding-left: 20px; line-height: 1.45; color: var(--ink-soft); }
.version-tag { position: absolute; right: 2vw; bottom: 1.5vh; font-size: clamp(11px, 1.8vh, 16px); color: rgba(43, 45, 66, .45); font-weight: 600; }
/* the title's corner (2.9): the terms and the privacy page (a new tab), and the version */
.legal-links { position: absolute; right: 2vw; bottom: 1.5vh; display: flex; align-items: baseline; gap: 1.6vh; font-size: clamp(11px, 1.8vh, 16px); font-weight: 600; color: rgba(43, 45, 66, .5); }
.legal-links a { color: inherit; text-decoration: none; padding: .4vh 0; }
.legal-links a:hover, .legal-links a:focus-visible { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .cloud, .floater, .rays, .sun-rays { animation: none; }
}

/* ---------------- "Otključaj sve" (2.8): the button, the offer, the end of the free levels ---------------- */

/* the gold button at the top of the title and the menu, while there is something to unlock (hud.js) */
.upgrade-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: .45em;
  height: calc(var(--hud-h) * .66);
  padding: 0 1.05em 0 .7em;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(#FFE27A, #FFB020);
  color: #6B4100;
  font: 800 calc(var(--hud-h) * .25)/1 var(--font);
  white-space: nowrap;
  box-shadow: 0 .5vh 0 rgba(176, 106, 0, .35);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s var(--pop);
}
.upgrade-btn svg { width: 1.45em; height: 1.45em; flex: none; }
.upgrade-btn span { padding-top: .08em; }
.upgrade-btn:active { transform: scale(.95); }
.upgrade-btn:focus-visible { outline: 3px solid #2F86FF; outline-offset: 2px; }
/* a shine passes over it now and then */
.upgrade-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: shine 6s ease-in-out 2s infinite;
  pointer-events: none;
}
@keyframes shine { 0%, 75% { transform: translateX(-130%); } 95%, 100% { transform: translateX(130%); } }

/* buttons and notes shared by the offer and the "Pretplata" tab */
.parent .row-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.parent .btn.big { padding: 13px 24px; font-size: 18px; }
.parent .btn.gold { background: linear-gradient(#FFD84D, #FFAA14); color: #5A3500; box-shadow: 0 3px 0 rgba(176, 106, 0, .35); }
.parent .btn[disabled] { opacity: .6; cursor: default; }
.parent .who { margin: 0; font-size: 15px; color: var(--ink-soft); overflow-wrap: anywhere; }
.parent .who b { color: var(--ink); }
.parent .link { border: 0; padding: 0; background: none; color: #2F86FF; font-weight: 700; text-decoration: underline; }
.parent .done { margin: 0; font-size: 18px; font-weight: 700; color: #1E9E54; }
.parent .warn { margin: 0; padding: 8px 12px; border-radius: 12px; background: #FFF1E6; color: #A44A00; font-size: 15px; line-height: 1.35; }
.parent .g-box { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
/* Sign in with Apple (2.10): Apple's black button, the size of Google's */
.parent .a-box:empty { display: none; }
.parent .a-box { margin-top: 8px; display: flex; }
.apple-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: min(340px, 100%); min-width: 220px; height: 40px; padding: 0 16px; border: 0; border-radius: 20px;
  background: #000; color: #fff; font: 500 15px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; cursor: pointer; }
.apple-btn svg { width: 18px; height: 18px; margin-top: -2px; flex: none; }
.apple-btn:disabled { opacity: .6; cursor: default; }
.apple-btn:focus-visible { outline: 3px solid #9DBDF5; outline-offset: 2px; }
.parent .g-box .btn { background: #fff; box-shadow: inset 0 0 0 2px #DADCE0; color: #3C4043; }
.parent .g-box .note { margin: 0; }
/* the account's devices */
.parent .devices { display: grid; gap: 6px; }
.parent .device { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #F6F7FB; }
.parent .device.current { background: #EAF4FF; }
.parent .device-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #2F86FF; }
.parent .device-icon svg { width: 20px; height: 20px; }
.parent .device-text { display: grid; flex: 1; min-width: 0; }
.parent .device-text b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parent .device-text span { font-size: 13px; color: var(--ink-soft); }
.parent .device .dev-badge { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 99px; background: #2F86FF; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.parent .device .btn { padding: 6px 12px; font-size: 14px; }

/* the offer: the game's sky with the price on the left, what the full version brings and the next step on the right */
.parent.offer .sheet {
  width: min(900px, 94vw);
  max-height: 94vh;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 37%) minmax(0, 1fr);
  font-size: 17px;
}
.parent.offer .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .6) 0, transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(255, 226, 122, .55) 0, transparent 42%),
    linear-gradient(165deg, #52C2FF, #A6E3FF 68%, #E4F8FF);
}
.parent.offer .hero-star { width: 88px; height: 88px; animation: bob 2.4s ease-in-out infinite; }
.parent.offer .hero-star svg { width: 100%; height: 100%; filter: drop-shadow(0 5px 0 rgba(43, 45, 66, .12)); }
.parent.offer .hero-name { margin: 2px 0 0; font-size: 38px; font-weight: 800; line-height: 1.05; letter-spacing: .02em; text-wrap: balance; }
.parent.offer .hero-name span { display: inline-block; color: var(--c); -webkit-text-stroke: .08em #fff; paint-order: stroke fill; text-shadow: 0 .07em 0 rgba(43, 45, 66, .2); }
.parent.offer .hero-title { margin: 0; font-size: 19px; font-weight: 800; color: #fff; text-shadow: 0 2px 0 rgba(20, 95, 145, .35); }
.parent.offer .price { margin-top: 12px; display: grid; justify-items: center; min-width: 72%; padding: 10px 18px 9px; border-radius: 22px; background: #fff; box-shadow: 0 6px 0 rgba(43, 45, 66, .1); }
.parent.offer .price b { font-size: 34px; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.parent.offer .price span { font-weight: 700; color: var(--ink-soft); }
.parent.offer .price small { font-size: 13px; color: var(--ink-soft); }
.parent.offer .main { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; }
.parent.offer header { padding: 14px 14px 0 24px; }
.parent.offer header h3 { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.parent.offer .body { overflow: auto; padding: 2px 24px 18px; scrollbar-width: thin; }
.parent.offer .perks { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 9px; }
.parent.offer .perks li { display: flex; align-items: center; gap: 12px; }
.parent.offer .perk-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 3px 0 rgba(43, 45, 66, .12); }
.parent.offer .perk-icon svg { width: 22px; height: 22px; }
.parent.offer .perks li > span { display: grid; gap: 1px; min-width: 0; }
.parent.offer .perks b { font-size: 18px; line-height: 1.2; }
.parent.offer .perks span span { font-size: 14px; line-height: 1.3; color: var(--ink-soft); }
.parent.offer .free-line { margin: 10px 0; padding: 6px 12px; border-radius: 12px; background: #F6F7FB; font-size: 14px; color: var(--ink-soft); }
.parent.offer .step { display: grid; gap: 8px; padding: 14px 16px; border-radius: 18px; background: #FFF9E6; box-shadow: inset 0 0 0 2px #FFE7A8; }
.parent.offer .step .note { margin: 0; }
.parent.offer .fine { margin: 10px 2px 0; font-size: 13px; color: var(--ink-soft); }
.parent.offer .fine a { color: inherit; }
/* a narrow window: the sky goes on top */
@media (max-width: 640px) {
  .parent.offer .sheet { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); overflow: auto; }
  .parent.offer .hero { flex-direction: row; flex-wrap: wrap; padding: 14px; gap: 4px 12px; }
  .parent.offer .hero-star { width: 52px; height: 52px; }
  .parent.offer .hero-name { font-size: 28px; }
  .parent.offer .price { margin-top: 4px; min-width: 0; }
  .parent.offer .main { overflow: visible; }
  .parent.offer .body { overflow: visible; }
}
/* a phone held sideways: little height */
@media (max-height: 520px) {
  .parent.offer .sheet { font-size: 15px; }
  .parent.offer .hero { padding: 12px 14px; }
  .parent.offer .hero-star { width: 58px; height: 58px; }
  .parent.offer .hero-name { font-size: 30px; }
  .parent.offer .hero-title { font-size: 16px; }
  .parent.offer .price { margin-top: 6px; padding: 6px 14px; }
  .parent.offer .price b { font-size: 26px; }
  .parent.offer header { padding: 10px 12px 0 18px; }
  .parent.offer .body { padding: 0 18px 12px; }
  .parent.offer .perks { gap: 5px; }
  .parent.offer .perk-icon { width: 30px; height: 30px; }
  .parent.offer .perk-icon svg { width: 17px; height: 17px; }
  .parent.offer .perks b { font-size: 15px; }
  .parent.offer .perks span span { display: none; }
  .parent.offer .free-line { margin: 6px 0; padding: 4px 10px; font-size: 13px; }
  .parent.offer .step { padding: 10px 12px; gap: 6px; }
  .parent.offer .btn.big { padding: 9px 18px; font-size: 16px; }
  .parent.offer .fine { margin-top: 6px; font-size: 12px; }
  .parent.offer .close { width: 34px; height: 34px; font-size: 24px; }
}

/* "Pretplata" in the parents' corner (littlestar.games) */
.parent.corner .acc-card { display: grid; gap: 10px; padding: 14px 16px; border-radius: 18px; background: #F6F7FB; margin: 2px 0 6px; }
.parent.corner .acc-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.parent.corner .acc-initial { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #5CC8FF; color: #fff; font-size: 22px; font-weight: 800; }
.parent.corner .acc-who > span { display: grid; min-width: 0; }
.parent.corner .acc-who b { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parent.corner .acc-who span span { font-size: 14px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; }
.parent.corner .acc-status { margin: 0; font-size: 17px; font-weight: 600; }
.parent.corner .acc-status.ok { color: #1E9E54; }
.parent.corner .account .warn { margin-bottom: 6px; }
.parent.corner .account .note { margin-top: 8px; }
/* more children: what unlocks them, where "Dodaj dete" would be */
.parent.corner .kidcard.add.locked { gap: 10px; border-color: #FFD978; background: #FFF9E6; color: #8A5A00; text-align: left; }
.parent.corner .kidcard.locked .plus { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #FFD84D; color: #6B4100; }
.parent.corner .kidcard.locked .plus svg { width: 22px; height: 22px; }

/* The end of a game's free levels: BRAVO, a star for every free level, the child's big "again" and the parents'
   "Otključaj sve" (free-end.js). Over the menu, in the colours of the party after a level. */
.free-end {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 2vh 16px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 246, 191, .96) 0, rgba(255, 194, 223, .95) 55%, rgba(200, 175, 255, .95) 100%);
  touch-action: manipulation;
}
.free-end .fe-inner { display: flex; flex-direction: column; align-items: center; gap: 2.2vh; width: min(820px, 100%); }
.free-end .bravo { position: static; font-size: min(17vh, 13vw); }
.free-end .fe-stars { display: flex; gap: 1.6vh; margin-top: -.5vh; }
.free-end .fe-stars .star-icon { width: min(9vh, 8vw); height: min(9vh, 8vw); opacity: 0; filter: drop-shadow(0 0 1.4vh rgba(255, 214, 10, .8)); }
.free-end .fe-stars .star-icon.in { opacity: 1; }
.free-end .fe-card { max-width: 640px; padding: 1.6vh 2.6vh; border-radius: 3vh; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); text-align: center; }
.free-end .fe-text { margin: 0; font-size: clamp(16px, 3.3vh, 28px); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.free-end .fe-text b { color: var(--c); }
.free-end .fe-sub { margin: .6vh 0 0; font-size: clamp(13px, 2.4vh, 20px); color: var(--ink-soft); line-height: 1.3; text-wrap: balance; }
.free-end .fe-actions { display: flex; align-items: center; justify-content: center; gap: 5vh; flex-wrap: wrap; }
.free-end button { font: inherit; border: 0; cursor: pointer; }
.free-end .fe-again { display: grid; justify-items: center; gap: .6vh; padding: 0; background: none; color: var(--ink); font-size: clamp(15px, 2.8vh, 24px); font-weight: 800; }
.free-end .fe-again-icon { display: block; width: min(16vh, 15vw); height: min(16vh, 15vw); filter: drop-shadow(0 1vh 0 rgba(20, 110, 50, .35)); animation: pulse 1.3s ease-in-out infinite; }
.free-end .fe-again svg { width: 100%; height: 100%; }
.free-end .fe-unlock {
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .7em 1.3em .7em 1em;
  border-radius: 99px;
  background: linear-gradient(#FFE27A, #FFB020);
  color: #6B4100;
  font-size: clamp(16px, 3vh, 26px);
  font-weight: 800;
  box-shadow: 0 .7vh 0 rgba(176, 106, 0, .35);
}
.free-end .fe-unlock svg { width: 1.5em; height: 1.5em; }
.free-end :focus-visible { outline: 3px solid #2F86FF; outline-offset: 3px; }
/* back to the menu (2.9.1), where the top bar's buttons would be */
.free-end .fe-close {
  position: absolute;
  top: max(10px, 2vh);
  right: max(10px, 2vw);
  width: calc(var(--hud-h) * .66);
  height: calc(var(--hud-h) * .66);
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--ink-soft);
  font-size: calc(var(--hud-h) * .4);
  line-height: 1;
  box-shadow: 0 .5vh 0 rgba(43, 45, 66, .15);
}
@media (prefers-reduced-motion: reduce) {
  .upgrade-btn::after, .free-end .fe-again-icon, .parent.offer .hero-star { animation: none; }
}

/* promo codes (2.9): "Imate kod?" opens a field; the offer and the "Pretplata" tab share it */
.parent .promo-box { margin-top: 2px; }
.parent .promo-link { font-size: 15px; }
.parent .promo { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 2px 0; }
.parent .promo input { flex: 1 1 160px; min-width: 0; font: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 12px; border: 2px solid #E3E6EF; border-radius: 12px; background: #fff; color: var(--ink); }
.parent .promo input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 600; color: #9AA0B8; }
.parent .promo input:focus { outline: none; border-color: #2FC760; }
.parent .promo-ok { margin: 6px 0 0; color: #1E9E54; font-size: 15px; }
.parent .note.sandbox { padding: 6px 10px; border-radius: 10px; background: #EAF4FF; color: #24508F; font-size: 13px; }
/* "O igri": the terms, the privacy page and the contact */
.parent.corner .about-links { margin-top: 16px; }
.parent.corner .about-links a.row { color: var(--ink); text-decoration: none; font-weight: 600; }
.parent.corner .about-links a.row i { font-style: normal; color: var(--ink-soft); }
.parent.corner .about-links a.row:hover span { text-decoration: underline; }

