/* System fonts keep the local game fully offline. */
:root{--ink:#233c35;--muted:#738078;--paper:#f6f4ec;--green:#235549;--gold:#e3bb79}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Microsoft YaHei",system-ui,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:7px;padding:10px 15px;background:#e9e9df;color:var(--ink);transition:.15s}button:hover{filter:brightness(.95);transform:translateY(-1px)}button:disabled{opacity:.45;cursor:default;transform:none}button:focus-visible,a:focus-visible{outline:3px solid #d7a653;outline-offset:3px}header{max-width:1440px;margin:auto;padding:24px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfdfd3}.brand{font-size:27px;font-weight:800;text-decoration:none;color:var(--ink);letter-spacing:2px}.brand span{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:4px}nav{display:flex;align-items:center;gap:12px}nav button{background:transparent}.live{color:#63806c;font-size:12px;margin-right:15px}main{max-width:1440px;margin:auto;padding:30px 5%}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:2px;color:#718777}h1{font-family:"Noto Serif SC",serif;font-size:38px;margin:9px 0}p{line-height:1.8}.intro p{margin:0;color:var(--muted);font-size:12px}.outline{border:1px solid #c7cfc3;background:transparent}.layout{display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:24px}.board{min-height:650px;position:relative;border:9px solid #bb9b69;outline:1px solid #aa8b60;border-radius:30px;background:radial-gradient(ellipse at center,#326f5c,#174e40);box-shadow:0 15px 30px #1c39251a,inset 0 0 80px #0c322c55;color:#e8eddf;overflow:hidden}.board:before{content:"";position:absolute;inset:14px;border:1px solid #b6d0b222;border-radius:13px;pointer-events:none}.player{position:absolute;text-align:center;max-width:150px}.north{top:24px;left:50%;transform:translateX(-50%)}.west{top:195px;left:20px}.east{top:195px;right:20px}.avatar{margin:auto auto 8px;background:#e4d7b9;color:#385647;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;font-family:serif;font-size:20px;box-shadow:0 0 0 4px #ffffff0b}.player.active .avatar{box-shadow:0 0 0 3px var(--gold)}.player strong{font-size:13px}.player small{display:block;color:#aac6b5;font-size:10px;margin:5px}.backs{display:flex;gap:2px;justify-content:center;margin-top:8px}.back{height:21px;width:8px;border-radius:2px;background:#d1e1cf;border-bottom:3px solid #90b59c}.center{position:absolute;top:140px;left:155px;right:155px;text-align:center;bottom:215px;overflow:auto}.tablemark{display:block;font-size:45px;font-family:serif;color:#bbd1ad25;font-weight:bold}#status{font-size:12px;margin:8px 0 13px;color:#e6dec6;line-height:1.6}.river{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;gap:4px}.river .tile{width:27px;height:37px;font-size:14px;padding:2px;border-radius:3px;border-bottom-width:3px;cursor:default}.river .tile small{font-size:8px}.river .tile.latest{outline:2px solid #f2c476}.south{position:absolute;bottom:22px;left:22px;right:22px;text-align:center}.youline{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px}.youline span{color:#acc6b6;font-size:11px;margin-left:7px}.hand{display:flex;gap:4px;justify-content:center;min-height:75px;align-items:flex-end}.tile{width:43px;height:64px;flex:0 0 auto;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 0;color:#253e74;background:linear-gradient(110deg,#fffdf2,#e9e7d9);border-radius:5px;border-bottom:5px solid #b1c3a3;box-shadow:0 2px 4px #0b32296b;font-size:25px;font-weight:700;line-height:1.15}.tile small{font-size:13px}.tile.s0{color:#ae4033}.tile.s2{color:#276646}.tile.selected{transform:translateY(-12px);outline:3px solid #e6bd76}.tile.hinted{box-shadow:0 0 0 2px #d3d99f}.actions{display:flex;justify-content:center;gap:8px;margin-top:20px;min-height:39px;flex-wrap:wrap}.primary{background:var(--green);color:#fff}.actions .primary{background:#e4bc78;color:#284439;font-weight:bold;min-width:110px}.melds{font-size:11px;margin-bottom:8px;color:#dfddc7;line-height:1.6}.meldgroup{display:inline-block;border:1px solid #f0efcc33;border-radius:4px;padding:3px 6px;margin:2px}.coach{background:#e7ebdf;padding:25px;border-radius:12px}.coach h2{font-family:"Noto Serif SC",serif;font-size:20px;margin:16px 0}.coach p{color:#536357;min-height:80px;font-size:13px}.coach .primary{width:100%;font-size:12px}.textbtn{background:transparent;font-size:11px;padding:14px 0}.steps{padding:20px 4px;border-bottom:1px solid #d9dfd1}h3{font-size:13px;margin:0 0 15px}.steps p{font-size:12px;margin:8px 0}.steps b{color:#9ba78d;font-size:10px;letter-spacing:1px;margin-right:13px}.steps small{font-size:10px;color:#7b8579;line-height:1.8}.activity{padding-top:20px}.activity h3{display:flex;justify-content:space-between}.activity h3 span{color:#929c8e;font-size:10px;font-weight:400}ol{margin:0;padding:0;list-style:none;max-height:125px;overflow:auto}li{font-size:11px;color:#83907f;line-height:2}li:first-child{color:#355b48}footer{display:flex;justify-content:space-between;color:#889180;font-size:10px;padding:27px 0}dialog{border:1px solid #d9dece;border-radius:18px;background:var(--paper);color:var(--ink);max-width:650px;width:92vw;padding:28px;max-height:88vh}dialog::backdrop{background:#143c34a6;backdrop-filter:blur(4px)}dialog h2{font-family:serif;margin:0;font-size:24px}dialog h3{margin-top:22px}.dialoghead{display:flex;align-items:center;justify-content:space-between}dialog p{font-size:13px}dialog a{color:var(--green)}.seatconfig{padding:15px;background:#e9ecdf;border-radius:10px;margin:12px 0}.seatconfig strong{display:block;margin-bottom:10px}.seatconfig label{display:block;font-size:11px;margin:8px 0}.seatconfig input,.seatconfig select{display:block;width:100%;padding:9px;border:1px solid #c6cfbc;border-radius:5px;margin-top:5px;background:#fcfcf6;color:var(--ink)}.fine{color:#7d8976;font-size:11px!important}.notice{padding:12px;background:#f0e5cb;border-radius:7px;font-size:12px;line-height:1.8}#feedback{font-size:11px;color:#507355}.speed{font-size:12px}.result{color:#ffdc9c;font-size:18px;margin:8px 0}.revealed{font-size:10px;line-height:1.7;color:#f3dfb2}.apiFields[hidden]{display:none}@media(min-width:1400px){.tile{width:48px;height:70px}.board{min-height:680px}}@media(max-width:1100px){.layout{grid-template-columns:minmax(0,1fr) 230px;gap:15px}.tile{width:34px;height:58px;font-size:22px}.center{left:125px;right:125px}.coach{padding:18px}}@media(max-width:850px){main{padding:20px 3%}header{padding:18px 4%}.live{display:none}.layout{grid-template-columns:1fr}aside{display:grid;grid-template-columns:1fr 1fr;gap:15px}.activity{display:none}.board{min-height:620px}.tile{width:calc((100vw - 110px)/14);max-width:44px}.coach p{min-height:0}.steps{border:0}h1{font-size:30px}.south{left:15px;right:15px}.center{left:110px;right:110px;top:155px}.west{left:13px}.east{right:13px}}@media(max-width:480px){nav{gap:0}nav button{font-size:11px;padding:8px}.brand{font-size:22px}.brand small{font-size:6px}.board{min-height:590px;border-width:6px}.player{max-width:92px}.player strong{font-size:11px}.backs{gap:1px}.back{width:5px;height:17px}.center{left:96px;right:96px;top:135px;bottom:205px}.river .tile{width:23px;height:31px;font-size:12px}.river .tile small{font-size:7px}.tablemark{font-size:30px}.hand{gap:2px}.tile{width:calc((100vw - 83px)/14);font-size:19px;height:49px;border-bottom-width:4px}.tile small{font-size:10px}.south{left:11px;right:11px}.youline{font-size:11px}.actions{margin-top:14px}.actions button{font-size:12px;padding:9px}.coach h2{font-size:17px}.coach{padding:16px}.steps{padding:15px 0}footer{font-size:9px;gap:20px}footer span{max-width:130px}}
.hand .tile{flex:1 1 0;min-width:0;max-width:48px;width:auto}.hand{width:100%}
/* Table edition: carved walnut, felt, ivory tiles, and warm brass. */
:root{--paper:#ede9df;--ink:#293d34;--green:#255849;--gold:#e7c07d}body{background:radial-gradient(ellipse at 20% 0,#fffdf4 0,transparent 60%),#eeeae0}header{border-bottom-color:#cdc6b54d}.brand{font-family:KaiTi,STKaiti,serif;color:#254e3c;font-size:32px}.brand small{font-family:system-ui;font-weight:500;font-size:7px}nav button{font-size:12px;border:1px solid #b0b29b33;background:#ffffff35}nav{gap:7px}.intro{margin-bottom:23px}.intro .eyebrow{letter-spacing:3px;color:#8c8a70}.intro h1{font-family:KaiTi,STKaiti,SimSun,serif;font-size:44px;letter-spacing:5px}.board{min-height:690px;border:12px solid #8c603b;outline:1px solid #614328;border-radius:35px;background:radial-gradient(ellipse at 50% 40%,#32715c 0,#205542 55%,#153e31 100%);box-shadow:0 3px 0 #d1b17a,0 10px 0 #5d402d,0 17px 0 #3d3226,0 28px 45px #23342640,inset 0 0 0 3px #c8a168,inset 0 0 0 6px #193e30,inset 0 0 80px #061e194f;margin-bottom:14px}.board:after{content:'';position:absolute;inset:6px;pointer-events:none;border-radius:22px;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.55' filter='url(%23n)'/%3E%3C/svg%3E");mix-blend-mode:soft-light}.board:before{inset:20px;border-color:#dddcaa25;border-radius:13px}.player,.south,.center{z-index:1}.north{top:26px}.west,.east{top:220px}.center{top:168px;bottom:227px;left:145px;right:145px}.tablemark{font-family:KaiTi,STKaiti,serif;color:#dcd6a326;font-size:52px;text-shadow:0 2px 0 #092c2338}.avatar{width:43px;height:43px;border:2px solid #e8d6a7;background:radial-gradient(circle at 30% 20%,#f5ead1,#c4b58c);box-shadow:0 3px 7px #0d2c2990,0 0 0 4px #e5d3ab15;font-family:KaiTi,STKaiti,serif}.player.active .avatar{box-shadow:0 0 0 3px #cfac70,0 0 18px #edce7550}.player.active:before{content:'';position:absolute;inset:-12px;border-radius:15px;background:radial-gradient(ellipse,#e6c27512,transparent 75%);z-index:-1}.chips{color:#ebd19b;font-family:Georgia,serif;font-size:13px;letter-spacing:.5px;margin:5px 0}.chips span{font-size:11px;color:#e5b262}.player small{font-size:9px;letter-spacing:.4px}.back{width:9px;height:27px;border:1px solid #e1d8b8;border-bottom:4px solid #acc0a3;background:linear-gradient(105deg,#174e41,#38735c);box-shadow:1px 2px 3px #12382d;border-radius:3px}.tile{position:relative;border:1px solid #e3dcc4;border-bottom:7px solid #9eae8b;background:linear-gradient(115deg,#fffffa 0%,#f9f5e4 30%,#eee6d1 100%);border-radius:6px 6px 5px 5px;box-shadow:inset 1px 1px 0 #fff,inset -1px 0 2px #d4c8a3,0 2px 0 #49634b,0 5px 0 #d7dcc2,1px 8px 5px #072d28a0;overflow:visible;padding:1px;transform:perspective(450px) rotateX(4deg);height:73px;transition:transform .18s,box-shadow .18s;isolation:isolate}.tile:after{content:'';position:absolute;inset:2px;border-radius:4px;pointer-events:none;background:linear-gradient(125deg,#ffffff45,transparent 45%,#b4a76e0a)}.tile-art{width:100%;height:100%;filter:drop-shadow(0 .5px 0 #fff);display:block;pointer-events:none}.hand{gap:4px;padding:0 3px 10px;min-height:98px;perspective:500px;align-items:end}.hand .tile{max-width:53px}.hand .tile:disabled{opacity:1;filter:brightness(.95);cursor:default}.hand .tile:hover:not(:disabled){transform:translateY(-9px) rotateX(0);box-shadow:inset 1px 1px 0 #fff,0 3px 0 #9bb29a,0 7px 0 #dce1c8,0 13px 9px #0a2d23b0}.hand .tile.selected{transform:translateY(-17px);outline:2px solid #edca7c;box-shadow:0 0 16px #e7ca7345,inset 1px 1px 0 #fff,0 3px 0 #9bb29a,0 7px 0 #dce1c8,0 17px 12px #0a2d23b0}.hand .tile.hinted{outline:2px solid #e4c582}.river{gap:7px 5px;padding:4px 3px 10px}.river .tile{height:42px;width:29px;border-bottom-width:4px;box-shadow:inset 1px 1px 0 white,0 2px 0 #57735b,1px 4px 4px #12392a90;border-radius:3px;padding:0}.river .tile.latest{outline:2px solid #e7bd69;animation:drop-tile .3s ease-out}.river .tile.latest:before{content:'';position:absolute;top:-7px;left:50%;transform:translateX(-50%);border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #efd28d}.south{bottom:25px;left:25px;right:25px}.youline{margin-bottom:13px;align-items:center}.youline strong{font-size:13px;display:flex;gap:8px;align-items:center}.youline .chips{font-size:16px;color:#efd298;margin-left:12px}.youline span{font-size:10px}.actions{margin-top:10px;gap:10px}.actions button{background:linear-gradient(#e7e5d9,#cccbbb);border-bottom:3px solid #a1ac96;box-shadow:0 3px 8px #12372960;font-size:13px;min-width:68px}.actions .primary{background:linear-gradient(#f0d69a,#d7aa60);border-bottom-color:#a67a3f;min-width:120px;color:#3e3b28;box-shadow:inset 0 1px #fff4d3,0 4px 12px #0d2d2260}.meldgroup{border:0;padding:0;margin:3px 5px;display:inline-flex;gap:2px;vertical-align:middle}.meldgroup .tile{width:21px;height:30px;border-bottom-width:3px;box-shadow:0 2px 0 #b4c1a5,1px 3px 4px #16352a}.player .meldgroup .tile{width:15px;height:23px}.player .melds{max-width:140px}.tile.facedown{background:repeating-linear-gradient(45deg,#346f58 0,#346f58 2px,#306852 2px,#306852 5px);border-color:#bdd0b5}.revealed{display:flex;flex-wrap:wrap;justify-content:center;gap:3px;max-width:145px;margin-top:8px}.revealed .tile{width:18px;height:26px;border-bottom-width:3px;box-shadow:0 2px 2px #123728}.coach{background:linear-gradient(135deg,#e5e8d9,#dce2d1);border:1px solid #c8d1bd;box-shadow:0 4px 12px #53664508}.coach h2{font-family:KaiTi,STKaiti,serif;font-size:23px}.coach .primary{background:linear-gradient(#32684f,#285440);border-bottom:2px solid #1b3c30;box-shadow:0 3px 8px #284f3920}.steps h3,.activity h3{font-family:serif;font-size:14px}.activity{padding-top:22px}.steps{border-bottom-color:#bdc5b26b}.intro .outline{border-color:#a6ac9680;color:#60715d;border-radius:30px;padding:10px 18px}.live{font-size:10px}#fx{position:fixed;inset:0;z-index:40;pointer-events:none;display:none;align-items:center;justify-content:center;flex-direction:column;overflow:hidden}#fx.show{display:flex}.fx-word{position:relative;color:#fff1b7;font:900 155px/1 KaiTi,STKaiti,"Kaiti SC",SimSun,serif;transform:rotate(-9deg);text-shadow:2px 4px 0 #815329,0 0 4px #fff8d4,0 0 30px #efc46c,0 15px 35px #091e17;animation:calligraphy 1.35s cubic-bezier(.16,.8,.28,1) both}.fx-caption{position:relative;margin-top:18px;color:#fff0cb;letter-spacing:6px;font-size:13px;text-shadow:0 2px 6px #091d14;animation:caption 1.35s both}.fx-halo{position:absolute;width:500px;height:500px;border-radius:50%;background:radial-gradient(ellipse,#203b2ab0 0,#18312780 25%,#14382b00 65%);animation:halo 1.35s both}.fx-ring{position:absolute;width:180px;height:180px;border:1px solid #e7c37488;border-radius:50%;box-shadow:0 0 0 12px #e8c4740a,0 0 0 32px #e8c47408;animation:ring 1.35s both}#fx i{position:absolute;width:5px;height:5px;border-radius:50%;background:#ffe6a4;box-shadow:0 0 9px #ffcb53;transform:rotate(calc(var(--i)*30deg));animation:spark 1.35s both}#fx.win .fx-word{color:#fff4c2;font-size:185px;animation-duration:2.2s}#fx.win .fx-halo{background:radial-gradient(ellipse,#8f602a70,#17352960 25%,transparent 70%);width:750px;height:750px}#fx.win .fx-caption,#fx.win .fx-halo,#fx.win .fx-ring,#fx.win i{animation-duration:2.2s}#fx.drawgame .fx-word{font-size:100px}.balancegrid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:25px 0}.balancecard{padding:17px 7px;background:#e2e5d9;border:1px solid #d0d5c4;border-radius:10px;text-align:center;display:flex;flex-direction:column;gap:9px}.balancecard span{font-size:12px}.balancecard strong{font-family:Georgia,serif;font-size:22px}.balancecard small{font-size:9px;color:#84917a}.balancecard b{font-size:12px}.balancecard.winner{background:linear-gradient(130deg,#efe2bc,#e1d3a4);border-color:#c8ab64}.positive{color:#287047}.negative{color:#a94e3f}.factors{display:flex;gap:6px;flex-wrap:wrap}.factors span{border-radius:4px;background:#e3e8d8;color:#556648;padding:6px 10px;font-size:11px}.factors .totalfactor{background:#2c5842;color:#f8e4b4}.receiptrow{display:flex;justify-content:space-between;border-bottom:1px solid #d8ddcd;padding:10px 0;font-size:12px}.receiptrow small{display:block;font-size:10px;color:#859079;margin-top:4px}#receipt{max-height:200px;overflow:auto}#history{max-height:200px;overflow:auto;margin-bottom:20px}#settlement .primary{width:100%;padding:14px}#settlement{border:1px solid #dac69a;box-shadow:0 25px 100px #09281d55}dialog{background:linear-gradient(140deg,#faf7ed,#eaeadd)}@keyframes calligraphy{0%{opacity:0;transform:scale(2.4) rotate(-19deg);filter:blur(10px)}18%{opacity:1;transform:scale(.94) rotate(-8deg);filter:blur(0)}30%{transform:scale(1) rotate(-9deg)}75%{opacity:1;transform:scale(1.03) rotate(-9deg)}100%{opacity:0;transform:scale(1.15) rotate(-7deg)}}@keyframes caption{0%,15%{opacity:0;transform:translateY(12px)}30%,75%{opacity:1;transform:translateY(0)}100%{opacity:0}}@keyframes halo{0%{opacity:0;transform:scale(.5)}25%,70%{opacity:1}100%{opacity:0;transform:scale(1.4)}}@keyframes ring{0%{opacity:0;transform:scale(.2)}20%{opacity:1}100%{opacity:0;transform:scale(2.6)}}@keyframes spark{0%{opacity:0;transform:rotate(calc(var(--i)*30deg)) translateX(40px)}20%{opacity:1}100%{opacity:0;transform:rotate(calc(var(--i)*30deg)) translateX(280px) scale(.1)}}@keyframes drop-tile{0%{transform:translateY(-20px) scale(1.2);opacity:.4}100%{transform:translateY(0) scale(1);opacity:1}}@media(max-width:1200px){.center{left:125px;right:125px}.hand .tile{height:65px}.board{min-height:680px}.player .meldgroup .tile{width:13px;height:20px}}@media(max-width:1000px){.layout{grid-template-columns:1fr}.board{min-height:660px}aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.activity{display:none}.coach p{min-height:0}.steps{border:0}.live{display:none}.center{left:160px;right:160px}.hand .tile{height:75px}.south{left:30px;right:30px}}@media(max-width:650px){header{align-items:flex-start}.brand{font-size:27px}nav{flex-wrap:wrap;justify-content:flex-end;max-width:235px}nav button{font-size:10px;padding:6px 8px}.intro h1{font-size:35px}.board{min-height:650px;border-width:9px}.south{left:15px;right:15px;bottom:25px}.center{left:105px;right:105px;top:163px;bottom:235px}.hand{gap:3px;padding:0 0 10px;min-height:80px}.hand .tile{height:58px}.west,.east{top:218px}.player{max-width:100px}.back{width:6px;height:23px}.player strong{font-size:11px}.player .melds{max-width:95px}.player .meldgroup .tile{width:11px;height:18px}.river{gap:6px 4px}.river .tile{width:25px;height:35px}.avatar{width:36px;height:36px}.youline .chips{font-size:13px;margin-left:2px}.youline strong{gap:2px}.youline span{margin-left:4px}.balancecard strong{font-size:18px}.balancegrid{gap:5px}.fx-word{font-size:140px}#fx.win .fx-word{font-size:165px}.coach{padding:16px}}@media(max-width:410px){.hand .tile{height:47px;border-bottom-width:5px}.center{left:90px;right:90px}.river .tile{width:21px;height:30px}.board{min-height:620px}.south{left:10px;right:10px}.chips{font-size:11px}.youline span{font-size:9px}.backs{gap:1px}.back{width:5px}.player{max-width:85px}.west{left:10px}.east{right:10px}.coach h2{font-size:18px}.coach .primary{font-size:10px}.textbtn{font-size:9px}.balancecard strong{font-size:16px}dialog{padding:20px}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}.fx-word,.fx-caption{animation:none!important}#fx i{display:none}}
#claimNotice{display:none;margin:0 auto 22px;padding:11px 17px;border:1px solid #e5bf7166;background:linear-gradient(90deg,#173f34e8,#3b6544ed,#173f34e8);box-shadow:0 0 28px #e1b35516;border-radius:9px;color:#f7dda1;font-size:14px;font-weight:600;max-width:450px;letter-spacing:1px}#claimNotice.visible{display:block;animation:notice-in .25s ease-out}#claimNotice small{display:block;font-size:10px;font-weight:400;color:#c5d4b8;letter-spacing:0;margin-top:6px}.notice-dot{display:inline-block;width:6px;height:6px;background:#f2ce7e;border-radius:50%;margin-right:9px;box-shadow:0 0 8px #ffda72}.hand .tile.claim-glow{outline:2px solid #ffe1a0;transform:translateY(-10px);animation:claim-breathe 1.4s ease-in-out infinite;filter:none!important}.claim-tag{position:absolute;top:-17px;left:50%;transform:translateX(-50%);font-size:9px;line-height:15px;padding:0 4px;color:#274730;background:#f0ce87;border-radius:4px;white-space:nowrap;z-index:3;box-shadow:0 1px 4px #133b29}.actions .hu-action{background:linear-gradient(#fbe1a5,#e4b65f);color:#683e1e;border:1px solid #ffe8ae;border-bottom:3px solid #a57535;box-shadow:0 0 20px #e4bc6a55;font-weight:700}.coach .textbtn{display:block;width:100%;padding:10px 0;font-size:11px}.assist-launch{letter-spacing:.3px}#assist{max-width:760px}#assistIntro{color:#76846a;font-size:12px}.route{padding:17px;margin:14px 0;border:1px solid #d3d9c8;border-radius:11px;background:#ffffff40}.route.best{border-color:#b8bb84;background:linear-gradient(120deg,#e8eddd,#f8f5e9)}.routehead{display:flex;align-items:center;justify-content:space-between;gap:10px}.routehead strong{font-family:KaiTi,STKaiti,serif;font-size:20px}.routehead>span{font-size:10px;background:#d7e2ca;color:#486043;padding:5px 8px;border-radius:5px}.route p{font-size:11px;color:#6b7c60;line-height:1.7;margin:10px 0}.outtiles{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.outtiles>span{display:flex;flex-direction:column;align-items:center;gap:8px}.outtiles .tile{width:32px;height:44px;border-bottom-width:4px;box-shadow:0 2px 0 #b7c2a5,1px 4px 6px #38513b26}.outtiles small{font-size:9px;color:#76846a}.probability{display:flex;gap:14px;align-items:center;padding:12px 0}.probability>strong{font-size:32px;font-family:Georgia,serif;color:#2d6948}.probability>span{font-size:11px;color:#586d50}.probability small{display:block;color:#8a967c;font-size:10px;margin-top:5px}.useRoute{font-size:11px;padding:8px 12px;background:#e0e5d5;border:1px solid #c8d2ba}.counterrow{display:grid;grid-template-columns:repeat(9,1fr);gap:6px;margin:15px 0}.countertile{display:flex;flex-direction:column;align-items:center;gap:9px}.countertile .tile{height:52px;width:38px;border-bottom-width:5px;box-shadow:0 3px 0 #b8c5a7,1px 5px 6px #253e2720}.countertile strong{font-size:10px;color:#6b7d5c;letter-spacing:2px;font-weight:400}.countertile.exhausted{opacity:.35}.probNotes{font-size:12px;border-top:1px solid #cbd3bc;padding:18px 0;margin-top:22px}.probNotes summary{cursor:pointer;color:#617253}.probNotes p{font-size:11px;color:#7f8a72}#assist h3{margin-top:25px}#assist h3 small{font-size:10px;font-weight:400;color:#859076;margin-left:12px}@keyframes claim-breathe{0%,100%{box-shadow:0 0 8px #edca6740,0 5px 0 #b8c7a8,0 9px 8px #082c23}50%{box-shadow:0 0 22px #f7d970aa,0 5px 0 #ccd6b5,0 9px 8px #082c23}}@keyframes notice-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:500px){.counterrow{gap:3px}.countertile .tile{width:28px;height:40px}.countertile strong{letter-spacing:0;font-size:9px}.route{padding:12px}.routehead strong{font-size:18px}.routehead>span{font-size:9px}.probability>strong{font-size:28px}.outtiles{gap:9px}.outtiles .tile{width:29px;height:41px}#claimNotice{font-size:12px;padding:9px;margin-bottom:20px}#claimNotice small{font-size:9px}.claim-tag{font-size:8px;padding:0 2px}.south:has(#claimNotice.visible){bottom:20px}}
/* Traditional exposed melds: three laid tiles, fourth tile stacked above. */
.meldgroup{position:relative;display:inline-flex;margin:12px 9px 15px;perspective:180px;padding:0;border:0;vertical-align:bottom;isolation:isolate}.meld-base{display:flex;gap:2px;transform:rotateX(42deg);transform-origin:center bottom}.meldgroup .tile{width:27px;height:36px;border-radius:3px;border-bottom:5px solid #a4b69b;box-shadow:inset 1px 1px 0 #fff,0 3px 0 #d3dbc2,1px 5px 4px #0c2e22b0;transform:none;padding:0}.meld-top{position:absolute;left:50%;bottom:8px;transform:translateX(-50%) rotateX(42deg);transform-origin:center bottom;z-index:2}.meld-top .tile{box-shadow:inset 1px 1px 0 #fff,0 3px 0 #d3dbc2,2px 7px 4px #0b2b2190}.meld-label{position:absolute;left:50%;bottom:-14px;transform:translateX(-50%);font-size:8px;color:#c9cfab;white-space:nowrap;letter-spacing:1px}.player .meldgroup{margin:9px 3px 13px}.player .meldgroup .tile{width:20px;height:28px;border-bottom-width:4px}.player .meld-top{bottom:7px}.player .meld-label{font-size:7px;bottom:-12px}.player .melds{max-width:150px;display:flex;flex-wrap:wrap;justify-content:center}.south>.melds{display:flex;justify-content:center;align-items:end;margin:0 0 8px;min-height:0}.tile.facedown{background:repeating-linear-gradient(45deg,#2b6c50 0,#2b6c50 2px,#256249 2px,#256249 4px);border-top-color:#e5e3c9;border-left-color:#e5e3c9;border-right-color:#d5d9b9;box-shadow:inset 0 0 0 2px #91b59b,0 3px 0 #d5ddc5,1px 5px 4px #0c2e22b0}@media(max-width:650px){.meldgroup .tile{width:22px;height:31px}.meldgroup{margin-left:5px;margin-right:5px}.player .meldgroup .tile{width:15px;height:22px}.player .meldgroup{margin:7px 2px 12px}.player .meld-top{bottom:6px}.meld-top{bottom:7px}.player .melds{max-width:95px}}@media(max-width:410px){.meldgroup .tile{width:19px;height:27px}.player .meldgroup .tile{width:13px;height:19px}.south>.melds{margin-bottom:3px}}
.west,.east{top:190px}
.readybadge{display:inline-block;border:1px solid #e3c477;color:#ffe2a5;background:#294f3b;border-radius:4px;padding:1px 5px;font:12px KaiTi,serif;margin-left:4px}.hand .tile.drawn-locked{outline:2px solid #a9ddcd;transform:translateY(-12px);box-shadow:0 0 16px #80dbb355,0 5px 0 #b8c7a8}
