@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');*{box-sizing:border-box}body{margin:0;background:#0b1713;color:#eae7d9;font-family:'DM Sans',sans-serif}header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,20px);border-bottom:1px solid #28392e;background:#0c1914}.brand{display:flex;gap:12px;align-items:center;font-weight:700;letter-spacing:.14em;font-size:13px}.brand small{display:block;color:#a99772;font-size:9px;letter-spacing:.18em;margin-top:4px}.mark{display:grid;place-items:center;border:1px solid #bca36b;border-radius:50%;width:39px;height:39px;color:#d5b773;font-size:22px}main{max-width:1160px;margin:auto;padding:24px 20px 80px}.hero{border:1px solid #405343;border-radius:20px;padding:clamp(30px,6vw,72px);background:linear-gradient(90deg,rgba(8,20,14,.97),rgba(8,20,14,.73) 55%,rgba(8,20,14,.28)),url("clubhouse.webp") center/cover;min-height:310px;position:relative;overflow:hidden}.hero:after{content:'♠';position:absolute;right:8%;top:0;font-size:240px;color:#bba6710d;transform:rotate(-15deg)}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;color:#d7b979}h1,h2,h3{font-family:'Playfair Display',serif}h1{font-size:clamp(44px,7vw,74px);line-height:1.05;margin:20px 0}h1 em{color:#dbbd7e}.hero p,.muted{color:#aab8a9}.chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.chips span,.tag{font-size:10px;letter-spacing:.1em;padding:8px 10px;border:1px solid #58705c;border-radius:25px;color:#c9d4c4}.card{background:#15251c;border:1px solid #334839;border-radius:16px;padding:22px;margin:18px 0}.auth{max-width:560px;margin:26px auto}nav{display:flex;gap:6px;overflow:auto;margin:22px 0;border-bottom:1px solid #35483b}nav button{white-space:nowrap;background:none;color:#a6b5a7;border:0;border-bottom:2px solid transparent;border-radius:0;padding:14px 17px}nav button.active{color:#f2d394;border-bottom-color:#d3b678}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}.grid .card{margin:0}.row,.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.muted{font-size:14px;line-height:1.6}.amount{font-size:32px;color:#e4c584;font-family:'Playfair Display',serif}button{font:inherit;cursor:pointer;color:#152019;background:#d7bb81;border:0;border-radius:8px;padding:11px 15px;font-weight:700}button:hover{filter:brightness(1.12)}button.secondary{background:#294334;color:#f1e8d2}button.ghost{background:transparent;color:#d7c39c;border:1px solid #566653}button:disabled{opacity:.5;cursor:not-allowed}label{display:block;font-size:13px;font-weight:700;margin:14px 0}label b{float:right;color:#dfc386;font-size:10px;text-transform:uppercase}input,select,textarea{display:block;width:100%;background:#0c1913;color:#fff;border:1px solid #53685a;border-radius:8px;padding:12px;margin-top:7px;font:inherit}textarea{min-height:80px}dialog{width:min(560px,calc(100% - 30px));max-height:90vh;border:1px solid #536851;background:#15251c;color:#eee;border-radius:16px;padding:24px}dialog::backdrop{background:#000b}.modalhead{display:flex;justify-content:space-between;align-items:center}#message:not(:empty){background:#294134;border:1px solid #66816b;border-radius:8px;padding:12px;margin-top:18px}.statline{display:flex;align-items:center;gap:10px;margin:12px 0}.bar{height:8px;background:#324638;border-radius:10px;flex:1}.bar i{display:block;height:100%;background:#d8b777;border-radius:10px}.table{margin:25px auto;width:min(100%,400px);min-height:180px;background:radial-gradient(#246343,#10452e);border:12px solid #68472f;border-radius:50%;display:grid;place-content:center;text-align:center;box-shadow:0 0 0 5px #211b15}.seats{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.seat{padding:8px;font-size:12px;background:#10291d;color:#e4d8ba;border:1px solid #8d936b}.list{list-style:none;padding:0}.list li{padding:11px 0;border-bottom:1px solid #304438}.alert{color:#e0bb83}@media(max-width:600px){header{height:64px}.hero{min-height:260px}.hero:after{font-size:160px}main{padding:16px 14px 80px}.card{padding:18px}nav button{padding:13px 10px}h1{font-size:42px}}
.home-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}.home-grid .card{margin:0}.next-card{border-color:#8e7950;background:linear-gradient(145deg,#1b3425,#15251c)}.vote-card button{margin:4px}.player-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.person-link{display:inline-flex;align-items:center;gap:9px;padding:0;background:transparent;color:#f2d394;text-align:left;position:relative}.person-link:hover{text-decoration:underline}.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;border:2px solid #bd9c65;flex:none}.placeholder{display:inline-grid;place-items:center;background:#284737;color:#f2d394;font-weight:700}.host-badge{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:50%;background:#d5b877;color:#17241b;font-size:11px;position:relative;top:-12px;margin-left:-5px}.profile-summary{display:flex;align-items:center;gap:16px}.profile-summary .avatar{width:68px;height:68px}.rules-text{white-space:pre-wrap;line-height:1.65}.checkline{display:flex;align-items:center;gap:8px}.checkline input{width:auto;margin:0}@media(max-width:700px){.home-grid{grid-template-columns:1fr}.brand{letter-spacing:.06em;font-size:11px}.brand small{letter-spacing:.08em}}
.game-attendance-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.75fr);gap:22px;align-items:start}.attendance-panel{border-left:1px solid #49604d;padding-left:20px}.attendance-panel h3{margin:0 0 12px}.attendance-group{margin:0 0 14px}.attendance-group strong{display:flex;justify-content:space-between;gap:12px;color:#e7d3a5}.attendance-group>div{display:flex;flex-direction:column;gap:8px;margin-top:8px}.attendance-name{color:#eee}.attendance-panel .avatar{width:30px;height:30px}.attendance-panel .host-badge{height:17px;min-width:17px;font-size:9px;top:-9px}.rsvp-actions{margin-top:16px}.home-grid .next-card .secondary{margin:4px}@media(max-width:700px){.game-attendance-layout{grid-template-columns:1fr}.attendance-panel{border-left:0;border-top:1px solid #49604d;padding:16px 0 0}.attendance-group>div{flex-direction:row;flex-wrap:wrap}}
.danger{background:#713d3d;color:#fff;margin-left:10px}#deleteerror{color:#f3b5a7}
.vote-options{display:flex;flex-direction:column;gap:8px}.vote-options button{display:flex;justify-content:space-between;text-align:left;width:100%;margin:0!important}.queue-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #35483b;padding:12px 0}.past-vote{border-top:1px solid #35483b;padding:8px 0}.next-heading{display:flex;justify-content:space-between;gap:14px;align-items:center}.next-heading h2{margin:8px 0}.home-host{display:flex;align-items:center;gap:8px;text-align:left}.home-host small{display:block;color:#adbaaa;font-size:10px;letter-spacing:.12em}.home-host strong{display:block;font-size:13px}.host-profile{padding:0;background:transparent}.arrival-time{margin-bottom:4px}.start-time{font-size:1.16rem;margin-top:4px;color:#f2d394}.seating-area{border-top:1px solid #49604d;margin-top:24px;padding-top:18px}.seating-area h3{margin:4px 0}.visual-tables{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:36px}.table-wrap{padding:38px 24px 50px}.felt-table{position:relative;width:100%;height:220px;background:radial-gradient(ellipse,#307653,#115038 70%);border:12px solid #72503a;border-radius:50%;box-shadow:0 0 0 5px #251a14,inset 0 0 25px #072c1f}.felt-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;font-size:11px;letter-spacing:.12em;color:#d7be82;pointer-events:none}.visual-seat{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:3px;background:transparent;padding:0;min-width:48px;z-index:2;color:#f1e8d2}.visual-seat:disabled{opacity:1;cursor:default}.visual-seat .avatar,.empty-seat{width:40px;height:40px;border-radius:50%;border:2px solid #d7b878;background:#153c2b;display:grid;place-items:center;object-fit:cover}.visual-seat.mine .avatar{box-shadow:0 0 0 3px #f6da9c}.seat-caption{font-size:10px;max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 3px #000}.standings-card{border-color:#8d7953;background:linear-gradient(125deg,#1e3827,#15251c)}.standings-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.standings-top h2{margin:.4em 0}.rank-row{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #465d49}.rank-no{font:700 18px 'Playfair Display';color:#c8a96e;width:30px}.rank-player{flex:1;min-width:0}.rank-player>small{display:block;color:#aab8a9}.rank-track{display:block;height:5px;background:#304a39;border-radius:8px;margin-top:8px;overflow:hidden}.rank-track i{display:block;background:#d8b777;height:100%}.rank-row strong small{font-size:10px;color:#c8a96e}.edit-standing-row{display:grid;grid-template-columns:1fr 90px auto;gap:8px;align-items:end}.edit-standing-row label{margin:8px 0}.edit-standing-row button{margin-bottom:8px}@media(max-width:600px){.next-heading{align-items:flex-start}.home-host{flex-direction:column;text-align:center}.visual-tables{grid-template-columns:1fr}.edit-standing-row{grid-template-columns:1fr 72px}.edit-standing-row button{grid-column:1/-1;justify-self:start}}
.version{color:#e9d4a7;white-space:nowrap;margin-left:.45em}

/* The group portrait remains visible beneath the title. */
.hero{padding:0;min-height:0;aspect-ratio:1958 / 803;background:linear-gradient(180deg,rgba(5,15,10,.76),transparent 45%),url("friends-table.webp") center/cover;position:relative}.hero:after{content:none}.hero-heading{position:absolute;top:0;left:25%;width:55%;z-index:1;text-align:left;padding:clamp(10px,2vw,24px)}.hero-heading h1{font-size:clamp(18px,3.1vw,40px);line-height:1.15;margin:0;color:#f4e8cf;text-shadow:0 2px 8px #000}.hero-heading button{font-size:12px;padding:7px 10px;margin-top:8px}@media(max-width:600px){.hero{min-height:0}.hero-heading{left:20%;width:75%;padding:9px}.hero-heading h1{font-size:clamp(16px,4.2vw,23px)}}

.hero-edit:has(button:not([hidden])){margin-top:10px}.hero-edit button{font-size:12px;padding:8px 12px}
