:root{--bg:#f6f7f9;--card:#fff;--soft:#f2f4f7;--border:#dfe4ea;--text:#2d3540;--muted:#748091;--quiet:#a0a9b5;--blue:#2479d9;--green:#35c759;--red:#ff4d4f;--shadow:0 18px 50px rgba(44,58,72,.12)}html[data-theme=dark]{--bg:#10151d;--card:#18202b;--soft:#202b38;--border:#2c3948;--text:#f2f5f8;--muted:#a5b0bd;--quiet:#6f7d8d;--blue:#4b9cf2;--green:#55d778;--red:#ff6b6d;--shadow:0 22px 60px rgba(0,0,0,.35)}*{box-sizing:border-box}html{color-scheme:light}html[data-theme=dark]{color-scheme:dark}body{margin:0;min-width:320px;min-height:100vh;color:var(--text);background:var(--bg);font-family:Arial,"Helvetica Neue",sans-serif;font-size:14px;line-height:1.4;-webkit-font-smoothing:antialiased}button,input{font:inherit}.topbar{width:min(760px,calc(100% - 32px));height:66px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:8px;color:var(--text);text-decoration:none;font-size:17px;letter-spacing:-.02em}.brand img{width:32px;height:32px;border-radius:9px}.brand strong{color:#ff5429}.theme-toggle{width:34px;height:34px;color:var(--muted);border:1px solid var(--border);border-radius:50%;background:var(--card);cursor:pointer}.page{width:min(560px,calc(100% - 24px));margin:0 auto;padding:34px 0 44px}.intro{text-align:center}.free-badge{display:inline-block;color:var(--green);font-size:10px;font-weight:700;letter-spacing:.08em}.intro h1{margin:10px 0 7px;font-size:30px;line-height:1.15;letter-spacing:-.035em}.intro p{margin:0 auto 22px;color:var(--muted);font-size:13px}.tool{position:relative;border:1px solid var(--border);border-radius:16px;background:var(--card);box-shadow:var(--shadow);overflow:hidden}.form-view{padding:22px}.services{margin:0 0 18px;padding:4px;display:flex;gap:5px;overflow-x:auto;border:1px solid var(--border);border-radius:12px;background:var(--soft);scrollbar-width:none}.services::-webkit-scrollbar{display:none}.services legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.service{position:relative;min-width:0;flex:1 0 190px;height:58px;padding:7px 10px;display:flex;align-items:center;gap:8px;color:var(--muted);border:1px solid transparent;border-radius:9px;cursor:pointer}.service.selected{color:var(--text);border-color:var(--border);background:var(--card)}.service input{position:absolute;opacity:0}.service-emoji{font-size:22px}.service>span:last-child{min-width:0}.service strong,.service small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service strong{font-size:11px}.service small{margin-top:2px;color:var(--quiet);font-size:8px}.input-label{display:block;margin:0 0 7px;color:var(--muted);font-size:11px}.input-wrap{position:relative;display:flex;align-items:center}.input-wrap>span{position:absolute;left:14px;color:var(--quiet);font-size:19px}.input-wrap input{width:100%;height:51px;padding:0 42px;color:var(--text);border:1px solid var(--border);outline:0;border-radius:11px;background:var(--card);font-size:14px}.input-wrap input:focus{border-color:#70a9e6;box-shadow:0 0 0 3px rgba(36,121,217,.08)}.input-wrap input::placeholder{color:var(--quiet)}#clear-input{position:absolute;right:7px;width:35px;height:35px;color:var(--quiet);border:0;background:transparent;font-size:20px;cursor:pointer;opacity:0;pointer-events:none}#clear-input.visible{opacity:1;pointer-events:auto}.input-note{margin:6px 2px 16px;display:flex;justify-content:space-between;color:var(--quiet);font-size:9px}.input-note b{color:var(--muted)}.submit-button{width:100%;height:50px;display:flex;align-items:center;justify-content:center;gap:10px;color:#fff;border:0;border-radius:10px;background:var(--blue);font-size:12px;font-weight:700;cursor:pointer}.submit-button:hover:not(:disabled){filter:brightness(1.05)}.submit-button:disabled{opacity:.5;cursor:not-allowed}.submit-button b{font-size:17px}.submit-button i{display:none;width:15px;height:15px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.submit-button.loading i{display:block}.submit-button.loading b{display:none}.form-message{min-height:17px;margin:8px 0 0;color:var(--red);text-align:center;font-size:10px}.privacy{margin:2px 0 0;color:var(--quiet);text-align:center;font-size:9px}.honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.unavailable{margin-bottom:15px;padding:12px;color:var(--muted);border:1px dashed var(--border);border-radius:9px;text-align:center;font-size:11px}.loading-bar{position:absolute;z-index:3;top:0;left:0;width:0;height:3px;background:linear-gradient(90deg,var(--blue),#27cce3);transition:width .3s}.tool.loading .loading-bar{width:78%;animation:loading 1.5s ease-in-out infinite}
.result-view{position:relative;padding:25px 30px 18px;text-align:center;animation:show .3s ease}.close-result{position:absolute;top:12px;right:14px;width:32px;height:32px;color:var(--quiet);border:0;background:transparent;font-size:24px;cursor:pointer}.success-label{color:var(--green);font-size:9px;font-weight:700;letter-spacing:.08em}.device-emoji{margin:17px 0 8px;font-size:48px;line-height:1}.result-view h2{margin:0;color:var(--text);font-size:27px;line-height:1.15;letter-spacing:-.025em}.result-service{margin:5px 0;color:var(--muted);font-size:11px}.result-view>code{display:block;margin:0 0 18px;color:var(--muted);font-family:inherit;font-size:12px}.result-lines{max-height:390px;padding:16px 6px;overflow:auto;border-top:1px solid var(--border);border-bottom:1px solid var(--border);scrollbar-width:thin;scrollbar-color:var(--border) transparent}.result-line{min-height:26px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px}.result-line .label{color:var(--muted)}.result-line .value{color:var(--text);font-weight:500;overflow-wrap:anywhere}.pill{display:inline-flex;align-items:center;min-height:21px;padding:2px 7px;color:#fff;border-radius:6px;font-size:11px;font-weight:700}.pill.good{background:var(--green)}.pill.bad{background:var(--red)}.pill.info{background:var(--blue)}.pill.neutral{color:var(--text);border:1px solid var(--border);background:var(--soft)}.result-footer{padding:16px 0 3px;display:flex;align-items:center;justify-content:space-between;text-align:left}.result-footer strong,.result-footer small{display:block}.result-footer strong{font-size:12px}.result-footer small{margin-top:3px;color:var(--quiet);font-size:8px}.result-footer button{height:34px;padding:0 11px;color:var(--text);border:1px solid var(--border);border-radius:8px;background:var(--card);font-size:10px;font-weight:600;cursor:pointer}.disclaimer{margin:11px 0 0;color:var(--quiet);font-size:8px}.page.result-mode{padding-top:18px}.page.result-mode .intro{display:none}footer{padding:0 20px 18px;color:var(--quiet);text-align:center;font-size:9px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes loading{0%,100%{transform:translateX(-20%)}50%{transform:translateX(42%)}}@keyframes show{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:520px){.topbar{height:58px}.page{padding:25px 0 35px}.intro h1{font-size:26px}.intro p{font-size:12px}.form-view{padding:15px}.services{margin-bottom:15px}.service{flex-basis:165px;height:54px}.input-wrap input{height:49px}.submit-button{height:48px}.result-view{padding:22px 14px 15px}.device-emoji{font-size:42px}.result-view h2{font-size:24px}.result-lines{max-height:53vh;padding:13px 0}.result-line{font-size:13px;flex-wrap:wrap}.result-footer{padding-top:13px}.disclaimer{line-height:1.5}}
@media(max-width:350px){.result-line{display:block;margin-bottom:7px}.result-line .label{display:block;font-size:11px}.pill{margin-top:2px}}
.device-visual{width:92px;height:112px;margin:14px auto 8px;display:grid;place-items:center}.device-visual img{max-width:86px;max-height:108px;display:block;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(35,45,58,.18))}.device-visual span{font-size:48px;line-height:1}@media(max-width:520px){.device-visual{width:82px;height:101px}.device-visual img{max-width:76px;max-height:98px}.device-visual span{font-size:42px}}
.service-brand,.device-brand{display:inline-block;flex:0 0 auto;color:var(--text);background-color:currentColor}.service-brand--apple,.device-brand--apple{-webkit-mask:url('apple.svg') center/contain no-repeat;mask:url('apple.svg') center/contain no-repeat}.service-brand--samsung,.device-brand--samsung{-webkit-mask:url('samsung.svg') center/contain no-repeat;mask:url('samsung.svg') center/contain no-repeat}.service-brand{width:24px;height:24px}.service-brand--samsung{width:34px}.service-brand--device,.device-brand--device{background:transparent}.device-brand{width:52px;height:62px}.device-brand--samsung{width:82px;height:48px}
@media(max-width:520px){.topbar{width:calc(100% - 20px)}.page{width:calc(100% - 16px);padding:20px 0 30px}.intro h1{font-size:24px}.intro p{max-width:310px;margin-bottom:17px;line-height:1.55}.tool{border-radius:14px}.services{padding:5px;display:grid;grid-template-columns:1fr;overflow:visible}.service{width:100%;height:55px;min-width:0;flex:none}.service strong{font-size:12px}.service small{font-size:9px}.result-view{padding:20px 12px 14px}.close-result{top:8px;right:8px}.device-visual{width:76px;height:91px;margin-top:10px}.device-visual img{max-width:70px;max-height:88px}.device-brand{width:44px;height:54px}.device-brand--samsung{width:70px;height:42px}.result-view h2{font-size:22px}.result-lines{max-height:none;padding:12px 0;overflow:visible}.result-line{min-height:25px;padding:2px 0;font-size:13px}.result-footer{gap:10px}.result-footer>div{min-width:0}.result-footer strong{font-size:11px}.result-footer button{flex:0 0 auto}}
@media(max-width:370px){.form-view{padding:13px}.intro h1{font-size:22px}.result-view{padding-inline:10px}.result-line{display:flex;margin:0}.result-line .label{display:inline;font-size:12px}.result-footer{align-items:flex-start;flex-direction:column}.result-footer button{width:100%}}
html,body{max-width:100%;overflow-x:hidden}.topbar,.page,.tool,.form-view,.form-view form,.services,.input-wrap,.submit-button,.result-view{min-width:0;max-width:100%}fieldset.services{min-inline-size:0}
.device-visual [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
