:root{--bg:#f7f5ed;--green:#285c4d;--ink:#253c32;--muted:#83907e;--line:#e5e7d9;--coral:#b96e48}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;background:var(--green);color:#fffaf0;border:0;border-radius:12px;padding:13px 22px;font-weight:600}button:disabled{opacity:.4;cursor:default}button:hover:not(:disabled){filter:brightness(1.06)}a{color:inherit;text-decoration:none}header{max-width:1200px;margin:auto;padding:28px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-weight:750;font-size:28px;letter-spacing:3px;line-height:1.4}.brand span{display:block;letter-spacing:1px;font-size:12px;font-weight:400;color:var(--muted)}nav{display:flex;gap:5px;flex-wrap:wrap}nav button{background:transparent;color:var(--muted);font-size:14px;padding:10px 17px}nav button.active{background:#e8edde;color:var(--green)}.admin-link{font-size:12px;color:var(--muted)}main{max-width:1160px;margin:auto;padding:10px 28px 35px}h1{font-size:46px;line-height:1.3;letter-spacing:1px;margin:10px 0 18px}h2{font-size:25px;line-height:1.4;margin:7px 0}h3{font-size:20px;margin:8px 0}.eyebrow{font-size:10px;letter-spacing:3px;color:#829377;margin:0 0 10px}.muted{color:var(--muted)}.small,small{font-size:12px}.hero{display:flex;position:relative;overflow:hidden;background:#244f3f;border-radius:28px;min-height:410px;color:#f9f7e3}.hero-copy{padding:47px 55px;position:relative;z-index:2}.hero h1{font-size:54px;line-height:1.4;letter-spacing:4px}.hero p{color:#c5d2b3}.hero .eyebrow{color:#c7d7b3}.cream{background:#e3e9bf;color:#2d503d;border-radius:40px;margin-top:10px}.hero-art{position:absolute;right:45px;bottom:0;width:340px;height:370px}.sun{position:absolute;border-radius:50%;background:#d69761;width:140px;height:140px;right:40px;top:4px}.tower{position:absolute;bottom:0}.tower.one{width:90px;height:240px;background:#96aa7c;left:0}.tower.two{width:115px;height:300px;border-radius:65px 65px 0 0;background:#e5cf9a;left:100px}.tower.two:after{content:"";position:absolute;width:53px;height:160px;border-radius:40px 40px 0 0;background:#244f3f;bottom:0;left:31px}.tower.three{width:120px;height:170px;background:#6f8e64;right:0}.hero-art span{position:absolute;left:123px;top:110px;color:#4c6948;font-size:32px;font-weight:750;line-height:1.1}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0 45px}.quick-links button{display:flex;align-items:center;gap:18px;text-align:left;background:#eeeee1;color:var(--ink);padding:20px}.quick-links b{font-size:33px;font-weight:500;line-height:1;width:40px;color:var(--green)}.quick-links small{display:block;color:var(--muted);font-weight:400}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:40px 0 22px}.text{background:transparent;color:var(--green);padding:5px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product{background:#fffef9;border:1px solid var(--line);border-radius:20px;overflow:hidden;cursor:pointer}.product img{width:100%;aspect-ratio:1.1;object-fit:cover;display:block}.product-copy{padding:18px}.product h3{font-size:16px}.product .price{margin-top:12px}.tag{display:inline-block;padding:2px 8px;font-size:10px;border-radius:5px;background:#f3e4cf;color:#9e7045}.price{color:var(--coral);font-size:20px;font-weight:750}.price small{font-weight:400;font-size:11px}.club{display:flex;align-items:center;justify-content:space-between;padding:30px 35px;background:#e8ecd9;border-radius:20px;margin-top:35px}.club p{color:#7e8a70}.toolbar{display:flex;gap:12px;margin:30px 0 15px}input,select,textarea{background:#fffef9;border:1px solid #dfe4d3;border-radius:10px;padding:13px;color:var(--ink);width:100%;outline-color:#91ab7c}.toolbar input{flex:1}.toolbar select{width:160px}.notice{padding:15px 20px;background:#eeeddf;color:#817e66;border-radius:12px;font-size:12px;margin:22px 0}.merchant-grid,.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card,.event{border:1px solid var(--line);border-radius:20px;padding:26px;background:#fffef9}.merchant{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:18px;padding:22px;background:#fffef9;cursor:pointer}.merchant-mark{width:65px;height:65px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-size:27px;color:#fff7ea}.lobby{padding:30px;margin-top:28px}.game-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.game-picker button{background:#f2f2e9;border:2px solid transparent;color:var(--ink);display:flex;flex-direction:column;text-align:left;padding:25px}.game-picker button.chosen{border-color:var(--green);background:#e6eedc}.game-picker b{font-size:45px;line-height:1.2;margin-bottom:12px;color:var(--green);font-weight:500}.game-picker button:nth-child(2) b{color:#bf7051}.game-picker strong{font-size:23px}.game-picker small{color:var(--muted);font-weight:400;margin-top:10px}.lobby-form{display:flex;align-items:end;gap:14px;margin:25px 0 12px;flex-wrap:wrap}.lobby-form label{flex:1;min-width:150px;font-size:12px;color:var(--muted)}label input{margin-top:7px}.or{font-size:12px;color:#9aa18f;margin:0 5px 15px}.secondary{background:#e7edde;color:var(--green)}.row,.between{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.room-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 20px;gap:15px}.code{font-size:27px;font-weight:750;letter-spacing:4px}.seats{display:flex;gap:12px}.seat{flex:1;min-width:0;text-align:center;border:2px solid transparent;background:#edeedf;border-radius:16px;padding:16px 8px}.seat.turn{border-color:#c88b4d;background:#f1e5cb}.seat-name{font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seat-avatar{font-size:35px;line-height:1.3;color:var(--green)}.seat small{display:block;color:#83917b}.team{font-size:10px;color:#a07c42}.board{background:var(--green);color:#f6f4dc;border-radius:24px;min-height:270px;padding:26px;margin-top:20px}.turn-label{text-align:center;color:#e6dca7;font-size:17px;margin-bottom:20px}.played{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 15px}.played-card{background:#fffcf0;color:#283c31;border-radius:6px;padding:4px 8px;font-size:17px}.red{color:#b35c45!important}.trick-label{font-size:12px;color:#c7d7b5}.empty{padding:45px 15px;text-align:center;color:#94a189}.board .empty{color:#bdd0ac}.hand{display:flex;flex-wrap:wrap;gap:7px;padding:25px 0 15px}.playing-card{padding:8px 10px;text-align:left;background:#fffdf7;border:2px solid #d7dec9;border-radius:10px;width:57px;height:83px;color:var(--ink);font-size:21px;font-weight:600;line-height:1.25}.playing-card span{display:block;font-size:19px}.playing-card.picked{transform:translateY(-12px);background:#d7e7bd;border-color:var(--green)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.actions button{min-width:100px}.score-strip{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.score-strip span{font-size:12px;border-radius:7px;padding:4px 10px;background:#e7ecda}.result{background:#e2ecd2;border-radius:15px;padding:22px;margin:20px 0}.room-rules{padding:25px;margin:25px 0;background:#eeeee2;border-radius:18px}.room-rules p{color:#7e8975;font-size:12px}.error{background:#f5e3d3;border:1px solid #e8c8ae;padding:16px 20px;border-radius:12px;color:#965739;margin-bottom:20px}#status:empty{display:none}footer{text-align:center;color:#96a08c;font-size:12px;margin-top:65px}footer span{display:block;margin-top:6px;font-size:10px}dialog{border:1px solid var(--line);border-radius:22px;padding:35px;width:min(560px,93vw);background:#fffef9;color:var(--ink);max-height:88vh;overflow:auto}dialog::backdrop{background:#1a322999}.close{position:absolute;right:12px;top:8px;background:transparent;color:#89917e;font-size:27px;padding:3px 10px}dialog label{display:block;margin:18px 0;color:#7b8871;font-size:13px}dialog textarea{margin-top:7px;min-height:120px}.consent{display:flex!important;gap:10px;align-items:start;font-size:12px!important}.consent input{width:auto;margin:5px 0 0}.dialog-art{width:100%;border-radius:15px;margin-top:15px}.full{width:100%}[hidden]{display:none!important}
@media(max-width:800px){header{padding:18px 20px;flex-wrap:wrap}.brand{font-size:24px}nav{order:3;width:100%;justify-content:space-between}nav button{font-size:12px;padding:8px 12px}.admin-link{font-size:10px}main{padding:5px 18px 25px}.hero{min-height:370px}.hero-copy{padding:32px 27px}.hero h1{font-size:39px}.hero-art{right:-72px;opacity:.6;transform:scale(.8);transform-origin:bottom right}.hero-copy>p:not(.eyebrow){font-size:12px}.quick-links{gap:8px;margin-bottom:30px}.quick-links button{padding:15px 8px;gap:8px;flex-direction:column;text-align:center;font-size:13px}.quick-links b{font-size:27px}.quick-links small{font-size:9px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-copy{padding:12px}.product h3{font-size:14px}.price{font-size:16px}.product .muted{font-size:10px}.club{padding:23px;display:block}.club button{margin-top:10px}h1{font-size:35px}h2{font-size:21px}.section-heading{margin-top:30px}.text{font-size:12px}.merchant-grid,.event-grid{grid-template-columns:1fr}.lobby{padding:15px}.game-picker{gap:7px}.game-picker button{padding:15px 8px}.game-picker strong{font-size:16px}.game-picker small{font-size:9px}.game-picker b{font-size:33px}.lobby-form{gap:10px}.lobby-form label{min-width:110px}.lobby-form button{padding:14px;font-size:13px}.or{display:none}.seats{gap:6px}.seat{padding:13px 3px}.seat-name{font-size:12px}.seat small{font-size:9px}.seat-avatar{font-size:28px}.team{font-size:9px}.code{font-size:21px}.room-heading{align-items:start}.room-heading .row{gap:7px}.room-heading button{font-size:11px;padding:10px}.board{padding:20px;min-height:250px}.hand{gap:5px}.playing-card{width:45px;height:68px;font-size:18px;padding:5px 7px}.playing-card span{font-size:17px}.actions{gap:8px}.actions button{font-size:13px;min-width:65px;padding:12px 16px}.turn-label{font-size:14px}}
