:is(.page-poker, .page-quick-poker) { background: #f8f7fb; }
.pk-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.pk-hero { padding-block: clamp(58px, 7vw, 95px); color: #fff; background: radial-gradient(circle at 85% 15%, #aa5ded 0, transparent 31%), linear-gradient(120deg, #210d3b, #5b189f 60%, #7d33cf); }
.pk-kicker { margin: 0 0 9px; color: #782fc4; font: 800 12px/1.3 "IBM Plex Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.pk-hero .pk-kicker { color: #ffd66c; }
.pk-hero h1 { margin: 0; font: 900 clamp(50px, 7vw, 86px)/1 "Cairo", sans-serif; letter-spacing: -.045em; }
.pk-hero p:not(.pk-kicker) { max-width: 680px; margin: 22px 0 0; color: #f0e5ff; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.pk-hero__facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.pk-hero__facts span { padding: 8px 13px; border: 1px solid #d9b7f388; border-radius: 99px; color: #fff; font-size: 13px; font-weight: 700; }
.pk-main { padding-block: 42px 86px; }
.pk-message { margin-bottom: 25px; padding: 15px 19px; border: 1px solid #e8dff1; border-radius: 12px; background: #fff; color: #3a2251; line-height: 1.5; }
.pk-message.is-error { border-color: #e0bbbb; background: #fff2f2; color: #952b2b; }
.pk-lobby, .pk-room, .pk-guide { margin-bottom: 48px; }
.pk-lobby__intro h2, .pk-guide h2, .pk-room h2 { margin: 0; color: #28133b; font: 900 clamp(29px, 3.5vw, 42px)/1.15 "Cairo", sans-serif; }
.pk-lobby__intro > p:last-child, .pk-guide > div:first-child > p:last-child { max-width: 720px; color: #67606e; line-height: 1.6; }
.pk-lobby__choices, .pk-guide__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.pk-choice, .pk-guide__tiles article { padding: 29px; border: 1px solid #e5ddeb; border-radius: 19px; background: #fff; box-shadow: 0 12px 35px #38165d0a; }
.pk-choice__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #efe1ff; color: #7630bf; font-size: 35px; }
.pk-choice__icon--gold { background: #fff0b5; color: #aa7000; }
.pk-choice h3 { margin: 18px 0 7px; color: #2e1940; font: 800 25px/1.2 "Cairo", sans-serif; }
.pk-choice p { min-height: 54px; color: #686170; line-height: 1.5; }
.pk-choice label { display: block; margin: 9px 0; color: #453652; font-weight: 700; }
.pk-choice input { display: block; width: 100%; min-height: 47px; padding: 10px 14px; border: 1px solid #cfc3dd; border-radius: 10px; color: #261336; font-size: 16px; text-transform: uppercase; }
.pk-choice input:focus-visible { outline: 3px solid #ab79e9; outline-offset: 1px; }
.pk-capacity { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0 0; padding: 0; border: 0; }
.pk-capacity legend { margin-bottom: 8px; color: #453652; font-size: 13px; font-weight: 800; }
.pk-capacity label { position: relative; flex: 1 1 115px; margin: 0; cursor: pointer; }
.pk-capacity label span { display: grid; place-items: center; min-height: 44px; padding: 8px; border: 2px solid #d4c5e2; border-radius: 10px; color: #4f3863; font-weight: 800; }
.pk-capacity input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.pk-capacity input:checked + span { border-color: #7628c4; background: #f1e5fc; color: #4c157d; }
.pk-capacity input:focus-visible + span { outline: 3px solid #ab79e9; outline-offset: 2px; }
.pk-button { min-height: 44px; padding: 10px 18px; border: 2px solid transparent; border-radius: 11px; font: 800 14px/1.25 "IBM Plex Sans", sans-serif; cursor: pointer; }
.pk-button:focus-visible { outline: 3px solid #ffc72b; outline-offset: 3px; }
.pk-button:disabled { opacity: .55; cursor: default; }
.pk-button--primary { background: #7628c4; color: #fff; }
.pk-button--dark { background: #2c1643; color: #fff; }
.pk-button--outline { background: #fff; border-color: #a47ac7; color: #5d2890; }
.pk-choice .pk-button { width: 100%; margin-top: 18px; }
.pk-room__header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px; margin-bottom: 20px; }
.pk-room__header p:last-child { margin: 8px 0 0; color: #615b68; }
.pk-invite { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 16px; border: 1px solid #ded2e9; border-radius: 12px; background: #fff; }
.pk-invite span { color: #6b6172; font-size: 12px; }
.pk-invite strong { font-size: 17px; letter-spacing: .1em; }
.pk-invite button { min-height: 44px; padding: 5px 11px; border: 0; border-radius: 8px; background: #eadcf7; color: #632996; font-weight: 800; cursor: pointer; }
.pk-table {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    gap: 11px;
    width: min(100%, 1080px);
    min-height: 640px;
    margin-inline: auto;
    padding: clamp(22px, 3.5vw, 38px);
    border: 11px solid #35243a;
    border-radius: 140px;
    background: radial-gradient(ellipse at 50% 42%, #287b64, #165c50 68%, #0d413b);
    box-shadow: inset 0 0 0 3px #c9a05c, inset 0 0 42px #082e2a88, 0 20px 43px #28123530;
    color: #fff;
}
.pk-table::before {
    position: absolute;
    inset: 13px;
    border: 1px solid #d0ad70a3;
    border-radius: inherit;
    content: "";
    pointer-events: none;
}
.pk-table__opponents, .pk-table__self { display: grid; justify-items: center; width: 100%; }
.pk-place { display: grid; justify-items: center; align-content: start; gap: 6px; width: min(100%, 430px); min-width: 0; }
.pk-place .pk-seat { width: 100%; }
.pk-place.is-empty .pk-seat { border-style: dashed; border-color: #bfdccc72; background: #073b3699; }
.pk-place.is-empty .pk-seat__avatar { background: #bad8bf; }
.pk-table--four { min-height: 710px; }
.pk-table--four .pk-table__opponents { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; width: min(100%, 900px); }
.pk-table--four .pk-place { width: 100%; }
.pk-table--four .pk-place--left, .pk-table--four .pk-place--right { margin-top: 42px; }
.pk-table--four .pk-place--top { margin-top: 0; }
.pk-table--four .pk-felt { width: min(100%, 620px); }
.pk-seat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 430px);
    min-width: 0;
    min-height: 72px;
    padding: 10px 14px;
    border: 2px solid #bee2d184;
    border-radius: 15px;
    background: #083d37f2;
    box-shadow: 0 8px 18px #052a2766;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.pk-seat.is-turn {
    border-color: #ffe39a;
    background: #104c42;
    box-shadow: 0 8px 22px #052a2780, 0 0 0 3px #f8d4774d;
    animation: pk-seat-enter 330ms cubic-bezier(.16, 1, .3, 1);
}
.pk-seat.is-winner {
    border-color: #ffe39a;
    box-shadow: 0 8px 24px #052a2780, 0 0 0 4px #ffe39a91;
    animation: pk-seat-win 500ms cubic-bezier(.16, 1, .3, 1);
}
.pk-seat.is-folded { border-color: #c5dbcf55; background: #123f3bbd; }
.pk-seat.is-folded .pk-cards { opacity: .5; }
.pk-seat.is-ready::after {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #99e8b5;
    box-shadow: 0 0 0 2px #0c433b;
    content: "";
}
.pk-seat__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5cc67;
    color: #3a2934;
    font-size: 23px;
}
.pk-seat__identity { flex: 1 1 auto; min-width: 0; }
.pk-seat strong { display: block; overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.pk-seat span { display: block; color: #d0eee0; font-size: 12px; }
.pk-seat__identity > span > span { display: inline; }
.pk-seat .pk-hand {
    width: fit-content;
    max-width: 100%;
    margin-top: 4px;
    color: #ffe29a;
    font-weight: 800;
    line-height: 1.2;
}
.pk-seat .pk-hand.is-made { padding: 3px 6px; border: 1px solid #eed39175; border-radius: 5px; background: #a66a2438; }
.pk-seat .pk-seat__action { color: #b4e8d1; font-size: 11px; font-weight: 700; }
.pk-seat .pk-seat__action.is-new { animation: pk-action-enter 240ms cubic-bezier(.16, 1, .3, 1); }
.pk-seat .pk-dealer {
    position: absolute;
    top: -9px;
    left: 48px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border: 2px solid #e7d7ae;
    border-radius: 50%;
    background: #fff9e9;
    color: #3d2b38 !important;
    font: 900 12px/1 "IBM Plex Sans", sans-serif !important;
    box-shadow: 0 2px 6px #06282099;
}
.pk-cards { display: flex; flex: 0 0 auto; gap: 5px; margin-left: auto; }
.pk-bet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 3px 11px 3px 5px;
    border: 1px solid #f9dfaa91;
    border-radius: 99px;
    background: #093d36;
    color: #fff2c5;
    box-shadow: 0 5px 11px #062b286b;
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.pk-bet__chip {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 3px double #f8dc9f;
    border-radius: 50%;
    background: #b67746;
    box-shadow: inset 0 0 0 2px #633e33;
}
.pk-bet--opponent.is-new { animation: pk-bet-opponent 380ms cubic-bezier(.16, 1, .3, 1); }
.pk-bet--self.is-new { animation: pk-bet-self 380ms cubic-bezier(.16, 1, .3, 1); }
.pk-felt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: min(100%, 670px);
    min-height: 190px;
    padding: 15px;
    border: 1px solid #d3be8975;
    border-radius: 100px;
    background: #103e371f;
    transition: border-color 220ms ease, box-shadow 220ms ease;
}
.pk-table.is-showdown .pk-felt { border-color: #ffe39a; box-shadow: inset 0 0 30px #efd58a24; }
.pk-pot { color: #d5f1e1; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.pk-pot strong { display: block; color: #ffe29a; font: 900 30px/1.15 "Cairo", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.pk-pot.is-collecting { animation: pk-pot-collect 430ms cubic-bezier(.16, 1, .3, 1); }
.pk-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 350px);
    min-height: 92px;
}
.pk-card, .pk-card-slot {
    display: block;
    width: 100%;
    min-width: 0;
    aspect-ratio: 550 / 805;
    border-radius: 7px;
}
.pk-card { border: 1px solid #f8eddc; background: #fff; object-fit: contain; box-shadow: 0 5px 10px #06262077; }
.pk-card-slot { border: 1px dashed #d5e4d098; background: #e6f5e019; }
.pk-card.is-dealt { animation: pk-card-deal 430ms cubic-bezier(.16, 1, .3, 1) both; }
.pk-board .pk-card.is-dealt:nth-child(2) { animation-delay: 55ms; }
.pk-board .pk-card.is-dealt:nth-child(3) { animation-delay: 110ms; }
.pk-board .pk-card.is-dealt:nth-child(4) { animation-delay: 165ms; }
.pk-board .pk-card.is-dealt:nth-child(5) { animation-delay: 220ms; }
.pk-cards .pk-card { width: 37px; height: 54px; }
.pk-street { color: #def2e4; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pk-felt__meta { display: flex; align-items: center; gap: 8px; }
.pk-hand-number { padding-left: 8px; border-left: 1px solid #c2dac880; color: #d9ebdd; font-size: 11px; font-variant-numeric: tabular-nums; }
.pk-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    width: min(100%, 890px);
    margin-top: 6px;
    padding: 14px 17px;
    border: 1px solid #e2d8ad70;
    border-radius: 18px;
    background: #062e2bd9;
    box-shadow: 0 10px 24px #0628204d;
}
.pk-controls > div:first-child { flex: 1 1 210px; min-width: 0; }
.pk-controls strong { color: #fff; font-size: 15px; }
.pk-controls p { margin: 3px 0 0; color: #d6e9dc; font-size: 12px; line-height: 1.4; }
.pk-turn-timer:not([hidden]) { display: inline-block; margin-left: 7px; padding: 3px 7px; border-radius: 6px; background: #fbe5ac; color: #42352b; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pk-turn-timer.is-urgent { background: #ffe0d1; color: #96351d; }
.pk-controls__actions { display: flex; flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.pk-controls__actions .pk-button { min-width: 92px; min-height: 48px; transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease; }
.pk-controls__actions .pk-button--primary { background: #f7ca69; color: #2d2431; }
.pk-controls__actions .pk-button--outline { border-color: #e8ede1a6; background: #16473f; color: #fff; }
.pk-controls__actions .pk-button--allin { border-color: #e49b9f; background: #8f354a; color: #fff; }
.pk-controls__actions .pk-button:focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px #f7ca69ab; }
.pk-controls__actions .pk-button:disabled { opacity: .6; }
.pk-wager {
    flex: 1 1 100%;
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 1.35fr);
    align-items: center;
    gap: 8px 18px;
    padding: 11px 13px;
    border: 1px solid #d6ce9d6b;
    border-radius: 11px;
    background: #155047b8;
}
.pk-wager__header { grid-column: 1 / -1; color: #fff4cc; font-size: 12px; font-weight: 800; }
.pk-wager__entry { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pk-wager__entry button,
.pk-wager__presets button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #cfdecd8f;
    border-radius: 8px;
    background: #0b3b35;
    color: #fff;
    font: 800 13px/1.2 "IBM Plex Sans", sans-serif;
    cursor: pointer;
}
.pk-wager__entry button:disabled,
.pk-wager__presets button:disabled { opacity: .5; cursor: default; }
.pk-wager__entry button:focus-visible,
.pk-wager__presets button:focus-visible,
.pk-wager__entry input:focus-visible,
.pk-wager__range:focus-visible { outline: 3px solid #ffde92; outline-offset: 2px; }
.pk-wager__entry input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid #bddac1;
    border-radius: 8px;
    background: #f9f8ec;
    color: #1d3330;
    font: 800 17px/1.2 "IBM Plex Sans", sans-serif;
    font-variant-numeric: tabular-nums;
    text-align: center;
}
.pk-wager__entry > span { flex: 0 0 auto; color: #fceac0; font-size: 12px; font-weight: 800; }
.pk-wager__range { width: 100%; min-height: 44px; margin: 0; accent-color: #f7ca69; cursor: pointer; }
.pk-wager__presets { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 6px; }
.pk-wager__presets button { flex: 1 1 70px; min-height: 44px; padding-inline: 7px; }
.pk-controls .pk-wager__help { grid-column: 1 / -1; margin: 0; color: #d8e9dc; font-size: 11px; line-height: 1.35; }
.pk-controls__actions { order: 3; }
.pk-allin-confirm {
    display: flex;
    flex: 1 1 100%;
    order: 4;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid #e7acaa;
    border-radius: 10px;
    background: #632e3a;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
}
.pk-controls .pk-allin-confirm p { flex: 1 1 180px; margin: 0; color: #fff; font-size: 12px; }
.pk-allin-confirm button { min-height: 44px; }
.pk-allin-confirm .pk-button--allin { background: #f6c379; color: #332536; }
.pk-allin-confirm .pk-button--outline { border-color: #f3d1c9; background: #6c3540; color: #fff; }
.pk-allin-confirm button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pk-topup {
    display: flex;
    flex: 1 1 100%;
    order: 4;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 11px 12px;
    border: 1px solid #c7d8ba8c;
    border-radius: 10px;
    background: #174c40;
    color: #fff;
}
.pk-topup > label { flex: 1 1 100%; font-size: 12px; font-weight: 800; }
.pk-topup__entry { display: flex; flex: 1 1 130px; align-items: center; gap: 6px; min-width: 0; }
.pk-topup__entry > span { color: #fff1ca; font-size: 12px; font-weight: 800; }
.pk-controls .pk-topup > p { flex: 1 1 100%; margin: 0; color: #d5e9da; font-size: 11px; }
.pk-topup input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 7px 10px;
    border: 1px solid #d2dec9;
    border-radius: 8px;
    background: #fffdf1;
    color: #203a32;
    font: 800 16px/1.2 "IBM Plex Sans", sans-serif;
    font-variant-numeric: tabular-nums;
}
.pk-topup__actions { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 7px; }
.pk-topup button { min-height: 44px; }
.pk-topup .pk-button--primary { background: #f7ca69; color: #2d2431; }
.pk-topup .pk-button--outline { border-color: #d8e3d0; background: #0b3b35; color: #fff; }
.pk-topup input:focus-visible, .pk-topup button:focus-visible { outline: 3px solid #ffde92; outline-offset: 2px; }
@media (hover: hover) {
    .pk-controls__actions .pk-button--primary:hover { background: #ffe198; }
    .pk-controls__actions .pk-button--outline:hover { background: #23574d; }
    .pk-controls__actions .pk-button--allin:hover { background: #a94254; }
    .pk-wager__entry button:hover:not(:disabled), .pk-wager__presets button:hover:not(:disabled) { background: #1b5a4e; }
}
.pk-controls__actions .pk-button:not(:disabled):active { transform: scale(.97); }
.pk-room__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; color: #66606c; font-size: 13px; }
.pk-room__footer p { max-width: 660px; line-height: 1.5; }
.pk-guide { padding: 30px; border-radius: 21px; background: #eee7f6; }
.pk-guide__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-guide__tiles article { box-shadow: none; }
.pk-guide__tiles span { color: #782fc4; font-weight: 900; }
.pk-guide__tiles h3 { margin: 12px 0 5px; color: #2b183d; font: 800 21px/1.2 "Cairo", sans-serif; }
.pk-guide__tiles p { margin: 0; color: #6b6471; line-height: 1.5; }
@keyframes pk-card-deal { from { opacity: .55; transform: translateY(-18px) rotate(-4deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes pk-bet-opponent { from { opacity: .4; transform: translateY(-20px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes pk-bet-self { from { opacity: .4; transform: translateY(20px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes pk-pot-collect { 0% { transform: scale(1); } 55% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes pk-seat-enter { from { box-shadow: 0 8px 22px #052a2780, 0 0 0 8px #f8d47700; } to { box-shadow: 0 8px 22px #052a2780, 0 0 0 3px #f8d4774d; } }
@keyframes pk-seat-win { from { box-shadow: 0 8px 24px #052a2780, 0 0 0 10px #ffe39a00; } to { box-shadow: 0 8px 24px #052a2780, 0 0 0 4px #ffe39a91; } }
@keyframes pk-action-enter { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
    .pk-table { min-height: 610px; border-radius: 90px; }
    .pk-table--four .pk-table__opponents { gap: 9px; }
    .pk-table--four .pk-place--left, .pk-table--four .pk-place--right { margin-top: 25px; }
    .pk-table--four .pk-seat { gap: 5px; padding: 8px; }
    .pk-table--four .pk-seat__avatar { flex-basis: 30px; width: 30px; height: 30px; font-size: 18px; }
    .pk-table--four .pk-cards .pk-card { width: 27px; height: 40px; }
    .pk-controls { justify-content: center; }
    .pk-controls > div:first-child { flex-basis: 100%; text-align: center; }
    .pk-controls__actions { justify-content: center; }
    .pk-wager { grid-template-columns: 1fr; }
    .pk-wager__header, .pk-wager__presets, .pk-wager__help { grid-column: 1; }
}
@media (max-width: 720px) {
    .pk-lobby__choices, .pk-guide__tiles { grid-template-columns: 1fr; }
    .pk-guide__tiles { gap: 10px; }
    .pk-table { min-height: 570px; padding: 20px 17px; border-width: 7px; border-radius: 65px; }
    .pk-table::before { inset: 8px; }
    .pk-felt { min-height: 170px; border-radius: 60px; }
    .pk-controls { border-radius: 14px; }
}
@media (max-width: 600px) {
    .pk-table--four { min-height: 0; }
    .pk-table--four .pk-table__opponents { gap: 5px; width: 100%; }
    .pk-table--four .pk-place--left, .pk-table--four .pk-place--right { margin-top: 16px; }
    .pk-table--four .pk-table__opponents .pk-seat { display: flex; flex-direction: column; gap: 3px; min-height: 101px; padding: 8px 4px 5px; border-radius: 10px; text-align: center; }
    .pk-table--four .pk-table__opponents .pk-seat__avatar { display: none; }
    .pk-table--four .pk-table__opponents .pk-seat__identity { width: 100%; }
    .pk-table--four .pk-table__opponents .pk-seat strong { font-size: 11px; }
    .pk-table--four .pk-table__opponents .pk-seat .pk-seat__stack { font-size: 10px; line-height: 1.25; }
    .pk-table--four .pk-table__opponents .pk-seat .pk-hand { width: 100%; margin-top: 3px; font-size: 9px; overflow-wrap: anywhere; }
    .pk-table--four .pk-table__opponents .pk-seat .pk-seat__action { font-size: 9px; }
    .pk-table--four .pk-table__opponents .pk-cards { justify-content: center; gap: 2px; margin: 2px auto 0; }
    .pk-table--four .pk-table__opponents .pk-cards .pk-card { width: 22px; height: 32px; }
    .pk-table--four .pk-table__opponents .pk-dealer { top: -10px; left: 4px; width: 19px; height: 19px; font-size: 10px !important; }
    .pk-table--four .pk-table__opponents .pk-bet { min-height: 24px; gap: 3px; padding: 2px 6px 2px 3px; font-size: 10px; }
    .pk-table--four .pk-table__opponents .pk-bet__chip { flex-basis: 16px; width: 16px; height: 16px; }
    .pk-table--four .pk-felt { min-height: 160px; }
}
@media (max-width: 480px) {
    .pk-wrap { width: min(100% - 26px, 1180px); }
    .pk-hero { padding-block: 48px 58px; }
    .pk-room__header { align-items: stretch; }
    .pk-invite { width: 100%; flex-wrap: wrap; }
    .pk-table { gap: 7px; min-height: 0; padding: 17px 10px; border-width: 6px; border-radius: 43px; }
    .pk-table::before { inset: 7px; }
    .pk-seat { min-height: 62px; padding: 6px 8px; gap: 6px; }
    .pk-seat__avatar { flex-basis: 30px; width: 30px; height: 30px; font-size: 19px; }
    .pk-seat strong { font-size: 12px; }
    .pk-seat span, .pk-seat .pk-hand { font-size: 11px; }
    .pk-seat .pk-dealer { left: 37px; }
    .pk-cards { gap: 3px; }
    .pk-cards .pk-card { width: 30px; height: 44px; }
    .pk-bet { min-height: 27px; font-size: 11px; }
    .pk-bet__chip { flex-basis: 18px; width: 18px; height: 18px; }
    .pk-felt { min-height: 152px; gap: 9px; padding: 9px 5px; border-radius: 47px; }
    .pk-pot strong { font-size: 24px; }
    .pk-board { gap: 4px; min-height: 0; width: min(100%, 270px); }
    .pk-board .pk-card, .pk-board .pk-card-slot { border-radius: 5px; }
    .pk-controls { gap: 9px; margin-top: 3px; padding: 11px; }
    .pk-controls strong { font-size: 14px; }
    .pk-controls p { font-size: 11px; }
    .pk-controls__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 7px; }
    .pk-controls__actions .pk-button { min-width: 0; min-height: 46px; padding-inline: 5px; font-size: 12px; overflow-wrap: anywhere; }
    .pk-wager { gap: 6px; padding: 8px; }
    .pk-wager__entry { gap: 4px; }
    .pk-wager__entry input { font-size: 16px; }
    .pk-wager__presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pk-wager__presets button { min-width: 0; padding-inline: 2px; font-size: 11px; }
    .pk-allin-confirm { padding: 9px; }
    .pk-allin-confirm button { flex: 1 1 45%; min-width: 0; }
    .pk-topup { padding: 9px; }
    .pk-topup__entry, .pk-topup__actions { flex-basis: 100%; }
    .pk-topup button { flex: 1 1 45%; min-width: 0; }
    .pk-room__footer .pk-button { width: 100%; }
    .pk-guide { padding: 18px; }
}
:is(.page-poker, .page-quick-poker).pk-is-playing .pk-hero { padding-block: 17px 22px; }
:is(.page-poker, .page-quick-poker).pk-is-playing .pk-hero h1 { font-size: clamp(27px, 4vw, 42px); }
:is(.page-poker, .page-quick-poker).pk-is-playing .pk-hero p:not(.pk-kicker),
:is(.page-poker, .page-quick-poker).pk-is-playing .pk-hero__facts { display: none; }
:is(.page-poker, .page-quick-poker).pk-is-playing .pk-main { padding-top: 22px; }
:is(.page-poker, .page-quick-poker).pk-is-playing .pk-room__header { margin-bottom: 14px; }
:is(.page-poker, .page-quick-poker) [hidden] { display: none !important; }
.pk-room__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-room__tool { min-height: 44px; padding: 8px 13px; border: 1px solid #b69cc9; border-radius: 9px; background: #fff; color: #4d286d; font: 800 13px/1.2 "IBM Plex Sans", sans-serif; cursor: pointer; }
.pk-room__tool[aria-pressed="true"] { border-color: #772fc0; background: #efe2fb; color: #4a167a; }
.pk-room__tool:focus-visible { outline: 3px solid #f4bc55; outline-offset: 2px; }
.pk-choice .pk-tournament-choice { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; padding: 13px; border: 1px solid #d5c1e7; border-radius: 11px; background: #faf5ff; cursor: pointer; }
.pk-choice .pk-tournament-choice input { flex: 0 0 21px; width: 21px; height: 21px; min-height: 21px; margin: 2px 0 0; padding: 0; accent-color: #7628c4; }
.pk-tournament-choice span { display: grid; gap: 3px; }
.pk-tournament-choice small { color: #64566e; font-size: 12px; font-weight: 500; line-height: 1.45; }
.pk-choice .pk-tournament-hint { min-height: 0; margin: 8px 0 0; color: #5a3e69; font-size: 12px; }
.pk-tournament { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px 16px; min-height: 136px; margin: 0 0 13px; padding: 16px 19px; border: 1px solid #d8cae5; border-radius: 15px; background: #fff; }
.pk-tournament > div { min-width: 0; }
.pk-tournament > div > span { display: block; color: #6f6078; font-size: 12px; font-weight: 700; }
.pk-tournament > div > strong { display: block; margin-top: 4px; color: #372147; font: 800 17px/1.25 "Cairo", sans-serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pk-tournament > p { grid-column: 1 / -1; margin: 0; color: #57306f; font-size: 12px; font-weight: 700; }
.pk-seat.is-eliminated { border-color: #c6d3c69a; background: #16423dbe; opacity: .7; }
.pk-seat.is-eliminated .pk-cards { opacity: .3; }
.pk-seat.is-offline, .pk-seat.is-departed { border-color: #b7c9bd9c; background: #173e39; }
.pk-seat.is-offline .pk-seat__action, .pk-seat.is-departed .pk-seat__action { color: #ffdda1; }
.pk-felt__finish { display: grid; justify-items: center; gap: 5px; text-align: center; }
.pk-felt__finish strong { color: #ffe39a; font: 900 clamp(20px, 4vw, 30px)/1.15 "Cairo", sans-serif; }
.pk-felt__finish span { color: #e6f4e8; font-size: 13px; font-weight: 700; }
.pk-seat--self { width: min(100%, 520px); min-height: 112px; }
.pk-table__self .pk-place { width: min(100%, 520px); }
.pk-seat--self .pk-cards .pk-card { width: 69px; height: 100px; }
.pk-bet__stacks { display: flex; align-items: flex-end; gap: 2px; height: 27px; }
.pk-bet__stack { display: block; width: 21px; height: 8px; border: 2px solid #f9d99b; border-radius: 50%; background: #bd754c; box-shadow: 0 -5px 0 -1px #743e3d, 0 -10px 0 -1px #ecc590, 0 -15px 0 -1px #743e3d; }
.pk-bet__stack:nth-child(2) { display: none; }
.pk-bet.is-large .pk-bet__stack:nth-child(2) { display: block; }
.pk-controls { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 77px 190px minmax(52px, auto); align-content: start; justify-items: stretch; gap: 10px; min-height: 0; }
.pk-controls > div:first-child { min-width: 0; text-align: center; }
.pk-controls__state { overflow: auto; }
.pk-controls__panel { position: relative; min-width: 0; height: 190px; overflow: auto; }
.pk-controls__panel > .pk-wager, .pk-controls__panel > .pk-allin-confirm, .pk-controls__panel > .pk-topup { width: 100%; margin: 0; }
.pk-controls__panel > .pk-wager.is-suppressed { display: none !important; }
.pk-controls__idle { display: grid; place-items: center; height: 100%; margin: 0 !important; border: 1px dashed #c9d8b989; border-radius: 11px; color: #d5ebdc !important; font-size: 13px !important; text-align: center; }
.pk-controls__actions { order: 0; min-height: 52px; justify-content: center; align-content: start; }
.pk-table.is-tournament-complete .pk-controls { grid-template-rows: minmax(77px, auto); }
.pk-table.is-tournament-complete .pk-controls__panel, .pk-table.is-tournament-complete .pk-controls__actions { display: none; }
.pk-table--nine { display: block; min-height: 1100px; }
.pk-table--nine .pk-table__opponents { position: absolute; inset: 26px 0 auto; display: block; width: 100%; height: 560px; }
.pk-table--nine .pk-place { position: absolute; width: 168px; }
.pk-table--nine .pk-place--ring-0 { top: 72%; left: 78%; }
.pk-table--nine .pk-place--ring-1 { top: 49%; left: 78%; }
.pk-table--nine .pk-place--ring-2 { top: 26%; left: 78%; }
.pk-table--nine .pk-place--ring-3 { top: 3%; left: 57%; }
.pk-table--nine .pk-place--ring-4 { top: 3%; left: 27%; }
.pk-table--nine .pk-place--ring-5 { top: 26%; left: 5%; }
.pk-table--nine .pk-place--ring-6 { top: 49%; left: 5%; }
.pk-table--nine .pk-place--ring-7 { top: 72%; left: 5%; }
.pk-table--nine .pk-table__opponents .pk-seat { min-height: 79px; padding: 8px; gap: 4px; }
.pk-table--nine .pk-table__opponents .pk-seat__avatar { display: none; }
.pk-table--nine .pk-table__opponents .pk-seat .pk-hand { font-size: 10px; }
.pk-table--nine .pk-table__opponents .pk-cards .pk-card { width: 24px; height: 35px; }
.pk-table--nine .pk-felt { position: absolute; top: 321px; left: 50%; width: min(51%, 540px); min-height: 190px; transform: translateX(-50%); }
.pk-table--nine .pk-table__self { position: absolute; top: 575px; left: 50%; width: min(100% - 44px, 520px); transform: translateX(-50%); }
.pk-table--nine .pk-table__self .pk-place { width: 100%; }
.pk-table--nine .pk-controls { position: relative; width: min(100%, 890px); margin: 770px auto 0; }
.pk-immersive { overflow: hidden !important; overscroll-behavior: none; }
.pk-room.is-immersive {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 4px;
    box-sizing: border-box;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: calc(5px + env(safe-area-inset-top)) calc(7px + env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) calc(7px + env(safe-area-inset-left));
    overflow: hidden;
    background: #0b2927;
}
.pk-room.is-immersive .pk-room__header { grid-row: 1; align-items: center; min-height: 34px; margin: 0; gap: 4px; }
.pk-room.is-immersive .pk-room__header > div:first-child,
.pk-room.is-immersive .pk-invite,
.pk-room.is-immersive .pk-room__footer p { display: none; }
.pk-room.is-immersive .pk-room__tools { width: auto; gap: 4px; }
.pk-room.is-immersive .pk-room__tool { flex: 0 1 auto; min-height: 34px; padding: 4px 9px; font-size: 11px; }
.pk-room.is-immersive .pk-room__footer { position: absolute; z-index: 2; top: calc(5px + env(safe-area-inset-top)); right: calc(7px + env(safe-area-inset-right)); display: flex; width: auto; margin: 0; }
.pk-room.is-immersive .pk-room__footer .pk-button { width: auto; min-height: 34px; padding: 4px 10px; font-size: 0; }
.pk-room.is-immersive [data-poker-leave]::after { content: attr(data-compact-label); font-size: 11px; }
.pk-room.is-immersive [data-poker-new-table]::after { content: "New table"; font-size: 11px; }
.pk-room.is-immersive .pk-tournament { grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; min-height: 0; margin: 0; padding: 4px 9px; }
.pk-room.is-immersive .pk-tournament > div > span { font-size: 10px; }
.pk-room.is-immersive .pk-tournament > div > strong { margin-top: 0; font-size: 12px; }
.pk-room.is-immersive .pk-tournament > p { display: none; }
.pk-room.is-immersive .pk-table {
    grid-row: 3;
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(55px, 1fr) auto auto;
    align-content: stretch;
    justify-items: center;
    gap: 3px;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 6px 9px;
    border-width: 5px;
    border-radius: 46px;
    overflow: hidden;
}
.pk-room.is-immersive .pk-table__opponents { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 3px; width: 100%; height: auto; }
.pk-room.is-immersive .pk-table:not(.pk-table--nine):not(.pk-table--four) .pk-table__opponents { grid-template-columns: minmax(0, 1fr); max-width: 230px; }
.pk-room.is-immersive .pk-table--four .pk-table__opponents { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-room.is-immersive .pk-place,
.pk-room.is-immersive .pk-table--four .pk-place,
.pk-room.is-immersive .pk-table--nine .pk-place { position: static; width: 100%; margin: 0; gap: 1px; }
.pk-room.is-immersive .pk-table__opponents .pk-seat { min-height: 44px; height: auto; padding: 3px 5px; gap: 2px; border-radius: 9px; }
.pk-room.is-immersive .pk-table__opponents .pk-seat__avatar { display: none; }
.pk-room.is-immersive .pk-table__opponents .pk-seat__identity { width: 100%; }
.pk-room.is-immersive .pk-table__opponents .pk-seat strong { font-size: 10px; line-height: 1.1; }
.pk-room.is-immersive .pk-table__opponents .pk-seat .pk-seat__stack,
.pk-room.is-immersive .pk-table__opponents .pk-seat .pk-hand,
.pk-room.is-immersive .pk-table__opponents .pk-seat .pk-seat__action { font-size: 9px; line-height: 1.1; }
.pk-room.is-immersive .pk-table__opponents .pk-cards .pk-card { width: 18px; height: 26px; }
.pk-room.is-immersive .pk-table__opponents .pk-bet { display: flex; justify-content: center; min-height: 19px; max-height: 19px; width: max-content; max-width: 100%; padding: 1px 4px; gap: 2px; border-radius: 8px; font-size: 9px; }
.pk-room.is-immersive .pk-table__opponents .pk-bet__stacks { height: 15px; }
.pk-room.is-immersive .pk-table__opponents .pk-bet__stack { width: 14px; height: 6px; }
.pk-room.is-immersive .pk-felt { position: static; width: min(100%, 540px); height: 100%; min-height: 0; padding: 3px; gap: 2px; border-radius: 36px; transform: none; }
.pk-room.is-immersive .pk-pot { font-size: 9px; line-height: 1; }
.pk-room.is-immersive .pk-pot strong { font-size: 19px; }
.pk-room.is-immersive .pk-board { width: min(100%, 230px); min-height: 0; gap: 3px; }
.pk-room.is-immersive .pk-street, .pk-room.is-immersive .pk-hand-number { font-size: 9px; }
.pk-room.is-immersive .pk-table__self { position: static; width: min(100%, 420px); transform: none; }
.pk-room.is-immersive .pk-table__self .pk-place { width: 100%; }
.pk-room.is-immersive .pk-seat--self { min-height: 66px; padding: 3px 7px; }
.pk-room.is-immersive .pk-seat--self .pk-cards .pk-card { width: 43px; height: 62px; }
.pk-room.is-immersive .pk-table__self .pk-bet { min-height: 19px; padding-block: 1px; font-size: 10px; }
.pk-room.is-immersive .pk-table__self .pk-bet__stacks { height: 17px; }
.pk-room.is-immersive .pk-table__self .pk-bet__stack { width: 15px; height: 6px; }
.pk-room.is-immersive .pk-controls { position: static; width: min(100%, 1040px); min-height: 0; margin: 0; padding: 8px 10px; gap: 6px 12px; grid-template-rows: auto auto auto; border-radius: 16px; background: #062e2bf2; box-shadow: 0 12px 28px #05241f80; }
.pk-room.is-immersive .pk-controls__state { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 0; overflow: hidden; white-space: nowrap; }
.pk-room.is-immersive .pk-controls__state strong { flex: 0 0 auto; font-size: 12px; }
.pk-room.is-immersive .pk-controls__state p { margin: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.pk-room.is-immersive .pk-controls__panel { height: auto; min-height: 0; overflow: visible; }
.pk-room.is-immersive .pk-controls.is-idle .pk-controls__panel { display: none; }
.pk-room.is-immersive .pk-wager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3px 7px; padding: 4px 6px; }
.pk-room.is-immersive .pk-wager__header { grid-column: 1; align-self: center; font-size: 10px; }
.pk-room.is-immersive .pk-wager__entry { grid-column: 2; gap: 3px; }
.pk-room.is-immersive .pk-wager__entry button,
.pk-room.is-immersive .pk-wager__entry input { min-height: 34px; }
.pk-room.is-immersive .pk-wager__entry button { min-width: 32px; }
.pk-room.is-immersive .pk-wager__range { grid-column: 1 / -1; min-height: 20px; }
.pk-room.is-immersive .pk-wager__presets { grid-column: 1 / -1; flex-wrap: nowrap; }
.pk-room.is-immersive .pk-wager__presets button { min-height: 34px; }
.pk-room.is-immersive .pk-wager__help { display: none; }
.pk-room.is-immersive .pk-controls__actions { min-height: 0; gap: 4px; }
.pk-room.is-immersive .pk-controls__actions .pk-button { min-height: 38px; padding: 4px 6px; font-size: 11px; }
.pk-room.is-immersive .pk-allin-confirm,
.pk-room.is-immersive .pk-topup { padding: 5px 7px; gap: 4px; }
.pk-room.is-immersive .pk-topup > label,
.pk-room.is-immersive .pk-topup > p { flex-basis: auto; }
.pk-room.is-immersive .pk-topup input,
.pk-room.is-immersive .pk-topup button,
.pk-room.is-immersive .pk-allin-confirm button { min-height: 36px; }
@media (max-width: 900px) {
    .pk-tournament { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 158px; }
    .pk-table--nine { display: grid; min-height: 0; }
    .pk-table--nine .pk-table__opponents { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; column-gap: 7px; row-gap: 12px; width: 100%; height: auto; }
    .pk-table--nine .pk-place { position: static; width: 100%; }
    .pk-table--nine .pk-table__opponents .pk-seat { flex-direction: column; justify-content: center; gap: 3px; min-height: 96px; text-align: center; }
    .pk-table--nine .pk-table__opponents .pk-seat__identity { width: 100%; }
    .pk-table--nine .pk-table__opponents .pk-cards { margin: 0 auto; }
    .pk-table--nine .pk-place .pk-bet { min-height: 31px; }
    .pk-table--nine .pk-felt { position: static; width: min(100%, 620px); min-height: 180px; transform: none; }
    .pk-table--nine .pk-table__self { position: static; width: 100%; transform: none; }
    .pk-table--nine .pk-controls { position: static; width: min(100%, 890px); margin: 6px 0 0; }
}
@media (max-width: 600px) {
    .pk-tournament { padding: 13px; }
    .pk-tournament > div > strong { font-size: 15px; }
    .pk-controls { grid-template-rows: 98px 238px minmax(103px, auto); }
    .pk-controls__panel { height: 238px; }
    .pk-controls__actions { min-height: 103px; }
    .pk-seat--self .pk-cards .pk-card { width: 54px; height: 79px; }
    .pk-table--nine .pk-table__opponents { gap: 9px 4px; }
    .pk-table--nine .pk-table__opponents .pk-seat { min-height: 92px; padding: 7px 3px; border-radius: 10px; }
    .pk-table--nine .pk-table__opponents .pk-seat strong, .pk-table--nine .pk-table__opponents .pk-seat .pk-seat__stack { font-size: 11px; line-height: 1.2; }
    .pk-table--nine .pk-table__opponents .pk-seat .pk-hand, .pk-table--nine .pk-table__opponents .pk-seat .pk-seat__action { font-size: 9px; line-height: 1.2; overflow-wrap: anywhere; }
    .pk-table--nine .pk-table__opponents .pk-cards .pk-card { width: 18px; height: 27px; }
    .pk-table--nine .pk-place .pk-bet { display: grid; justify-items: center; gap: 1px; width: 100%; min-height: 37px; padding: 3px 1px; border-radius: 9px; font-size: 9px; }
    .pk-table--nine .pk-place .pk-bet[hidden] { display: none !important; }
    .pk-table--nine .pk-bet__stacks { height: 18px; }
    .pk-table--nine .pk-bet__stack { width: 15px; height: 6px; box-shadow: 0 -4px 0 -1px #743e3d, 0 -8px 0 -1px #ecc590; }
    .pk-table--nine .pk-felt { min-height: 160px; }
}
@media (max-width: 480px) {
    .pk-room__tools { width: 100%; }
    .pk-room__tool { flex: 1 1 0; min-width: 0; }
    .pk-seat--self { min-height: 90px; }
    .pk-controls { grid-template-rows: 104px 242px minmax(103px, auto); }
    .pk-controls__panel { height: 242px; }
    .pk-table--nine .pk-felt { min-height: 150px; }
}
@media (max-width: 700px) {
    .pk-room.is-immersive .pk-table__opponents .pk-seat { flex-direction: column; justify-content: center; text-align: center; }
    .pk-room.is-immersive .pk-table__opponents .pk-cards { justify-content: center; margin: 0 auto; }
    .pk-room.is-immersive .pk-table__opponents .pk-bet { margin-inline: auto; }
    .pk-room.is-immersive .pk-tournament { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pk-room.is-immersive .pk-tournament > div:nth-child(3),
    .pk-room.is-immersive .pk-tournament > div:nth-child(4) { display: none; }
    .pk-room.is-immersive .pk-tournament > div > span { font-size: 9px; }
    .pk-room.is-immersive .pk-tournament > div > strong { font-size: 11px; }
    .pk-room.is-immersive .pk-room__tools { width: auto; }
    .pk-room.is-immersive .pk-seat__avatar { display: none; }
    .pk-room.is-immersive .pk-controls__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pk-room.is-immersive .pk-wager { grid-template-columns: 1fr; }
    .pk-room.is-immersive .pk-wager__header,
    .pk-room.is-immersive .pk-wager__entry { grid-column: 1; }
    .pk-room.is-immersive .pk-wager__header { display: flex; justify-content: space-between; gap: 4px; }
    .pk-room.is-immersive .pk-wager__header > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pk-room.is-immersive .pk-wager__presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 701px) {
    .pk-room.is-immersive .pk-table--nine .pk-table__opponents { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .pk-room.is-immersive .pk-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto auto; }
    .pk-room.is-immersive .pk-controls__state { grid-column: 1 / -1; }
    .pk-room.is-immersive .pk-controls__panel { grid-column: 1; }
    .pk-room.is-immersive .pk-controls__actions { grid-column: 2; align-self: stretch; align-content: center; justify-self: center; width: min(100%, 440px); }
    .pk-room.is-immersive .pk-controls.is-idle .pk-controls__actions { grid-column: 1 / -1; }
    .pk-room.is-immersive .pk-table.is-tournament-complete .pk-controls { grid-template-columns: 1fr; }
}
@media (min-width: 1100px) {
    .pk-room.is-immersive .pk-controls { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
    .pk-room.is-immersive .pk-controls__state strong { font-size: 13px; }
    .pk-room.is-immersive .pk-wager__header { font-size: 12px; }
    .pk-room.is-immersive .pk-wager__presets button { min-height: 38px; font-size: 12px; }
    .pk-room.is-immersive .pk-controls__actions .pk-button { min-height: 44px; font-size: 13px; }
}
@media (min-width: 1400px) and (min-height: 800px) {
    .pk-room.is-immersive .pk-table--nine .pk-table__opponents { width: min(100%, 1500px); gap: 7px; }
    .pk-room.is-immersive .pk-table--four .pk-table__opponents { width: min(100%, 900px); gap: 7px; }
    .pk-room.is-immersive .pk-table__opponents .pk-seat { min-height: 54px; padding: 5px 7px; }
    .pk-room.is-immersive .pk-table__opponents .pk-seat strong { font-size: 12px; }
    .pk-room.is-immersive .pk-table__opponents .pk-seat .pk-seat__stack,
    .pk-room.is-immersive .pk-table__opponents .pk-seat .pk-hand,
    .pk-room.is-immersive .pk-table__opponents .pk-seat .pk-seat__action { font-size: 10px; }
    .pk-room.is-immersive .pk-table__opponents .pk-cards .pk-card { width: 22px; height: 32px; }
    .pk-room.is-immersive .pk-felt { width: min(100%, 940px); height: min(100%, 490px); align-self: center; border-radius: 180px; }
    .pk-room.is-immersive .pk-board { width: min(100%, 420px); }
    .pk-room.is-immersive .pk-table__self { width: min(100%, 520px); }
    .pk-room.is-immersive .pk-seat--self { min-height: 92px; padding: 6px 12px; }
    .pk-room.is-immersive .pk-seat--self .pk-cards .pk-card { width: 62px; height: 90px; }
}
@media (max-height: 650px) {
    .pk-room.is-immersive .pk-table { padding: 3px 6px; border-width: 4px; gap: 2px; }
    .pk-room.is-immersive .pk-table__opponents .pk-seat { min-height: 36px; padding: 2px 3px; }
    .pk-room.is-immersive .pk-table--nine .pk-table__opponents .pk-seat strong,
    .pk-room.is-immersive .pk-table--nine .pk-table__opponents .pk-seat .pk-seat__stack { font-size: 9px; line-height: 1; }
    .pk-room.is-immersive .pk-table__opponents .pk-seat .pk-seat__action { display: none; }
    .pk-room.is-immersive .pk-table--nine .pk-table__opponents .pk-card[src$="/Back.svg"] { display: none; }
    .pk-room.is-immersive .pk-table__opponents .pk-cards .pk-card { width: 13px; height: 19px; }
    .pk-room.is-immersive .pk-table__opponents .pk-bet { min-height: 16px; max-height: 16px; }
    .pk-room.is-immersive .pk-felt { min-height: 88px; }
    .pk-room.is-immersive .pk-pot > span { display: none; }
    .pk-room.is-immersive .pk-pot strong { font-size: 17px; }
    .pk-room.is-immersive .pk-board { width: min(100%, 160px); }
    .pk-room.is-immersive .pk-felt__meta { display: none; }
    .pk-room.is-immersive .pk-seat--self { min-height: 55px; }
    .pk-room.is-immersive .pk-seat--self .pk-cards .pk-card { width: 38px; height: 55px; }
    .pk-room.is-immersive .pk-wager__range { display: none; }
    .pk-room.is-immersive .pk-wager__header { display: none; }
    .pk-room.is-immersive .pk-wager__entry button,
    .pk-room.is-immersive .pk-wager__entry input { min-height: 30px; }
    .pk-room.is-immersive .pk-wager__presets button { min-height: 30px; }
    .pk-room.is-immersive .pk-controls__state p { display: none; }
    .pk-room.is-immersive .pk-controls__actions .pk-button { min-height: 35px; }
}
@media (max-height: 450px) {
    .pk-room.is-immersive .pk-room__header { min-height: 28px; }
    .pk-room.is-immersive .pk-room__tool,
    .pk-room.is-immersive .pk-room__footer .pk-button { min-height: 28px; padding: 2px 6px; }
    .pk-room.is-immersive .pk-tournament { padding: 2px 7px; }
    .pk-room.is-immersive .pk-tournament > div > span { display: none; }
    .pk-room.is-immersive .pk-pot > span, .pk-room.is-immersive .pk-felt__meta { display: none; }
    .pk-room.is-immersive .pk-felt { flex-direction: row; }
    .pk-room.is-immersive .pk-board { width: min(70%, 230px); }
    .pk-room.is-immersive .pk-table__self .pk-bet { display: none; }
    .pk-room.is-immersive .pk-controls__state { display: none; }
    .pk-room.is-immersive .pk-wager__presets button { min-height: 28px; }
}
@media (max-height: 550px) and (max-width: 700px) {
    .pk-room.is-immersive { gap: 2px; padding-block: 3px; }
    .pk-room.is-immersive .pk-room__header { min-height: 29px; }
    .pk-room.is-immersive .pk-room__tool,
    .pk-room.is-immersive .pk-room__footer .pk-button { min-height: 29px; padding-block: 2px; }
    .pk-room.is-immersive .pk-tournament { padding: 2px 6px; }
    .pk-room.is-immersive .pk-tournament > div > span { display: none; }
    .pk-room.is-immersive .pk-tournament > div > strong { font-size: 10px; }
    .pk-room.is-immersive .pk-table { padding: 2px 4px; border-width: 3px; gap: 1px; }
    .pk-room.is-immersive .pk-table--nine .pk-table__opponents .pk-seat { min-height: 26px; padding: 1px 2px; }
    .pk-room.is-immersive .pk-table--nine .pk-table__opponents .pk-seat strong,
    .pk-room.is-immersive .pk-table--nine .pk-table__opponents .pk-seat .pk-seat__stack { font-size: 8px; }
    .pk-room.is-immersive .pk-table__opponents .pk-bet { min-height: 14px; max-height: 14px; font-size: 8px; }
    .pk-room.is-immersive .pk-table__opponents .pk-bet__stacks { height: 12px; }
    .pk-room.is-immersive .pk-table__opponents .pk-bet__stack { width: 11px; height: 5px; }
    .pk-room.is-immersive .pk-felt { flex-direction: row; min-height: 60px; gap: 5px; }
    .pk-room.is-immersive .pk-board { width: min(60%, 160px); }
    .pk-room.is-immersive .pk-pot strong { font-size: 14px; }
    .pk-room.is-immersive .pk-table.is-tournament-complete .pk-felt { flex-direction: column; }
    .pk-room.is-immersive .pk-seat--self { min-height: 0; }
    .pk-room.is-immersive .pk-seat--self .pk-cards .pk-card { width: 34px; height: 49px; }
    .pk-room.is-immersive .pk-table__self .pk-bet { min-height: 15px; padding: 0 4px; }
    .pk-room.is-immersive .pk-table__self .pk-bet__stacks { height: 13px; }
    .pk-room.is-immersive .pk-table__self .pk-bet__stack { height: 5px; }
    .pk-room.is-immersive .pk-controls { padding: 3px 5px; gap: 2px; }
    .pk-room.is-immersive .pk-controls__state { display: none; }
    .pk-room.is-immersive .pk-wager { padding: 3px 5px; gap: 2px; }
    .pk-room.is-immersive .pk-wager__entry button,
    .pk-room.is-immersive .pk-wager__entry input { min-height: 28px; }
    .pk-room.is-immersive .pk-wager__presets button { min-height: 28px; }
    .pk-room.is-immersive .pk-controls__actions .pk-button { min-height: 32px; }
}
html[data-theme="dark"] :is(.page-poker, .page-quick-poker) { background: #110d19; }
html[data-theme="dark"] .pk-room.is-immersive { background: #0b2927; }
html[data-theme="dark"] .pk-message,
html[data-theme="dark"] .pk-choice,
html[data-theme="dark"] .pk-guide__tiles article,
html[data-theme="dark"] .pk-invite,
html[data-theme="dark"] .pk-tournament { border-color: #4b3d5b; background: #21192d; color: #f7f2ff; }
html[data-theme="dark"] .pk-guide { background: #1b1426; }
html[data-theme="dark"] .pk-kicker,
html[data-theme="dark"] .pk-guide__tiles span,
html[data-theme="dark"] .pk-tournament > p { color: #c9a9ff; }
html[data-theme="dark"] .pk-hero .pk-kicker { color: #ffd66c; }
html[data-theme="dark"] .pk-lobby__intro h2,
html[data-theme="dark"] .pk-guide h2,
html[data-theme="dark"] .pk-room h2,
html[data-theme="dark"] .pk-choice h3,
html[data-theme="dark"] .pk-guide__tiles h3,
html[data-theme="dark"] .pk-tournament > div > strong { color: #f7f2ff; }
html[data-theme="dark"] .pk-lobby__intro > p:last-child,
html[data-theme="dark"] .pk-guide > div:first-child > p:last-child,
html[data-theme="dark"] .pk-choice p,
html[data-theme="dark"] .pk-guide__tiles p,
html[data-theme="dark"] .pk-room__header p:last-child,
html[data-theme="dark"] .pk-tournament > div > span,
html[data-theme="dark"] .pk-room__footer,
html[data-theme="dark"] .pk-invite span { color: #c8bdd7; }
html[data-theme="dark"] .pk-choice label,
html[data-theme="dark"] .pk-capacity legend { color: #e8def6; }
html[data-theme="dark"] .pk-choice input:not([type="radio"]):not([type="checkbox"]),
html[data-theme="dark"] .pk-room__tool { border-color: #655175; background: #2b2139; color: #f7f2ff; }
html[data-theme="dark"] .pk-room__tool[aria-pressed="true"],
html[data-theme="dark"] .pk-capacity input:checked + span { border-color: #c9a9ff; background: #49315e; color: #fff; }
html[data-theme="dark"] .pk-capacity label span,
html[data-theme="dark"] .pk-choice .pk-tournament-choice { border-color: #655175; background: #2b2139; color: #e8def6; }
html[data-theme="dark"] .pk-tournament-choice small,
html[data-theme="dark"] .pk-choice .pk-tournament-hint { color: #c8bdd7; }
html[data-theme="dark"] .pk-choice__icon { background: #49315e; color: #e2c5ff; }
html[data-theme="dark"] .pk-choice__icon--gold { background: #574326; color: #ffe292; }
html[data-theme="dark"] .pk-room__footer .pk-button--outline { border-color: #806493; background: #2b2139; color: #f7f2ff; }
html[data-theme="dark"] .pk-message.is-error { border-color: #a86c79; background: #47232c; color: #ffe6ea; }
@media (prefers-reduced-motion: reduce) {
    .pk-card.is-dealt, .pk-bet.is-new, .pk-pot.is-collecting, .pk-seat.is-turn, .pk-seat.is-winner, .pk-seat__action.is-new { animation: none; }
    .pk-controls__actions .pk-button:not(:disabled):active { transform: none; }
    .pk-seat, .pk-felt, .pk-controls__actions .pk-button { transition-duration: 0ms; }
}

.pk-hero--quick {
    padding-block: clamp(28px, 3.5vw, 44px);
    background: radial-gradient(circle at 88% 10%, #276e5b 0, transparent 30%), linear-gradient(120deg, #161125, #1c3e38 68%, #154b40);
}
.pk-hero--quick h1 { max-width: 850px; font-size: clamp(40px, 5.5vw, 62px); letter-spacing: -.03em; }
.pk-hero--quick p { margin-top: 12px !important; font-size: clamp(15px, 1.6vw, 18px) !important; color: #e9f4e9 !important; }
.pk-hero--quick .pk-hero__facts { margin-top: 18px; }
.pk-hero--quick .pk-hero__facts span { border-color: #9cc7b57d; }
.pk-quick {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
    align-items: center;
    gap: clamp(24px, 5vw, 70px);
    padding: clamp(22px, 4vw, 48px);
    border: 1px solid #bb9d5d;
    border-radius: 20px;
    background: #123d36;
    color: #f8f5eb;
    box-shadow: 0 18px 42px #2413351c;
}
.pk-quick__intro h2 { max-width: 14ch; margin: 0; color: #fffdf5; font: 900 clamp(31px, 4.5vw, 54px)/1.08 "Cairo", sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.pk-quick__intro > p { max-width: 55ch; margin: 22px 0 0; color: #dbebdf; font-size: 17px; line-height: 1.6; }
.pk-quick__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pk-quick__steps span { padding: 8px 12px; border: 1px solid #a9c9b5a3; border-radius: 100px; color: #f9f0d8; font-size: 13px; font-weight: 700; }
.pk-quick__form { display: grid; gap: 9px; min-width: 0; padding: clamp(20px, 3vw, 30px); border-radius: 14px; background: #fffdf7; color: #273b32; }
.pk-quick__form > label:not(.pk-quick__age) { margin-top: 8px; font-size: 13px; font-weight: 800; }
.pk-quick__form > input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 13px; border: 1px solid #b5c4b8; border-radius: 8px; background: #fff; color: #183029; font: 600 16px/1.2 "IBM Plex Sans", sans-serif; }
.pk-quick__form > input:focus-visible,
.pk-quick__form :is(input, a, button):focus-visible { outline: 3px solid #b27a1e; outline-offset: 2px; }
#quick-poker-invite { font-variant-numeric: tabular-nums; letter-spacing: .08em; text-transform: uppercase; }
.pk-quick__room { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; padding: 12px 13px; border-radius: 9px; background: #e5efe5; color: #254638; }
.pk-quick__room strong { font-size: 15px; }
.pk-quick__room span { font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pk-quick__field-help { color: #617467; font-size: 12px; line-height: 1.4; }
.pk-quick__age { display: flex; align-items: flex-start; gap: 10px; margin-top: 11px; color: #304239; font-size: 13px; line-height: 1.45; cursor: pointer; }
.pk-quick__age input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #366653; }
.pk-quick__age a { color: #2c694f; font-weight: 800; text-underline-offset: 2px; }
.pk-quick__form .pk-button { width: 100%; min-height: 48px; margin-top: 10px; background: #315c4c; }
.pk-quick__form .pk-button:hover:not(:disabled) { background: #244b3e; }
.pk-quick__note { margin: 5px 0 0; color: #56695c; font-size: 12px; line-height: 1.45; }
html[data-theme="dark"] .pk-quick__form { background: #241e2d; color: #f7f0e4; }
html[data-theme="dark"] .pk-quick__form > input { border-color: #7f8e82; background: #352d3e; color: #fff; }
html[data-theme="dark"] .pk-quick__room { background: #314a3e; color: #f3f7ed; }
html[data-theme="dark"] .pk-quick__field-help { color: #d4cfc4; }
html[data-theme="dark"] .pk-quick__age { color: #e9e4d7; }
html[data-theme="dark"] .pk-quick__age a { color: #d8eec8; }
html[data-theme="dark"] .pk-quick__note { color: #d4cfc4; }
@media (max-width: 780px) {
    .pk-quick { grid-template-columns: 1fr; gap: 25px; }
    .pk-quick__intro h2 { max-width: 20ch; }
    .pk-quick__intro > p { margin-top: 14px; }
    .pk-quick__steps { margin-top: 19px; }
}
@media (max-width: 480px) {
    .pk-hero--quick { padding-block: 30px 32px; }
    .pk-hero--quick h1 { font-size: clamp(36px, 9vw, 46px); }
    .pk-quick { padding: 18px; border-radius: 15px; }
    .pk-quick__intro h2 { font-size: 32px; }
    .pk-quick__intro > p { font-size: 15px; }
    .pk-quick__steps { gap: 6px; }
    .pk-quick__steps span { padding: 6px 9px; font-size: 11px; }
    .pk-quick__form { padding: 18px 15px; }
    .pk-quick__room { align-items: flex-start; flex-direction: column; gap: 2px; }
}
