/* Unlock screen (unlock/index.html). Uses the colours and fonts from styles.css.
   Fredoka headings. Spacing follows the golden ratio, base 8: 8 13 21 34 55. */
.unlock-page{background:#FBF7EE;min-height:100vh}
.unlock-page .top{position:static}
.ucard{background:var(--paper);border-radius:21px;max-width:460px;margin:clamp(13px,6vw,55px) auto;padding:clamp(21px,5vw,34px)}
@media (max-width:500px){.ucard{margin:13px}}
.ucard h1{font:700 clamp(26px,7vw,34px)/1.1 var(--round);margin:0 0 13px;outline:0;text-wrap:balance}
.ucard p{margin:0 0 13px}
/* A paid game's unlock screen: picture on the left (on top on phones), then what it teaches, the price and the code box. */
.ucard.wide{max-width:920px}
.ucard.wide #enter{display:grid;grid-template-columns:260px 1fr;gap:34px;align-items:start}
@media (max-width:760px){.ucard.wide #enter{grid-template-columns:1fr;gap:21px}}
.shot{border:3px solid var(--ink);border-radius:21px;overflow:hidden;background:#000;aspect-ratio:450/887;max-height:520px}
@media (max-width:760px){.shot{max-width:170px;margin:0 auto}}
.shot img,.shot video{width:100%;height:100%;object-fit:cover;display:block}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 13px}
.chip2{font:700 12px/1 var(--mono);text-transform:uppercase;padding:8px 13px;border-radius:8px;background:var(--mist)}
.chip2.sun{background:var(--sun)}
.explain{background:#FFF8DD;border-radius:13px;padding:13px 21px;margin:8px 0 21px}
.explain h2,.gotcode h2{font:600 17px/1.3 var(--round);margin:0 0 8px}
.explain ul{margin:0;padding-left:21px}
.explain li{margin:0 0 8px;line-height:1.45}
.explain li:last-child{margin-bottom:0}
.buybox{border:2px solid var(--ink);border-radius:13px;padding:21px;margin:0 0 21px}
.buybox .big{font:700 34px/1 var(--round);margin:0 0 8px}
.buybox .big span{font:600 18px var(--body)}
.buybox .all{font-size:15px;margin:0 0 13px}
.buybox .offer{font-size:14px;line-height:1.45;margin:0 0 13px}
.buybox .offer a{color:var(--ink);font-weight:600}
.buybox .refund{font-size:14px;font-weight:600;margin:13px 0 0}
.gotcode #codeHint{font-size:14px;color:var(--grey)}
.ucard form{margin:0}
.ucard .pill{margin-top:8px}
/* The code box: always one line, even on a 320px phone. */
.codein{display:block;width:100%;height:55px;border:2px solid var(--ink);border-radius:13px;padding:0 13px;background:#fff;color:var(--ink);
  font:700 clamp(16px,5.6vw,24px)/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;margin:0 0 13px}
.codein::placeholder{color:#A4A8AE}
.flabel{display:block;font:700 12px/1 var(--mono);text-transform:uppercase;margin:0 0 8px;color:var(--ink)}
.tin{display:block;width:100%;height:48px;border:2px solid var(--ink);border-radius:13px;padding:0 13px;font:400 16px var(--body);background:#fff;color:var(--ink);margin:0 0 13px}
.codein:focus,.tin:focus{outline:3px solid var(--blue);outline-offset:2px}
.err{color:#B3261E;font-weight:600}
.ok{color:#1F7A4D;font-weight:600;margin-top:13px!important}
.links{display:flex;flex-wrap:wrap;gap:8px 21px;margin:21px 0 0!important;font-size:14px}
.links a{color:var(--blue)}
.note,.small{font-size:14px;color:var(--grey)}
.found{margin:21px 0 0}
.found .small{margin-top:13px}
.reset{margin-top:21px;padding-top:21px;border-top:1px solid rgba(0,0,0,.12)}
.reset .small{margin-bottom:13px}
/* Email me my code: sits under the email box, with room before the payment ID. */
#mailBtn{margin:13px 0 0}
#mailMsg{margin:13px 0 0}
#mailBtn+#mailMsg+.flabel,#mailBtn+.flabel{margin-top:21px}
