:root{color-scheme:light;--paper:#f7f5ee;--ink:#173d34;--muted:#6f786e;--line:#d9ded2;--lime:#deebaa;--green:#164b3e;--white:#fffdf6;--red:#a13e37;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b29a45;outline-offset:4px}input:focus{outline:2px solid var(--green);outline-offset:2px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.topbar{max-width:1320px;margin:auto;min-height:100px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{font-size:34px;font-weight:800;letter-spacing:-2px;display:flex;align-items:center;gap:8px}.brand-dot{color:#8a9d52}.brand-icon{font-size:35px;display:inline-block;transform:rotate(-16deg);margin-right:6px;letter-spacing:0}.top-note{font-size:13px;color:var(--muted)}.text-button{background:none;border:0;padding:10px 0;color:var(--ink);font-weight:600;font-size:13px}.text-button span{margin-left:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;display:block}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#748d45;margin-right:7px}.welcome{max-width:1170px;margin:0 auto;display:grid;grid-template-columns:1.2fr 1fr;gap:90px;align-items:center;padding:78px 36px 70px;min-height:calc(100vh - 177px)}.intro{position:relative}.intro h1{font:normal clamp(50px,5.7vw,80px)/1.02 Georgia,'Times New Roman',serif;letter-spacing:-3px;margin:30px 0 24px}.intro em{font-weight:normal;color:#66805b}.intro p{font-size:15px;line-height:1.85;color:var(--muted)}.features{display:flex;flex-wrap:wrap;gap:15px;margin:28px 0;font-size:11px;font-weight:600}.features span+span:before{content:'·';padding-right:15px;color:#93a18c}.hero-dominos{display:flex;align-items:center;padding:18px 0 0 35px;gap:12px;height:128px}.hero-dominos .tile{transform:rotate(-17deg);width:54px;height:106px;box-shadow:5px 8px 0 #e0dfd4}.hero-dominos .tile:nth-child(2){transform:rotate(12deg) translateY(7px)}.hero-dominos .tile:nth-child(3){transform:rotate(27deg) translateY(-3px)}.entry-card{background:var(--white);border:1px solid #d9ddcf;border-radius:18px;padding:36px;box-shadow:0 12px 45px #173d3406;position:relative}.entry-card:before{content:'';height:5px;width:54px;border-radius:0 0 4px 4px;background:#bdcd95;position:absolute;top:0;left:36px}.card-kicker{font-size:10px;letter-spacing:2px;color:#79856c;font-weight:bold;margin:4px 0 16px}h2{font:normal 30px/1.15 Georgia,serif;letter-spacing:-.7px;margin:0 0 12px}.muted{color:var(--muted);font-size:13px;line-height:1.8}.entry-card .muted{margin:0 0 26px;max-width:290px}label{font-size:12px;font-weight:bold;display:block;margin-bottom:10px}input{border:1px solid #d7ddcf;background:var(--paper);padding:15px;border-radius:7px;width:100%;color:var(--ink);min-width:0}input::placeholder{color:#919787;font-size:12px}.primary,.secondary,.light-button{min-height:47px;padding:13px 19px;border-radius:7px;border:1px solid transparent;font-size:12px;font-weight:700;transition:background .16s,transform .16s}.primary{background:var(--ink);color:var(--white)}.primary:hover:not(:disabled){background:#2e5c49}.full{width:100%;margin-top:16px;display:flex;align-items:center;justify-content:space-between}.secondary{color:var(--ink);background:transparent;border-color:#cbd3c1}.secondary:hover:not(:disabled){background:#e9eddf}.divider{position:relative;text-align:center;font-size:11px;color:#949b8d;margin:27px 0}.divider:before{content:'';position:absolute;top:50%;left:0;right:0;border-top:1px solid #e4e7dc}.divider span{position:relative;background:var(--white);padding:0 12px}.join-row{display:flex;gap:10px}.join-row input{font-weight:bold;letter-spacing:3px;text-transform:uppercase}.entry-note{color:#8b9383;font-size:10px;text-align:center;margin:24px 0 0;line-height:1.6}footer{max-width:1224px;margin:auto;padding:23px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#88917f;font-size:11px;gap:15px}footer>span:first-child{font-weight:800;color:var(--ink);font-size:18px;letter-spacing:-1px}.table-page{max-width:1170px;margin:auto;padding:40px 36px 26px}.table-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.table-heading h1{font:normal 38px Georgia,serif;letter-spacing:-1.5px;margin:10px 0 18px}.table-heading h1 span{color:#8a9d52}.room-actions{display:flex;gap:22px;align-items:center}.table-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;color:var(--muted);padding:0 0 18px}.table-meta strong{font-size:13px;letter-spacing:3px;color:var(--ink);margin:0 10px}.small{font-size:10px;font-weight:normal;letter-spacing:0}.players{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-bottom:16px}.player{border:1px solid var(--line);border-radius:9px;padding:13px;display:flex;gap:11px;align-items:center;min-width:0;transition:border-color .2s,background .2s}.player.active{border-color:#748a4d;background:#edf1df}.avatar{width:34px;height:34px;border-radius:50%;background:#e2e7d8;display:grid;place-items:center;font-size:12px;font-weight:700;flex-shrink:0}.player.active .avatar{background:var(--green);color:white}.player-text{min-width:0}.player-name{font-size:12px;font-weight:bold;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.player-info{font-size:10px;color:var(--muted);margin-top:6px;line-height:1.5}.felt{background:radial-gradient(ellipse at 50% 40%,#21584a,#123e36);border:5px solid #c3b99b;box-shadow:inset 0 0 0 1px #ffffff20,0 3px 0 #aaa082;border-radius:20px;min-height:330px;padding:22px 26px 27px;color:#fff8e9;position:relative;overflow:hidden}.felt-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.7px;color:#d1d8b9}.game-message{text-align:center;position:relative;z-index:1;margin:32px auto 18px;max-width:650px}.game-message .eyebrow{color:#d5e4ad;margin-bottom:12px;font-size:9px}.game-message h2{font-size:31px;letter-spacing:-.7px}.game-message p{font-size:12px;line-height:1.65;color:#d1decf;margin-bottom:16px}.light-button{background:var(--lime);color:var(--ink)}.light-button:hover:not(:disabled){background:#eff8d2}#start-area{text-align:center;position:relative;z-index:1}.felt-signature{text-align:center;font-size:9px;letter-spacing:5px;color:#afc49d50;margin-top:30px}.chain-area{position:relative;z-index:1}.chain-caption{font-size:9px;text-align:center;color:#b9cbbb;margin-bottom:16px}.chain{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;max-width:910px;margin:auto}.tile{display:inline-flex;flex-direction:column;width:43px;height:82px;flex-shrink:0;background:linear-gradient(130deg,#fffef6,#eee9d7);border:1px solid #d0ccb9;border-radius:6px;color:#1d4238;box-shadow:0 3px 0 #c4bfac;position:relative;padding:3px;vertical-align:middle}.half{flex:1;position:relative;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:4px}.half+.half{border-top:1px solid #c2c3ae}.pip{width:6px;height:6px;border-radius:50%;background:currentColor;align-self:center;justify-self:center}.tile.horizontal{flex-direction:row;width:72px;height:37px;padding:2px;border-radius:4px}.horizontal .half{padding:3px}.horizontal .half+.half{border-top:0;border-left:1px solid #c2c3ae}.horizontal .pip{width:5px;height:5px}.chain .tile:first-child:before,.chain .tile:last-child:after{content:'DÉBUT';position:absolute;font:7px Arial,sans-serif;letter-spacing:1px;top:-11px;left:0;color:#cdddac}.chain .tile:last-child:after{content:'FIN';left:auto;right:0}.chain .tile:first-child:last-child:before{display:none}.chain .tile{margin:7px 0}.ends{display:flex;justify-content:space-between;gap:14px;margin-top:20px}.end-button{background:#ffffff0d;border:1px dashed #c3d5ad70;color:#e4edce;padding:12px;border-radius:8px;font-size:11px}.end-button strong{font-size:15px;margin:0 5px}.end-button:not(:disabled):hover{background:#ffffff20}.end-button.ready{border-style:solid;border-color:var(--lime);color:var(--ink);background:var(--lime)}.hand-section{padding:26px 0 8px}.hand-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.hand-header h2{font:600 15px Arial,sans-serif;letter-spacing:0;margin:0}.hand-header h2 span{font-size:10px;margin-left:8px;color:var(--muted);font-weight:normal}.hand-header p{font-size:11px;color:var(--muted);line-height:1.7;margin:8px 0}.hand{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;padding:15px 0 10px;min-height:112px}.tile-button{background:none;border:0;padding:3px 3px 8px;border-radius:8px;transition:transform .15s}.tile-button .tile{width:47px;height:90px}.tile-button.playable{box-shadow:0 0 0 1px #a7b98c}.tile-button.selected{transform:translateY(-9px);box-shadow:0 0 0 3px #55753d}.tile-button:not(:disabled):hover{transform:translateY(-6px)}.tile-button:disabled{opacity:.5}.table-bottom{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:10px;line-height:1.7}.table-bottom p{margin:0}.table-bottom summary{cursor:pointer;font-weight:700}.table-bottom ol{padding-left:18px;max-width:500px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:15px 24px;border-radius:9px;background:#173d34;color:white;box-shadow:0 6px 30px #0002;z-index:5;font-size:13px;line-height:1.6;max-width:calc(100% - 32px);width:max-content;text-align:center}.toast.error{background:#8e3f35}dialog{border:1px solid var(--line);border-radius:16px;max-width:570px;width:calc(100% - 32px);padding:30px;background:var(--white);color:var(--ink);box-shadow:0 15px 100px #0003}dialog::backdrop{background:#102c24a6}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dialog-heading .eyebrow{font-size:8px}.rules-list{padding-left:20px;font-size:13px;line-height:1.9}.rules-list li{padding:6px 0 9px 8px}.rules-list strong{display:block}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}#leave-dialog p{font-size:13px;line-height:1.8;color:var(--muted)}
@media(min-width:1400px){.welcome{padding-top:70px;padding-bottom:80px}}@media(max-width:1000px){.welcome{gap:45px;padding:55px 34px}.intro h1{font-size:62px}.entry-card{padding:28px}.topbar{padding:0 32px}footer{margin:0 32px}.room-actions{gap:12px}.table-heading h1{font-size:31px}}@media(max-width:700px){.topbar{min-height:76px;padding:0 22px}.brand{font-size:29px}.top-note{display:none}.welcome{grid-template-columns:1fr;gap:28px;padding:35px 23px 40px}.intro h1{font-size:53px;letter-spacing:-2px;margin-top:20px;margin-bottom:18px}.intro p{font-size:13px}.intro .eyebrow{font-size:8px;letter-spacing:1.6px}.features{font-size:10px;gap:10px;margin:20px 0}.features span+span:before{padding-right:10px}.hero-dominos{position:absolute;right:8px;bottom:50px;transform:scale(.64);transform-origin:right bottom;padding:0;gap:6px;opacity:.9}.entry-card{padding:27px 24px;border-radius:13px}.entry-card h2{font-size:28px}.entry-card .muted{font-size:12px;max-width:none}.table-page{padding:27px 15px 22px}.table-heading{align-items:flex-start;flex-direction:column;gap:0}.table-heading h1{font-size:32px;margin-bottom:16px}.room-actions{justify-content:space-between;width:100%;margin-bottom:16px}.room-actions .secondary{font-size:10px;padding:11px;min-height:40px}.room-actions .text-button{font-size:11px}.table-meta{font-size:8px;letter-spacing:0;gap:8px}.table-meta strong{font-size:11px;letter-spacing:2px;margin:0 4px}.small{font-size:8px}.players{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.player{padding:10px 8px;gap:8px}.avatar{width:28px;height:28px;font-size:10px}.player-name{font-size:11px;max-width:105px}.player-info{font-size:9px}.felt{padding:17px 12px 20px;border-width:3px;min-height:310px;border-radius:15px}.felt-top{font-size:8px;letter-spacing:.8px}.game-message{margin:29px 0 20px}.game-message h2{font-size:26px}.game-message p{font-size:11px}.ends{gap:8px}.end-button{padding:11px 8px;font-size:10px}.end-button strong{margin:0 2px}.chain{gap:4px}.tile.horizontal{width:58px;height:31px}.horizontal .pip{width:4px;height:4px}.chain-caption{font-size:8px}.hand-header h2{font-size:13px}.hand-header p{font-size:10px}.hand-header .secondary{font-size:10px;min-width:90px}.hand{gap:6px}.tile-button .tile{width:39px;height:76px}.tile-button .pip{width:5px;height:5px}.table-bottom{flex-direction:column;gap:10px}footer{margin:0 23px;font-size:9px;padding:18px 0}footer>span:last-child{display:none}dialog{padding:24px}.rules-list{font-size:12px}.toast{bottom:15px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
