@font-face{font-family:Maskerade;src:url('/assets/cormorant-garamond.ttf') format('truetype');font-display:swap;font-weight:300 700}
:root{color-scheme:dark;--ink:#f0e2bd;--muted:#bfb69e;--brass:#ba9659;--felt:#123c32;--deep:#081a17;--wood:#38271d;--paper:#f0e2bd;--danger:#e28e73;--line:#b9945559;--display:Maskerade,Georgia,serif;--body:Georgia,serif;--utility:system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--deep) url('/assets/spiele-background-v4.png') center/cover fixed;color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.5}body:before{content:'';position:fixed;inset:0;background:#071510b5;z-index:-1}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{border:1px solid #ad8e56;border-radius:5px;background:#c9ab70;color:#211d14;padding:10px 18px;cursor:pointer;min-height:44px;font-family:var(--display);font-size:20px;font-weight:600;line-height:1.2;box-shadow:inset 0 1px #f4dda999,0 3px 9px #0004;transition:filter .16s,transform .16s}button:hover{filter:brightness(1.13)}button:active{transform:translateY(1px)}button:disabled{opacity:.4;cursor:not-allowed;filter:none}button.secondary{background:#153d31;color:var(--ink);border-color:#ba96597d}button.quiet,.quiet{color:var(--ink);background:transparent;border-color:transparent;box-shadow:none;font:14px var(--utility);padding:8px 12px}button.primary{background:linear-gradient(#d8bc82,#b28d50);border:1px solid #edd39b;box-shadow:inset 0 0 0 3px #ac874b,0 5px 15px #0005}a{color:var(--ink);text-underline-offset:4px}a:hover{color:#fff0cb}:focus-visible{outline:3px solid #f3d799;outline-offset:4px}input,select{display:block;width:100%;background:#091f1be6;border:1px solid #967b4977;border-radius:4px;color:var(--ink);padding:10px 12px;min-height:44px;font:15px var(--utility)}input:focus,select:focus{border-color:var(--brass)}label{display:block;margin:12px 0 5px;font:14px var(--utility)}fieldset{border:1px solid var(--line);margin:16px 0;padding:12px}legend{font:14px var(--utility);padding:0 5px}fieldset label{display:flex;align-items:center;gap:10px}input[type=checkbox]{display:inline-block;min-height:20px;width:20px;height:20px;accent-color:var(--brass)}details>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:14px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--display);font-weight:500;line-height:1.1}h1{font-size:56px}h2{font-size:32px}h3{font-size:26px}p{margin-bottom:16px}[hidden]{display:none!important}.small{font-size:13px}.muted{color:var(--muted)}.small-caps{text-transform:uppercase;letter-spacing:.18em;font:11px var(--utility);color:#c5aa79}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.actions button{flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.game-bar{height:60px;padding:0 26px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;background:#071511df;border-bottom:1px solid var(--line);position:relative;z-index:40;gap:15px}.back-link{font:15px var(--utility);text-decoration:none;justify-self:start}.back-link>span{font:30px var(--display);vertical-align:-2px;margin-right:6px}.game-title{font:27px var(--display);text-decoration:none;white-space:nowrap}.game-title span{font-size:20px;color:#c7b68e}.bar-tools{justify-self:end;display:flex;align-items:center;gap:16px;font:13px var(--utility)}#identity{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.status:empty{display:none}.status{position:fixed;top:68px;left:50%;transform:translateX(-50%);z-index:1000;max-width:min(92vw,660px);padding:12px 22px;background:#142f26;border:1px solid var(--brass);border-radius:6px;box-shadow:0 8px 24px #0008;font:14px var(--utility)}.status.error{background:#3e211d;border-color:#cc8165;color:#ffe3d5}
.entry-stage{min-height:calc(100dvh - 60px);display:grid;grid-template-columns:minmax(260px,.9fr) minmax(510px,1.3fr);align-items:center;gap:clamp(20px,5vw,90px);max-width:1480px;margin:auto;padding:60px 6vw}.entry-content h1{font-size:clamp(42px,4vw,68px);margin-bottom:12px}.entry-lead{font-size:18px;color:#d3c7a9;margin-bottom:30px}.entry-table{aspect-ratio:1;max-width:560px;width:100%;position:relative;display:grid;place-items:center}.entry-table:before{content:'';position:absolute;inset:15% -12% 3%;border:18px solid #36271b;border-radius:50%;background:radial-gradient(ellipse at center,#1b503f,#102e25);box-shadow:0 0 0 2px #a8894e,0 0 0 5px #130e09,0 35px 60px #0008,inset 0 0 0 2px #b29a6440,inset 0 0 70px #05170fc9;transform:rotate(-10deg)}.entry-cards{width:100%;height:100%;position:relative;filter:drop-shadow(0 12px 9px #0008)}.entry-cards img{position:absolute;display:block;width:43%;height:auto;border-radius:9px;top:18%;left:29%;transform:rotate(-17deg);z-index:2}.entry-cards img:nth-child(2){top:26%;left:5%;transform:rotate(-31deg);z-index:1}.entry-cards img:nth-child(3){left:53%;top:29%;transform:rotate(12deg);z-index:3}.setup{display:grid;grid-template-columns:1fr 1.2fr;gap:22px}.setup-card{padding:24px;border:1px solid var(--line);background:#0b211add;border-radius:8px;box-shadow:0 12px 28px #0003}.setup-card h2{font-size:29px}.setup-card .actions{margin-top:18px}.setup-card button{font-size:18px}.setup-card p{margin-top:14px;margin-bottom:0}.setup-card details{margin-top:10px}.entry-notes{margin-top:18px;color:var(--muted)}.entry-notes p{font-size:14px}
.board{height:calc(100dvh - 60px);min-height:720px;display:grid;grid-template-rows:42px minmax(420px,1fr) 206px 22px}.table-meta{padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:10px;font:12px var(--utility);color:#c4b99c}#room-title{letter-spacing:.09em;color:#ddca9e}.meta-dot{margin:0 10px;color:#917e53}.table-meta button{min-height:36px;font-size:12px}.table-arena{position:relative;min-width:0;max-width:1700px;width:100%;margin:auto;height:100%;isolation:isolate}.table-surface{position:absolute;inset:16% 12% 14%;border:15px solid #38281d;border-radius:50%;background:radial-gradient(ellipse at 48% 30%,#245441 0,#173f32 46%,#0c2a21 100%);box-shadow:0 0 0 2px #9a7847,0 0 0 5px #1b130e,inset 0 0 0 2px #af936c80,inset 0 0 45px #061c10,0 13px 24px #000a;z-index:-1}.table-surface:before{content:'';position:absolute;inset:10px;border:1px solid #b59b612c;border-radius:50%;background-image:repeating-linear-gradient(19deg,#d3eac204 0px,#d3eac204 1px,transparent 1px,transparent 3px)}.table-surface:after{content:'';position:absolute;inset:28px;border:1px solid #bca16323;border-radius:50%}.felt-inscription{position:absolute;bottom:13%;left:50%;transform:translateX(-50%);text-align:center;text-transform:uppercase;letter-spacing:.28em;font:18px var(--display);color:#c4b58025;white-space:nowrap}.felt-inscription span{display:block;font-size:12px;letter-spacing:.4em;margin-top:4px}.table-shadow{position:absolute;inset:13% 9% 6%;border-radius:50%;background:#0005;filter:blur(25px);z-index:-2}
.seat{position:absolute;width:148px;text-align:center;transform:translate(-50%,-50%);z-index:4}.seat[data-position="0"]{left:50%;top:87%}.seat[data-position="1"]{left:23%;top:77%}.seat[data-position="2"]{left:9.5%;top:48%}.seat[data-position="3"]{left:24%;top:15%}.seat[data-position="4"]{left:50%;top:9%}.seat[data-position="5"]{left:76%;top:15%}.seat[data-position="6"]{left:90.5%;top:48%}.seat[data-position="7"]{left:77%;top:77%}.seat-person{background:#0b211aef;color:var(--ink);border:1px solid #8b774c80;border-radius:10px;width:100%;min-height:78px;padding:9px 8px 8px;box-shadow:0 7px 17px #0007;font:13px var(--utility);position:relative}.seat-person:before{content:'';position:absolute;inset:3px;border:1px solid #baa7731c;border-radius:7px;pointer-events:none}.seat.active .seat-person{border-color:#edc977;box-shadow:0 0 0 2px #d3ae4f2b,0 0 26px #d6b56545;background:#213e2e}.seat.active .seat-name{color:#ffe3a0}.seat-name{display:block;font:20px var(--display);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seat-balance{display:flex;justify-content:center;gap:9px;margin-top:3px;color:#d5c292;font-size:12px}.seat-state{min-height:14px;margin:4px 0 0;font:10px var(--utility);color:#e1c379;white-space:nowrap}.seat-self .seat-person{border-color:#b69b64}.seat-caption{display:block;font:10px var(--utility);letter-spacing:.07em;color:#9d957e;margin:2px 0 3px}.seat-backs{position:absolute;display:flex;left:50%;transform:translateX(-50%);bottom:calc(100% - 5px);z-index:-1;gap:2px;height:35px;pointer-events:none}.seat-backs img{width:25px;height:37px;object-fit:cover;border-radius:3px;transform:rotate(-12deg)}.seat-backs img:nth-child(2){transform:rotate(8deg);margin-left:-7px}.seat.empty{opacity:.3;pointer-events:none}.empty-seat{width:36px;height:36px;border:1px dashed #ba96595c;border-radius:50%;margin:auto;display:grid;place-items:center;font:12px var(--utility);color:#baa774}.empty-seat span{font-size:10px}
.turn-stage{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);width:44%;max-width:550px;text-align:center;z-index:6}#turn{display:flex;align-items:center;flex-direction:column;gap:10px}.turn-kicker{margin:0;color:#d6bf86;font:11px var(--utility);letter-spacing:.11em;text-transform:uppercase}.turn-heading{font-size:clamp(23px,2.2vw,36px);margin:0;line-height:1.08}.turn-description{max-width:390px;font-size:14px;margin:0;color:#d0c6aa;line-height:1.4}.turn-stage .actions{justify-content:center}.turn-stage .actions button{font-size:19px}.turn-stage .small-action{font:12px var(--utility);padding:8px 12px}.stepper{display:flex;gap:5px;align-items:center;justify-content:center;margin:0 0 3px;padding:0;list-style:none;font:10px var(--utility);color:#8ca493}.stepper li{display:flex;align-items:center;gap:5px}.stepper li:not(:last-child):after{content:'';width:15px;height:1px;background:#b79b604a;margin-right:2px}.stepper .current{color:#f5dfaa}.stepper .complete{color:#b8ccba}.stepper .step-dot{height:17px;width:17px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:10px}.die{width:96px;height:102px;display:grid;place-items:center;position:relative;font:600 43px var(--display);color:#f5dcac;background:linear-gradient(135deg,#657862,#294c39 40%,#102d20 70%);clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);filter:drop-shadow(0 6px 8px #0008);flex-shrink:0}.die:before{content:'';position:absolute;inset:4px;background:linear-gradient(30deg,transparent 48.7%,#c9b785 49%,#c9b785 50%,transparent 50.3%),linear-gradient(150deg,transparent 48.7%,#c9b785 49%,#c9b785 50%,transparent 50.3%);clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);border:1px solid #cebd8b;opacity:.5}.die span{position:relative;z-index:2;text-shadow:0 1px 4px #142c1b}.die.is-rolling{animation:dice-roll .66s cubic-bezier(.22,.61,.36,1)}.die.small-die{width:47px;height:50px;font-size:25px;position:absolute;left:calc(50% - 145px);top:62px}.draw-pile{border:0;box-shadow:none;background:none;padding:0;min-height:0;width:72px;height:108px;position:relative;transform:rotate(-5deg);margin:0 0 3px}.draw-pile img{display:block;width:100%;height:100%;border-radius:5px;box-shadow:3px 3px #ddcc9b,5px 5px #284537,6px 7px #c6ae7a,9px 12px 16px #0006}.draw-pile:after{content:'↓';position:absolute;top:23px;left:22px;font:32px var(--display);color:#f0d68d;text-shadow:0 1px 5px #000}.draw-pile:hover{transform:translateY(-5px) rotate(-3deg)}.draw-label{font:12px var(--utility);letter-spacing:.02em;color:#d5c491;margin:0}.event-preview{display:flex;align-items:center;justify-content:center;gap:16px;max-width:100%;text-align:left}.event-preview img{width:78px;height:117px;object-fit:cover;border-radius:6px;box-shadow:0 8px 16px #0008;transform:rotate(-4deg)}.event-preview p{font-size:13px;margin:0}.turn-stage .pending-note{font:12px var(--utility);color:#e1c580;margin:0}.turn-stage .ranking{font-size:15px;text-align:left;margin:0;padding-left:23px}.deck-rack{position:absolute;right:27%;bottom:17%;display:flex;gap:12px;opacity:.58;pointer-events:none;transform:rotate(-7deg)}.deck-pile{width:35px;position:relative}.deck-pile img{width:35px;height:53px;border-radius:3px;box-shadow:2px 2px #ae996f,3px 4px #112e22,5px 6px 7px #0009}.deck-pile span{display:block;text-align:center;font:8px var(--utility);color:#c1b387;margin-top:5px}.table-tools{position:absolute;right:20px;bottom:8px;display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:44%;z-index:8}.tool-button{font:12px var(--utility);padding:9px 11px;min-height:38px;background:#0a1d17dc;border-color:#a3895159;color:#e0ceaa;border-radius:5px}.counter{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:50%;background:#b69759;color:#10261c;margin-left:4px;font-size:11px}.counter:empty{display:none}.tool-button.attention{border-color:#e6bd6c;box-shadow:0 0 10px #d3b06745}
.hand-dock{display:flex;gap:24px;align-items:stretch;padding:8px 26px 0;background:linear-gradient(#1d1a13f5,#0d110de8);border-top:2px solid #7f663b;box-shadow:0 -10px 40px #0007;z-index:15;min-width:0}.gil-purse{width:112px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;border-right:1px solid #b79b603b;padding-right:18px}.gil-purse strong{font:40px var(--display);color:#f0ce80;line-height:1;margin-top:3px}.gil-purse>span{font:11px var(--utility);letter-spacing:.05em}.gil-purse small{font:11px var(--utility);color:#afa487;max-width:105px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-top:7px}.gil-chest{width:55px;height:40px;border:2px solid #bc9b59;border-radius:7px 7px 3px 3px;background:linear-gradient(#513922 40%,#af8a4e 41%,#af8a4e 46%,#342515 47%);position:relative;display:grid;place-items:center;color:#dbb967;font-size:15px;box-shadow:0 5px 10px #0005}.gil-chest:after{content:'';position:absolute;left:7px;right:7px;top:0;bottom:0;border-left:3px solid #ac8748;border-right:3px solid #ac8748}.hand-area{min-width:0;flex:1}.hand-heading{display:flex;align-items:center;gap:17px;height:27px;padding-right:10px}.hand-heading h2{font-size:20px;margin:0}.hand-heading p{margin:0;font:11px var(--utility);color:#b4aa8c}.hand-cards{display:flex;gap:11px;align-items:flex-start;height:170px;padding:15px 10px 5px 3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#8d7343 #171e14}.hand-card{padding:0;border:0;background:none;box-shadow:none;width:96px;min-width:96px;height:144px;position:relative;transition:transform .22s;transform-origin:bottom center;border-radius:6px}.hand-card img{width:100%;height:100%;display:block;object-fit:cover;border-radius:6px;box-shadow:0 6px 12px #0008}.hand-card:nth-child(2n){transform:rotate(2deg)}.hand-card:nth-child(2n+1){transform:rotate(-2deg)}.hand-card:hover,.hand-card:focus-visible{transform:translateY(-10px) scale(1.045);z-index:4;filter:none}.hand-card .card-tag{position:absolute;top:-11px;left:50%;transform:translateX(-50%);font:9px var(--utility);padding:2px 8px;border-radius:3px;background:#1b3124;color:#ecdbb1;border:1px solid #9e87507d;white-space:nowrap;z-index:2}.hand-card.is-displayed .card-tag{background:#b99d61;color:#19281a}.hand-card.dealt{animation:card-deal .55s ease-out both}.hand-empty{color:#a49c84;font-size:14px;padding:25px 8px}.hand-divider{width:1px;min-width:1px;background:#947c493f;align-self:stretch;margin:4px 12px}.connection{margin:0;padding:3px 18px;background:#09140f;color:#829182;font:10px var(--utility);text-align:right}.hand-dock>button{align-self:center;max-width:130px}.gil-purse.changed strong{animation:gil-gain .7s ease-out}
.dialog-close{position:absolute;right:14px;top:11px;border:none;background:none;box-shadow:none;color:inherit;font:32px var(--display);padding:0;min-width:40px;min-height:40px;z-index:2}.card-dialog,.panel-dialog{color:#292a20;background:var(--paper);border:1px solid #bda475;box-shadow:0 22px 80px #000c;border-radius:10px;max-height:calc(100dvh - 44px);padding:30px;width:min(920px,calc(100vw - 36px));overflow:auto}.card-dialog::backdrop,.panel-dialog::backdrop{background:#04100edc;backdrop-filter:blur(5px)}.card-dialog[open]{animation:card-reveal .3s ease-out}.card-detail{display:grid;grid-template-columns:minmax(190px,.78fr) 1.2fr;gap:32px;align-items:center;padding:12px 12px 6px}.card-detail #card-picture img{display:block;width:100%;height:auto;max-height:72dvh;object-fit:contain;border-radius:9px;box-shadow:0 12px 26px #30271466}.card-reading{max-height:76dvh;overflow:auto;padding:8px 6px 8px 0;scrollbar-width:thin}.card-reading h2{font-size:38px;margin-bottom:16px}.card-reading .small-caps{color:#756035;margin-bottom:8px}.card-reading p{line-height:1.6}.card-reading .actions{margin-top:22px}.card-reading .actions button{font-size:18px}.card-reading select,.card-reading input,.panel-dialog select,.panel-dialog input{color:#27271e;background:#f9f0d9;border-color:#a68d5b}.card-reading label{color:#4a4434}.card-reading .muted,.panel-dialog .muted{color:#726b55}.card-reading button.quiet{color:#675a3b}.task-option{padding:12px 0;border-bottom:1px solid #b5a47a66}.task-option h3{font-size:21px;margin:0 0 7px}.task-option p{font-size:15px;margin-bottom:0}.task-option.selected{border-left:3px solid #8a6d35;padding-left:12px}.panel-dialog{width:min(570px,calc(100vw - 32px));padding:25px 28px}.panel-header{position:relative;padding-right:40px;border-bottom:1px solid #baa471;margin-bottom:20px}.panel-header h2{font-size:34px;margin-bottom:18px}.panel-header .dialog-close{right:-7px;top:-11px}.panel-section h3{margin-top:24px}.panel-section .claim{padding:14px 0;border-bottom:1px solid #b5a47a66}.panel-section .claim p{margin-bottom:10px}.panel-section .claim .actions button{font-size:17px}.panel-section .claim .small{font:12px var(--utility);color:#675d47}.panel-dialog .quiet{color:#5b5038}.panel-dialog .secondary{color:#eee1ba}.panel-dialog #offer-form>button{margin-top:20px;width:100%}.trade-numbers{display:grid;grid-template-columns:1fr 1fr;gap:16px}.log{padding-left:20px;font-size:14px;max-height:55dvh;overflow-y:auto}.log li{padding:7px 0;border-bottom:1px solid #b5a47a44}.seat-editor{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin:18px 0}.seat-editor label{margin-top:8px}.seat-editor select{font-size:13px}.public-cards{display:flex;gap:14px;flex-wrap:wrap}.public-cards .hand-card{width:115px;height:173px;min-width:115px}.player-summary{font-size:18px}.role-result{padding:14px;border-left:3px solid #957338;background:#d9c79d55}
@keyframes dice-roll{0%{transform:translate(-35px,-10px) rotate(-180deg) scale(.65)}35%{transform:translate(18px,-22px) rotate(-75deg) scale(1.1)}65%{transform:translate(-8px,4px) rotate(20deg)}100%{transform:none}}@keyframes card-deal{from{opacity:0;transform:translate(120px,-120px) rotate(24deg) scale(.5)}to{opacity:1}}@keyframes card-reveal{from{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:none}}@keyframes gil-gain{35%{color:#fff4bc;transform:scale(1.25)}100%{transform:none}}
@media(min-width:1600px){.table-surface{inset:15% 14% 14%}.turn-stage{width:40%}.seat{width:170px}.seat-person{padding:12px}.seat-name{font-size:22px}.die{width:112px;height:120px}.turn-description{font-size:16px}.turn-stage{top:44%}}
@media(max-width:1100px){.entry-stage{grid-template-columns:1fr 1.7fr;padding:35px 4vw;gap:35px}.setup{grid-template-columns:1fr;gap:15px}.setup-card{padding:20px}.entry-table:before{inset:10% -15%}.entry-cards img{width:53%;left:16%}.entry-cards img:nth-child(2){left:-2%}.entry-cards img:nth-child(3){left:40%}.game-bar{padding:0 18px}.bar-tools{gap:10px}.board{grid-template-rows:42px minmax(420px,1fr) 194px 22px}.seat{width:123px}.seat-name{font-size:18px}.seat-person{min-height:70px}.seat-balance{gap:6px;font-size:10px}.turn-stage{width:43%}.deck-rack{display:none}.table-tools{right:10px;bottom:3px;max-width:46%;gap:3px}.tool-button{font-size:10px;padding:8px;min-height:34px}.hand-dock{padding-left:16px;padding-right:16px;gap:15px}.hand-card{width:90px;min-width:90px;height:135px}.hand-cards{height:158px}.table-surface{inset:16% 11% 15%}}
@media(max-width:740px){.game-bar{height:52px;padding:0 12px;grid-template-columns:auto 1fr auto;gap:10px}.game-title{font-size:22px;text-align:center}.game-title span{display:none}.back-link{font-size:12px}.bar-tools{font-size:11px;gap:4px}.bar-tools #identity{display:none}.bar-tools .quiet{font-size:11px;padding:5px;min-height:36px}.status{top:60px}.entry-stage{padding:22px 20px 35px;display:flex;flex-direction:column;gap:0;min-height:calc(100dvh - 52px)}.entry-table{max-width:300px;aspect-ratio:1.6;margin:0 auto 16px}.entry-cards img{width:30%;left:32%;top:5%}.entry-cards img:nth-child(2){left:13%;top:12%}.entry-cards img:nth-child(3){left:53%;top:20%}.entry-table:before{inset:13% -8% 0%;border-width:10px}.entry-content{width:100%;max-width:510px}.entry-content>.small-caps{text-align:center;margin:12px 0}.entry-content h1{font-size:39px;text-align:center}.entry-lead{text-align:center;font-size:15px;margin-bottom:20px}.setup{grid-template-columns:1fr}.setup-card{padding:20px}.setup-card h2{font-size:28px}.board{height:calc(100dvh - 52px);min-height:740px;grid-template-rows:58px minmax(440px,1fr) 162px 22px}.table-meta{padding:4px 11px;display:block;font-size:10px}.table-meta>.actions{margin-top:1px;gap:8px;justify-content:flex-end}.table-meta button{min-height:27px;font-size:10px;padding:4px 6px}.seat{width:91px}.seat-person{padding:6px 4px;min-height:64px;border-radius:8px}.seat-name{font-size:16px}.seat-caption{font-size:8px;margin:1px 0 2px}.seat-balance{font-size:9px;gap:4px}.seat-state{font-size:8px;margin:2px 0 0;min-height:10px}.seat-backs img{width:20px;height:30px}.seat-backs{height:28px}.seat[data-position="0"]{top:84%}.seat[data-position="1"]{left:16%;top:72%}.seat[data-position="2"]{left:13%;top:40%}.seat[data-position="3"]{left:18%;top:13%}.seat[data-position="4"]{top:7%}.seat[data-position="5"]{left:82%;top:13%}.seat[data-position="6"]{left:87%;top:40%}.seat[data-position="7"]{left:84%;top:72%}.seat.empty{opacity:.17}.empty-seat{width:25px;height:25px;font-size:9px}.table-surface{inset:14% 8% 14%;border-width:9px;border-radius:46%;box-shadow:0 0 0 1px #9a7847,0 0 0 4px #1b130e,inset 0 0 0 1px #af936c80,inset 0 0 35px #061c10,0 10px 20px #000a}.table-surface:after{inset:15px}.felt-inscription{font-size:13px;bottom:12%}.turn-stage{top:45%;width:47%;max-width:250px}.turn-stage .actions{gap:6px}.turn-stage .actions button{font-size:16px;padding:9px 10px;min-height:43px;white-space:normal;width:100%}.turn-heading{font-size:23px}.turn-description{font-size:11px;line-height:1.4}.turn-kicker{font-size:9px;letter-spacing:.03em}.stepper{font-size:0;gap:2px;margin-bottom:0}.stepper .step-dot{font-size:9px;width:15px;height:15px}.stepper li:after{width:10px!important}.die{width:75px;height:81px;font-size:35px}.die.small-die{width:32px;height:35px;font-size:19px;left:calc(50% - 75px);top:48px}.draw-pile{width:60px;height:90px}.draw-pile:after{font-size:26px;left:18px;top:20px}.draw-label{font-size:10px}.turn-stage .pending-note{font-size:10px}.event-preview{gap:8px}.event-preview img{width:53px;height:80px}.event-preview p{font-size:10px}.turn-stage .small-action{font-size:10px!important;min-height:34px!important}.table-tools{max-width:100%;left:8px;right:8px;bottom:0;justify-content:center;gap:4px}.tool-button{font-size:9px;padding:6px 7px;min-height:31px}.counter{font-size:9px;min-width:14px;height:14px;margin-left:2px}.hand-dock{padding:7px 10px 0;gap:10px;position:sticky;bottom:0}.gil-purse{width:65px;padding-right:9px}.gil-purse strong{font-size:30px}.gil-purse>span{font-size:9px}.gil-purse small{max-width:58px;font-size:8px}.gil-chest{width:40px;height:29px;font-size:11px}.gil-chest:after{left:5px;right:5px;border-width:2px}.hand-heading{gap:7px;height:22px}.hand-heading h2{font-size:17px;white-space:nowrap}.hand-heading p{font-size:8px}.hand-cards{height:132px;padding-top:14px;gap:8px}.hand-card{width:73px;min-width:73px;height:110px}.hand-card .card-tag{font-size:8px;padding:2px 5px}.hand-divider{margin:4px}.hand-empty{font-size:11px;padding-top:16px}.hand-dock>button{font-size:9px;max-width:55px;padding:4px}.connection{font-size:8px;text-align:center;padding:3px 6px}.card-dialog{width:calc(100vw - 20px);padding:25px 15px;max-height:calc(100dvh - 20px)}.card-detail{grid-template-columns:1fr;gap:18px;padding:12px 0 0}.card-detail #card-picture img{max-height:36dvh;max-width:65%;margin:auto}.card-reading{max-height:none;overflow:visible;padding:0 3px}.card-reading h2{font-size:30px}.card-reading p{font-size:14px}.card-reading .actions button{font-size:17px}.card-reading .actions{gap:8px}.panel-dialog{padding:22px 20px;width:calc(100vw - 20px)}.panel-header h2{font-size:30px}.panel-section{font-size:14px}.seat-editor{gap:0 10px}.seat-editor label{font-size:12px}.seat-editor select{font-size:12px;padding:9px 5px}.role-result{font-size:13px}}
@media(max-width:370px){.game-title{font-size:19px}.back-link{font-size:11px}.bar-tools{font-size:10px}.bar-tools a{max-width:47px}.seat{width:77px}.seat-name{font-size:14px}.seat-balance{font-size:8px;gap:3px}.seat-person{min-height:58px}.seat-caption{font-size:7px}.seat[data-position="2"]{left:12%}.seat[data-position="6"]{left:88%}.turn-stage{width:48%}.turn-heading{font-size:21px}.turn-description{font-size:10px}.hand-heading p{display:none}.table-tools{gap:2px}.tool-button{font-size:8px;padding:5px}.board{min-height:735px}.entry-content h1{font-size:35px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hand-card:hover,.hand-card:focus-visible{transform:none}.draw-pile:hover{transform:none}}
/* Keep the result beside its event name, without covering long headings. */
.event-heading{display:flex;align-items:center;justify-content:center;gap:13px;max-width:100%}.event-heading .turn-heading{min-width:0;overflow-wrap:anywhere}.event-heading .die.small-die{position:relative;left:auto;top:auto;width:43px;height:46px}.card-reading #card-actions{display:block}.card-reading #card-actions>button{margin-top:14px}.card-reading #card-actions>.actions{margin-top:18px}
@media(max-width:740px){.event-heading{gap:7px}.event-heading .die.small-die{width:28px;height:31px;font-size:18px}.event-heading .turn-heading{font-size:21px}}
/* Keep the rotated decorative entry table inside the viewport. */
.entry-stage{overflow:clip}
