/* Missão 72h 1.1 — share-unlocked word bonus. */
body.game-v13 #resultOverlay .campaign-share-hint strong {
  color: #f58200;
}

body.game-v13 #resultOverlay .bonus-unlock {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  overflow: hidden;
  color: #320a4b;
  background: #ffb400;
  border-bottom: 5px solid #f58200;
  animation: bonus-unlock-in 420ms cubic-bezier(.2, .75, .25, 1) both;
}

body.game-v13 #resultOverlay .bonus-unlock[hidden] {
  display: none !important;
}

body.game-v13 #resultOverlay .bonus-unlock::after {
  content: "";
  position: absolute;
  top: -46px;
  right: 25%;
  width: 86px;
  height: 140px;
  background: #f58200;
  opacity: .42;
  transform: rotate(22deg);
  pointer-events: none;
}

body.game-v13 #resultOverlay .bonus-unlock > * {
  position: relative;
  z-index: 1;
}

body.game-v13 #resultOverlay .bonus-unlock p {
  margin: 0 0 3px;
  color: #640a55;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.game-v13 #resultOverlay .bonus-unlock h3 {
  margin: 0;
  color: #320a4b;
  font-size: 1.25rem;
  line-height: 1.05;
}

body.game-v13 #resultOverlay #bonusStartButton {
  min-height: 48px;
  padding: 10px 14px;
  color: #fff;
  background: #320a4b;
  border: 0;
  border-bottom: 4px solid #640a55;
  font-weight: 900;
  cursor: pointer;
}

body.game-v13 #resultOverlay #bonusStartButton span {
  margin-left: 12px;
}

@keyframes bonus-unlock-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

body.game-v13[data-screen="bonusOverlay"],
body.game-v13[data-screen="bonusOverlay"] .app-shell,
body.game-v13 #bonusOverlay,
body.game-v13 #bonusOverlay .word-bonus-panel {
  color: #fff;
  background: #320a4b;
}

body.game-v13 #bonusOverlay {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

body.game-v13 #bonusOverlay .word-bonus-panel {
  position: relative;
  isolation: isolate;
  width: min(100%, 1180px);
  max-width: 1180px;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 46px);
  overflow: hidden;
}

body.game-v13 #bonusOverlay .word-bonus-panel::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -18%;
  right: -20%;
  width: 58%;
  height: 138%;
  background: #f58200;
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%, 24% 68%, 8% 43%);
}

body.game-v13 #bonusOverlay .word-bonus-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 22%;
  bottom: -20%;
  width: 180px;
  height: 82%;
  background: #b41900;
  opacity: .82;
  transform: rotate(22deg);
}

body.game-v13 #bonusOverlay :is(button, a):focus-visible {
  outline: 3px solid #ffb400;
  outline-offset: 4px;
}

.bonus-toolbar {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ffffff55;
}

.bonus-toolbar > span {
  font-size: .84rem;
  font-weight: 900;
}

.bonus-back {
  min-height: 44px;
  padding: 8px 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.bonus-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, .84fr);
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  min-height: calc(100svh - 130px);
}

.bonus-intro-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding-block: 32px;
}

.bonus-kicker,
.bonus-round-header > p,
.bonus-clue-label {
  margin: 0 0 12px;
  color: #ffb400;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.game-v13 #bonusOverlay h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.6rem, 8vw, 6.7rem);
  line-height: .84;
  letter-spacing: -.055em;
}

body.game-v13 #bonusOverlay .bonus-intro h2 {
  font-size: clamp(3.6rem, 7vw, 5.4rem);
}

body.game-v13 #bonusOverlay .bonus-finish h2 {
  font-size: clamp(3.4rem, 5.8vw, 5.2rem);
}

.bonus-intro-copy > p:not(.bonus-kicker):not(.bonus-rule) {
  max-width: 540px;
  margin: 30px 0 22px;
  color: #f4edf7;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.bonus-rule {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0 0 28px;
  color: #fff;
  font-size: .95rem;
}

.bonus-rule strong {
  color: #ffb400;
}

.bonus-primary {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-width: 240px;
  min-height: 58px;
  padding: 15px 20px;
  color: #320a4b;
  background: #ffb400;
  border: 0;
  border-bottom: 5px solid #f58200;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.bonus-primary:hover {
  background: #fff;
}

.bonus-photo {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  margin: 0;
  pointer-events: none;
}

.bonus-photo img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -4%;
  width: min(120%, 540px);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 22px #20053055);
}

.bonus-photo-fragment {
  position: absolute;
  inset: 12% -12% 4% 8%;
  background: #ffb400;
  clip-path: polygon(17% 0, 100% 0, 100% 72%, 73% 100%, 0 90%, 9% 34%);
}

.bonus-play {
  padding-top: 24px;
}

.bonus-round-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.bonus-round-header > p {
  margin: 0;
  color: #fff;
}

.bonus-attempts {
  display: grid;
  grid-template-columns: repeat(6, 30px);
  gap: 6px;
}

.bonus-attempt {
  height: 11px;
  background: #ffb400;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  transition: background .18s, opacity .18s, transform .18s;
}

.bonus-attempt.is-spent {
  background: #b41900;
  opacity: .34;
  transform: translateY(3px);
}

.bonus-game-layout {
  display: block;
  max-width: 720px;
}

.bonus-word-area {
  position: relative;
  z-index: 2;
  grid-area: word;
  min-width: 0;
}

.bonus-reward-copy {
  position: relative;
  z-index: 3;
  grid-area: copy;
  max-width: 720px;
}

.word-bonus-panel[data-bonus-resolved="true"] .bonus-game-layout {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(400px, 1.02fr);
  grid-template-areas:
    "word photo"
    "copy photo";
  column-gap: clamp(30px, 6vw, 82px);
  align-items: start;
  max-width: none;
}

body.game-v13 #bonusOverlay .word-bonus-panel[data-bonus-resolved="true"] .bonus-clue {
  font-size: clamp(2rem, 3.3vw, 2.75rem);
}

body.game-v13 #bonusOverlay .bonus-clue {
  max-width: 720px;
  min-height: 2.2em;
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.bonus-word {
  display: grid;
  grid-template-columns: repeat(var(--letters, 9), minmax(0, 1fr));
  gap: clamp(4px, 1vw, 11px);
  width: 100%;
  max-width: 720px;
  margin: clamp(32px, 6vh, 60px) 0 30px;
}

.bonus-letter-slot {
  display: grid;
  place-items: center;
  min-width: 0;
  height: clamp(44px, 6vw, 66px);
  color: #fff;
  border-bottom: clamp(4px, .55vw, 7px) solid #fff;
  font-size: clamp(1.55rem, 4.3vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.bonus-keyboard {
  display: grid;
  grid-template-columns: repeat(9, minmax(44px, 1fr));
  gap: 7px;
  max-width: 720px;
}

.bonus-keyboard[hidden] {
  display: none !important;
}

.bonus-key {
  min-width: 0;
  min-height: 48px;
  padding: 5px 2px;
  color: #320a4b;
  background: #fff;
  border: 0;
  border-bottom: 4px solid #cdbfd4;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.bonus-key:hover:not(:disabled) {
  background: #ffb400;
  border-color: #f58200;
}

.bonus-key:disabled {
  color: #ffffffcc;
  background: #640a55;
  border-color: #4a123f;
  cursor: default;
}

.bonus-key.is-correct:disabled {
  color: #320a4b;
  background: #ffb400;
  border-color: #f58200;
}

.bonus-key.is-wrong:disabled {
  color: #fff;
  background: #b41900;
  border-color: #7f1200;
}

.word-bonus-feedback {
  max-width: 720px;
  min-height: 30px;
  margin-top: 20px;
  color: #eee4f3;
  line-height: 1.4;
}

.word-bonus-feedback.is-reveal {
  padding: 14px 0 14px 18px;
  color: #fff;
  background: transparent;
  border-left: 8px solid #f58200;
  font-size: 1.08rem;
}

.word-bonus-feedback.is-failure {
  padding: 16px 18px;
  color: #fff;
  background: #b41900;
  border-color: #fff;
}

.word-bonus-feedback strong {
  display: block;
  margin-bottom: 2px;
  color: #ffb400;
  font-size: 1.12em;
  font-weight: 900;
}

.word-bonus-feedback.is-failure strong {
  color: #fff;
}

.bonus-next {
  margin-top: 16px;
}

.bonus-round-photo {
  position: relative;
  isolation: isolate;
  grid-area: photo;
  min-height: 570px;
  margin: -28px 0 0;
  overflow: hidden;
  pointer-events: none;
}

.bonus-round-photo[hidden] {
  display: none !important;
}

.bonus-round-photo::after {
  content: "";
  position: absolute;
  z-index: -2;
  right: -15%;
  bottom: 2%;
  width: 58%;
  height: 46%;
  background: #b41900;
  clip-path: polygon(38% 0, 100% 13%, 100% 100%, 0 100%, 12% 48%);
  opacity: .92;
}

.bonus-round-fragment {
  position: absolute;
  z-index: -1;
  top: -5%;
  left: 22%;
  width: min(52%, 250px);
  height: auto;
  transform: rotate(-67deg);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 11px 0 #ffb400);
}

.bonus-round-object {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 4%;
  width: min(108%, 520px);
  max-height: 88%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translate(-48%, 20px) scale(.93);
  filter: drop-shadow(0 24px 22px #16001e77);
}

.bonus-round-photo[data-word="powerbank"] .bonus-round-object {
  width: min(90%, 430px);
}

.bonus-round-photo.is-visible .bonus-round-object {
  animation: bonus-reward-in 720ms cubic-bezier(.18, .84, .28, 1) both;
}

@keyframes bonus-reward-in {
  to {
    opacity: 1;
    transform: translate(-48%, 0) scale(1);
  }
}

.bonus-finish {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: start;
  gap: clamp(30px, 7vw, 90px);
  max-width: none;
  min-height: calc(100svh - 130px);
  padding: clamp(54px, 10vh, 110px) 0 40px;
}

.bonus-finish-copy > p:not(.bonus-kicker) {
  max-width: 650px;
  margin: 32px 0;
  color: #f4edf7;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.bonus-finish-copy > p strong {
  color: #ffb400;
}

.bonus-survey {
  max-width: 650px;
  margin: 42px 0 30px;
  padding-top: 18px;
  border-top: 8px solid #f58200;
}

.bonus-survey-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 26px;
}

.bonus-survey-header p,
.bonus-survey-header span,
.bonus-survey-step {
  margin: 0;
  color: #ffb400;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bonus-survey-header span {
  color: #f4edf7;
  font-size: .7rem;
  letter-spacing: .05em;
}

body.game-v13 #bonusOverlay .bonus-survey h3 {
  max-width: 610px;
  margin: 10px 0 22px;
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.bonus-survey-options {
  display: grid;
  gap: 8px;
  max-width: 610px;
}

.bonus-survey-option {
  position: relative;
  min-height: 54px;
  padding: 13px 48px 13px 16px;
  color: #320a4b;
  background: #fff;
  border: 0;
  border-bottom: 4px solid #cdbfd4;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: color .16s, background .16s, border-color .16s, transform .16s;
}

.bonus-survey-option::after {
  content: "→";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
}

.bonus-survey-option:hover:not(:disabled),
.bonus-survey-option.is-selected {
  color: #320a4b;
  background: #ffb400;
  border-color: #f58200;
}

.bonus-survey-option.is-selected {
  transform: translateX(6px);
}

.bonus-survey-option:disabled:not(.is-selected) {
  opacity: .55;
}

.bonus-survey-skip {
  min-height: 44px;
  margin-top: 16px;
  padding: 8px 0;
  color: #eee4f3;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.bonus-survey-skip:disabled {
  opacity: .5;
  cursor: default;
}

.bonus-survey-thanks {
  padding: 6px 0 2px;
}

.bonus-survey-thanks[hidden],
.bonus-survey-question[hidden],
.bonus-finish-actions[hidden] {
  display: none !important;
}

.bonus-survey-thanks > p:last-child {
  max-width: 580px;
  margin: 0;
  color: #f4edf7;
  font-size: 1.08rem;
  line-height: 1.45;
}

.bonus-survey-reset {
  min-height: 44px;
  margin-top: 16px;
  padding: 8px 0;
  color: #ffb400;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.bonus-survey-reset[hidden] {
  display: none !important;
}

.bonus-finish-photo {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  margin: 0;
  pointer-events: none;
}

.bonus-finish-photo span {
  position: absolute;
  inset: 8% -16% 5% 3%;
  background: #ffb400;
  clip-path: polygon(18% 0, 100% 0, 100% 74%, 76% 100%, 0 88%, 8% 30%);
}

.bonus-finish-photo img {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -5%;
  width: min(140%, 520px);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 22px #20053055);
}

.bonus-finish-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 430px;
}

.bonus-finish-actions > a {
  width: 100%;
  color: #320a4b;
  font-weight: 900;
  text-decoration: none;
}

.bonus-secondary {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  color: #fff;
  background: #640a55;
  border: 0;
  border-bottom: 4px solid #4a123f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.bonus-return {
  color: #eee4f3;
}

.bonus-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #ffffff55;
}

.bonus-legal-links a {
  min-height: 32px;
  color: #eee4f3;
  font-size: .78rem;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  body.game-v13 #resultOverlay .bonus-unlock {
    grid-template-columns: 1fr;
  }

  body.game-v13 #resultOverlay #bonusStartButton {
    width: 100%;
  }

  body.game-v13 #bonusOverlay .word-bonus-panel {
    padding: 14px 20px calc(210px + env(safe-area-inset-bottom, 0px));
  }

  body.game-v13 #bonusOverlay .word-bonus-panel::before {
    top: 53%;
    right: -38%;
    width: 112%;
    height: 62%;
    transform: rotate(-6deg);
  }

  body.game-v13 #bonusOverlay .word-bonus-panel::after {
    right: 3%;
    bottom: -30%;
  }

  .bonus-toolbar {
    min-height: 44px;
    padding-bottom: 7px;
  }

  .bonus-intro {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .bonus-intro-copy {
    padding: 34px 0 8px;
  }

  body.game-v13 #bonusOverlay h2 {
    font-size: clamp(3.25rem, 17vw, 5.2rem);
  }

  body.game-v13 #bonusOverlay .bonus-intro h2 {
    font-size: clamp(3.25rem, 17vw, 5.2rem);
  }

  body.game-v13 #bonusOverlay .bonus-finish h2 {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
  }

  .bonus-intro-copy > p:not(.bonus-kicker):not(.bonus-rule) {
    margin: 24px 0 18px;
    font-size: 1.08rem;
  }

  .bonus-primary {
    width: 100%;
    min-width: 0;
  }

  .bonus-photo {
    min-height: 330px;
    margin-top: 12px;
  }

  .bonus-photo img {
    width: min(88vw, 330px);
    bottom: -2%;
  }

  .bonus-photo-fragment {
    inset: 12% -24% -8% 14%;
  }

  .bonus-play {
    padding-top: 12px;
  }

  .bonus-round-header {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
  }

  .bonus-attempts {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    flex: 0 1 178px;
    width: min(48%, 178px);
    margin-left: auto;
    gap: 5px;
  }

  .bonus-attempt {
    height: 9px;
  }

  .bonus-game-layout,
  .word-bonus-panel[data-bonus-resolved="true"] .bonus-game-layout {
    display: block;
    max-width: none;
  }

  body.game-v13 #bonusOverlay .bonus-clue {
    min-height: 0;
    font-size: clamp(1.55rem, 7.4vw, 2rem);
    line-height: 1.04;
  }

  .bonus-word {
    gap: 4px;
    margin: 18px 0;
  }

  .bonus-letter-slot {
    height: 42px;
    font-size: clamp(1.3rem, 6.8vw, 1.9rem);
    border-bottom-width: 4px;
  }

  .bonus-keyboard {
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 5px 3px;
  }

  .bonus-key {
    grid-column: span 2;
    min-height: 44px;
    border-bottom-width: 3px;
  }

  .bonus-key:nth-child(22) {
    grid-column: 3 / span 2;
  }

  .word-bonus-feedback {
    min-height: 0;
    margin-top: 14px;
    font-size: .95rem;
  }

  .word-bonus-feedback.is-reveal {
    padding: 13px 0 13px 14px;
  }

  .word-bonus-feedback.is-failure {
    padding: 14px;
  }

  .bonus-next {
    min-height: 52px;
    margin-top: 12px;
  }

  .bonus-round-photo {
    display: block;
    height: 300px;
    min-height: 300px;
    margin: 4px -20px 0;
  }

  .bonus-round-photo::after {
    right: -10%;
    bottom: 0;
    width: 46%;
    height: 43%;
  }

  .bonus-round-fragment {
    top: -38%;
    left: 24%;
    width: 43%;
  }

  .bonus-round-object {
    bottom: 0;
    width: min(78vw, 320px);
    max-height: 100%;
  }

  .bonus-round-photo[data-word="powerbank"] .bonus-round-object {
    width: min(70vw, 280px);
  }

  .word-bonus-panel[data-bonus-resolved="true"] .bonus-play {
    padding-top: 8px;
  }

  .word-bonus-panel[data-bonus-resolved="true"] .bonus-round-header {
    margin-bottom: 9px;
  }

  .word-bonus-panel[data-bonus-resolved="true"] .bonus-clue-label {
    margin-bottom: 7px;
  }

  body.game-v13 #bonusOverlay .word-bonus-panel[data-bonus-resolved="true"] .bonus-clue {
    font-size: clamp(1.5rem, 6.8vw, 1.75rem);
    line-height: 1.02;
  }

  .word-bonus-panel[data-bonus-resolved="true"] .bonus-word {
    margin: 10px 0 4px;
  }

  .word-bonus-panel[data-bonus-resolved="true"] .bonus-round-photo {
    height: 210px;
    min-height: 210px;
    margin-top: 0;
  }

  .word-bonus-panel[data-bonus-resolved="true"] .word-bonus-feedback {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.3;
  }

  .word-bonus-panel[data-bonus-resolved="true"] .word-bonus-feedback.is-reveal {
    padding-block: 10px;
  }

  .word-bonus-panel[data-bonus-resolved="true"] .bonus-next {
    margin-top: 8px;
    scroll-margin-bottom: calc(132px + env(safe-area-inset-bottom, 0px));
  }

  .bonus-finish {
    display: block;
    min-height: 0;
    padding: 48px 0 34px;
  }

  .bonus-finish-copy > p:not(.bonus-kicker) {
    margin: 22px 0;
    font-size: 1.05rem;
  }

  .bonus-survey {
    margin: 32px 0 26px;
    padding-top: 14px;
  }

  .bonus-survey-header {
    margin-bottom: 22px;
  }

  body.game-v13 #bonusOverlay .bonus-survey h3 {
    margin-bottom: 18px;
    font-size: clamp(1.55rem, 7.6vw, 2rem);
  }

  .bonus-survey-option {
    min-height: 52px;
  }

  .bonus-finish-photo {
    display: none;
  }
}

@media (max-width: 370px) {
  body.game-v13 #bonusOverlay .word-bonus-panel {
    padding-inline: 16px;
  }

  body.game-v13 #bonusOverlay h2 {
    font-size: 3.15rem;
  }

  .bonus-keyboard {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4px 3px;
  }

  .bonus-key {
    grid-column: span 2;
    min-height: 44px;
    font-size: .9rem;
  }

  .bonus-key:nth-child(22) {
    grid-column: span 2;
  }

  .bonus-key:nth-child(25) {
    grid-column: 5 / span 2;
  }

  .bonus-round-photo {
    height: 270px;
    min-height: 270px;
    margin-inline: -16px;
  }

  .bonus-round-object {
    width: min(82vw, 270px);
  }

  .bonus-round-photo[data-word="powerbank"] .bonus-round-object {
    width: min(72vw, 245px);
  }

  .word-bonus-panel[data-bonus-resolved="true"] .bonus-round-photo {
    height: 195px;
    min-height: 195px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  body.game-v13 #bonusOverlay .word-bonus-panel {
    min-height: 100svh;
    padding: 12px 24px 24px;
  }

  .bonus-toolbar {
    min-height: 40px;
    padding-bottom: 4px;
  }

  .bonus-intro {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
    min-height: calc(100svh - 56px);
  }

  .bonus-intro-copy {
    padding-block: 14px;
  }

  body.game-v13 #bonusOverlay h2 {
    font-size: clamp(2.8rem, 10vh, 4.6rem);
  }

  body.game-v13 #bonusOverlay :is(.bonus-intro, .bonus-finish) h2 {
    font-size: clamp(2.8rem, 10vh, 4.2rem);
  }

  .bonus-intro-copy > p:not(.bonus-kicker):not(.bonus-rule) {
    margin: 12px 0 10px;
    font-size: .95rem;
  }

  .bonus-rule {
    margin-bottom: 12px;
  }

  .bonus-photo {
    min-height: 280px;
  }

  .bonus-play {
    padding-top: 8px;
  }

  .bonus-round-header {
    margin-bottom: 8px;
  }

  .bonus-game-layout,
  .word-bonus-panel[data-bonus-resolved="true"] .bonus-game-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(200px, .5fr);
    grid-template-areas:
      "word photo"
      "copy photo";
    gap: 24px;
    max-width: none;
  }

  body.game-v13 #bonusOverlay .bonus-clue {
    min-height: 0;
    font-size: 1.7rem;
  }

  .bonus-word {
    margin: 12px 0 10px;
  }

  .bonus-letter-slot {
    height: 36px;
    font-size: 1.6rem;
  }

  .bonus-keyboard {
    grid-template-columns: repeat(12, minmax(36px, 1fr));
    gap: 4px;
  }

  .bonus-key {
    min-height: 36px;
    border-bottom-width: 3px;
    font-size: .85rem;
  }

  .word-bonus-feedback {
    min-height: 22px;
    margin-top: 8px;
    font-size: .86rem;
  }

  .word-bonus-feedback.is-reveal {
    padding: 9px 12px;
  }

  .bonus-next {
    min-height: 44px;
    margin-top: 8px;
    padding-block: 8px;
  }

  .bonus-round-photo {
    display: block;
    min-height: 250px;
    height: auto;
    margin-top: -18px;
  }

  .bonus-round-fragment {
    top: -30%;
  }

  .bonus-round-object {
    width: min(100%, 280px);
    max-height: 100%;
  }

  .bonus-finish {
    display: block;
    max-width: 760px;
    min-height: calc(100svh - 56px);
    padding: 24px 0;
  }

  .bonus-finish-copy > p:not(.bonus-kicker) {
    margin: 16px 0;
    font-size: 1rem;
  }

  .bonus-finish-photo {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.game-v13 #resultOverlay .bonus-unlock {
    animation: none;
  }

  .bonus-attempt {
    transition: none;
  }

  .bonus-round-photo.is-visible .bonus-round-object {
    animation: none;
    opacity: 1;
    transform: translate(-48%, 0) scale(1);
  }
}
