body.\32 1 #table-area.ochko-table {
  position: relative;
  width: 100%;
  height: min(720px, calc(100dvh - 42px));
  min-height: 560px;
  overflow: visible;
  color: #fff;
  font-family: Arial, sans-serif;
}
body.\32 1 { min-width: 0; }
html:has(body.\32 1), body.table-game.\32 1 {
  background-color: #14251c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  background-attachment: fixed;
}
body.\32 1 #table-area.ochko-table { isolation: isolate; background: transparent; }
body.\32 1 #table-area.ochko-table--frameless { width: 100vw; max-width: none; height: 100dvh; min-height: 100dvh; max-height: none; overflow: hidden; }
.ochko-table-surface { position: absolute; z-index: 0; inset: 18px 2.5% 12px; pointer-events: none; border-radius: 46% / 40%; background: linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.02) 18%,rgba(0,0,0,.1) 60%,rgba(0,0,0,.38) 100%),repeating-radial-gradient(ellipse 50% 50% at 50% 50%,rgba(0,0,0,.16) 0 2px,rgba(255,255,255,.06) 2px 4px,rgba(0,0,0,.05) 4px 7px,rgba(255,255,255,.025) 7px 11px),conic-gradient(from 205deg at 50% 50%,rgba(255,255,255,.1),rgba(0,0,0,.22) 22%,rgba(255,255,255,.07) 48%,rgba(0,0,0,.26) 72%,rgba(255,255,255,.1) 100%),linear-gradient(152deg,#90613a 0%,#6d4526 20%,#4a2a16 50%,#6d4526 80%,#90613a 100%); box-shadow: 0 18px 38px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.1),inset 0 4px 7px rgba(255,255,255,.2),inset 0 -7px 14px rgba(0,0,0,.42); }
.ochko-table-surface::before { position: absolute; inset: 22px; border-radius: 46% / 40%; background: radial-gradient(ellipse at 50% 45%,#3a6b4e 0%,#2c5340 100%); box-shadow: 0 0 0 2px rgba(0,0,0,.45),inset 0 6px 18px rgba(0,0,0,.45),inset 0 -4px 14px rgba(0,0,0,.28); content: ''; }
.ochko-table-surface::after { position: absolute; inset: 22px; border-radius: 46% / 40%; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ctext x='10' y='20' fill='%23ffffff' font-size='12'%3E%E2%99%A0%3C/text%3E%3Ctext x='40' y='20' fill='%23ffffff' font-size='12'%3E%E2%99%A5%3C/text%3E%3Ctext x='10' y='50' fill='%23ffffff' font-size='12'%3E%E2%99%A6%3C/text%3E%3Ctext x='40' y='50' fill='%23ffffff' font-size='12'%3E%E2%99%A3%3C/text%3E%3C/svg%3E"); background-repeat: repeat; background-size: 60px 60px; mask-image: radial-gradient(ellipse at center,#000 20%,transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center,#000 20%,transparent 75%); content: ''; }
.ochko-table--frameless .ochko-table-surface { inset: 0; border-radius: 0; background: none; box-shadow: none; }
.ochko-table--frameless .ochko-table-surface::before { inset: 0; border-radius: 0; box-shadow: inset 0 0 100px rgba(0,0,0,.24); }
.ochko-table--frameless .ochko-table-surface::after { inset: 0; border-radius: 0; }

.ochko-topbar { position: absolute; z-index: 12; top: 14px; left: 50%; display: flex; align-items: center; justify-content: center; width: 150px; padding: 4px; transform: translateX(-50%); border: 0; background: transparent; }
.ochko-round { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; min-height: 38px; padding: 5px 8px; border: 0; border-radius: 17px; background: transparent; box-shadow: none; color: #fff; font: 700 13px/18px Arial,sans-serif; text-align: center; white-space: nowrap; }
.ochko-round__segments { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; width: 92%; height: 4px; margin: 0 auto; }
.ochko-round__segments i { border-radius: 3px; background: rgba(255,255,255,.18); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.ochko-round__segments i.is-complete { background: rgba(248,223,122,.58); }
.ochko-round__segments i.is-current { background: #ffe04e; box-shadow: 0 0 7px rgba(255,224,78,.72); }
.ochko-deck__toggle:focus-visible, .ochko-rules__close:focus-visible, .ochko-controls .game-button:focus-visible, .ochko-amount input:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.ochko-player { position: absolute; z-index: 8; left: 50%; width: 520px; transform: translateX(-50%); text-align: center; }
.ochko-player--opponent { top: 80px; }
.ochko-player--me { bottom: 28px; display: flex; flex-direction: column; align-items: center; }
.ochko-deck { position: absolute; z-index: 7; top: 44%; left: calc(50% + 250px); width: 58px; height: 105px; transform: translateY(-50%); }
.ochko-deck__toggle { position: relative; isolation: isolate; display: block; width: 58px; height: 105px; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ochko-deck__toggle::after { position: absolute; z-index: -2; right: -13px; bottom: 4px; left: -13px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse at center,rgba(0,0,0,.58) 0%,rgba(0,0,0,.34) 42%,rgba(0,0,0,0) 74%); filter: blur(3px); transform: translateY(8px) scaleX(1.12); pointer-events: none; content: ''; }
.ochko-deck__toggle:active { transform: scale(.98); }
@media (hover: hover) { .ochko-deck__toggle:hover .ochko-deck__label { color: #fff0a8; } }
.ochko-deck__tray { position: absolute; z-index: -1; top: 28px; left: -11px; width: 80px; height: 80px; background: url('/img/main/flat/game_redesign/ochko/card-shoe.png') center/contain no-repeat; filter: drop-shadow(0 5px 7px rgba(0,0,0,.42)); }
.ochko-deck__card { position: absolute; top: 0; left: 0; width: 58px; height: 77px; margin: 0; border-radius: 5px; background-size: 100% 100%; box-shadow: 0 5px 12px rgba(0,0,0,.42); }
.ochko-deck__card:nth-of-type(2) { translate: -5px 5px; rotate: -3deg; opacity: .7; }
.ochko-deck__card:nth-of-type(3) { translate: -2px 2px; rotate: -1deg; opacity: .88; }
.ochko-deck__card:nth-of-type(4) { translate: 0 0; }
.ochko-deck[data-depth="0"] .ochko-deck__card, .ochko-deck[data-depth="1"] .ochko-deck__card:nth-of-type(2), .ochko-deck[data-depth="1"] .ochko-deck__card:nth-of-type(3), .ochko-deck[data-depth="2"] .ochko-deck__card:nth-of-type(2) { display: none; }
.ochko-deck[data-depth="0"] .ochko-deck__tray { top: 8px; }
.ochko-deck .ochko-deck__label { position: absolute; bottom: 0; left: 0; box-sizing: border-box; width: 58px; padding: 3px 2px; border-radius: 9px; background: rgba(12,15,13,.86); color: #f8df7a; font: 700 10px/14px Arial,sans-serif; text-align: center; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,0,0,.3); transition: color 90ms ease; }
.ochko-player .game-user { display: inline-flex; align-items: center; gap: 14px; width: 260px; min-width: 260px; padding: 7px 16px 7px 7px; border: 0; border-radius: 40px 18px 18px 40px; background: linear-gradient(105deg,rgba(15,18,15,.62),rgba(25,28,24,.48)); box-shadow: 0 9px 26px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.05); backdrop-filter: blur(9px); }
.ochko-player .game-user__avatar { position: relative; flex: 0 0 72px; float: none; }
.ochko-player .game-user__img-wrap { width: 72px; height: 72px; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.38); }
.ochko-player .game-user__img-wrap.game-user__img-active { box-shadow: 0 0 20px #ffd031; }
.ochko-player .game-user__img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ochko-player .game-user__game-status.ochko-banker-status { position: absolute; z-index: 5; top: auto; right: auto; bottom: -3px; left: -6px; display: block; width: 30px; height: 30px; border: 2px solid rgba(255,255,255,.94); border-radius: 50%; background: #ffd83d url('/img/main/flat/game_redesign/ochko/banker-icons/banknotes-stack.png') center/28px 28px no-repeat; box-shadow: 0 3px 8px rgba(0,0,0,.42); }
.ochko-player .game-user__game-status.ochko-banker-status[hidden] { display: none; }
.ochko-player .game-user__info { float: none; width: auto; min-width: 0; max-width: 190px; margin: 0; padding: 0; background: none; text-align: left; }
body.\32 1 #position1 .game-user, body.\32 1 #position2 .game-user { display: inline-flex; width: 260px; height: auto; }
body.\32 1 #position1 .game-user__avatar, body.\32 1 #position2 .game-user__avatar { width: 72px; min-width: 72px; margin: 0; }
body.\32 1 #position1 .game-user__info, body.\32 1 #position2 .game-user__info { position: static; width: auto; margin: 0; text-align: left; }
.ochko-player .game-user__name { min-height: 20px; max-width: 100%; overflow: hidden; color: #fff; font: 700 16px/20px Arial,sans-serif; text-overflow: ellipsis; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.ochko-player .game-user__name a { color: #fff; }
.ochko-player__meta { margin-top: 2px; color: #ffe04e; font: 700 13px/17px Arial,sans-serif; }
.ochko-player__score { margin-top: 3px; color: rgba(255,255,255,.78); font: 700 11px/15px Arial,sans-serif; }
.ochko-player__score[hidden] { display: none; }
.ochko-player__score.is-bust { color: #ff8d80; }
.ochko-player__score.is-bust::before { display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; border-radius: 50%; background: #ff6659; content: ''; }
.ochko-chat-messages { position: absolute; z-index: 40; left: calc(50% + 130px); display: block; width: 220px; pointer-events: none; text-align: left; }
.ochko-player--opponent .ochko-chat-messages { top: 12px; }
.ochko-player--me .ochko-chat-messages { bottom: 18px; }
.ochko-chat-messages .game-user__message { z-index: 1; max-width: 100%; pointer-events: auto; }
.ochko-hand { position: static; display: flex; justify-content: center; gap: 8px; width: max-content; min-height: 108px; margin: 0 auto; }
.ochko-hand .ochko-card { position: relative; flex: 0 0 78px; width: 78px; height: 103px; margin: 0; border-radius: 7px; cursor: default; filter: drop-shadow(0 5px 5px rgba(0,0,0,.42)); }
.ochko-hand .ochko-card--back { border: 0; background-size: 100% 100%; box-shadow: 0 5px 8px rgba(0,0,0,.42); }
.ochko-hand--opponent { height: 78px; min-height: 78px; margin-top: 6px; transform: scale(.72); transform-origin: center top; }
.ochko-hand--me { order: -1; margin-bottom: 7px; transform: none; transform-origin: center bottom; }
.ochko-player.is-round-winner .ochko-hand { animation: ochkoWinningHand 1050ms cubic-bezier(.2,.8,.25,1) both; }
.ochko-player.is-round-winner .ochko-card { filter: drop-shadow(0 0 14px rgba(255,230,72,1)) drop-shadow(0 0 25px rgba(255,185,28,.72)) drop-shadow(0 7px 7px rgba(0,0,0,.46)); }
.ochko-player.is-round-winner .game-user { box-shadow: 0 0 0 2px rgba(255,229,80,.92),0 0 30px rgba(255,202,44,.64),0 9px 26px rgba(0,0,0,.2); animation: ochkoWinnerProfile 900ms ease-out both; }
.ochko-player.is-round-loser { opacity: .7; transition: opacity 220ms ease; }
.ochko-player.is-round-tie .ochko-hand { animation: ochkoTieHand 760ms ease-out both; }
.ochko-player.is-round-tie .ochko-card { filter: drop-shadow(0 0 7px rgba(113,211,255,.88)) drop-shadow(0 6px 6px rgba(0,0,0,.42)); }

.ochko-center { position: absolute; z-index: 7; top: 37%; left: 50%; width: 300px; min-height: 0; padding: 10px 13px 11px; transform: translate(-50%,-50%); border-radius: 19px; background: rgba(16,19,16,.54); box-shadow: 0 9px 26px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.05); backdrop-filter: blur(8px); text-align: center; }
.ochko-message.game-message { position: static; width: auto; height: auto; min-height: 0; margin: 0; transform: none; }
.ochko-message .message-text { display: block; width: 100%; min-width: 0; padding: 2px 5px 8px; border-radius: 0; box-shadow: none; font: 700 15px/20px Arial,sans-serif; }
.ochko-message .message-text.message-standby { background: none; color: rgba(255,255,255,.82); }
.ochko-message .message-text.message-info { background: none; color: #ffe064; }
.ochko-pot { display: inline-flex; align-items: baseline; gap: 7px; margin-top: 8px; padding: 2px 7px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ochko-pot > span { color: #fff; font-size: 13px; }
.ochko-pot > b { color: #ffe04e; font-size: 24px; }
.ochko-pot small { color: #ffd59a; }
.ochko-limits { display: flex; justify-content: center; gap: 16px; margin-top: 2px; color: rgba(255,255,255,.84); font-size: 12px; text-shadow: 0 1px 2px #000; }

.ochko-controls { position: absolute; z-index: 14; top: 54%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 10px; width: min(460px,calc(100% - 28px)); min-height: 68px; margin: 0; padding: 9px; transform: translateX(-50%); border-radius: 17px; background: rgba(14,17,14,.7); box-shadow: 0 10px 28px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.055); backdrop-filter: blur(9px); }
.ochko-controls[hidden] { display: none; }
.ochko-controls.is-submitting > * { visibility: hidden; }
.ochko-controls.is-submitting::after { position: absolute; inset: 0; display: grid; place-items: center; color: #f5e7a0; content: attr(data-pending-text); font: 700 15px/20px Arial,sans-serif; letter-spacing: .01em; }
.ochko-controls.is-single { width: auto; min-width: 180px; justify-content: center; }
.ochko-controls.is-choice { width: 330px; }
.ochko-controls .game-button { display: none; min-width: 142px; min-height: 48px; margin: 0; padding: 12px 18px; border-radius: 12px; font: 700 16px/20px Arial,sans-serif; cursor: pointer; touch-action: manipulation; }
.ochko-controls .game-button.is-ghost { visibility: hidden; pointer-events: none; }
.ochko-controls .game-button.is-visible { display: inline-flex; align-items: center; justify-content: center; }
.ochko-controls [data-action="next_round"] { position: relative; }
.ochko-controls [data-action="next_round"].is-auto-advance::after { position: absolute; top: calc(100% + 4px); left: 7px; width: calc(100% - 14px); height: 2px; border-radius: 999px; background: linear-gradient(90deg,#fff3a0 0%,#ffd83d 52%,#ffb300 100%); box-shadow: 0 1px 4px rgba(0,0,0,.34); opacity: .5; transform: scaleX(0); transform-origin: left center; animation: ochkoNextRoundProgress 3s linear forwards; content: ''; pointer-events: none; }
.ochko-controls .game-button:active { transform: translateY(1px); filter: brightness(.96); box-shadow: inset 0 2px 5px rgba(0,0,0,.2); }
.ochko-controls .game-button[disabled] { opacity: 1; cursor: progress; transform: none; filter: saturate(.94) brightness(.98); }
.ochko-controls .game-button.is-pending { box-shadow: inset 0 0 0 2px rgba(255,255,255,.2), 0 3px 10px rgba(0,0,0,.2); }
.ochko-amount { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 10px; min-height: 48px; padding: 2px 6px; color: rgba(255,255,255,.86); font-size: 12px; text-align: left; }
.ochko-amount[hidden] { display: none; }
.ochko-amount input { grid-column: 1 / -1; width: 220px; height: 18px; margin: 0; accent-color: #ffd21f; cursor: pointer; }
.ochko-amount output { min-width: 28px; color: #ffe04e; font: 700 15px/18px Arial,sans-serif; text-align: right; }

.ochko-shoe { position: absolute; z-index: 25; top: 50%; left: calc(100% + 15px); width: 340px; padding: 16px; transform: translateY(-50%); border: 1px solid rgba(248,223,122,.28); border-radius: 16px; background: rgba(12,15,13,.97); box-shadow: 0 14px 36px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.ochko-shoe::before { position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; transform: translateY(-50%) rotate(45deg); border-bottom: 1px solid rgba(248,223,122,.28); border-left: 1px solid rgba(248,223,122,.28); background: rgba(12,15,13,.97); content: ''; }
.ochko-shoe[hidden] { display: none; }
.ochko-shoe__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 11px; color: #fff; }
.ochko-shoe__heading b { font-size: 16px; }
.ochko-shoe__heading span { color: rgba(255,255,255,.62); font-size: 11px; }
.ochko-shoe-values { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; }
.ochko-shoe-value { padding: 6px 3px; border-radius: 6px; background: rgba(255,255,255,.11); color: #fff; font: 700 12px/18px Arial,sans-serif; text-align: center; white-space: nowrap; }
.ochko-shoe-value.is-empty { opacity: .38; }
.ochko-shoe small { display: block; margin-top: 11px; color: rgba(255,255,255,.72); font: 400 11px/16px Arial,sans-serif; }

.ochko-rules, .ochko-rules-menu-item { display: none; }

@media (min-width: 1180px) and (min-height: 700px) {
  .ochko-rules-menu-item { display: table-row; }
  .ochko-rules { position: absolute; z-index: 30; top: 70px; right: 24px; display: block; width: 330px; padding: 22px; border: 1px solid rgba(255,226,128,.48); border-radius: 16px; background: rgba(17,20,18,.97); box-shadow: 0 16px 42px rgba(0,0,0,.5); color: #f8f8f4; text-align: left; }
  .ochko-rules[hidden] { display: none; }
  .ochko-rules__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.11); color: #fff; font: 400 27px/34px Arial,sans-serif; cursor: pointer; }
  .ochko-rules__eyebrow { margin: 0 42px 3px 0; color: #ffd84b; font: 700 11px/16px Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; }
  .ochko-rules h2 { margin: 0 42px 8px 0; color: #fff; font: 700 21px/27px Arial,sans-serif; }
  .ochko-rules__lead { margin: 0 0 15px; color: #e8e9e5; font: 400 14px/20px Arial,sans-serif; }
  .ochko-rules__steps { margin: 0; padding: 0; list-style: none; counter-reset: rules; }
  .ochko-rules__steps li { position: relative; min-height: 35px; padding: 0 0 10px 36px; counter-increment: rules; }
  .ochko-rules__steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #f4c928; color: #282000; content: counter(rules); font: 700 12px/25px Arial,sans-serif; }
  .ochko-rules__steps b, .ochko-rules__steps span { display: block; font: 700 13px/18px Arial,sans-serif; }
  .ochko-rules__steps span { color: #cfd2cc; font-weight: 400; }
  .ochko-rules__values { margin: 3px 0 13px; padding: 10px 12px; border-radius: 10px; background: rgba(255,216,75,.11); }
  .ochko-rules__values b, .ochko-rules__values span { display: block; }
  .ochko-rules__values b { margin-bottom: 3px; color: #ffe26b; font-size: 13px; }
  .ochko-rules__values span, .ochko-rules__footer { color: #e5e7e2; font: 400 12px/17px Arial,sans-serif; }
  .ochko-rules__footer { margin: 0; }
}

@keyframes ochkoWinningHand { 0% { filter: brightness(1); translate: 0 0; } 28% { filter: brightness(1.55); translate: 0 -9px; } 55% { filter: brightness(1.12); translate: 0 -3px; } 76% { filter: brightness(1.36); translate: 0 -6px; } 100% { filter: brightness(1.12); translate: 0 -3px; } }
@keyframes ochkoWinnerProfile { 0% { filter: brightness(1); } 38% { filter: brightness(1.35); } 100% { filter: brightness(1.08); } }
@keyframes ochkoTieHand { 0%,100% { translate: 0 0; } 45% { translate: 0 -3px; } }
@keyframes ochkoNextRoundProgress { to { transform: scaleX(1); } }

@media (max-height: 750px) {
  .ochko-center { top: 44%; }
}

@media (max-height: 650px) {
  body.\32 1 #table-area.ochko-table { min-height: 500px; height: calc(100dvh - 36px); }
  .ochko-player--opponent { top: 80px; }
  .ochko-center { top: 46%; }
  .ochko-controls { top: 62%; }
  .ochko-player--me { bottom: 64px; }
  .ochko-player .game-user__img-wrap { width: 58px; height: 58px; }
  .ochko-hand--me { transform: scale(.78); }
  .ochko-hand--opponent { transform: scale(.64); }
}

@media (min-height: 800px) {
  .ochko-center { top: 44%; }
  .ochko-player--me { bottom: 28px; }
}

@media (max-width: 600px) and (orientation: portrait) {
  html:has(body.\32 1) { height: 100svh; max-height: 100svh; overflow: hidden; background: #2c5340; }
  body.table-game.\32 1 { background-color: #2c5340; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23ffffff' fill-opacity='.045' font-family='serif' font-size='12'%3E%3Ctext x='10' y='20'%3E%E2%99%A0%3C/text%3E%3Ctext x='40' y='20'%3E%E2%99%A5%3C/text%3E%3Ctext x='10' y='50'%3E%E2%99%A6%3C/text%3E%3Ctext x='40' y='50'%3E%E2%99%A3%3C/text%3E%3C/g%3E%3C/svg%3E"),radial-gradient(ellipse at 50% 42%,#3a6b4e 0%,#2c5340 100%); background-repeat: repeat,no-repeat; background-size: 60px 60px,100% 100%; background-attachment: fixed,fixed; }
  body.\32 1 { height: 100svh; min-height: 100svh; max-height: 100svh; overflow: hidden; }
  body.\32 1 #table-area.ochko-table { width: 100vw; height: calc(100svh - 34px); min-height: 620px; background: transparent; }
  .ochko-table-surface { display: none; }
  body.\32 1 .ochko-topbar { top: 10px; width: calc(100% - 24px); max-width: 360px; }
  body.\32 1 .ochko-round { min-height: 32px; padding: 2px 8px; font-size: 12px; line-height: 16px; }
  body.\32 1 .ochko-round__segments { width: 86%; height: 3px; }
  .ochko-player { width: 100%; }
  .ochko-deck { top: 28%; right: 10px; left: auto; scale: .58; transform-origin: right center; }
  .ochko-deck .ochko-deck__label { left: -7px; width: 72px; font-size: 14px; line-height: 18px; }
  body.\32 1 #position2.ochko-player { top: 66px; bottom: auto; }
  body.\32 1 #position1.ochko-player { top: auto; bottom: 12px; }
  .ochko-player .game-user { box-sizing: border-box; width: calc(100% - 32px); min-width: 0; max-width: 360px; }
  .ochko-chat-messages { left: 50%; width: min(220px, calc(100% - 40px)); transform: translateX(-50%); }
  .ochko-player--opponent .ochko-chat-messages { top: 8px; }
  .ochko-player--me .ochko-chat-messages { bottom: 8px; }
  body.\32 1 #position1 .game-user, body.\32 1 #position2 .game-user { width: calc(100% - 32px); max-width: 360px; }
  body.\32 1 .ochko-center { top: 47%; width: calc(100% - 30px); max-width: 340px; }
  body.\32 1 .ochko-table.has-round-outcome .ochko-center { top: 47%; }
  body.\32 1 .ochko-limits { font-size: 14px; line-height: 20px; }
  body.\32 1 .ochko-player .game-user__message { max-width: 190px; font-size: 14px; line-height: 18px; }
  body.\32 1 .ochko-controls { box-sizing: border-box; top: 58%; width: calc(100% - 24px); max-width: 370px; }
  .ochko-controls.is-choice { width: calc(100% - 40px); }
  .ochko-controls .game-button { flex: 0 1 46%; min-width: 0; max-width: 180px; padding-right: 10px; padding-left: 10px; }
  .ochko-amount { flex: 1 1 54%; min-width: 0; }
  .ochko-amount input { width: 100%; min-width: 130px; }
  .ochko-hand--opponent { transform: scale(.7); }
  .ochko-hand--me { transform: scale(.82); }
  .ochko-shoe { top: calc(100% + 10px); right: -4px; left: auto; width: min(340px,calc(100vw - 24px)); transform: none; }
  .ochko-shoe::before { top: -6px; right: 30px; left: auto; transform: rotate(135deg); }
}

@media (max-height: 500px) and (orientation: landscape) {
  html:has(body.\32 1) { background: #2c5340; }
  body.table-game.\32 1 { background-color: #2c5340; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23ffffff' fill-opacity='.045' font-family='serif' font-size='12'%3E%3Ctext x='10' y='20'%3E%E2%99%A0%3C/text%3E%3Ctext x='40' y='20'%3E%E2%99%A5%3C/text%3E%3Ctext x='10' y='50'%3E%E2%99%A6%3C/text%3E%3Ctext x='40' y='50'%3E%E2%99%A3%3C/text%3E%3C/g%3E%3C/svg%3E"),radial-gradient(ellipse at 50% 42%,#3a6b4e 0%,#2c5340 100%); background-repeat: repeat,no-repeat; background-size: 60px 60px,100% 100%; background-attachment: fixed,fixed; }
  html:has(body.\32 1), body.\32 1 { height: 100svh; min-height: 0; max-height: 100svh; overflow: hidden; }
  html.small-screen body.table-game.\32 1 { height: 100svh; min-height: 0; max-height: 100svh; }
  body.\32 1 #table-area.ochko-table { width: 100vw; height: calc(100svh - 28px); min-height: 0; background: transparent; }
  .ochko-table-surface { display: none; }
  body.\32 1 .ochko-topbar { top: 5px; width: 230px; }
  .ochko-player { width: min(520px, 64vw); }
  .ochko-deck { top: 47%; right: 8px; left: auto; scale: .64; transform-origin: right center; }
  .ochko-deck .ochko-deck__label { left: -7px; width: 72px; font-size: 15px; line-height: 19px; }
  body.\32 1 #position2.ochko-player { top: 51px; bottom: auto; }
  body.\32 1 #position1.ochko-player { top: auto; bottom: 5px; display: block; }
  .ochko-player .game-user { width: 230px; min-width: 230px; padding-top: 4px; padding-bottom: 4px; }
  body.\32 1 #position1 .game-user, body.\32 1 #position2 .game-user { width: 230px; }
  .ochko-player .game-user__avatar { flex-basis: 58px; }
  body.\32 1 #position1 .game-user__avatar, body.\32 1 #position2 .game-user__avatar { width: 58px; min-width: 58px; }
  body.\32 1 .ochko-center { top: 52%; left: 25%; width: min(280px,42vw); padding-top: 7px; padding-bottom: 7px; }
  body.\32 1 .ochko-controls, body.\32 1 .ochko-controls.is-choice { top: 52%; left: 70%; width: min(340px,52vw); min-height: 58px; padding: 5px; }
  .ochko-amount input { width: 160px; min-width: 0; }
  .ochko-controls .game-button { min-height: 44px; }
  .ochko-hand { position: absolute; top: 0; left: calc(50% + min(125px,15vw)); width: max-content; height: 76px; min-height: 76px; margin: 0; transform: scale(.6); transform-origin: left top; }
  .ochko-hand--me { right: auto; }
  .ochko-shoe { top: calc(100% + 8px); right: -4px; left: auto; width: min(320px,calc(100vw - 16px)); padding: 12px; transform: none; }
  .ochko-shoe::before { top: -6px; right: 28px; left: auto; transform: rotate(135deg); }
}

@media (max-width: 360px) and (orientation: portrait) {
  .ochko-hand--opponent { transform: scale(.62); }
  .ochko-hand--me { transform: scale(.72); }
}

@media (max-width: 700px) and (max-height: 500px) and (orientation: landscape) {
  .ochko-hand { transform: scale(.54); }
}

@media (prefers-reduced-motion: reduce) {
  .ochko-hand .ochko-card, .ochko-player.is-round-winner .ochko-hand, .ochko-player.is-round-winner .game-user, .ochko-player.is-round-tie .ochko-hand { animation: none; }
}
