@font-face {
  font-family: 'Assistant';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../font/Assistant/Assistant-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Assistant';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../font/Assistant/Assistant-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Assistant';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../font/Assistant/Assistant-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Assistant';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../font/Assistant/Assistant-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Assistant';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../font/Assistant/Assistant-ExtraBold.ttf') format('truetype');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow: hidden;
  background: #0a0a12;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
}
canvas {
  display: block;
}
#info {
  display: none;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 140, 50, 0.3);
  z-index: 100;
}
#info h3 {
  margin-bottom: 8px;
  color: #ff8c32;
}
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a12;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: #ffffff;
}
#loading #loading-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}
#loading #progress-bar-wrap {
  width: 260px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 16px;
  overflow: hidden;
}
#loading #progress-bar-wrap #progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff8c32, #e85d04);
  border-radius: 3px;
  transition: width 0.2s ease;
}
#loading #progress-label {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #ff8c32;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#debug {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 12px;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  z-index: 100;
  border: 1px solid rgba(255, 140, 50, 0.2);
}
#controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  z-index: 100;
  border: 1px solid rgba(255, 140, 50, 0.3);
}
#controls label {
  display: block;
  margin-bottom: 8px;
  color: #ff8c32;
  font-size: 12px;
}
#controls input {
  width: 180px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  font-size: 13px;
  margin-bottom: 10px;
}
#controls input:focus {
  outline: none;
  border-color: #ff8c32;
}
#controls button {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #ff8c32, #e85d04);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}
#controls button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255, 140, 50, 0.4);
}
#gotoplaces,
#settimes {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 5px;
  border-radius: 10px;
  z-index: 100;
  border: 1px solid rgba(255, 140, 50, 0.3);
  width: 130px;
}
#gotoplaces button,
#settimes button {
  width: 120px;
  padding: 10px;
  margin-bottom: 3px;
  background: linear-gradient(135deg, #ff8c32, #e85d04);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}
#gotoplaces button:hover,
#settimes button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255, 140, 50, 0.4);
}
#settimes {
  top: 20px;
  left: 20px;
}
#titleimage {
  pointer-events: none;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 1s;
  z-index: 99;
}
#titleimage.transparent {
  opacity: 0;
}
#titleimage.hidden {
  display: none;
}
#titleimage .titleimage {
  width: 66vw;
  aspect-ratio: 20 / 8;
  background-image: url("../img/missionakkusicherheit.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  max-width: 792px;
  margin-bottom: -8px;
}
html.lang-fr #titleimage .titleimage {
  background-image: url("../img/missionakkusicherheit_fr.png");
}
#titleimage .titleimage-intro {
  pointer-events: none;
  max-width: 640px;
  width: 86vw;
  margin: 0 24px;
  text-align: center;
  color: #ffffff;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 18px rgba(0, 0, 0, 0.65);
}
#titleimage .titleimage-intro .intro-text {
  font-size: 29px;
  font-weight: 700;
  line-height: 1.35;
}
#titleimage .titleimage-intro p {
  margin: 0 0 14px;
}
#titleimage .titleimage-intro p:last-child {
  margin: 0;
}
#titleimage .titleimage-intro strong {
  color: #ff8c32;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(232, 93, 4, 0.6), 0 0 14px rgba(0, 0, 0, 0.8);
}
#titleimage .titleimage-intro button {
  margin-top: 26px;
}
#titleimage .vkg-logo {
  position: absolute;
  bottom: 22px;
  right: 26px;
  width: 330px;
  height: auto;
  box-sizing: content-box;
  opacity: 1;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 14px;
  border-radius: 10px;
  pointer-events: none;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
}
#titleimage button {
  pointer-events: all;
  padding: 0.55rem 4.2rem;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 0 rgba(120, 10, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.55);
  background: linear-gradient(to bottom, #ffd24a 0%, #ff7a1a 45%, #e8260a 100%);
  border: none;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(220, 50, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.55), inset 0 -5px 12px rgba(160, 20, 0, 0.55);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
#titleimage button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(220, 50, 0, 0.55), 0 8px 18px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.6), inset 0 -5px 12px rgba(160, 20, 0, 0.55);
}
#titleimage button:active {
  transform: translateY(2px);
  box-shadow: 0 6px 14px rgba(220, 50, 0, 0.35), 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 3px 8px rgba(120, 10, 0, 0.55), inset 0 -2px 4px rgba(255, 200, 100, 0.35);
}
#wallClock {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 100px;
  height: 100px;
  z-index: 400;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translateX(calc(-100% - 30px));
  transition: transform 0.55s cubic-bezier(0.2, 0.85, 0.25, 1.15), opacity 0.35s ease;
}
#wallClock.visible {
  opacity: 1;
  transform: translateX(0);
}
#wallClock img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
}
#wallClock .bg {
  z-index: 1;
}
#wallClock .hand-h {
  z-index: 2;
}
#wallClock .hand-m {
  z-index: 3;
}
#characterChooser {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 500;
  opacity: 0;
  transition: opacity 0.35s ease;
}
#characterChooser.visible {
  opacity: 1;
}
#characterChooser .cc-box {
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  text-align: center;
  max-width: 90vw;
}
#characterChooser .cc-title {
  color: #ffffff;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}
#characterChooser .cc-row {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}
#characterChooser .cc-card {
  width: 220px;
  background: rgba(20, 22, 30, 0.6);
  border: 2px solid rgba(255, 140, 50, 0.4);
  border-radius: 12px;
  padding: 12px 12px 14px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
#characterChooser .cc-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #ff8c32;
  background: rgba(40, 35, 30, 0.78);
  box-shadow: 0 10px 28px rgba(255, 140, 50, 0.4);
}
#characterChooser .cc-canvas {
  width: 100%;
  height: 280px;
  display: block;
  background: radial-gradient(ellipse at 50% 65%, rgba(255, 140, 50, 0.18) 0%, transparent 60%);
  border-radius: 8px;
}
#characterChooser .cc-name {
  margin-top: 10px;
  color: #ff8c32;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.5px;
}
#gameUI {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
}
#gameUI * {
  box-sizing: border-box;
}
#gameUI .gameui-notification,
#gameUI .gameui-thought,
#gameUI .gameui-thought-continue,
#gameUI .gameui-dialog,
#gameUI .gameui-choice,
#gameUI .gameui-clock,
#gameUI .gameui-explanation,
#gameUI .gameui-gameover,
#gameUI .gameui-success,
#gameUI .gameui-endscreen {
  opacity: 0;
  pointer-events: none;
}
#gameUI .visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}
#gameUI .hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}
#gameUI .dialog-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px 0;
}
#testpanel,
#debug {
  display: none;
}
body.debug-visible:not(.game-running) #testpanel {
  display: block;
}
body.debug-visible:not(.game-running) #debug {
  display: block;
}
body.game-running #testpanel,
body.game-running #debug {
  display: none !important;
}
html:not(.preview) #testpanel,
html:not(.preview) #debug,
html:not(.preview) #situationPicker,
html:not(.preview) .gameui-abort {
  display: none !important;
}
#situationPicker {
  position: fixed;
  bottom: 14px;
  left: 14px;
  z-index: 350;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 140, 50, 0.3);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  font-size: 12px;
}
#situationPicker .sp-label {
  color: #ff8c32;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
#situationPicker select {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: 1px solid rgba(255, 140, 50, 0.35);
  border-radius: 4px;
  padding: 3px 6px;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  font-size: 12px;
}
#situationPicker select:focus {
  outline: 1px solid #ff8c32;
}
#situationPicker button {
  padding: 4px 10px;
  background: linear-gradient(135deg, #ff8c32, #e85d04);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
}
#situationPicker button:hover {
  filter: brightness(1.15);
}
#situationPicker .sp-current {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-left: 4px;
}
#topControls {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 400;
  display: flex;
  align-items: stretch;
  height: 36px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  overflow: hidden;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
}
#topControls .tc-sep {
  width: 1px;
  background: rgba(255, 140, 50, 0.4);
  margin: 6px 0;
}
#topControls #soundToggle,
#topControls #fullscreenBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: #ff8c32;
  font-size: 18px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
#topControls #soundToggle:hover,
#topControls #fullscreenBtn:hover {
  color: #ffffff;
  background: rgba(255, 140, 50, 0.4);
}
#topControls #soundToggle svg {
  display: block;
}
#topControls #langSwitch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}
#topControls #langSwitch button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 15px;
  padding: 2px 4px;
  cursor: pointer;
  transition: color 0.15s;
}
#topControls #langSwitch button:hover {
  color: #ffffff;
}
#topControls #langSwitch button.active {
  color: #ff8c32;
  font-weight: 700;
}
#topControls #langSwitch .sep {
  opacity: 0.5;
}
.btn-start-game {
  background: linear-gradient(135deg, #50dc78, #2c9c4d) !important;
}
.gameui-abort {
  position: fixed;
  top: 58px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 80, 80, 0.25);
  border: 1px solid rgba(255, 80, 80, 0.5);
  color: #ffffff;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  z-index: 401;
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.gameui-abort:hover {
  transform: scale(1.08);
  background: rgba(255, 80, 80, 0.45);
  box-shadow: 0 0 16px rgba(255, 80, 80, 0.5);
}
.gameui-notification {
  position: absolute;
  top: 50%;
  right: 30px;
  left: auto;
  transform: translate(calc(100% + 60px), -50%);
  pointer-events: auto;
  transition: transform 0.5s cubic-bezier(0.2, 0.85, 0.25, 1.15), opacity 0.3s ease;
  z-index: 302;
}
.gameui-notification.visible {
  transform: translate(0, -50%);
}
.gameui-notification.style-mobile .phone {
  position: relative;
  width: 340px;
  background: linear-gradient(160deg, #2a2a32 0%, #14141c 100%);
  border-radius: 38px;
  padding: 16px 12px 14px;
  box-shadow: 0 0 0 3px #0a0a10, 0 14px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.gameui-notification.style-mobile .phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.gameui-notification.style-mobile .phone-screen {
  background: linear-gradient(180deg, #1c1c26 0%, #0e0e16 100%);
  border-radius: 26px;
  padding: 34px 14px 14px;
  position: relative;
  min-height: 600px;
}
.gameui-notification.style-mobile .phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}
.gameui-notification.style-mobile .phone-statusbar .signal {
  letter-spacing: 1px;
  font-size: 9px;
  opacity: 0.8;
}
.gameui-notification.style-mobile .phone-statusbar .status-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.gameui-notification.style-mobile .phone-statusbar .battery.low {
  color: #ff5050;
  font-weight: bold;
}
.gameui-notification.style-mobile .notif-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.gameui-notification.style-mobile .app-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ff8c32, #e85d04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.gameui-notification.style-mobile .text-area {
  flex: 1;
  min-width: 0;
}
.gameui-notification.style-mobile .head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}
.gameui-notification.style-mobile .app-name {
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
}
.gameui-notification.style-mobile .body {
  font-size: 13px;
  color: #ffffff;
  line-height: 1.35;
  word-wrap: break-word;
}
.gameui-notification.style-mobile .notif-btn {
  display: block;
  margin: 0 auto;
  padding: 9px 30px;
  background: linear-gradient(135deg, #ff8c32, #e85d04);
  border: none;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.gameui-notification.style-mobile .notif-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(255, 140, 50, 0.4);
}
.gameui-notification.style-task .task-banner {
  background: rgba(20, 20, 28, 0.94);
  border: 1px solid rgba(255, 140, 50, 0.4);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: 12px;
  min-width: 320px;
  max-width: 520px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.gameui-notification.style-task .task-title {
  font-size: 12px;
  font-weight: bold;
  color: #ff8c32;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.gameui-notification.style-task .task-text {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 14px;
}
.gameui-notification.style-task .notif-btn {
  padding: 9px 24px;
  background: linear-gradient(135deg, #ff8c32, #e85d04);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.gameui-notification.style-task .notif-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(255, 140, 50, 0.4);
}
.gameui-thought-continue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  pointer-events: auto;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 301;
}
.gameui-thought-continue.visible {
  transform: translateX(-50%) translateY(0);
}
.gameui-thought-continue .cont-btn {
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.96);
  border: none;
  border-radius: 24px;
  color: #1a1a2e;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gameui-thought-continue .cont-btn .arrow {
  display: inline-block;
  animation: pulse-down 1.2s ease-in-out infinite;
}
.gameui-thought-continue .cont-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}
@keyframes pulse-down {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}
@keyframes calloutPop {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
.gameui-thought {
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #ffffff;
  color: #222;
  padding: 18px 26px;
  border-radius: 28px;
  max-width: 520px;
  text-align: center;
  font-size: 15px;
  font-style: italic;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s, transform 0.4s;
  z-index: 301;
}
.gameui-thought.visible {
  transform: translateX(-50%) translateY(0);
}
.gameui-thought .bubble-tail {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.gameui-thought .bubble-tail span {
  display: block;
  background: #ffffff;
  border-radius: 50%;
}
.gameui-thought .bubble-tail span:nth-child(1) {
  width: 14px;
  height: 14px;
}
.gameui-thought .bubble-tail span:nth-child(2) {
  width: 8px;
  height: 8px;
}
.gameui-dialog {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translate(calc(100% + 60px), -50%);
  pointer-events: auto;
  transition: transform 0.55s cubic-bezier(0.2, 0.85, 0.25, 1.15), opacity 0.3s ease;
  z-index: 302;
}
.gameui-dialog.visible {
  transform: translate(0, -50%);
}
.gameui-dialog .dialog-box {
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 14px;
  padding: 24px 26px;
  width: 380px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}
.gameui-dialog .text {
  color: #ffffff;
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 18px;
  font-weight: 500;
}
.gameui-dialog .next-btn,
.gameui-explanation .next-btn,
.gameui-gameover .restart-btn,
.gameui-success .restart-btn,
.gameui-endscreen .restart-btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, #ff8c32, #e85d04);
  border: none;
  color: #ffffff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-size: 14px;
}
.gameui-dialog .next-btn:hover,
.gameui-explanation .next-btn:hover,
.gameui-gameover .restart-btn:hover,
.gameui-success .restart-btn:hover,
.gameui-endscreen .restart-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(255, 140, 50, 0.4);
}
.gameui-choice {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translate(calc(100% + 60px), -50%);
  pointer-events: auto;
  transition: transform 0.55s cubic-bezier(0.2, 0.85, 0.25, 1.15), opacity 0.3s ease;
  z-index: 302;
}
.gameui-choice.visible {
  transform: translate(0, -50%);
}
.gameui-choice .choice-box {
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 14px;
  padding: 20px 22px;
  width: 360px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.gameui-choice .choice-question {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.3;
}
.gameui-choice .choice-cards-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gameui-choice .choice-card {
  background: rgba(20, 22, 30, 0.6);
  color: #ffffff;
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s, background 0.12s;
}
.gameui-choice .choice-card:hover {
  transform: translateX(-3px);
  border-color: #ff8c32;
  background: rgba(40, 35, 30, 0.75);
  box-shadow: 0 4px 16px rgba(255, 140, 50, 0.25);
}
.gameui-choice .card-image {
  width: 100%;
  height: 60px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  margin-bottom: 8px;
  background-color: rgba(255, 255, 255, 0.05);
}
.gameui-choice .card-label {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 2px;
  color: #ff8c32;
}
.gameui-choice .card-desc {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.35;
}
.gameui-clock {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translate(calc(100% + 60px), -50%);
  pointer-events: auto;
  transition: transform 0.55s cubic-bezier(0.2, 0.85, 0.25, 1.15), opacity 0.3s ease;
  z-index: 302;
}
.gameui-clock.visible {
  transform: translate(0, -50%);
}
.gameui-clock .clock-box {
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 14px;
  padding: 20px 22px;
  width: 380px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.gameui-clock .clock-question {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 14px;
  line-height: 1.3;
}
.gameui-clock .clock-face-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 14px;
  overflow: visible;
}
.gameui-clock .clock-face {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  user-select: none;
  touch-action: none;
}
.gameui-clock .option-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.gameui-clock .clock-bg {
  fill: rgba(255, 255, 255, 0.94);
  stroke: #ff8c32;
  stroke-width: 6;
}
.gameui-clock .hour-mark {
  fill: rgba(20, 20, 40, 0.55);
  font-size: 11px;
  font-weight: 500;
  text-anchor: middle;
  dominant-baseline: central;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  user-select: none;
}
.gameui-clock .hour-mark.major {
  fill: #1a1a2e;
  font-size: 14px;
  font-weight: 700;
}
.gameui-clock .hour-tick {
  stroke: rgba(20, 20, 40, 0.35);
  stroke-width: 1;
  stroke-linecap: round;
}
.gameui-clock .hour-tick.major {
  stroke: #ff8c32;
  stroke-width: 2;
}
.gameui-clock .hour-hand {
  stroke: #ff8c32;
  stroke-width: 6;
  stroke-linecap: round;
  pointer-events: none;
}
.gameui-clock .hour-hand-grip {
  fill: #ff8c32;
  stroke: #fff;
  stroke-width: 2;
  cursor: grab;
  transition: r 0.12s;
}
.gameui-clock .hour-hand-grip:active {
  cursor: grabbing;
}
.gameui-clock .hand-group:hover .hour-hand-grip {
  r: 18;
}
.gameui-clock .center-dot {
  fill: #1a1a2e;
  pointer-events: none;
}
.gameui-clock .option-dot {
  fill: rgba(80, 220, 120, 0.55);
  stroke: #50dc78;
  stroke-width: 2;
  transition: fill 0.15s, r 0.15s, filter 0.15s;
  pointer-events: none;
}
.gameui-clock .option-dot.selected {
  fill: #50dc78;
  filter: drop-shadow(0 0 8px rgba(80, 220, 120, 0.95));
}
.gameui-clock .option-callout-host {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.gameui-clock .option-callout {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  animation: calloutPop 0.25s cubic-bezier(0.2, 0.85, 0.25, 1.15) forwards;
  background: #50dc78;
  color: #fff;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  max-width: 140px;
  min-width: 60px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(80, 220, 120, 0.55);
}
.gameui-clock .option-callout::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}
.gameui-clock .option-callout.pointer-down::before {
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 7px 0 7px;
  border-color: #50dc78 transparent transparent transparent;
}
.gameui-clock .option-callout.pointer-up::before {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 7px 8px 7px;
  border-color: transparent transparent #50dc78 transparent;
}
.gameui-clock .option-callout.pointer-right::before {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #50dc78;
}
.gameui-clock .option-callout.pointer-left::before {
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 7px 8px 7px 0;
  border-color: transparent #50dc78 transparent transparent;
}
.gameui-clock .time-readout {
  margin-bottom: 14px;
}
.gameui-clock .time-display {
  color: #ff8c32;
  font-size: 26px;
  font-weight: bold;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  margin-bottom: 4px;
  letter-spacing: 2px;
}
.gameui-clock .selected-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  min-height: 18px;
  font-style: italic;
}
.gameui-clock .confirm-btn {
  padding: 11px 36px;
  background: linear-gradient(135deg, #ff8c32, #e85d04);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
  font-family: inherit;
}
.gameui-clock .confirm-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.gameui-clock .confirm-btn:not(:disabled):hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(255, 140, 50, 0.4);
}
.gameui-explanation {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  transition: opacity 0.3s;
  z-index: 302;
}
.gameui-explanation .exp-box {
  background: rgba(20, 20, 28, 0.97);
  color: #ffffff;
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.gameui-explanation .exp-header {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 14px;
  text-align: center;
}
.gameui-explanation .exp-header.correct {
  color: #50dc78;
}
.gameui-explanation .exp-header.wrong {
  color: #dc5050;
}
.gameui-explanation .exp-text {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 20px;
  text-align: center;
}
.gameui-explanation .next-btn {
  display: block;
  margin: 0 auto;
}
.gameui-gameover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  pointer-events: auto;
  transition: opacity 0.4s;
  z-index: 303;
}
.gameui-gameover .go-box {
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(255, 80, 50, 0.6);
  border-radius: 14px;
  padding: 32px 40px;
  text-align: center;
  max-width: 480px;
  box-shadow: 0 0 60px rgba(255, 80, 50, 0.4);
}
.gameui-gameover .go-title {
  font-size: 32px;
  font-weight: bold;
  color: #ff5050;
  margin-bottom: 14px;
}
.gameui-gameover .go-reason {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.5;
}
.gameui-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  pointer-events: auto;
  transition: opacity 0.4s;
  z-index: 303;
}
.gameui-success .su-box {
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(80, 220, 120, 0.6);
  border-radius: 14px;
  padding: 32px 40px;
  text-align: center;
  max-width: 480px;
  box-shadow: 0 0 60px rgba(80, 220, 120, 0.4);
}
.gameui-success .su-title {
  font-size: 32px;
  font-weight: bold;
  color: #50dc78;
  margin-bottom: 14px;
}
.gameui-success .su-text {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.5;
}
.gameui-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 299;
}
.gameui-scoreboard {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
}
.gameui-scoreboard .sb-title {
  background: #1c1f25;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 7px 18px;
  border-radius: 22px;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.gameui-scoreboard .sb-icons {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 78vw;
}
.score-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.score-icon.empty {
  background-image: url("../img/score-empty.svg");
  opacity: 0.3;
}
.score-icon.correct {
  background-image: url("../img/score-thumb.svg");
}
.score-icon.wrong {
  background-image: url("../img/score-fire.svg");
}
.score-icon.pop {
  animation: sb-pop 0.8s cubic-bezier(0.2, 1.5, 0.35, 1);
}
.score-icon.emerge {
  animation: sb-emerge 0.9s ease-out;
}
@keyframes sb-pop {
  0% {
    transform: scale(0.2) rotate(-12deg);
    opacity: 0.2;
  }
  55% {
    transform: scale(1.35) rotate(6deg);
  }
  75% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
@keyframes sb-emerge {
  0% {
    transform: scale(0.3) translateY(12px);
    opacity: 0.2;
    filter: brightness(2) drop-shadow(0 0 10px #ff8c32);
  }
  45% {
    transform: scale(1.28) translateY(0);
    filter: brightness(1.5) drop-shadow(0 0 18px #ff5a1a);
  }
  70% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: none;
  }
}
.gameui-explanation .exp-box.fx-pending {
  opacity: 0;
}
.gameui-explanation .exp-box.fx-correct {
  animation: exp-pop 1s cubic-bezier(0.16, 1.5, 0.3, 1);
}
.gameui-explanation .exp-box.fx-wrong {
  animation: exp-wrong 1s ease-out;
}
.fx-fire {
  position: fixed;
  pointer-events: none;
  z-index: 700;
  overflow: visible;
}
.fx-fire .flame {
  position: absolute;
  transform-origin: 50% 100%;
  opacity: 0;
  animation-name: flame-fx;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
.fx-fire .flame-core {
  position: absolute;
  inset: 0;
  transform-origin: 50% 100%;
  border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  background: linear-gradient(to top, #fff2b0 0%, #ffd23f 22%, #ff8c32 52%, #ff3b12 80%, rgba(255, 59, 18, 0) 100%);
  filter: blur(1px);
  animation-name: flame-flicker;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes flame-flicker {
  0% {
    opacity: 1;
    transform: scale(1, 1);
  }
  50% {
    opacity: 0.38;
    transform: scale(1.2, 0.78);
  }
  100% {
    opacity: 0.85;
    transform: scale(0.8, 1.24);
  }
}
.fx-fire .smoke {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(130, 130, 135, 0.5) 0%, rgba(95, 95, 100, 0.34) 45%, rgba(70, 70, 75, 0) 74%);
  filter: blur(3px);
  animation-name: smoke-fx;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
@keyframes flame-fx {
  0% {
    opacity: 0;
    transform: translateY(0) scaleY(0.3) scaleX(0.7);
  }
  14% {
    opacity: 1;
    transform: translateY(0) scaleY(1) scaleX(1);
  }
  40% {
    opacity: 1;
    transform: translateY(calc(var(--rise) * 0.3)) scaleY(1.3) scaleX(0.88);
  }
  68% {
    opacity: 0.9;
    transform: translateY(calc(var(--rise) * 0.62)) scaleY(1.08) scaleX(1.06);
  }
  100% {
    opacity: 0;
    transform: translateY(var(--rise)) scaleY(0.65) scaleX(0.5);
  }
}
@keyframes smoke-fx {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }
  22% {
    opacity: 0.5;
  }
  72% {
    opacity: 0.34;
  }
  100% {
    opacity: 0;
    transform: translate(var(--sx), var(--srise)) scale(var(--sgrow));
  }
}
@keyframes exp-pop {
  0% {
    transform: scale(0.35) rotate(-5deg);
    opacity: 0;
  }
  45% {
    transform: scale(1.14) rotate(2.5deg);
  }
  68% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
@keyframes exp-wrong {
  0% {
    transform: scale(0.45) translateY(34px);
    opacity: 0;
    filter: drop-shadow(0 0 26px #ff5a1a) brightness(1.6);
  }
  38% {
    transform: scale(1.1) translateY(0);
    filter: drop-shadow(0 0 34px #ff7a2a);
  }
  54% {
    transform: translateX(-9px);
  }
  68% {
    transform: translateX(7px);
  }
  82% {
    transform: translateX(-4px);
  }
  100% {
    transform: scale(1) translateX(0);
    opacity: 1;
    filter: none;
  }
}
.gameui-endscreen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  pointer-events: auto;
  transition: opacity 0.4s;
  z-index: 303;
}
.gameui-endscreen .end-box {
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(80, 220, 120, 0.6);
  border-radius: 14px;
  padding: 32px 40px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 0 60px rgba(80, 220, 120, 0.4);
  animation: exp-pop 0.9s cubic-bezier(0.16, 1.4, 0.3, 1);
}
.gameui-endscreen .end-box.missed {
  border-color: rgba(255, 140, 50, 0.6);
  box-shadow: 0 0 60px rgba(255, 140, 50, 0.35);
}
.gameui-endscreen .end-box.missed .end-title {
  color: #ff8c32;
}
.gameui-endscreen .end-badge {
  font-size: 44px;
  margin-bottom: 4px;
}
.gameui-endscreen .end-title {
  font-size: 30px;
  font-weight: bold;
  color: #50dc78;
  margin-bottom: 10px;
}
.gameui-endscreen .end-summary {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 22px;
  line-height: 1.5;
}
.gameui-endscreen .end-miss {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.5;
}
.gameui-endscreen .end-link {
  display: inline-block;
  margin-bottom: 22px;
  padding: 12px 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #50dc78, #2c9c4d);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.gameui-endscreen .end-link:hover {
  transform: scale(1.04);
  box-shadow: 0 0 22px rgba(80, 220, 120, 0.5);
}
.gameui-endscreen .restart-btn {
  display: block;
  margin: 0 auto;
}
.confetti {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 600;
  will-change: transform, opacity;
  animation: confetti-fly 1.7s cubic-bezier(0.15, 0.6, 0.4, 1) forwards;
}
@keyframes confetti-fly {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 1;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--vx), calc(var(--vy) + 340px)) rotate(var(--rot));
    opacity: 0;
  }
}
.ember {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 600;
  box-shadow: 0 0 8px #ff8c32;
  animation: ember-rise 1.25s ease-out forwards;
}
@keyframes ember-rise {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--ex), var(--ey)) scale(0.2);
    opacity: 0;
  }
}
#objectLabels {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
}
.obj-label {
  position: fixed;
  transform: translate(-50%, -100%);
  max-width: 220px;
  padding: 6px 12px;
  background: rgba(20, 22, 30, 0.82);
  color: #ffffff;
  border: 1px solid rgba(255, 140, 50, 0.4);
  border-radius: 8px;
  font-family: 'Assistant', 'Roboto Condensed', 'Segoe UI', Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s, border-color 0.1s, background 0.1s;
}
.obj-label:hover {
  border-color: #ff8c32;
  background: rgba(40, 35, 30, 0.9);
}
.obj-label:active {
  transform: translate(-50%, -100%) scale(0.96);
}
@media (max-width: 640px) {
  #titleimage .titleimage {
    width: 100vw;
    max-width: none;
    margin-bottom: 0;
  }
  #titleimage .titleimage-intro {
    width: 92vw;
    font-size: 19px;
  }
  #titleimage .titleimage-intro .intro-text {
    font-size: 23px;
  }
  #titleimage .vkg-logo {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(62vw, 210px);
    bottom: 12px;
    padding: 4px 10px;
  }
  #characterChooser .cc-box {
    padding: 16px 12px;
    max-width: 96vw;
  }
  #characterChooser .cc-title {
    font-size: 17px;
    margin-bottom: 14px;
  }
  #characterChooser .cc-row {
    gap: 10px;
    flex-wrap: nowrap;
  }
  #characterChooser .cc-card {
    width: 42vw;
    max-width: 160px;
    padding: 8px;
  }
  #characterChooser .cc-canvas {
    width: 100%;
    height: 46vw;
    max-height: 220px;
  }
  #characterChooser .cc-name {
    font-size: 15px;
  }
  .gameui-dialog .dialog-box {
    padding: 18px 18px;
  }
  .gameui-dialog .text {
    font-size: 17px;
  }
  .gameui-explanation .exp-box {
    padding: 18px 18px;
  }
  .gameui-explanation .exp-header {
    font-size: 22px;
  }
  .gameui-notification .notif-card {
    padding: 10px 11px;
  }
  .gameui-choice .choice-card {
    padding: 10px 11px;
  }
  .gameui-choice .card-label {
    font-size: 14px;
  }
  .gameui-choice .card-desc {
    font-size: 12px;
  }
  .gameui-endscreen .end-box {
    padding: 22px 20px;
    max-width: 92vw;
  }
  .gameui-endscreen .end-title {
    font-size: 24px;
  }
  .gameui-endscreen .end-summary {
    font-size: 15px;
  }
  .obj-label {
    font-size: 12px;
    padding: 5px 9px;
    max-width: 42vw;
  }
  .gameui-scoreboard {
    top: 8px;
    left: 10px;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100vw - 20px);
  }
  .gameui-scoreboard .sb-title {
    padding: 4px 10px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .gameui-scoreboard .sb-icons {
    gap: 6px;
    max-width: none;
    flex-wrap: nowrap;
  }
  .score-icon {
    width: 24px;
    height: 24px;
  }
  #wallClock {
    top: 78px;
    left: 10px;
    width: 84px;
    height: 84px;
  }
  #topControls {
    height: 32px;
  }
  #topControls #soundToggle,
  #topControls #fullscreenBtn {
    width: 32px;
    font-size: 16px;
  }
  #topControls #langSwitch {
    padding: 0 6px;
    font-size: 13px;
  }
  #topControls #langSwitch button {
    font-size: 13px;
  }
}
