html,body.tf-kiosk-page,body.tfk-kiosk-page{margin:0;padding:0;background:#f7f4ef;color:#181818;font-family:Inter,Arial,Helvetica,sans-serif;height:100%;}
.tfk-kiosk{position:relative;min-height:100vh;display:flex;align-items:stretch;justify-content:center;background:#f7f4ef;color:#181818;background-image:url("https://thisfound.com/wp-content/uploads/2026/03/pexels-finn-pietsch-20712054-6552171-scaled.jpg");background-size:cover;background-position:center center;background-repeat:no-repeat;}
.tfk-kiosk::before{content:"";position:absolute;inset:0;background:rgba(247,244,239,.72);backdrop-filter:saturate(.92) blur(1px);}
.tfk-shell{position:relative;z-index:1;width:100%;max-width:920px;min-height:100vh;padding:20px 18px 28px;box-sizing:border-box;display:flex;flex-direction:column;gap:18px;}
.tfk-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;}
.tfk-brand{font-size:18px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.tfk-title-wrap{text-align:center;flex:1;}
.tfk-title{margin:0;font-size:38px;line-height:1;letter-spacing:-.04em;font-weight:700;}
.tfk-subtitle{margin:8px 0 0;font-size:15px;opacity:.72;}
.tfk-lock-button{border:1px solid #181818;background:#fff;padding:12px 18px;font-size:16px;min-height:56px;min-width:100px;cursor:pointer;}
.tfk-progress{display:flex;flex-direction:column;gap:8px;}
.tfk-progress-bar{height:10px;background:rgba(24,24,24,.08);overflow:hidden;border-radius:999px;}
.tfk-progress-bar span{display:block;height:100%;background:#181818;border-radius:999px;transition:width .25s ease;}
.tfk-progress-label{font-size:13px;letter-spacing:.04em;text-transform:uppercase;opacity:.7;}
.tfk-form{display:flex;flex-direction:column;gap:18px;flex:1;}
.tfk-step{display:none;background:#fff;border:1px solid rgba(24,24,24,.12);padding:24px;border-radius:24px;box-shadow:0 14px 32px rgba(0,0,0,.03);}
.tfk-step.is-active{display:block;}
.tfk-step h2{margin:0 0 10px;font-size:36px;line-height:1;letter-spacing:-.04em;}
.tfk-step h3{margin:0 0 12px;font-size:22px;}
.tfk-step-copy{margin:0 0 18px;font-size:18px;line-height:1.5;color:#555;}
.tfk-grid{display:grid;gap:14px;}
.tfk-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));}
.tfk-choice{display:flex;align-items:center;justify-content:center;text-align:center;min-height:120px;padding:18px;border:1px solid rgba(24,24,24,.16);background:#faf9f6;border-radius:22px;font-size:28px;line-height:1.15;font-weight:600;cursor:pointer;transition:transform .1s ease,border-color .1s ease,background .1s ease;touch-action:manipulation;}
.tfk-choice:active,.tfk-choice.is-selected{transform:scale(.99);background:#181818;color:#fff;border-color:#181818;}
.tfk-choice--small{min-height:90px;font-size:22px;}
.tfk-field{display:flex;flex-direction:column;gap:8px;margin-bottom:14px;}
.tfk-field span{font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;}
.tfk-field input,.tfk-field select{min-height:64px;padding:0 18px;font-size:24px;line-height:1.2;border:1px solid rgba(24,24,24,.16);border-radius:18px;background:#fff;box-sizing:border-box;width:100%;}
.tfk-check{display:flex;align-items:center;gap:12px;padding:14px 0 6px;font-size:20px;}
.tfk-check input{width:26px;height:26px;}
.tfk-actions{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;padding-top:8px;}
.tfk-btn{min-height:68px;padding:0 24px;border:1px solid #181818;border-radius:18px;background:#181818;color:#fff;font-size:22px;font-weight:700;cursor:pointer;min-width:180px;touch-action:manipulation;}
.tfk-btn--secondary{background:#fff;color:#181818;}
.tfk-territory{margin-bottom:18px;padding:18px;border:1px solid rgba(24,24,24,.08);border-radius:22px;background:#fcfbf8;}
.tfk-qr-card{border:1px solid rgba(24,24,24,.1);border-radius:20px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;min-height:360px;background:#fcfbf8;}
.tfk-qr-image{width:100%;max-width:260px;height:auto;border-radius:12px;background:#fff;border:1px solid rgba(24,24,24,.08);}
.tfk-qr-pending{min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;color:#666;font-size:18px;line-height:1.4;padding:12px 8px;}
.tfk-qr-card a{font-size:18px;color:#181818;word-break:break-all;text-align:center;}
.tfk-result-message{font-size:22px;line-height:1.4;color:#333;margin:0 0 18px;}
.tfk-status{min-height:28px;font-size:18px;line-height:1.4;color:#8b0000;}
.tfk-status.is-success{color:#0b6d2e;}
.tfk-lock-overlay{position:fixed;inset:0;background:rgba(17,17,17,.82);display:flex;align-items:center;justify-content:center;z-index:99999;padding:20px;}
.tfk-lock-card{width:100%;max-width:420px;background:#fff;border-radius:24px;padding:24px;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;}
.tfk-lock-card h2{margin:0 0 4px;font-size:30px;}
@media (max-width:900px){.tfk-title{font-size:32px}.tfk-choice{font-size:24px;min-height:106px}.tfk-field input,.tfk-field select{font-size:22px}}
@media (max-width:700px){.tfk-shell{padding:14px 12px 24px}.tfk-header{align-items:flex-start;flex-wrap:wrap}.tfk-title-wrap{text-align:left;order:3;width:100%}.tfk-grid--2{grid-template-columns:1fr}.tfk-step{padding:18px;border-radius:20px}.tfk-step h2{font-size:30px}.tfk-choice{font-size:24px;min-height:94px}.tfk-btn{width:100%}.tfk-actions{flex-direction:column}.tfk-qr-card{min-height:0}}

/* v0.2.3 first-screen branding/card refinements */
.tfk-header{align-items:flex-end;}
.tfk-title-wrap{display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:4px;}
.tfk-title{font-size:26px;line-height:1.02;}
.tfk-subtitle{font-size:14px;margin-top:6px;}
.tfk-logo{display:block;max-width:180px;width:100%;height:auto;max-height:78px;}

.tfk-choice--country{
    position:relative;
    min-height:180px;
    padding:0;
    overflow:hidden;
    border-radius:24px;
    align-items:stretch;
    justify-content:stretch;
    background:#111;
    color:#fff;
}
.tfk-choice__flag{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    line-height:0;
}
.tfk-choice__flag svg{
    display:block;
    width:100%;
    height:100%;
    border-radius:0;
}
.tfk-choice__label{
    position:absolute;
    left:14px;
    right:14px;
    bottom:14px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:8px 14px;
    font-size:22px;
    line-height:1.1;
    font-weight:700;
    color:#181818;
    background:rgba(247,244,239,.94);
    border-radius:14px;
    backdrop-filter:blur(2px);
}
.tfk-choice:active .tfk-choice__label,
.tfk-choice.is-selected .tfk-choice__label{
    background:rgba(255,255,255,.96);
    color:#111;
}
.tfk-choice.is-selected .tfk-choice__flag svg,
.tfk-choice:active .tfk-choice__flag svg{
    outline:2px solid rgba(255,255,255,.92);
    outline-offset:-10px;
}
@media (max-width:900px){
    .tfk-logo{max-width:160px;max-height:70px;}
    .tfk-title{font-size:24px;}
    .tfk-choice--country{min-height:168px;}
}
@media (max-width:700px){
    .tfk-header{align-items:flex-start;}
    .tfk-title-wrap{padding-bottom:0;}
    .tfk-logo{max-width:150px;max-height:64px;}
    .tfk-title{font-size:22px;}
    .tfk-subtitle{font-size:13px;}
    .tfk-choice--country{min-height:150px;}
    .tfk-choice__label{left:12px;right:12px;bottom:12px;font-size:20px;min-height:40px;padding:7px 12px;}
}



/* v0.2.4 fullscreen background + flatter country cards */
.tfk-step{background:rgba(255,255,255,.88);backdrop-filter:blur(4px);}
.tfk-step[data-step="1"]{background:transparent;border:none;box-shadow:none;padding:0;backdrop-filter:none;}
.tfk-step[data-step="1"] h2{margin:0 0 16px;}
.tfk-choice--country{
    border-radius:5px;
    background:transparent;
    border-color:rgba(24,24,24,.18);
    min-height:190px;
}
.tfk-choice__flag{
    background:transparent;
    overflow:hidden;
    border-radius:5px;
}
.tfk-choice__flag svg{
    width:100%;
    height:100%;
    display:block;
    position:absolute;
    inset:0;
}
.tfk-choice__flag svg > rect:first-child{
    width:100%;
    height:100%;
}
.tfk-choice__label{
    left:10px;
    right:10px;
    bottom:10px;
    border-radius:5px;
    background:rgba(247,244,239,.92);
    padding:8px 12px;
}
.tfk-choice.is-selected .tfk-choice__flag svg,
.tfk-choice:active .tfk-choice__flag svg{
    outline:2px solid rgba(255,255,255,.94);
    outline-offset:-2px;
}
@media (max-width:700px){
    .tfk-step[data-step="1"] h2{margin-bottom:12px;}
    .tfk-choice--country{min-height:154px;}
    .tfk-choice__label{left:8px;right:8px;bottom:8px;border-radius:5px;}
}


/* v0.2.6 first-screen borderless flags + label width locked to flag */
.tfk-step[data-step="1"] .tfk-country-grid{
    gap:16px;
}
.tfk-step[data-step="1"] .tfk-choice--country{
    border:none;
    box-shadow:none;
    background:transparent;
    padding:0;
    border-radius:5px;
    overflow:hidden;
}
.tfk-step[data-step="1"] .tfk-choice__flag{
    inset:0;
    width:100%;
    height:100%;
    border-radius:5px;
    overflow:hidden;
}
.tfk-step[data-step="1"] .tfk-choice__flag svg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
}
.tfk-step[data-step="1"] .tfk-choice__label{
    left:0;
    right:0;
    bottom:0;
    width:100%;
    box-sizing:border-box;
    min-height:48px;
    border-radius:0;
    background:rgba(247,244,239,.94);
    padding:10px 14px;
}
.tfk-step[data-step="1"] .tfk-choice.is-selected .tfk-choice__label,
.tfk-step[data-step="1"] .tfk-choice:active .tfk-choice__label{
    background:rgba(255,255,255,.96);
}
.tfk-step[data-step="1"] .tfk-choice.is-selected .tfk-choice__flag svg,
.tfk-step[data-step="1"] .tfk-choice:active .tfk-choice__flag svg{
    outline:none;
}
