/* Garden Protect welcome page. Only used on the hosted site. */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:#16240f}
#gpw{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;overflow:auto;padding:18px 14px;background:#16240f url(assets/img/title.jpg?v=5) center/cover no-repeat;font-family:'Fredoka','Baloo 2','Trebuchet MS',sans-serif;color:#fff7df;transition:opacity .45s}
#gpw.show{display:flex}
#gpw.bye{opacity:0;pointer-events:none}
#gpw::before{content:'';position:fixed;inset:0;background:radial-gradient(ellipse at center,rgba(10,22,6,.35),rgba(10,22,6,.78))}
#gpw .gpwBox{position:relative;width:100%;max-width:520px;margin:auto;display:flex;flex-direction:column;align-items:center}
#gpw .gpwLogo{width:min(78%,360px);height:auto;margin-bottom:-18px;position:relative;z-index:1;filter:drop-shadow(0 8px 8px rgba(0,0,0,.55))}
#gpw form[hidden]{display:none}
#gpw form{width:100%;padding:30px 26px 22px;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#9a6a35,#6f4520);border:4px solid #4a2c12;border-radius:22px;box-shadow:inset 0 3px 0 rgba(255,255,255,.28),inset 0 -6px 12px rgba(0,0,0,.25),0 6px 0 #3a220d,0 14px 28px rgba(0,0,0,.55)}
#gpw h1{font-size:30px;line-height:1.1;text-align:center;font-weight:700;text-shadow:0 3px 0 rgba(0,0,0,.35)}
#gpw .gpwSub{text-align:center;font-size:17px;font-weight:500;opacity:.95;margin-top:-6px}
#gpw .gpwRow{display:flex;gap:12px}
#gpw label{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;font-size:15px;font-weight:600}
#gpw input{width:100%;font:inherit;font-size:18px;font-weight:500;color:#4a2c12;padding:10px 12px;border-radius:12px;border:3px solid #4a2c12;background:linear-gradient(180deg,#fff7df,#f1dfa8);outline:none;-webkit-user-select:text;user-select:text}
#gpw input:focus{border-color:#ffe14d;box-shadow:0 0 0 3px rgba(255,225,77,.45)}
#gpw input.bad{border-color:#c62828;background:#ffe3df}
#gpw .gpwHp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
#gpw .gpwErr{min-height:20px;text-align:center;font-size:15px;font-weight:600;color:#ffd7cf;text-shadow:0 1px 0 rgba(0,0,0,.4)}
#gpw button{font:inherit;font-weight:700;font-size:26px;color:#fff;padding:13px 26px;border-radius:18px;border:4px solid #2c7a2b;background:linear-gradient(180deg,#8be25f,#3fa63a);box-shadow:inset 0 3px 0 rgba(255,255,255,.45),0 6px 0 #1f5c1f,0 10px 16px rgba(0,0,0,.4);cursor:pointer;text-shadow:0 2px 0 rgba(0,0,0,.35)}
#gpw button:hover{filter:brightness(1.08)}
#gpw button:active{transform:translateY(4px);box-shadow:0 2px 0 #1f5c1f}
#gpw button:disabled{filter:grayscale(.7) brightness(.8);cursor:wait}
#gpw .gpwFine{font-size:13px;line-height:1.35;text-align:center;opacity:.9;font-weight:500}
#gpw .gpwCredit{margin-top:12px;font-size:15px;font-weight:600;opacity:.9;text-shadow:0 2px 3px #000}
@media (max-width:480px){#gpw .gpwRow{flex-direction:column}#gpw h1{font-size:25px}#gpw form{padding:26px 18px 18px}}
@media (max-height:560px){#gpw{align-items:flex-start}#gpw .gpwLogo{width:200px}#gpw form{gap:8px;padding-top:22px}#gpw input{padding:7px 10px;font-size:16px}#gpw button{font-size:21px;padding:9px 20px}}
#gpw .gpwSub b{font-weight:700;word-break:break-all}
#gpw .gpwErr.good{color:#d9ffc4}
#gpw input.gpwCode{font-size:34px;font-weight:700;letter-spacing:10px;text-align:center;padding:8px 6px}
#gpw .gpwLinks{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
#gpw button.gpwLink{align-self:center;font-size:15px;font-weight:600;color:#fff7df;padding:4px 6px;border:0;border-radius:6px;background:none;box-shadow:none;text-shadow:none;text-decoration:underline;cursor:pointer}
#gpw button.gpwLink:active{transform:none;box-shadow:none}
