/* ── Tokens ─────────────────────────────────────────── */
:root {
  --navy: #071630;
  --panel: #102852;
  --line: #234777;
  --cyan: #24d8ff;
  --yellow: #ffd34c;
  --pink: #ff5f93;
  --violet: #9b6cff;
  --green: #5ee875;
  --muted: #8ea8d4;
  --cell: 23px;
  --piece-gap: 3px;
  --shell: min(100vw, 500px);
  --safe-t: env(safe-area-inset-top);
  --safe-r: env(safe-area-inset-right);
  --safe-b: env(safe-area-inset-bottom);
  --safe-l: env(safe-area-inset-left);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  height: 100%;
  background: #06142d;
  background-image: none;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Kanit, sans-serif;
  background: #06142d;
  background-image: none;
}

/* ── Shell ──────────────────────────────────────────── */
.app-shell {
  width: var(--shell);
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background-color: #06142d;
  background-image: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.screen {
  display: none;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  padding:
    calc(22px + var(--safe-t))
    max(22px, var(--safe-r))
    calc(24px + var(--safe-b))
    max(22px, var(--safe-l));
}

.screen.active { display: flex; }

/* ── Shared buttons ─────────────────────────────────── */
.btn,
.text-btn {
  font-family: 'Nunito Sans', Kanit, sans-serif;
  font-weight: 900;
  letter-spacing: .15px;
  cursor: pointer;
}

.btn {
  border: 0;
  border-radius: 22px;
  width: 100%;
  height: 67px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
  transition: .18s transform, .18s filter;
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-primary {
  background: linear-gradient(180deg, #fff07b, #ffc335);
  color: #0b1730;
  box-shadow: inset 0 2px 2px #fffcd2, 0 8px 0 #ba721d, 0 12px 22px #030a1c;
}

.btn-secondary {
  background: linear-gradient(180deg, #4f7fda, #2b55ae);
  color: #fff;
  border: 0;
  box-shadow: inset 0 2px 2px #b4ccff, 0 8px 0 #193878, 0 12px 22px #030a1c;
}

.text-btn {
  border: 0;
  background: transparent;
  color: #b4c9ed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1;
  margin-top: 4px;
}

.ui-icon {
  width: 25px;
  height: 25px;
  display: block;
  flex: 0 0 25px;
  background: none;
  background-size: 200% 200%;
  filter: drop-shadow(0 1px 0 rgba(7, 22, 48, .22));
}

.icon-play { background-position: 0 0; }
.icon-how { background-position: 100% 0; }
.icon-restart { background-position: 0 100%; }
.icon-home { background-position: 100% 100%; }

.btn-primary .icon-play {
  filter: brightness(0) saturate(100%) invert(9%) sepia(55%) saturate(1591%) hue-rotate(190deg) brightness(83%) contrast(98%);
}

/* ── Landing ────────────────────────────────────────── */
.landing-screen {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  background: linear-gradient(180deg, rgba(3, 15, 40, .12), rgba(3, 12, 35, .45));
}

.landing-screen .brand-lockup {
  width: min(78vw, 315px);
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto -28px;
  filter: drop-shadow(0 10px 12px #020818);
}

.landing-screen .tagline {
  margin: 0 0 22px;
  font-size: 20px;
  color: #d9e8ff;
}

.landing-screen .demo-pieces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  min-height: 120px;
  margin: 0 auto 28px;
}

.demo-pieces .piece {
  gap: 4px;
}

.demo-pieces .piece-cell {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.landing-actions {
  width: min(100%, 360px);
  display: grid;
  gap: 14px;
}

.landing-screen .microcopy {
  margin: 36px 0 0;
  color: #6e8cbd;
  letter-spacing: 3px;
  font: 800 9px 'Nunito Sans', sans-serif;
}

/* ── Game ───────────────────────────────────────────── */
.game-screen {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
  background: transparent;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 2px 12px;
  flex: 0 0 auto;
}

.eyebrow {
  display: block;
  font: 800 12px 'Nunito Sans', sans-serif;
  letter-spacing: 2px;
  color: #8aa8d9;
}

.game-header strong {
  font: 900 42px / 1 'Nunito Sans', sans-serif;
  color: var(--yellow);
  text-shadow: 0 3px #704e0c;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #3b65ae;
  background: #183875;
  color: #fff;
  border-radius: 13px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.icon-btn img {
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
}

.goal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  color: #b4c9eb;
  font-size: 13px;
}

.goal-row span:last-child {
  color: #6c91c7;
  font: 800 11px 'Nunito Sans', sans-serif;
  letter-spacing: 1px;
}

.energy-panel { margin: 0 0 14px; padding: 10px 12px 12px; border: 1px solid #315b9a; border-radius: 15px; background: linear-gradient(180deg, #102c5a, #0a1c3c); box-shadow: inset 0 1px 0 #6388c6, 0 5px 12px #02091866; }
.energy-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #b8d1f4; font: 900 12px / 1 'Nunito Sans', sans-serif; letter-spacing: 2px; }
.energy-track { position: relative; height: 17px; overflow: hidden; border: 1px solid #3a66a5; border-radius: 99px; background: #06152f; box-shadow: inset 0 2px 4px #020817; }
.energy-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #16c9ff, #ffe05d 80%, #fff4a6); box-shadow: 0 0 16px #27ddff; transition: width .35s cubic-bezier(.16, .84, .23, 1); }

.board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  padding: 5px;
  background: #071934;
  border: 2px solid #315b9a;
  border-radius: 18px;
  box-shadow: 0 8px 24px #020918;
  flex: 0 0 auto;
}

.cell {
  aspect-ratio: 1;
  border-radius: 5px;
  background: #142c55;
  border: 1px solid #20416e;
}

.cell.filled {
  border-color: rgba(255, 255, 255, .38);
  box-shadow: inset 0 3px 5px rgba(255, 255, 255, .4), 0 2px 6px rgba(0, 0, 0, .35);
}

.cell.cyan { background: var(--cyan); }
.cell.pink { background: var(--pink); }
.cell.yellow { background: var(--yellow); }
.cell.violet { background: var(--violet); }
.cell.green { background: var(--green); }
.cell.drop-invalid-cell { background: #ff4f6d !important; border-color: #ffd3dc; box-shadow: 0 0 12px 3px rgba(255, 61, 98, .9), inset 0 2px 4px rgba(255, 255, 255, .45); }
.board.drop-invalid { border-color: #ff5f78; box-shadow: 0 0 0 2px rgba(255, 75, 103, .45), 0 8px 28px rgba(255, 25, 76, .38); }
.cell.drop-valid-cell { background: rgba(36, 216, 255, .3) !important; border-color: #8cf2ff; box-shadow: 0 0 10px 2px rgba(36, 216, 255, .55), inset 0 2px 4px rgba(255, 255, 255, .28); }
.board.drop-valid { border-color: #49eaff; box-shadow: 0 0 0 2px rgba(36, 216, 255, .28), 0 8px 28px rgba(18, 196, 255, .25); }

.row-clear-burst {
  position: absolute;
  z-index: 2;
  left: -4%;
  width: 108%;
  height: calc(var(--cell) * 4.2);
  pointer-events: none;
  opacity: 0;
  background: none;
  filter: saturate(1.35) brightness(1.32) drop-shadow(0 0 16px rgba(70, 225, 255, .95));
  transform: scale(.35);
  animation: rowBurst 1.08s cubic-bezier(.16, .84, .23, 1) var(--burst-delay, 0ms) forwards;
  will-change: transform, opacity;
}

.row-clear-burst::before {
  content: '';
  position: absolute;
  inset: 39% -2%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(111, 245, 255, .96) 18%, #fff 50%, rgba(255, 226, 92, .96) 82%, transparent);
  box-shadow: 0 0 12px 5px rgba(90, 229, 255, .95), 0 0 44px 14px rgba(255, 205, 77, .42);
  animation: rowFlash .7s ease-out both;
}

@keyframes rowBurst {
  0% { opacity: 0; transform: scale(.28) rotate(var(--burst-rotation, 0deg)); }
  15% { opacity: 1; transform: scale(1.12) rotate(var(--burst-rotation, 0deg)); }
  100% { opacity: 0; transform: scale(1.52) rotate(var(--burst-rotation, 0deg)); }
}

@keyframes rowFlash {
  0% { opacity: 0; transform: scaleX(.12); }
  24% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1.2); }
}

.clear-fragment {
  position: absolute;
  z-index: 4;
  width: var(--cell);
  height: var(--cell);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 5px;
  pointer-events: none;
  box-shadow: inset 0 3px 4px rgba(255, 255, 255, .46), 0 0 13px rgba(129, 241, 255, .78);
  animation: clearFragment .82s cubic-bezier(.16, .8, .25, 1) var(--burst-delay) forwards;
  will-change: transform, opacity;
}

@keyframes clearFragment {
  0% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  20% { opacity: 1; transform: translate3d(calc(var(--burst-x) * .25), calc(var(--burst-y) * .18), 0) scale(1.26) rotate(var(--burst-r-mid)); }
  100% { opacity: 0; transform: translate3d(var(--burst-x), var(--burst-y), 0) scale(.3) rotate(var(--burst-r)); }
}

.tray-label {
  margin: 18px 3px 8px;
  font-size: 17px;
  font-weight: 600;
}

.tray-label small {
  display: block;
  margin-top: 2px;
  color: #84a3d2;
  font-size: 12px;
  font-weight: 400;
}

.tray {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(4px, 1.5vw, 8px);
  align-items: center;
  min-height: calc(var(--cell) * 3 + var(--piece-gap) * 2 + 16px);
}

.piece-card {
  min-height: calc(var(--cell) * 3 + var(--piece-gap) * 2 + 16px);
  padding: 8px;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: .15s transform;
}

.piece-card:hover,
.piece-card.selected { transform: translateY(-3px); }

.piece-card:active {
  cursor: grabbing;
  transform: translateY(-2px);
}

.piece { display: grid; gap: var(--piece-gap); }

.piece-cell {
  width: var(--cell);
  height: var(--cell);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .36);
  box-shadow: inset 0 3px 4px rgba(255, 255, 255, .35), 0 3px 5px #010818;
}

.game-tip {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 9px 13px;
  border: 1px solid #2a508a;
  background: #0c2349aa;
  border-radius: 13px;
  color: #b8ccef;
  font-size: 12px;
}

.mini-row {
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0;
}

.score-pop {
  position: absolute;
  top: calc(148px + var(--safe-t));
  left: 50%;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 2px;
  pointer-events: none;
  opacity: 0;
  color: #fff4a0;
  text-align: center;
  text-shadow: 0 3px 0 #63440d, 0 8px 16px #020818;
  transform: translate(-50%, 0) scale(.7);
  will-change: transform, opacity;
}

.score-pop strong { font: 900 28px / 1 'Nunito Sans', sans-serif; }
.score-pop small { color: var(--cyan); font: 900 10px / 1 'Nunito Sans', sans-serif; letter-spacing: 1.3px; }
.score-pop.show { animation: scorePop .9s cubic-bezier(.16, .84, .23, 1) forwards; }

.reward-overlay { position: absolute; z-index: 8; display: grid; place-items: center; pointer-events: none; opacity: 0; transform: scale(.55); overflow: visible; }
.reward-overlay img { position: absolute; width: min(86vw, 390px); max-width: none; top: 50%; transform: translateY(-50%); opacity: .95; filter: drop-shadow(0 0 20px #24d8ff); }
.reward-overlay[data-reward="cross"] img { width: min(120vw, 560px); filter: drop-shadow(0 0 24px #24d8ff); }
.reward-overlay[data-reward="area"] img { width: min(94vw, 430px); filter: drop-shadow(0 0 24px #ff5fce); }
.reward-overlay strong, .reward-overlay span { position: relative; z-index: 1; text-align: center; text-shadow: 0 4px 0 #54400d, 0 8px 24px #020818; }
.reward-overlay strong { color: #fff2a0; font: 900 34px / 1 'Nunito Sans', sans-serif; }
.reward-overlay span { margin-top: 7px; color: #e9fbff; font: 900 13px / 1 'Nunito Sans', sans-serif; letter-spacing: 1.5px; }
.reward-overlay.show { animation: rewardReveal 1.6s cubic-bezier(.16, .84, .23, 1) forwards; }
@keyframes rewardReveal { 0% { opacity: 0; transform: scale(.55); } 15% { opacity: 1; transform: scale(1.06); } 78% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
.reward-clear-cell { position: absolute; z-index: 4; width: var(--cell); height: var(--cell); border: 1px solid rgba(255,255,255,.72); border-radius: 5px; pointer-events: none; box-shadow: inset 0 3px 4px rgba(255,255,255,.46), 0 0 18px #fff; animation: rewardClearCell .62s cubic-bezier(.16,.8,.25,1) forwards; will-change: transform, opacity; }
@keyframes rewardClearCell { 0% { opacity: 1; transform: scale(1); } 35% { opacity: 1; transform: scale(1.28); } 100% { opacity: 0; transform: scale(.18) rotate(90deg); } }

@keyframes scorePop {
  0% { opacity: 0; transform: translate(-50%, 14px) scale(.7); }
  18% { opacity: 1; transform: translate(-50%, 0) scale(1.08); }
  76% { opacity: 1; transform: translate(-50%, -28px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -42px) scale(.94); }
}

/* Drag ghost */
.drag-ghost {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  opacity: 1;
  filter: drop-shadow(0 10px 10px #000b);
  transform: translate(calc(-1 * var(--grab-x)), calc(-1 * var(--grab-y)));
}

.drag-ghost.snapped { transform: none; }
.drag-ghost .piece-cell { width: var(--cell); height: var(--cell); }
.drag-ghost.invalid { opacity: .9; filter: grayscale(.25) saturate(1.35) drop-shadow(0 0 9px #ff3159); animation: invalidDrop .42s ease-in-out infinite alternate; }
.drag-ghost.invalid .piece-cell { background: #ff4f6d !important; border-color: #fff0f3; box-shadow: inset 0 3px 4px rgba(255,255,255,.42), 0 0 9px #ff3159; }
.drag-ghost.valid { opacity: .95; filter: saturate(1.12) drop-shadow(0 0 10px #24d8ff); }
.drag-ghost.valid .piece-cell { border-color: #d7fbff; box-shadow: inset 0 3px 4px rgba(255,255,255,.5), 0 0 8px rgba(36,216,255,.85); }
@keyframes invalidDrop { from { filter: saturate(1.25) drop-shadow(0 0 6px #ff3159); } to { filter: saturate(1.55) drop-shadow(0 0 14px #ff3159); } }

/* ── Modals ─────────────────────────────────────────── */
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: none;
  place-items: center;
  padding:
    calc(16px + var(--safe-t))
    max(16px, var(--safe-r))
    calc(16px + var(--safe-b))
    max(16px, var(--safe-l));
  background: rgba(1, 8, 25, .78);
  backdrop-filter: blur(7px);
}

.modal-layer.open { display: grid; }

.modal {
  position: relative;
  width: min(100%, 390px);
  max-height: calc(100dvh - var(--safe-t) - var(--safe-b) - 32px);
  overflow: auto;
  text-align: center;
  padding: 32px 26px 26px;
  background: linear-gradient(155deg, #193d7a, #0b1c43 75%);
  border: 1px solid #4778c8;
  border-radius: 30px;
  box-shadow: 0 20px 50px #000b;
}

.modal[hidden] { display: none; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.modal-kicker {
  display: block;
  color: var(--cyan);
  font: 800 11px 'Nunito Sans', sans-serif;
  letter-spacing: 2.4px;
}

.modal h2 {
  margin: 10px 0 12px;
  font-size: 34px;
  line-height: 1.1;
}

.modal h2 em {
  color: var(--yellow);
  font-style: normal;
}

.modal p {
  margin: 4px 0 16px;
  color: #b8cbea;
}

.modal .btn { font-size: 20px; }

.modal-rules {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
}

.rule {
  display: flex;
  text-align: left;
  gap: 12px;
  align-items: center;
  background: #0b2046b8;
  border: 1px solid #315e9e;
  border-radius: 12px;
  padding: 10px 12px;
  color: #d9e8ff;
  font-size: 14px;
}

.rule b {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: #09204a;
}

.note {
  margin: 14px 4px 18px;
  font-size: 12px;
  color: #9eb7df;
}

.modal-actions {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.modal-actions .btn,
.modal-actions .text-btn {
  width: 100%;
  height: 64px;
  margin: 0;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font: 800 20px / 1 'Nunito Sans', sans-serif;
}

#pauseModal [data-resume] {
  background: linear-gradient(180deg, #fff07b, #ffc335);
  color: #0b1730;
  border: 0;
  box-shadow: inset 0 2px 2px #fffcd2, 0 8px 0 #ba721d, 0 12px 22px #030a1c;
}

#pauseModal [data-restart] {
  background: linear-gradient(180deg, #ff8a86, #f45265);
  color: #fff;
  border: 0;
  box-shadow: inset 0 2px 2px #ffd2cf, 0 8px 0 #a72f48, 0 12px 22px #030a1c;
}

#pauseModal [data-home],
#gameoverModal [data-home] {
  background: linear-gradient(180deg, #4c83e8, #2753b0);
  color: #fff;
  border: 0;
  box-shadow: inset 0 2px 2px #a8c9ff, 0 8px 0 #17377e, 0 12px 22px #030a1c;
}

.final-score {
  display: block;
  margin: 4px 0 8px;
  font: 900 66px / 1 'Nunito Sans', sans-serif;
  color: var(--yellow);
  text-shadow: 0 4px #77500e;
}

.best {
  margin: 0 0 18px !important;
  font: 800 13px 'Nunito Sans', sans-serif !important;
  letter-spacing: 1px;
}

.best span { color: #fff; }

.crown {
  display: block;
  margin-bottom: 4px;
  font-size: 45px;
  color: #ffe263;
  line-height: 1;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 390px) {
  .screen {
    padding:
      calc(16px + var(--safe-t))
      max(16px, var(--safe-r))
      calc(18px + var(--safe-b))
      max(16px, var(--safe-l));
  }

  .landing-screen .brand-lockup {
    width: min(80vw, 280px);
    margin-bottom: -22px;
  }

  .landing-screen .tagline { font-size: 18px; margin-bottom: 16px; }
  .landing-screen .demo-pieces { gap: 18px; min-height: 100px; margin-bottom: 18px; }
  .demo-pieces .piece-cell { width: 24px; height: 24px; border-radius: 6px; }
  .landing-screen .microcopy { margin-top: 28px; }

  .btn { height: 62px; font-size: 21px; }
  .board { gap: 2px; }
  .game-header strong { font-size: 36px; }
  .icon-btn { width: 40px; height: 40px; }
  .piece-card { min-height: calc(var(--cell) * 3 + var(--piece-gap) * 2 + 12px); padding: 6px; }
  .tray { min-height: calc(var(--cell) * 3 + var(--piece-gap) * 2 + 12px); }
  .modal { padding: 28px 20px 22px; }
  .modal h2 { font-size: 30px; }
  .final-score { font-size: 56px; }
}

/* Compact portrait phones such as iPhone SE (375×667). Keep the header in view
   while preserving a usable board and tray below it. */
@media (max-width: 500px) and (max-height: 700px) {
  .app-shell { height: 100dvh; min-height: 0; }

  .game-screen {
    --compact-board-size: min(100%, 300px, max(220px, calc(100dvh - 350px)));
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding-top: calc(8px + var(--safe-t));
    padding-bottom: calc(5px + var(--safe-b));
  }

  .game-header { padding-bottom: 6px; }
  .game-header strong { font-size: 34px; }
  .icon-btn { width: 38px; height: 38px; }
  .goal-row { margin-bottom: 6px; font-size: 11px; }
  .energy-panel { margin-bottom: 12px; padding: 7px 10px 9px; }
  .energy-head { margin-bottom: 5px; font-size: 10px; }
  .energy-track { height: 14px; }
  .game-screen .board { width: var(--compact-board-size); align-self: center; gap: 2px; }
  .game-screen .energy-panel { width: var(--compact-board-size); align-self: center; }
  .tray-label { display: flex; align-items: baseline; justify-content: space-between; margin: 17px 3px 2px; font-size: 15px; }
  .tray-label small { display: inline; margin: 0; font-size: 11px; }
  .tray { min-height: calc(var(--cell) * 3 + var(--piece-gap) * 2 + 4px); }
  .piece-card { min-height: calc(var(--cell) * 3 + var(--piece-gap) * 2 + 4px); padding: 2px; }
  .game-tip { display: flex; margin-top: 16px; padding: 6px 9px; gap: 7px; font-size: 11px; }
  .game-tip .mini-row { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .row-clear-burst,
  .score-pop.show,
  .clear-fragment,
  .reward-clear-cell,
  .reward-overlay.show { animation-duration: .01ms; }
}
