@font-face{font-family:GmarketFallback;src:local(Arial)}
:root{font-family:'Gmarket Sans',GmarketFallback,Arial,sans-serif;color:#102b3c;background:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;--sky:#2c99d6;--blue:#147bb5;--red:#eb2f33;--ink:#102b3c;--muted:#6c8291;--line:#dce8ef;--white:#fff;--soft:#eaf6fd;--shadow:0 14px 40px #17466012}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100dvh;background:linear-gradient(180deg,#e9f7ff 0,#f8fafc 340px);font-weight:500}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible{outline:3px solid #2c99d677;outline-offset:2px}.app-shell{width:min(100%,520px);min-height:100dvh;margin:auto;background:#f8fafc;box-shadow:0 0 60px #12425a0b}.topbar{height:64px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e8eff3}.brand{display:flex;align-items:center;gap:9px;color:#102b3c;font-size:13px;letter-spacing:.02em}.brand-mark{height:28px;width:28px;border-radius:8px;background:var(--sky);display:grid;place-items:center;color:#fff;font-weight:700;font-size:12px}.brand small{display:block;color:#7a8d98;font-size:9px;margin-top:2px}.icon-button{border:0;background:transparent;color:var(--ink);font-size:13px;padding:10px}.content{padding:22px 20px 104px}.eyebrow{color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.12em}.hero{position:relative;overflow:hidden;background:var(--sky);color:#fff;border-radius:24px;padding:25px 22px 20px;min-height:224px;box-shadow:0 16px 32px #2c99d632}.hero:after{content:"";position:absolute;right:-32px;bottom:-95px;width:240px;height:240px;border:26px solid #ffffff25;border-radius:50%}.hero .eyebrow{color:#d9f1ff}.hero h1{font-size:28px;line-height:1.2;letter-spacing:-.04em;margin:9px 0 7px;position:relative;z-index:1}.hero h1 span{display:block;color:#fff}.hero p{font-size:12px;line-height:1.7;margin:0;color:#e5f6ff;max-width:260px}.pullup-art{position:absolute;right:6px;bottom:5px;width:130px;height:142px;opacity:.98}.hero .hero-caption{position:relative;z-index:1;background:#fff;color:#147bb5;border-radius:999px;padding:8px 11px;display:inline-block;font-size:10px;margin-top:16px}.card{background:#fff;border:1px solid #e6eef3;border-radius:20px;padding:18px;box-shadow:var(--shadow);margin-top:14px}.card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.card-title h2,.card h2{font-size:15px;margin:0;letter-spacing:-.03em}.muted{color:var(--muted);font-size:11px;line-height:1.7}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{border-radius:15px;padding:14px;background:#f4f9fc;min-height:86px}.stat-label{font-size:10px;color:var(--muted)}.stat-value{font-size:24px;font-weight:700;margin-top:8px;letter-spacing:-.05em}.stat-value small{font-size:12px;color:#6c8291;letter-spacing:0}.progress-track{height:9px;background:#e9f1f5;border-radius:99px;overflow:hidden;margin:11px 0 7px}.progress-fill{height:100%;background:linear-gradient(90deg,#2c99d6,#55c2ef);border-radius:99px;transition:width .35s}.reward{display:flex;align-items:center;gap:12px;background:#fff6f3;border:1px solid #ffe4df;border-radius:15px;padding:13px;margin-top:10px}.reward-icon{width:38px;height:38px;border-radius:12px;background:#ffebe8;color:var(--red);display:grid;place-items:center;font-size:17px}.reward strong{font-size:13px}.reward p{font-size:10px;color:#7c7777;margin:4px 0 0;line-height:1.5}.primary,.secondary,.outline,.danger{border:0;border-radius:14px;min-height:52px;padding:0 18px;font-weight:700;letter-spacing:-.02em}.primary{background:var(--red);color:white;box-shadow:0 8px 20px #eb2f3327}.primary.blue{background:var(--sky);box-shadow:0 8px 20px #2c99d62b}.secondary{background:#eaf6fd;color:#147bb5}.outline{background:#fff;color:var(--ink);border:1px solid var(--line)}.danger{background:#fff0f0;color:#bf2528}.wide{width:100%}.actions{display:grid;gap:9px;margin-top:14px}.section-heading{margin:23px 2px 9px;display:flex;align-items:end;justify-content:space-between}.section-heading h2{font-size:16px;margin:0}.section-heading span{font-size:10px;color:var(--muted)}.leader-list{list-style:none;padding:0;margin:0}.leader-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #eff3f6}.leader-row:last-child{border-bottom:0}.rank-chip{width:28px;height:28px;border-radius:9px;background:#eff7fb;color:#4184a6;display:grid;place-items:center;font-size:11px;font-weight:700}.leader-row.top .rank-chip{background:#fff0db;color:#d77800}.leader-name{font-size:12px}.leader-sub{font-size:9px;color:var(--muted);margin-top:3px}.leader-count{font-size:15px;font-weight:700}.leader-count small{font-size:9px;color:var(--muted)}.badge{display:inline-flex;align-items:center;padding:5px 7px;border-radius:999px;background:#e9f8ef;color:#27874e;font-size:9px;white-space:nowrap}.bottom-nav{position:fixed;z-index:3;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);display:grid;grid-template-columns:repeat(4,1fr);padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #e5edf2}.nav-item{border:0;background:transparent;color:#8295a0;display:grid;justify-items:center;gap:4px;padding:5px 2px;font-size:9px}.nav-item b{font-size:18px;font-weight:500}.nav-item.active{color:var(--blue);font-weight:700}.page-title{margin:5px 0 5px;font-size:22px;letter-spacing:-.05em}.field{margin:14px 0}.field label{display:block;font-size:11px;font-weight:700;margin-bottom:8px}.field input{width:100%;height:54px;border:1px solid #d7e4ec;border-radius:13px;background:white;padding:0 14px;color:var(--ink);font-size:15px}.field input::placeholder{color:#aab9c2}.login-wrap{padding:18px 20px 36px}.login-hero{height:340px;margin:0 -20px 22px;padding:30px 24px;background:linear-gradient(150deg,#2c99d6,#147bb5);position:relative;overflow:hidden;color:#fff}.login-hero:before{content:"";position:absolute;width:340px;height:340px;border:1px solid #ffffff33;border-radius:50%;right:-160px;top:-74px}.login-hero h1{font-size:32px;line-height:1.2;margin:30px 0 10px;letter-spacing:-.05em}.login-hero p{font-size:12px;line-height:1.7;color:#e5f6ff}.login-illustration{position:absolute;bottom:0;right:18px;width:190px;height:165px}.privacy-note{display:flex;gap:9px;color:#68808f;font-size:10px;line-height:1.6;margin:12px 0 18px}.privacy-note b{color:#1a86be}.login-error{color:#c72e31;min-height:20px;font-size:11px;margin:7px 0}.checkbox-line{display:flex;gap:8px;align-items:flex-start;font-size:11px;line-height:1.6;color:#536d7c}.guide-screen{min-height:100dvh;padding:26px 20px 30px;display:flex;flex-direction:column}.guide-top{display:flex;justify-content:space-between;align-items:center}.skip{border:0;background:none;color:#607a89;font-size:11px;padding:8px}.guide-count{font-size:11px;color:#738897}.guide-card{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:450px}.guide-art{height:240px;border-radius:22px;background:#eaf6fd;display:grid;place-items:center;overflow:hidden}.guide-art svg{width:230px;height:210px}.guide-step{color:var(--red);font-size:11px;font-weight:700;letter-spacing:.1em;margin:28px 0 9px}.guide-card h1{font-size:24px;line-height:1.35;letter-spacing:-.05em;margin:0 0 12px}.guide-card p{font-size:12px;color:#647d8b;line-height:1.85;margin:0}.guide-dots{display:flex;gap:6px;justify-content:center;margin:18px}.guide-dots i{width:6px;height:6px;border-radius:50%;background:#c7d6df}.guide-dots i.active{width:22px;border-radius:10px;background:var(--sky)}.guide-controls{display:grid;grid-template-columns:1fr 1.4fr;gap:9px}.camera-page{padding:12px 14px 96px}.camera-stage{position:relative;width:100%;aspect-ratio:3/4;background:#142530;border-radius:22px;overflow:hidden;margin:12px 0;color:white}.camera-stage video,.camera-stage canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.camera-stage video{transform:scaleX(-1)}.camera-stage canvas{pointer-events:none;transform:scaleX(-1)}.camera-mask{position:absolute;left:12px;top:12px;padding:8px 10px;background:#102b3ccc;border:1px solid #ffffff38;border-radius:10px;font-size:10px}.rep-display{position:absolute;right:13px;top:12px;text-align:right;background:#102b3ccc;border-radius:13px;padding:8px 12px}.rep-display strong{display:block;font-size:34px;line-height:1}.rep-display small{font-size:9px;color:#c8e7f5}.camera-guide{position:absolute;inset:auto 12px 12px;background:#102b3cce;border-radius:12px;padding:10px 12px;font-size:11px;line-height:1.6}.calibration-line{position:absolute;left:10%;right:10%;height:2px;background:#ffde59;z-index:2;display:none}.calibration-line span{position:absolute;right:0;top:-21px;background:#ffe979;color:#3f3510;font-size:9px;padding:4px 7px;border-radius:5px}.camera-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.camera-options{display:flex;gap:8px;flex-wrap:wrap}.camera-options button{flex:1;min-width:120px;min-height:44px}.history-row{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #edf2f5;font-size:11px}.history-row:last-child{border:0}.history-row strong{font-size:12px}.empty{padding:24px;text-align:center;color:var(--muted);font-size:11px;line-height:1.7}.modal-backdrop{position:fixed;z-index:10;inset:0;background:#0c2635a6;display:flex;align-items:flex-end;justify-content:center;padding:18px}.modal{width:min(100%,484px);background:#fff;border-radius:24px 24px 18px 18px;padding:22px;max-height:88dvh;overflow:auto}.modal h2{font-size:18px;margin:0 0 9px}.modal p{font-size:12px;color:#607987;line-height:1.75}.modal-actions{display:grid;gap:8px;margin-top:16px}.toast{position:fixed;z-index:20;left:50%;bottom:88px;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:.2s;background:#102b3c;color:white;border-radius:12px;padding:12px 16px;font-size:11px;max-width:90vw;text-align:center}.toast.show{transform:translate(-50%,0);opacity:1}.spinner{display:inline-block;width:25px;height:25px;border:3px solid #dbeaf2;border-top-color:var(--sky);border-radius:50%;animation:spin .7s linear infinite}.loading{min-height:100dvh;display:grid;align-content:center;justify-items:center;gap:12px;color:#6d8391;font-size:12px}@keyframes spin{to{transform:rotate(360deg)}}.final-banner{background:#fff3ee;border-radius:18px;padding:17px;border:1px solid #ffe4db}.final-banner strong{font-size:14px;color:#c72e31}.final-banner p{font-size:11px;line-height:1.7;color:#6f7880}.camera-permission{padding:22px 16px;text-align:center}.camera-permission h2{font-size:16px}.camera-permission p{font-size:11px;color:#6c8291;line-height:1.75}.setting-card{font-size:11px;line-height:1.8;color:#607987}.hidden{display:none!important}@media(min-width:520px){.bottom-nav{bottom:16px;border-radius:18px;border:1px solid #e5edf2;box-shadow:0 12px 40px #173d501a}}
.brand-logo{display:block;width:75px;max-height:28px;object-fit:contain}.brand-divider{height:25px;width:1px;background:#d8e4ea}.login-brand .brand-logo{width:82px;max-height:31px;padding:5px;background:#fff;border-radius:6px}.login-brand .brand-divider{background:#ffffff70}.login-brand{color:#fff}.login-brand small{color:#d8f2ff}
