@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap");:root{--bg:#15121d;--gold:#e5bc77;--cream:#fff5e3;--muted:#bbb1c8;--line:#ffffff20;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top right,#40304e,transparent 65%),var(--bg);color:var(--cream);font-family:DM Sans,sans-serif}button,input,select{font:inherit}a,button,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}a{text-decoration:none;color:inherit}main{max-width:1250px;margin:auto;padding:0 28px}header{height:90px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;font:800 23px Outfit;letter-spacing:.09em}.brand small{display:block;font:600 9px DM Sans;letter-spacing:.3em;color:var(--gold)}.brandIcon{font-size:44px;color:var(--gold);line-height:1}.headerActions{display:flex;align-items:center;gap:16px}.icon,.text{border:0;background:none;color:var(--cream)}.icon{display:inline-grid;place-items:center;padding:9px}.text{display:inline-flex;align-items:center;padding:10px 0;font-size:13px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:42px;padding:40px 0}.players{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.player{display:flex;align-items:center;gap:9px;background:#ffffff08;border:1px solid var(--line);border-radius:13px;padding:10px 12px;flex:1;min-width:130px}.player.playing{border-color:var(--gold);background:#e5bc7712}.avatar{height:34px;width:34px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#5c426c;color:var(--gold)}.player b{font-size:12px;display:block}.player small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.player em{font-size:9px;color:var(--gold);font-style:normal;margin-left:auto;white-space:nowrap}.felt{position:relative;min-height:355px;border-radius:120px;background:radial-gradient(ellipse,#345b48,#204135 70%);border:11px solid #44332c;outline:2px solid #b2874d;box-shadow:0 14px 0 #211b1a,0 22px 40px #0007,inset 0 0 0 2px #ad9b624c,inset 0 0 55px #0005;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:48px 24px 30px;margin:0 5px}.tableLabel{position:absolute;top:25px;font:800 15px Outfit;letter-spacing:.2em;color:#e5bc775c}.tableLabel span{display:block;font:600 7px DM Sans;text-align:center;margin-top:4px;letter-spacing:.23em}.piles{display:flex;gap:42px;align-items:center;margin:14px 0 24px}.deck{position:relative;width:90px;height:132px;border:4px solid #e7d4ae;border-radius:9px;background:repeating-linear-gradient(45deg,#493454,#493454 7px,#604565 0,#604565 8px);box-shadow:2px 3px 0 #aaa393,4px 6px 0 #f3ead9,6px 9px 0 #aaa393,0 14px 18px #0006;color:var(--gold)}.deck>span{font-size:40px;display:block}.deck small{display:block;font:700 8px Outfit;letter-spacing:.14em}.deck b{position:absolute;bottom:-24px;left:0;right:0;color:#e2d7c4}.card{width:80px;height:116px;display:block;position:relative;border-radius:8px;background:#fff8e9;color:#282333;box-shadow:0 6px 12px #0004;border:1px solid #decbaa}.card.big{width:90px;height:132px;transform:rotate(9deg);box-shadow:0 9px 18px #0006}.corner{position:absolute;top:6px;left:7px;line-height:1;font:700 19px Outfit}.corner small{display:block;font-size:16px;text-align:center}.corner.reverse{bottom:6px;right:7px;top:auto;left:auto;transform:rotate(180deg)}.pip{display:grid;place-items:center;height:100%;font-size:43px}.red{color:#b72e42}.tableStatus{font:600 16px Outfit;text-align:center;max-width:90%;color:#ffefcd}.suitTag{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:11px;color:#d6d9ce}.suitTag b{font-size:25px;color:#f5e8d1}.suitTag b.red{color:#ff9b9b}.suitTag span{font-size:20px}.handArea{margin-top:34px}.handHeading{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}.handHeading b span{color:var(--gold);margin-left:7px}.handHeading label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--gold)}input[type=checkbox]{accent-color:var(--gold);width:16px;height:16px}.hand{gap:8px;padding:18px 8px 12px;min-height:140px}.handCard{border:0;padding:0;background:none;transition:transform .15s;opacity:.65!important}.eyebrow{font-size:10px;letter-spacing:.21em;color:var(--gold);font-weight:700}h1{font:700 37px/1.08 Outfit;letter-spacing:-.03em;margin:14px 0}h2{font:700 18px Outfit;margin:0 0 12px}.intro{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:25px}.setup{display:grid;gap:15px}.modes{display:flex;gap:8px}.modes button{display:flex;flex:1;flex-direction:column;align-items:center;gap:7px;background:#ffffff07;border:1px solid var(--line);padding:13px;border-radius:10px;color:var(--cream);font-size:12px}.modes .chosen{border-color:var(--gold);color:var(--gold);background:#e5bc7710}.setup label{font-size:12px;display:grid;gap:7px;color:#d7cce0}.setup label small{color:var(--muted);font-size:10px}input:not([type=checkbox]),select{border:1px solid #ffffff2a;background:#201a29;border-radius:9px;padding:12px;color:var(--cream);width:100%;outline:none}input:focus,select:focus{border-color:var(--gold)}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 15px;border-radius:9px;font-size:12px;font-weight:700}.primary{background:var(--gold);color:#291d25;border:1px solid var(--gold);width:100%}.secondary{background:#ffffff06;color:var(--cream);border:1px solid var(--line)}.controls{display:grid;gap:10px}.invitation{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:#ffffff05;border:1px solid var(--line);border-radius:10px;padding:12px;font-size:10px}.invitation>span{flex:1}.invitation b{display:block;font-size:12px;color:var(--gold);margin-top:3px}.invitation .secondary{min-height:35px;padding:7px;font-size:10px}.hint{font-size:11px;line-height:1.6;color:var(--muted)}.events{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.events p{font-size:11px;line-height:1.5;color:#c2b8cb;margin:10px 0;padding-bottom:9px;border-bottom:1px solid #ffffff08}.chat{border:1px solid var(--line);border-radius:10px;margin-top:18px;padding:12px}.chatToggle{display:flex;gap:9px;align-items:center;width:100%;background:none;border:0;color:var(--cream);font-size:12px;padding:0}.chatToggle span{margin-left:auto;font-size:10px;color:var(--gold)}.messages{max-height:170px;overflow-y:auto;font-size:11px}.messages b{display:block;color:var(--gold);margin-bottom:3px}.chat form{display:flex;gap:7px;margin-top:10px}.chat input{min-width:0;padding:9px;font-size:11px}.chat .secondary{padding:7px;min-height:36px;font-size:10px}.error{background:#8d293a44;border:1px solid #dc6c6c66;border-radius:9px;padding:12px;font-size:12px}.notice{border:0;background:#e5bc7722;color:var(--gold);padding:12px;border-radius:10px;font-size:11px;display:flex;gap:7px}footer{border-top:1px solid var(--line);color:#94859f;font-size:10px;padding:24px 0;display:flex;justify-content:space-between;gap:15px}.backdrop{position:fixed;inset:0;background:#080610bb;z-index:10;display:grid;place-items:center;padding:20px;backdrop-filter:blur(8px)}.modal{position:relative;width:min(520px,100%);background:#292030;border:1px solid #e5bc7750;border-radius:20px;padding:30px;max-height:85dvh;overflow-y:auto;box-shadow:0 30px 80px #0007}.modal h2{font-size:26px}.modal li,.modal p{font-size:13px;line-height:1.7;color:#d7ccdf}.modal ul{padding-left:20px}.close{position:absolute;right:15px;top:15px}.suitChoice{display:flex;gap:12px;margin:25px 0}.suitChoice button{font-size:40px;flex:1;background:var(--cream);color:#282333;border:0;border-radius:9px;padding:13px 0}.suitChoice .red{color:#b72e42}@media(max-width:1000px){.layout{gap:25px;grid-template-columns:minmax(0,1fr) 300px}.felt{border-radius:75px;min-height:330px}.players{gap:6px}.player{min-width:110px;padding:8px}.player em{display:none}h1{font-size:32px}.piles{gap:30px}}@media(max-width:760px){main{padding:0 18px}.layout{grid-template-columns:1fr;gap:24px;padding-top:24px}header{height:70px}.brand{font-size:19px}.brandIcon{font-size:35px}.felt{min-height:310px;border-radius:80px}.players{flex-wrap:nowrap;overflow-x:auto}.player{min-width:125px}.layout:not(:has(.handArea)) .tableArea{order:2}.layout:not(:has(.handArea)) aside{order:1}.layout:not(:has(.handArea)) .felt{min-height:245px}.layout:not(:has(.handArea)) .tableLabel{display:none}.layout:not(:has(.handArea)) .players{display:none}h1{font-size:35px;max-width:330px}.intro{margin:10px 0 18px}.setup{grid-template-columns:1fr 1fr}.setup .hint,.setup .modes,.setup .primary,.setup label:last-of-type{grid-column:1/-1}.setup label:has(select){grid-column:auto}.handArea{margin-top:28px}.hand{gap:7px}.card{width:68px;height:101px}.corner{font-size:16px}.corner small{font-size:13px}.pip{font-size:36px}.hand{min-height:125px}.events{margin-top:18px}.controls{grid-template-columns:1fr}.tableStatus{font-size:15px}.tableArea{min-width:0}footer{font-size:8px}}@media(max-width:400px){main{padding:0 12px}.felt{min-height:290px;border-width:8px;border-radius:60px}.piles{gap:28px}.headerActions{gap:8px}.handHeading,.handHeading label{font-size:11px}.modal{padding:25px 20px}}@media(max-height:520px) and (min-width:760px){.layout{padding-top:20px;grid-template-columns:1fr 290px;gap:22px}.felt{min-height:230px}.tableLabel{display:none}.players{margin-bottom:12px}.handArea{margin-top:20px}header{height:60px}.card{height:94px;width:64px}.card.big,.deck{height:110px;width:76px}.hand{min-height:115px}}[data-slot=dialog-overlay]{position:fixed;inset:0;background:#080610bb;z-index:50;backdrop-filter:blur(8px)}[data-slot=dialog-content].modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:51;display:block}[data-slot=dialog-title]{font:700 26px Outfit;margin:0 0 15px}.lastCheck{height:18px;width:18px;background:#ffffff10;border:1px solid var(--gold);border-radius:4px;color:var(--gold);padding:0;display:grid;place-items:center}.lastCheck svg{width:14px;height:14px}.intro{font-size:16px}.chatToggle,.handHeading,.handHeading label,.primary,.secondary,.setup label,.text{font-size:14px}.events p,.hint,.invitation,.player b,.player small{font-size:12px}.modal li,.modal p{font-size:16px}.court{position:absolute;inset:12% 22%;background-image:url(/hofkaarten.webp);background-repeat:no-repeat;mix-blend-mode:multiply}.courtK{background-position:0 50%}.courtQ{background-position:50% 50%}.courtJ{background-position:100% 50%}.handCard{opacity:1!important}.card{width:100%;height:auto;aspect-ratio:5/7;border-radius:7px;background:linear-gradient(115deg,#fffdf4,#fff5e2);color:#1e2028;overflow:hidden;box-shadow:0 3px 8px #0005,inset 0 0 0 2px #ffffff80}.card.red{color:#b21d36}.corner{top:5%;left:7%;font:700 clamp(15px,2vw,20px)/.9 Georgia,Times New Roman,serif;z-index:2;letter-spacing:-.05em}.corner small{font-family:Georgia,Times New Roman,serif;font-size:.88em;line-height:1.15;letter-spacing:0}.corner.reverse{bottom:5%;right:7%}.pips{inset:15% 25%;font:22px/1 Georgia,Times New Roman,serif}.pips,.pips>span{position:absolute}.pips>span{display:block}.pips.ace{font-size:39px}.court{inset:18% 23%;background-size:300% 100%;border-radius:2px}.jokerArt{position:absolute;inset:24% 20%;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:30px;color:#76509a}.jokerArt small{font:600 7px Georgia;letter-spacing:.12em}.hand{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:12px 9px;padding:14px 2px 8px;align-items:start}.handCard{width:100%;max-width:96px;justify-self:center;transition:transform .15s,filter .15s;filter:none}.handHeading{gap:8px}.handHeading label{white-space:nowrap}.handArea{margin-top:26px}.felt{min-height:270px;padding:42px 18px 18px;border-radius:85px}.tableLabel{top:13px;font-size:12px}.tableLabel span{font-size:6px}.piles{gap:38px;margin:6px 0 23px}.card.big,.deck{width:78px;height:110px;aspect-ratio:auto}.deck>span{font:35px Georgia}.deck b{bottom:-20px}.suitTag{margin-top:6px}.tableStatus{font-size:15px}.releaseNotes{margin:0 0 20px;color:var(--muted);font-size:13px}.releaseNotes summary{cursor:pointer;color:var(--gold)}.releaseNotes p{line-height:1.6;max-width:620px}@media(max-width:760px){.layout{padding-top:18px}.felt,.layout:not(:has(.handArea)) .felt{min-height:214px;padding:30px 16px 12px;border-width:7px;border-radius:58px}.tableLabel{top:9px;font-size:10px}.tableLabel span{display:none}.piles{gap:32px;margin:5px 0 20px}.card.big,.deck{width:64px;height:90px}.deck{border-width:3px}.deck>span{font-size:28px}.deck small{font-size:6px}.deck b{font-size:10px;bottom:-18px}.card.big .corner{font-size:15px}.card.big .pips{font-size:17px}.card.big .pips.ace{font-size:32px}.tableStatus{font-size:14px}.suitTag{font-size:12px;margin-top:4px}.suitTag b{font-size:20px}.suitTag span{font-size:18px}.hand{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}.handCard{max-width:96px}.handArea{margin-top:23px}.corner{font-size:17px}.pips{font-size:20px}.pips.ace{font-size:34px}.players{flex-wrap:wrap;overflow:visible}.player{min-width:0;flex-basis:40%}.player b,.player small{font-size:11px}.player .avatar{width:28px;height:28px}.player{gap:7px;padding:8px}.handHeading,.handHeading label{font-size:12px}}@media(max-width:360px){.hand{gap:10px 6px}.corner{font-size:15px}.pips{font-size:17px}.pips.ace{font-size:30px}.handHeading,.handHeading label{font-size:11px}.player small{font-size:10px}.brand{font-size:17px}}.handCard:not(:disabled):hover{transform:translateY(-3px)}.handCard:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:8px}.hand{display:flex;align-items:flex-start;overflow-x:auto;overflow-y:hidden;min-height:205px;padding:32px 26px;isolation:isolate}.handCard{width:clamp(64px,8vw,90px);min-width:clamp(64px,8vw,90px);max-width:none;flex:0 0 auto;margin-left:calc(-1 * clamp(30px,4vw,52px));transform:translateY(var(--fan-drop)) rotate(var(--fan-angle));transform-origin:50% 135%;z-index:calc(var(--fan-index) + 1)}.handCard:first-child{margin-left:0}.handCard:focus-visible,.handCard:not(:disabled):hover{transform:translateY(calc(var(--fan-drop) - 16px)) rotate(var(--fan-angle));z-index:100}.handCard:disabled{opacity:1!important}.lastCall{color:var(--gold);border-color:var(--gold);min-height:44px}.lastBadge{display:block;font-size:12px;color:var(--gold);margin-top:4px}.actionPrompt,.turnActions{display:grid;gap:10px}.actionPrompt{background:#e5bc7718;border:1px solid var(--gold);border-radius:12px;padding:12px;font-size:14px}.actionPrompt .primary,.turnActions>.primary{font-size:15px;min-height:48px}.penaltyTotal{margin:0;color:var(--gold);font-weight:700}.lastNotice{font-size:15px;min-height:48px;border:1px solid var(--gold);width:100%;justify-content:space-between}.deck b{bottom:-32px;font-size:11px;white-space:nowrap;left:50%;right:auto;transform:translateX(-50%)}.piles{margin-bottom:38px}.handHeading{min-height:44px}@media(max-width:760px){.hand{min-height:175px;padding:28px 22px 25px;justify-content:safe center}.handCard{width:64px;min-width:64px;margin-left:-36px}.handCard .corner{font-size:16px}.handCard .corner small{font-size:14px}.deck b{font-size:10px;bottom:-30px}.piles{margin-bottom:34px}.turnActions{position:relative}.tableArea{overflow:hidden}.actionPrompt,.lastCall{font-size:13px}}@media(min-width:761px){.hand{justify-content:safe center}}@media(prefers-reduced-motion:reduce){.handCard{transition:none}}.discard{position:relative;width:88px;height:120px;isolation:isolate}.pileCard{position:absolute;left:5px;top:5px;transform:translate(var(--pile-x),var(--pile-y)) rotate(var(--pile-rotation));transform-origin:center}.pileCard .card.big{transform:none;box-shadow:1px 2px 2px #0005,0 5px 10px #0003}.pileTop{animation:lay-card .38s ease-out both}@keyframes lay-card{0%{opacity:.2;transform:translate(55px,35px) rotate(calc(var(--pile-rotation) + 18deg)) scale(1.12)}to{opacity:1;transform:translate(var(--pile-x),var(--pile-y)) rotate(var(--pile-rotation)) scale(1)}}@media(max-width:760px){.discard{width:74px;height:100px}}@media(prefers-reduced-motion:reduce){.pileTop{animation:none}}.ruleBadge{display:table;margin:0 auto 15px;border:1px solid #e5bc7755;border-radius:30px;padding:7px 15px;color:var(--gold);font-size:12px;font-weight:700}.joinRules{grid-column:1/-1;padding:12px;border:1px solid var(--gold);border-radius:10px;font-size:13px}.joinRules p{margin:8px 0}.sortHand{min-height:38px;padding:7px 12px;margin-left:auto}.handRows{display:grid;gap:6px}.hand{width:100%;overflow:visible;min-height:0;padding:24px 12px 22px;justify-content:center;gap:0}.handCard{width:min(90px,calc((100% - 24px) / (1 + (var(--fan-count) - 1) * .55)));min-width:0;flex-shrink:0}.handCard+.handCard{margin-left:calc(-1 * min(40.5px,(100% - 24px) / (1 + (var(--fan-count) - 1) * .55) * .45))}.handCard:focus-visible,.handCard:not(:disabled):hover{transform:translateY(var(--fan-drop)) rotate(var(--fan-angle));z-index:calc(var(--fan-index) + 1)}.handCard.selectedCard,.handCard.selectedCard:focus-visible,.handCard.selectedCard:hover{transform:translateY(calc(var(--fan-drop) - 14px)) rotate(var(--fan-angle));z-index:100}.playSelected{max-width:240px;margin:auto}.handCard .corner{font-size:clamp(12px,2.8vw,20px)}.handCard .corner small{font-size:.85em}.tableArea{overflow:visible}.handHeading{flex-wrap:wrap}@media(max-width:760px){.handCard{width:min(68px,calc((100% - 24px) / (1 + (var(--fan-count) - 1) * .55)))}.handCard+.handCard{margin-left:calc(-1 * min(30.6px,(100% - 24px) / (1 + (var(--fan-count) - 1) * .55) * .45))}.handCard .pips{font-size:clamp(12px,3vw,20px)}.handCard .pips.ace{font-size:28px}.handHeading .lastCall{width:100%}.hand{padding-left:8px;padding-right:8px}}.handCard{width:min(90px,calc((100% - 24px) / var(--fan-count) + 24px));margin-left:0}.handCard+.handCard{margin-left:-24px}@media(max-width:760px){.handCard{width:min(68px,calc((100% - 24px) / var(--fan-count) + 24px))}.handCard+.handCard{margin-left:-24px}}.suit-mark{display:inline-block;width:1em;height:1em;vertical-align:-.1em;overflow:visible;flex:none}.corner small .suit-mark{width:1.1em;height:1.15em;vertical-align:-.12em}.pips .suit-mark{width:1.04em;height:1.1em}.suitChoice .suit-mark{width:44px;height:48px}.suitTag .suit-mark{width:22px;height:24px;vertical-align:middle}.brandIcon .suit-mark{width:38px;height:42px}.deck>.suit-mark{color:#f0d1a0}.card .corner,.card.big .corner,.handCard .card .corner{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-width:1.2em;top:5%;left:5%;font:700 18px/1 Arial,Helvetica,sans-serif;letter-spacing:0;text-align:center;font-variant-numeric:lining-nums tabular-nums}.card .corner small{display:block;font-size:inherit;line-height:0}.card .corner small .suit-mark{display:block;width:.72em;height:.72em;vertical-align:initial}.card .corner.reverse{top:auto;left:auto;bottom:5%;right:5%}@media(max-width:760px){.card .corner,.card.big .corner,.handCard .card .corner{font-size:14px;gap:2px}}@media(max-height:520px) and (min-width:760px){.card .corner,.card.big .corner,.handCard .card .corner{font-size:14px;gap:2px}}