/* Word Hunt — Sky Island look. Chunky Soft Emoji UI + Three.js board.
   Layout: phones/tablets in portrait stack the board over the word list;
   anything landscape puts the word list in a column on the left. */

.wh-root {
  --ink: #263238;
  --white: #ffffff;
  --cream: #fff8e7;
  --yellow: #ffd54f;
  --red: #e53935;
  --blue: #1e88e5;
  --green: #43a047;
  --pink: #f48fb1;
  --orange: #ff9800;
  --sky: #4fb8f5;
  --outline: 5px;
  --ease-pop: cubic-bezier(0.34, 1.4, 0.64, 1);
  --mt: clamp(1.15rem, 4.6vw, 1.55rem); /* mini letter tile size */
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: linear-gradient(180deg, #4fb8f5 0%, #9bdcff 58%, #e4f6ff 100%);
  overflow: hidden;
  font-family: "Fredoka", "Nunito", system-ui, sans-serif;
  color: var(--white);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}

/* ── Drifting clouds ── */
.wh-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.wh-cloud {
  position: absolute;
  width: 9rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 0 rgba(38, 50, 56, 0.05);
  animation: wh-drift linear infinite;
}

.wh-cloud::before,
.wh-cloud::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: inherit;
}

.wh-cloud::before {
  width: 4.2rem;
  height: 4.2rem;
  left: 1.3rem;
  top: -2rem;
}

.wh-cloud::after {
  width: 3.2rem;
  height: 3.2rem;
  left: 4.3rem;
  top: -1.4rem;
}

.wh-cloud--a { top: 14%; left: -12rem; animation-duration: 70s; }
.wh-cloud--b { top: 46%; left: -12rem; transform: scale(0.7); animation-duration: 95s; animation-delay: -40s; opacity: 0.8; }
.wh-cloud--c { top: 74%; left: -12rem; transform: scale(1.2); animation-duration: 80s; animation-delay: -20s; }
.wh-cloud--d { top: 28%; left: -12rem; transform: scale(0.55); animation-duration: 110s; animation-delay: -70s; opacity: 0.7; }

@keyframes wh-drift {
  from { translate: 0 0; }
  to { translate: calc(100vw + 24rem) 0; }
}

/* ── Top bar ── */
.wh-chrome {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: max(0.7rem, env(safe-area-inset-top)) max(0.8rem, env(safe-area-inset-right)) 0.35rem
    max(0.8rem, env(safe-area-inset-left));
}

.wh-chrome__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wh-exit {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--orange);
  border: var(--outline) solid var(--white);
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  box-shadow: 0 6px 0 rgba(38, 50, 56, 0.18);
}

.wh-exit:active {
  transform: translateY(3px) scale(0.92);
  box-shadow: 0 2px 0 rgba(38, 50, 56, 0.18);
}

.wh-level {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: var(--blue);
  border: var(--outline) solid var(--white);
  font-weight: 700;
  font-size: clamp(1rem, 3.8vw, 1.25rem);
  box-shadow: 0 6px 0 rgba(38, 50, 56, 0.16);
  white-space: nowrap;
}

.wh-island-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.8rem;
  padding: 0.25rem 0.8rem 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--green);
  border: var(--outline) solid var(--white);
  color: var(--white);
  font-family: inherit;
  box-shadow: 0 6px 0 rgba(38, 50, 56, 0.16);
  cursor: pointer;
}

.wh-island-btn:active {
  transform: translateY(3px) scale(0.95);
  box-shadow: 0 2px 0 rgba(38, 50, 56, 0.16);
}

.wh-island-btn__icon {
  font-size: 1.45rem;
  line-height: 1;
}

.wh-island-btn__meter {
  display: inline-flex;
  gap: 0.2rem;
}

.wh-island-btn__meter i {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid var(--white);
}

.wh-island-btn__meter i.on {
  background: var(--yellow);
}

.wh-island-btn__badge {
  position: absolute;
  top: -0.55rem;
  right: -0.45rem;
  display: grid;
  place-items: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--red);
  border: 3px solid var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

.wh-island-btn__badge[hidden] {
  display: none;
}

.wh-island-btn.has-crate {
  animation: wh-crate-nudge 1.4s ease-in-out infinite;
}

/* ── Play area: portrait = board on top, word list below ── */
.wh-play {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "board"
    "bank";
  gap: 0.45rem;
  padding: 0 max(0.6rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom))
    max(0.6rem, env(safe-area-inset-left));
}

.wh-boardcol {
  grid-area: board;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.wh-stage {
  position: relative;
  flex: 1;
  min-height: 0;
}

.wh-stage canvas {
  position: absolute;
  inset: 0;
  touch-action: none;
  cursor: pointer;
}

/* Selection preview row above the board */
.wh-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  min-height: calc(var(--mt) * 1.55);
  pointer-events: none;
}

.wh-preview__hint {
  padding: 0.15rem 0.85rem;
  border-radius: 999px;
  background: rgba(38, 50, 56, 0.28);
  font-weight: 700;
  font-size: clamp(0.85rem, 3.4vw, 1rem);
}

.wh-preview i {
  display: grid;
  place-items: center;
  width: calc(var(--mt) * 1.2);
  height: calc(var(--mt) * 1.3);
  border-radius: 0.45rem;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
  font-size: calc(var(--mt) * 0.78);
  animation: wh-tile-in 0.22s var(--ease-pop) both;
}

.wh-preview.is-hit i {
  background: #a5d6a7;
}

.wh-preview.is-miss i {
  background: #ffcdd2;
  animation: wh-miss 0.4s ease both;
}

/* ── Word list panel ── */
.wh-panel {
  grid-area: bank;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem 0.55rem;
  border-radius: 1.25rem;
  background: rgba(255, 248, 231, 0.94);
  border: 4px solid var(--white);
  box-shadow: 0 6px 0 rgba(38, 50, 56, 0.16);
  color: var(--ink);
}

.wh-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.2rem;
}

.wh-panel__title {
  font-weight: 800;
  font-size: clamp(0.95rem, 3.6vw, 1.15rem);
}

.wh-panel__count {
  padding: 0.05rem 0.6rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
}

.wh-bank {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: auto;
  touch-action: pan-y;
}

.wh-word {
  --found: #43a047;
  --found-tile: #c8f7c5;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.45rem 0.22rem 0.25rem;
  border-radius: 999px;
  background: var(--white);
  border: 3px solid #eadfc8;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.wh-word:active {
  transform: scale(0.96);
}

.wh-word__icon {
  display: grid;
  place-items: center;
  width: calc(var(--mt) * 1.45);
  height: calc(var(--mt) * 1.45);
  border-radius: 999px;
  background: #f3ecdc;
  font-size: calc(var(--mt) * 0.95);
  line-height: 1;
  flex: none;
}

.wh-word__text {
  color: var(--ink);
  font-weight: 800;
  font-size: calc(var(--mt) * 0.95);
  letter-spacing: 0.1em;
  line-height: 1.1;
  padding-right: 0.15rem;
  white-space: nowrap;
}

.wh-word__check {
  position: absolute;
  top: -0.45rem;
  left: -0.35rem;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--found);
  border: 3px solid var(--white);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0);
}

.wh-word.is-found {
  background: var(--found-tile);
  border-color: var(--found);
  animation: wh-word-pop 0.6s var(--ease-pop) both;
}

.wh-word.is-found .wh-word__text {
  animation: wh-tile-hop 0.45s ease 0.1s both;
}

.wh-word.is-found .wh-word__check {
  animation: wh-check-in 0.45s var(--ease-pop) 0.2s both;
}

.wh-word.is-found .wh-word__icon {
  background: var(--white);
}

.wh-word.is-said {
  animation: wh-said 0.5s ease both;
}

/* Word that flies from the board into the list */
.wh-fly {
  position: fixed;
  z-index: 40;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--fly, var(--green));
  border: 3px solid var(--white);
  box-shadow: 0 4px 0 rgba(38, 50, 56, 0.25);
  color: var(--white);
  font-weight: 800;
  font-size: calc(var(--mt) * 0.95);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* ── Landscape (tablets, desktop, phones on their side): list on the left ── */
@media (orientation: landscape) and (min-width: 560px) {
  .wh-play {
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: clamp(11.5rem, 25vw, 17rem) minmax(0, 1fr);
    grid-template-areas: "bank board";
    gap: 0.8rem;
  }

  .wh-panel {
    align-self: center;
    max-height: 100%;
  }

  .wh-bank {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.4rem;
  }

  .wh-word {
    border-radius: 1rem;
    padding: 0.3rem 0.5rem 0.3rem 0.3rem;
  }
}

/* Short landscape phones: tighter chrome, smaller tiles, two-column list */
@media (orientation: landscape) and (max-height: 500px) {
  .wh-root {
    --mt: clamp(0.95rem, 4.2vh, 1.2rem);
  }

  .wh-chrome {
    padding-top: max(0.35rem, env(safe-area-inset-top));
    padding-bottom: 0.15rem;
  }

  .wh-exit,
  .wh-level,
  .wh-island-btn {
    min-height: 2.4rem;
    --outline: 4px;
  }

  .wh-exit {
    width: 2.4rem;
    height: 2.4rem;
  }

  .wh-panel__head {
    display: none;
  }

  .wh-bank {
    gap: 0.3rem;
  }
}

/* Big screens: slightly larger list tiles */
@media (min-width: 1100px) and (min-height: 700px) {
  .wh-root {
    --mt: 1.7rem;
  }
}

/* ── Level complete overlay ── */
.wh-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(38, 50, 56, 0.4);
}

.wh-overlay[hidden] {
  display: none !important;
}

.wh-overlay__card {
  width: min(22rem, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 1.4rem 1.25rem 1.3rem;
  border-radius: 1.5rem;
  background: var(--green);
  border: var(--outline) solid var(--white);
  box-shadow: 0 12px 0 rgba(38, 50, 56, 0.22);
  text-align: center;
}

.wh-overlay__card--celebrate {
  background: linear-gradient(160deg, #43a047 0%, #1e88e5 100%);
}

.wh-overlay.is-pop .wh-overlay__card {
  animation: wh-card-pop 0.55s var(--ease-pop) both;
}

.wh-celebrate {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.8rem;
  margin-bottom: 0.3rem;
}

.wh-celebrate__hero {
  font-size: clamp(3.2rem, 14vw, 4.6rem);
  line-height: 1;
  filter: drop-shadow(0 6px 0 rgba(38, 50, 56, 0.18));
}

.wh-overlay.is-pop .wh-celebrate__hero {
  animation: wh-hero-bounce 0.7s var(--ease-pop) both;
}

.wh-celebrate__burst {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  line-height: 1;
  transform: translateY(-0.6rem) rotate(-12deg);
}

.wh-celebrate__burst--r {
  transform: translateY(-0.35rem) rotate(14deg);
}

.wh-overlay.is-pop .wh-celebrate__burst {
  animation: wh-burst-wiggle 0.8s var(--ease-pop) both;
}

.wh-overlay.is-pop .wh-celebrate__burst--r {
  animation-delay: 0.08s;
}

.wh-overlay__title {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 2.3rem);
  font-weight: 800;
  text-shadow: 0 3px 0 rgba(38, 50, 56, 0.18);
}

.wh-overlay__sub {
  margin: 0.45rem 0 0;
  font-weight: 700;
  font-size: clamp(1rem, 3.6vw, 1.12rem);
  opacity: 0.95;
  line-height: 1.35;
}

.wh-overlay__action {
  margin-top: 1rem;
  min-height: 3.2rem;
  padding: 0.55rem 1.5rem;
  border-radius: 999px;
  background: var(--yellow);
  border: var(--outline) solid var(--white);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 7px 0 rgba(38, 50, 56, 0.2);
  cursor: pointer;
}

.wh-overlay__action:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(38, 50, 56, 0.2);
}

.wh-stars {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  min-height: 2.6rem;
}

.wh-stars span {
  font-size: 2.3rem;
  line-height: 1;
  filter: drop-shadow(0 3px 0 rgba(38, 50, 56, 0.2));
  animation: wh-star-in 0.5s var(--ease-pop) both;
}

.wh-stars span.off {
  filter: grayscale(1) opacity(0.35);
}

.wh-crate-meter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.7rem auto 0;
  width: min(15rem, 100%);
}

.wh-crate-meter__track {
  flex: 1;
  height: 1.2rem;
  border-radius: 999px;
  background: rgba(38, 50, 56, 0.3);
  border: 3px solid var(--white);
  overflow: hidden;
}

.wh-crate-meter__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe082, #ffb300);
  transition: width 0.7s var(--ease-pop);
}

.wh-crate-meter__crate {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 3px 0 rgba(38, 50, 56, 0.2));
}

.wh-crate-meter.is-full .wh-crate-meter__crate {
  animation: wh-crate-shake 0.6s ease-in-out infinite;
}

.wh-overlay__later {
  display: block;
  margin: 0.6rem auto 0;
  padding: 0.3rem 1rem;
  border: 0;
  background: none;
  color: var(--white);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  opacity: 0.9;
  cursor: pointer;
}

.wh-overlay__later[hidden] {
  display: none;
}

@media (orientation: landscape) and (max-height: 500px) {
  .wh-overlay__card {
    padding: 0.8rem 1rem;
  }
  .wh-celebrate {
    min-height: 3rem;
  }
  .wh-celebrate__hero {
    font-size: 2.8rem;
  }
  .wh-stars span {
    font-size: 1.8rem;
  }
}

/* ── Keyframes ── */
@keyframes wh-card-pop {
  from { opacity: 0; transform: scale(0.72) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes wh-hero-bounce {
  0% { transform: scale(0.4) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.18) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes wh-burst-wiggle {
  0% { opacity: 0; transform: translateY(8px) scale(0.5) rotate(0deg); }
  55% { opacity: 1; transform: translateY(-10px) scale(1.15) rotate(-16deg); }
  100% { opacity: 1; transform: translateY(-0.6rem) scale(1) rotate(-12deg); }
}

@keyframes wh-tile-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.5); }
  to { opacity: 1; transform: none; }
}

@keyframes wh-miss {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

@keyframes wh-word-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

@keyframes wh-tile-hop {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-6px); }
}

@keyframes wh-check-in {
  from { opacity: 0; transform: scale(0) rotate(-40deg); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes wh-said {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.08) rotate(-2deg); }
  60% { transform: scale(1.04) rotate(2deg); }
}

@keyframes wh-star-in {
  0% { opacity: 0; transform: scale(0.2) rotate(-40deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes wh-crate-shake {
  0%, 100% { transform: rotate(0) scale(1.1); }
  25% { transform: rotate(-12deg) scale(1.2); }
  75% { transform: rotate(12deg) scale(1.2); }
}

@keyframes wh-crate-nudge {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-5px) rotate(-4deg); }
  30% { transform: translateY(0) rotate(4deg); }
  45% { transform: translateY(0) rotate(0); }
}

@media (max-width: 380px) {
  .wh-island-btn__meter {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wh-cloud,
  .wh-island-btn.has-crate,
  .wh-word.is-found,
  .wh-word.is-found .wh-word__text,
  .wh-overlay.is-pop .wh-overlay__card,
  .wh-overlay.is-pop .wh-celebrate__hero,
  .wh-overlay.is-pop .wh-celebrate__burst {
    animation: none;
  }
  .wh-word.is-found .wh-word__check {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── Settings button + pop-up ── */
.wh-settings-btn {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border-radius: 999px;
  background: #7e57c2;
  border: var(--outline) solid var(--white);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 6px 0 rgba(38, 50, 56, 0.16);
  cursor: pointer;
}

.wh-settings-btn:active {
  transform: translateY(3px) scale(0.95);
  box-shadow: 0 2px 0 rgba(38, 50, 56, 0.16);
}

.wh-settings {
  position: absolute;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(38, 50, 56, 0.45);
}

.wh-settings[hidden] {
  display: none !important;
}

.wh-settings__card {
  width: min(22rem, 100%);
  max-height: 100%;
  overflow: auto;
  border-radius: 1.5rem;
  background: var(--cream);
  border: var(--outline) solid var(--white);
  box-shadow: 0 12px 0 rgba(38, 50, 56, 0.25);
  color: var(--ink);
  animation: wh-card-pop 0.45s var(--ease-pop) both;
}

.wh-settings__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.7rem 0.7rem 1.1rem;
  background: #7e57c2;
  color: var(--white);
}

.wh-settings__head h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.wh-settings__close {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  background: var(--orange);
  border: 4px solid var(--white);
  color: var(--white);
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.wh-settings__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.9rem 0.9rem 0.2rem;
}

.wh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.45rem 0.2rem;
  border-radius: 1rem;
  background: var(--white);
  border: 3px solid #eadfc8;
}

.wh-stat b {
  font-size: 1.3rem;
  font-weight: 800;
}

.wh-stat span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #78909c;
}

.wh-settings__reset {
  padding: 0.7rem 1rem 1.1rem;
  text-align: center;
}

.wh-settings__label {
  margin: 0.3rem 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.wh-settings__help,
.wh-settings__hint {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #546e7a;
}

.wh-settings__hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.wh-hold {
  position: relative;
  width: 100%;
  min-height: 3.2rem;
  margin-top: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--red);
  border: var(--outline) solid var(--white);
  color: var(--white);
  font-family: inherit;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 6px 0 rgba(38, 50, 56, 0.22);
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
}

.wh-hold__fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: #b71c1c;
}

.wh-hold.is-holding .wh-hold__fill {
  width: 100%;
  transition: width 2s linear;
}

.wh-hold__text {
  position: relative;
}

.wh-hold.is-done {
  background: var(--green);
}

.wh-hold.is-done .wh-hold__fill {
  display: none;
}

@media (orientation: landscape) and (max-height: 500px) {
  .wh-settings-btn {
    width: 2.4rem;
    height: 2.4rem;
    --outline: 4px;
  }
}
