:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#17243b;background:#f5f7fc}*{box-sizing:border-box}body{margin:0}header{background:#fff;border-bottom:1px solid #e7ebf3;padding:18px 20px}header .inner,main{max-width:760px;margin:auto}.brand{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#61718c;font-weight:800}.head{font-size:23px;font-weight:850;margin:4px 0}.sub{color:#64748b;font-size:14px;line-height:1.55;margin:8px 0 0}main{padding:24px 18px 70px}h1{font-size:28px;letter-spacing:-.04em;margin:8px 0}h2{font-size:20px;margin:0 0 12px}.groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:24px}.group,.round,.btn{border:1px solid #e2e7f0;background:#fff;border-radius:16px;cursor:pointer;text-align:left;transition:.15s}.group{padding:23px 18px;min-height:116px;box-shadow:0 3px 13px #17243b0a}.group strong{display:block;font-size:29px}.group span{color:#738198;font-size:13px}.group:hover,.round:hover{border-color:#4064d7;transform:translateY(-1px)}.rounds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.round{padding:19px;font-size:16px;font-weight:700}.round small{display:block;font-weight:400;color:#66768c;margin-top:5px}.round.active{border:2px solid #355bd7;background:#eff3ff}.btn{padding:12px 17px;font-weight:750;font-size:14px;text-align:center}.primary{background:#3059d5;border-color:#3059d5;color:white}.secondary{color:#3059d5}.ghost{border:0;background:transparent;color:#3158d0;padding:10px 0}.panel{background:#fff;border:1px solid #e4e9f2;border-radius:20px;padding:22px;margin:18px 0;box-shadow:0 4px 22px #14213b08}.pairing{width:100%;max-height:68vh;object-fit:contain;border-radius:12px;border:1px solid #e5e9f0;background:#fafbff}.empty{border:2px dashed #d9e0ec;border-radius:14px;padding:36px 18px;text-align:center;color:#6d7b91}.hidden{display:none!important}.back{margin-bottom:18px}.notice{margin-top:15px;padding:12px;border-radius:10px;background:#eff4ff;color:#2e4c89;font-size:14px}.error{background:#fff1f1;color:#a12636}.success{background:#eaf8ef;color:#226c42}.foot{margin-top:40px;border-top:1px solid #e2e7ef;padding-top:18px;color:#697a91;font-size:13px;line-height:1.7}label{display:block;font-size:13px;font-weight:750;margin:16px 0 6px}input[type=email],input[type=password],input[type=file]{width:100%;border:1px solid #d6deeb;border-radius:12px;padding:13px;font-size:16px;background:white}input[type=file]{font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.toprow{display:flex;justify-content:space-between;align-items:center;gap:10px}.muted{color:#68788f}.small{font-size:13px}@media(min-width:600px){.groups{grid-template-columns:repeat(3,1fr)}.rounds{grid-template-columns:repeat(4,1fr)}}

.actions a.btn, #imageArea a.btn { display: inline-block; text-decoration: none; }
#viewerRounds [aria-current="page"] { background: #3059d5; color: white; }
#imageArea a.btn { margin-top: 10px; }
button:disabled { cursor: wait; opacity: .65; }
