:root {
  --bg-a: #34134f;
  --bg-b: #85295f;
  --bg-c: #ff8db4;
  --panel: rgba(255,255,255,.14);
  --panel-strong: rgba(255,255,255,.22);
  --text: #fff8ff;
  --muted: rgba(255,255,255,.78);
  --dark: #251332;
  --accent: #ffd15c;
  --accent-2: #ff6dac;
  --good: #79ffbd;
  --bad: #ff7f7f;
  --tile: 58px;
  --board-size: calc(var(--tile) * 9);
  --radius: 28px;
  --shadow: 0 22px 55px rgba(22, 6, 36, .38);
  font-family: Inter, ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(255,255,255,.25), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(255,235,130,.22), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255,108,172,.28), transparent 34%),
    linear-gradient(135deg, var(--bg-a), var(--bg-b) 48%, var(--bg-c));
}

button { font: inherit; }
.app-shell { min-height: 100vh; padding: 24px; position: relative; }
.screen { display: none; min-height: calc(100vh - 48px); position: relative; }
.screen.active { display: block; }
.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,.19), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

.title-screen { display: none; place-items: center; }
.title-screen.active { display: grid; }
.title-card {
  width: min(840px, 92vw);
  padding: 48px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 900;
  color: #ffeeb1;
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.4rem);
  line-height: .86;
  letter-spacing: -.08em;
  text-shadow: 0 8px 0 rgba(70,16,82,.24), 0 0 45px rgba(255,255,255,.18);
}
h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.04em; }
h3 { margin: 0 0 12px; font-size: 1.05rem; }
.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 22px auto 0;
  line-height: 1.55;
}
.title-actions, .modal-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.btn {
  border: 0;
  color: #321540;
  background: linear-gradient(180deg, #fff, #ffe5a4);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 0 rgba(86,38,80,.22), 0 14px 25px rgba(20,4,30,.2);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(2px); box-shadow: 0 4px 0 rgba(86,38,80,.2), 0 8px 16px rgba(20,4,30,.18); }
.btn.primary { background: linear-gradient(180deg, #ffe97e, #ff9d43); color: #3d1837; }
.btn.ghost { background: rgba(255,255,255,.13); color: white; border: 1px solid rgba(255,255,255,.24); }
.btn.small { padding: 9px 14px; font-size: .9rem; }
.btn.wide { width: 100%; margin-top: 10px; }

.floating-sweets span {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 30px;
  opacity: .55;
  filter: blur(.1px);
  animation: floaty 8s ease-in-out infinite;
}
.floating-sweets span:nth-child(1) { left: 9%; top: 17%; background: radial-gradient(circle at 28% 24%, #fff, #ff9ac0 24%, #e92978); transform: rotate(18deg); }
.floating-sweets span:nth-child(2) { right: 12%; top: 12%; background: radial-gradient(circle at 28% 24%, #fff, #76fff0 24%, #0ab0ff); animation-delay: -2s; }
.floating-sweets span:nth-child(3) { left: 19%; bottom: 12%; background: radial-gradient(circle at 28% 24%, #fff, #ffe573 24%, #ff9f16); animation-delay: -4s; }
.floating-sweets span:nth-child(4) { right: 17%; bottom: 14%; background: radial-gradient(circle at 28% 24%, #fff, #baff8d 24%, #32bf53); animation-delay: -6s; }
.floating-sweets span:nth-child(5) { left: 48%; top: 9%; background: radial-gradient(circle at 28% 24%, #fff, #c7a2ff 24%, #7437e8); animation-delay: -1s; }
@keyframes floaty { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -22px; rotate: 8deg; } }

.topbar, .game-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  margin-bottom: 18px;
}
.map-layout, .game-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 18px;
}
.map-layout { align-items: stretch; }
.episode-panel, .level-path, .side-card { padding: 22px; }
.episode-panel { min-height: 580px; }
.episode-panel p { color: var(--muted); line-height: 1.5; }
.episode-meta { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.meta-chip, .hud-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-weight: 900;
  font-size: .82rem;
  border: 1px solid rgba(255,255,255,.18);
}
.world-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.world-tab { opacity: .82; }
.world-tab.active { opacity: 1; background: linear-gradient(180deg,#fff,#ffd87c); color: #321540; }
.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 12px;
}
.level-node {
  min-height: 74px;
  border: 0;
  border-radius: 24px;
  color: #351541;
  background: linear-gradient(180deg,#ffffff,#ffe5a7);
  box-shadow: 0 8px 0 rgba(65,19,67,.28), inset 0 1px 0 rgba(255,255,255,.75);
  cursor: pointer;
  font-weight: 1000;
  position: relative;
  transition: transform .15s ease, filter .15s ease, opacity .15s ease;
}
.level-node:hover { transform: translateY(-3px) scale(1.02); }
.level-node.locked { opacity: .42; filter: grayscale(.4); cursor: not-allowed; }
.level-node .stars { display: block; margin-top: 4px; font-size: .78rem; color: #ef9b00; letter-spacing: -.06em; }
.level-node .tag {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
  background: #ff4f86; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.level-node.impossible .tag { background: #3d0a5b; }
.level-node.very-hard .tag { background: #ff713d; }

.game-layout {
  grid-template-columns: minmax(220px, 285px) minmax(510px, 1fr) minmax(220px, 305px);
  align-items: start;
}
.hud-title { text-align: center; }
.difficulty { min-width: 128px; justify-content: center; }
.difficulty.hard { background: rgba(255, 211, 80, .25); }
.difficulty.very-hard { background: rgba(255, 115, 65, .28); }
.difficulty.impossibly-hard { background: rgba(80, 13, 108, .55); color: #ffdafb; }
.goals-card, .level-info-card { position: sticky; top: 22px; }
.moves-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 25%, #fff 0 8%, #ffe58f 9% 42%, #ff9a35 43% 100%);
  color: #421445;
  box-shadow: inset 0 -10px 22px rgba(119,42,8,.22), 0 14px 25px rgba(25,4,34,.26);
}
.moves-ring span { display: block; font-size: 3.2rem; font-weight: 1000; line-height: .8; }
.moves-ring small { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; margin-top: -8px; }
.goals-list { display: grid; gap: 10px; }
.goal-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
}
.goal-left { display: flex; align-items: center; gap: 9px; font-weight: 900; }
.goal-icon { width: 28px; height: 28px; border-radius: 10px; display: inline-grid; place-items: center; background: rgba(255,255,255,.2); }
.score-block {
  margin-top: 18px;
  padding: 14px;
  background: rgba(0,0,0,.13);
  border-radius: 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.score-block strong { font-size: 1.55rem; }
.stars-track {
  position: relative;
  margin-top: 18px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,.16);
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid rgba(255,255,255,.12);
}
.stars-track span { position: relative; z-index: 2; font-size: 1.45rem; color: rgba(255,255,255,.42); text-shadow: 0 2px 3px rgba(0,0,0,.18); }
.stars-track span.lit { color: #ffe57a; }
.star-meter { position: absolute; inset: 0 auto 0 0; width: 0%; background: linear-gradient(90deg,#ffb347,#fff176); transition: width .35s ease; opacity: .75; }
.board-wrap { display: grid; place-items: center; position: relative; min-height: calc(var(--board-size) + 60px); }
.board {
  --tile: min(9.5vw, 58px);
  width: calc(var(--tile) * 9);
  height: calc(var(--tile) * 9);
  position: relative;
  border-radius: 28px;
  padding: 0;
  touch-action: none;
  user-select: none;
  background:
    linear-gradient(45deg, rgba(255,255,255,.09) 25%, transparent 25% 75%, rgba(255,255,255,.09) 75%),
    linear-gradient(45deg, rgba(255,255,255,.09) 25%, transparent 25% 75%, rgba(255,255,255,.09) 75%),
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
  background-size: calc(var(--tile) * 2) calc(var(--tile) * 2);
  background-position: 0 0, var(--tile) var(--tile), 0 0;
  border: 7px solid rgba(255,255,255,.2);
  box-shadow: 0 25px 65px rgba(18, 3, 28, .45), inset 0 0 0 2px rgba(255,255,255,.14), inset 0 -15px 40px rgba(50,8,68,.18);
  overflow: hidden;
}
.cell-layer, .fx-layer { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.board-cell {
  position: absolute;
  width: var(--tile);
  height: var(--tile);
  display: grid;
  place-items: center;
  transform: translate(calc(var(--c) * var(--tile)), calc(var(--r) * var(--tile)));
}
.jelly-mark {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.95), transparent 24%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.2) 0 5px, rgba(97,230,255,.12) 5px 10px),
    linear-gradient(135deg, rgba(112,245,255,.72), rgba(27,137,255,.62));
  border: 3px solid rgba(126, 246, 255, .95);
  box-shadow:
    inset 0 0 18px rgba(255,255,255,.82),
    inset 0 -8px 14px rgba(0, 74, 180, .25),
    0 0 0 2px rgba(255,255,255,.38),
    0 0 19px rgba(88, 232, 255, .78);
  opacity: 1;
}
.jelly-mark.layer2 {
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,1), transparent 24%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.32) 0 4px, rgba(58,226,255,.18) 4px 8px),
    linear-gradient(135deg, rgba(146,255,255,.94), rgba(31,100,255,.84));
  border-color: rgba(230,255,255,1);
  box-shadow:
    inset 0 0 20px rgba(255,255,255,.95),
    inset 0 -9px 18px rgba(0, 56, 184, .38),
    0 0 0 3px rgba(255,255,255,.52),
    0 0 26px rgba(97, 240, 255, .98);
}
.piece.on-jelly::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  background: rgba(91, 229, 255, .26);
  border: 2px solid rgba(154, 250, 255, .92);
  box-shadow: 0 0 16px rgba(91,229,255,.75), inset 0 0 12px rgba(255,255,255,.42);
  z-index: -1;
}
.piece.on-jelly-layer2::before {
  background: rgba(42, 153, 255, .38);
  border-color: rgba(240,255,255,1);
  box-shadow: 0 0 22px rgba(106,241,255,.95), inset 0 0 16px rgba(255,255,255,.6);
}
.blocker {
  width: 82%; height: 82%; border-radius: 18px;
  background: linear-gradient(135deg,#a46a42,#5c3426);
  border: 2px solid rgba(255,255,255,.25);
  box-shadow: inset 0 8px 0 rgba(255,255,255,.18), inset 0 -10px 16px rgba(0,0,0,.22), 0 8px 13px rgba(0,0,0,.18);
  position: relative;
}
.blocker::after { content: attr(data-hp); position: absolute; inset: 0; display: grid; place-items: center; color: #ffe2aa; font-weight: 1000; text-shadow: 0 2px 2px rgba(0,0,0,.45); }
.piece {
  position: absolute;
  width: var(--tile);
  height: var(--tile);
  padding: 5px;
  transform: translate(calc(var(--c) * var(--tile)), calc(var(--r) * var(--tile)));
  transition: transform .19s cubic-bezier(.2,.9,.24,1.05), opacity .18s ease, filter .18s ease;
  z-index: 10;
  cursor: grab;
  will-change: transform;
  isolation: isolate;
}
.piece .candy { z-index: 1; }
.piece.dragging { transition: none; z-index: 50; cursor: grabbing; filter: brightness(1.11) drop-shadow(0 15px 22px rgba(0,0,0,.25)); }
.piece.selected .candy { outline: 4px solid rgba(255,255,255,.75); outline-offset: -2px; animation: selectPulse .7s ease-in-out infinite alternate; }
.piece.hint .candy { animation: hintPulse .65s ease-in-out 3; }
.piece.removing { pointer-events: none; animation: popOut .22s ease forwards; }
.piece.new { animation: dropIn .26s cubic-bezier(.2,.9,.18,1.12); }

.candy {
  width: 100%;
  height: 100%;
  border-radius: 38% 44% 40% 46%;
  position: relative;
  box-shadow: inset 0 7px 0 rgba(255,255,255,.36), inset 0 -12px 17px rgba(0,0,0,.18), 0 6px 8px rgba(33, 9, 42, .22);
  transform: rotate(var(--rot, 0deg));
  overflow: hidden;
}
.candy::before {
  content: "";
  position: absolute;
  left: 18%; top: 12%;
  width: 34%; height: 24%;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  filter: blur(.3px);
}
.candy::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.22);
}
.c0 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #ff9ab3 8% 34%, #f42d6f 35% 100%); }
.c1 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #ffef7a 8% 34%, #f3a51c 35% 100%); border-radius: 50%; }
.c2 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #81f6ff 8% 34%, #168de8 35% 100%); border-radius: 28% 48% 30% 48%; }
.c3 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #b6ff95 8% 34%, #1cb74e 35% 100%); border-radius: 45% 32% 45% 32%; }
.c4 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #d0a7ff 8% 34%, #773ff0 35% 100%); border-radius: 30% 30% 48% 48%; }
.c5 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #ffb178 8% 34%, #ff5d2f 35% 100%); border-radius: 48% 28% 48% 30%; }
.ingredient .candy {
  background: radial-gradient(circle at 38% 22%, #fff 0 6%, #dbffb7 8% 25%, #87542a 26% 100%);
  border-radius: 44% 44% 52% 52%;
}
.ingredient .candy::after { content: ""; position: absolute; width: 36%; height: 18%; left: 32%; top: 4%; background: #49af53; border-radius: 70% 5% 70% 5%; transform: rotate(-25deg); border: none; }
.striped-h .candy { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.55) 0 7px, transparent 7px 15px), var(--base-gradient); }
.striped-v .candy { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 7px, transparent 7px 15px), var(--base-gradient); }
.wrapped .candy { border-radius: 18px; }
.wrapped .candy::after { inset: 18%; border: 4px solid rgba(255,255,255,.48); box-shadow: 0 0 0 4px rgba(255,255,255,.14); }
.bomb .candy {
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, #fff 0 7%, transparent 8%),
    conic-gradient(#ff2e77, #ffe65e, #5aff9c, #47d4ff, #a86bff, #ff2e77);
  animation: bombSpin 2.8s linear infinite;
}
.bomb .candy::before { background: rgba(255,255,255,.8); }
.piece[data-type="0"] { --base-gradient: radial-gradient(circle at 35% 25%, #fff 0 7%, #ff9ab3 8% 34%, #f42d6f 35% 100%); }
.piece[data-type="1"] { --base-gradient: radial-gradient(circle at 35% 25%, #fff 0 7%, #ffef7a 8% 34%, #f3a51c 35% 100%); }
.piece[data-type="2"] { --base-gradient: radial-gradient(circle at 35% 25%, #fff 0 7%, #81f6ff 8% 34%, #168de8 35% 100%); }
.piece[data-type="3"] { --base-gradient: radial-gradient(circle at 35% 25%, #fff 0 7%, #b6ff95 8% 34%, #1cb74e 35% 100%); }
.piece[data-type="4"] { --base-gradient: radial-gradient(circle at 35% 25%, #fff 0 7%, #d0a7ff 8% 34%, #773ff0 35% 100%); }
.piece[data-type="5"] { --base-gradient: radial-gradient(circle at 35% 25%, #fff 0 7%, #ffb178 8% 34%, #ff5d2f 35% 100%); }

.message-banner {
  position: absolute; top: 0; left: 50%; transform: translate(-50%,-16px);
  z-index: 90;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(42, 12, 62, .76);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  color: white;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.message-banner.show { opacity: 1; transform: translate(-50%,-30px); }
.helper-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.12);
  color: var(--muted);
}
.helper-box strong { color: white; }
.side-card p { color: var(--muted); line-height: 1.45; }
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 200;
  background: rgba(15,4,22,.42);
  backdrop-filter: blur(9px);
}
.modal.hidden { display: none; }
.modal-card { width: min(520px, 92vw); padding: 34px; text-align: center; }
.modal-stars { color: #ffe46e; font-size: 3.1rem; letter-spacing: -.12em; text-shadow: 0 6px 10px rgba(0,0,0,.23); }
.modal-card p { color: var(--muted); line-height: 1.45; }

@keyframes popOut { to { opacity: 0; transform: translate(calc(var(--c) * var(--tile)), calc(var(--r) * var(--tile))) scale(.2) rotate(24deg); } }
@keyframes dropIn { from { opacity: 0; transform: translate(calc(var(--c) * var(--tile)), calc((var(--r) - 2) * var(--tile))) scale(.86); } }
@keyframes hintPulse { 50% { transform: translate(calc(var(--c) * var(--tile)), calc(var(--r) * var(--tile))) scale(1.14); filter: brightness(1.35); } }
@keyframes selectPulse { to { filter: brightness(1.18) drop-shadow(0 0 12px rgba(255,255,255,.5)); } }
@keyframes bombSpin { to { filter: hue-rotate(360deg); } }

@media (max-width: 1120px) {
  .game-layout { grid-template-columns: 1fr; }
  .goals-card, .level-info-card { position: static; }
  .board-wrap { order: -1; }
  .side-card { max-width: 640px; width: 100%; margin: 0 auto; }
}
@media (max-width: 780px) {
  .app-shell { padding: 12px; }
  .screen { min-height: calc(100vh - 24px); }
  .title-card { padding: 28px; }
  .map-layout { grid-template-columns: 1fr; }
  .episode-panel { min-height: auto; }
  .topbar, .game-hud { gap: 12px; flex-wrap: wrap; }
  .board { --tile: min(10.4vw, 52px); border-width: 5px; border-radius: 22px; }
  .level-grid { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); }
  .level-node { border-radius: 18px; min-height: 62px; }
}

.piece[data-type="0"] .candy, .mini-0 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #ff9ab3 8% 34%, #f42d6f 35% 100%); }
.piece[data-type="1"] .candy, .mini-1 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #ffef7a 8% 34%, #f3a51c 35% 100%); }
.piece[data-type="2"] .candy, .mini-2 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #81f6ff 8% 34%, #168de8 35% 100%); }
.piece[data-type="3"] .candy, .mini-3 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #b6ff95 8% 34%, #1cb74e 35% 100%); }
.piece[data-type="4"] .candy, .mini-4 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #d0a7ff 8% 34%, #773ff0 35% 100%); }
.piece[data-type="5"] .candy, .mini-5 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #ffb178 8% 34%, #ff5d2f 35% 100%); }
.piece[data-type="1"] .candy { border-radius: 50%; }
.piece[data-type="2"] .candy { border-radius: 28% 48% 30% 48%; }
.piece[data-type="3"] .candy { border-radius: 45% 32% 45% 32%; }
.piece[data-type="4"] .candy { border-radius: 30% 30% 48% 48%; }
.piece[data-type="5"] .candy { border-radius: 48% 28% 48% 30%; }
.mini-candy { width: 18px; height: 18px; display: inline-block; border-radius: 7px; box-shadow: inset 0 3px 0 rgba(255,255,255,.35), inset 0 -4px 6px rgba(0,0,0,.18); }

/* v2 authored-level and polish systems */
.topbar-actions,
.hud-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, 100%);
  margin: 26px auto 0;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: rgba(26, 7, 39, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.account-strip.compact {
  width: 310px;
  margin: 0;
  padding: 8px 12px 8px 8px;
}
.account-badge {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 19px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #351541;
  background: linear-gradient(145deg, #fff9c8, #ffb84f 72%, #ef7b34);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.8), inset 0 -7px 14px rgba(128,45,0,.2), 0 8px 18px rgba(26,3,34,.25);
}
.account-strip.compact .account-badge { width: 48px; height: 48px; border-radius: 15px; }
.account-badge small { display: block; font-size: .64rem; font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; line-height: 1; }
.account-badge strong { display: block; font-size: 1.65rem; line-height: 1; }
.account-strip.compact .account-badge strong { font-size: 1.28rem; }
.account-progress-copy { min-width: 0; flex: 1; }
.account-progress-copy > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.account-progress-copy strong { font-size: .9rem; }
.account-xp-copy { color: var(--muted); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.account-xp-track,
.episode-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0,0,0,.2);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.28);
}
.account-xp-fill,
#episode-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67ffd1, #ffe774 58%, #ff9e4a);
  box-shadow: 0 0 14px rgba(255,222,99,.45);
  transition: width .35s ease;
}
.account-cap { font-weight: 1000; color: rgba(255,255,255,.56); }
.account-mini {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(0,0,0,.14);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}
.account-mini strong { color: #ffe57a; }

.world-summary {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.world-summary > div { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.world-summary strong { font-size: .9rem; }
.world-summary span { color: var(--muted); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.episode-progress { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); }
.episode-progress > div:first-child { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 9px; color: var(--muted); font-size: .85rem; }
.episode-progress strong { color: white; }

.level-node {
  min-height: 82px;
  overflow: hidden;
}
.level-node::before {
  content: "";
  position: absolute;
  inset: auto -24px -35px auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.34);
}
.level-number { position: relative; z-index: 2; font-size: 1.05rem; }
.level-feature-icon {
  position: absolute;
  left: 9px;
  top: 8px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: rgba(67,19,75,.68);
  font-size: .78rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.23);
}
.level-node.type-locks .level-feature-icon { background: #251124; }
.level-node.type-crystals .level-feature-icon { background: linear-gradient(135deg,#3ad8ff,#8269ff); }
.level-node.type-trial { background: linear-gradient(180deg,#fff4bb,#ffb860); }
.level-node .stars { position: relative; z-index: 2; }
.level-node.impossibly-hard .tag { background: #3d0a5b; }

.level-intro {
  margin: 5px 0 0;
  color: rgba(255,255,255,.64);
  font-size: .77rem;
  font-weight: 800;
}

.board {
  background: rgba(38, 9, 52, .42);
  background-image: radial-gradient(circle at 50% 42%, rgba(255,255,255,.13), transparent 58%);
  transition: filter .12s ease, transform .12s ease;
}
.board[data-world="2"] { box-shadow: 0 25px 65px rgba(18,3,28,.45), inset 0 0 0 2px rgba(255,255,255,.14), inset 0 -15px 40px rgba(14,100,126,.18); }
.board[data-world="3"] { box-shadow: 0 25px 65px rgba(18,3,28,.45), inset 0 0 0 2px rgba(255,255,255,.14), inset 0 -15px 40px rgba(95,50,160,.28), 0 0 32px rgba(125,83,255,.18); }
.board.impact { animation: boardImpact .24s ease; }

.board-cell { padding: 2px; }
.board-cell.void { opacity: 0; }
.board-slot {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.075);
  box-shadow: inset 0 -5px 10px rgba(16,3,24,.11);
}
.board-cell:nth-child(even) .board-slot { background: linear-gradient(145deg, rgba(255,255,255,.135), rgba(255,255,255,.035)); }

.piece {
  transition: transform .135s cubic-bezier(.2,.9,.24,1.05), opacity .135s ease, filter .135s ease;
}
.piece .candy { position: relative; }
.special-mark {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,.55), 0 0 7px rgba(255,255,255,.55);
  pointer-events: none;
}

.piece[data-type="6"] { --base-gradient: radial-gradient(circle at 35% 25%, #fff 0 7%, #ffb4e2 8% 34%, #e638ae 35% 100%); }
.piece[data-type="6"] .candy,
.mini-6 { background: radial-gradient(circle at 35% 25%, #fff 0 7%, #ffb4e2 8% 34%, #e638ae 35% 100%); border-radius: 50% 34% 50% 34%; }

/* Specials deliberately override normal candy backgrounds. */
.piece.striped-h .candy {
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.94) 0 6px, rgba(255,255,255,.12) 6px 13px),
    var(--base-gradient) !important;
  border: 3px solid rgba(255,255,255,.78);
  box-shadow: inset 0 7px 0 rgba(255,255,255,.42), inset 0 -12px 17px rgba(0,0,0,.18), 0 0 0 3px rgba(255,255,255,.2), 0 7px 12px rgba(33,9,42,.28);
}
.piece.striped-v .candy {
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.94) 0 6px, rgba(255,255,255,.12) 6px 13px),
    var(--base-gradient) !important;
  border: 3px solid rgba(255,255,255,.78);
  box-shadow: inset 0 7px 0 rgba(255,255,255,.42), inset 0 -12px 17px rgba(0,0,0,.18), 0 0 0 3px rgba(255,255,255,.2), 0 7px 12px rgba(33,9,42,.28);
}
.piece.wrapped .candy {
  border-radius: 15px !important;
  border: 3px solid rgba(255,255,255,.72);
  box-shadow: inset 0 7px 0 rgba(255,255,255,.36), inset 0 -12px 17px rgba(0,0,0,.2), 0 0 0 4px rgba(255,219,88,.5), 0 8px 13px rgba(33,9,42,.3);
}
.piece.wrapped .candy::after {
  inset: 13%;
  border: 5px solid rgba(255,255,255,.88);
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(255,219,88,.55), inset 0 0 8px rgba(255,255,255,.45);
}
.piece.wrapped .special-mark {
  color: #fff7a5;
  font-size: 1.35rem;
}
.piece.bomb .candy {
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 30% 22%, #fff 0 7%, transparent 8%),
    radial-gradient(circle at 26% 25%, rgba(255,255,255,.35), transparent 28%),
    conic-gradient(#ff2e77, #ffe65e, #5aff9c, #47d4ff, #a86bff, #ff2e77) !important;
  border: 4px solid rgba(255,255,255,.84);
  box-shadow: inset 0 -9px 15px rgba(0,0,0,.26), 0 0 0 4px rgba(50,12,67,.44), 0 0 18px rgba(255,255,255,.72), 0 8px 15px rgba(0,0,0,.3);
  animation: bombSpin 2.2s linear infinite, bombPulse .8s ease-in-out infinite alternate;
}
.piece.bomb .candy::after {
  inset: 19%;
  border: 3px dotted rgba(255,255,255,.95);
}

.piece.locked-piece { cursor: not-allowed; filter: saturate(.78) brightness(.86); }
.piece.locked-piece::after {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 7px;
  border: 5px solid #2b172d;
  border-radius: 16px;
  background:
    linear-gradient(45deg, transparent 40%, #120b16 41% 49%, transparent 50% 100%),
    linear-gradient(-45deg, transparent 40%, #120b16 41% 49%, transparent 50% 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.16), 0 3px 7px rgba(0,0,0,.38);
  pointer-events: none;
}
.licorice-lock {
  position: absolute;
  inset: 5px;
  z-index: 2;
  border-radius: 17px;
  border: 3px solid rgba(26,10,27,.85);
  box-shadow: 0 0 0 2px rgba(255,255,255,.12);
}
.licorice-lock::after {
  content: attr(data-hp);
  position: absolute;
  right: -4px;
  top: -5px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #20101f;
  color: white;
  font-size: .7rem;
  font-weight: 1000;
  border: 2px solid #fff;
}

.blocker {
  z-index: 8;
}
.blocker-toffee {
  background:
    linear-gradient(90deg, transparent 47%, rgba(70,32,15,.55) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(70,32,15,.55) 48% 52%, transparent 53%),
    linear-gradient(135deg,#d99055,#74422d);
}
.blocker-frosting {
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.95), transparent 17%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.28) 0 5px, transparent 5px 10px),
    linear-gradient(135deg,#fff3d7,#e6a6bd 58%,#b75583);
  border-color: rgba(255,255,255,.65);
  box-shadow: inset 0 8px 0 rgba(255,255,255,.42), inset 0 -10px 16px rgba(93,27,61,.22), 0 8px 13px rgba(0,0,0,.18);
}
.blocker-crystal {
  width: 76%;
  height: 88%;
  border-radius: 42% 42% 18% 18%;
  transform: rotate(45deg) scale(.78);
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), transparent 25%),
    linear-gradient(155deg,#8bffff,#55a8ff 50%,#8b4ee8);
  border: 3px solid rgba(234,255,255,.9);
  box-shadow: inset 6px 6px 12px rgba(255,255,255,.6), inset -8px -8px 14px rgba(53,20,128,.35), 0 0 18px rgba(85,210,255,.72);
}
.blocker-crystal::after { transform: rotate(-45deg); color: white; text-shadow: 0 2px 4px rgba(0,0,0,.7); }

.combo-banner {
  position: absolute;
  z-index: 95;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.72);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, rgba(65,15,91,.92), rgba(225,57,139,.9));
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: 0 9px 30px rgba(18,2,29,.42), inset 0 1px 0 rgba(255,255,255,.42);
  font-weight: 1000;
  letter-spacing: .08em;
  text-shadow: 0 2px 4px rgba(0,0,0,.28);
}
.combo-banner.show { animation: comboPop .76s ease both; }

.burst {
  position: absolute;
  width: calc(var(--tile) * .58);
  height: calc(var(--tile) * .58);
  left: calc(var(--c) * var(--tile) + var(--tile) * .21);
  top: calc(var(--r) * var(--tile) + var(--tile) * .21);
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.75);
  box-shadow: 0 0 15px rgba(255,255,255,.8);
  animation: burstOut .45s ease var(--delay) both;
}
.burst.strong { border-width: 5px; box-shadow: 0 0 22px #ffe96f, 0 0 36px rgba(255,102,182,.7); }

.goal-row { transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.goal-row.done { opacity: .55; background: rgba(83,255,180,.14); }
.goal-row.done strong::before { content: "✓ "; color: #85ffc1; }
.moves-ring.low { animation: movesLow .72s ease-in-out infinite alternate; }

.special-guide {
  display: grid;
  gap: 9px;
  margin: 15px 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.1);
}
.special-guide > strong { margin-bottom: 2px; }
.special-guide > div { display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: center; }
.special-guide p { margin: 0; font-size: .78rem; line-height: 1.25; }
.guide-candy {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: inset 0 4px 0 rgba(255,255,255,.3), 0 4px 7px rgba(0,0,0,.2);
}
.guide-striped { background: repeating-linear-gradient(90deg,#ff5b92 0 5px,#fff 5px 9px); }
.guide-wrapped { background: linear-gradient(90deg,transparent 40%,#fff 41% 58%,transparent 59%), linear-gradient(#7b52f0,#ad74ff); box-shadow: inset 0 0 0 5px rgba(255,255,255,.32), 0 4px 7px rgba(0,0,0,.2); }
.guide-bomb { border-radius: 50%; background: conic-gradient(#ff2e77,#ffe65e,#5aff9c,#47d4ff,#a86bff,#ff2e77); }

.modal-xp {
  margin: 18px 0 2px;
  display: grid;
  gap: 8px;
}
.xp-earned {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 16px;
  background: rgba(0,0,0,.14);
}
.xp-earned span { color: var(--muted); font-weight: 800; }
.xp-earned strong { color: #fff29a; font-size: 1.15rem; }
.level-up {
  padding: 10px 14px;
  border-radius: 14px;
  color: #351541;
  background: linear-gradient(90deg,#6effd2,#fff07b,#ffab58);
  font-weight: 1000;
  letter-spacing: .08em;
  animation: levelUpPulse .7s ease-in-out infinite alternate;
}

.load-error {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  z-index: 500;
  width: min(620px, 90vw);
  padding: 24px;
  border-radius: 20px;
  background: #401a4b;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 800;
}
.load-error.hidden { display: none; }

@keyframes boardImpact { 35% { transform: scale(.985); filter: brightness(1.18); } 70% { transform: scale(1.008); } }
@keyframes bombPulse { to { transform: rotate(var(--rot, 0deg)) scale(1.06); } }
@keyframes comboPop { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.7); } 22% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } 70% { opacity: 1; transform: translate(-50%,-58%) scale(1); } 100% { opacity: 0; transform: translate(-50%,-80%) scale(.9); } }
@keyframes burstOut { from { opacity: 1; transform: scale(.25); } to { opacity: 0; transform: scale(1.8); } }
@keyframes movesLow { to { filter: brightness(1.15); box-shadow: inset 0 -10px 22px rgba(119,42,8,.22), 0 0 24px rgba(255,92,103,.72); } }
@keyframes levelUpPulse { to { filter: brightness(1.12); transform: scale(1.02); } }

@media (max-width: 900px) {
  .topbar-actions { width: 100%; justify-content: space-between; }
  .account-strip.compact { width: min(340px, calc(100% - 78px)); }
  .world-summary > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .world-summary span { white-space: normal; }
}

@media (max-width: 620px) {
  .title-account { padding-right: 12px; }
  .account-cap { display: none; }
  .account-progress-copy > div:first-child { align-items: flex-start; flex-direction: column; gap: 2px; }
  .account-xp-copy { white-space: normal; }
  .account-strip.compact .account-progress-copy strong { display: none; }
  .topbar-actions { align-items: stretch; }
  .hud-right { width: 100%; justify-content: space-between; }
  .level-intro { width: 100%; }
}

/* === 2026-07 board/UI redesign === */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.game-screen {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  position: relative;
}
.game-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.22), transparent 16%),
    radial-gradient(circle at 85% 14%, rgba(255,238,168,.2), transparent 14%),
    radial-gradient(circle at 55% 105%, rgba(255,157,201,.22), transparent 28%),
    linear-gradient(180deg, rgba(250,214,235,.2), rgba(61,187,200,.1) 35%, rgba(16,79,140,.15) 75%, rgba(22,31,79,.22));
  border-radius: 28px;
  pointer-events: none;
}
.game-screen::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background:
    radial-gradient(ellipse at 8% 100%, rgba(255,204,243,.45), transparent 42%),
    radial-gradient(ellipse at 28% 100%, rgba(209,184,255,.34), transparent 35%),
    radial-gradient(ellipse at 64% 100%, rgba(249,197,231,.35), transparent 36%),
    radial-gradient(ellipse at 92% 100%, rgba(189,175,255,.28), transparent 26%);
  border-radius: 0 0 28px 28px;
  opacity: .95;
  pointer-events: none;
}
.game-screen > * { position: relative; z-index: 1; }

.candy-hud {
  display: grid;
  grid-template-columns: auto minmax(220px, 320px) minmax(320px, 1fr) minmax(210px, 280px);
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,212,233,.92), rgba(255,180,215,.84));
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: 0 18px 35px rgba(48, 24, 78, .22), inset 0 1px 0 rgba(255,255,255,.84);
}
.hud-back-btn {
  min-width: 92px;
  box-shadow: 0 8px 0 rgba(86,38,80,.16), 0 8px 16px rgba(20,4,30,.12);
}
.hud-cluster { display: flex; align-items: center; gap: 14px; }
.hud-left-cluster { justify-content: flex-start; }
.hud-center-cluster { text-align: center; }
.hud-right-cluster { justify-content: flex-end; }
.hud-center-cluster h2 { font-size: clamp(2rem, 4vw, 3.45rem); color: #8b1358; line-height: .92; }
.hud-center-cluster .eyebrow { color: #b23e86; margin-bottom: 4px; }
.hud-center-cluster .level-intro { color: rgba(139,19,88,.72); font-size: .96rem; margin-top: 6px; }

.hud-score-card {
  display: grid;
  gap: 8px;
  padding: 14px 18px;
  min-width: 148px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,245,250,.88), rgba(255,204,231,.7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 20px rgba(98,26,83,.14);
}
.hud-score-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #b23e86; font-weight: 900; }
.hud-score-line strong { color: #7c1552; font-size: 1.2rem; }

.moves-ring.compact {
  width: 128px;
  height: 128px;
  margin: 0;
  background: radial-gradient(circle at 35% 28%, #fff6cc 0 40%, #ffbf5e 41% 75%, #ff8f38 76% 100%);
  color: #64134c;
}
.moves-ring.compact.small { width: 110px; height: 110px; }
.moves-ring.low { filter: saturate(1.15); animation: lowMovesPulse .8s ease-in-out infinite alternate; }

.stars-panel { margin-top: 14px; }
.stars-track.candy-style {
  min-width: min(460px, 100%);
  max-width: 620px;
  margin: 0 auto;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(252,93,163,.34), rgba(255,56,149,.62));
  border: 2px solid rgba(255,255,255,.84);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -6px 10px rgba(160, 22, 92, .22);
}
.stars-track.candy-style span { font-size: 2rem; color: rgba(255,255,255,.82); }
.stars-track.candy-style span.lit { color: #fff7a5; text-shadow: 0 0 10px rgba(255,243,157,.75); }
.star-meter {
  background: linear-gradient(90deg, #44d1ff, #ff79bf 40%, #ff9f5b 100%);
  opacity: .88;
}

.candy-pill,
.hud-pill.difficulty,
.account-mini {
  background: linear-gradient(180deg, rgba(255,248,251,.88), rgba(255,216,233,.76));
  color: #7b1c56;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 8px 20px rgba(90,24,73,.12);
}
.account-mini strong { color: #c74d85; }
.mascot-bubble {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8d8 0 35%, #ffe18f 36% 67%, #ffb866 68% 100%);
  border: 3px solid rgba(255,255,255,.76);
  color: #e65e83;
  box-shadow: inset 0 5px 0 rgba(255,255,255,.45), 0 8px 18px rgba(66,19,70,.18);
  font-size: 2rem;
}

.game-stage {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 18px;
}
.board-wrap.wide {
  min-height: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 0 12px;
}
.board-stage-frame {
  position: relative;
  padding: 28px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  box-shadow: 0 24px 45px rgba(22,37,84,.16);
}
.board-stage-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 34px;
  border: 2px solid rgba(255,255,255,.2);
  pointer-events: none;
}
.board {
  --tile: min(8.3vw, 76px);
  width: calc(var(--tile) * 9);
  height: calc(var(--tile) * 9);
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.board::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  background: radial-gradient(circle at 50% 12%, rgba(255,255,255,.1), transparent 35%);
  pointer-events: none;
}
.board-slot {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(238, 221, 255, .82), rgba(172, 214, 255, .46));
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -10px 14px rgba(87,114,189,.22), 0 8px 14px rgba(37,48,102,.12);
}
.board-cell { padding: 4px; }
.board-cell.void { display: none; }
.board[data-world="2"] .board-slot {
  background: linear-gradient(180deg, rgba(219,250,255,.82), rgba(143,236,255,.42));
}
.board[data-world="3"] .board-slot {
  background: linear-gradient(180deg, rgba(236,222,255,.82), rgba(202,174,255,.42));
}

.piece {
  padding: 7px;
  transition: transform .11s cubic-bezier(.22,.9,.2,1.05), opacity .13s ease, filter .13s ease;
}
.piece .candy {
  box-shadow: inset 0 6px 0 rgba(255,255,255,.36), inset 0 -10px 14px rgba(0,0,0,.14), 0 8px 10px rgba(31, 17, 64, .16);
}
.piece.selected .candy { outline: 5px solid rgba(255,255,255,.78); }
.piece.locked-piece::after { inset: 10px; }


.game-bottom-hud {
  padding: 18px 20px 16px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,233,245,.86), rgba(255,209,232,.74));
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: 0 16px 30px rgba(56, 29, 93, .14), inset 0 1px 0 rgba(255,255,255,.8);
}
.glass-panel-lite { backdrop-filter: none; }
.goals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #9c2f71;
  margin-bottom: 12px;
}
.goals-header strong { font-size: 1rem; }
.goals-header span { color: rgba(123,28,86,.78); font-weight: 800; font-size: .9rem; }
.goals-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.goals-strip .goal-row {
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.52));
  border: 2px solid rgba(255,255,255,.82);
  color: #7c1552;
  padding: 12px 14px;
  min-height: 58px;
}
.goals-strip .goal-row.done {
  opacity: .82;
  background: linear-gradient(180deg, rgba(216,255,237,.82), rgba(168,255,217,.56));
}
.goals-strip .goal-icon {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,217,236,.72));
  color: #c64b84;
}
.goals-strip .goal-row strong { font-size: 1.25rem; }
.bottom-action-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.bottom-action-bar .btn.wide { min-width: 210px; }

.message-banner {
  top: 8px;
  background: linear-gradient(180deg, rgba(255,251,230,.96), rgba(255,230,173,.92));
  color: #7b1854;
  border: 2px solid rgba(255,255,255,.84);
}
.combo-banner {
  background: linear-gradient(180deg, rgba(255,124,191,.96), rgba(240,56,140,.94));
  top: 8%;
}


@keyframes lowMovesPulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@media (max-width: 1200px) {
  .candy-hud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .hud-back-btn { grid-column: 1 / -1; justify-self: start; }
  .hud-center-cluster { grid-column: 1 / -1; order: 4; }
  .hud-right-cluster { justify-content: center; }
}
@media (max-width: 900px) {
  .app-shell { padding: 14px; }
  .game-screen { min-height: calc(100vh - 28px); }
  .candy-hud { grid-template-columns: 1fr; text-align: center; }
  .hud-left-cluster, .hud-right-cluster, .hud-center-cluster { justify-content: center; }
  .hud-left-cluster { flex-wrap: wrap; }
  .board { --tile: min(10vw, 58px); }
  .board-stage-frame { padding: 16px; }
  .stars-track.candy-style { min-width: 0; width: 100%; }
  .goals-header { flex-direction: column; align-items: flex-start; }
}

/* === Performance, viewport fitting, and testing controls === */
body.in-game {
  height: 100vh;
  overflow: hidden;
  overscroll-behavior: none;
}
body.in-game .app-shell {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  padding: 12px;
}
body.in-game .game-screen {
  height: calc(100vh - 24px);
  min-height: 0;
  overflow: hidden;
  gap: 10px;
}
body.in-game .candy-hud {
  padding: 10px 14px;
  gap: 12px;
  border-radius: 26px;
}
body.in-game .game-stage {
  min-height: 0;
  overflow: hidden;
  gap: 10px;
  grid-template-rows: minmax(0, 1fr) auto;
}
body.in-game .board-wrap.wide {
  min-height: 0;
  overflow: hidden;
  align-content: center;
}
body.in-game .board-stage-frame {
  padding: 14px;
  border-radius: 30px;
}
body.in-game .board {
  --tile: min(7.35vw, calc((100vh - 374px) / 9), 70px);
}
body.in-game .game-bottom-hud {
  padding: 10px 14px;
  border-radius: 22px;
}
body.in-game .goals-header {
  margin-bottom: 7px;
}
body.in-game .goals-strip .goal-row {
  min-height: 48px;
  padding: 8px 11px;
}
body.in-game .bottom-action-bar {
  margin-top: 8px;
}
body.in-game .bottom-action-bar .btn.wide {
  min-width: 165px;
  padding: 9px 15px;
}
.test-pass-btn {
  background: linear-gradient(180deg, #c9fff1, #68e7c6);
  color: #173f45;
}
body.in-game .piece {
  transition-duration: .19s, .18s, .18s;
}
body.in-game .bomb .candy {
  animation: bombPulse 1.4s ease-in-out infinite alternate;
}
body.in-game .glass-panel,
body.in-game .glass-panel-lite {
  backdrop-filter: none;
}

@media (max-height: 850px) {
  body.in-game .mascot-bubble { width: 58px; height: 58px; font-size: 1.5rem; }
  body.in-game .moves-ring.compact { width: 92px; height: 92px; }
  body.in-game .moves-ring.compact span { font-size: 2.35rem; }
  body.in-game .hud-score-card { padding: 8px 12px; }
  body.in-game .hud-center-cluster h2 { font-size: 2.15rem; }
  body.in-game .stars-panel { margin-top: 7px; }
  body.in-game .stars-track.candy-style { height: 22px; }
  body.in-game .board { --tile: min(7.2vw, calc((100vh - 350px) / 9), 62px); }
  body.in-game .goals-header span { display: none; }
}

@media (max-width: 900px) {
  body.in-game .app-shell { padding: 8px; }
  body.in-game .game-screen { height: calc(100vh - 16px); }
  body.in-game .candy-hud {
    grid-template-columns: auto 1fr auto;
    padding: 8px;
  }
  body.in-game .hud-back-btn { grid-column: auto; justify-self: auto; min-width: 70px; }
  body.in-game .hud-left-cluster { grid-column: 2; }
  body.in-game .hud-center-cluster { grid-column: 1 / -1; order: 4; }
  body.in-game .hud-right-cluster { grid-column: 3; }
  body.in-game .hud-score-card,
  body.in-game .account-mini,
  body.in-game .difficulty,
  body.in-game .mascot-bubble { display: none; }
  body.in-game .moves-ring.compact { width: 78px; height: 78px; }
  body.in-game .moves-ring.compact span { font-size: 2rem; }
  body.in-game .board { --tile: min(calc((100vw - 46px) / 9), calc((100vh - 360px) / 9), 56px); }
  body.in-game .bottom-action-bar { gap: 6px; }
  body.in-game .bottom-action-bar .btn.wide { min-width: 0; flex: 1; font-size: .78rem; }
}
body.in-game .bottom-action-bar .btn.wide {
  width: auto;
  margin-top: 0;
}

/* === Blocker art and visual-quality pass === */
.blocker {
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  transform: none;
}
.blocker::before,
.blocker::after {
  content: none !important;
}
.blocker-art {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  overflow: hidden;
  transform: translateZ(0);
}
.blocker-art i,
.blocker-art b,
.blocker-art em {
  position: absolute;
  display: block;
  pointer-events: none;
}
.blocker-layers {
  position: absolute;
  z-index: 5;
  right: -2px;
  bottom: -2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(83,37,82,.3);
  box-shadow: 0 3px 8px rgba(31,15,48,.2);
  opacity: 0;
}
.blocker[data-hp="2"] .blocker-layers { opacity: 1; }
.blocker[data-hp="2"] .blocker-layers::before,
.blocker[data-hp="2"] .blocker-layers::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9518c;
}
.blocker[data-hp="2"] .blocker-layers::before { left: 2px; }
.blocker[data-hp="2"] .blocker-layers::after { right: 2px; }

/* Toffee: a glossy layered caramel slab with a stamped swirl. */
.blocker-toffee .blocker-art {
  background:
    linear-gradient(145deg, rgba(255,255,255,.48), transparent 24%),
    linear-gradient(180deg, #f7bd6f 0 15%, #db873e 16% 56%, #b66031 57% 82%, #8d3f26 83% 100%);
  border: 3px solid #fff0cf;
  box-shadow:
    inset 0 4px 0 rgba(255,255,255,.48),
    inset 0 -9px 13px rgba(95,35,18,.26),
    0 0 0 2px rgba(133,55,31,.22),
    0 8px 12px rgba(38,18,49,.18);
}
.blocker-toffee .blocker-art::before,
.blocker-toffee .blocker-art::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  height: 4px;
  border-radius: 999px;
  background: rgba(112,45,25,.22);
  box-shadow: 0 2px 0 rgba(255,225,172,.3);
}
.blocker-toffee .blocker-art::before { top: 31%; }
.blocker-toffee .blocker-art::after { bottom: 24%; }
.blocker-toffee .blocker-art i {
  width: 46%;
  height: 46%;
  left: 27%;
  top: 24%;
  border: 5px solid rgba(113,43,25,.42);
  border-right-color: rgba(255,219,157,.48);
  border-radius: 50%;
  transform: rotate(-23deg);
  box-shadow: inset 0 0 0 4px rgba(255,205,128,.18);
}
.blocker-toffee .blocker-art b {
  width: 15%;
  height: 15%;
  left: 42.5%;
  top: 39.5%;
  border-radius: 50%;
  background: #7d321f;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.2);
}
.blocker-toffee .blocker-art em {
  inset: 8%;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.22);
  transform: rotate(2deg);
}
.blocker-toffee[data-hp="2"] .blocker-art {
  box-shadow:
    inset 0 4px 0 rgba(255,255,255,.48),
    inset 0 -9px 13px rgba(95,35,18,.26),
    0 0 0 3px #ce743a,
    0 0 0 6px rgba(255,230,179,.72),
    0 9px 14px rgba(38,18,49,.2);
}

/* Frosting: a piped cream rosette on a berry biscuit base. */
.blocker-frosting .blocker-art {
  background:
    radial-gradient(circle at 48% 35%, rgba(255,255,255,.9), transparent 29%),
    linear-gradient(180deg, #fbb8d1 0 70%, #d96b9c 71% 100%);
  border: 3px solid rgba(255,255,255,.9);
  box-shadow:
    inset 0 -9px 13px rgba(128,33,81,.2),
    0 0 0 2px rgba(174,68,119,.18),
    0 8px 13px rgba(38,18,49,.17);
}
.blocker-frosting .blocker-art i {
  width: 78%;
  height: 78%;
  left: 11%;
  top: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff8e9 0 12%, transparent 13%),
    repeating-conic-gradient(from 8deg, #fffdf5 0 15deg, #f3d7e3 16deg 29deg, #fff7ec 30deg 45deg);
  box-shadow:
    inset 0 -8px 12px rgba(184,92,131,.14),
    0 4px 8px rgba(116,46,87,.18);
}
.blocker-frosting .blocker-art b {
  width: 18%;
  height: 18%;
  left: 41%;
  top: 31%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ff7da9 38%, #cb3c75 100%);
  box-shadow: 0 2px 3px rgba(90,28,67,.22);
}
.blocker-frosting .blocker-art em {
  left: 10%;
  right: 10%;
  bottom: 7%;
  height: 24%;
  border-radius: 4px 4px 13px 13px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.34) 0 6px, rgba(155,38,91,.12) 6px 12px);
  border-top: 2px solid rgba(255,255,255,.5);
}
.blocker-frosting[data-hp="2"] .blocker-art i {
  box-shadow:
    inset 0 -8px 12px rgba(184,92,131,.14),
    0 0 0 4px rgba(255,255,255,.78),
    0 0 0 7px rgba(226,139,178,.56),
    0 5px 9px rgba(116,46,87,.2);
}

/* Sugar Crystal: a clean faceted gem; fairer in gameplay and clearer at a glance. */
.blocker-crystal {
  transform: none;
}
.blocker-crystal .blocker-art {
  inset: 4%;
  border-radius: 18px;
  clip-path: polygon(50% 0, 86% 17%, 100% 54%, 72% 100%, 28% 100%, 0 54%, 14% 17%);
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), transparent 21%),
    conic-gradient(from 212deg at 50% 48%, #6b5fff, #60d9ff, #b8ffff, #8a7cff, #d98cff, #6b5fff);
  filter: drop-shadow(0 7px 8px rgba(44,45,118,.24)) drop-shadow(0 0 7px rgba(113,226,255,.45));
}
.blocker-crystal .blocker-art::before {
  content: "";
  position: absolute;
  inset: 6%;
  clip-path: inherit;
  background:
    linear-gradient(33deg, transparent 46%, rgba(255,255,255,.78) 47% 50%, transparent 51%),
    linear-gradient(145deg, transparent 47%, rgba(54,59,179,.28) 48% 51%, transparent 52%),
    radial-gradient(circle at 36% 28%, rgba(255,255,255,.92), transparent 20%);
}
.blocker-crystal .blocker-art i {
  left: 49%;
  top: 9%;
  bottom: 8%;
  width: 2px;
  background: rgba(255,255,255,.52);
  transform: rotate(19deg);
}
.blocker-crystal .blocker-art b {
  left: 13%;
  right: 13%;
  top: 48%;
  height: 2px;
  background: rgba(255,255,255,.45);
  transform: rotate(-16deg);
}
.blocker-crystal .blocker-art em {
  opacity: 0;
  inset: 19%;
  background:
    linear-gradient(35deg, transparent 43%, rgba(68,50,149,.62) 44% 47%, transparent 48%),
    linear-gradient(112deg, transparent 47%, rgba(68,50,149,.52) 48% 51%, transparent 52%);
}
.blocker-crystal[data-hp="2"] .blocker-art em { opacity: 1; }
.blocker-crystal[data-hp="2"] .blocker-art {
  filter: drop-shadow(0 7px 9px rgba(44,45,118,.28)) drop-shadow(0 0 11px rgba(113,226,255,.72));
}

/* Matching blocker objective icons. */
.mini-blocker {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 2px 4px rgba(49,20,58,.15);
}
.mini-blocker-toffee {
  background: linear-gradient(180deg,#f5b868,#c96d34 65%,#8f4027);
  border: 2px solid #fff0d0;
}
.mini-blocker-toffee::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid rgba(110,43,25,.42);
  border-radius: 50%;
}
.mini-blocker-frosting {
  background: repeating-conic-gradient(#fffdf5 0 20deg,#f1ccdc 21deg 40deg);
  border: 2px solid #fff;
}
.mini-blocker-crystal {
  border-radius: 0;
  clip-path: polygon(50% 0,90% 20%,100% 58%,70% 100%,30% 100%,0 58%,10% 20%);
  background: conic-gradient(#6e61ff,#65e5ff,#d8ffff,#a975ff,#6e61ff);
  filter: drop-shadow(0 2px 3px rgba(66,53,154,.25));
}

/* Slightly richer board and candy finish without adding heavy filters. */
.board-stage-frame {
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,.3), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(209,190,255,.08));
  border: 1px solid rgba(255,255,255,.28);
}
.board-slot {
  background:
    radial-gradient(circle at 35% 22%, rgba(255,255,255,.26), transparent 30%),
    linear-gradient(180deg, rgba(226,218,255,.76), rgba(137,180,231,.38));
  border-color: rgba(255,255,255,.78);
}
.piece .candy {
  border: 1px solid rgba(255,255,255,.28);
  box-shadow:
    inset 0 7px 0 rgba(255,255,255,.38),
    inset 0 -11px 15px rgba(0,0,0,.16),
    0 7px 9px rgba(31,17,64,.18);
}
.piece .candy::before {
  left: 19%;
  top: 11%;
  width: 31%;
  height: 21%;
  background: rgba(255,255,255,.65);
}
.blocker[aria-label] { cursor: default; }

/* Board blockers occupy their complete authored cell. */
.board-cell > .blocker {
  position: absolute;
  inset: 4px;
  width: auto;
  height: auto;
  margin: 0;
}

/* === Level 121–180 mechanics and map isolation === */
.game-screen { display: none; }
.game-screen.active { display: grid; }
.game-screen:not(.active) { display: none !important; }

.board[data-world="4"] .board-slot {
  background: linear-gradient(180deg, rgba(255,244,211,.9), rgba(117,221,218,.48));
  border-color: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), inset 0 -10px 15px rgba(34,132,145,.2), 0 8px 14px rgba(42,44,92,.13);
}

.moving-spot {
  position: absolute;
  z-index: 2;
  inset: 8px 3px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, #342640 0 9px, #735a7d 9px 17px, #251c31 17px 24px);
  border: 2px solid rgba(255,255,255,.4);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.2), inset 0 -4px 8px rgba(0,0,0,.34), 0 3px 8px rgba(34,18,45,.24);
  opacity: .86;
  pointer-events: none;
}
.moving-spot::before,
.moving-spot::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-top: 3px solid rgba(255,242,169,.92);
  border-right: 3px solid rgba(255,242,169,.92);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.4));
}
.moving-spot::before { left: 28%; }
.moving-spot::after { right: 24%; }
.moving-spot.dir-right::before,
.moving-spot.dir-right::after { transform: rotate(45deg); }
.moving-spot.dir-left::before,
.moving-spot.dir-left::after { transform: rotate(-135deg); }
.moving-spot.dir-down,
.moving-spot.dir-up {
  inset: 3px 8px;
  background: repeating-linear-gradient(0deg, #342640 0 9px, #735a7d 9px 17px, #251c31 17px 24px);
}
.moving-spot.dir-down::before,
.moving-spot.dir-down::after { transform: rotate(135deg); }
.moving-spot.dir-up::before,
.moving-spot.dir-up::after { transform: rotate(-45deg); }
.moving-spot.dir-down::before,
.moving-spot.dir-up::before { left: 25%; }
.moving-spot.dir-down::after,
.moving-spot.dir-up::after { right: 25%; }
.board-cell:has(.moving-spot) .board-slot {
  background: linear-gradient(180deg, rgba(255,245,217,.82), rgba(128,226,214,.42));
  border-color: rgba(255,242,178,.82);
}

.dispenser {
  position: absolute;
  z-index: 16;
  left: 12%;
  right: 12%;
  top: -30%;
  height: 45%;
  border-radius: 16px 16px 9px 9px;
  background: linear-gradient(180deg, #fff7d1 0 18%, #ff83bb 19% 58%, #bc3f86 59% 100%);
  border: 3px solid rgba(255,255,255,.88);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.55), inset 0 -5px 8px rgba(87,20,75,.22), 0 6px 12px rgba(43,23,63,.25);
  pointer-events: none;
}
.dispenser::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -17%;
  height: 34%;
  border-radius: 4px 4px 12px 12px;
  background: linear-gradient(180deg, #7b2f70, #3b234e);
  border: 2px solid rgba(255,255,255,.55);
}
.dispenser span {
  position: absolute;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  left: 17%;
  top: 25%;
  background: radial-gradient(circle at 32% 25%, #fff 0 11%, #ffe869 12% 42%, #f29a28 43% 100%);
  box-shadow: 18px 0 0 #38c6ed;
}
.dispenser i {
  position: absolute;
  left: 50%;
  bottom: -42%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid #fff4a8;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.25));
}

.blocker-chocolate .blocker-art {
  border-radius: 18px;
  background:
    radial-gradient(circle at 26% 24%, rgba(255,255,255,.24), transparent 14%),
    linear-gradient(145deg, #8d5132 0 18%, #62321f 19% 50%, #3d2118 51% 100%);
  border: 3px solid #2e1711;
  box-shadow: inset 0 5px 0 rgba(255,255,255,.12), inset 0 -8px 12px rgba(24,8,4,.35), 0 6px 11px rgba(35,15,24,.25);
}
.blocker-chocolate .blocker-art::before,
.blocker-chocolate .blocker-art::after {
  content: "";
  position: absolute;
  background: rgba(37,15,10,.42);
}
.blocker-chocolate .blocker-art::before { left: 48%; top: 0; bottom: 0; width: 4px; }
.blocker-chocolate .blocker-art::after { top: 48%; left: 0; right: 0; height: 4px; }
.blocker-chocolate .blocker-art i,
.blocker-chocolate .blocker-art b,
.blocker-chocolate .blocker-art em { display: none; }
.mini-blocker-chocolate {
  background:
    linear-gradient(90deg, transparent 47%, rgba(40,17,11,.55) 48% 53%, transparent 54%),
    linear-gradient(0deg, transparent 47%, rgba(40,17,11,.55) 48% 53%, transparent 54%),
    linear-gradient(145deg, #8d5132, #4a2519);
  border: 2px solid #2e1711;
  border-radius: 8px;
}

.level-node.type-moving .level-feature-icon { background: linear-gradient(135deg,#493557,#a77ab0); }
.level-node.type-chocolate .level-feature-icon { background: linear-gradient(135deg,#7f472c,#321a13); }
.level-node.type-dispensers .level-feature-icon { background: linear-gradient(135deg,#ff70b3,#55cce9); }
