/* Owner 30.11.2026: games for two in the chat and «Сад» on the home screen. Light, hopeful, uses the theme colours. */
.app .game-strip, .app .game-entry, .app .game-row { background: #FFF7EC; border-color: #F6D9AE; }
.app .game-entry.my-turn, .app .game-row.my-turn { background: #EAF8F0; border-color: #A9DEC0; }
.game-strip-emoji { font-size: 26px; line-height: 1; flex: none; }
.game-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.game-kind { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border-radius: 18px; border: 1px solid var(--ui-border); background: var(--ui-white, #fff); text-align: left; font: inherit; color: var(--ui-ink); cursor: pointer; min-height: 132px; }
.game-kind:active { transform: scale(.98); }
.game-kind-emoji { font-size: 30px; line-height: 1; }
.game-kind strong { font-size: 15px; }
.game-kind small { color: var(--ui-muted); font-size: 12.5px; line-height: 1.35; }
.game-q h3 { margin: 0 0 8px; font-size: 16px; }
.game-label { margin: 8px 0 6px; font-size: 13px; color: var(--ui-muted); font-weight: 600; }
.game-chips { flex-wrap: wrap; gap: 6px; }
.game-chips .chip[aria-pressed="true"], .game-fake[aria-pressed="true"] { background: var(--ui-primary); border-color: var(--ui-primary); color: var(--ui-on-brand, #fff); }
.game-score h2 { margin: 0 0 6px; font-size: 20px; }
.game-score p { margin: 2px 0; }
.game-pick { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.game-pick-btn { flex: 1; min-height: 52px; padding: 8px 10px; border-radius: 16px; border: 1px solid var(--ui-border); background: #fff; font: inherit; font-weight: 600; color: var(--ui-ink); cursor: pointer; }
.game-pick-btn[aria-pressed="true"] { background: var(--ui-primary); border-color: var(--ui-primary); color: var(--ui-on-brand, #fff); }
.game-or { font-size: 12px; color: var(--ui-muted); flex: none; }
.game-pick-res { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin: 0 0 6px; border-radius: 14px; background: #F5F6F8; font-size: 14px; }
.game-pick-res span { flex: 1; } .game-pick-res span:last-child { text-align: right; }
.game-pick-res.same { background: #EAF8F0; }
.game-fact-in { display: flex; flex-direction: column; gap: 8px; }
.game-fact-in input { width: 100%; }
.game-fact { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 12px 14px; margin: 0 0 8px; border-radius: 14px; background: #F5F6F8; text-align: left; font: inherit; color: var(--ui-ink); border: 1px solid transparent; }
.game-fact.fake { background: #FFF1E6; border-color: #F5C9A6; }
.game-fact small { color: var(--ui-muted); }
button.game-fact-pick { cursor: pointer; border-color: var(--ui-border); background: #fff; font-weight: 600; }
.game-field { display: grid; gap: 4px; margin: 0 0 16px; max-width: 340px; }
.game-cell { aspect-ratio: 1; border-radius: 10px; border: 1px solid #CFE6F5; background: #EEF8FE; font-size: 20px; padding: 0; line-height: 1; color: inherit; }
.game-cell:not(:disabled) { cursor: pointer; background: #fff; }
.game-cell:disabled { opacity: 1; }
.game-cell.gift { background: #FFF3D6; border-color: #F2D28B; }
.game-cell.hit { background: #FFD9E4; border-color: #EBA2B9; }
.game-cell.miss { background: #F3F4F6; border-color: #E5E7EB; }
.game-turn { margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; background: #F5F6F8; font-weight: 600; }
.game-turn.mine { background: #EAF8F0; }
.game-hunt-score, .game-road-legend, .game-legend { font-size: 13px; color: var(--ui-muted); }
.game-road { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 0 0 8px; }
.game-step { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.4; border-radius: 10px; background: #F1F6EC; border: 1px solid #DCE9CF; font-size: 18px; }
.game-step.ev-star { background: #FFF6D6; } .game-step.ev-rain { background: #E8F1FB; } .game-step.ev-talk { background: #FBEFF5; }
.game-step.on { background: #fff; border-color: var(--ui-primary); box-shadow: 0 0 0 2px var(--ui-tint, #e8f2ff); }
.game-throw { font-size: 18px; }
.game-log { padding: 8px 12px; margin: 0 0 6px; border-radius: 12px; background: #F5F6F8; font-size: 14px; }
.game-log.talk { background: #FBEFF5; }
/* «Сад» */
.garden-beds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 6px 0 8px; }
.garden-bed { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 14px; background: #EFE3D3; box-shadow: inset 0 -6px 0 #E2D1BB; font-size: 24px; }
.garden-bed.grown { background: #E3F4E6; box-shadow: inset 0 -6px 0 #CBE9D0; }
.garden-bed.wilt { background: #F3EDE4; filter: saturate(.6); }
.garden-bed.new { animation: garden-pop .6s ease-out; }
@keyframes garden-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.garden-msg { margin: 4px 0 8px; font-weight: 600; color: #2F7D4A; }
.garden-msg.dry { color: #A4652B; }
/* «Звёзды над Самаркандом» */
.game-sky-box { max-width: 340px; margin: 0 auto 10px; }
.game-sky-box svg { width: 100%; height: auto; display: block; }
/* «Тандыр» */
.tandir-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; margin: 0 0 10px; border-radius: 16px; background: #FFF3E3; font-size: 16px; }
.tandir-left { font-size: 22px; }
.tandir-row { display: flex; gap: 10px; align-items: center; margin: 0 0 10px; font-size: 18px; }
.tandir-oven { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.tandir-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; border-radius: 50% 50% 18px 18px; background: #E9DCCB; box-shadow: inset 0 -8px 0 #D9C6AE; font-size: 30px; }
.tandir-slot small { font-size: 11px; color: #6B5A45; text-align: center; padding: 0 4px; }
.tandir-slot.baking { background: #F7C98B; }
.tandir-slot.ready { background: #FFE6B0; outline: 3px solid #F2A93B; }
.game-big { min-height: 56px; font-size: 17px; }
/* «Плов на всех» */
.plov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 12px; }
.plov-ing { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; border: 1px solid var(--ui-border); background: #fff; font: inherit; color: var(--ui-ink); cursor: pointer; }
.plov-ing:disabled { cursor: default; opacity: .75; }
.plov-ing.full { background: #EAF8F0; border-color: #A9DEC0; opacity: 1; }
.plov-emoji { font-size: 28px; line-height: 1.1; }
.plov-ing strong { font-size: 12.5px; } .plov-ing small { font-size: 11.5px; color: var(--ui-muted); }
/* «Цепочка» */
.chain-box { max-width: 360px; margin: 0 auto 10px; touch-action: none; border-radius: 20px; border: 1px solid var(--ui-border); overflow: hidden; }
.chain-box svg { width: 100%; height: auto; display: block; }
.chain-pal { display: flex; gap: 10px; justify-content: center; margin: 0 0 10px; }
.chain-col { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ui-border); cursor: pointer; }
.chain-col[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ui-ink); }
/* «Базар» */
.bazar-hand-row { display: flex; gap: 8px; margin: 0 0 12px; }
.bazar-fruit { flex: 1; aspect-ratio: 1; font-size: 30px; border-radius: 16px; border: 1px solid var(--ui-border); background: #fff; cursor: pointer; }
.bazar-fruit[aria-pressed="true"] { border-color: var(--ui-primary); box-shadow: 0 0 0 2px var(--ui-primary); }
.bazar-hand { font-size: 30px; letter-spacing: 4px; }
.bazar-offer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; margin: 0 0 8px; border-radius: 14px; background: #F5F6F8; font-size: 15px; }
.bazar-offer.mine { background: #FFF7EC; }
.bazar-form .game-chips .chip { font-size: 20px; }
