*{box-sizing:border-box}body{background:#172b36;color:#fff;font:18px system-ui;text-align:center;margin:0;padding:24px}h1{color:#ffe2a0;margin-bottom:0}p{color:#c7d8dc}#choir{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:900px;margin:24px auto}button{touch-action:none;user-select:none;background:#284653;color:white;border:2px solid #52717b;border-radius:18px;padding:12px 4px;font:inherit;cursor:pointer}button.active{background:#456b60;border-color:#ffe2a0;box-shadow:0 0 18px #e9cc7470}svg{width:100%;max-width:150px;display:block;margin:auto}.open{display:none}.active .open{display:block}.active .closed{display:none}small{display:block;color:#c8d9dc}select{font:inherit;padding:8px;border-radius:8px} @media(max-width:500px){body{padding:12px}#choir{gap:6px}button{font-size:14px;padding:6px 0}}#choir{grid-template-columns:repeat(8,minmax(0,1fr));max-width:850px;gap:7px}#choir button{padding:5px}#choir svg{max-width:90px}#piano{position:relative;display:flex;width:100%;max-width:850px;height:190px;margin:20px auto;touch-action:none;user-select:none;background:#111;border:5px solid #111;border-radius:8px}#piano button{position:relative;flex:1;border:1px solid #777;border-radius:0 0 6px 6px;background:linear-gradient(#eee,#fff);color:#222;display:flex;flex-direction:column;justify-content:end;align-items:center;padding:8px 0;box-shadow:inset 0 -5px #ddd}#piano button.black{position:absolute;top:0;width:7.5%;height:62%;z-index:2;background:linear-gradient(#333,#080808);color:white;box-shadow:inset 0 -5px #333}#piano button.active{background:#e5b94e;box-shadow:inset 0 -3px #b38b30}#piano small{color:inherit;opacity:.7}@media(max-width:500px){#choir{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}#choir button{font-size:11px}#piano{height:150px}#piano button{font-size:12px}}#choir{gap:0;margin-bottom:8px;padding:0 5px}#choir button{min-width:0;border-radius:10px;margin:0 2px}#piano{margin-top:0}#piano button{min-width:0;flex:1 1 0}#choir svg{max-width:110px}
body{padding:clamp(8px,2vw,24px);background:radial-gradient(ellipse at top,#244e3b,#091e17 75%);color:#f8e8bd;font-family:Georgia,serif;min-height:100dvh;display:grid;place-items:center}main{width:min(1100px,100%);padding:clamp(10px,2vw,26px);border:3px solid #b98a45;border-radius:22px;background:repeating-linear-gradient(4deg,#482016 0px,#57291b 3px,#492216 8px,#60301e 14px);box-shadow:0 12px 35px #0009,inset 0 0 0 5px #30150e,inset 0 0 0 7px #9b6a36}header{padding:8px 0 12px;background:radial-gradient(ellipse,#7e252b,#421016);border:1px solid #c59a53;border-radius:12px 12px 3px 3px;box-shadow:inset 0 0 20px #21080b}.eyebrow{font:600 clamp(8px,1.2vw,12px) system-ui;letter-spacing:.2em;color:#e9c47d}h1{font-size:clamp(21px,4.2vw,48px);margin:5px 0;color:#ffe4a2;text-shadow:0 2px #36140e}.subtitle{font-size:clamp(10px,1.5vw,16px);font-style:italic}.garland{height:25px;display:flex;align-items:center;justify-content:space-around;background:repeating-linear-gradient(135deg,#123e29 0 8px,#205638 8px 14px,#103c27 14px 21px);border-radius:0 0 45% 45%;border-bottom:2px solid #ad8849;position:relative;z-index:1}.garland i{width:7px;height:7px;border-radius:50%;background:#ffe6a2;box-shadow:0 0 9px 3px #ffca65}.garland i:nth-child(3n){background:#e85b52;box-shadow:0 0 8px #ff5959}.stage{position:relative;background:radial-gradient(ellipse at 50% 20%,#365d48,#102d23 80%);border:2px solid #b58b4b;border-top:0;padding:8px 0 0;box-shadow:inset 0 0 30px #0008}.settings{text-align:right;padding:0 12px;font:12px system-ui;color:#e9d4a8}.settings select{font-size:12px;padding:3px 8px;background:#17382b;color:#ffe4a2;border:1px solid #ad8849}#choir{max-width:none;margin:5px 0 0;padding:0 5px;gap:0}#choir button{border:1px solid #ad8849;border-radius:50% 50% 5px 5px / 20% 20% 5px 5px;background:radial-gradient(ellipse at top,#6b3835,#35171b);margin:0 2px;padding:8px 2px 5px;color:#ffe5b2;box-shadow:inset 0 0 10px #0007}#choir button.active{background:radial-gradient(ellipse at top,#6b3835,#35171b);box-shadow:inset 0 0 10px #0007;border-color:#ad8849}#choir svg{max-width:140px}#choir small{display:none}#choir b{font:600 clamp(10px,1.6vw,16px) Georgia}#piano{max-width:none;margin:0;height:clamp(85px,23vh,200px);border:5px solid #341a11;border-top:9px solid #8c2828;border-radius:0 0 12px 12px}#piano button{background:linear-gradient(#d5c8a8,#fff9e8 30%,#f7eed7 90%);border-color:#8b795d;box-shadow:inset 0 -6px #c8b998;color:#4b3425;font-family:Georgia}#piano button.active{background:linear-gradient(#c39b51,#ffe2a0);box-shadow:inset 0 -2px #9b6d30}footer{font:clamp(9px,1.3vw,13px) system-ui;color:#e6c99b;padding:10px 4px 0}footer span{float:right}@media(max-height:480px) and (orientation:landscape){body{padding:4px}main{padding:8px}header{padding:3px}h1{font-size:25px}.garland{height:15px}#choir svg{max-width:76px}#piano{height:90px}footer{padding:4px}}

.song-controls{display:inline-flex;align-items:center;gap:5px;margin-left:10px;flex-wrap:wrap}.song-controls button{background:#17382b;color:#ffe4a2;border:1px solid #ad8849;border-radius:4px;padding:4px 9px;font:600 11px system-ui;cursor:pointer}.song-controls button:disabled{opacity:.45}.settings{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}

/* iPad long-press protection */
html,body,main,main *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;}
#piano,#piano *,#choir,#choir *{touch-action:none;-webkit-user-drag:none;}
