@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Nunito+Sans:wght@400;600;700&display=swap');
:root{color-scheme:light;--ink:#493b45;--rose:#a34e6a;--paper:#faf4e8}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:'Nunito Sans',sans-serif;background:radial-gradient(ellipse at 50% 12%,#fffaf1aa,transparent 60%),repeating-linear-gradient(0deg,#b8997010 0 1px,transparent 1px 4px),#eee3d0;min-height:100vh}header{padding:22px 4vw;display:flex;align-items:center;justify-content:space-between}header a{display:flex;gap:12px;text-decoration:none;color:var(--ink);font:600 25px 'Cormorant Garamond',serif}small{display:block;font:10px 'Nunito Sans',sans-serif;letter-spacing:3px;margin-top:5px}nav{display:flex;gap:8px}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:24px;padding:12px 24px;background:var(--rose);color:#fff7ed;box-shadow:0 4px 10px #64334018}button:hover{filter:brightness(1.08)}button:focus-visible,input:focus-visible{outline:3px solid #795f9c;outline-offset:4px}nav button{background:#fff8ec;color:var(--ink);padding:10px 15px}main{max-width:1400px;margin:auto;padding:20px}.welcome{position:relative;text-align:center;max-width:730px;margin:15px auto 50px;padding:32px 50px;background:#fff9ee9c;border-radius:55% 55% 15px 15px;box-shadow:0 30px 60px #65483210;animation:float 9s ease-in-out infinite}.portraits{display:flex;justify-content:center;align-items:center;height:230px;margin-bottom:18px}.portraits img{width:145px;box-shadow:0 14px 18px #47302132;border-radius:10px;transform:rotate(-9deg);margin-right:-12px}.portraits img:nth-child(2){transform:translateY(-15px) rotate(2deg);z-index:1}.portraits img:last-child{transform:rotate(10deg)}.eyebrow{font-size:10px;letter-spacing:3px;color:var(--rose)}h1{font:600 64px/.95 'Cormorant Garamond',serif;margin:16px}h1 em{font-weight:500;color:var(--rose)}label{display:block;margin:20px auto 10px;max-width:360px;font-size:14px}input:not([type=range]):not([type=checkbox]){display:block;width:100%;border:1px solid #aa879950;background:#fffdf5;border-radius:12px;padding:13px;margin-top:8px;color:var(--ink)}.actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.actions button:nth-child(2){background:#e5d7c4;color:var(--ink)}.join{display:flex;gap:8px;max-width:360px;margin:14px auto}.join input{margin:0!important}#status{font-size:12px;color:#796674}dialog{border:0;border-radius:20px;background:var(--paper);color:var(--ink);padding:30px;box-shadow:0 25px 90px #30203066}dialog::backdrop{background:#38243855}input[type=range]{display:block;width:100%;accent-color:var(--rose)}@keyframes float{50%{transform:translateY(-5px) rotate(.15deg)}}body.calm *,body.calm *::before{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:600px){header a{font-size:19px}header{padding:16px}.welcome{padding:20px 12px}main{padding:5px}.portraits{height:180px}.portraits img{width:112px}h1{font-size:52px}}
button:disabled{cursor:default;filter:none;opacity:.65}.lobby{text-align:center;max-width:950px;margin:20px auto}.lobby .players{margin:25px 0}.invite{display:flex;gap:20px;align-items:center;justify-content:center}.invite strong{letter-spacing:5px;font-size:24px}.players{display:flex;justify-content:center;gap:25px;flex-wrap:wrap}.player{display:flex;gap:12px;align-items:center;padding:7px 14px}.player.self{background:#fff8ec8a;border-radius:45px}.player>img{width:52px;height:62px;object-fit:cover;object-position:50% 35%;border-radius:50%;box-shadow:0 3px 8px #493b4533}.player small{letter-spacing:0;line-height:1.5}.diamonds{color:#b08a38;letter-spacing:4px;font-size:22px}.token{display:inline-grid;place-items:center;font-size:11px;font-weight:bold;background:#b76382;color:white;border-radius:50%;width:30px;height:30px;margin-left:5px;box-shadow:0 2px 4px #493b4522}.token.white{background:#fff;color:#674859}.token.spent{background:#c6bbad;color:#fff}.table-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 0 12px}h2{font:600 36px 'Cormorant Garamond',serif;margin:8px 0}h3{font:600 24px 'Cormorant Garamond',serif;margin:5px 0}.court{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:35px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-title>span:not(.token){font-size:11px}.rumours{display:flex;flex-wrap:wrap;gap:20px 8px;align-items:flex-start;padding:20px 4px}.rumour{position:relative;width:150px;text-align:center}.card{display:inline-block;border-radius:10px;background:none;padding:0;color:var(--ink);width:150px;box-shadow:none;transform:rotate(-1deg);transition:transform .25s}.card img{display:block;width:100%;border-radius:10px;box-shadow:0 9px 14px #493b4533}.card:disabled{opacity:1}.card-caption{display:block;font-size:12px;line-height:1.35;margin-top:10px;min-height:34px}.rumour:nth-child(even) .card{transform:rotate(2deg)}.rumour.vetoed img{filter:saturate(.25);opacity:.6}.source{font-size:10px;display:block;margin:4px}.token-row{position:absolute;top:12px;right:4px;display:flex;flex-wrap:wrap;max-width:100px;gap:2px}.rumour.latest img{outline:3px solid #bb8c51;outline-offset:4px}.rumour>button:not(.card){font-size:12px;padding:9px;margin-top:5px}.hand{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 15px;padding:12px 8px}.hand .card{width:100%;max-width:175px;animation:float 7s ease-in-out infinite}.hand .card:nth-child(even){animation-delay:-3s}.hand .card.selected{animation:none;transform:translateY(-5px);outline:3px solid var(--rose);outline-offset:5px}.hand .eligible img{box-shadow:0 0 0 2px #c6a05b,0 9px 14px #493b4533}.hand-note{font-size:12px;margin:6px 0}.hand-action{min-height:90px;text-align:center}.hand-action button{width:100%;margin:5px 0}.hand-action p{font-size:14px}.fine{font-size:11px;line-height:1.6;color:#796674}.empty-table{text-align:center;padding:100px 20px;font:60px 'Cormorant Garamond',serif;color:#a89078}.empty-table p{font:16px 'Nunito Sans',sans-serif}.finale{margin:35px auto;text-align:center;padding:25px;background:#fff8ed66;border-radius:25px}.reveals{display:flex;justify-content:center;gap:30px;flex-wrap:wrap;margin:24px 0}.reveal>div{display:flex;gap:12px}.reveal .card{width:125px}.reveal.winner{border-bottom:3px solid #bb974a}.reveal .chosen img{outline:3px solid #bb974a;outline-offset:3px}.reveal p{font-size:13px}#notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#493b45;color:#fff7ed;padding:14px 24px;border-radius:20px;z-index:20;max-width:90vw;text-align:center}#chat{position:fixed;bottom:15px;right:15px;z-index:10}#chatToggle{padding:10px 16px}.chat-box{background:#fff9ee;box-shadow:0 10px 40px #493b4533;border-radius:15px;padding:15px;width:320px;max-width:90vw}.messages{max-height:240px;overflow:auto;font-size:13px}.chat-box form{display:flex;gap:5px}.chat-box button{padding:10px}.turn-bubble{position:fixed;bottom:25px;left:25px;z-index:15;display:flex;align-items:center;gap:12px;background:#fff8ed;color:var(--ink);box-shadow:0 0 24px #c6a05b66;max-width:340px}.turn-bubble img{width:48px;height:60px;object-fit:cover;object-position:50% 35%;border-radius:50%}#help{max-width:700px;max-height:85vh;overflow:auto}#help p{line-height:1.6}@media(max-width:1050px){.court{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.rumour,.card{width:130px}}@media(max-width:720px){.court{display:flex;flex-direction:column-reverse}.hand{display:flex;gap:9px;overflow:auto}.hand .card{min-width:120px;max-width:150px;animation:none}.hand-area{padding:10px}.hand-action{min-height:0}.hand-action button{width:auto}.players{gap:5px}.player{padding:5px;gap:5px}.player>img{width:36px;height:45px}.player b{font-size:12px}.player small{font-size:9px}.diamonds{font-size:17px}.table-heading{padding:0 10px}h2{font-size:27px}.table-heading>span{font-size:11px}.rumour-table{padding:10px}.rumours{justify-content:center}.rumour,.card{width:125px}.turn-bubble{bottom:70px;left:12px;max-width:290px}.section-title>span:not(.token){max-width:110px}.reveals{gap:15px}}
.welcome:hover,.welcome:focus-within{animation-play-state:paused}.hand .card:hover,.hand .card:focus-visible{animation-play-state:paused}
.hand-area{display:flex;flex-direction:column}.hand-area .section-title{order:0}.hand-note{order:1}.hand-action{order:2}.hand{order:3}.hand-area>.fine{order:4}.hand .card{max-width:150px}.hand-action .vote button{padding:10px 20px}.hand-action p{margin:8px 0}.hand-action h3{font-size:23px}
@media(min-width:721px){.hand{justify-items:center;gap:12px 15px}.table-heading{margin-top:18px}.court{gap:25px}.rumour.latest img{outline-color:#bb8c51}}
@media(max-width:720px){.hand{order:2}.hand-action{order:3}.hand .card{min-width:calc((100vw - 55px)/4);width:calc((100vw - 55px)/4);max-width:110px}.card-caption{font-size:11px}.hand{overflow:visible}.hand .card img{border-radius:6px}.hand{padding:12px 0}.hand-action .vote button{display:block;width:100%}}
.finale .reveal{animation:arrive .8s both}.finale .reveal:nth-child(2){animation-delay:.2s}.finale .reveal:nth-child(3){animation-delay:.4s}.finale .reveal:nth-child(4){animation-delay:.6s}@keyframes arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
