@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{color:#163e39;font-synthesis:none;--green:#163e39;--muted:#73817a;--line:#dedfd4;--orange:#db683d;background:#f7f5ee;font-family:DM Sans,sans-serif;font-weight:400}*{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,input:focus-visible,summary:focus-visible{outline-offset:4px;outline:3px solid #db683d}header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;max-width:1280px;margin:auto;padding:30px 48px;display:flex}header a{color:var(--green);letter-spacing:-2px;font-size:34px;font-weight:800;text-decoration:none}.brand-icon{vertical-align:middle;margin-right:9px;font-size:35px}.brand-dot{color:var(--orange)}.edition,.connection,.eyebrow{letter-spacing:2px;font-size:10px;font-weight:700}.connection{letter-spacing:1px;align-items:center;gap:8px;display:flex}.connection i{background:#62906d;border-radius:50%;width:6px;height:6px}main{max-width:1184px;margin:auto;padding:62px 28px 38px}.hero{grid-template-columns:1.25fr 1fr;align-items:center;gap:80px;display:grid}.eyebrow{color:#708478;margin:0 0 24px}h1,h2{letter-spacing:-2.5px;margin:0;font-family:Manrope,sans-serif;font-weight:700}h1{font-size:clamp(40px,4.7vw,64px);line-height:1.13}h1 em{color:var(--orange);font-style:normal}.intro{color:#69796f;margin:25px 0;font-size:16px;line-height:1.8}.card{border:1px solid var(--line);background:#fffefa;border-radius:22px;box-shadow:0 10px 35px #233a2810}.lobby{padding:36px}.lobby h2{letter-spacing:-1.4px;margin-bottom:27px;font-size:32px;line-height:1.2}.lobby .eyebrow{margin-bottom:16px;font-size:9px}label{margin:16px 0 9px;font-size:12px;font-weight:600;display:block}input{width:100%;color:var(--green);background:#fffefa;border:1px solid #dadfd5;border-radius:9px;padding:14px 15px;font-size:15px}.primary,.secondary{border:0;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:17px 20px;font-size:14px;font-weight:600;display:flex}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#24564c}.secondary{color:var(--green);background:#eceee4;border:1px solid #dde2d4}.lobby>.primary{margin-top:20px}.hint{text-align:center;color:var(--muted);margin-top:11px;font-size:11px}.divider{border-top:1px solid var(--line);text-align:center;height:0;margin:29px 0 25px}.divider span{letter-spacing:1px;color:var(--muted);background:#fffefa;padding:0 12px;font-size:9px;position:relative;top:-9px}.home-dice{gap:15px;margin:36px 0 24px;display:flex}.die{width:68px;height:68px;color:var(--green);background:#fffefa;border:1px solid #dbded3;border-radius:13px;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:4px;padding:12px;display:grid;position:relative;box-shadow:0 5px #d8dccf}.die i{border-radius:50%}.die .pip{background:currentColor}.home-dice .die:first-child{transform:rotate(-12deg)}.home-dice .die:nth-child(2){background:#e4ebd7;transform:translateY(-7px)rotate(6deg)}.home-dice .die:last-child{transform:rotate(15deg)}.small-note{color:var(--muted);letter-spacing:1px;font-size:10px}.how{border-top:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:25px;margin-top:66px;padding-top:28px;display:grid}.how>div{align-items:center;gap:18px;display:flex}.how b{color:#8c9a86;border:1px solid #dce0d1;border-radius:50%;flex-shrink:0;place-items:center;width:35px;height:35px;font-size:12px;display:grid}.how span{font-size:13px;font-weight:600}.how small{color:var(--muted);margin-top:6px;font-size:11px;font-weight:400;display:block}footer{color:#8d998e;letter-spacing:1px;justify-content:space-between;max-width:1184px;margin:auto;padding:30px 28px;font-size:9px;display:flex}.message{text-align:center;color:#a3482e;min-height:24px;padding:0 20px;font-size:14px}.friend-panel{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.join{gap:8px;display:flex}.join button{background:var(--green);color:#fff;border:0;border-radius:9px;padding:0 20px}#code{text-transform:uppercase;letter-spacing:3px}.local-note,.setup{color:#7a7766;font-size:12px;line-height:1.6}.waiting{text-align:center;max-width:650px;margin:auto;padding:42px}.waiting h1{font-size:40px}.waiting p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.7}.waiting-die{justify-content:center;margin:30px;display:flex}.room-code{color:var(--green);letter-spacing:9px;background:#eaf0df;border:0;border-radius:14px;margin:30px auto;padding:24px 35px;font-size:38px;display:block}.room-code small{letter-spacing:1px;margin-top:15px;font-size:9px;display:block}.text-button{color:#7d8176;background:0 0;border:0;padding:15px;font-size:12px;text-decoration:underline}.pulse{color:var(--orange);letter-spacing:10px;padding:30px}.game-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px;display:flex}.game-heading h1{letter-spacing:-1.5px;font-size:36px}.game-heading .eyebrow{margin-bottom:12px}.game-heading p:not(.eyebrow){color:var(--muted);font-size:13px}.game-heading .secondary{width:auto}.game-grid{grid-template-columns:1fr 1fr;align-items:start;gap:28px;display:grid}.table{background:#eaf0df;padding:30px}.table-top{letter-spacing:1px;justify-content:space-between;font-size:10px;font-weight:700;display:flex}.dice-row{justify-content:center;gap:13px;margin:48px 0 42px;display:flex}.dice-row .die{flex-shrink:0;width:60px;height:60px;padding:10px}.dice-row .die:disabled{opacity:1}.die.held{background:var(--green);color:#fffefa;box-shadow:0 5px #092d27}.die span{color:var(--green);letter-spacing:1px;font-size:8px;position:absolute;top:74px;left:0;right:0}.dice-help{text-align:center;color:#6f8068;min-height:30px;font-size:11px;line-height:1.5}.roll{justify-content:center;font-size:15px}.score-summary{grid-template-columns:1fr 1fr;gap:12px;margin-top:30px;display:grid}.score-summary>div{background:#fff6;border-radius:12px;min-width:0;padding:18px}.score-summary .active{outline:1px solid #8ca37a}.score-summary span{overflow-wrap:anywhere;font-size:12px;display:block}.score-summary strong{font-size:36px;line-height:1.5;display:block}.score-summary small{color:var(--muted);font-size:10px;font-weight:400}details{color:#718168;margin-top:26px;font-size:12px;line-height:1.8}summary{cursor:pointer}.scorecard{padding:24px}.score-title{justify-content:space-between;align-items:center;margin:0 0 20px;display:flex}.score-title h2{letter-spacing:-1px;font-size:23px}.score-title span{letter-spacing:1px;color:var(--muted);font-size:8px}table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:12px}th{text-align:left;font-weight:500}th:first-child{width:48%}td{text-align:center;height:37px}thead th{text-align:center;color:#76836c;overflow-wrap:anywhere;padding-bottom:12px;font-size:10px}thead th:first-child{text-align:left}thead small{margin-top:4px;font-size:8px;display:block}tbody tr{border-top:1px solid #ebede4}td button{color:var(--green);background:#f0f5e7;border:1px dashed #bac8a9;border-radius:5px;min-width:52px;min-height:30px;padding:3px 8px}td button:hover{background:#dce9c8}td button span{margin-left:4px;font-size:10px}.empty{color:#c6cbbb}.bonus{color:#75836d;background:#f3f5ed;font-size:11px}.bonus small{margin-left:6px;font-size:9px}tfoot{border-top:2px solid #d8dfcc;font-size:17px;font-weight:700}tfoot td{height:50px}tfoot th{font-weight:700}@media (width<=900px){.hero{gap:35px}.edition{display:none}.dice-row{gap:8px}.dice-row .die{gap:3px;width:48px;height:48px;padding:8px}.table{padding:22px}.game-grid{gap:18px}.die span{top:60px}}@media (width<=650px){header{padding:20px 22px}header a{font-size:30px}.connection{max-width:160px;font-size:8px;line-height:1.5}main{padding:35px 20px 20px}.hero{grid-template-columns:1fr;gap:25px}.hero h1{font-size:43px}.eyebrow{margin-bottom:18px;font-size:8px}.intro{margin:20px 0;font-size:14px}.hero-copy{position:relative}.home-dice{gap:7px;margin:0;position:absolute;bottom:0;right:4px}.home-dice .die{border-radius:7px;gap:2px;width:34px;height:34px;padding:6px}.small-note{max-width:170px;font-size:8px;line-height:1.6}.lobby{padding:26px}.lobby h2{font-size:28px}.how{grid-template-columns:1fr;gap:22px;margin-top:34px}footer{gap:12px;padding:25px 20px;font-size:7px}.game-grid{grid-template-columns:1fr}.game-heading{align-items:flex-start}.game-heading h1{font-size:29px}.game-heading p:not(.eyebrow){line-height:1.6}.game-heading .text-button{white-space:nowrap;margin-top:30px;padding:0}.game-heading .secondary{max-width:120px;padding:12px;font-size:11px}.dice-row{gap:10px;margin:35px 0}.dice-row .die{width:49px;height:49px}.scorecard{padding:20px}td{height:40px}.waiting{padding:28px 20px}.waiting h1{font-size:33px}.room-code{letter-spacing:6px;font-size:30px}}body:has(main>.splash){background:linear-gradient(#0819162e,#08191657),url(/yatzy-background.webp) 50%/cover no-repeat;min-height:100dvh}:is(body:has(main>.splash) header,body:has(main>.splash) footer){color:#fff;text-shadow:0 1px 8px #0008;border-color:#fff5}body:has(main>.splash) header a{color:#fff;text-shadow:0 2px 16px #000b}body:has(main>.splash) .hero-copy h1{color:#fff;text-shadow:0 2px 16px #000b}:is(body:has(main>.splash) .hero-copy .eyebrow,body:has(main>.splash) .hero-copy .intro,body:has(main>.splash) .hero-copy .small-note){color:#fff;text-shadow:0 2px 10px #000c}body:has(main>.splash) main{max-width:1184px;min-height:calc(100dvh - 150px);padding-top:48px;padding-bottom:28px;display:flex}.splash{flex-direction:column;justify-content:space-between;align-items:flex-start;gap:32px;width:100%;display:flex}.splash .hero-copy{max-width:620px}.start-button{width:min(520px,100%);color:var(--green);background:#fffefa;border:0;border-radius:18px;justify-content:center;align-self:center;gap:18px;padding:20px 26px;font-size:20px;font-weight:700;display:flex;box-shadow:0 10px 35px #0004}.start-button span{font-size:25px;line-height:1}.lobby-screen{place-items:center;min-height:calc(100dvh - 210px);display:grid}.lobby-screen .lobby{width:min(560px,100%)}@media (width<=650px){body:has(main>.splash) main{min-height:calc(100dvh - 126px);padding:34px 20px 18px}.splash .hero-copy h1{font-size:43px}.splash .intro{font-size:14px}.start-button{border-radius:16px;padding:18px 22px;font-size:18px}body:has(main>.splash) footer{display:none}}body:has(main>.splash) header{display:none}body:has(main>.splash) footer{display:none}body:has(main>.splash) .message{display:none}body:has(main>.splash) main{min-height:100dvh;padding-top:max(44px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}body:has(main>.splash-art){background:url(/yatzy-background.avif) 50%/cover no-repeat}body:has(main>.splash-art) main{width:100%;max-width:none;min-height:100dvh;padding:0}.splash-art{width:100%;min-height:100dvh;display:block;position:relative}.start-hotspot{left:11%;right:11%;bottom:max(4%,env(safe-area-inset-bottom));cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:28px;height:10%;min-height:64px;position:absolute}
