:root {
  color-scheme: dark;
  --night: #091229;
  --cranberry: #a61f45;
  --cranberry-bright: #d33c68;
  --gold: #f6c86b;
  --snow: #fffaf0;
  --muted: #d9e2f1;
  --glass: rgba(7, 17, 39, 0.82);
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  font-family: Inter, ui-rounded, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--snow);
  background:
    linear-gradient(90deg, rgba(4, 11, 27, 0.92) 0%, rgba(4, 11, 27, 0.48) 52%, rgba(4, 11, 27, 0.12) 100%),
    url("/cat-winter.png") center / cover fixed,
    var(--night);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 20% 5%, rgba(76, 112, 183, 0.3), transparent 38%);
}
body.calendar-active {
  background:
    radial-gradient(circle at 50% -10%, rgba(48, 74, 130, 0.34), transparent 45%),
    linear-gradient(180deg, #071126, #040916 78%);
}
button, input { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
main {
  width: min(1380px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 0 56px;
  display: grid;
  align-items: center;
}
.login-card, .intro-card {
  width: min(480px, 100%);
  padding: clamp(28px, 6vw, 50px);
  border-radius: 32px;
}
.intro-card {
  width: min(820px, 100%);
}
.intro-video {
  display: block;
  width: 100%;
  max-height: 58vh;
  margin-top: 24px;
  background: #020714;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.intro-actions, .header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.intro-actions { margin-top: 16px; }
.intro-actions .primary-button {
  width: auto;
  margin-top: 0;
}
.cat-seal {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--cranberry-bright), #7c1838);
  box-shadow: 0 12px 28px rgba(166, 31, 69, 0.35);
  font-size: 32px;
  transform: rotate(-5deg);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 7vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.intro, #welcomeText {
  max-width: 55ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
form { margin-top: 30px; }
label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.password-row { position: relative; }
input {
  width: 100%;
  min-height: 52px;
  padding: 12px 52px 12px 16px;
  color: var(--snow);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  outline: none;
}
input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(246, 200, 107, 0.16);
}
.icon-button {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 40px;
  height: 40px;
  color: white;
  background: transparent;
  border: 0;
  border-radius: 10px;
}
.primary-button, .quiet-button, .copy-button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
}
.primary-button {
  width: 100%;
  margin-top: 14px;
  color: white;
  background: linear-gradient(135deg, var(--cranberry-bright), var(--cranberry));
  box-shadow: 0 10px 28px rgba(166, 31, 69, 0.38);
}
.primary-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.quiet-button {
  color: var(--snow);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
}
.error {
  min-height: 1.4em;
  color: #ffb1c4;
  font-weight: 700;
}
.calendar-shell { align-self: start; width: 100%; }
.calendar-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 26px;
}
.calendar-header h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
.calendar-header p:last-child { margin-bottom: 0; }
.scene-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 18px;
}
.scene-toolbar strong, .scene-toolbar span { display: block; }
.scene-toolbar strong { font-family: Georgia, serif; font-size: 1.08rem; }
.scene-toolbar span { margin-top: 3px; color: var(--muted); font-size: 0.88rem; }
.zoom-controls { display: flex; flex: 0 0 auto; gap: 7px; }
.scene-control {
  min-width: 44px;
  min-height: 42px;
  padding: 0 13px;
  color: var(--snow);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-weight: 850;
}
.scene-control:hover:not(:disabled), .scene-control:focus-visible {
  border-color: var(--gold);
  background: rgba(246, 200, 107, 0.16);
}
.scene-control:disabled { cursor: default; opacity: 0.4; }
.reset-control { min-width: 72px; font-size: 0.84rem; }
.scene-viewport {
  position: relative;
  width: 100%;
  max-height: min(72vh, 780px);
  margin-top: 12px;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  background: #030712;
  border: 1px solid rgba(246, 200, 107, 0.38);
  border-radius: 24px;
  box-shadow: var(--shadow);
  scrollbar-color: rgba(246, 200, 107, 0.7) rgba(4, 10, 24, 0.8);
}
.scene-viewport:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.scene-stage {
  position: relative;
  width: 100%;
  min-width: 100%;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
}
.scene-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  object-fit: cover;
  pointer-events: none;
}
.days-scene { position: absolute; inset: 0; }
.door {
  position: absolute;
  left: var(--door-x);
  top: var(--door-y);
  display: grid;
  place-items: center;
  width: clamp(30px, 2.55vw, 38px);
  height: clamp(30px, 2.55vw, 38px);
  padding: 0;
  color: var(--snow);
  background: linear-gradient(145deg, rgba(114, 44, 66, 0.7), rgba(56, 16, 41, 0.63));
  border: 1px solid rgba(255, 231, 177, 0.72);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 3px #000, 0 0 7px rgba(255, 239, 194, 0.3);
  opacity: 0.86;
  backdrop-filter: blur(1px);
  transform: translate(-50%, -50%) rotate(var(--door-angle));
  transition: transform 150ms ease, filter 150ms ease, box-shadow 180ms ease, opacity 180ms ease;
}
.door-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.78rem, 1.2vw, 0.96rem);
  font-weight: 850;
}
.door-variant-2 { background: linear-gradient(145deg, rgba(27, 91, 66, 0.68), rgba(7, 44, 39, 0.63)); border-radius: 13px; }
.door-variant-3 {
  color: #17101c;
  background: linear-gradient(145deg, rgba(243, 199, 110, 0.74), rgba(187, 125, 50, 0.69));
  border-color: rgba(255, 248, 224, 0.78);
  text-shadow: none;
  border-radius: 45% 55% 50% 46%;
}
.door-variant-4 { background: linear-gradient(145deg, rgba(31, 61, 105, 0.7), rgba(9, 24, 56, 0.65)); border-radius: 12px 50% 50% 50%; }
.door-opened {
  z-index: 2;
  opacity: 1;
  border-color: rgba(255, 236, 170, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.62), 0 0 12px rgba(246, 200, 107, 0.62), 0 0 24px rgba(255, 223, 126, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  animation: opened-door-glow 2.8s ease-in-out infinite;
}
@keyframes opened-door-glow {
  50% { filter: brightness(1.14); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.62), 0 0 17px rgba(246, 200, 107, 0.72), 0 0 30px rgba(255, 223, 126, 0.31), inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
}
.door:hover, .door:focus-visible {
  z-index: 3;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.18);
  opacity: 1;
  filter: brightness(1.2);
  border-color: var(--gold);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.78), 0 0 0 4px rgba(246, 200, 107, 0.23);
}
.door:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.scene-help {
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}
.footer-note {
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
  text-shadow: 0 2px 8px #000;
}
.day-dialog {
  width: min(1480px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  overflow: auto;
  color: var(--snow);
  background: rgba(8, 18, 39, 0.97);
  border: 1px solid rgba(246, 200, 107, 0.35);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.day-dialog.game-dialog {
  width: calc(100vw - 20px);
  max-width: none;
  height: calc(100vh - 20px);
  max-height: none;
  overflow: auto;
  border-radius: 20px;
}
.game-dialog #dialogContent { min-height: 100%; }
.game-dialog .day-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px 22px 22px;
}
.game-dialog .day-kicker { margin: 0 0 2px; }
.game-dialog .day-content > h2 {
  margin: 0 58px 8px 0;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
}
.game-dialog .cat-hunt-card {
  flex: 1;
  min-height: calc(100vh - 125px);
  margin-top: 6px;
  padding: 14px;
}
.game-dialog .hunt-game-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100%;
  min-height: calc(100vh - 155px);
}
.game-dialog .hunt-viewport {
  width: 100%;
  height: 100%;
  max-height: none;
}
.game-dialog .hunt-stage {
  width: max(1050px, min(100%, calc(177.68vh - 337.59px)));
  margin: 0 auto;
}
.day-dialog::backdrop { background: rgba(1, 5, 14, 0.78); backdrop-filter: blur(7px); }
.dialog-close {
  position: sticky;
  float: right;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.6rem;
}
.day-content { padding: clamp(22px, 5vw, 46px); }
.day-kicker { color: var(--gold); font-weight: 800; }
.day-content h2 {
  margin: 8px 55px 20px 0;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
}
.day-message { white-space: pre-wrap; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.day-media {
  display: block;
  width: 100%;
  max-height: 55vh;
  margin: 22px 0;
  border-radius: 18px;
  background: #030712;
}
.key-card {
  margin-top: 26px;
  padding: 18px;
  background: rgba(166, 31, 69, 0.18);
  border: 1px solid rgba(211, 60, 104, 0.42);
  border-radius: 18px;
}
.steam-key {
  display: block;
  margin: 10px 0 14px;
  padding: 13px;
  overflow-wrap: anywhere;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.copy-button { color: var(--night); background: var(--gold); }
.preview-badge {
  display: inline-block;
  margin-bottom: 7px;
  padding: 5px 9px;
  color: #071126;
  background: #bceff8;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}
.game-note, .cat-hunt-card {
  margin-top: 26px;
  padding: 18px;
  background: rgba(20, 62, 75, 0.24);
  border: 1px solid rgba(109, 211, 225, 0.4);
  border-radius: 18px;
}
.game-note p, .cat-hunt-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.snake-card {
  max-width: 720px;
  margin: 26px auto 0;
  padding: 18px;
  color: var(--snow);
  background: linear-gradient(145deg, rgba(29, 91, 78, 0.44), rgba(126, 25, 62, 0.32));
  border: 1px solid rgba(246, 200, 107, 0.55);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  outline: none;
}
.snake-card > strong { color: var(--gold); font-size: 1.12rem; }
.snake-card > p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.snake-stats { display: flex; justify-content: space-between; gap: 10px; margin: 16px 0 10px; color: #e7f7f5; font-weight: 800; }
.snake-board {
  display: block;
  width: min(100%, 600px);
  margin: 0 auto;
  touch-action: none;
  background: #07152a;
  border: 2px solid rgba(246, 200, 107, 0.55);
  border-radius: 14px;
  image-rendering: auto;
}
.snake-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.snake-pad { display: grid; grid-template-columns: repeat(3, 38px); grid-template-areas: ". up ." "left down right"; gap: 5px; }
.snake-direction { width: 38px; height: 38px; padding: 0; color: var(--snow); background: rgba(255,255,255,.13); border: 1px solid var(--line); border-radius: 10px; font-weight: 900; }
.snake-direction.up { grid-area: up; } .snake-direction.left { grid-area: left; } .snake-direction.down { grid-area: down; } .snake-direction.right { grid-area: right; }
.snake-direction:hover { background: rgba(246, 200, 107, .22); border-color: var(--gold); }
.parcours-card {
  max-width: 720px;
  margin: 26px auto 0;
  padding: 18px;
  color: var(--snow);
  background: linear-gradient(145deg, rgba(77, 69, 150, .44), rgba(25, 99, 82, .36));
  border: 1px solid rgba(246, 200, 107, .55);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}
.parcours-card > strong { color: var(--gold); font-size: 1.12rem; }
.parcours-card > p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.parcours-scoreboard { display: flex; justify-content: space-between; gap: 10px; margin: 16px 0 10px; color: #e7f7f5; font-weight: 800; }
.parcours-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
  background: rgba(3, 13, 35, .72);
  border: 2px solid rgba(189, 238, 246, .36);
  border-radius: 17px;
}
.parcours-tile {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 74px;
  padding: 7px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245, 251, 255, .94), rgba(170, 225, 246, .88));
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 13px;
  box-shadow: inset 0 -10px 16px rgba(55, 126, 176, .13);
}
.parcours-tile:nth-child(6n + 2), .parcours-tile:nth-child(6n + 5) { background: linear-gradient(135deg, #f4e1f1, #c9adf3); }
.parcours-tile:nth-child(6n + 3) { background: linear-gradient(135deg, #f9e6b2, #e9ae72); }
.parcours-number { color: #0f3158; font-weight: 950; }
.parcours-special { font-size: 1.22rem; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .14)); }
.parcours-token {
  position: absolute;
  z-index: 3;
  width: 1.9em;
  height: 1.9em;
  display: grid;
  place-items: center;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .28));
  transform: translate(-50%, -50%);
  transition: left 145ms cubic-bezier(.2, .8, .2, 1), top 145ms cubic-bezier(.2, .8, .2, 1), transform 145ms ease;
}
.parcours-token.token-no-transition { transition: none; }
.parcours-token.token-hop { animation: parcours-token-hop 155ms cubic-bezier(.18, .8, .25, 1); }
.kitty-token { text-shadow: 0 1px 0 #fff4de; }
.miez-token { filter: grayscale(1) brightness(.28) contrast(1.5) drop-shadow(0 2px 2px rgba(0, 0, 0, .55)); }
.parcours-won .kitty-token { animation: parcours-bounce 650ms ease-in-out infinite alternate; }
.parcours-status { min-height: 2.7em; margin: 13px 0 0 !important; color: #e8f7fa !important; font-weight: 750; }
.parcours-controls { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.parcours-roll { min-width: 132px; }
.parcours-roll.parcours-dice-rolling { animation: parcours-dice-roll 150ms linear infinite; background: linear-gradient(135deg, #fff5d6, #f0b842); }
@keyframes parcours-bounce { from { transform: translate(-50%, -50%) translateY(0); } to { transform: translate(-50%, -50%) translateY(-8px) rotate(-6deg); } }
@keyframes parcours-token-hop { 45% { transform: translate(-50%, calc(-50% - 10px)) scale(1.08); } 100% { transform: translate(-50%, -50%); } }
@keyframes parcours-dice-roll { 0% { transform: rotate(-9deg) scale(.96); } 50% { transform: rotate(9deg) scale(1.08); } 100% { transform: rotate(-9deg) scale(.96); } }
.shop-card {
  max-width: 720px;
  margin: 26px auto 0;
  padding: 18px;
  color: var(--snow);
  background: linear-gradient(145deg, rgba(35, 84, 88, .52), rgba(116, 57, 80, .36));
  border: 1px solid rgba(246, 200, 107, .55);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}
.shop-card > strong { color: var(--gold); font-size: 1.12rem; }
.shop-card > p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.shop-card h3 { margin: 16px 0 8px; color: #d8f4f0; font-size: 1rem; }
.shop-info { display: flex; justify-content: space-between; gap: 10px; margin: 16px 0 10px; color: #e7f7f5; font-weight: 800; }
.shop-stock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.shop-item { display: flex; align-items: center; gap: 9px; min-height: 68px; padding: 10px; color: #f8f4e9; text-align: left; background: linear-gradient(145deg, rgba(23, 47, 73, .96), rgba(39, 67, 78, .96)); border: 1px solid rgba(189, 238, 246, .36); border-radius: 13px; cursor: pointer; transition: transform 150ms ease, border-color 150ms ease, background 150ms ease; }
.shop-item:hover { transform: translateY(-2px); border-color: var(--gold); }
.shop-item-selected { background: linear-gradient(145deg, #fff1c7, #f5c767); border-color: #fff0b7; color: #392a25; box-shadow: 0 0 16px rgba(246, 200, 107, .35); }
.shop-item-icon { flex: 0 0 auto; font-size: 1.7rem; }
.shop-item-name { font-size: .9rem; font-weight: 750; }
.shop-shelves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.shop-shelf { display: flex; min-height: 125px; flex-direction: column; align-items: center; gap: 5px; padding: 11px 8px; color: #fff9e8; border: 1px solid rgba(255, 255, 255, .25); border-radius: 15px; cursor: pointer; transition: transform 150ms ease, filter 150ms ease; }
.shop-shelf:hover { transform: translateY(-3px); filter: brightness(1.15); }
.shop-potion { background: linear-gradient(160deg, rgba(89, 67, 139, .8), rgba(54, 40, 94, .8)); }
.shop-treat { background: linear-gradient(160deg, rgba(147, 90, 54, .85), rgba(91, 52, 43, .85)); }
.shop-decor { background: linear-gradient(160deg, rgba(37, 114, 90, .85), rgba(23, 75, 65, .85)); }
.shop-shelf-icon { font-size: 1.7rem; }
.shop-shelf-label { font-size: .92rem; }
.shop-shelf-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 3px; }
.shop-shelf-item { padding: 3px 6px; color: #fff; background: rgba(0, 0, 0, .26); border-radius: 8px; font-size: .78rem; }
.shop-status { min-height: 2.7em; margin: 13px 0 0 !important; color: #e8f7fa !important; font-weight: 750; }
.shop-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.shop-complete .shop-shelf { animation: shop-shelf-glow 850ms ease-in-out infinite alternate; }
@keyframes shop-shelf-glow { from { box-shadow: 0 0 0 rgba(255, 220, 130, 0); } to { box-shadow: 0 0 20px rgba(255, 220, 130, .55); } }
.escape-card {
  max-width: 760px;
  margin: 26px auto 0;
  padding: 18px;
  color: var(--snow);
  background: linear-gradient(145deg, rgba(45, 68, 109, .62), rgba(110, 42, 67, .48));
  border: 1px solid rgba(246, 200, 107, .55);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}
.escape-card > strong { color: var(--gold); font-size: 1.15rem; }
.escape-card > p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.escape-inventory { margin: 15px 0 10px; padding: 11px 14px; color: #fff5df; background: rgba(14, 32, 48, .8); border: 1px solid rgba(246, 200, 107, .45); border-radius: 12px; font-weight: 750; }
.escape-room { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; background: radial-gradient(circle at 50% 0, rgba(246, 200, 107, .24), transparent 42%), linear-gradient(165deg, #294b61, #583c5b 62%, #392d46); border: 2px solid rgba(255, 221, 165, .43); border-radius: 19px; }
.escape-object { display: flex; min-width: 0; min-height: 118px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; color: #fff9e6; background: linear-gradient(155deg, rgba(17, 37, 56, .84), rgba(37, 32, 53, .83)); border: 1px solid rgba(255, 245, 218, .34); border-radius: 15px; box-shadow: 0 5px 12px rgba(0, 0, 0, .18); cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.escape-object:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 9px 18px rgba(0, 0, 0, .25); }
.escape-object:focus-visible { outline: 3px solid #9de9ef; outline-offset: 2px; }
.escape-object-icon { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.25; }
.escape-object-label { font-size: .88rem; font-weight: 750; }
.escape-door { grid-column: 2; background: linear-gradient(155deg, #5b3449, #383050); }
.escape-discovered { border-color: #ffdb87; box-shadow: 0 0 16px rgba(255, 214, 128, .4); }
.escape-complete .escape-door { animation: shop-shelf-glow 900ms ease-in-out infinite alternate; }
.escape-lock { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; margin-top: 14px; padding: 13px; background: rgba(5, 18, 37, .72); border: 1px solid rgba(189, 238, 246, .35); border-radius: 14px; }
.escape-lock label { flex-basis: 100%; font-weight: 750; }
.escape-lock input { width: 100px; height: 44px; padding: 6px 12px; color: #14213a; background: #fff9e8; border: 2px solid #f6c86b; border-radius: 10px; font-size: 1.15rem; letter-spacing: .15em; text-align: center; }
.escape-status { min-height: 3em; margin: 13px 0 0 !important; color: #e8f7fa !important; font-weight: 750; }
.escape-controls { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.farm-goals, .farm-seeds { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.nonogram-card { max-width: 720px; margin: 26px auto 0; padding: 18px; color: var(--snow); background: linear-gradient(145deg, rgba(36, 75, 98, .64), rgba(109, 51, 80, .46)); border: 1px solid rgba(246, 200, 107, .55); border-radius: 20px; box-shadow: 0 16px 38px rgba(0, 0, 0, .22); }
.nonogram-card > strong { color: var(--gold); font-size: 1.15rem; }
.nonogram-card > p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.nonogram-scroll { overflow-x: auto; max-width: 100%; margin: 18px 0 0; border-radius: 13px; }
.nonogram-board { display: grid; grid-template-columns: 72px repeat(10, minmax(0, 1fr)); width: min(100%, 570px); min-width: 355px; margin: auto; padding: 5px; background: #132a3d; border: 2px solid rgba(255, 221, 165, .65); border-radius: 13px; }
.nonogram-corner, .nonogram-row-clue, .nonogram-col-clue { display: flex; align-items: center; justify-content: center; color: #fdf0d0; background: #27475a; border: 1px solid rgba(255, 255, 255, .12); font-weight: 850; }
.nonogram-corner { min-height: 76px; border-top-left-radius: 7px; font-size: 1.2rem; }
.nonogram-row-clue { justify-content: flex-end; padding-right: 8px; font-size: .9rem; white-space: pre; }
.nonogram-col-clue { flex-direction: column; justify-content: flex-end; gap: 1px; padding-bottom: 7px; font-size: .86rem; }
.nonogram-cell { min-width: 0; aspect-ratio: 1; padding: 0; color: #b47a72; background: linear-gradient(145deg, #fff9eb, #e7dfd1); border: 1px solid #aac0c1; border-radius: 0; font-size: clamp(1rem, 2.3vw, 1.5rem); font-weight: 850; line-height: 1; touch-action: manipulation; transition: background 120ms ease, transform 120ms ease; }
.nonogram-cell:hover:not(:disabled) { background: #e8f9ff; }
.nonogram-cell:focus-visible { position: relative; z-index: 1; outline: 3px solid #49d0ee; }
.nonogram-cell.nonogram-filled { background: linear-gradient(145deg, #f4bc83, #b4745a); border-color: #9a614e; }
.nonogram-cell.nonogram-crossed { color: #ad5d79; background: #e7edf2; }
.nonogram-cell.nonogram-strong-left { border-left: 3px solid #38546b; }
.nonogram-cell.nonogram-strong-top { border-top: 3px solid #38546b; }
.nonogram-cell.nonogram-hinted { animation: nonogram-hint-flash 850ms ease-out; }
@keyframes nonogram-hint-flash { 0%, 60% { box-shadow: inset 0 0 0 4px #42d7f4, 0 0 14px #42d7f4; transform: scale(1.13); } 100% { box-shadow: none; transform: scale(1); } }
.nonogram-complete .nonogram-filled { box-shadow: inset 0 0 10px rgba(255, 248, 198, .45); }
.nonogram-stats { display: flex; justify-content: space-between; gap: 10px; margin: 13px 0 0; color: #e7f7f5; font-weight: 800; }
.nonogram-status { min-height: 2.6em; margin: 12px 0 0 !important; color: #e8f7fa !important; font-weight: 750; }
.nonogram-reveal { color: var(--gold) !important; font-size: 1.12rem; font-weight: 850; }
.nonogram-controls { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.snake-ranking {
  margin-top: 18px;
  padding: 14px;
  background: rgba(4, 15, 36, .42);
  border: 1px solid rgba(189, 238, 246, .26);
  border-radius: 14px;
}
.snake-ranking > strong { color: #bdeef6; }
.snake-ranking > p { margin: 4px 0 9px; color: var(--muted); font-size: .9rem; }
.snake-ranking-list { display: grid; gap: 5px; margin: 0; padding-left: 1.5rem; }
.snake-ranking-list li { display: flex; justify-content: space-between; gap: 14px; color: #dbeef2; }
.snake-ranking-list li::marker { color: var(--gold); font-weight: 900; }
.snake-ranking-list strong { color: var(--gold); }
.snake-ranking-list .snake-ranking-empty { display: block; color: var(--muted); font-style: italic; }
.hunt-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.hunt-intro strong { color: var(--gold); }
.hunt-intro span { color: #bdeef6; font-size: 0.9rem; font-weight: 800; white-space: nowrap; }
.hunt-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0;
}
.hunt-action {
  min-height: 42px;
  padding: 0 15px;
  color: #071126;
  background: var(--gold);
  border: 0;
  border-radius: 12px;
  font-weight: 850;
}
.secondary-hunt-action {
  color: var(--snow);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
}
.fullscreen-hunt-action {
  color: #071126;
  background: linear-gradient(135deg, #bceff8, #68d8ee);
  box-shadow: 0 0 0 2px rgba(104, 216, 238, 0.18), 0 7px 22px rgba(68, 189, 255, 0.28);
}
.hunt-action:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px); }
.hunt-action:disabled { cursor: default; opacity: 0.6; }
.test-hunt-action {
  color: #071126;
  background: linear-gradient(135deg, #ffd6ea, #f6c86b);
  box-shadow: 0 0 0 2px rgba(255, 214, 234, 0.22);
}
.hunt-viewport {
  max-height: min(70vh, 780px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #020714;
  border: 1px solid rgba(125, 218, 240, 0.42);
  border-radius: 14px;
  touch-action: pan-x pan-y;
  scrollbar-color: rgba(109, 211, 225, 0.78) rgba(4, 10, 24, 0.9);
}
.hunt-stage {
  position: relative;
  width: max(1050px, 100%);
  aspect-ratio: 1672 / 941;
  overflow: hidden;
}
.hunt-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.hunt-mobile-help {
  display: none;
  margin: 9px 2px 0;
  color: #bdeef6;
  font-size: 0.86rem;
  line-height: 1.35;
}
.hunt-game-shell:fullscreen, .hunt-game-shell.hunt-large-mode {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: 100vw;
  height: 100vh;
  padding: clamp(16px, 2.5vw, 38px);
  color: var(--snow);
  background:
    radial-gradient(circle at 50% 0%, rgba(49, 96, 152, 0.42), transparent 48%),
    #040a18;
}
.hunt-game-shell:fullscreen .hunt-intro, .hunt-game-shell.hunt-large-mode .hunt-intro {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}
.hunt-game-shell:fullscreen .hunt-controls, .hunt-game-shell.hunt-large-mode .hunt-controls {
  max-width: 1500px;
  width: 100%;
  margin: 14px auto;
}
.hunt-game-shell:fullscreen .hunt-viewport, .hunt-game-shell.hunt-large-mode .hunt-viewport {
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0 auto;
  border-radius: 18px;
}
.hunt-game-shell:fullscreen .hunt-stage, .hunt-game-shell.hunt-large-mode .hunt-stage {
  width: auto;
  min-width: 0;
  height: 100%;
  min-height: 0;
}
.hunt-game-shell.hunt-large-mode {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.hunt-cat {
  position: absolute;
  left: var(--cat-x);
  top: var(--cat-y);
  width: 6.6%;
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hunt-cat:focus-visible { outline: 3px solid #78e8ff; outline-offset: 2px; }
.hunt-cat.found {
  z-index: 2;
  cursor: default;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 246, 151, 0.82) 0 11%, rgba(255, 216, 71, 0.42) 29%, transparent 66%);
  animation: cat-found 700ms ease-out both;
}
.hunt-cat.found::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: clamp(18px, 3vw, 30px);
  text-shadow: 0 0 8px #f6c86b, 0 0 16px #f6c86b;
}
.hunt-cat.test-revealed {
  z-index: 2;
  background: radial-gradient(circle, rgba(102, 229, 255, 0.82) 0 8%, rgba(102, 229, 255, 0.34) 24%, transparent 66%);
  outline: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 5px rgba(102, 229, 255, 0.33), 0 0 20px rgba(102, 229, 255, 0.92);
  animation: test-cat-pulse 1.1s ease-in-out infinite;
}
@keyframes test-cat-pulse { 50% { transform: translate(-50%, -50%) scale(1.16); } }
.hunt-finale {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  display: grid;
  gap: 8px;
  min-width: min(80%, 520px);
  padding: clamp(18px, 3vw, 34px);
  color: var(--snow);
  text-align: center;
  background: rgba(81, 17, 46, 0.91);
  border: 2px solid var(--gold);
  border-radius: 24px;
  box-shadow: 0 0 0 8px rgba(246, 200, 107, 0.22), 0 20px 55px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%);
  animation: finale-pop 420ms cubic-bezier(.2, .85, .3, 1.2) both;
}
.hunt-finale strong { color: var(--gold); font-family: Georgia, serif; font-size: clamp(1.6rem, 4vw, 3rem); }
.hunt-finale span { color: #fffaf0; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 800; }
.hunt-complete-title { display: block; color: var(--gold); font-size: clamp(1.25rem, 2.5vw, 1.7rem); }
@keyframes finale-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.55); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes cat-found {
  from { transform: translate(-50%, -50%) scale(0.55); filter: brightness(1.6); }
  to { transform: translate(-50%, -50%) scale(1); filter: brightness(1); }
}
.confetti-particle {
  position: absolute;
  left: var(--confetti-x);
  top: var(--confetti-y);
  z-index: 5;
  display: block;
  width: clamp(5px, 0.9vw, 10px);
  height: clamp(8px, 1.45vw, 16px);
  pointer-events: none;
  background: var(--confetti-color);
  border-radius: 2px 7px 2px 7px;
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%);
  animation: confetti-pop 920ms cubic-bezier(.17, .67, .23, 1) var(--confetti-delay) forwards;
}
.grand-confetti {
  width: clamp(7px, 1.15vw, 14px);
  height: clamp(10px, 1.9vw, 21px);
  animation-duration: 1750ms;
}
@keyframes confetti-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.25) rotate(0deg); }
  12% { opacity: 1; }
  72% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--confetti-dx)), calc(-50% + var(--confetti-dy) + 18%)) rotate(var(--confetti-rotate));
  }
}
.hunt-hint {
  position: absolute;
  left: var(--hint-x);
  top: var(--hint-y);
  z-index: 3;
  width: var(--hint-size);
  aspect-ratio: 1;
  pointer-events: none;
  border: clamp(3px, 0.7vw, 7px) solid #60dfff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(51, 160, 255, 0.18), 0 0 30px rgba(68, 189, 255, 0.9), inset 0 0 28px rgba(68, 189, 255, 0.22);
  transform: translate(-50%, -50%);
  animation: hint-pulse 1.2s ease-in-out infinite;
}
@keyframes hint-pulse { 50% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.04); } }
@media (max-width: 620px) {
  body { background-position: 65% center; background-attachment: scroll; }
  main { width: min(100% - 20px, 1380px); padding: 18px 0 32px; }
  .login-card, .intro-card { padding: 28px 22px; border-radius: 24px; }
  .calendar-header { align-items: flex-start; padding: 22px; }
  .header-actions { justify-content: flex-end; }
  .quiet-button { min-height: 42px; padding: 0 13px; }
  .scene-toolbar { align-items: flex-start; padding: 13px; }
  .scene-toolbar span { max-width: 30ch; }
  .zoom-controls { flex-direction: column; }
  .scene-control { min-width: 46px; }
  .reset-control { order: -1; }
  .scene-viewport { max-height: 62vh; border-radius: 18px; }
  .door { width: 39px; height: 39px; }
  .cat-hunt-card { padding: 14px; }
  .hunt-intro { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hunt-controls { width: 100%; }
  .hunt-controls .hunt-action { min-height: 46px; padding: 0 13px; }
  .hunt-viewport { max-height: 62dvh; border-radius: 12px; }
  .hunt-stage { width: 700px; }
  .hunt-mobile-help { display: block; }
  .snake-card { padding: 14px; }
  .parcours-card { padding: 14px; }
  .shop-card { padding: 14px; }
  .snake-stats { font-size: .9rem; }
  .parcours-scoreboard { font-size: .88rem; }
  .parcours-board { gap: 5px; padding: 7px; }
  .parcours-tile { min-height: 56px; padding: 5px; border-radius: 10px; }
  .parcours-special { font-size: 1rem; }
  .shop-info { font-size: .9rem; }
  .shop-stock { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .shop-shelves { grid-template-columns: 1fr; }
  .shop-shelf { min-height: 80px; }
  .escape-card { padding: 14px; }
  .escape-room { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 8px; }
  .escape-object { min-height: 92px; padding: 8px 5px; }
  .escape-door { grid-column: auto; }
  .nonogram-card { padding: 14px; }
  .nonogram-board { grid-template-columns: 52px repeat(10, minmax(0, 1fr)); }
  .nonogram-row-clue, .nonogram-col-clue { font-size: .76rem; }
  .nonogram-corner { min-height: 64px; }
  .nonogram-cell { font-size: 1rem; }
  .snake-controls { align-items: flex-start; flex-direction: column; }
  .game-dialog .day-content { padding: 12px; }
  .game-dialog .cat-hunt-card { min-height: calc(100vh - 105px); padding: 10px; }
  .game-dialog .hunt-game-shell { min-height: calc(100dvh - 130px); }
  .game-dialog .hunt-viewport { max-height: none; }
  .game-dialog .hunt-stage { width: max(700px, min(100%, calc(177.68vh - 302.06px))); }
  .hunt-game-shell:fullscreen, .hunt-game-shell.hunt-large-mode { padding: 14px; }
  .hunt-game-shell:fullscreen .hunt-stage, .hunt-game-shell.hunt-large-mode .hunt-stage { width: auto; height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Kittys Winterfarm: a small, hand-drawn winter village on a fixed tile map. */
.farm-overview { display: flex; align-items: center; gap: 18px; margin: 18px 0; padding: 13px 20px; border: 1px solid rgba(252, 218, 165, .65); background: linear-gradient(105deg, rgba(65, 114, 111, .9), rgba(92, 65, 103, .85)); }
.farm-overview.hidden { display: none; }
.farm-overview-art svg { width: 74px; height: 74px; filter: drop-shadow(0 4px 4px #152a38); }
.farm-overview h2 { margin: 3px 0; color: #fff2ce; font-family: Georgia, serif; font-size: 1.45rem; }
.farm-overview p { margin: 0; color: #f3e9df; }
.farm-overview .primary-button { margin-left: auto; white-space: nowrap; }
.farm-dialog { position: fixed; width: min(1480px, 98vw); max-width: none; height: min(96dvh, 1100px); max-height: none; padding: 0; color: #fff8ed; background: #1a3646; border: 2px solid #d9b69e; border-radius: 24px; box-shadow: 0 24px 90px #07101bcc; overflow: auto; }
.farm-dialog::backdrop { background: rgba(5, 13, 27, .87); backdrop-filter: blur(5px); }
.farm-dialog .dialog-close { position: sticky; top: 12px; float: right; z-index: 10; margin: 12px 14px 0 0; }
.winter-farm { min-height: 100%; padding: 25px; background: radial-gradient(circle at 18% 0%, #6b8c96 0, transparent 35%), radial-gradient(circle at 100% 30%, #625b82 0, transparent 36%), linear-gradient(150deg, #253f54, #192f43); }
.farm-head { display: flex; align-items: center; gap: 15px; padding-right: 55px; }
.farm-avatar { flex: none; width: 70px; height: 70px; filter: drop-shadow(0 5px 3px #182b36); }
.farm-title .eyebrow { margin: 0; color: #f1cca4; }
.farm-title h2 { margin: 2px 0; color: #fff2d5; font: 800 clamp(1.6rem, 3vw, 2.6rem) Georgia, serif; }
.farm-title p { margin: 0; color: #e4e9e8; }
.farm-hud { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0; }
.farm-hud-box { display: flex; flex-direction: column; justify-content: center; min-width: 118px; padding: 10px 15px; background: rgba(17, 39, 50, .78); border: 1px solid #a2b9b0; border-radius: 14px; }
.farm-hud-box span { color: #dce8de; font-size: .82rem; font-weight: 700; }
.farm-hud-box strong { color: #ffe0a7; font-size: 1.35rem; }
.farm-hud-progress { flex: 1; min-width: 200px; }
.farm-progress-meter { height: 6px; margin-top: 5px; background: #596e72; border-radius: 20px; overflow: hidden; }
.farm-progress-meter span { display: block; height: 100%; background: linear-gradient(90deg, #98c9a5, #ffe5a2); transition: width .35s; }
.farm-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 340px); align-items: start; gap: 17px; }
.farm-field-side, .farm-sidebar { min-width: 0; padding: 12px; border: 1px solid rgba(225, 221, 187, .55); border-radius: 18px; background: rgba(24, 49, 59, .72); }
.farm-toolbar { display: flex; flex-wrap: wrap; gap: 7px; }
.farm-tool, .farm-shop-tab, .farm-mini-button { min-height: 42px; padding: 7px 11px; color: #fff6e5; background: #526b70; border: 2px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 800; }
.farm-tool { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; }
.farm-tool .farm-icon { width: 29px; height: 29px; }
.farm-tool[aria-pressed="true"], .farm-shop-tab[aria-pressed="true"] { border-color: #ffe0a5; background: #8c6975; box-shadow: 0 0 10px #e6c6a766; }
.farm-tool:focus-visible, .farm-tile:focus-visible, .farm-shop-tab:focus-visible, .farm-mini-button:focus-visible { outline: 3px solid #8ce6f1; outline-offset: 2px; }
.farm-board-hint { margin: 10px 2px; color: #dcebe5; font-size: .9rem; }
.farm-field-scroll { max-height: min(63vh, 730px); overflow: auto; border: 4px solid #c5dfdb; border-radius: 18px; background: #a4d0ca; scrollbar-color: #acc9c2 #416d70; touch-action: pan-x pan-y; }
.farm-field { display: grid; grid-template-columns: repeat(12, 64px); grid-template-rows: repeat(10, 64px); gap: 2px; width: max-content; margin: auto; padding: 9px; background: repeating-linear-gradient(15deg, #bfded9 0 12px, #c5e3de 12px 24px); }
.farm-tile { position: relative; display: grid; place-items: center; width: 64px; height: 64px; padding: 0; border: 1px solid #b1d4c7; border-radius: 10px; cursor: pointer; touch-action: manipulation; transition: filter .18s, transform .18s; }
.farm-tile:hover:not(:disabled) { z-index: 1; transform: translateY(-3px); filter: brightness(1.08); }
.farm-tile-meadow { background: radial-gradient(circle at 13% 20%, #f9f3e5 0 3px, transparent 4px), radial-gradient(circle at 80% 75%, #e9f3df 0 4px, transparent 5px), #9dbfb0; }
.farm-tile-soil { background: repeating-linear-gradient(162deg, #896b63 0 8px, #9a7869 8px 16px); border: 2px solid #d9c9ad; }
.farm-tile-decor { background: #b6d3c2; }
.farm-tile .farm-icon { width: 57px; height: 57px; filter: drop-shadow(0 2px 1px #554d5040); }
.farm-tile-ready { box-shadow: inset 0 0 0 3px #ffebb0, 0 0 12px #fff0a9; }
.farm-tile-tag { position: absolute; bottom: 1px; left: 2px; right: 2px; padding: 1px; color: #253843; background: #f9e8cbe8; border-radius: 5px; font-size: .65rem; line-height: 1.2; font-weight: 850; white-space: nowrap; }
.farm-tile-ready .farm-tile-tag { background: #ffe59a; }
.farm-message { min-height: 2.5em; margin: 11px 3px 0; color: #ffedbf; font-weight: 750; }
.farm-shop-heading h3 { margin: 2px 0; color: #ffe5b6; font: 800 1.4rem Georgia, serif; }
.farm-shop-heading p { margin: 3px 0 14px; color: #e3eeea; font-size: .9rem; }
.farm-shop-tabs { display: flex; gap: 6px; }
.farm-shop-tab { flex: 1; font-size: .86rem; }
.farm-shop-list { max-height: 420px; overflow-y: auto; margin-top: 10px; padding-right: 4px; }
.farm-shop-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 8px; margin-bottom: 7px; padding: 7px; background: #31535b; border: 1px solid #7eaaa4; border-radius: 12px; }
.farm-shop-item > .farm-icon { width: 48px; height: 48px; }
.farm-shop-detail { min-width: 0; }
.farm-shop-detail strong, .farm-shop-detail small { display: block; }
.farm-shop-detail small { color: #d9e9db; line-height: 1.3; }
.farm-shop-actions { display: flex; gap: 5px; grid-column: 1 / -1; }
.farm-mini-button { flex: 1; min-height: 38px; padding: 5px; font-size: .79rem; }
.farm-buy { color: #263d45; background: #ffe2ab; }
.farm-mini-button:disabled, .farm-tool:disabled { opacity: .5; cursor: default; }
.farm-reward { margin-top: 12px; padding: 14px; background: #70526c; border: 1px solid #f1d8a8; border-radius: 15px; }
.farm-reward strong { color: #ffedbd; }
.farm-reward p { margin: 7px 0; line-height: 1.4; }
.farm-steam-key { display: block; overflow-wrap: anywhere; margin: 10px 0; padding: 9px; color: #243342; background: #fff5de; border-radius: 8px; font-weight: 800; }
@media (max-width: 860px) { .farm-layout { grid-template-columns: 1fr; } .farm-sidebar { max-width: none; } .farm-shop-list { max-height: 300px; } }
@media (max-width: 620px) { .farm-overview { flex-wrap: wrap; gap: 9px; padding: 12px; } .farm-overview-art svg { width: 55px; height: 55px; } .farm-overview .primary-button { flex: 1 1 100%; margin-left: 0; } .farm-dialog { width: 100vw; height: 100dvh; border: 0; border-radius: 0; } .winter-farm { padding: 13px; } .farm-avatar { width: 55px; height: 55px; } .farm-head { gap: 8px; padding-right: 42px; } .farm-title p:not(.eyebrow) { font-size: .8rem; } .farm-hud-box { min-width: 100px; padding: 7px; } .farm-tool { flex: 1 1 45%; justify-content: center; } .farm-field-scroll { max-height: 52vh; } .farm-field { grid-template-columns: repeat(12, 56px); grid-template-rows: repeat(10, 56px); } .farm-tile { width: 56px; height: 56px; } .farm-tile .farm-icon { width: 51px; height: 51px; } .farm-field-side, .farm-sidebar { padding: 8px; } }

/* Bongo-Kitty: clear four-pad rhythm stage, playable by touch or number keys. */
.bongo-card { margin: 22px 0; padding: clamp(15px, 3vw, 27px); border: 1px solid #a9d1c7; border-radius: 24px; background: #173841; color: #fff9e9; box-shadow: inset 0 1px #ffffff28; }
.bongo-card h3 { margin: 0 0 9px; color: #ffe7a6; font: 800 clamp(1.45rem, 3vw, 2.15rem) Georgia, serif; }
.bongo-card > p { line-height: 1.5; }
.bongo-stage { position: relative; display: grid; justify-items: center; min-height: 195px; margin: 20px 0 13px; padding: 14px; border-radius: 20px; overflow: hidden; background: radial-gradient(ellipse at 50% 115%, #cde5c5 0 20%, transparent 21%), linear-gradient(155deg, #39677b, #293953 65%, #403956); border: 2px solid #decb9c; }
.bongo-stage::before, .bongo-stage::after { content: '✦  ·  ✦  ·  ✦'; position: absolute; top: 62px; color: #fce2a9; opacity: .7; letter-spacing: 14px; }
.bongo-stage::before { left: 5%; } .bongo-stage::after { right: 4%; }
.bongo-stage-banner { z-index: 1; color: #fff0c4; font-weight: 800; text-align: center; letter-spacing: .06em; }
.bongo-cat { z-index: 1; width: 116px; height: 116px; margin-top: 4px; filter: drop-shadow(0 8px 8px #141e36aa); transform-origin: 50% 80%; }
.bongo-dancing { animation: bongo-bop .65s ease-in-out infinite alternate; }
@keyframes bongo-bop { to { transform: translateY(-7px) rotate(5deg); } }
.bongo-hud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; color: #fff1c5; }
.bongo-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; min-height: 47px; margin: 12px 0; }
.bongo-note { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; border: 2px solid #e7e7dc85; color: #23393e; font-size: 1.3rem; font-weight: 900; opacity: .55; }
.bongo-note-current { opacity: 1; transform: translateY(-5px); box-shadow: 0 4px 0 #e5cca2; }
.bongo-note-done { opacity: .9; border-color: #fff3ca; }
.bongo-rose { background: #f4a7b4; } .bongo-gold { background: #ffdfa0; } .bongo-mint { background: #a5ddc5; } .bongo-lilac { background: #c6b6ea; }
.bongo-progress { position: relative; height: 10px; margin: 12px 15px 23px; border-radius: 20px; background: #90aea9; }
.bongo-target { position: absolute; z-index: 1; top: -15px; right: -13px; width: 40px; height: 40px; border: 4px solid #ffe2a0; border-radius: 50%; box-shadow: 0 0 15px #fbd792, inset 0 0 8px #fff4c2; }
.bongo-marker { position: absolute; top: -13px; z-index: 2; color: #fff5c8; font-size: 29px; line-height: 1; transform: translateX(-50%); text-shadow: 0 0 8px #fff4a6; }
.bongo-pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bongo-pad { min-height: 97px; padding: 7px 4px; border: 3px solid #ffffffa5; border-radius: 18px; color: #20383d; cursor: pointer; box-shadow: 0 7px 0 #122f37; transition: transform .1s, box-shadow .1s, filter .15s; touch-action: manipulation; }
.bongo-pad-top { display: block; width: 35px; height: 26px; margin: 0 auto 4px; border-radius: 60% 60% 45% 45%; background: #ffffff95; box-shadow: -18px -10px 0 -7px #ffffff95, -6px -18px 0 -7px #ffffff95, 7px -18px 0 -7px #ffffff95, 19px -10px 0 -7px #ffffff95; }
.bongo-pad-mark { display: block; font-size: 26px; font-weight: 900; line-height: 1; }
.bongo-pad small { display: block; margin-top: 5px; font-size: .74rem; font-weight: 800; }
.bongo-pad:disabled { cursor: default; opacity: .85; }
.bongo-pad.bongo-active { border-color: #fffbd5; box-shadow: 0 0 0 4px #f9e3a171, 0 7px 0 #122f37; filter: brightness(1.1); }
.bongo-pad.bongo-hit { transform: translateY(6px); box-shadow: 0 1px 0 #122f37; }
.bongo-status { min-height: 3em; margin: 16px 0; color: #ffedbb; font-weight: 750; }
.bongo-controls { display: flex; flex-wrap: wrap; gap: 9px; }
.bongo-help { color: #c8e8de; font-size: .87rem; }
.bongo-finale-sparkles { position: absolute; inset: 37% 0 auto; color: #fff0b4; text-align: center; font-size: clamp(1.2rem, 5vw, 2.7rem); animation: bongo-sparkle 1s ease-in-out 3 alternate; }
@keyframes bongo-sparkle { to { transform: translateY(-35px) scale(1.17); opacity: .3; } }
@media (max-width: 620px) { .bongo-stage { min-height: 165px; } .bongo-pads { grid-template-columns: repeat(2, 1fr); } .bongo-pad { min-height: 90px; } .bongo-hud { font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { .bongo-dancing, .bongo-finale-sparkles { animation: none; } }

/* Kittys Kristallhöhle: hand-drawn stone, icy sockets and wrapped gifts. */
.cave-card { max-width: 1020px; margin: 24px auto; padding: clamp(16px, 3vw, 27px); color: #fff7e8; background: #263c54; border: 2px solid #a8c9c4; border-radius: 26px; box-shadow: inset 0 2px #ffffff24, 0 15px 35px #050e22a8; }
.cave-card h3 { margin: 0 0 7px; color: #ffe5af; font: 800 clamp(1.5rem, 3.4vw, 2.25rem) Georgia, serif; }
.cave-card > p { max-width: 66ch; margin: 0 0 17px; color: #e3eee9; line-height: 1.48; }
.cave-hud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 15px; margin-bottom: 14px; padding: 10px 14px; color: #fff3c9; background: #34596b; border: 1px solid #9dc3b5; border-radius: 13px; font-weight: 750; }
.cave-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; align-items: start; }
.cave-board-wrap { display: grid; place-items: center; min-width: 0; min-height: 340px; padding: 16px; border: 7px solid #5d7985; border-radius: 22px; background: radial-gradient(circle at 15% 10%, #8fc1c380 1px, transparent 2px), radial-gradient(circle at 85% 40%, #d2e4d28a 1px, transparent 2px), #254658; background-size: 51px 49px, 71px 67px, auto; box-shadow: inset 0 0 0 3px #92acac, inset 0 12px 22px #16283baa; }
.cave-board { display: grid; width: 100%; gap: 2px; touch-action: none; user-select: none; }
.cave-tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.cave-floor { background: radial-gradient(circle at 28% 24%, #adcbcf 0 2px, transparent 3px), linear-gradient(153deg, #719aa2, #618596); border: 1px solid #a7c5c2; box-shadow: inset 0 2px #c1d8d58c, inset 0 -3px #4266788c; }
.cave-rock { background: radial-gradient(ellipse at 18% 26%, #bacbc5 0 10%, transparent 12%), linear-gradient(145deg, #66838a 10%, #4b6976 48%, #334e5e 95%); border: 2px solid #9eb3ad; box-shadow: inset 3px 3px #c4d2c876, inset -4px -5px #233e56, 0 2px 3px #233e56; }
.cave-rock::after { content: ''; position: absolute; inset: 18% 12% 13% 19%; border-top: 2px solid #c9d5cf85; border-left: 2px solid #c9d5cf7d; border-radius: 38% 44% 22% 28%; transform: rotate(-9deg); }
.cave-goal { background: radial-gradient(circle at center, #afd8d9, #79a8ae 72%); box-shadow: inset 0 0 0 2px #d1e8d7, inset 0 0 16px #e8d8a2; }
.cave-glimmer { color: #fff0a8; font-size: clamp(1.2rem, 4vw, 2.7rem); line-height: 1; text-shadow: 0 0 10px #fff6c8, 0 0 18px #ffe39c; animation: cave-glow 2s ease-in-out infinite alternate; }
@keyframes cave-glow { to { opacity: .55; transform: scale(.85) rotate(15deg); } }
.cave-gift { position: absolute; z-index: 2; width: 64%; height: 63%; border: 2px solid #8b5b73; border-radius: 6px; background: linear-gradient(152deg, #f3b7bc, #cd859d); box-shadow: inset 2px 3px #ffdde0a1, 0 4px 3px #2842569e; }
.cave-gift::before { content: ''; position: absolute; inset: -2px 35%; background: #ffefaf; border-left: 1px solid #d4a279; border-right: 1px solid #d4a279; }
.cave-gift::after { content: '✦'; position: absolute; top: -16%; left: 30%; width: 40%; text-align: center; color: #fdf5d2; font-size: clamp(.75rem, 2.7vw, 1.65rem); text-shadow: 0 1px #bb8690; }
.cave-gift-done { filter: drop-shadow(0 0 9px #fff0ae); }
.cave-kitty { position: absolute; z-index: 3; width: 88%; height: 88%; filter: drop-shadow(0 3px 2px #1a384b); }
.cave-sidebar { padding: 13px; border: 1px solid #85aaa6; border-radius: 18px; background: #345c67; }
.cave-room-name { margin: 0 0 8px; color: #ffe8b2; font: 800 1.35rem Georgia, serif; }
.cave-status { min-height: 4.8em; margin: 0 0 10px; color: #f7eecf; line-height: 1.45; font-weight: 720; }
.cave-pad { display: grid; grid-template-columns: repeat(3, 56px); justify-content: center; gap: 7px; margin: 12px auto; }
.cave-direction { width: 56px; height: 56px; padding: 0; color: #2c4858; background: #ffe7b5; border: 2px solid #fff5d8; border-radius: 15px; box-shadow: 0 4px 0 #bba989; font-size: 1.55rem; font-weight: 900; touch-action: manipulation; }
.cave-direction:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #bba989; }
.cave-direction:disabled { opacity: .55; cursor: default; }
.cave-U { grid-column: 2; } .cave-L { grid-column: 1; grid-row: 2; } .cave-D { grid-column: 2; grid-row: 2; } .cave-R { grid-column: 3; grid-row: 2; }
.cave-controls { display: grid; gap: 8px; }
.cave-controls button, .cave-retry, .cave-replay { width: 100%; min-height: 43px; }
.cave-help { margin: 13px 0 0; color: #c9e1dd; font-size: .81rem; line-height: 1.4; }
.cave-complete .cave-board-wrap { box-shadow: inset 0 0 0 3px #fff2bc, inset 0 0 26px #ffe3a4; }
@media (max-width: 820px) { .cave-layout { grid-template-columns: 1fr; } .cave-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; } .cave-room-name, .cave-status, .cave-help { grid-column: 1; } .cave-pad { grid-column: 2; grid-row: 1 / 4; } .cave-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; } .cave-controls button { flex: 1; min-width: 145px; } .cave-retry, .cave-replay { grid-column: 1 / -1; } }
@media (max-width: 540px) { .cave-card { margin: 12px 0; padding: 12px; } .cave-board-wrap { min-height: 0; padding: 7px; border-width: 4px; } .cave-board { gap: 1px; } .cave-tile { border-radius: 4px; } .cave-rock { border-width: 1px; } .cave-sidebar { display: block; padding: 10px; } .cave-room-name { font-size: 1.15rem; } .cave-status { min-height: 0; } .cave-controls { display: flex; } .cave-controls button { min-width: 0; flex: 1 1 45%; padding: 6px; font-size: .84rem; } .cave-hud { font-size: .84rem; } .cave-pad { grid-template-columns: repeat(3, 54px); } .cave-direction { width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .cave-glimmer { animation: none; } }

/* Kittys Weihnachtscafé: painted sweets, warm counter and snowy window. */
.cafe-card { max-width: 1100px; margin: 22px auto; padding: clamp(15px, 2.5vw, 28px); color: #513f48; background: #fff4e8; border: 3px solid #d79ca0; border-radius: 26px; box-shadow: 0 16px 36px #120e22a3, inset 0 0 0 5px #fff9f0; }
.cafe-card h3 { margin: 0 0 7px; color: #815164; font: 800 clamp(1.55rem, 3vw, 2.35rem) Georgia, serif; }
.cafe-card > p { margin: 0 0 15px; line-height: 1.45; }
.cafe-hud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 18px; margin-bottom: 14px; padding: 11px 16px; color: #634754; background: #e8d4c5; border: 1px solid #c7a9a5; border-radius: 15px; font-weight: 750; }
.cafe-stage { position: relative; height: 225px; overflow: hidden; background: linear-gradient(#a7c2c4 0 63%, #d9ad96 63% 100%); border: 5px solid #b98184; border-radius: 23px; box-shadow: inset 0 4px #fff6e6, inset 0 -8px #835d5b; }
.cafe-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 55% 80%, #fff4d191, transparent 45%); }
.cafe-window { position: absolute; left: 6%; top: 42px; width: 35%; height: 120px; padding-top: 18px; color: #f7f0dc; border: 9px solid #eee0c9; border-radius: 55% 55% 9px 9px; background: radial-gradient(circle at 60% 30%, #fff9d0, transparent 12%), linear-gradient(130deg, #557d9f, #bfdcdb); text-align: center; font-size: 1.25rem; letter-spacing: 18px; box-shadow: 0 3px #886c74, inset 0 -15px #faf5ed5e; }
.cafe-window::before { content: ''; position: absolute; top: 45%; left: 0; right: 0; border-top: 7px solid #eee0c9; }
.cafe-garland { position: absolute; z-index: 2; top: -7px; left: 8%; right: 8%; height: 45px; color: #ffefb9; background: #6a9a83; border: 4px solid #4c746b; border-radius: 0 0 55% 55%; text-align: center; line-height: 34px; letter-spacing: clamp(2px, 1vw, 14px); text-shadow: 0 0 7px #fff4ce; }
.cafe-sign { position: absolute; top: 54px; right: 8%; padding: 11px 21px; color: #815164; background: #fff5da; border: 3px solid #b58a87; border-radius: 9px; transform: rotate(3deg); font: 800 clamp(1rem, 2vw, 1.3rem) Georgia, serif; box-shadow: 0 5px #82646b; }
.cafe-guest { position: absolute; z-index: 3; left: 46%; bottom: 29px; width: 118px; height: 122px; text-align: center; filter: drop-shadow(0 5px 2px #724e5880); }
.cafe-cat { display: block; width: 92px !important; height: 90px !important; margin: auto; }
.cafe-cat-1 { filter: sepia(.25) saturate(1.5) hue-rotate(305deg); } .cafe-cat-2 { filter: grayscale(.65) brightness(.8); } .cafe-cat-3 { filter: sepia(.3) hue-rotate(158deg); }
.cafe-scarf { position: absolute; left: 32px; top: 71px; width: 54px; height: 16px; border: 2px solid #ad6875; border-radius: 12px; background: #e69eab; }
.cafe-guest-name { display: inline-block; padding: 2px 12px; color: #694251; background: #fff1cf; border-radius: 20px; border: 1px solid #c99596; font-size: .85rem; }
.cafe-counter { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 38px; color: #fff1d3; background: repeating-linear-gradient(105deg, #bd8282 0 22px, #c9918c 23px 45px); border-top: 6px solid #f4d6b1; text-align: center; line-height: 30px; font-weight: 800; letter-spacing: 2px; }
.cafe-shift-1 .cafe-sign::after { content: ' ✦'; } .cafe-shift-2 .cafe-sign::after, .cafe-shift-3 .cafe-sign::after { content: ' ✦ ✦'; }
.cafe-shift-2 .cafe-garland, .cafe-shift-3 .cafe-garland { box-shadow: 0 0 22px #fff2bd; }
.cafe-order-area { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; margin: 17px 0; }
.cafe-ticket, .cafe-tray { min-width: 0; padding: 14px; border-radius: 17px; border: 2px solid #cfaaa5; background: #fffcf3; }
.cafe-ticket { background: repeating-linear-gradient(#fffaf0 0 32px, #f8e6df 33px 34px); box-shadow: 2px 4px #c9a2a0; }
.cafe-card h4 { margin: 0 0 10px; font: 800 1.1rem Georgia, serif; color: #794e5e; }
.cafe-wish { min-height: 2.5em; margin: 0 0 11px; color: #6a4d57; font-style: italic; }
.cafe-requests, .cafe-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.cafe-request { padding: 8px; border: 1px dashed #b88c8c; border-radius: 10px; background: #fff7e8dd; }
.cafe-request small, .cafe-slot small { display: block; color: #947177; font-size: .72rem; font-weight: 750; }
.cafe-request strong { display: block; margin-top: 5px; font-size: .88rem; }
.cafe-slot { display: grid; align-content: center; justify-items: center; min-height: 112px; padding: 7px 4px; background: #f6e5d5; border: 2px dashed #be9999; border-radius: 13px; color: #72515b; cursor: pointer; }
.cafe-slot strong { font-size: .83rem; }
.cafe-slot-error { border-color: #d45767; background: #ffdade; animation: cafe-shake .23s ease-in-out 2; }
@keyframes cafe-shake { 50% { transform: translateX(4px); } }
.cafe-sprite { display: block; width: 56px; height: 56px; flex: none; }
.cafe-slot .cafe-sprite { width: 52px; height: 52px; }
.cafe-shelves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.cafe-shelf { min-width: 0; padding: 12px; background: #e9d0bf; border: 2px solid #bd9290; border-radius: 18px; box-shadow: inset 0 4px #fff4e6; }
.cafe-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.cafe-item { display: flex; align-items: center; gap: 4px; min-width: 0; min-height: 73px; padding: 5px; color: #634a57; background: #fff9ec; border: 2px solid #e1baba; border-radius: 13px; font-size: .79rem; font-weight: 750; cursor: pointer; text-align: left; touch-action: manipulation; }
.cafe-item:hover:not(:disabled), .cafe-item:focus-visible { border-color: #a86d7f; box-shadow: 0 0 0 3px #e8adb387; }
.cafe-item-chosen { background: #e5f0de; border-color: #83a384; }
.cafe-item span { overflow-wrap: anywhere; }
.cafe-status { min-height: 2.6em; margin: 14px 0 6px; color: #74525f; font-weight: 750; }
.cafe-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.cafe-controls button { flex: 1 1 165px; min-height: 45px; }
.cafe-controls button:disabled { opacity: .6; cursor: default; }
.cafe-help { margin-top: 11px !important; color: #856c70; font-size: .86rem; }
.cafe-finished .cafe-stage { box-shadow: inset 0 0 40px #ffebb6; }
@media (max-width: 850px) { .cafe-order-area { grid-template-columns: 1fr; } .cafe-shelves { grid-template-columns: 1fr; } .cafe-items { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cafe-item { flex-direction: column; text-align: center; } }
@media (max-width: 500px) { .cafe-card { margin: 12px 0; padding: 12px; } .cafe-stage { height: 180px; } .cafe-garland { font-size: .78rem; letter-spacing: 1px; } .cafe-sign { right: 4%; top: 59px; padding: 7px; font-size: .9rem; } .cafe-guest { left: 40%; width: 92px; } .cafe-cat { width: 72px !important; height: 72px !important; } .cafe-scarf { left: 21px; top: 56px; width: 47px; } .cafe-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cafe-item { flex-direction: row; text-align: left; min-height: 62px; } .cafe-item .cafe-sprite { width: 42px; height: 42px; } .cafe-slot .cafe-sprite { width: 36px; height: 36px; } .cafe-slot { min-height: 92px; } .cafe-request strong, .cafe-slot strong { font-size: .73rem; overflow-wrap: anywhere; } }
@media (prefers-reduced-motion: reduce) { .cafe-slot-error { animation: none; } }

/* Pfoten auf der Winterdecke: original stitched winter quilt and little cat pieces. */
.winter-paws-card { max-width: 920px; margin: 22px auto; padding: clamp(15px, 3vw, 30px); color: #f9f4e8; background: #253c50; border: 3px solid #a2c0b9; border-radius: 28px; box-shadow: 0 16px 45px #061021a8, inset 0 0 0 5px #e5d0b535; }
.winter-paws-card h3 { margin: 0 0 7px; color: #ffe4b3; font: 800 clamp(1.55rem, 3vw, 2.35rem) Georgia, serif; }
.winter-paws-card > p { line-height: 1.48; }
.winter-paws-status { min-height: 3em; margin: 12px 0 !important; color: #fff0c5; font-weight: 750; }
.winter-paws-header { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; max-width: 690px; margin: auto auto 13px; }
.winter-paws-pool { padding: 10px; border: 1px solid #d4d5c0; border-radius: 13px; text-align: center; font-size: .84rem; font-weight: 750; }
.winter-paws-you { background: #876275; } .winter-paws-rival { background: #4b5b66; }
.winter-paws-turn { color: #ffe1ab; text-align: center; font-weight: 850; }
.winter-paws-board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; max-width: 690px; margin: auto; padding: 13px; background: repeating-linear-gradient(45deg, #e8b4a6 0 10px, #cf8e90 10px 20px); border: 8px solid #f7dfb8; outline: 3px solid #a6757c; border-radius: 24px; box-shadow: inset 0 3px 8px #5f4c6299, 0 10px 18px #091729a6; }
.winter-paws-field { position: relative; display: grid; place-items: center; min-width: 0; aspect-ratio: 1; padding: 3px; border: 2px dashed #ffeddaaa; border-radius: 10px; background: #bcd2cf; color: #f4f7e9; cursor: pointer; transition: transform .15s, background .15s; }
.winter-paws-field:nth-child(12n + 2), .winter-paws-field:nth-child(12n + 4), .winter-paws-field:nth-child(12n + 6), .winter-paws-field:nth-child(12n + 7), .winter-paws-field:nth-child(12n + 9), .winter-paws-field:nth-child(12n + 11) { background: #d8b9b8; }
.winter-paws-field:hover:not(:disabled), .winter-paws-field:focus-visible { transform: scale(1.045); z-index: 2; background: #ffe0ae; outline: 3px solid #fff6cd; }
.winter-paws-field:disabled { cursor: default; }
.winter-paws-stitch { font-size: clamp(1rem, 2.7vw, 1.8rem); opacity: .46; text-shadow: 1px 1px #678787; }
.winter-paws-cat { width: min(95%, 74px); height: min(95%, 74px); filter: drop-shadow(0 3px 2px #5b5964); }
.winter-paws-miez .winter-paws-cat { filter: grayscale(1) brightness(.35) contrast(1.4) drop-shadow(0 3px 2px #2e3140); }
.winter-paws-kitty .winter-paws-cat { filter: sepia(.14) saturate(1.3) drop-shadow(0 3px 2px #774c5a); }
.winter-paws-grown { transform: scale(1.15); }
.winter-paws-star { position: absolute; top: 0; right: 2px; color: #fff0ac; font-size: clamp(.85rem, 2.6vw, 1.6rem); text-shadow: 0 0 7px #b67c57, 0 1px 3px #332b34; }
.winter-paws-footer { max-width: 690px; margin: 16px auto 0; }
.winter-paws-sizes { display: flex; gap: 10px; }
.winter-paws-size { flex: 1; min-height: 50px; padding: 8px; color: #ffe4ba; background: #4c6770; border: 2px solid #a5c2b6; border-radius: 15px; font-weight: 850; cursor: pointer; }
.winter-paws-size.winter-paws-selected { background: #886476; border-color: #ffdea8; box-shadow: 0 0 0 3px #f6d6a545; }
.winter-paws-size:disabled { opacity: .55; cursor: default; }
.winter-paws-claims { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0; padding: 13px; background: #48556c; border-radius: 16px; }
.winter-paws-claims strong { width: 100%; }
.winter-paws-claims button { flex: 1 1 165px; }
.winter-paws-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0; }
.winter-paws-actions button { flex: 1 1 170px; }
.winter-paws-guide { padding: 11px 15px; background: #355264; border: 1px solid #91aeb0; border-radius: 14px; line-height: 1.5; }
.winter-paws-guide summary { color: #ffe6be; cursor: pointer; font-weight: 850; }
.winter-paws-guide p { margin: 10px 0 0; }
@media (max-width: 560px) { .winter-paws-card { margin: 12px 0; padding: 11px; } .winter-paws-header { grid-template-columns: 1fr 1fr; gap: 6px; } .winter-paws-turn { grid-column: 1 / -1; grid-row: 1; } .winter-paws-pool { font-size: .71rem; } .winter-paws-board { gap: 2px; padding: 5px; border-width: 5px; border-radius: 13px; } .winter-paws-field { border-width: 1px; border-radius: 6px; padding: 0; } .winter-paws-size { min-height: 47px; font-size: .88rem; } }
@media (prefers-reduced-motion: reduce) { .winter-paws-field { transition: none; } }

/* Kittys Winterpost: warm village squares cut from a snowy paper map. */
.winter-post-card { max-width: 1080px; margin: 22px auto; padding: clamp(16px, 2.7vw, 29px); color: #f9f3e6; border: 3px solid #b4c6bb; border-radius: 26px; background: radial-gradient(circle at 95% 6%, #6d7481, transparent 39%), linear-gradient(145deg, #304a5d, #20394d); box-shadow: 0 17px 44px #061526b8, inset 0 0 0 4px #ffffff16; }
.winter-post-heading { display: flex; gap: 14px; align-items: center; }
.winter-post-seal { display: grid; flex: none; place-items: center; width: 70px; height: 70px; border: 4px solid #f7d7bd; border-radius: 50%; background: #b87378; color: #fff5d9; box-shadow: 0 3px #744f60; font-size: 2.1rem; transform: rotate(-9deg); }
.winter-post-heading h3 { margin: 0 0 3px; color: #ffe5b6; font: 800 clamp(1.55rem, 3.3vw, 2.45rem) Georgia, serif; }
.winter-post-heading p { margin: 0; color: #e7efe7; line-height: 1.45; }
.winter-post-hud { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 17px 0; padding: 11px 15px; border: 1px solid #93b4b0; border-radius: 13px; background: #406577; color: #fff1ce; font-weight: 750; }
.winter-post-fish { margin-left: auto; }
.winter-post-layout { display: grid; grid-template-columns: minmax(0, 650px) minmax(220px, 1fr); gap: 20px; align-items: start; }
.winter-post-board { position: relative; display: grid; grid-template-columns: repeat(var(--post-width), minmax(0, 1fr)); gap: 3px; width: 100%; max-width: 650px; padding: 12px; border: 8px solid #d2b294; outline: 3px solid #765c68; border-radius: 22px; background: #879eaa; box-shadow: inset 0 0 0 3px #fff3d29c, inset 0 7px 20px #3f5d70a6, 0 10px 22px #102439a3; }
.winter-post-tile { position: relative; display: grid; place-items: center; min-width: 0; aspect-ratio: 1; padding: 0; border: 1px solid #e9ecdd6b; border-radius: 6px; overflow: hidden; color: #1d566a; background: radial-gradient(circle at 14% 16%, #fff8e3 0 4%, transparent 5%), linear-gradient(148deg, #d9ebe5, #b8d4d1); cursor: pointer; touch-action: manipulation; }
.winter-post-tile:nth-child(5n + 2) { background: radial-gradient(circle at 77% 24%, #fff8e3 0 5%, transparent 6%), linear-gradient(150deg, #c9ded9, #b0d2cb); }
.winter-post-tile:hover:not(:disabled), .winter-post-tile:focus-visible { z-index: 2; outline: 3px solid #ffe7aa; outline-offset: -3px; filter: brightness(1.07); }
.winter-post-tile:disabled { cursor: default; }
.winter-post-tile.winter-post-hinted { z-index: 3; box-shadow: inset 0 0 0 4px #57ccf3, 0 0 18px #7ce2ff; animation: winter-post-hint 1.3s ease-in-out infinite alternate; }
@keyframes winter-post-hint { to { box-shadow: inset 0 0 0 5px #c8f3ff, 0 0 25px #60d8ff; } }
.winter-post-tile.winter-post-fir { background: radial-gradient(circle at 50% 78%, #eef4e6 0 19%, transparent 20%), #b6d5ce; }
.winter-post-tile.winter-post-snow { background: radial-gradient(ellipse at 35% 74%, #fff8e8 0 23%, transparent 24%), radial-gradient(ellipse at 65% 65%, #ebf5e9 0 28%, transparent 29%), #c0d7d7; }
.winter-post-road-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.winter-post-road-edge { fill: none; stroke: #947d78; stroke-width: 27; stroke-linecap: round; }
.winter-post-road-fill { fill: none; stroke: #efd9ac; stroke-width: 22; stroke-linecap: round; }
.winter-post-road-center { fill: #efd9ac; }
.winter-post-place { position: relative; z-index: 1; display: grid; place-items: center; width: 55%; height: 55%; line-height: 1; font-weight: 900; filter: drop-shadow(0 3px 1px #40616a7d); }
.winter-post-office { color: #f9e8c1; border: 3px solid #ffecc7; border-radius: 9px; background: #ae7181; font-size: clamp(1.2rem, 3vw, 2.5rem); }
.winter-post-home { color: #fff1c1; border: 4px solid #f7e3b4; border-radius: 11px 11px 5px 5px; background: #ab7877; font-size: clamp(1.6rem, 4vw, 3.3rem); box-shadow: 0 0 15px #ffeda0; }
.winter-post-tree { color: #397967; font-size: clamp(2rem, 7vw, 5.1rem); text-shadow: 2px 3px #f8f5da; }
.winter-post-snow { color: #fbf6dc; font-size: clamp(1.7rem, 5vw, 3.8rem); text-shadow: 1px 3px #7199a4; }
.winter-post-stamp { position: absolute; z-index: 1; right: 2px; bottom: 2px; padding: 1px; border-radius: 50%; background: #fff4c3; font-size: clamp(.8rem, 2.2vw, 1.4rem); }
.winter-post-courier { position: absolute; z-index: 5; width: clamp(32px, 8vw, 79px); height: clamp(32px, 8vw, 79px); transform: translate(-50%, -50%); pointer-events: none; transition: left 360ms ease-in-out, top 360ms ease-in-out; filter: drop-shadow(0 4px 2px #344b59a8); }
.winter-post-courier svg { width: 100%; height: 100%; }
.winter-post-bag { position: absolute; right: -3px; bottom: 1px; display: grid; place-items: center; width: 33%; aspect-ratio: 1; border-radius: 4px; background: #ae7181; color: #fff4d4; font-size: clamp(.65rem, 1.5vw, 1rem); }
.winter-post-sidebar { min-width: 0; padding: 16px; border: 1px solid #a2b8b7; border-radius: 18px; background: #315365; box-shadow: inset 0 2px #ffffff1f; }
.winter-post-eyebrow { color: #f3dca9; font-size: .74rem; font-weight: 850; letter-spacing: .13em; }
.winter-post-story h4 { margin: 5px 0 8px; color: #ffe7b7; font: 800 1.4rem Georgia, serif; }
.winter-post-story p { margin: 0; color: #e5efeb; line-height: 1.48; }
.winter-post-status { min-height: 4em; margin: 18px 0 8px; padding: 11px; border-left: 4px solid #f2d599; background: #ffffff14; color: #fff2cd; font-weight: 750; line-height: 1.4; }
.winter-post-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.winter-post-actions button { min-height: 44px; padding: 8px; border-radius: 11px; font-weight: 850; cursor: pointer; }
.winter-post-actions button:disabled { opacity: .52; cursor: default; }
.winter-post-primary { grid-column: 1 / -1; border: 2px solid #ffefce; color: #374650; background: #ffe1a8; }
.winter-post-secondary { border: 1px solid #cbd9cc; color: #fff3d6; background: #5c7782; }
.winter-post-guide { margin-top: 15px; color: #deede8; line-height: 1.45; }
.winter-post-guide summary { color: #ffe5b7; cursor: pointer; font-weight: 800; }
.winter-post-guide p { margin: 7px 0 0; }
@media (max-width: 800px) { .winter-post-layout { grid-template-columns: 1fr; } .winter-post-board { margin: auto; } .winter-post-sidebar { max-width: 650px; margin: auto; width: 100%; } .winter-post-status { min-height: 0; } }
@media (max-width: 500px) { .winter-post-card { padding: 11px; margin: 12px 0; } .winter-post-seal { width: 52px; height: 52px; font-size: 1.5rem; } .winter-post-heading { gap: 9px; } .winter-post-heading p { font-size: .84rem; } .winter-post-hud { font-size: .82rem; } .winter-post-fish { margin-left: 0; } .winter-post-board { padding: 5px; gap: 1px; border-width: 5px; border-radius: 13px; } .winter-post-tile { border-radius: 3px; } .winter-post-office { border-width: 2px; } .winter-post-home { border-width: 2px; } .winter-post-sidebar { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .winter-post-tile.winter-post-hinted { animation: none; } .winter-post-courier { transition-duration: 0ms !important; } }

/* Kittys Sternenwald: a small illustrated winter adventure map. */
.star-forest-card { max-width: 1130px; margin: 22px auto; padding: clamp(14px, 2.8vw, 28px); border: 3px solid #afcdbb; border-radius: 27px; color: #f8f4e4; background: radial-gradient(circle at 95% 0, #536978, transparent 40%), linear-gradient(150deg, #203c4a, #244f53); box-shadow: 0 18px 45px #071927b9, inset 0 0 0 5px #f2e4c822; }
.star-forest-heading { display: flex; gap: 14px; align-items: center; }
.star-forest-emblem { display: grid; flex: none; place-items: center; width: 68px; height: 68px; border: 4px double #ffe6ad; border-radius: 50%; color: #fff1b5; background: #687887; text-shadow: 0 0 11px #fff0b7; box-shadow: 0 4px #263b47; font-size: 2.8rem; }
.star-forest-heading h3 { margin: 0 0 3px; color: #ffe8b7; font: 800 clamp(1.55rem, 3.2vw, 2.5rem) Georgia, serif; }
.star-forest-heading p { margin: 0; color: #e0efe5; line-height: 1.42; }
.star-forest-hud { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 17px 0; padding: 11px 15px; border: 1px solid #a6cabb; border-radius: 14px; color: #fff1ce; background: #3f666b; font-weight: 780; }
.star-forest-hud strong { color: inherit; }
.star-forest-hud span:last-child { margin-left: auto; }
.star-forest-layout { display: grid; grid-template-columns: minmax(0, 690px) minmax(250px, 1fr); gap: 19px; align-items: start; }
.star-forest-board-shell { min-width: 0; padding: 10px; border: 8px solid #b49d80; outline: 3px solid #738c87; border-radius: 22px; background: #557276; box-shadow: inset 0 0 0 3px #e4d8b7, inset 0 11px 15px #142d3c9a, 0 12px 19px #0f2a3aa8; }
.star-forest-board { position: relative; display: grid; grid-template-columns: repeat(var(--forest-width), minmax(0, 1fr)); gap: 1px; width: 100%; overflow: hidden; border: 2px solid #a6c5af; border-radius: 10px; background: #728d85; touch-action: none; }
.star-forest-tile { position: relative; display: grid; place-items: center; min-width: 0; aspect-ratio: 1; overflow: hidden; background: #b5d0bc; cursor: pointer; }
.star-forest-tile:nth-child(7n + 3) { background: #bfd3c2; }
.star-forest-tile.star-forest-border { background: radial-gradient(circle at 50% 45%, #eaf0db 0 13%, transparent 14%), linear-gradient(140deg, #849c98, #678489); cursor: default; }
.star-forest-border::after { content: ''; position: absolute; inset: 25% 15% 10%; border-radius: 55% 55% 18% 18%; background: #52766a; box-shadow: inset 2px 3px #8eb09b, 0 3px #334f52; }
.star-forest-tile.star-forest-tree { background: radial-gradient(circle at 50% 78%, #f3f1d9 0 18%, transparent 19%), #a0c3b3; cursor: default; }
.star-forest-tile.star-forest-ice { background: linear-gradient(135deg, #d3f5e9 0%, #91c9d0 45%, #bddfe0 70%, #8ebdc8 100%); box-shadow: inset 0 0 0 2px #f0fcf3b3; }
.star-forest-ice::before { content: ''; position: absolute; inset: 17%; border-top: 2px solid #f9fff6c9; border-left: 2px solid #f9fff6a6; transform: rotate(-28deg); }
.star-forest-key-gate, .star-forest-light-gate { background: #d3c49e !important; box-shadow: inset 0 0 0 3px #775c5f; }
.star-forest-light-gate { box-shadow: inset 0 0 0 3px #6c8497; }
.star-forest-gate-mark { position: relative; z-index: 1; color: #7a5660; font-size: clamp(1.25rem, 3vw, 2.7rem); font-weight: 900; }
.star-forest-light-gate .star-forest-gate-mark { color: #557b8d; }
.star-forest-sprite { z-index: 1; width: 90%; height: 90%; filter: drop-shadow(0 3px 2px #31555591); }
.star-forest-friend { filter: grayscale(.75) brightness(.63) drop-shadow(0 3px 1px #445466); }
.star-forest-pickup { z-index: 2; line-height: 1; font-weight: 900; animation: star-forest-shine 1.6s ease-in-out infinite alternate; }
.star-forest-pickup.star { color: #fff1a8; font-size: clamp(1.5rem, 3.4vw, 2.7rem); text-shadow: 0 0 6px #fff9d1, 0 0 15px #f8d883, 0 3px #928572; }
.star-forest-pickup.key { color: #ffe5a3; font-size: clamp(1.2rem, 3vw, 2.2rem); text-shadow: 0 0 7px #fff1c9, 0 2px #8e725f; transform: rotate(-30deg); }
@keyframes star-forest-shine { to { filter: brightness(1.3); transform: translateY(-3px) scale(1.09); } }
.star-forest-exit-mark { display: grid; place-items: center; width: 78%; height: 70%; border: 2px solid #ffe9bd; border-radius: 12px; color: #fff2cc; background: #a57776; box-shadow: 0 0 15px #ffe9a9; font-size: clamp(1.2rem, 3vw, 2.6rem); }
.star-forest-lit { box-shadow: inset 0 0 17px #ffe79d; }
.star-forest-current { box-shadow: inset 0 0 0 3px #fff4c1; }
.star-forest-kitty { position: absolute; z-index: 5; width: min(8%, 54px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; transition: left 170ms ease-out, top 170ms ease-out; filter: drop-shadow(0 3px 2px #203d4c); }
.star-forest-avatar { width: 100%; height: 100%; }
.star-forest-sidebar { min-width: 0; padding: 16px; border: 1px solid #a8c7b3; border-radius: 18px; background: #315b5d; box-shadow: inset 0 2px #ffffff1f; }
.star-forest-eyebrow { color: #efdbab; font-size: .75rem; letter-spacing: .15em; font-weight: 850; }
.star-forest-scene h4 { margin: 5px 0 8px; color: #ffe5ac; font: 800 1.4rem Georgia, serif; }
.star-forest-scene p { margin: 0; color: #e0eee6; line-height: 1.47; }
.star-forest-status { min-height: 4.3em; margin: 16px 0 10px; padding: 10px 12px; border-left: 4px solid #f8dca5; color: #fff3cb; background: #ffffff17; line-height: 1.45; font-weight: 750; }
.star-forest-pad { display: grid; grid-template-columns: repeat(3, 56px); justify-content: center; gap: 7px; margin: 8px auto; }
.star-forest-arrow { width: 56px; height: 56px; border: 2px solid #fff0ce; border-radius: 14px; color: #3d5a61; background: #ffe2ad; box-shadow: 0 4px #a39d83; font-size: 1.55rem; font-weight: 900; touch-action: manipulation; }
.star-forest-arrow:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px #a39d83; }
.star-forest-U { grid-column: 2; } .star-forest-L { grid-column: 1; grid-row: 2; } .star-forest-D { grid-column: 2; grid-row: 2; } .star-forest-R { grid-column: 3; grid-row: 2; }
.star-forest-interact, .star-forest-tool, .star-forest-next { min-height: 43px; padding: 8px; border-radius: 11px; font-weight: 850; cursor: pointer; }
.star-forest-interact { width: 100%; margin: 7px 0; border: 2px solid #ffe2ae; color: #fff3d8; background: #926b77; }
.star-forest-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.star-forest-tool { border: 1px solid #b8d6c7; color: #fff0d2; background: #52757b; }
.star-forest-next { grid-column: 1 / -1; border: 2px solid #ffefc8; color: #355457; background: #ffe3ac; }
.star-forest-interact:disabled, .star-forest-tool:disabled, .star-forest-arrow:disabled { opacity: .55; cursor: default; }
.star-forest-help { margin: 13px 0 0; color: #d6e9df; font-size: .82rem; line-height: 1.45; }
@media (max-width: 870px) { .star-forest-layout { grid-template-columns: 1fr; } .star-forest-board-shell { max-width: 690px; margin: auto; } .star-forest-sidebar { max-width: 690px; width: 100%; margin: auto; } .star-forest-status { min-height: 0; } }
@media (max-width: 530px) { .star-forest-card { padding: 11px; margin: 12px 0; } .star-forest-emblem { width: 51px; height: 51px; font-size: 2rem; } .star-forest-heading { gap: 9px; } .star-forest-heading p { font-size: .83rem; } .star-forest-hud { font-size: .82rem; } .star-forest-hud span:last-child { margin-left: 0; } .star-forest-board-shell { padding: 5px; border-width: 5px; border-radius: 12px; } .star-forest-sidebar { padding: 12px; } .star-forest-pad { grid-template-columns: repeat(3, 52px); } .star-forest-arrow { width: 52px; height: 52px; } .star-forest-kitty { width: 8%; } }
@media (prefers-reduced-motion: reduce) { .star-forest-pickup { animation: none; } .star-forest-kitty { transition-duration: 0ms !important; } }

/* Vier Pfoten in einer Reihe: a snowy, stitched board with cream and charcoal cats. */
.four-paws-card { max-width: 1120px; margin: 20px auto; padding: clamp(14px, 2.5vw, 27px); color: #334a59; border: 3px solid #b7d3cc; border-radius: 27px; background: radial-gradient(circle at 92% 8%, #fff7d6 0 7%, transparent 8%), linear-gradient(145deg, #f9f2e2, #e0efec 65%, #c9dbe2); box-shadow: 0 18px 36px #101b31b8, inset 0 0 0 5px #fffaf0; }
.four-paws-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.four-paws-emblem { display: grid; place-items: center; flex: none; width: 66px; height: 66px; color: #fff3bd; border: 3px solid #f6e8c6; border-radius: 22px; background: #638b84; box-shadow: 0 4px #90afa8, inset 0 0 0 3px #83a99e; font-size: 2rem; transform: rotate(-6deg); }
.four-paws-heading h3 { margin: 0 0 4px; color: #54767b; font: 800 clamp(1.45rem, 3.2vw, 2.35rem) Georgia, serif; }
.four-paws-heading p { margin: 0; line-height: 1.42; }
.four-paws-hud { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 13px; margin-bottom: 17px; padding: 10px 13px; border: 2px dashed #c2d5c7; border-radius: 16px; background: #fff9e9d9; text-align: center; font-size: .92rem; }
.four-paws-player { padding: 6px 10px; border-radius: 20px; font-weight: 800; }
.four-paws-human-label { color: #866358; background: #f4e0bc; }
.four-paws-ai-label { color: #f5e8dc; background: #435467; }
.four-paws-active { outline: 3px solid #d6a778; outline-offset: 2px; }
.four-paws-turn { color: #496b74; font-size: 1.04rem; }
.four-paws-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 265px); align-items: start; gap: clamp(12px, 2vw, 24px); }
.four-paws-stage { width: 100%; max-width: 680px; min-width: 0; margin-inline: auto; padding: clamp(7px, 1.3vw, 14px); border: 5px solid #8aaeb0; border-radius: 24px; background: radial-gradient(circle at 20% 16%, #ffffff88 0 2px, transparent 3px), #c1d9d9; background-size: 27px 29px; box-shadow: 0 8px #64878a, inset 0 0 0 3px #e7f4e9; }
.four-paws-columns { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(2px, .7vw, 7px); padding: 0 clamp(5px, 1vw, 11px) 9px; }
.four-paws-drop { min-width: 0; min-height: 44px; padding: 0; color: #fff6d7; border: 2px solid #e8dbc1; border-radius: 12px; background: linear-gradient(#779c93, #527a7c); box-shadow: 0 3px #4c676b; font-size: 1.3rem; font-weight: 900; cursor: pointer; touch-action: manipulation; }
.four-paws-drop:hover:not(:disabled), .four-paws-drop:focus-visible { background: #a97070; outline: 3px solid #ffe6ac; outline-offset: 1px; }
.four-paws-drop:disabled { opacity: .45; cursor: default; }
.four-paws-hint { animation: four-paws-hint 1s ease-in-out infinite alternate; border-color: #f5cc75; }
@keyframes four-paws-hint { to { box-shadow: 0 0 0 6px #f9dd8670, 0 0 19px #fff7bd; } }
.four-paws-board { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(2px, .65vw, 7px); padding: clamp(5px, 1vw, 11px); border: 4px solid #648d91; border-radius: 17px; background: linear-gradient(135deg, #719ca0, #4b7781); box-shadow: inset 0 4px 11px #2b5666, 0 4px #acc9c4; }
.four-paws-slot { display: grid; place-items: center; min-width: 0; aspect-ratio: 1; border: 2px solid #a2c2bd; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3fcf8, #c7e0df 67%, #a6c7ca); box-shadow: inset 0 3px 7px #4e808896; cursor: pointer; }
.four-paws-slot:hover { border-color: #fff2bd; }
.four-paws-chip { display: grid; place-items: center; width: 92%; height: 92%; border-radius: 50%; box-shadow: 0 3px 4px #204d5680, inset 0 2px 2px #ffffffa6; }
.four-paws-cream { border: 2px solid #b48d74; background: radial-gradient(circle at 34% 22%, #fff6df, #eed5af 80%); }
.four-paws-coal { border: 2px solid #1e3548; background: radial-gradient(circle at 34% 22%, #667988, #35485c 78%); }
.four-paws-chip svg { width: 78%; height: 78%; filter: sepia(.45) saturate(.7); }
.four-paws-coal svg { filter: grayscale(1) brightness(.4); }
.four-paws-new { animation: four-paws-drop-in .45s cubic-bezier(.2,.85,.28,1.25) both; }
@keyframes four-paws-drop-in { from { transform: translateY(-650%) scale(.72); opacity: .4; } 75% { transform: translateY(9%) scale(1.05); opacity: 1; } to { transform: translateY(0) scale(1); } }
.four-paws-winning .four-paws-chip { box-shadow: 0 0 0 3px #fff7b8, 0 0 19px #fff7b8; animation: four-paws-win 1s ease-in-out infinite alternate; }
@keyframes four-paws-win { to { transform: scale(1.09); } }
.four-paws-sidebar { padding: 15px; border: 2px solid #91b7ae; border-radius: 18px; background: #f9f7ec; box-shadow: 0 4px #acc8bd; }
.four-paws-status { min-height: 4.3em; margin: 0 0 14px; color: #547075; font-weight: 800; line-height: 1.5; }
.four-paws-controls { display: grid; gap: 9px; }
.four-paws-controls button { min-height: 45px; padding: 8px; border-radius: 12px; font-weight: 800; cursor: pointer; touch-action: manipulation; }
.four-paws-controls button:disabled { opacity: .6; cursor: default; }
.four-paws-secondary { color: #3f6872; border: 2px solid #b6d1c9; background: #e5f0e8; }
.four-paws-primary { color: #fff7e3; border: 2px solid #9c7475; background: #ac7676; }
.four-paws-guide { margin: 17px 0 0; padding: 10px; border-top: 1px dashed #acc3bd; line-height: 1.43; }
.four-paws-guide summary { color: #446e76; font-weight: 800; cursor: pointer; }
.four-paws-guide p { margin-bottom: 0; font-size: .9rem; }
.four-paws-help { margin: 13px 0 0; font-size: .81rem; line-height: 1.45; }
@media (max-width: 850px) { .four-paws-layout { grid-template-columns: 1fr; } .four-paws-sidebar { max-width: 680px; width: 100%; margin-inline: auto; } .four-paws-status { min-height: 0; } .four-paws-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .four-paws-card { margin: 10px 0; padding: 10px; border-width: 2px; } .four-paws-heading { gap: 9px; } .four-paws-emblem { width: 46px; height: 46px; font-size: 1.45rem; border-radius: 14px; } .four-paws-heading p { font-size: .81rem; } .four-paws-hud { font-size: .77rem; justify-content: center; } .four-paws-turn { width: 100%; order: -1; font-size: .92rem; } .four-paws-player { padding: 4px 7px; } .four-paws-stage { padding: 4px; border-width: 3px; border-radius: 13px; } .four-paws-board { padding: 3px; border-width: 2px; border-radius: 9px; gap: 2px; } .four-paws-slot { border-width: 1px; } .four-paws-columns { padding: 0 3px 6px; gap: 2px; } .four-paws-drop { min-height: 38px; border-width: 1px; font-size: 1.1rem; } .four-paws-sidebar { padding: 10px; } }
@media (prefers-reduced-motion: reduce) { .four-paws-hint, .four-paws-new, .four-paws-winning .four-paws-chip { animation: none; } }

.cave-mode-label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;font-weight:700;color:#42665f}
.cave-mode{min-height:44px;padding:10px 14px;border:1px solid #b8c8bd;border-radius:10px;background:#f5efdf;color:#42665f;font:inherit;max-width:100%}
.cave-mode:focus-visible{outline:3px solid #89c4da;outline-offset:3px}

.game-introduction{box-sizing:border-box;max-width:680px;margin:clamp(12px,4vw,36px) auto;padding:clamp(20px,4vw,40px);border:2px solid #bd995b;border-radius:24px;background:#fff8e9;color:#253e32;box-shadow:0 12px 36px #163d2920}.game-introduction h2{font-size:clamp(1.35rem,5vw,2rem);line-height:1.2}.game-introduction p{line-height:1.7;overflow-wrap:anywhere}.game-introduction button{min-height:48px;max-width:100%;white-space:normal}.game-introduction button:focus-visible{outline:3px solid #22745b;outline-offset:4px}#previewBadge{white-space:normal}#exitPlaytest{min-height:40px}

.game-introduction .day-kicker{display:inline-block;background:#e9eddf;border:1px solid #becab2;color:#365542;font-size:.75rem;letter-spacing:.08em;padding:6px 12px;border-radius:30px}.game-introduction button{padding:12px 20px;border:1px solid #bfa363;border-radius:12px;background:#245443;color:#fff8e9;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 3px 0 #133c2e}.game-introduction button:hover{background:#2c6651}.game-introduction button:disabled{opacity:.65;cursor:wait}
/*24: visible added cats, independent of the invariant source illustrations. */
.play-stage .hunt-stage>img.hunt-added-kitten,.hunt-stage>img.hunt-added-kitten{position:absolute;width:5.2%;height:9.5%;object-fit:contain;left:0;top:0;transform:translate(-50%,-50%);pointer-events:none;z-index:1}
.hunt-cat{z-index:2}
.sorting-wallet{display:block;padding:10px 14px;color:#684620;background:#fff0b8;border-radius:10px}
.sorting-upgrades{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.sorting-upgrade{display:flex;flex:1 1 230px;gap:8px;flex-wrap:wrap;align-items:center;padding:10px;border:1px solid #baa77d;border-radius:12px}.sorting-upgrade>span{flex:1 1 150px}.sorting-basket{flex-wrap:wrap}

/* Türchen-Endnachricht: shared with the existing farm reward panel. */
.end-message-card{margin:16px 0;padding:clamp(14px,3vw,24px);border:2px solid #c99b54;border-radius:18px;background:#fff5df;color:#493124;min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;text-align:left}
.end-message-card h3{font-size:1.15rem;margin:0 0 12px;color:inherit}
.end-message-text{white-space:pre-wrap;line-height:1.65;margin:0;overflow-wrap:anywhere}

.viewport-reward-dock>.end-message-card{flex:1 1 280px;margin:0}.end-reward-editor{overflow-wrap:anywhere}
.farm-expanded .farm-reward>.end-message-card{flex:1 1 100%;width:100%}
.farm-expanded .farm-reward .end-message-text{display:block;font-size:1rem;line-height:1.65}
.farm-expanded.farm-build-controls-visible .farm-reward .end-message-text{display:block}
