@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#211d1c;background:#171413}*{box-sizing:border-box}body{margin:0;min-height:100vh}.backdrop{position:fixed;inset:0;overflow:hidden;z-index:-2;background:#211813}.slide{position:absolute;inset:-3%;background-position:center;background-size:cover;opacity:0;animation:crossfade 24s infinite}.slide-one{background-image:url('/static/photo-king.jpg');animation-delay:0s}.slide-two{background-image:url('/static/photo-ferrero.jpg');animation-delay:8s}.slide-three{background-image:url('/static/photo-mix.jpg');animation-delay:16s}.backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,rgba(18,14,13,.48),rgba(24,17,14,.38)),rgba(0,0,0,.08)}@keyframes crossfade{0%{opacity:0;transform:scale(1)}8%,30%{opacity:.9}38%,100%{opacity:0;transform:scale(1.06)}}.shell{width:min(100%,560px);margin:auto;min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:32px 20px}.brand{display:block;align-self:center;margin:0 0 18px;background:#fff;border-radius:50%;width:94px;height:94px;overflow:hidden;box-shadow:0 8px 28px #0003}.brand img{width:100%;height:100%;object-fit:contain;padding:7px}.panel{background:rgba(255,255,255,.96);border:1px solid #ffffff8c;border-radius:18px;padding:38px 42px;box-shadow:0 24px 80px #0005;backdrop-filter:blur(12px)}.heading{text-align:center;margin-bottom:24px}.eyebrow{font-size:11px;color:#9b6d45;letter-spacing:.22em;font-weight:700}.heading h1{font-size:30px;letter-spacing:-.035em;line-height:1.15;margin:10px 0}.heading p{font-size:14px;color:#7a746f;margin:0}label{display:block;font-weight:700;font-size:13px;margin:15px 0;color:#413b37}input{display:block;width:100%;height:48px;background:#faf9f8;border:1px solid #e2dedb;border-radius:8px;padding:12px 14px;margin-top:8px;font:400 16px 'DM Sans',sans-serif;color:#211d1c}input:focus{outline:2px solid #b99b80;border-color:transparent}.label-note{font-size:12px;color:#9b948e;font-weight:400}.pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}button{font:700 15px 'DM Sans',sans-serif;cursor:pointer;border-radius:8px;padding:15px}.primary,.secondary{width:100%}.primary{background:#24201e;border:1px solid #24201e;color:white;margin-top:8px}.primary:hover{background:#463831}.secondary{background:#fff;color:#28221f;border:1px solid #d3cbc5;margin-top:10px}.switch{text-align:center;border-top:1px solid #eee9e5;margin-top:24px;padding-top:22px;color:#7a746f;font-size:13px}a{color:#563d2e;font-weight:700}.loyalty-card{min-height:220px;border-radius:14px;color:white;background:#3e2e25;padding:24px;display:flex;flex-direction:column;justify-content:space-between;margin:18px 0;font-weight:700}.card-brand{letter-spacing:.15em}.loyalty-card small{font-size:10px;letter-spacing:.12em;display:block;opacity:.75}.loyalty-card strong{display:block;font-size:24px;margin-top:5px}.hint{font-size:13px;color:#827c78;line-height:1.5}h2{font-size:17px;margin-top:26px}.error{color:#aa2738;font-size:14px}textarea{width:100%;margin-top:10px;min-height:85px;border:1px solid #ddd;padding:10px;font:inherit}.link{background:none;border:0;color:#563d2e;padding-left:0}.shell footer{text-align:center;color:#ffffffa8;font-size:12px;margin-top:20px}#walletButton{margin:12px auto;text-align:center}[hidden]{display:none!important}@media(max-width:520px){.shell{padding:22px 14px}.brand{width:74px;height:74px;margin-bottom:14px}.panel{padding:28px 22px;border-radius:15px}.heading h1{font-size:26px}.pair{gap:10px}.slide{background-position:center}}@media(prefers-reduced-motion:reduce){.slide{animation:none}.slide-one{opacity:.9}}

/* Keep the page fixed to the visible screen; longer account details scroll inside the panel. */
html,body{height:100%;height:100dvh;overflow:hidden}
.shell{height:100%;height:100dvh;min-height:0;max-height:100dvh;padding:clamp(8px,2vh,24px) 20px;justify-content:center}
.brand{flex:0 0 auto;display:flex;justify-content:center;align-items:center;width:clamp(54px,9vh,90px);height:clamp(54px,9vh,90px);margin:0 auto clamp(7px,1.5vh,16px)}
.brand img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:8px}
.panel{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:clamp(18px,3vh,36px) clamp(20px,3vw,42px)}
.heading{margin-bottom:clamp(10px,2vh,24px)}
.heading h1{font-size:clamp(22px,3.2vh,30px);margin:clamp(4px,.8vh,10px) 0}
label{margin:clamp(6px,1.2vh,15px) 0}
input{height:clamp(38px,5vh,48px);margin-top:clamp(3px,.7vh,8px)}
button{padding:clamp(10px,1.5vh,15px)}
.switch{margin-top:clamp(10px,2vh,24px);padding-top:clamp(10px,2vh,22px)}
.shell footer{flex:0 0 auto;margin-top:clamp(5px,1.5vh,18px)}
@media(max-height:650px){.heading p,.eyebrow,.shell footer{display:none}.heading{margin-bottom:8px}.brand{width:48px;height:48px;margin-bottom:6px}.panel{padding:14px 22px}.heading h1{font-size:21px;margin:3px 0}label{margin:5px 0}input{height:35px;margin-top:3px}button{padding:9px}.switch{margin-top:8px;padding-top:8px}}

.pair{grid-template-columns:repeat(2,minmax(0,1fr))}.pair label{min-width:0}.panel{width:100%}input{min-width:0}
