:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f7f0df;--ink:#452b25;--red:#a73727;--rule:#bb9d80;--serif:"Songti TC", "Noto Serif TC", "PMingLiU", serif;--mono:"IBM Plex Mono", "Courier New", monospace;color:var(--ink);font-family:DM Sans,PingFang HK,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}body{margin:0}#root{background:radial-gradient(ellipse at 60% 54%, #fff9e9, transparent 65%), var(--paper);flex-direction:column;min-height:100svh;display:flex}.awning{background:repeating-linear-gradient(90deg,#a54632 0 16px,#ecd2aa 16px 30px);border-bottom:1px solid #9a624a;height:8px}.masthead{border-bottom:1px solid var(--rule);justify-content:space-between;align-items:center;width:min(1200px,100% - 72px);min-height:70px;margin:0 auto;display:flex}.brand{font:700 19px/1.3 var(--serif);letter-spacing:.12em;align-items:center;gap:12px;display:flex}.brand-mark{color:var(--red);font-family:Georgia,serif;font-size:32px;line-height:1}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}#sound{background:0 0;border:0;align-items:center;gap:8px;height:44px;padding:0 5px;font-size:13px;display:inline-flex}.bars{justify-content:center;align-items:center;gap:2px;width:16px;height:16px;display:inline-flex}.bars i{background:var(--red);width:2px;height:7px}.bars i:nth-child(2){height:14px}.bars i:nth-child(3){height:10px}#sound[aria-pressed=false] i{height:2px}main{flex:1;grid-template-columns:.88fr 1.12fr;align-content:center;align-items:center;gap:clamp(28px,5vw,80px);width:min(1000px,100% - 80px);margin:0 auto;padding:34px 0;display:grid}.menu,.play{min-width:0}.eyebrow{font:bold 11px/1.5 var(--mono);letter-spacing:.13em;color:#855742;align-items:center;gap:10px;margin:0;display:flex}.eyebrow:before{content:"";border-top:2px solid var(--red);width:30px}h1{font:900 clamp(58px, 6.7vw, 86px)/1.2 var(--serif);letter-spacing:-.06em;margin:13px 0 0}.invite{font:700 clamp(21px, 2.2vw, 28px)/1.5 var(--serif);color:var(--red);letter-spacing:.06em;margin:12px 0 0}.directions{margin:27px 0;font-size:15px;line-height:1.85}.tally{border-block:1px dashed var(--rule);color:#735444;width:fit-content;font:13px/1.4 var(--serif);align-items:baseline;gap:14px;padding:8px 2px;display:flex}.numbers{font:15px var(--mono);align-items:baseline;gap:8px;display:flex}.numbers b{font:bold 27px var(--mono);color:var(--red)}.slash{color:var(--rule)}.play{justify-self:center;width:100%;max-width:min(535px,74svh);position:relative}.frame{background-color:#f0dfc1;background-image:radial-gradient(at 40% 27%,#fff1d699,#0000 74%),repeating-linear-gradient(0deg,#7e573009 0 1px,#0000 1px 21px),repeating-linear-gradient(90deg,#7e573009 0 1px,#0000 1px 21px);border:1px solid #b88668;border-radius:10px;position:relative;overflow:hidden}canvas{aspect-ratio:440/416;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:100%;height:auto;display:block}canvas:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--red);outline-offset:2px}canvas:focus-visible{outline-offset:-4px;border-radius:9px}.corner{color:#b49171;pointer-events:none;width:8px;height:8px;position:absolute}.tl,.bl{border-left:1px solid;left:10px}.tr,.br{border-right:1px solid;right:10px}.tl,.tr{border-top:1px solid;top:10px}.bl,.br{border-bottom:1px solid;bottom:10px}.caption{color:#6c4d3e;justify-content:center;align-items:center;gap:8px;min-height:44px;font-size:13px;display:flex}.dot{background:#a84b30;border-radius:50%;width:6px;height:6px}#again{color:var(--red);text-underline-offset:3px;background:0 0;border:0;min-height:44px;text-decoration:underline}#keys{text-align:center;width:100%;margin:0;font-size:12px;position:absolute;top:100%}.play:not(:has(canvas:focus-visible)) #keys{clip-path:inset(50%);width:1px;height:1px;overflow:hidden}footer{border-top:1px solid var(--rule);text-align:center;width:min(1200px,100% - 72px);margin:0 auto}footer a{color:#795544;min-height:48px;font:bold 12px var(--mono);text-underline-offset:3px;-webkit-text-decoration-color:var(--rule);text-decoration-color:var(--rule);align-items:center;gap:6px;display:inline-flex}@media (width<=720px){.masthead,footer{width:calc(100% - 32px)}.masthead{min-height:48px}.brand{gap:7px;font-size:16px}.brand-mark{font-size:25px}main{flex-direction:column;justify-content:center;align-items:center;gap:0;width:calc(100% - 32px);max-width:440px;padding:15px 0;display:flex}.menu{display:contents}.eyebrow{order:0;font-size:9px}.eyebrow:before{width:16px}h1{order:1;margin-top:4px;font-size:clamp(40px,11vw,60px)}.invite{order:2;margin:2px 0 12px;font-size:18px}.play{order:3;width:min(100%,51svh)}.directions{text-align:center;order:4;margin:0;font-size:13px}.directions br{display:none}.tally{order:5;margin-top:9px;padding:3px 1px}.numbers b{font-size:20px}.caption{min-height:32px}.play:has(canvas:focus-visible){margin-bottom:3em}footer a{min-height:44px}}
