
:root{--ink:#203b35;--paper:#fbf4df;--red:#ac3427;--gold:#f5cc76;--green:#185646;--line:#cfc4a6; font:16px/1.45 "DM Sans","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#e8deca}*{box-sizing:border-box}body{margin:0}main{max-width:490px;min-height:100svh;background:var(--paper);margin:auto;padding:0 17px max(22px,env(safe-area-inset-bottom));border-inline:1px solid #cabc9c}button,select,input{font:inherit}button,select{cursor:pointer}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3683a2;outline-offset:2px}button:disabled{opacity:.48;cursor:default}.brand,.between,.row,.seat,.toolbar{display:flex;align-items:center;gap:9px}.between,.brand{justify-content:space-between}.brand{height:64px;border-bottom:1px solid var(--line)}.seal{background:var(--red);color:#ffdf9d;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px 3px;font-family:serif;font-weight:bold;font-size:20px}.logo{font:bold 21px Georgia,serif;letter-spacing:-.9px}.micro,.en,.idx,.chips{font:700 10px/1.4 "Courier New",monospace;letter-spacing:1.1px}.micro{color:#625b46}.hero,.setupHero{background-color:var(--red);color:#fff3d6;border-radius:5px;position:relative;overflow:hidden;margin-top:16px}.hero{padding:20px;height:165px;background-image:repeating-linear-gradient(135deg,transparent 0 22px,#ffd6880a 22px 24px)}h1,h2,h3,p{margin:0}h1,h2,.title{font-family:"Songti SC","STSong",serif;font-weight:900}.hero h1{font-size:clamp(33px,10vw,49px);line-height:1.1;letter-spacing:-3px;margin:12px 0 8px}.hero .en,.setupHero .en{color:#f4d28d}.hero p{font-size:13px}.art{position:absolute;inset:0 0 0 auto;width:38%;pointer-events:none}.fan{position:absolute;background:repeating-conic-gradient(from 0deg,#edb557 0 3deg,#d59744 3deg 5deg,#eac278 5deg 12deg);width:150px;height:150px;right:-68px;top:-50px;border-radius:50%;opacity:.78}.chunk{position:absolute;right:15px;top:53px;transform:rotate(13deg);display:grid;place-content:center;text-align:center;background:#fff5db;border:1px solid #f0d79d;border-radius:7px;box-shadow:3px 7px #173f36,5px 9px #7f3021;color:#195443;width:56px;height:72px;font:bold 38px/1.1 "Songti SC",serif}.chunk small{font:8px/1 monospace;letter-spacing:1px}.chunk.behind{right:56px;top:65px;transform:rotate(-13deg);color:#b03a2b}.section{margin:19px 0 11px}.section h2{font-size:22px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.game{position:relative;overflow:hidden;text-align:left;min-height:109px;background:#fffaf0;border:1px solid #c7b999;border-radius:6px;padding:10px 12px;box-shadow:0 2px #e0d5b8}.game h3{font-size:20px;margin:6px 0 2px;letter-spacing:-1px}.game .idx{color:#7c6a47}.game .en{font-size:9px;color:#6a6753;letter-spacing:.5px}.game .go{position:absolute;right:9px;bottom:8px;font-size:16px}.mini{float:right;width:27px;height:33px;display:grid;place-content:center;color:var(--green);background:#f1ead8;border:1px solid #b5b599;border-radius:3px;font:800 21px Georgia,"Songti SC",serif;box-shadow:2px 2px #7f997d;transform:rotate(8deg)}.mini.hot{color:#9f3329;box-shadow:2px 2px #d1aa80}.back,.quiet{border:0;background:none;min-height:44px;padding:4px 2px;font-size:13px;font-weight:bold}.quiet{text-decoration:underline;text-underline-offset:4px}.setupHero{margin-top:3px;padding:13px 18px;background-color:var(--green)}.setupHero h1{font-size:32px}.box{border:1px solid var(--line);background:#fffaec;padding:13px 14px;border-radius:6px;margin-top:12px}.box h2,.betTitle{font:800 17px/1.4 inherit;font-size:17px}.sub,.help{font-size:12px;color:#615e4d}.money{display:flex;align-items:center;gap:8px;background:white;border:1px solid #a49b7d;border-radius:4px;margin:8px 0 5px;padding:0 10px}.money input{min-width:0;width:100%;border:0;font:bold 25px/1.2 monospace;padding:8px 0;color:var(--green);background:transparent}.chip{width:18px;height:18px;border:3px dashed #c58334;border-radius:50%;background:#f3d484;display:inline-block;flex:none}.seat{justify-content:space-between;min-height:45px;border-top:1px dashed var(--line);font-size:14px}.seat:first-of-type{margin-top:9px}.seat select,.seatChoice{border:1px solid #b5ad93;background:#fffaf0;border-radius:4px;padding:5px;font-size:14px;min-height:36px}.primary,.secondary{border:1px solid var(--red);border-radius:5px;min-height:48px;padding:8px 14px;font-weight:800}.primary{background:var(--red);color:#fff7de}.secondary{border-color:#a99f7e;background:#fff9e8}.full{width:100%;margin-top:12px}.err{color:#a02d22;font-size:13px}.felt{background:radial-gradient(ellipse at 50% 45%,#296e56,#144537);border:5px solid #876644;outline:1px solid #5d4b36;box-shadow:inset 0 0 0 1px #e8c98480;border-radius:32px;position:relative;color:#fff2d2;min-height:226px;padding:14px 10px;margin:12px 1px;display:flex;flex-direction:column;justify-content:space-between;gap:14px}.players{display:flex;justify-content:space-around;gap:4px}.person{text-align:center;min-width:0;font-size:11px}.avatar{width:32px;height:32px;background:#f4d49a;color:#463c28;border:2px solid #c9a55d;border-radius:12px 12px 7px 7px;display:grid;place-content:center;margin:0 auto 2px;font-weight:bold;font-size:16px}.person .chips{font-size:10px;color:#efd496}.center{text-align:center}.pot{font:bold 30px/1.2 Georgia,serif;color:#ffdd90}.felt .en{color:#eed9b0;font-size:9px}.log{text-align:center;color:#f6e5c5;font-size:12px}.cards,.tiles{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:9px 0}.card,.tile{background:#fffdf0;border:1px solid #c2b89d;box-shadow:1px 2px #cbbea0;color:#283d37;border-radius:4px}.card{padding:4px 6px;display:inline-flex;flex-direction:column;justify-content:space-between;min-width:35px;height:54px;font:bold 19px/1.05 Georgia,serif}.card i{font:16px/1.1 Georgia,serif;text-align:right}.red{color:var(--red)}.tile{display:grid;place-content:center;text-align:center;padding:3px 0;width:calc((100% - 24px)/7);min-height:43px;font:bold 16px/1.05 "Songti SC",serif}.tile small{font:9px/1.3 sans-serif;color:#64644e}.tile.sel{border:2px solid var(--red);background:#fff0be}.toolbar{margin-top:12px}.toolbar button{flex:1}.cover{text-align:center;padding:30px 15px}.cover .seal{width:52px;height:62px;font-size:28px;margin-bottom:10px}.resultRow{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:13px}.resultRow b{color:var(--green)}.endmark{background:#fff0bc;border:1px solid #d7b367;border-radius:4px;padding:12px;margin:12px 0}.title{font-size:27px}.foot{margin-top:15px;border-top:1px solid var(--line);padding-top:9px}.rules{font-size:13px;line-height:1.65}.rules summary{cursor:pointer;min-height:36px;padding-top:6px;font-weight:bold}.public{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.public .tile{width:27px;min-height:34px}.public .card{min-width:28px;height:39px;font-size:15px}.public .card i{font-size:12px}dialog{width:min(340px,90vw);border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--paper);padding:18px}dialog::backdrop{background:#182c2880}button:hover{filter:brightness(.97)}@media(max-width:355px){.hero h1{font-size:32px}.chunk{right:5px}.chunk.behind{right:40px}.game{padding:8px}.game h3{font-size:18px}}@media(min-width:700px){main{box-shadow:0 0 30px #503c261a}}

.felt{background-image:radial-gradient(ellipse at 50% 48%,transparent 54%,#12372940),repeating-linear-gradient(135deg,#ffffff04 0 1px,transparent 1px 4px),linear-gradient(135deg,#256a53,#144537)}
.tableMark{display:flex;justify-content:center;align-items:center;gap:18px}.backs{position:relative;width:52px;height:52px}.backs i{position:absolute;top:4px;left:15px;width:31px;height:43px;border:2px solid #f1dfb2;border-radius:4px;background:repeating-linear-gradient(45deg,transparent 0 4px,#eacb8c40 4px 5px),repeating-linear-gradient(-45deg,#923e32 0 4px,#d29262 4px 5px);box-shadow:2px 3px #182e27;transform:rotate(10deg)}.backs i:first-child{left:3px;transform:rotate(-15deg)}.backs.mah i{background:linear-gradient(90deg,#eadbbd,#fff4da);height:39px;box-shadow:1px 4px #5d9b77,2px 6px #182e27;color:#245c46;font:bold 24px/35px serif}
.cards>.card{min-width:48px;height:68px;font-size:23px;padding:5px 7px}.cards>.card i{font-size:20px}.seatChoice{margin-left:3px}.roundFee{font-size:12px;color:#605842;margin-top:6px}.box label[for=amt]{font-size:17px}.title{line-height:1.25}.public{margin-top:7px}

.brand a.home{text-decoration:none;color:inherit}
.combo.alt{text-decoration:none;background:transparent;color:inherit;border:1px dashed var(--focus,var(--red))}
.combo.alt b{color:var(--focus,var(--red))}
