*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;font-family:system-ui,sans-serif;color:#16394b;background:#a1d9ef}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:4px solid #3b2e91;outline-offset:4px}button:disabled{opacity:.65;cursor:wait}[hidden]{display:none!important}#dash{height:100%;height:100dvh;width:100%;position:relative;overflow:hidden;isolation:isolate}canvas{display:block;width:100%;height:100%;touch-action:none}header{position:absolute;top:max(10px,env(safe-area-inset-top));left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}header a,header button{pointer-events:auto;border:2px solid #fff8;background:#ffffffde;color:#173d50;border-radius:17px;width:48px;height:48px;display:grid;place-items:center;text-decoration:none;font-size:30px;font-weight:900}#course-name{font-weight:900;font-size:clamp(14px,3.8vw,21px);padding:9px 14px;border-radius:30px;background:#ffffffd9}.run-score{position:absolute;top:75px;left:18px;right:18px;display:flex;justify-content:space-between;font-size:22px;font-weight:900;color:#203b53;text-shadow:0 1px white}.progress{position:absolute;top:111px;left:18px;right:18px;height:7px;border-radius:9px;background:#ffffff85;overflow:hidden}.progress i{display:block;height:100%;width:0;background:#f6c939;border-radius:9px}#jump{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));right:18px;width:160px;height:126px;border:5px solid white;border-radius:36px;background:linear-gradient(#ffdf5f,#ffac39);color:#4e360b;box-shadow:0 7px 0 #8c602c66;font-size:29px;font-weight:1000;line-height:1;user-select:none;touch-action:none}#jump span{display:block;font-size:46px;line-height:1.1}#jump:active{transform:translateY(4px);box-shadow:0 3px 0 #8c602c66}#cue{position:absolute;top:135px;left:15px;right:15px;text-align:center;font-size:clamp(18px,5vw,27px);font-weight:900;color:#214657;pointer-events:none;text-shadow:0 2px 0 #fff;min-height:40px}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#b8e6f56b;backdrop-filter:blur(6px);padding:18px;overflow:auto}.card{width:min(440px,100%);max-height:100%;overflow:auto;text-align:center;background:#fffcf2f2;border:3px solid white;border-radius:30px;padding:28px 24px;box-shadow:0 18px 70px #23456326}.eyebrow{font-size:11px;font-weight:900;letter-spacing:2px;color:#526f7f}h1{font-size:clamp(38px,10vw,58px);line-height:1.03;margin:18px 0}h1 em{font-style:normal;color:#277e94}h2{font-size:30px;line-height:1.1;margin:12px 0 20px}p{font-size:17px;line-height:1.45}.primary,.secondary{width:100%;min-height:60px;border:3px solid white;border-radius:20px;margin:7px 0;font-size:21px;font-weight:900;color:#193a4c}.primary{background:#a4e38a;box-shadow:0 4px #6eaa6266}.secondary{background:#d7eaf0}.hint{font-size:13px;color:#52656f}.card a{display:inline-block;padding:14px;color:#315575;font-weight:700}details{text-align:left;font-size:12px;margin-top:12px}details p{font-size:13px}#pet-art{height:125px;width:140px;margin:auto;background-image:url('art/pets-v1.webp');background-size:400% 200%;background-repeat:no-repeat}@media(max-height:500px){header{top:8px}header a,header button{width:42px;height:42px}.run-score{top:58px;font-size:17px}.progress{top:88px}#cue{top:99px;font-size:18px}#jump{width:140px;height:108px;bottom:12px}#jump span{font-size:34px}.card{padding:14px 22px}.card h1{font-size:36px;margin:8px 0}.card h2{font-size:25px;margin:8px}.card p{margin:7px 0}.primary,.secondary{min-height:48px;margin:5px 0}#pet-art{height:75px;width:85px}}

/* Bright courier patches, with the player's own island on the invitation. */
.overlay { background: linear-gradient(145deg,#163c616b,#254a7230); backdrop-filter: blur(2px); }
.card { color: #21304a; background: #fff5d9; border: 3px solid #fffdf0; border-radius: 29px 12px 29px 12px; box-shadow: 0 5px 0 #d89e58,0 16px 55px #172d5666; }
#intro .card h1 { color: #203c63; font-weight: 950; letter-spacing: -.07em; }
#intro .card h1 em { color: #a33b45; }
.card a { color: #315793; }
.primary { background: #ffcb67; border-color: #fff1bf; box-shadow: 0 4px 0 #c7803e; }
.secondary { color: #264371; background: #deebf6; }
#course-name, header a, header button { color: #fff6d8; background: #1c3552f2; border-color: #ffd890; }
.run-score span { background: #203957ee; color: #fff1ba; text-shadow: none; padding: 1px 8px; border-radius: 6px; }
.progress { background: #1c3552af; }
.progress i { background: linear-gradient(90deg,#ef944f,#ffe083); }
#jump { color: #493318; background: linear-gradient(#fff1a5,#ffbf50); box-shadow: 0 6px 0 #ab7141; }
@media (min-width: 650px) and (min-height: 560px) {
  #intro .card { position: relative; text-align: left; width: min(550px, 92vw); padding: 30px; }
  #intro .card::before { content: ''; position: absolute; pointer-events: none; width: 144px; height: 134px; right: 18px; top: 32px; background: url('art/islands-v1.webp') 0 0 / 200% 200% no-repeat; }
  #intro h1 { max-width: 60%; }
}

#intro { place-items:center start; padding:clamp(14px,5vw,72px); background:linear-gradient(90deg,#22394e66,transparent 75%); backdrop-filter:none; }
#intro .card { width:min(385px,100%); text-align:left; padding:20px; }
#intro .card::before { display:none; }
#intro .card h1 { max-width:none; margin:7px 0; font-size:clamp(32px,4.8vw,60px); }
#intro .card p { margin:9px 0; }
#intro .card details { margin-top:4px; }
.run-score #mail { font-size:clamp(11px,2.7vw,15px); align-self:center; }
@media(max-width:650px) and (min-height:520px){
 #intro { place-items:end stretch; padding:10px 13px; background:linear-gradient(0deg,#25405265,transparent 67%); }
 #intro .card { width:100%; padding:13px 18px; max-height:48dvh; }
 #intro .card h1 br { display:none; } #intro .card h1 em { margin-left:.18em; }
 #intro .card a { padding:5px 0; } #intro .card p.hint { font-size:12px; } #intro .primary { min-height:47px; }
}
