/* WATCHING PAINT DRY — cheesy slow-drying chrome */
:root {
  --ink: #0d1a1f;
  --pink: #ff2d92;
  --hot: #ff4d8d;
  --yellow: #ffe14a;
  --mint: #5ee0b5;
  --cream: #fff6e0;
  --sky: #7ec8ff;
  --neon: #39f7ff;
  --lime: #c8ff3d;
  --orange: #ff8a2a;
  --teal: #2a9d8f;
  --teal-deep: #1a5c55;
  --paint: #d4a574;
  --paint-wet: #e8c9a0;
  --panel: rgba(13, 26, 31, 0.92);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  height: 100vh;
  height: 100dvh;
  height: var(--app-h, 100vh);
  background: #0d1a1f;
  color: var(--cream);
  font-family: "Trebuchet MS", "Arial Black", Impact, sans-serif;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  overscroll-behavior: none;
  touch-action: manipulation;
  position: fixed;
  inset: 0;
  width: 100%;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 40%, #1a3a42 0%, #0d1a1f 70%);
}

#game {
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  max-width: 100%;
  max-height: 100%;
  image-rendering: auto;
  background: #2a3a42;
  display: block;
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 10px var(--neon), 0 20px 80px rgba(0,0,0,.55);
  cursor: crosshair;
  touch-action: none;
}

.hidden { display: none !important; }

/* HUD */
#hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  margin: auto;
}

#hud-left {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  z-index: 2;
}

/* Wetness specimen box */
#drybox {
  --dry: 0;
  background: var(--ink);
  color: var(--neon);
  border: 4px solid var(--cream);
  box-shadow: 6px 6px 0 var(--pink), -3px -3px 0 var(--teal);
  padding: 8px;
  transform: rotate(-2deg);
  width: 118px;
  text-align: center;
}

.drybox-tag {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--mint);
  font-weight: 900;
  margin-bottom: 6px;
}

.drybox-glass {
  position: relative;
  height: 220px;
  width: 100%;
  border: 3px solid var(--cream);
  background:
    linear-gradient(180deg, rgba(126,200,255,0.18) 0%, rgba(42,157,143,0.12) 40%, rgba(13,26,31,0.4) 100%);
  box-shadow:
    inset 0 0 0 2px var(--neon),
    inset 10px 0 18px rgba(255,255,255,0.12);
  overflow: hidden;
}

.drybox-glass::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(255,246,224,0.28);
  pointer-events: none;
}

.drybox-shine {
  position: absolute;
  top: 0; left: 8%;
  width: 22%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.22), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 4;
}

.drybox-goal-line {
  position: absolute;
  left: 0; right: 0;
  bottom: 8%;
  border-top: 2px dashed var(--yellow);
  z-index: 5;
  pointer-events: none;
}
.drybox-goal-line span {
  position: absolute;
  right: 3px;
  top: -11px;
  font-size: 8px;
  letter-spacing: 0.5px;
  color: var(--yellow);
  background: var(--ink);
  padding: 0 3px;
  font-weight: 900;
}

.drybox-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.drybox-ticks i {
  position: absolute;
  left: 0;
  width: 10px;
  border-top: 2px solid rgba(255,246,224,0.55);
}
.drybox-ticks i b {
  position: absolute;
  left: 12px;
  top: -7px;
  font-size: 8px;
  font-style: normal;
  color: rgba(255,246,224,0.7);
  font-weight: 900;
}

#drybox-fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(100% * (1 - var(--dry)));
  background: linear-gradient(180deg, #7ec8ff 0%, #2a9d8f 55%, #1a5c55 100%);
  opacity: 0.72;
  transition: height 0.2s linear;
  z-index: 1;
  box-shadow: inset 0 -4px 12px rgba(255,255,255,0.25);
}

#drybox-now {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--dry) * 88% + 6%);
  border-top: 2px solid var(--pink);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 8px var(--pink);
  transition: bottom 0.18s linear;
}
#drybox-now::after {
  content: "NOW";
  position: absolute;
  right: 2px;
  top: -11px;
  font-size: 8px;
  font-weight: 900;
  color: var(--pink);
  letter-spacing: 1px;
}

#drybox.critical .drybox-glass {
  box-shadow: inset 0 0 0 2px var(--pink), inset 0 0 24px rgba(255,45,146,0.45);
}
#drybox.wet .drybox-glass {
  box-shadow: inset 0 0 0 2px var(--neon), inset 0 0 22px rgba(57,247,255,0.28);
}

#dry-value {
  margin-top: 6px;
  font-size: 14px;
  line-height: 0.95;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--pink);
}

#dry-job {
  margin-top: 3px;
  font-size: 10px;
  color: var(--cream);
  letter-spacing: 1px;
}

#hud-score {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  min-width: 280px;
}

#score-label {
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--yellow);
  text-shadow: 0 0 12px var(--pink), 2px 2px 0 var(--ink);
  animation: pulse 0.8s ease-in-out infinite;
}

#score-value {
  font-size: 52px;
  font-weight: 900;
  line-height: 0.9;
  color: #fff;
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--teal-deep), 0 0 24px rgba(57, 247, 255, 0.45);
  transition: transform 0.08s ease-out, color 0.08s ease-out;
}

#score-sub {
  font-size: 13px;
  color: var(--ink);
  background: var(--cream);
  display: inline-block;
  padding: 2px 10px;
  margin-top: 2px;
  transform: rotate(-1deg);
  font-weight: 800;
}

#hud-right {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  text-align: right;
}

#cover-wrap {
  background: var(--ink);
  border: 3px solid var(--cream);
  box-shadow: 4px 4px 0 var(--neon);
  padding: 6px 10px;
  transform: rotate(1deg);
  min-width: 120px;
}

#cover-label, #quality-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--mint);
  font-weight: 900;
}

#cover-meter {
  width: 100%;
  height: 12px;
  border: 2px solid var(--cream);
  background: #0a1216;
  margin: 4px 0;
}
#cover-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--paint), var(--yellow));
  transition: width 0.15s linear;
}

#cover-value {
  font-size: 16px;
  font-weight: 900;
  color: var(--yellow);
}

#quality-wrap {
  margin-top: 8px;
  background: var(--ink);
  border: 3px solid var(--pink);
  box-shadow: 4px 4px 0 var(--yellow);
  padding: 6px 10px;
  transform: rotate(-2deg);
}

#quality-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--lime);
  text-shadow: 2px 2px 0 var(--ink);
  line-height: 1;
}

#hint {
  margin-top: 8px;
  font-size: 11px;
  color: var(--cream);
  opacity: 0.8;
}

#intro-banner {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--orange);
  color: #fff;
  border: 4px solid #fff;
  padding: 8px 18px 12px;
  box-shadow: 8px 8px 0 var(--ink);
  min-width: 280px;
  text-align: center;
  animation: flash 0.35s steps(2) infinite;
  pointer-events: none;
}
.intro-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
}
.intro-sub {
  font-size: 13px;
  margin-top: 2px;
  font-weight: 700;
}

/* Screens */
#title-screen, #pause-screen, #victory-screen, #clear-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: auto;
  inset: 0;
  overflow: hidden;
  z-index: 3;
}

#title-screen {
  background:
    repeating-linear-gradient(90deg, #1a5c55 0 18px, #ffe14a 18px 36px, #2a9d8f 36px 54px, #ff2d92 54px 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#title-screen::before {
  content: "";
  position: absolute;
  inset: 16px;
  background:
    radial-gradient(circle at 20% 20%, #39f7ff, transparent 40%),
    radial-gradient(circle at 80% 30%, #d4a574, transparent 40%),
    linear-gradient(#2a4a52, #0d1a1f);
  border: 6px solid var(--ink);
  pointer-events: none;
}

.marquee {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  overflow: hidden;
  background: var(--ink);
  color: var(--neon);
  font-weight: 900;
  letter-spacing: 2px;
  padding: 6px 0;
  z-index: 2;
  border: 3px solid var(--yellow);
  white-space: nowrap;
}
.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 16s linear infinite;
}

.title-hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 72px 36px 48px;
  max-width: 980px;
  width: 100%;
}

.title-poster-wrap {
  position: relative;
  flex: 0 0 auto;
  width: min(260px, 30vw);
  transform: rotate(-2.5deg);
  filter: drop-shadow(10px 12px 0 var(--ink));
}

.title-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border: 5px solid var(--ink);
  background: #0a1216;
}

.title-poster-glow {
  position: absolute;
  inset: -10px;
  border: 3px solid var(--yellow);
  box-shadow: 0 0 28px rgba(57, 247, 255, 0.55), 0 0 0 6px var(--pink);
  pointer-events: none;
}

.title-card {
  position: relative;
  z-index: 2;
  text-align: center;
  background: var(--cream);
  color: var(--ink);
  border: 6px solid var(--ink);
  box-shadow: 12px 12px 0 var(--pink), -8px -8px 0 var(--teal);
  padding: 22px 36px 18px;
  transform: rotate(1deg);
  max-width: 520px;
  flex: 1 1 420px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--pink);
  font-weight: 900;
}

.title-card h1 {
  font-size: clamp(40px, 6.5vw, 62px);
  line-height: 0.85;
  letter-spacing: -2px;
  text-shadow: 4px 4px 0 var(--yellow), 8px 8px 0 var(--teal-deep);
  margin: 8px 0 10px;
}

.tagline {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--pink);
  line-height: 1.25;
}

.subtag {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.8;
  font-weight: 700;
}

@media (max-width: 820px) {
  .title-hero {
    flex-direction: column;
    gap: 14px;
    padding: 64px 20px 40px;
  }
  .title-poster-wrap {
    width: min(170px, 44vw);
  }
  .title-card {
    max-width: 92%;
    padding: 18px 22px 14px;
  }
  .title-card h1 { font-size: 40px; }
  .controls { font-size: 11px; }
}

#btn-start, #btn-resume, #btn-again, #btn-restart-pause, #btn-continue {
  margin-top: 14px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  padding: 10px 24px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  letter-spacing: 1px;
  -webkit-tap-highlight-color: rgba(255, 225, 74, 0.4);
  touch-action: manipulation;
}
#btn-start:hover, #btn-resume:hover, #btn-again:hover, #btn-restart-pause:hover, #btn-continue:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--neon);
}
button.ghost {
  background: var(--cream);
  margin-left: 8px;
}

#btn-continue {
  background: var(--neon);
  width: 100%;
  font-size: 22px;
}

.controls {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  text-align: left;
  font-size: 12px;
}

#pause-screen, #victory-screen, #clear-screen {
  background: rgba(8, 16, 20, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.panel {
  background: var(--cream);
  color: var(--ink);
  border: 6px solid var(--ink);
  padding: 32px 40px;
  text-align: center;
  box-shadow: 10px 10px 0 var(--neon);
  max-width: 560px;
}
.panel h2 {
  font-size: 44px;
  text-shadow: 3px 3px 0 var(--yellow);
}
.panel.victory {
  box-shadow: 10px 10px 0 var(--pink), -6px -6px 0 var(--teal);
}
.panel.clear {
  box-shadow: 10px 10px 0 var(--yellow), -6px -6px 0 var(--neon);
}
.confetti-label {
  background: var(--pink);
  color: #fff;
  display: inline-block;
  padding: 2px 10px;
  font-weight: 900;
  transform: rotate(-6deg);
}
.clear-stage {
  font-size: 22px;
  font-weight: 900;
  color: var(--teal-deep);
  letter-spacing: 2px;
  margin: 4px 0 8px;
}
.clear-stats {
  font-size: 14px;
  font-weight: 700;
  margin: 8px 0 4px;
  line-height: 1.5;
}
.clear-hint {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.65;
  font-weight: 700;
}

#toast {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--yellow);
  border: 3px solid var(--yellow);
  padding: 8px 16px;
  font-weight: 900;
  z-index: 9;
  pointer-events: none;
}

@keyframes pulse {
  50% { transform: scale(1.06); }
}
@keyframes flash {
  50% { filter: brightness(1.35); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ---- mobile / touch chrome ---- */
.ctrl-touch, .hint-touch { display: none; }
body.touch-on .ctrl-kb, body.touch-on .hint-kb { display: none; }
body.touch-on .ctrl-touch, body.touch-on .hint-touch { display: block; }
body.touch-on .controls { grid-template-columns: 1fr; }

img {
  -webkit-user-drag: none;
  user-drag: none;
}

#touch-controls {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

body.touch-on[data-state="play"] #touch-controls,
body.touch-on[data-state="intro"] #touch-controls {
  display: block;
}

.touch-stick {
  pointer-events: auto;
  position: absolute;
  left: max(4px, env(safe-area-inset-left, 0px));
  bottom: max(8px, env(safe-area-inset-bottom, 0px));
  width: min(176px, 46vmin);
  height: min(176px, 46vmin);
  touch-action: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.stick-base {
  position: relative;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  border: 5px solid var(--yellow);
  background: rgba(13, 26, 31, 0.45);
  box-shadow: 5px 5px 0 rgba(57, 247, 255, 0.4), inset 0 0 0 3px var(--ink);
}

.stick-cross {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 246, 224, 0.35);
  pointer-events: none;
}
.stick-cross::before,
.stick-cross::after {
  content: "";
  position: absolute;
  background: rgba(255, 225, 74, 0.28);
  pointer-events: none;
}
.stick-cross::before {
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 3px;
  transform: translateX(-50%);
}
.stick-cross::after {
  top: 50%;
  left: 8%;
  right: 8%;
  height: 3px;
  transform: translateY(-50%);
}

.stick-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  height: 46%;
  margin: -23% 0 0 -23%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #7ee8dc, #2a9d8f 62%, #1a5c55);
  border: 4px solid var(--ink);
  box-shadow: 0 5px 0 var(--yellow), 0 0 12px rgba(57, 247, 255, 0.55);
  pointer-events: none;
}

.stick-label {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--ink);
  pointer-events: none;
}

.touch-stick.is-held .stick-base {
  background: rgba(13, 26, 31, 0.65);
  box-shadow: 5px 5px 0 var(--neon), inset 0 0 0 3px var(--ink);
}

.touch-fix {
  pointer-events: auto;
  position: absolute;
  right: max(10px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: min(118px, 30vmin);
  height: min(118px, 30vmin);
  border-radius: 50%;
  border: 5px solid var(--ink);
  background: radial-gradient(circle at 30% 28%, #9af0e8, var(--neon) 55%, #2a9d8f);
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(16px, 4.2vmin, 22px);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.05;
  box-shadow: 0 0 0 4px var(--yellow), 6px 6px 0 var(--ink), 0 0 18px rgba(57, 247, 255, 0.55);
  touch-action: none;
  cursor: pointer;
  transform: rotate(-8deg);
  animation: pulse 0.9s ease-in-out infinite;
  text-shadow: 1px 1px 0 #fff;
}

.touch-fix.is-held,
.touch-fix:active {
  transform: rotate(-8deg) scale(0.94);
  background: var(--pink);
  color: #fff;
  animation: none;
}

.touch-pause {
  pointer-events: auto;
  position: absolute;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + min(118px, 30vmin) + 10px);
  min-width: 72px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 4px solid var(--ink);
  background: rgba(255, 225, 74, 0.82);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 4px 4px 0 var(--neon);
  touch-action: manipulation;
  cursor: pointer;
  transform: rotate(4deg);
}

.touch-pause:active {
  background: var(--neon);
  transform: rotate(4deg) translate(1px, 1px);
}

@media (orientation: portrait) {
  #game {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max(100%, calc(var(--app-h, 100dvh) * 16 / 9));
    height: max(100%, calc(var(--app-w, 100vw) * 9 / 16));
    max-width: none;
    max-height: none;
    box-shadow: none;
  }

  #hud-score { min-width: 0; width: min(46vw, 280px); }
  #score-value { font-size: clamp(28px, 8vw, 44px); -webkit-text-stroke: 3px var(--ink); }
  #score-label { font-size: 11px; letter-spacing: 2px; }
  #dry-value { font-size: clamp(11px, 3.2vw, 14px); }
  #drybox { width: 88px; padding: 6px; }
  .drybox-glass { height: 150px; }
  .drybox-tag { font-size: 8px; letter-spacing: 2px; }
  #intro-banner {
    top: max(118px, calc(env(safe-area-inset-top, 0px) + 100px));
    min-width: min(280px, 86vw);
    padding: 6px 12px 10px;
  }
  .intro-title { font-size: 20px; }
  #toast {
    bottom: 32%;
    max-width: 80vw;
    text-align: center;
  }
  #hud-score { top: max(8px, env(safe-area-inset-top, 0px)); }
  #cover-wrap, #quality-wrap { min-width: 90px; padding: 4px 6px; }
  #quality-value { font-size: 20px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .touch-stick {
    width: min(128px, 34vmin);
    height: min(128px, 34vmin);
  }
  .touch-fix {
    width: min(88px, 24vmin);
    height: min(88px, 24vmin);
    font-size: 14px;
  }
  .touch-pause {
    bottom: calc(max(8px, env(safe-area-inset-bottom, 0px)) + min(88px, 24vmin) + 8px);
    min-height: 36px;
    font-size: 11px;
  }
  #hud-score { min-width: 180px; }
  #score-value { font-size: 32px; }
  #drybox { width: 72px; padding: 4px; }
  .drybox-glass { height: 110px; }
  .drybox-tag { display: none; }
  #dry-job { font-size: 8px; }
  .title-poster-wrap { width: min(110px, 22vw); }
  .title-hero { padding: 48px 16px 32px; gap: 12px; }
  .title-card { padding: 10px 16px 10px; }
  .title-card h1 { font-size: 32px; }
  .tagline { font-size: 14px; }
  .marquee { top: 10px; left: 12px; right: 12px; }
}

@media (max-width: 820px), (pointer: coarse) {
  #btn-start, #btn-resume, #btn-again, #btn-restart-pause, #btn-continue {
    min-height: 52px;
    font-size: 18px;
    padding: 12px 22px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  button.ghost { margin-left: 0; }
  .panel { padding: 22px 18px; max-width: min(560px, 94vw); }
  .panel h2 { font-size: clamp(26px, 8vw, 40px); }
  .title-hero {
    padding: max(56px, calc(env(safe-area-inset-top, 0px) + 44px)) 16px max(28px, calc(env(safe-area-inset-bottom, 0px) + 20px));
  }
  .marquee {
    top: max(10px, env(safe-area-inset-top, 0px));
    left: max(10px, env(safe-area-inset-left, 0px));
    right: max(10px, env(safe-area-inset-right, 0px));
  }
}

@media (orientation: portrait) and (max-width: 600px) {
  .title-hero {
    flex-direction: column;
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .title-poster-wrap { width: min(150px, 40vw); }
  .title-card { max-width: 100%; padding: 14px 14px 12px; }
  .title-card h1 { font-size: clamp(32px, 11vw, 48px); }
  .controls { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .touch-fix, .marquee span, #score-label, #intro-banner {
    animation: none;
  }
}

/* rewarded-ad CTA (only shown on portals with rewarded ads; hidden elsewhere) */
#btn-reward-retry, #btn-reward-bonus {
  background: var(--yellow, #ffe14a);
  color: var(--ink, #1a1a1a);
  width: 100%;
  margin-left: 0;
  margin-top: 6px;
  font-size: 18px;
}
#btn-reward-retry:hover, #btn-reward-bonus:hover {
  background: var(--lime, #c8ff3d);
}
#btn-reward-retry.hidden, #btn-reward-bonus.hidden { display: none; }

/* flat title art rendered from the game itself: centre it (posters were top-anchored) */
.title-poster { object-position: center center; }
