@font-face{font-family:Coolveti;src:url(fonts/Coolveti.woff2) format('woff2');font-display:swap}
@font-face{font-family:Harabara;src:url(fonts/Harabara.woff2) format('woff2');font-display:swap}
@font-face{font-family:Poppins;font-weight:400;src:url(fonts/poppins-400.woff2) format('woff2');font-display:swap}
@font-face{font-family:Poppins;font-weight:500;src:url(fonts/poppins-500.woff2) format('woff2');font-display:swap}
@font-face{font-family:Poppins;font-weight:600;src:url(fonts/poppins-600.woff2) format('woff2');font-display:swap}
:root{--navy:#003B6F;--blue:#0057A4;--wave:#1F8FD6;--ice:#E6F3FB;--red:#D72631;--ink:#0E1620;--body:#2C333D;--slate:#5A6470;--cloud:#F4F7FA;
  --band:68px;--safe:env(safe-area-inset-top,0px);--top:calc(var(--band) + var(--safe) + 5px)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;height:100%;overflow:hidden;background:#94cdf4;font-family:Poppins,system-ui,sans-serif;color:var(--body);
  -webkit-font-smoothing:antialiased;touch-action:manipulation;user-select:none;-webkit-user-select:none}
#gl{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}
#ui{position:fixed;inset:0;pointer-events:none}
#ui button,#ui a{pointer-events:auto}
button{font:inherit;border:0;cursor:pointer;color:inherit;background:none}
[hidden]{display:none!important}
.nojs{position:fixed;inset:0;display:grid;place-items:center;margin:0;padding:24px;text-align:center;background:#fff}

/* brand band: white, logo on white, red bottom edge */
.band{position:absolute;left:0;right:0;top:0;height:calc(var(--band) + var(--safe));padding:var(--safe) 14px 0 16px;background:#fff;
  border-bottom:5px solid var(--red);display:flex;align-items:center;gap:12px;z-index:6}
.band .logo{height:48px;width:auto;display:block}
.band .right{margin-left:auto;display:flex;align-items:center;gap:10px}
.score{text-align:right;line-height:1}
.score span{display:block;font-family:Harabara;font-size:11px;letter-spacing:.14em;color:var(--slate);margin-bottom:3px}
.score b{font-family:Coolveti;font-size:29px;color:var(--navy);font-weight:normal}
.mute{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--cloud)}
.mute svg{width:20px;height:20px}

/* play chips */
.chips{position:absolute;top:calc(var(--top) + 12px);left:12px;right:12px;display:flex;gap:8px;z-index:4;max-width:560px;margin:0 auto}
.chip{background:rgba(255,255,255,.94);border-radius:999px;height:40px;display:flex;align-items:center;gap:8px;padding:0 14px;
  font-size:14px;font-weight:500;box-shadow:0 4px 14px rgba(0,30,60,.2);white-space:nowrap}
.chip b{font-family:Coolveti;font-size:21px;font-weight:normal}
.chip.cool b{color:var(--blue)}
.chip.heat{flex:1;min-width:0}
.chip.heat b{color:var(--red);min-width:38px;text-align:right}
.bar{flex:1;height:10px;border-radius:5px;background:#FBE7E8;overflow:hidden}
.bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ffb347,var(--red))}
.chip.heat.late{animation:pulse .6s ease-in-out infinite alternate}
@keyframes pulse{to{box-shadow:0 0 0 4px rgba(215,38,49,.35),0 4px 14px rgba(0,30,60,.2)}}

/* title */
.title{position:absolute;left:0;right:0;top:var(--top);bottom:0;display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;padding:36px 20px 0}
.title h1{font-family:Coolveti;font-weight:normal;font-size:clamp(50px,15vw,74px);line-height:.92;margin:0 0 12px;
  text-shadow:0 4px 0 var(--navy),0 10px 26px rgba(0,40,90,.35)}
.title p{font-size:15.5px;font-weight:600;margin:0;max-width:370px;text-shadow:0 1px 10px rgba(0,30,70,.6)}
.title .best{margin-top:10px;font-size:14px;font-weight:500;opacity:.95;text-shadow:0 1px 8px rgba(0,30,70,.6)}
.foot{position:absolute;left:0;right:0;bottom:0;padding:0 20px calc(26px + env(safe-area-inset-bottom,0px));
  display:flex;flex-direction:column;align-items:center;gap:12px;background:linear-gradient(to top,rgba(0,41,78,.62),rgba(0,41,78,0));padding-top:90px}
.bigbtn{width:100%;max-width:420px;height:64px;border-radius:999px;background:var(--red);color:#fff;font-family:Coolveti;font-size:30px;
  box-shadow:0 10px 24px rgba(120,10,20,.35);display:flex;align-items:center;justify-content:center}
.bigbtn:active{transform:translateY(2px)}
.linkrow{display:flex;gap:22px;align-items:center}
.linkbtn{color:#fff;font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:3px;text-shadow:0 1px 6px rgba(0,0,0,.5);padding:6px 2px}

/* cards */
.scrim{position:absolute;inset:0;background:rgba(0,33,66,.45);display:flex;align-items:center;justify-content:center;padding:calc(var(--top) + 12px) 14px 14px;pointer-events:auto}
.card{background:#fff;border-radius:24px;padding:22px 20px;width:100%;max-width:420px;box-shadow:0 18px 40px rgba(0,30,60,.35)}
.card h2{font-family:Coolveti;font-weight:normal;color:var(--navy);font-size:30px;margin:0 0 14px;line-height:1}
.legend{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.legend div{display:flex;align-items:center;gap:12px;font-size:15px;line-height:1.35}
.legend img{width:52px;height:52px;flex:none}
.legend b{color:var(--navy);font-weight:600;display:block}
.card p{font-size:15px;line-height:1.5;margin:0 0 16px}
.card .bigbtn{height:56px;font-size:26px;max-width:none}

/* job sheet */
.sheet{position:absolute;left:12px;right:12px;bottom:calc(16px + env(safe-area-inset-bottom,0px));background:#fff;border-radius:22px;padding:16px;
  box-shadow:0 14px 34px rgba(0,30,60,.32);max-width:460px;margin:0 auto;pointer-events:auto;animation:up .18s ease-out}
@keyframes up{from{transform:translateY(24px);opacity:0}}
.sheet .row{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.sheet .row img{width:56px;height:56px;flex:none}
.sheet b{display:block;font-size:19px;font-weight:600;color:var(--navy);line-height:1.2}
.sheet small{display:block;font-size:14px;color:var(--slate);margin-top:2px}
.sheet .x{margin-left:auto;align-self:flex-start;width:34px;height:34px;border-radius:50%;background:var(--cloud);font-size:20px;line-height:34px;color:var(--slate)}
.btns{display:flex;gap:10px}
.btn{flex:1;height:52px;border-radius:999px;font-weight:600;font-size:15.5px;background:var(--navy);color:#fff}
.btn:active{transform:translateY(2px)}
.btn.ghost{background:#fff;color:var(--blue);border:2px solid var(--blue)}
.btns.three{gap:8px}
.btns.three .btn{font-size:14.5px;padding:0 6px;line-height:1.15}

/* toasts, floaters, job ring */
.toast{position:absolute;left:50%;top:calc(var(--top) + 64px);transform:translateX(-50%);background:var(--navy);color:#fff;border-radius:999px;
  padding:10px 18px;font-size:14.5px;font-weight:600;white-space:nowrap;box-shadow:0 8px 20px rgba(0,30,60,.3);animation:toast 2.2s ease forwards;z-index:5}
.toast.good{background:var(--blue)}
.toast.meh{background:#8a5a12}
@keyframes toast{0%{opacity:0;transform:translate(-50%,-8px)}8%,80%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,-6px)}}
.float{position:absolute;font-family:Coolveti;font-size:30px;color:#fff;text-shadow:0 3px 0 var(--navy),0 6px 14px rgba(0,30,60,.4);
  transform:translate(-50%,-50%);animation:rise 1.3s ease-out forwards;white-space:nowrap}
@keyframes rise{to{transform:translate(-50%,-160%);opacity:0}}
.ring{position:absolute;width:64px;height:64px;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 6px rgba(0,30,60,.35))}

/* end of round */
.end{position:absolute;inset:0;overflow-y:auto;background:rgba(0,33,66,.5);padding:calc(var(--top) + 14px) 14px calc(24px + env(safe-area-inset-bottom,0px));pointer-events:auto}
.end .card{margin:0 auto 12px}
.result{text-align:center}
.result h2{margin-bottom:6px}
.result .big{font-family:Coolveti;color:var(--red);font-size:64px;line-height:1;margin:4px 0}
.result p{color:var(--slate);margin:0 0 16px}
.result .btns .btn{height:54px}
.offer .eyebrow{font-family:Harabara;letter-spacing:.16em;text-transform:uppercase;font-size:13px;color:var(--red);display:flex;align-items:center;gap:8px;margin-bottom:6px}
.offer .eyebrow:before{content:"";width:18px;height:3px;background:var(--red);border-radius:2px}
.offer h3{font-family:Coolveti;font-weight:normal;color:var(--navy);font-size:28px;margin:0 0 12px;line-height:1.05}
.offer ul{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-direction:column;gap:10px}
.offer li{display:flex;gap:10px;font-size:15px;line-height:1.4}
.offer li:before{content:"";flex:none;width:20px;height:20px;border-radius:50%;margin-top:1px;
  background:var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230057A4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.offer li a{color:var(--blue);font-weight:600}
.offer .bigbtn{display:flex;text-decoration:none;height:58px;font-size:26px;max-width:none}
.offer .call{display:block;text-align:center;margin:12px 0 4px;font-weight:600;color:var(--blue);text-decoration:none;font-size:16px}
.fine{font-size:11.5px;line-height:1.45;color:var(--slate);margin:14px 0 0}
.sign{text-align:center;color:#fff;font-size:12.5px;margin:4px 0 0;text-shadow:0 1px 6px rgba(0,0,0,.45)}
.sign a{color:#fff}
.og .foot,.og .mute{display:none!important}
.og .title{padding-top:28px}

/* scoreboard */
.board{list-style:none;margin:0 0 4px;padding:0}
.board li{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:12px;color:var(--navy)}
.board li:nth-child(odd){background:var(--cloud)}
.board .r{width:24px;color:var(--slate);font-weight:600;font-size:14px}
.board .i{flex:1;font-family:Coolveti;font-size:22px;letter-spacing:.14em}
.board .s{font-family:Coolveti;font-size:22px}
.board li.me{background:var(--ice);box-shadow:inset 0 0 0 2px var(--wave)}
.empty{color:var(--slate)}
.scrim .card .btn.close{width:100%;margin-top:14px}
.initials{margin:0 0 14px;text-align:left}
.initials label{display:block;font-size:14px;font-weight:600;color:var(--navy);margin-bottom:6px}
.initials .row{display:flex;gap:10px}
.initials input{flex:1;min-width:0;height:52px;border-radius:14px;border:2px solid #cfd8e3;text-align:center;font-family:Coolveti;font-size:28px;
  letter-spacing:.3em;text-transform:uppercase;color:var(--navy);-webkit-user-select:text;user-select:text;padding:0 0 0 .3em}
.initials input:focus{outline:none;border-color:var(--wave)}
.initials .btn{flex:none;width:104px;height:52px}
.initials .btn:disabled{opacity:.45}
.note{font-size:13.5px;margin:6px 0 0;min-height:18px;color:var(--slate)}
.note.bad{color:var(--red);font-weight:600}
.saved{font-weight:600;color:var(--blue);margin:0 0 14px}
.bigbtn.ghost{background:#fff;color:var(--blue);border:2px solid var(--blue);box-shadow:none}
.service h3{margin-bottom:14px}
.boardcard h2{margin-bottom:10px}

/* follow Ample Air */
.follow{display:flex;align-items:center;justify-content:center;gap:12px;margin:6px 0 10px;color:#fff;font-weight:600;font-size:14px;text-shadow:0 1px 6px rgba(0,0,0,.45)}
.follow a{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 4px 12px rgba(0,30,60,.25)}
.follow svg{width:22px;height:22px}
