:root{
 --ink:#283126;--sub:#58604f;--panel:#f4ebd4;--edge:#b5aa8d;--mint:#ffcf58;--blue:#19b6b2;--orange:#e18b3e;
 --felt:#243d2e;--cream:#fff2d2;--dark:#17271f;--wood:#c79763;--felt-image:url('/table/felt.jpg');
 color-scheme:light;font-family:"Bahnschrift","Aptos","Segoe UI",sans-serif;
}
body{
 background-color:#b98b59;background-image:linear-gradient(105deg,#ffe1ae95,#c99c68c9 55%,#cc985ee0),url('/table/oak.jpg');
 background-size:cover,210px 115px;color:var(--ink);
}
main{width:min(1760px,100%);padding:clamp(12px,1.7vw,27px)}
h1,h2,h3{letter-spacing:-.026em;font-weight:750}button,select,input[type=text]{border-radius:7px;color:#33352b;border-color:#b0a68c;background:#f9f0da}
button{font-weight:680;transition:background-color .16s,border-color .16s,box-shadow .16s,translate .16s}
button:hover:enabled{background:#fff7e3;border-color:#756f54}
button:active:enabled{transform:none;translate:0 1px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ec942d;outline-offset:2px}
.primary,.action button.primary,.primary:hover:enabled{color:#2b2517;background:#ffd15c;border:1px solid #ac8127;box-shadow:inset 0 1px #ffeda5,0 2px #926a2b}
.quiet{background:transparent}.meta,.shelfGroup>small,.decklabel,.tileFoot,.readoutTop{font-family:Bahnschrift,"Segoe UI",sans-serif;letter-spacing:.055em}
header{padding:4px clamp(12px,2.7vw,50px);min-height:58px;background:#15271f;color:#fbf2dc;border:0;border-bottom:3px solid #967447;box-shadow:0 2px 7px #39251240}
.wordmark{color:#fbefcf;font-size:16px;font-weight:800;letter-spacing:.095em}.wordmark b{color:#f4ce68}.lmark{border-color:#31c3b6;box-shadow:-2px 3px #1c6b63}
header button,header button:hover:enabled,header a,header small{color:#fff0cf}header .circle{background:#284135;border-color:#506451}
#radio .ta-radio-source{color:#f5eed9}
#radio .ta-radio-source select{height:40px;min-height:40px;border:1px solid #64715f;border-radius:5px;background:#21362c;color:#fff0cf}
#radio .ta-radio-caption:has(output:empty):has(a[hidden]):has(button[hidden]){display:none}
#radio .ta-radio-caption{height:auto;min-height:0;color:#e5d6b7}
#radio .ta-radio-caption a,#radio .ta-radio-caption button{min-height:24px}
#radio .ta-radio-caption a{color:#ffcf64}.channel input{accent-color:#e9bf62}
.brandCorner,.sectionIndex{width:22px;height:22px;display:inline-block;border-left:8px solid #1d9b8a;border-bottom:8px solid #1d9b8a;transform:rotate(-3deg);flex:none}
.swatchStrip{width:40px;height:7px;display:block;background:linear-gradient(90deg,#eac655 0 25%,#41b9b3 25% 50%,#e17c46 50% 75%,#ab72aa 75%)}
.landing{display:block;min-height:0;padding:0;max-width:none}
.welcome,.lobbySpread{display:grid;grid-template-columns:minmax(308px,.72fr) minmax(0,1.28fr);position:relative;min-height:clamp(425px,58dvh,670px);border-radius:17px;overflow:hidden;background:#f7efd9;box-shadow:0 3px 0 #785d3f,0 12px 32px #4b351f38}
.intro{padding:clamp(22px,3.7vw,67px);max-width:none;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(125deg,#fff8e5,#f4e9cb);position:relative}
.intro:before,.lobbySheet:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,#dba530 0 17%,#258e73 17% 34%,#4eb6ad 34% 51%,#d87445 51% 68%,#935f9b 68% 85%,#cb5377 85%)}
.intro h1{font-size:clamp(70px,7.2vw,132px);white-space:nowrap;color:#183c2e;letter-spacing:-.079em;line-height:.93;margin:16px 0 18px}.intro h1 b{color:#0f8483}.intro .lead{font-size:clamp(17px,1.5vw,23px);color:#464d3b;line-height:1.38;max-width:30ch}
.entry{margin:clamp(16px,2vw,34px) 0 13px;gap:6px}.entry input{background:#fffdf0;color:#233b2b;width:100%;max-width:none;border:1px solid #a6a78c}
.intro>.row button{box-shadow:none;border-color:transparent;padding:5px 4px;min-height:40px;text-decoration:underline;text-decoration-color:#acaa88;text-underline-offset:5px}.intro>.row{gap:22px}
figure.sample,.lobbyPhoto{display:block;background:#233728 url('/table/table-studio.jpg') 55% 52%/cover no-repeat;position:relative;min-height:100%;padding:0;box-shadow:none;border:0;border-radius:0;overflow:hidden}
.sample:before{display:none}.sample:after,.lobbyPhoto:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(174deg,#ffdf9e10,transparent 42%,#0a1a113b)}
.photoPlaque,.photoLabel{position:absolute;z-index:1;left:24px;bottom:24px;display:flex;align-items:center;gap:12px;background:#1b2e24ee;color:#fff1ce;padding:9px 15px;border-radius:4px;border:1px solid #e2c98377;box-shadow:1px 3px 6px #1115;transform:rotate(-2deg)}
.photoPlaque b,.photoLabel b{display:block;font:italic 23px/1 Georgia,serif}.photoPlaque small,.photoLabel small{color:#dccdb0;font-size:10px;letter-spacing:.08em}.photoPlaque i{border-color:#e7b94e;width:17px;height:17px;border-width:6px}
.sampleLoose{position:absolute;right:3%;bottom:4%;opacity:.94;transform:rotate(13deg);filter:drop-shadow(3px 8px 3px #17231899);animation:looseFit 8s ease-in-out infinite}.sampleLoose .mini{--unit:clamp(12px,1.6vw,23px)}
@keyframes looseFit{0%,35%,100%{transform:translate(0,0) rotate(13deg)}51%,73%{transform:translate(-9px,-4px) rotate(6deg)}}
.shelf{margin-top:15px;display:flex;align-items:stretch;color:#f6e7bd;background:linear-gradient(160deg,#273a2bec,#172825e3),var(--felt-image);background-size:cover,105px 80px;border:1px solid #736744;border-radius:12px;box-shadow:0 3px 0 #755c3d,inset 0 0 0 3px #18281c;padding:12px 18px;gap:17px}
.shelfTitle{display:flex;align-items:center;gap:9px;max-width:160px}.shelfTitle h2{font-size:clamp(18px,1.65vw,28px);color:#f4e7c9;line-height:1.06}.shelfTitle .brandCorner{width:16px;height:16px;border-width:5px;border-color:#e3b857}
.shelfGroups{flex:1;display:flex;align-items:stretch;justify-content:space-around;gap:8px}.shelfGroup{padding:0 10px;border-left:1px solid #c7be9338}.shelfGroup>small{font-size:11px;font-weight:700;color:#e2d6b2;display:block}.shelfGroup>div{display:flex;align-items:center;gap:6px}
.shelfGroup button{display:inline-flex;gap:4px;align-items:center;justify-content:center;background:none;color:#f1e4c3;min-width:32px;min-height:37px;padding:3px 4px;border:0}.shelfGroup button:hover:enabled{background:#d4e3b91d;translate:0 -2px}.shelfGroup button>span:not(.mini){font-size:11px}.shelfGroup .mini{--unit:clamp(8px,1.04vw,17px)}
.lobby{max-width:none;margin:0}.lobbySpread{grid-template-columns:minmax(0,.92fr) minmax(320px,1.08fr)}.lobbyPhoto{margin:0;background-position:52% center}.lobbySheet{padding:clamp(20px,3vw,45px);position:relative;align-content:center}.lobbySheet .headline{margin:0}.lobby .roomcode{color:#184333;font:750 clamp(35px,4vw,62px)/1.1 Bahnschrift,system-ui;letter-spacing:.035em}.lobby .setup{gap:7px}.setup select{background:#fffae9}
.setup .checks{gap:6px}.checks label{padding:5px 10px;background:#ebe1c7;border-radius:5px;border:1px solid #cac0a7}.checks label:has(:checked){background:#dfebd8;border-color:#578164}
.lobby .scoreband{justify-content:start}.lobby .seat{background:#273d2f;color:#fff2d1}.lobby .seat small{color:#e4daca}
.match{background:linear-gradient(135deg,#263d30d9,#233529d6 50%,#162b23e3),var(--felt-image);background-size:cover,142px 110px;padding:clamp(12px,1.4vw,24px);border-radius:18px;border:2px solid #62573c;box-shadow:inset 0 0 0 3px #0b1e15,inset 0 0 0 4px #ad9d6e88,0 4px 0 #866442,0 10px 23px #57381955;color:#f3e9cd;position:relative}
.matchHead{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.headline{margin:0;gap:12px;flex:1}.match .headline{justify-content:flex-start}.match .headline h1{color:#fff6dc;font:750 clamp(27px,3vw,48px)/1 Bahnschrift,system-ui;letter-spacing:-.045em}.match .headline .meta{font-size:11px;color:#dacfaa}.match .headline .row{gap:8px}
.match .headline .quiet,.lower button,.mobileNav button{background:#172c22b3;border-color:#73846999;color:#ece6cd}.match .headline .quiet:hover:enabled,.lower button:hover:enabled,.mobileNav button:hover:enabled{background:#3a513e}
.actionCount{color:#f6de93;font-size:13px;font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:5px}.actionCount i{display:inline-flex;gap:2px}.actionCount em{width:8px;height:12px;background:#70806a;border:1px solid #a0a48a;border-radius:2px}.actionCount em.on{background:#f5c94e;border-color:#fce697;box-shadow:1px 1px #806823}
.scoreband{gap:6px;align-items:center;justify-content:flex-end}.scoreband .seat,.lobby .seat{display:inline-flex;align-items:center;gap:7px;background:#1b2d24;color:#eedfc0;border:1px solid #7183676e;border-radius:8px;padding:4px 9px 4px 5px;line-height:1.15}
.scoreband .seat b{color:#f4d695;font-size:20px}.scoreband .seat small{display:block;color:#c9d2bb;text-align:left}.scoreband .seat:hover:enabled{background:#354e3c}
.scoreband .seat.current{border-color:#ffda6b;box-shadow:inset 0 -2px #e3b447;background:#3b4129}.avatar{width:29px;height:31px;flex:none;display:inline-grid;place-items:center;border:1px solid #e5d4a43d;background:linear-gradient(135deg,#3d4a34,#131e19);border-radius:6px}.avatar .mini{--unit:5px;--piece:var(--player)!important}
.action{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:8px 13px;margin:12px 0;color:#2c3829;background:linear-gradient(105deg,#fff2ca,#ecdfb6);border:1px solid #dfc782;border-left:6px solid #edbe4e;box-shadow:0 2px 3px #09150e60;border-radius:7px}.action p{margin-right:auto;font-size:clamp(15px,1.15vw,20px)}.action small{color:#545c45}.action button{min-height:39px}
.game{grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);align-items:stretch;gap:clamp(10px,1.45vw,25px)}
.panel{border-radius:10px;padding:clamp(12px,1.3vw,21px);background:#f7eed8;border:1px solid #daccaa}
.market.panel{color:#f5eed6;background:linear-gradient(128deg,#1c3326c9,#152b20c2),var(--felt-image);background-size:cover,150px 116px;border:1px solid #8b947c82;box-shadow:inset 0 1px #ffffff0e;padding:clamp(12px,1.3vw,22px)}
.market .bar{margin-bottom:8px}.market .bar button{background:#244032;border-color:#798b72;color:#f4e6c5}.market .bar button:hover{background:#365641}.bar h2{font-size:clamp(22px,2.1vw,34px);line-height:1.1}
.sectionTitle{display:flex;align-items:center;gap:9px}.workIndex{border-width:5px;width:16px;height:16px;border-color:#35836b}.market .decklabel{color:#e8dcc1;display:flex;gap:6px;font-size:12px;margin:9px 0 4px}
.marketRow{gap:clamp(5px,.65vw,12px)}.tile{aspect-ratio:auto;border:none;padding:0;background:transparent;box-shadow:none;overflow:visible;min-height:0;transition:translate .18s,filter .18s}
.tile:hover:enabled{background:transparent;translate:0 -3px;filter:brightness(1.08)}.tile:active:enabled{translate:0 -1px}
.tileFace,.board{position:relative;isolation:isolate;background-color:#302e27;border-radius:7%;box-shadow:inset 1px 1px 1px #ece1bc88,2px 4px 0 #171914,3px 7px 6px #0510099e}
.tileFace{display:block;aspect-ratio:7/8;overflow:hidden;border:1px solid #66605a}.tile img{width:100%;height:100%;object-fit:fill;display:block;filter:contrast(.86) sepia(.07);border-radius:inherit}
.tileFace:after,.board:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(125deg,#ffebbc17,transparent 40%,#0002 80%);box-shadow:inset 1px 1px 1px #ddccaf66,inset -2px -2px 2px #0009;z-index:2}
.tileFoot{display:flex;align-items:center;justify-content:space-between;gap:2px;padding:6px 1px 1px;font-size:clamp(9px,.82vw,13px);line-height:1.1;color:#d5dfc8;font-weight:450}.tileFoot b{color:#fff1cb;letter-spacing:.09em}.tile.selected{outline:none}.tile.selected .tileFace{outline:3px solid #ffdb6c;outline-offset:1px;translate:0 -2px}.tile.selected .tileFoot{color:#ffd45d}
.relief{position:absolute;inset:25% 14.2857% 12.5%;display:grid;grid-template:repeat(5,1fr)/repeat(5,1fr);pointer-events:none}.relief i{display:block}.relief .cut{background:#eadfca;border:0 solid transparent;--d:clamp(1px,.16vw,3px);box-shadow:inset 0 0 0 .35px #786c553d}
.relief .cut[data-edge*=n]{border-top:var(--d) solid #807567}.relief .cut[data-edge*=w]{border-left:var(--d) solid #a1947d}.relief .cut[data-edge*=s]{border-bottom:1px solid #fff3d6}.relief .cut[data-edge*=e]{border-right:1px solid #f7eedb}
.bench{color:#2f382b;background:linear-gradient(115deg,#f8efd6,#e8dcc0);box-shadow:0 2px 5px #0b1b0e55}.bench .bar{border-bottom:1px solid #bbae89;padding-bottom:8px;margin-bottom:10px}.bench .bar>small{color:#566146;font-size:12px;white-space:nowrap}
.benchLayout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(132px,.75fr);min-height:275px;gap:clamp(10px,1.25vw,22px);align-items:stretch}
.felt,.materialHero,.emptyOutline{background:linear-gradient(130deg,#31493844,#16251b3b),var(--felt-image);background-size:cover,132px 102px}
.well{display:grid;align-items:center;min-width:0;padding:clamp(10px,1.45vw,26px);border-radius:10px;box-shadow:inset 2px 3px 7px #081208ad,inset 0 0 0 3px #55573d,0 1px 0 #fff3c8;border:1px solid #726848}
.benchBoards,.boards.benchBoards:has(>.board:only-child){width:100%;margin:0;display:grid;grid-template-columns:minmax(0,1fr);justify-content:center}
.bench .board{width:100%;max-width:345px;margin:auto}.board{border:2px solid #5a564c;overflow:hidden;border-radius:7%;background-blend-mode:screen}.boardInfo{z-index:3}
.benchSide{display:flex;min-width:0;flex-direction:column;align-items:stretch}.benchSide h3,.readoutReward>span{color:#566344;text-transform:uppercase;font-size:11px;letter-spacing:.09em}.rack{padding:7px;min-height:60px;background:#cbbc96;border:1px solid #b0a580;box-shadow:inset 1px 2px 4px #5c4a2c35;border-radius:7px;align-content:center;margin:5px 0 9px}
.rack small{color:#46513b;font-size:13px}.pieceBtn{background:#f6eccf;color:#273629;border:1px solid #ac9f7e;box-shadow:0 2px 2px #5d4b2c30;min-width:46px;padding:5px 7px;gap:5px}.pieceBtn sup{color:#444d38;font-size:12px}.pieceBtn .mini{--unit:clamp(10px,1vw,16px)}.selected{outline:2px solid #348b72;outline-offset:1px}
.mini{filter:drop-shadow(1px 2px 1px #15180f83)}.mini i,.board .cell.peg{--shine:color-mix(in srgb,var(--piece) 64%,white);--deep:color-mix(in srgb,var(--piece) 60%,#101810);background:linear-gradient(138deg,var(--shine) -28%,var(--piece) 42%,var(--deep) 138%);border-radius:1px;border:0 solid;box-shadow:inset 0 0 0 .45px #2223;opacity:1}
.mini i[data-edge*=n],.board .peg[data-edge*=n]{border-top:clamp(1px,.17vw,3px) solid var(--shine)}.mini i[data-edge*=w],.board .peg[data-edge*=w]{border-left:clamp(1px,.14vw,2px) solid var(--shine)}.mini i[data-edge*=e],.board .peg[data-edge*=e]{border-right:clamp(1px,.18vw,3px) solid var(--deep)}.mini i[data-edge*=s],.board .peg[data-edge*=s]{border-bottom:clamp(1px,.22vw,4px) solid var(--deep)}
.board .grid{z-index:3}.board .cell.playable{background:#e5bb393e;box-shadow:inset 0 0 0 2px #839143}.board .cell:enabled:hover{background:#81d2b375}.board .cell.preview{background:var(--piece);opacity:.77}.board .cell.draft{outline:2px dashed #fff8c4;outline-offset:-4px}
.emptyBench{min-height:190px;background:none;border:0;color:#fff4ce;gap:10px;place-items:center}.emptyBench .quiet{color:#fff2cf;border-color:#b2b292;background:#233528}.emptyOutline{width:74px;height:74px;display:flex;align-items:center;justify-content:center;gap:4px;border:2px dashed #e6d7a887;border-radius:8px}.emptyOutline .mini{--unit:12px}
.boardPicker{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:9px}.boardPicker button{display:flex;align-items:center;padding:3px 7px;gap:5px;min-height:40px;background:#e1d4b6;border-color:#beb28e}.boardPicker img{width:21px;height:25px;border-radius:2px}.boardPicker .selected{background:#304b36;color:#fff0c8;outline-color:#dbbc60}
.readout{border-top:1px solid #bcb08b;padding:9px 0;color:#364832}.readoutTop{display:flex;justify-content:space-between;align-items:center;font-size:12px}.readoutTop strong{font-size:16px}.fillTrack{display:flex;height:7px;border-radius:2px;background:#cdbf9e;overflow:hidden;margin:4px 0 9px}.fillTrack i{background:#37846d}.fillTrack .proposed{background:#dfa823}.readoutReward{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:12px}.readoutReward>span{width:100%;font-size:10px}
.benchSide .toolbar{gap:5px;margin:4px 0}.actionTools{margin-top:auto!important;display:grid;grid-template-columns:1fr}.actionTools button,.rotateTools button{min-height:39px;text-align:left;font-size:13px;line-height:1.13;background:#f8efd9}.actionTools button:before{content:"";width:9px;height:9px;background:#e5b83a;box-shadow:0 1px 1px #655022;display:inline-block;margin-right:7px;border-radius:2px}.actionTools button[data-do=trade]:before{background:#4d9a77}.actionTools button[data-do=master]:before{background:#ab75ac}.actionTools button.selected{background:#e1ead8}
.match .shelf{box-shadow:none;border-color:#7b8c6b66;background:#13291dd4;margin-top:12px;padding:7px 11px}.match .shelfTitle h2{font-size:17px}.lower{gap:4px;align-items:center}.lower button{min-height:36px;padding:4px 9px;font-size:12px}.lastPlay{font-size:13px;color:#f1e6c4;margin-right:auto;max-width:100%;overflow-wrap:anywhere}
.finessePanel{background:#f2dfc2;color:#342f23;border:1px solid #bf9b7b;border-left:5px solid #a95e81}.finessePanel small{color:#554c3e}
dialog{background:#f8efd9;color:#283c2c;border:2px solid #867855;border-radius:13px;box-shadow:0 18px 60px #06150db3}dialog::backdrop{background:#0a1a11b9}dialog .meta,dialog small{color:#59634a}
dialog .board{margin:9px auto 14px}.materialHero{min-height:125px;display:grid;place-content:center;border-radius:8px;margin-bottom:16px}.materialHero .mini{--unit:24px}.upgradePath{margin-top:12px;border-top:1px solid #b9b095;padding-top:10px}.upgradePath>div{display:flex;gap:15px;align-items:center;margin-top:8px}.materialDetail .meta{display:block;margin-bottom:4px}
.finishPanel{margin:auto;max-width:1000px;position:relative;overflow:hidden;padding:clamp(20px,4vw,60px);border-top:9px solid #24523c}.finishPanel h1{font:750 clamp(36px,5vw,74px)/1 Bahnschrift,sans-serif;color:#22563e}.result strong{color:#1a654b}.resultArt{display:flex;justify-content:flex-end;gap:15px;position:relative;height:60px;align-items:center;background:linear-gradient(100deg,#1e382bb0,#15302185),var(--felt-image);background-size:cover,120px auto;padding:8px 16px;border-radius:5px}.resultArt .mini{--unit:12px}.resultArt>span{transform:rotate(calc((var(--n) - 3)*5deg))}
#feedback,#cue{color:#fff0cd;background:#172b20;border:1px solid #c6b273}#cue{top:clamp(62px,11vh,116px);padding:10px 22px;font-size:clamp(20px,2.5vw,36px);color:#ffe6a0;border-left:6px solid #f1be4b}.flight b{color:#ffe378;text-shadow:0 2px 4px #202818}
.tile.dealt .tileFace{animation:dealFace .42s cubic-bezier(.18,.72,.24,1)}@keyframes dealFace{from{opacity:.3;transform:translateY(-11px) rotate(-4deg)}to{opacity:1;transform:none}}
@media(min-width:1450px){.bench .board{max-width:395px}.benchLayout{min-height:350px}.shelfGroup button{min-height:44px}.well{padding:28px}.match .shelf{padding:10px 20px}}
@media(max-width:1050px){.game{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)}.benchLayout{grid-template-columns:minmax(0,1.2fr) minmax(122px,.8fr)}.shelf{padding:9px}.shelfGroup{padding:0 5px}.shelfGroups,.shelfGroup>div{gap:3px}.matchHead{gap:6px}.welcome{grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr)}}
@media(max-width:780px) and (min-width:661px){.game{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.benchLayout{display:flex;flex-direction:column}.benchSide{display:block}.actionTools{display:flex}.bench .well{min-height:140px}.bench .board{max-width:180px}.shelfTitle .brandCorner{display:none}.matchHead .seat{font-size:12px}.shelfGroups{flex-wrap:wrap}.shelfTitle{max-width:105px}}
@media(max-width:660px){
 header{min-height:0;padding:2px 9px;gap:2px}.wordmark{min-height:40px}.languages button,header .circle{min-height:40px;height:40px}#audioBar{border-color:#5a6952}.channel input{min-height:38px}#radio .ta-radio-source select{height:36px;min-height:36px}
 main{padding:8px}.welcome,.lobbySpread{grid-template-columns:1fr;min-height:0;border-radius:12px}.intro{padding:22px 20px}.intro h1{font-size:clamp(60px,14vw,81px);margin:8px 0}.intro .lead{font-size:16px}.intro .entry{margin:13px 0 5px}.intro .row button{min-height:42px}
 figure.sample,.lobbyPhoto{height:clamp(145px,26dvh,230px);min-height:0;grid-row:1;background-image:url('/table/table-studio-small.jpg');background-position:52% 49%}.sampleLoose{display:none}.photoPlaque,.photoLabel{bottom:10px;left:12px;padding:5px 9px}.photoPlaque b,.photoLabel b{font-size:17px}
 .lobbySheet{padding:15px}.lobbyPhoto{height:132px}.shelf,.match .shelf{display:block;padding:10px;margin-top:9px}.shelfTitle{max-width:none;margin-bottom:5px}.shelfTitle h2,.match .shelfTitle h2{font-size:17px}.shelfTitle .brandCorner{width:11px;height:11px;border-width:4px}
 .shelfGroups{justify-content:flex-start;flex-wrap:wrap;gap:5px}.shelfGroup{border:0;padding:0 4px}.shelfGroup>small{font-size:10px}.shelfGroup button{min-height:40px;min-width:28px;padding:3px}.shelfGroup .mini{--unit:8px}
 .match{padding:10px;border-radius:12px}.matchHead{display:block}.match .headline .row{margin-left:auto}.scoreband{justify-content:flex-start;gap:4px;margin:7px 0 2px}.scoreband .seat{font-size:12px;min-height:39px;padding:3px 5px;gap:4px}.avatar{width:23px;height:27px}.avatar .mini{--unit:4px}.scoreband .seat b{font-size:16px}
 .match .headline h1{font-size:26px}.match .headline .meta{font-size:10px}.match .headline .quiet{min-height:39px;font-size:12px;padding:5px}.actionCount{font-size:12px}.actionCount i{display:none}
 .action{margin:8px 0;gap:5px;padding:7px 9px}.action p{font-size:14px}.action button{min-height:40px}.mobileNav{margin:7px 0;gap:4px}.mobileNav button{min-height:42px;font-size:14px}.mobileNav .selected{background:#e9d297;color:#302f20;outline:0}
 .game{grid-template-columns:minmax(0,1fr);gap:0}.market.panel,.bench.panel{padding:10px}.bar{margin-bottom:6px}.bar h2{font-size:22px}.decklabel{font-size:11px}.tileFoot{font-size:10px}.marketRow{gap:6px}
 .benchLayout{grid-template-columns:minmax(0,1.38fr) minmax(89px,.68fr);gap:8px;min-height:0}.well{padding:8px}.bench .board{width:100%;max-width:100%;border-width:1px}.benchBoards{width:100%;margin:0}.benchSide h3{font-size:10px}.rack{padding:4px;min-height:40px;gap:3px}.pieceBtn{min-width:35px;min-height:42px;padding:2px 4px}.pieceBtn .mini{--unit:8px}.actionTools button,.rotateTools button{font-size:12px;padding:5px;min-height:42px}.actionTools button:before{height:7px;width:7px;margin-right:4px}
 .readout{padding:6px 0}.readoutTop{font-size:10px}.readoutReward b{font-size:10px}.boardPicker button{min-height:42px}.emptyBench{min-height:170px;padding:3px}.emptyBench b{font-size:13px}.lastPlay{width:100%;padding:3px 0}.lower{margin-top:6px}.finessePanel{padding:7px 8px;gap:5px}.finessePanel p{font-size:12px}
}
@media(max-width:400px){.benchLayout{display:flex;flex-direction:column}.benchSide{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:4px 8px}.benchSide h3{grid-column:1/-1}.benchSide .rack{margin:0}.benchSide .readout{border-top:0;padding:0}.benchSide .toolbar{grid-column:1/-1;display:flex}.well{padding:8px}.bench .board{width:min(100%,246px)}.benchSide .rotateTools{grid-column:1/-1}.scoreband .seat{padding:3px 4px;gap:3px}}
@media(max-height:550px) and (min-width:661px){header{min-height:48px}.match .headline h1{font-size:22px}.match .headline .meta{font-size:10px}.matchHead{gap:4px}.match .scoreband{margin:0}.action{margin:6px 0}.welcome,.lobbySpread{min-height:335px}.intro{padding:20px}.intro h1{font-size:58px}.marketRow{gap:5px}.bench .board{max-width:215px}}

.matchHead{position:sticky;top:0;z-index:6;margin:-3px -2px 0;padding:7px 9px;color:#f6edcb;background:linear-gradient(102deg,#283c2cfa,#182d22fa);border:1px solid #8c97758c;border-left:5px solid #c0c9a1;border-radius:8px;box-shadow:0 2px 5px #0b1a0d50}
.match[data-own-turn=true] .matchHead{border-left-color:#ffcb4e;background:linear-gradient(102deg,#394326fa,#203529fa)}
.turnEmblem{flex:none;display:grid;place-items:center}.turnEmblem>.avatar{width:44px;height:44px;background:linear-gradient(140deg,#f8e9be,#bcaa75);border:1px solid #f1dfad;box-shadow:1px 2px 0 #5c5236}.turnEmblem .mini{--unit:8px}
.actionText{margin-right:auto}.actionText p{margin:0}.actionText .latestMove{display:block;color:#5e614a;font-size:12px;margin-top:1px}
.activity{display:flex;align-items:center;color:#e8e4cd;gap:9px;margin-top:12px}.activityTitle{background:#21392c;border-color:#8b957d77;color:#f1e7c8;white-space:nowrap;font-size:13px;padding:5px 9px}.activityTitle:hover:enabled{background:#314c37;color:#fff4d4}.activityTitle span{color:#e3c46f}
.activity ol{list-style:none;margin:0;padding:0;display:flex;align-items:stretch;gap:8px;flex:1;min-width:0}.activity li{flex:1;min-width:0;display:flex;align-items:center;gap:7px;border-left:1px solid #a3b29855;padding:1px 7px;font-size:13px;line-height:1.25;overflow-wrap:anywhere}.eventIcon{display:grid;place-items:center;min-width:25px}.eventIcon>img{width:24px;border-radius:2px;transform:rotate(-5deg);box-shadow:1px 2px 3px #0c180e}.eventIcon>.mini{--unit:7px}.activity li.justHappened{animation:inkIn .5s ease-out}
@keyframes inkIn{from{background:#c8c98639;transform:translateX(3px)}to{background:transparent;transform:none}}
#cue{display:grid;gap:2px;min-width:min(238px,88vw);border-left:7px solid #9dcab5;box-shadow:0 7px 24px #0d190f70}#cue[data-own=yes]{background:#fbe8ad;color:#243726;border-left-color:#d7a22d}
#cue:empty{display:none}#cue small{color:inherit;font:700 11px/1.1 Bahnschrift,sans-serif;text-transform:uppercase;letter-spacing:.14em}#cue strong{font-size:clamp(22px,2.4vw,36px);line-height:1.15}#cue:not(:empty){animation:nameplate .28s cubic-bezier(.2,.7,.2,1) both}
@keyframes nameplate{from{opacity:0;translate:0 -7px}to{opacity:1;translate:0 0}}.finessePanel .activeGoal{height:45px;width:auto;border-radius:4px;box-shadow:0 2px 3px #42392266}.finessePanel>div{flex:1}
@media(max-width:660px){.matchHead{padding:5px 6px}.turnEmblem>.avatar{width:33px;height:35px}.turnEmblem .mini{--unit:6px}.match .headline{gap:6px}.activity{margin-top:8px}.activity li{font-size:12px}.activity li:nth-child(n+2){display:none}.actionText .latestMove{font-size:11px}.eventIcon>img{width:20px}.matchHead .scoreband{margin:5px 0 0}.activityTitle{min-height:40px}}
@media(max-height:520px){.matchHead{position:relative}}

/* The physical surfaces and cell facets come from the same tabletop photograph. */
.tileFace,.board{background-color:#28251f}
.tileFace{background-image:url('/table/charcoal.jpg');background-size:46px 49px}
.tileFace img{filter:none;mix-blend-mode:screen}
.board:before{content:"";position:absolute;inset:0;pointer-events:none;background:url('/table/charcoal.jpg') 0 0/46px 49px;mix-blend-mode:screen;opacity:.86}
.board .relief{z-index:1}.board .grid{z-index:3}
.board{box-shadow:inset 1px 2px 2px #c9b6a277,1px 3px 0 #3a352d,2px 6px 0 #161914,4px 9px 6px #0c150d8a}
.tileFace{box-shadow:1px 2px 0 #463f33,2px 4px 0 #10150f,3px 6px 5px #08110999}
.mini i,.board .cell.peg{background-image:url('/table/acrylic.png');background-position:var(--face-x,0%) 50%;background-size:1200% 100%;background-color:var(--piece);border-width:0!important;border-radius:1px;box-shadow:inset 0 0 0 .4px #1113}
.board .cell.peg:hover:enabled{background-image:url('/table/acrylic.png');background-position:var(--face-x,0%) 50%;background-size:1200% 100%;filter:brightness(1.14)}
.avatar .mini i{background:var(--player);box-shadow:inset 0 1px #ffffff65,inset 0 -1px #252c2570}
.bench.panel{background-image:linear-gradient(110deg,#ffeac6da,#eace9bdf),url('/table/oak.jpg');background-size:cover,210px 85px;border:2px solid #c3a071;box-shadow:inset 1px 1px 1px #fff3d199,inset -1px -2px 2px #7e664b77,0 3px 0 #5e513a,0 5px 9px #0b1a1155}
.benchSide>.rack{background:linear-gradient(115deg,#182b1a63,#17231b30),var(--felt-image);background-size:cover,108px 84px;box-shadow:inset 1px 3px 6px #101a0dcc,0 1px 0 #fff1c5;border:3px solid #937a50;border-radius:9px;padding:8px;min-height:68px;gap:7px;align-items:center}
.benchSide .rack small{color:#fff0d1}.benchSide .rack .pieceBtn{color:#fff4d9;background:transparent;box-shadow:none;border:1px solid transparent;flex:0 1 auto;min-width:42px;min-height:45px}
.benchSide .rack .pieceBtn:hover,.benchSide .rack .pieceBtn:focus-visible{background:#d7e4c31e;border-color:#a4b49b}
.benchSide .rack .pieceBtn.selected{outline-color:#ffd36a;background:#efcb6720}
.benchSide .rack .pieceBtn .mini{--unit:clamp(16px,1.45vw,23px);filter:drop-shadow(1px 3px 2px #061108)}
.benchSide .rack .pieceBtn sup{color:#fff1c9;font-size:11px}
.shelfGroup .mini{--unit:clamp(10px,1.25vw,19px)}
.benchSide .readoutReward .mini{--unit:12px}.benchSide .readoutReward:has(.mini)>b{display:block}
@media(min-width:1050px){.bench .well .board{rotate:-1deg}.emptyOutline .mini{--unit:16px}}
@media(max-width:660px){
 .benchLayout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 7px;align-items:center}
 .benchLayout .benchSide{display:contents}
 .benchSide>h3{grid-area:1/1/2/3}
 .benchSide>.rack{grid-area:2/1/3/3;min-height:45px;padding:2px 6px;margin:0;gap:4px}
 .benchSide .rack .pieceBtn{min-height:40px}.benchSide .rack .pieceBtn .mini{--unit:12px}
 .benchLayout:has(.rotateTools) .rack{grid-column:1}.benchSide .rotateTools{grid-area:2/2/3/3;margin:0;display:flex;flex-wrap:wrap;max-width:125px}
 .benchSide .rotateTools button{padding:3px 5px;min-height:40px}.benchLayout .well{grid-area:3/1/4/3;min-height:0;margin-top:1px;padding:9px}
 .bench .well .board{width:min(100%,272px)}.benchSide .readout{grid-area:4/1/5/3;display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0;padding:4px 0;border:0}
 .readoutTop{gap:6px}.fillTrack{flex:1;min-width:20px;margin:0}.readoutReward{flex-wrap:nowrap;max-width:64%}.readoutReward>span{width:auto}.benchSide .actionTools{grid-area:5/1/6/3;display:flex;margin:0!important}
 .shelfGroup .mini{--unit:9px}.match .finessePanel{padding:5px 8px;margin:5px 0}.match .finessePanel>div>small{font-size:11px}.match .action{margin:6px 0}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
body.calm *,body.calm :before,body.calm :after{transition:none!important;animation:none!important}
.tileImpact{position:absolute;width:0;height:0;pointer-events:none;z-index:25}
.tileImpact i{position:absolute;display:block}
.feltPuff{background:#fff1d6;border-radius:55% 52% 45% 42%;box-shadow:-.25em .1em 0 -.10em #e8d4b4,.23em .12em 0 -.1em #f8e9cf}
.tileGlint{background:var(--glint);clip-path:polygon(50% 0,62% 36%,100% 50%,62% 61%,50% 100%,38% 62%,0 50%,38% 38%)}
.board .cell.queued{outline:2px dotted #fff3ad;outline-offset:-4px}
.board .cell[data-draft]{touch-action:none;cursor:grab}
.layoutNote{margin:.4rem 0;color:inherit;font-size:.88rem}
.layoutControls{display:flex;gap:.4rem;flex-wrap:wrap;margin:.4rem 0}
.layoutControls button{min-height:44px}
.poseControls{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));gap:3px;background:#373a30;padding:4px;border-radius:7px;align-self:stretch;overflow-x:auto}
.poseControls button{min-width:44px;min-height:44px;display:grid;align-content:center;justify-items:center;gap:2px;padding:3px 2px;background:#f4e6ca;color:#302a20;border:1px solid #b69f77;border-radius:4px;font-size:clamp(10px,.8vw,12px);line-height:1.1;text-align:center}
.poseControls button b{font-family:system-ui,sans-serif;font-size:20px;line-height:1;font-weight:650}
.poseControls button:disabled{opacity:.73}.poseControls button:enabled:active{background:#ffe8a1}
.board .cell.draft.touched{outline:2px solid #fff6d9;outline-offset:-3px}
@media(max-width:660px){
 .benchSide .layoutControls{grid-area:5/1/6/3;margin:2px 0}
 .benchSide .actionTools{grid-row:6}
 .benchSide .layoutNote{grid-area:8/1/9/3}
 .benchLayout .poseControls{grid-area:4/1/5/3}
 .benchSide .readout{grid-row:5}.benchSide .layoutControls{grid-row:6}.benchSide .actionTools{grid-row:7}
}
