:root{color-scheme:dark;--bg:#08110e;--panel:#111b17;--felt:#15583d;--felt2:#0e3f2c;--rail:#603a20;--rail2:#8a5a32;--line:#2e473d;--ink:#faf7ee;--muted:#adbbb5;--gold:#f1cc68;--red:#b92323;--card:#fffdf8}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button{font:inherit}.hidden{display:none!important}.app-shell{max-width:1240px;margin:0 auto;padding:24px}.brand{font-size:12px;letter-spacing:.22em;color:var(--gold);font-weight:900}.start-screen{max-width:760px;margin:10vh auto 0;text-align:center;padding:42px 28px}.start-screen h1{font-size:clamp(42px,7vw,82px);line-height:.95;margin:12px 0}.start-screen p{color:var(--muted);font-size:18px;max-width:560px;margin:18px auto 28px}.start-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}.huge{min-width:220px;min-height:62px;padding:15px 24px;border-radius:16px;border:1px solid #466052;background:#202a26;color:white;font-size:18px;font-weight:900;cursor:pointer}.primary{background:var(--gold);border-color:var(--gold);color:#1e190b}.connection{margin-top:18px;color:var(--muted);font-size:13px}.connection.good{color:#9fd6b7}.connection.bad{color:#ff9d9d}.game-topbar{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px}.mode-title{font-size:24px;font-weight:900;margin-top:3px}.small-btn,.controls button{min-height:44px;border-radius:11px;border:1px solid #3b5047;background:#18241f;color:var(--ink);padding:10px 14px;font-weight:850;cursor:pointer}.small-btn:hover,.controls button:hover{border-color:#759083}.scorebar{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.score-team,.contract-strip{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:10px 14px}.score-team{display:flex;align-items:center;justify-content:space-between}.score-team span{font-size:13px;color:var(--muted);font-weight:800}.score-team strong{font-size:30px;color:var(--gold)}.contract-strip{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:8px}.contract-strip small{display:block;font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}.contract-strip strong{display:block;margin-top:3px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.daily-banner,.error-banner{padding:10px 14px;border-radius:12px;margin-bottom:12px;font-weight:800}.daily-banner{background:#2e2815;border:1px solid #705f2d;color:#f3db91}.error-banner{background:#351919;border:1px solid #7d3333;color:#ffc0c0}.table{position:relative;height:560px;border:10px solid var(--rail);border-radius:34px;background:radial-gradient(circle at 50% 45%,#1a6a49 0,var(--felt) 55%,var(--felt2) 100%);box-shadow:inset 0 0 0 3px var(--rail2),0 18px 44px #0008;overflow:hidden}.seat{position:absolute;z-index:4;text-align:center;min-width:120px}.north{top:16px;left:50%;transform:translateX(-50%)}.south,.you{bottom:12px;left:50%;transform:translateX(-50%)}.west{left:18px;top:43%;transform:translateY(-50%)}.east{right:18px;top:43%;transform:translateY(-50%)}.seat-name{font-weight:900;text-shadow:0 2px 3px #000}.dealer{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:#111;font-size:11px;margin-left:4px}.card-backs{display:flex;justify-content:center;margin-top:8px;height:58px}.card-backs.vertical{width:62px;height:145px;flex-direction:column;align-items:center;margin-left:auto;margin-right:auto}.card-back{width:40px;height:56px;border:2px solid #eee7d9;border-radius:6px;background:repeating-linear-gradient(45deg,#304f78 0 6px,#eee4cf 6px 8px);box-shadow:0 2px 5px #0008;margin-left:-17px}.card-backs .card-back:first-child{margin-left:0}.card-backs.vertical .card-back{margin:-37px 0 0}.card-backs.vertical .card-back:first-child{margin-top:0}.action-bubble{min-height:24px;margin-top:4px;color:#ffe28c;font-size:13px;font-weight:900}.trick-area{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:420px;height:285px;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3}.trick-cards{position:relative;width:280px;height:175px}.played-card{position:absolute;width:74px;height:104px;background:var(--card);border:1px solid #d7d1c8;border-radius:9px;color:#151515;display:flex;flex-direction:column;justify-content:space-between;padding:8px;font-weight:900;font-size:19px;box-shadow:0 5px 14px #0008;transition:transform .65s ease,opacity .65s ease}.played-card.red{color:var(--red)}.played-card .suit{font-size:28px;align-self:flex-end}.played-card.pos-you{left:103px;top:70px;transform:rotate(1deg)}.played-card.pos-north{left:103px;top:0;transform:rotate(-2deg)}.played-card.pos-west{left:43px;top:35px;transform:rotate(-7deg)}.played-card.pos-east{left:163px;top:35px;transform:rotate(7deg)}.trick-cards.collect-you .played-card{transform:translateY(250px) scale(.55);opacity:0}.trick-cards.collect-north .played-card{transform:translateY(-220px) scale(.55);opacity:0}.trick-cards.collect-west .played-card{transform:translateX(-280px) scale(.55);opacity:0}.trick-cards.collect-east .played-card{transform:translateX(280px) scale(.55);opacity:0}.status{font-weight:900;text-align:center;min-height:24px}.trick-score{font-size:12px;color:#d2ddd8;margin-top:4px}.controls{min-height:68px;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;padding:10px}.controls button.primary{background:var(--gold);color:#211a08;border-color:var(--gold)}.bid-btn{min-width:118px}.bid-btn span{display:block;font-size:10px;color:var(--muted);margin-top:3px;font-weight:700}.controls .primary span{color:#665318}.hand{display:flex;justify-content:center;align-items:flex-end;padding:10px 0 4px;min-height:146px;overflow-x:auto}.hand-card{width:90px;height:126px;border-radius:10px;border:1px solid #d9d2c7;background:var(--card);color:#151515;padding:9px;font-size:21px;font-weight:900;margin-left:-20px;box-shadow:0 5px 15px #0008;display:flex;flex-direction:column;justify-content:space-between;transition:transform .15s ease}.hand-card:first-child{margin-left:0}.hand-card.red{color:var(--red)}.hand-card .suit{font-size:34px;text-align:right}.hand-card:disabled{opacity:.52;cursor:not-allowed}.result-panel{max-width:680px;margin:10px auto 0;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:16px;text-align:center}.result-panel h2{margin:0 0 8px}.result-big{font-size:25px;font-weight:950;color:var(--gold);margin-top:7px}.flying-card{position:fixed;z-index:999;width:74px;height:104px;border-radius:9px;background:var(--card);color:#111;border:1px solid #d4cec5;padding:8px;font-size:19px;font-weight:900;pointer-events:none;box-shadow:0 8px 20px #0009;transition:transform .48s cubic-bezier(.2,.8,.2,1),opacity .48s}.flying-card.red{color:var(--red)}
@media(max-width:760px){.app-shell{padding:8px}.start-screen{margin-top:4vh;padding:30px 12px}.game-topbar{align-items:flex-start}.scorebar{grid-template-columns:1fr 1fr}.contract-strip{grid-column:1/-1;grid-row:2}.table{height:510px;border-width:7px;border-radius:24px}.trick-area{width:300px}.trick-cards{width:250px}.played-card{width:60px;height:88px}.played-card.pos-you,.played-card.pos-north{left:95px}.played-card.pos-west{left:43px}.played-card.pos-east{left:147px}.seat{min-width:90px}.west{left:6px}.east{right:6px}.hand-card{width:76px;height:110px;margin-left:-24px}.mode-title{font-size:19px}.small-btn{padding:8px 10px}.score-team strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){.played-card,.flying-card,.hand-card{transition:none!important}}

.slam-button{font-size:18px;padding:13px 24px!important;border-radius:14px;box-shadow:0 0 20px #e8bb5066;animation:slam-appear .3s ease-out}
.slam-overlay{position:absolute;inset:0;z-index:8;pointer-events:none;display:flex;align-items:center;justify-content:center;background:#052c1b55}
.slam-fan{position:relative;width:100px;height:140px}
.slam-card{position:absolute;inset:0;background:var(--card);color:#151515;border:3px solid var(--gold);border-radius:12px;padding:12px;font-size:32px;font-weight:900;box-shadow:0 12px 22px #0008;transform:translateX(var(--offset)) rotate(var(--angle));animation:card-slam .65s cubic-bezier(.2,.8,.3,1) both}
.slam-card.red{color:var(--red)}
.slam-label{position:absolute;top:70%;color:var(--gold);font-size:clamp(36px,8vw,64px);font-weight:1000;letter-spacing:.08em;text-shadow:0 4px 0 #362000;animation:slam-appear .25s .55s both}
@keyframes card-slam{0%{opacity:0;transform:translate(var(--offset),180px) rotate(var(--angle)) scale(.6)}55%{opacity:1;transform:translate(var(--offset),-40px) rotate(var(--angle)) scale(1.35)}78%{transform:translate(var(--offset),8px) rotate(var(--angle)) scale(.96)}100%{transform:translate(var(--offset),0) rotate(var(--angle)) scale(1)}}
@keyframes slam-appear{from{opacity:0;scale:.8}to{opacity:1;scale:1}}
@media(prefers-reduced-motion:reduce){.slam-button,.slam-card,.slam-label{animation:none}}

/* Deal face-down cards before revealing the human hand and bid controls. */
.card-back.deal-flight{position:fixed;z-index:1000;margin:0;pointer-events:none;box-shadow:0 5px 12px #0007}
.hand.dealing-hand{align-items:center}
.card-back.dealt-human-card{flex-shrink:0;width:76px;height:106px;margin-left:-20px}
.card-back.dealt-human-card:first-child{margin-left:0}
.action-bubble:not(:empty){display:table;margin:5px auto 0;padding:4px 10px;border:1px solid #e8bb5077;border-radius:8px;background:#092b20;color:#ffe28c;box-shadow:0 2px 5px #0004}

/* Separate table slots keep every rank readable and match flight endpoints. */
.trick-cards{width:246px;height:220px;flex-shrink:0}
.played-card.pos-north{left:86px;top:0;transform:none}
.played-card.pos-you{left:86px;top:112px;transform:none}
.played-card.pos-west{left:0;top:56px;transform:none}
.played-card.pos-east{left:172px;top:56px;transform:none}
.played-card{font-size:22px;line-height:1.15}
.slam-label{font-size:clamp(28px,6vw,54px);text-align:center}
@media(max-width:760px){
  .trick-cards{width:216px;height:190px}
  .played-card.pos-north{left:78px;top:0}
  .played-card.pos-you{left:78px;top:100px}
  .played-card.pos-west{left:0;top:50px}
  .played-card.pos-east{left:156px;top:50px}
  .played-card{font-size:19px;padding:6px}
}

/* A shallow fan with exposed corner ranks and crisp, full-color card faces. */
.hand{min-height:200px;padding:28px 16px 30px;overflow:visible;align-items:center}
.hand-card{position:relative;flex:0 0 96px;width:96px;height:138px;margin-left:-27px;padding:8px;border:1px solid #c8c2b5;border-radius:11px;background:linear-gradient(135deg,#fffef9,#f2ecdf);color:#17201d;box-shadow:0 3px 7px #0005,inset 0 0 0 3px #fff9;transform:translateY(var(--fan-drop,0px)) rotate(var(--fan-angle,0deg));transform-origin:50% 100%;transition:transform .18s ease,box-shadow .18s ease}
.hand-card:first-child{margin-left:0}
.hand-card.red{color:#b82332}
.hand-card:disabled{opacity:1;cursor:default}
.hand-card.playable{border:3px solid #ffe45c;cursor:pointer;box-shadow:0 0 8px #ffe45c70,0 3px 7px #0005,inset 0 0 0 3px #fff9}
.hand-card.playable,.hand-card.playable:hover,.hand-card.playable:focus-visible{transform:translateY(calc(var(--fan-drop,0px) - 4px)) rotate(var(--fan-angle,0deg))}
.hand-card:focus-visible{outline:1px dashed #665b48;outline-offset:-5px}
.card-corner{position:absolute;top:7px;left:7px;display:flex;flex-direction:column;align-items:center;font-family:Georgia,'Times New Roman',serif;font-size:23px;font-weight:700;line-height:.95}
.card-corner span+span{font-size:20px;margin-top:3px}
.bottom-corner{top:auto;left:auto;bottom:7px;right:7px;transform:rotate(180deg)}
.card-emblem{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-family:Georgia,'Times New Roman',serif;font-size:43px}
@media(max-width:760px){.hand{min-height:175px;padding:22px 10px 26px}.hand-card{flex-basis:70px;width:70px;height:108px;margin-left:-24px}.card-corner{font-size:20px;top:6px;left:6px}.card-corner span+span{font-size:16px}.bottom-corner{top:auto;left:auto;right:6px;bottom:6px}.card-emblem{font-size:32px}}

/* New Prague pub: warm oak, dark stained rail, burgundy house deck. */
:root{--bg:#17110e;--panel:#28201a;--line:#594331;--ink:#fff4dd;--muted:#c5b29a;--gold:#e7bd69;--rail:#362115;--rail2:#a27648}
html,body{background:radial-gradient(ellipse at 50% 10%,#493322 0,#211811 48%,#100d0b 100%);background-attachment:fixed}
.table{background:radial-gradient(ellipse at 50% 40%,#ffc77a12,#170b0855),url('/assets/pub-wood.svg') center/720px 540px;border:12px solid #352317;border-radius:30px;box-shadow:inset 0 0 0 2px #b88750,inset 0 0 55px #170b0870,0 2px 0 #a07749,0 20px 40px #0009}
.table::before{content:'NEW PRAGUE  •  PFEFFER';position:absolute;left:50%;top:29%;transform:translateX(-50%);color:#f8daa5;opacity:.13;white-space:nowrap;letter-spacing:.25em;font:700 20px Georgia,serif;pointer-events:none}
.card-back{background:#602e2d url('/assets/new-prague-lion-card-back.png') center/100% 100% no-repeat;border:1px solid #eddbb4;box-shadow:0 2px 5px #0008}
.brand{color:#e7bd69}.mode-title,.start-screen h1{font-family:Georgia,'Times New Roman',serif}
.start-screen{border:1px solid #85603a;border-radius:22px;background:linear-gradient(#211812bb,#211812dd),url('/assets/pub-wood.svg') center/cover;box-shadow:0 24px 65px #0006,inset 0 0 0 5px #281d15}
.score-team,.contract-strip{background:linear-gradient(145deg,#36291f,#241b15);border-color:#624a34}
.small-btn,.controls button,.huge{background:#32261d;border-color:#71543b;color:#fff1d6}
.controls button.primary,.huge.primary{background:linear-gradient(135deg,#efcf87,#cda14d);color:#24180c;border-color:#e3bb6c}
.small-btn:hover,.controls button:hover,.huge:hover{border-color:#e7bd69}
.action-bubble:not(:empty){background:#2c1c12;border-color:#aa824b;color:#ffe3a6}
.seat-name{color:#fff1d2;text-shadow:0 2px 4px #000}
.status,.trick-score{color:#fff3de;text-shadow:0 1px 4px #281306}
.daily-banner{background:#35271a;border-color:#8f6b36;color:#f4d798}
.result-panel{background:#2a2019;border-color:#8b643e}
@media(max-width:760px){.table{border-width:8px;border-radius:24px}.table::before{font-size:13px;letter-spacing:.18em}.start-screen{padding:28px 14px}}

.start-actions{flex-wrap:wrap}.start-screen p{line-height:1.55}.start-screen p:nth-of-type(2){font-size:16px}.start-actions .huge{flex:1 1 240px}
.mode-divider{color:var(--gold);font-size:14px;font-weight:800;letter-spacing:.15em;margin:-10px 0 0}
.start-screen .trial-note{font-size:12px;margin:18px auto 0;max-width:520px;line-height:1.5}

.sets-tracker{margin:0 0 12px;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink);text-align:center;font-size:14px;line-height:1.5}

.daily-summary{width:min(520px,calc(100vw - 24px));max-height:90vh;overflow:auto;border:2px solid #b38b4e;border-radius:22px;padding:28px 22px;text-align:center;color:var(--ink);background:linear-gradient(#211812ee,#211812ee),url('/assets/pub-wood.svg');box-shadow:0 25px 80px #000a}
.daily-summary::backdrop{background:#100a06b8}
/* Fit portrait phones to the visible viewport, including browser chrome.
   Keep natural overflow available for zoomed text and unusually short screens. */
@media(max-width:760px){
  .app-shell{padding:6px max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))}
  .game-screen{min-height:calc(100svh - 12px);min-height:calc(100dvh - 12px);display:flex;flex-direction:column}
  .game-topbar{gap:6px;margin-bottom:5px;align-items:center}
  .game-topbar .brand{font-size:9px;letter-spacing:.14em}
  .mode-title{font-size:17px}.small-btn{font-size:12px;min-height:44px;padding:7px 9px}
  .scorebar{gap:4px;margin-bottom:4px;grid-template-columns:1fr 1fr}
  .score-team{padding:3px 8px}.score-team span{font-size:11px}.score-team strong{font-size:22px}
  .contract-strip{padding:4px 6px}.contract-strip small{font-size:9px}.contract-strip strong{font-size:12px;margin-top:0}
  .sets-tracker,.daily-banner,.error-banner{font-size:11px;padding:4px 6px;margin-bottom:4px;line-height:1.3}
  .table{height:auto;min-height:290px;flex:1;border-width:5px;border-radius:20px}
  .table::before{top:30%;font-size:10px}
  .seat{min-width:54px;font-size:12px}.north{top:6px}.west{left:3px;top:44%}.east{right:3px;top:44%}.you{bottom:12px}
  .dealer{width:17px;height:17px;font-size:10px}
  .card-backs{height:38px;margin-top:3px}.card-back{width:27px;height:38px;margin-left:-15px}
  .card-backs.vertical{width:30px;height:90px}.card-backs.vertical .card-back{margin-top:-28px}
  .action-bubble{font-size:10px;min-height:14px;margin-top:2px}.action-bubble:not(:empty){margin-top:2px;padding:2px 4px}
  .trick-area{top:55%;width:calc(100% - 80px);height:auto;gap:0}
  .trick-cards{width:174px;height:150px}
  .trick-cards:empty{height:0}
  .played-card{width:48px;height:68px;font-size:17px;padding:4px}.played-card .suit{font-size:23px}
  .played-card.pos-north{left:63px;top:0}.played-card.pos-you{left:63px;top:76px}
  .played-card.pos-west{left:8px;top:38px}.played-card.pos-east{left:118px;top:38px}
  .status{font-size:12px;min-height:16px;line-height:1.2}.trick-score{font-size:10px;margin-top:2px}
  .hand{order:1;position:relative;z-index:5;min-height:109px;height:109px;flex-shrink:0;margin-top:-28px;padding:10px 6px 18px}
  .hand-card{flex-basis:62px;width:62px;height:88px;margin-left:-20px;border-radius:8px}
  .card-corner{font-size:18px}.card-corner span+span{font-size:14px}.card-emblem{font-size:28px}
  .card-back.dealt-human-card{width:62px;height:88px;margin-left:-20px}
  .controls{order:2;min-height:0;gap:5px;padding:4px 0;flex-shrink:0}
  .controls:empty{padding:0}
  .controls button{min-height:44px;padding:5px 8px;font-size:13px;flex:1 1 28%;min-width:0}
  .bid-btn span{font-size:9px}.slam-button{font-size:15px!important;padding:9px!important}
  .result-panel{order:3;margin-top:4px;padding:8px;font-size:12px;width:100%}.result-panel h2{font-size:16px;margin-bottom:4px}.result-big{font-size:19px}
  .start-screen{margin:0 auto;padding:20px 14px}.start-screen h1{font-size:44px}
  .start-screen p{font-size:15px;margin:12px auto 16px;line-height:1.4}.start-screen p:nth-of-type(2){font-size:14px}
  .mode-divider{margin:0}.start-actions{gap:8px}.huge{min-height:48px;padding:10px;font-size:16px}.connection{margin-top:12px}
  .start-screen .trial-note{margin-top:12px;font-size:11px}
}
@media(max-width:760px) and (max-height:650px){
  .score-team strong{font-size:20px;line-height:1.1}.contract-strip{line-height:1.1}
  .table{min-height:220px}.trick-area{top:55%}
  .controls button{padding:4px;font-size:12px}.bid-btn span{font-size:8px}
  .daily-banner{font-size:10px}
  .trick-cards{height:126px;width:156px}
  .trick-cards:empty{height:0}
  .played-card{width:42px;height:58px;font-size:15px}.played-card .suit{font-size:20px}
  .played-card.pos-north{left:57px;top:0}.played-card.pos-you{left:57px;top:64px}
  .played-card.pos-west{left:8px;top:32px}.played-card.pos-east{left:106px;top:32px}
  .hand{height:99px;min-height:99px;padding-top:6px;padding-bottom:16px}
  .start-screen{padding:14px 12px}.start-screen p{margin:10px auto;font-size:14px}.start-screen p:nth-of-type(2){font-size:13px}
}
.daily-summary h2{font:700 34px Georgia,serif;margin:12px 0 6px}.daily-summary p{color:var(--muted);line-height:1.5}.daily-summary table{width:100%;border-collapse:collapse;margin:24px 0;font-variant-numeric:tabular-nums}.daily-summary th{font-size:12px;color:var(--gold);padding:9px 4px;border-bottom:1px solid var(--line)}.daily-summary td{padding:12px 4px;border-bottom:1px solid #59433177}.daily-total-label{font-size:12px;letter-spacing:.15em;color:var(--gold)}.daily-total{font:700 76px Georgia,serif;color:var(--gold)}.daily-summary-footer{font-size:13px}
.bot-style{display:inline-block;vertical-align:middle;padding:2px 4px;border:1px solid #b28b5577;border-radius:5px;color:var(--gold);font:700 10px/1.1 Inter,system-ui,sans-serif;text-shadow:none}.bot-style:empty{display:none}
@media(max-width:760px){.bot-style{display:table;margin:2px auto 0;font-size:9px;padding:2px 3px}}
/* Keep the contract at its bidder, using the former header space for legibility. */
.action-bubble{font-size:18px;white-space:nowrap}
@media(max-width:760px){
  .seat{font-size:14px}
  .action-bubble{font-size:15px}
  .you{bottom:22px}
  .status{font-size:14px}.trick-score{font-size:11px}
  .hand{height:125px;min-height:125px}
  .hand-card,.card-back.dealt-human-card{width:70px;height:104px;margin-left:-24px}
  .hand-card{flex-basis:70px}
  .card-corner{font-size:21px}.card-corner span+span{font-size:17px}
  .card-emblem{font-size:34px}
}
@media(max-width:760px) and (max-height:650px){
  .hand{height:112px;min-height:112px}
  .hand-card,.card-back.dealt-human-card{height:96px}
  .status{font-size:12px}
}
@media(max-width:360px){
  .hand-card,.card-back.dealt-human-card{width:64px}
  .hand-card{flex-basis:64px}
}
/* The hand belongs on the table; prompts and actions sit just below its rail. */
/* Keep the partner's call beside their hand, clear of the north played card. */
@media(min-width:761px){
  #northSeat{display:grid;grid-template-columns:auto auto;column-gap:10px;align-items:center}
  #northSeat .seat-name{grid-column:1/-1}
  #northCards{grid-column:1;grid-row:2}
  #northAction:not(:empty){grid-column:2;grid-row:2;margin:0}
  #northAction:empty{display:none}
}
.table .hand{position:absolute;left:0;right:0;bottom:8px;margin:0;height:174px;min-height:0;padding:12px 16px 20px;z-index:5}
.table .you{bottom:180px}
.table .you .seat-name{display:inline-block}
.table .you .action-bubble:not(:empty){display:inline-block;margin-left:4px}
.table .you .action-bubble:empty{display:none}
.table .trick-area{top:40%;height:auto}
.table-messages{text-align:center;padding:8px 6px 0;flex-shrink:0}
.controls{padding-top:6px}
.controls:empty{min-height:0;padding:0}
.start-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.start-actions .huge{min-width:0;display:flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:760px){
  .table{min-height:330px}
  .table .hand{height:125px;bottom:4px;padding:8px 6px 15px}
  .table .you{bottom:132px}
  .table .trick-area{top:39%}
  .table-messages{order:1;padding:5px 4px 2px}
  .table-messages .status{min-height:17px}
}
@media(max-width:760px) and (max-height:650px){
  .table{min-height:280px}
  .table .hand{height:112px;padding-top:6px;padding-bottom:12px}
  .table .you{bottom:115px}
  .table .trick-area{top:38%}
  .table .you .seat-name{display:inline-block}
  .table .you .action-bubble:not(:empty){display:inline-block;margin-left:4px}
  .table .you .action-bubble:empty{display:none}
  .table-messages{padding-top:3px}
}
