:root{--bg:#020b18;--card:#07172d;--card2:#0a1c35;--line:rgba(92,142,215,.18);--text:#f4f8ff;--muted:#8fa7ca;--blue:#00c8ff;--green:#21e694;--red:#ff4964;--purple:#7c32ff;--orange:#ff8a18}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;color:var(--text);background:radial-gradient(circle at 20% 0%,rgba(9,78,154,.28),transparent 34%),radial-gradient(circle at 75% 6%,rgba(88,41,150,.24),transparent 38%),linear-gradient(180deg,#041124 0%,#020b18 55%,#010713 100%);}
body{padding:18px 0 24px}.app{width:min(430px,100%);margin:0 auto;padding:0 14px 0}.topbar{display:flex;align-items:center;justify-content:space-between;margin:4px 0 18px}.brand{display:flex;gap:10px;align-items:center}.logo{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#083c8e,#06c5ff);display:flex;align-items:center;justify-content:center;box-shadow:0 0 24px rgba(0,191,255,.24);font-size:20px}.brand h1{margin:0;font-size:20px;line-height:1.1;font-weight:950;letter-spacing:.2px}.brand p{margin:4px 0 0;color:#93a9ca;font-size:11px;font-weight:700}.menu{width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:rgba(10,29,56,.82);color:#b9d4fa;font-size:20px;display:flex;align-items:center;justify-content:center}.hero{position:relative;overflow:hidden;border-radius:10px;margin:0 0 12px;padding:26px 22px;min-height:132px;border:1px solid rgba(78,124,214,.26);background:linear-gradient(120deg,#7130ca 0%,#244ee0 55%,#027fff 100%);box-shadow:0 18px 50px rgba(0,0,0,.28)}.hero h2{margin:0 0 8px;font-size:24px;font-weight:950;letter-spacing:.3px}.hero p{margin:0;color:#d5e8ff;font-size:15px;line-height:1.55;font-weight:700;max-width:230px}.cube{position:absolute;right:28px;top:29px;width:86px;height:86px;border-radius:16px;background:linear-gradient(135deg,rgba(136,89,255,.45),rgba(0,214,255,.5));transform:rotate(45deg);filter:drop-shadow(0 20px 34px rgba(0,175,255,.18));opacity:.88}.cube:before,.cube:after{content:"";position:absolute;border-radius:8px;background:rgba(0,216,255,.18)}.cube:before{width:22px;height:22px;left:-34px;top:12px}.cube:after{width:18px;height:18px;right:-36px;bottom:8px}.panel{background:linear-gradient(180deg,rgba(9,25,49,.92),rgba(5,17,34,.96));border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 52px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.035);padding:16px;margin:12px 0}.field{margin-bottom:14px}.label{font-size:13px;font-weight:800;color:#a9c3e7;margin:0 0 8px;letter-spacing:.2px}.input-wrap{display:flex;align-items:center;height:46px;border-radius:8px;background:rgba(20,44,78,.58);border:1px solid rgba(92,142,215,.16);box-shadow:inset 0 1px 6px rgba(0,0,0,.2);overflow:hidden}.input-wrap .ico{width:42px;text-align:center;color:#91b7e9;font-size:18px}.input-wrap input{flex:1;height:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:14px;font-weight:650}.input-wrap input::placeholder{color:#7f95b5}.clear{width:32px;height:32px;border:0;background:transparent;color:#7186a8;font-size:16px}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.action{position:relative;height:64px;border:1px solid rgba(92,142,215,.16);border-radius:8px;background:linear-gradient(135deg,rgba(27,51,91,.9),rgba(10,34,68,.88));color:#fff;text-align:left;padding:12px 10px 12px 62px;font-weight:950;font-size:15px;box-shadow:inset 0 1px rgba(255,255,255,.04);cursor:pointer}.action small{display:block;color:#8fa7c9;font-size:11px;font-weight:700;margin-top:2px;line-height:1.1}.action i{position:absolute;left:14px;top:14px;width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:22px}.a-purple{background:linear-gradient(135deg,rgba(87,38,160,.76),rgba(17,38,79,.88))}.a-purple i{background:linear-gradient(135deg,#903dff,#4e1ed8)}.a-blue{background:linear-gradient(135deg,rgba(4,71,147,.75),rgba(12,45,88,.88))}.a-blue i{background:linear-gradient(135deg,#0dd7ff,#005bdf)}.a-green{background:linear-gradient(135deg,rgba(0,94,71,.56),rgba(12,48,70,.85))}.a-green i{background:linear-gradient(135deg,#00df9f,#008e68)}.a-orange{background:linear-gradient(135deg,rgba(103,60,22,.56),rgba(42,39,45,.86))}.a-orange i{background:linear-gradient(135deg,#ff9b1c,#9e4d07)}.a-red{background:linear-gradient(135deg,rgba(115,23,54,.58),rgba(40,30,61,.86))}.a-red i{background:linear-gradient(135deg,#ff4964,#bb1948)}.a-sky{background:linear-gradient(135deg,rgba(0,78,160,.66),rgba(15,45,88,.88))}.a-sky i{background:linear-gradient(135deg,#16c2ff,#0059f8)}.section{background:linear-gradient(180deg,rgba(8,25,48,.94),rgba(5,17,33,.97));border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:14px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-weight:950;font-size:16px}.section-head span:first-child:before{content:"▧";color:#93b9f0;margin-right:8px}.refresh{border:0;background:transparent;color:#9ab9e6;font-size:13px;font-weight:800}.empty{min-height:174px;border:1px solid rgba(92,142,215,.12);border-radius:8px;display:flex;align-items:center;justify-content:center;text-align:center;color:#8fa7ca;font-weight:750;line-height:1.7;padding:18px}.empty .box{font-size:54px;display:block;margin-bottom:8px;filter:drop-shadow(0 10px 24px rgba(61,103,255,.32))}.tip{margin-top:10px;border-radius:8px;background:rgba(18,42,76,.46);border:1px solid rgba(92,142,215,.12);padding:12px 14px;color:#9cb5d5;font-size:13px;line-height:1.7}.tip b{color:#cce2ff}.result-ok{background:linear-gradient(90deg,rgba(0,196,122,.18),rgba(0,196,122,.05));border:1px solid rgba(0,224,142,.24);color:#21e694;border-radius:8px;padding:12px;font-weight:950;margin-bottom:10px}.rows{border:1px solid rgba(92,142,215,.12);border-radius:8px;overflow:hidden}.row{display:grid;grid-template-columns:108px 1fr;gap:8px;padding:10px 12px;border-bottom:1px solid rgba(92,142,215,.10);align-items:center}.row:last-child{border-bottom:0}.rk{color:#8fa7ca;font-size:13px}.rv{color:#fff;text-align:right;font-size:13px;font-weight:750;word-break:break-all}.rv.green{color:#20ee9d}.rv.red{color:#ff5b72}.log-row{display:grid;grid-template-columns:1fr 56px 124px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid rgba(92,142,215,.08);font-size:13px}.log-row:last-child{border-bottom:0}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);margin-right:9px}.dot.red{background:var(--red)}.status-grid{display:grid;grid-template-columns:1fr auto;gap:10px;line-height:1.9;color:#9fb7d7}.secure{display:flex;align-items:center;gap:12px}.secure-icon{width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#133a87,#0b7fff);display:flex;align-items:center;justify-content:center}.nav{position:sticky;bottom:10px;z-index:8;display:grid;grid-template-columns:1fr 1fr 1fr;margin:14px 0 12px;background:rgba(7,20,39,.86);border:1px solid var(--line);border-radius:10px;backdrop-filter:blur(16px);overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.34)}.nav a,.nav button{height:62px;border:0;background:transparent;color:#7f93b2;font-size:13px;font-weight:800;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative}.nav .active{color:#fff}.nav .active:after{content:"";position:absolute;left:24%;right:24%;bottom:0;height:3px;background:#18d8ff;border-radius:5px;box-shadow:0 0 18px #18d8ff}.notice{border-radius:8px;margin:10px 0;padding:12px;color:#fff;font-weight:800}.notice.err{background:rgba(255,73,100,.15);border:1px solid rgba(255,73,100,.25);color:#ff8da0}.notice.ok{background:rgba(33,230,148,.12);border:1px solid rgba(33,230,148,.25);color:#40f0ab}.footer{text-align:center;color:#6f82a2;font-size:12px;line-height:1.7;margin:6px 0 0}.cert-simple{display:none}.cert-simple.active{display:block}.soft-page{display:none}.soft-page.active{display:block}.cert-card{background:linear-gradient(180deg,rgba(9,25,49,.92),rgba(5,17,34,.96));border:1px solid var(--line);border-radius:10px;padding:16px;margin:12px 0}.btn-primary{width:100%;height:52px;border:0;border-radius:8px;background:linear-gradient(135deg,#0872ff,#0dd7ff);color:#fff;font-size:16px;font-weight:950}.btn-secondary{width:100%;height:46px;border-radius:8px;background:rgba(20,44,78,.72);border:1px solid rgba(92,142,215,.16);color:#d3e7ff;font-weight:900;margin-top:10px} .cert-mini-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 10px;margin-bottom:4px;border-bottom:1px solid rgba(92,142,215,.12);font-size:15px}.cert-mini-title b{font-size:16px}.cert-result-card{margin-bottom:12px}.cert-result-card .row:last-child{border-bottom:0}@media(min-width:760px){body{padding-top:30px}.app{max-width:430px}.topbar{margin-top:0}.action:hover{transform:translateY(-1px);filter:brightness(1.06)}}.cert-actions{display:grid;grid-template-columns:1fr;gap:10px;margin:12px 0 0}.cert-op{height:46px;border:0;border-radius:8px;color:#fff;font-weight:950;font-size:14px;box-shadow:inset 0 1px rgba(255,255,255,.05);cursor:pointer}.cert-danger{background:linear-gradient(135deg,#ff4964,#a4143e)}.cert-warn{background:linear-gradient(135deg,#ff9b1c,#9e4d07)}.cert-ok{background:linear-gradient(135deg,#21e694,#008e68)}@media(min-width:390px){.cert-actions{grid-template-columns:1fr 1fr 1fr}.cert-op{font-size:13px}}

/* V13：证书管理按钮统一为软件园卡片按钮 + 暗黑/白天主题 + 流畅动效 */
:root{--ease:cubic-bezier(.2,.8,.2,1)}
html{scroll-behavior:smooth}body,.panel,.section,.cert-card,.hero,.action,.input-wrap,.btn-secondary,.nav{transition:background .28s var(--ease),border-color .28s var(--ease),box-shadow .28s var(--ease),color .28s var(--ease),transform .18s var(--ease),filter .18s var(--ease)}
.top-actions{display:flex;align-items:center;gap:8px}.theme-toggle{width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:rgba(10,29,56,.82);color:#dceaff;font-size:17px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 1px rgba(255,255,255,.05)}
.cert-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.cert-card-btn{width:100%;height:64px}.cert-card-btn span{display:block}.cert-card-btn small{display:block}.action:active,.btn-primary:active,.btn-secondary:active,.theme-toggle:active,.nav button:active,.nav a:active{transform:scale(.985)}
@media(hover:hover){.action:hover,.btn-primary:hover,.btn-secondary:hover,.theme-toggle:hover{filter:brightness(1.08);transform:translateY(-1px)}}
@media(max-width:360px){.action{padding-left:54px;font-size:13px}.action i{left:10px}.cert-action-grid,.actions{gap:8px}.hero h2{font-size:22px}.brand h1{font-size:18px}}

html[data-theme="light"] body,body.light-theme{--bg:#edf5ff;--card:#ffffff;--card2:#f8fbff;--line:rgba(45,105,200,.16);--text:#08224a;--muted:#60789b;background:radial-gradient(circle at 18% 0%,rgba(13,120,255,.14),transparent 34%),radial-gradient(circle at 78% 2%,rgba(0,194,255,.13),transparent 36%),linear-gradient(180deg,#eef7ff 0%,#f7fbff 55%,#edf5ff 100%);color:var(--text)}
html[data-theme="light"] .brand p,body.light-theme .brand p{color:#5d7394}html[data-theme="light"] .logo,body.light-theme .logo{box-shadow:0 12px 26px rgba(0,126,255,.20)}
html[data-theme="light"] .menu,html[data-theme="light"] .theme-toggle,body.light-theme .menu,body.light-theme .theme-toggle{background:rgba(255,255,255,.72);border-color:rgba(48,111,209,.18);color:#0c3b7c;box-shadow:0 10px 28px rgba(40,105,190,.10)}
html[data-theme="light"] .panel,html[data-theme="light"] .section,html[data-theme="light"] .cert-card,body.light-theme .panel,body.light-theme .section,body.light-theme .cert-card{background:rgba(255,255,255,.86);border-color:rgba(50,112,206,.16);box-shadow:0 18px 46px rgba(39,93,160,.12),inset 0 1px rgba(255,255,255,.75)}
html[data-theme="light"] .input-wrap,body.light-theme .input-wrap{background:#f7fbff;border-color:rgba(45,105,200,.18);box-shadow:inset 0 1px 2px rgba(28,70,130,.04)}
html[data-theme="light"] .input-wrap input,body.light-theme .input-wrap input{color:#08224a}html[data-theme="light"] .input-wrap input::placeholder,body.light-theme .input-wrap input::placeholder{color:#7d8ca3}html[data-theme="light"] .label,body.light-theme .label{color:#315176}
html[data-theme="light"] .section-head,html[data-theme="light"] .cert-mini-title,body.light-theme .section-head,body.light-theme .cert-mini-title{color:#08224a}html[data-theme="light"] .empty,body.light-theme .empty{background:#f9fcff;color:#6680a6;border-color:rgba(45,105,200,.12)}html[data-theme="light"] .tip,body.light-theme .tip{background:#f7fbff;color:#536f95;border-color:rgba(45,105,200,.12)}
html[data-theme="light"] .btn-secondary,body.light-theme .btn-secondary{background:#f7fbff;border-color:rgba(45,105,200,.18);color:#23518e}html[data-theme="light"] .nav,body.light-theme .nav{background:rgba(255,255,255,.82);border-color:rgba(45,105,200,.18);box-shadow:0 16px 46px rgba(50,105,175,.16)}html[data-theme="light"] .nav a,html[data-theme="light"] .nav button,body.light-theme .nav a,body.light-theme .nav button{color:#7587a3}html[data-theme="light"] .nav .active,body.light-theme .nav .active{color:#0b3c85}
html[data-theme="light"] .row,body.light-theme .row{border-bottom-color:rgba(45,105,200,.10)}html[data-theme="light"] .rk,body.light-theme .rk{color:#647b9d}html[data-theme="light"] .rv,body.light-theme .rv{color:#0b244c}html[data-theme="light"] .footer,body.light-theme .footer{color:#7587a3}
[v-cloak]{display:none!important}.vue-toast{position:fixed;left:50%;top:18px;transform:translateX(-50%);z-index:9999;padding:12px 18px;border-radius:999px;font-weight:800;box-shadow:0 18px 50px rgba(0,0,0,.28);backdrop-filter:blur(16px);animation:toastIn .18s ease-out}.vue-toast.ok{background:rgba(31,207,128,.18);border:1px solid rgba(31,207,128,.38);color:#76ffbd}.vue-toast.bad{background:rgba(255,80,100,.18);border:1px solid rgba(255,80,100,.42);color:#ff9cac}html[data-theme=light] .vue-toast.ok{background:#e9fff4;color:#067b42}html[data-theme=light] .vue-toast.bad{background:#fff0f2;color:#b42336}@keyframes toastIn{from{opacity:0;transform:translate(-50%,-12px)}to{opacity:1;transform:translate(-50%,0)}}button[disabled]{opacity:.65;cursor:not-allowed;filter:saturate(.75)}.action{transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.action:not([disabled]):active{transform:scale(.985)}
/* V18 Vue 修复与屏幕适配优化 */
.vue-toast{display:none}.vue-toast[style*="display: block"],.vue-toast.ok,.vue-toast.bad{display:block}
html[data-theme=light] body{background:linear-gradient(180deg,#dff1ff 0%,#f7fbff 55%,#eaf3ff 100%);color:#0d2746}
html[data-theme=light] .panel,html[data-theme=light] .cert-card,html[data-theme=light] .section{background:rgba(255,255,255,.86);border-color:rgba(40,110,210,.18);box-shadow:0 18px 38px rgba(22,72,130,.10)}
html[data-theme=light] .input-wrap{background:#f7fbff;border-color:#cfe0f6}html[data-theme=light] .input-wrap input{color:#0b2848}html[data-theme=light] .label,html[data-theme=light] .rk,html[data-theme=light] .tip{color:#41627f}html[data-theme=light] .tip{background:#f7fbff;border-color:#d7e5f6}html[data-theme=light] .nav{background:rgba(255,255,255,.86);box-shadow:0 12px 30px rgba(25,85,145,.14)}html[data-theme=light] .nav .active{color:#0a3d7a}html[data-theme=light] .brand p,html[data-theme=light] .footer{color:#5b7594}
@media (max-width:390px){.app{padding-left:12px;padding-right:12px}.hero{padding:22px 18px;min-height:120px}.hero h2{font-size:22px}.hero p{font-size:14px}.action{height:60px;padding-left:56px;font-size:14px}.action i{width:34px;height:34px;left:12px}.brand h1{font-size:19px}.nav a,.nav button{height:58px}}
@media (min-width:900px){.app{width:min(760px,100%)}.actions,.cert-action-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:145px}.section,.cert-card,.panel{padding:18px}.topbar{max-width:760px}}
@media (prefers-reduced-motion:no-preference){.panel,.cert-card,.section,.hero,.nav{animation:softUp .28s ease both}@keyframes softUp{from{opacity:.001;transform:translateY(8px)}to{opacity:1;transform:none}}}


/* V19 稳定修复：确保证书管理按钮、主题按钮和底部导航在所有屏幕显示正常 */
body{padding-bottom:calc(110px + env(safe-area-inset-bottom));}
.cert-action-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:18px!important;visibility:visible!important;opacity:1!important;}
.cert-action-grid .action{display:block!important;min-height:64px!important;}
.cert-card form{display:block!important;}
.theme-toggle{width:auto!important;min-width:64px!important;padding:0 10px!important;gap:4px!important;font-size:16px!important;}
.theme-toggle em{font-style:normal;font-size:11px;font-weight:900;line-height:1;}
.top-actions{display:flex!important;}
.nav{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));}
#resultsBox:empty{display:none;}
@media(max-width:380px){.cert-action-grid,.actions{grid-template-columns:1fr 1fr!important}.action{height:62px!important;padding-left:54px!important;font-size:13px!important}.action i{left:10px!important;width:34px!important;height:34px!important}.theme-toggle em{display:none}.theme-toggle{min-width:40px!important;width:40px!important;padding:0!important}}
@media(min-width:900px){body{padding-bottom:40px}.nav{position:sticky;}.app{width:min(760px,100%);}.cert-card,.panel,.section{border-radius:14px}.hero{border-radius:14px}.cert-action-grid,.actions{grid-template-columns:repeat(2,1fr)!important}.action{height:72px!important;font-size:17px!important}}
html[data-theme="light"] .theme-toggle span,body.light-theme .theme-toggle span{filter:saturate(1.1)}

/* V22：结果生成图片按钮 */
.image-tools{display:flex;justify-content:center;margin:14px 0 2px}.save-image-btn{width:100%;height:46px;border:0;border-radius:10px;background:linear-gradient(135deg,#7b2cff,#10cfff);color:#fff;font-weight:950;font-size:15px;box-shadow:0 14px 30px rgba(0,132,255,.18);cursor:pointer}.save-image-btn:active{transform:scale(.985)}html[data-theme=light] .save-image-btn{background:linear-gradient(135deg,#126cff,#04c7f7);box-shadow:0 14px 28px rgba(16,100,210,.18)}


/* V23：底部导航固定锁定 + 自适应安全区，避免滚动时来回跳动或盖住结果 */
body{padding-bottom:calc(132px + env(safe-area-inset-bottom))!important;}
.app{padding-bottom:18px!important;}
.nav{
  position:fixed!important;
  left:50%!important;
  bottom:calc(12px + env(safe-area-inset-bottom))!important;
  transform:translateX(-50%) translateZ(0)!important;
  width:min(402px, calc(100vw - 28px))!important;
  margin:0!important;
  z-index:80!important;
  will-change:transform!important;
  backface-visibility:hidden!important;
  -webkit-backdrop-filter:blur(18px)!important;
  backdrop-filter:blur(18px)!important;
}
.footer{margin-bottom:18px!important;}
#resultsBox{scroll-margin-bottom:140px;}
@media(min-width:900px){
  body{padding-bottom:calc(118px + env(safe-area-inset-bottom))!important;}
  .nav{width:min(732px, calc(100vw - 56px))!important;}
}
@media(max-width:380px){
  .nav{width:calc(100vw - 22px)!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;}
  body{padding-bottom:calc(126px + env(safe-area-inset-bottom))!important;}
}

/* V24：底部导航真正贴合屏幕底部，内容预留安全距离，不再挡查询结果 */
html,body{max-width:100%;overflow-x:hidden!important;}
body{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important;}
.app{width:min(430px,100%)!important;max-width:430px!important;margin-left:auto!important;margin-right:auto!important;overflow-x:hidden!important;padding-left:14px!important;padding-right:14px!important;padding-bottom:8px!important;}
.nav{position:fixed!important;left:50%!important;right:auto!important;bottom:env(safe-area-inset-bottom)!important;transform:translateX(-50%)!important;width:min(402px, calc(100vw - 28px))!important;margin:0!important;border-radius:16px 16px 0 0!important;z-index:999!important;box-shadow:0 -10px 38px rgba(0,0,0,.26)!important;}
.nav a,.nav button{height:72px!important;padding-top:8px!important;padding-bottom:8px!important;}
.footer{margin-bottom:92px!important;}
#resultsBox{scroll-margin-bottom:128px!important;}
.section:last-of-type{margin-bottom:22px!important;}

/* V24：输入框固定宽度，输入长 UDID / 卡密时不再左右晃、不撑开页面 */
.field,.input-wrap,.input-box,.query-box,.panel,.cert-card,.section,.hero{max-width:100%!important;min-width:0!important;}
.input-wrap{width:100%!important;min-width:0!important;overflow:hidden!important;contain:layout paint;}
.input-wrap input{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;font-variant-ligatures:none;}
.input-wrap .ico{flex:0 0 42px!important}.input-wrap .clear{flex:0 0 32px!important}
.row{min-width:0!important}.rv{min-width:0!important;overflow-wrap:anywhere!important;word-break:break-word!important;}

@media(max-width:390px){
  .app{padding-left:12px!important;padding-right:12px!important;}
  .nav{width:calc(100vw - 20px)!important;}
  .nav a,.nav button{height:70px!important;}
  body{padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;}
}
@media(min-width:900px){
  .app{width:min(760px,100%)!important;max-width:760px!important;}
  .nav{width:min(720px, calc(100vw - 56px))!important;border-radius:16px!important;bottom:18px!important;}
  body{padding-bottom:118px!important;}
  .footer{margin-bottom:105px!important;}
}


/* V25: 底部导航与输入稳定优化 */
html,body{overflow-x:hidden;}
.app{max-width:430px;width:100%;overflow-x:hidden;padding-bottom:112px;}
.input-wrap,.field,.panel,.section{max-width:100%;min-width:0;}
.input-wrap input{width:100%;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.nav{position:fixed;left:50%;right:auto;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 28px);max-width:402px;margin:0;z-index:50;}
.footer{padding-bottom:88px;}
@media(min-width:760px){.nav{max-width:402px}}


/* V26：彻底锁定移动端宽度，解决输入时 iOS 自动放大/左右晃动 */
html{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
  -webkit-text-size-adjust:100%;
  touch-action:manipulation;
}
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
  position:relative;
}
.app{
  width:100%!important;
  max-width:430px!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow-x:hidden!important;
}
.hero,.panel,.section,.cert-card,.field,.input-wrap,.actions,.cert-action-grid,.row,.rows{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
}
.actions,.cert-action-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
}
.action,.cert-card-btn{
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.action small,.cert-card-btn small{
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.input-wrap{
  flex-wrap:nowrap!important;
  transform:translateZ(0);
}
.input-wrap input,
input,textarea,select{
  font-size:16px!important; /* iOS 小于 16px 会自动放大页面 */
  line-height:1.25!important;
}
.input-wrap input{
  flex:1 1 auto!important;
  min-width:0!important;
  width:1%!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.input-wrap .ico{flex:0 0 42px!important;width:42px!important;min-width:42px!important;}
.input-wrap .clear{flex:0 0 32px!important;width:32px!important;min-width:32px!important;}
.row{grid-template-columns:108px minmax(0,1fr)!important;}
.rv{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
@media(max-width:430px){
  .app{max-width:100vw!important;padding-left:14px!important;padding-right:14px!important;}
  .hero{padding-left:22px!important;padding-right:22px!important;}
  .action{padding-left:58px!important;padding-right:8px!important;}
  .action i{left:12px!important;}
}
@media(max-width:360px){
  .app{padding-left:10px!important;padding-right:10px!important;}
  .action{font-size:13px!important;padding-left:50px!important;}
  .action i{width:32px!important;height:32px!important;left:10px!important;}
}

/* V25：证书查询售后进度条，仅作用于证书结果卡片 */
.cert-result-card .sale-progress{height:18px;border-radius:999px;background:rgba(130,155,190,.18);overflow:hidden;position:relative;min-width:150px;box-shadow:inset 0 1px 3px rgba(0,0,0,.12)}
.cert-result-card .sale-progress span{display:block;height:100%;min-width:34px;border-radius:999px;background:linear-gradient(90deg,#1687ff,#12d6ff);position:relative;transition:width .25s ease}
.cert-result-card .sale-progress em{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-style:normal;font-size:11px;font-weight:950;color:#fff;white-space:nowrap;line-height:1}
html[data-theme=light] .cert-result-card .sale-progress,body.light-theme .cert-result-card .sale-progress{background:#e9f0f8}

/* V26：强制售后进度显示为进度条，避免手机缓存旧样式时只显示文字 */
.cert-result-card .sale-progress-row .sale-progress-cell{display:flex!important;justify-content:flex-end!important;align-items:center!important;text-align:left!important;}
.cert-result-card .sale-progress-row .sale-progress{display:block!important;width:100%!important;max-width:260px!important;height:24px!important;border-radius:999px!important;background:#e9f0f8!important;overflow:hidden!important;position:relative!important;}
.cert-result-card .sale-progress-row .sale-progress .sale-progress-fill{display:block!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;height:100%!important;min-width:42px!important;border-radius:999px!important;background:linear-gradient(90deg,#1687ff,#12d6ff)!important;}
.cert-result-card .sale-progress-row .sale-progress em{position:relative!important;inset:auto!important;transform:none!important;z-index:1!important;display:flex!important;width:100%!important;height:100%!important;margin:0!important;padding:0 0 1px!important;align-items:center!important;justify-content:center!important;text-align:center!important;font-style:normal!important;font-size:12px!important;font-weight:950!important;color:#fff!important;white-space:nowrap!important;line-height:1!important;}

/* 查询结果中的 UDID / 卡密可直接点击复制，不额外显示按钮 */
.copy-value{cursor:pointer;user-select:none;-webkit-user-select:none;transition:opacity .15s ease,color .15s ease}
.copy-value:active{opacity:.55}


/* V26：修复查询结果保存图片，生成时隐藏操作按钮，避免保存到图片里 */
.saving-image .image-tools,.saving-image .refresh{display:none!important}
.saving-image{box-shadow:none!important;animation:none!important}
.save-image-btn:disabled{opacity:.72;filter:grayscale(.12);cursor:not-allowed}


/* V1.0.1：修复暗黑/日间模式底栏三入口错位，固定显示 首页/证书查询/软件园查询 */
html,body{max-width:100%;overflow-x:hidden!important;}
body{padding-bottom:calc(118px + env(safe-area-inset-bottom))!important;}
.app{width:min(430px,100%)!important;max-width:430px!important;margin:0 auto!important;padding-left:14px!important;padding-right:14px!important;padding-bottom:120px!important;box-sizing:border-box!important;overflow:visible!important;}
.nav{position:fixed!important;left:50%!important;right:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;width:min(402px,calc(100vw - 28px))!important;max-width:402px!important;margin:0!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;border-radius:18px!important;overflow:hidden!important;z-index:9999!important;box-sizing:border-box!important;background:rgba(7,20,39,.94)!important;border:1px solid rgba(91,131,190,.28)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;}
.nav a,.nav button{min-width:0!important;height:74px!important;line-height:1.15!important;white-space:nowrap!important;font-size:12px!important;padding:6px 2px!important;box-sizing:border-box!important;}
.nav a span,.nav button span{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:clip!important;}
html[data-theme="light"] .nav,body.light-theme .nav{background:rgba(255,255,255,.96)!important;border-color:rgba(43,98,170,.18)!important;box-shadow:0 -10px 34px rgba(34,82,140,.16)!important;}
html[data-theme="light"] .nav a,html[data-theme="light"] .nav button,body.light-theme .nav a,body.light-theme .nav button{color:#64748b!important;}
html[data-theme="light"] .nav .active,body.light-theme .nav .active{color:#126bff!important;background:linear-gradient(180deg,rgba(18,107,255,.10),rgba(18,107,255,.04))!important;}
@media(max-width:360px){.nav{width:calc(100vw - 16px)!important}.nav a,.nav button{font-size:11px!important;height:70px!important}}
@media(min-width:760px){.nav{bottom:18px!important;border-radius:18px!important}}
.saving-image .section-head span{font-size:18px!important;font-weight:950!important;}

/* V1.0.2：彻底修复底栏偏移。原因：nav 动画会覆盖 translateX(-50%)，导致底栏从屏幕中间开始显示。 */
.nav{
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:calc(10px + env(safe-area-inset-bottom))!important;
  transform:none!important;
  animation:none!important;
  width:calc(100vw - 28px)!important;
  max-width:402px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  box-sizing:border-box!important;
}
.nav a,.nav button{min-width:0!important;width:100%!important;box-sizing:border-box!important;}
@media(max-width:360px){.nav{width:calc(100vw - 16px)!important;}}
@media(min-width:760px){.nav{bottom:18px!important;}}

/* V1.0.3：底栏最终修复：移动端不用 left:50% / translate，避免主题切换或动画导致只显示右半边 */
html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
.nav{
  position:fixed!important;
  left:14px!important;
  right:14px!important;
  bottom:calc(10px + env(safe-area-inset-bottom))!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
  animation:none!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  border-radius:18px!important;
  overflow:hidden!important;
  z-index:2147483647!important;
  box-sizing:border-box!important;
}
.nav a,.nav button{
  width:100%!important;
  min-width:0!important;
  height:74px!important;
  padding:6px 2px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.nav a span,.nav button span{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:clip!important;}
@media(max-width:360px){.nav{left:8px!important;right:8px!important}.nav a,.nav button{height:70px!important;font-size:11px!important}}
@media(min-width:520px){.nav{left:50%!important;right:auto!important;width:402px!important;max-width:calc(100vw - 28px)!important;transform:translateX(-50%)!important;}}
.action.is-loading,.action:disabled,.btn-secondary:disabled{opacity:.72;cursor:not-allowed;filter:saturate(.85)}

/* V1.1：查询进度、证书数据配色与规整布局 */
.query-progress{display:none;margin-top:14px}.query-progress.show{display:block;animation:progressShow .2s ease-out}
.query-progress-card{padding:13px 14px;border:1px solid rgba(24,200,255,.24);border-radius:12px;background:linear-gradient(135deg,rgba(8,83,160,.22),rgba(27,32,91,.25));box-shadow:inset 0 1px rgba(255,255,255,.04)}
.query-progress-top{display:flex;align-items:center;justify-content:space-between;color:#dff7ff;font-size:13px}.query-progress-percent{color:#40ddff;font-weight:950;font-variant-numeric:tabular-nums}
.query-progress-track{height:9px;margin:9px 0 8px;overflow:hidden;border-radius:99px;background:rgba(112,145,190,.20);box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}
.query-progress-track i{display:block;width:8%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0872ff,#0dd7ff,#28efbd);box-shadow:0 0 15px rgba(13,215,255,.55);transition:width .5s ease}
.query-progress p{margin:0;color:#91b5da;font-size:12px;font-weight:750}
@keyframes progressShow{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
html[data-theme=light] .query-progress-card{background:#f4fbff;border-color:#bee7f8}html[data-theme=light] .query-progress-top{color:#123a65}html[data-theme=light] .query-progress p{color:#527597}

.cert-result-card{border-color:rgba(45,172,255,.24)!important;background:linear-gradient(180deg,rgba(10,31,60,.96),rgba(5,19,39,.98));box-shadow:0 14px 32px rgba(0,0,0,.18)}
.cert-result-card .cert-mini-title{padding:13px 14px 12px!important;margin:0!important;background:linear-gradient(90deg,rgba(20,113,255,.18),rgba(25,220,255,.06));border-bottom-color:rgba(69,151,238,.20)!important}
.cert-result-card .row{grid-template-columns:102px minmax(0,1fr)!important;min-height:46px;padding:10px 14px!important;background:rgba(255,255,255,.012)}
.cert-result-card .row:nth-child(odd){background:rgba(44,111,190,.035)}
.cert-result-card .rk{font-weight:800;color:#8daed1}
.cert-result-card .rv{line-height:1.45;text-align:right;letter-spacing:.1px}
.cert-result-card .data-source{color:#9daaff}.cert-result-card .data-code,.cert-result-card .data-udid{color:#42dfff;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}
.cert-result-card .data-model{color:#c9a7ff}.cert-result-card .data-cert{color:#74b9ff}.cert-result-card .data-time{color:#ffc868}.cert-result-card .data-expire{color:#ff9d64}.cert-result-card .data-sale{color:#d49cff}
.cert-result-card .status-pill{justify-self:end;width:auto!important;padding:4px 10px;border-radius:999px;line-height:1!important}
.cert-result-card .status-pill.green{background:rgba(32,238,157,.13);border:1px solid rgba(32,238,157,.25)}.cert-result-card .status-pill.red{background:rgba(255,91,114,.13);border:1px solid rgba(255,91,114,.25)}
html[data-theme=light] .cert-result-card{background:#fff;border-color:#c7def5!important;box-shadow:0 12px 28px rgba(31,82,140,.10)}html[data-theme=light] .cert-result-card .cert-mini-title{background:linear-gradient(90deg,#edf6ff,#f7fcff)}html[data-theme=light] .cert-result-card .data-code,html[data-theme=light] .cert-result-card .data-udid{color:#007da7}html[data-theme=light] .cert-result-card .data-model{color:#7046b7}html[data-theme=light] .cert-result-card .data-cert{color:#1766bd}html[data-theme=light] .cert-result-card .data-time{color:#a45d00}html[data-theme=light] .cert-result-card .data-expire{color:#c54f19}html[data-theme=light] .cert-result-card .data-sale{color:#7a3cac}
.saving-image.cert-result-card{padding-bottom:2px!important;border-radius:12px!important}
@media(max-width:360px){.cert-result-card .row{grid-template-columns:88px minmax(0,1fr)!important;padding-left:11px!important;padding-right:11px!important}.cert-result-card .rk{font-size:12px}.cert-result-card .rv{font-size:12px}.cert-result-card .sale-progress-row{grid-template-columns:88px minmax(0,1fr)!important}}

/* V2.0：紧凑双主题管理界面。此段放在文件末尾，统一覆盖历史兼容样式。 */
:root{--ui-bg:#061426;--ui-card:#0b2039;--ui-card-2:#0d2948;--ui-line:rgba(132,177,225,.20);--ui-text:#f7fbff;--ui-muted:#91a9c7;--ui-primary:#1688ff;--ui-cyan:#15d3ff;--ui-shadow:0 16px 44px rgba(0,0,0,.24)}
html[data-theme=light],body.light-theme{--ui-bg:#eef6ff;--ui-card:#fff;--ui-card-2:#f6faff;--ui-line:#d4e1f1;--ui-text:#0c2850;--ui-muted:#657d9b;--ui-primary:#0878ff;--ui-cyan:#08bee8;--ui-shadow:0 14px 36px rgba(37,82,135,.11)}
html,body{background:var(--ui-bg)!important;color:var(--ui-text)!important}
body{padding-top:12px!important;padding-bottom:calc(100px + env(safe-area-inset-bottom))!important;background-image:radial-gradient(circle at 10% 0,rgba(25,134,255,.16),transparent 28%),radial-gradient(circle at 90% 5%,rgba(25,210,255,.10),transparent 25%)!important}
.app{width:100%!important;max-width:430px!important;padding:0 14px 18px!important;overflow:visible!important}
.topbar{margin:0 0 10px!important;padding:6px 2px!important;min-height:56px}
.brand{gap:10px!important;min-width:0}.brand .logo{flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#0875ff,#14d5e8);box-shadow:0 9px 24px rgba(8,126,255,.24)}
.brand h1{font-size:20px!important;letter-spacing:.2px;color:var(--ui-text)!important}.brand p{font-size:10px!important;color:var(--ui-muted)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
.top-actions{gap:8px}.theme-toggle,.menu{height:42px!important;border-radius:12px!important;border:1px solid var(--ui-line)!important;background:var(--ui-card)!important;color:var(--ui-text)!important;box-shadow:0 6px 18px rgba(0,0,0,.08)!important}.theme-toggle{min-width:72px!important}.menu{width:42px!important}
.hero{min-height:76px!important;margin:0 0 10px!important;padding:13px 16px 12px!important;border-radius:15px!important;border:1px solid var(--ui-line)!important;background:linear-gradient(135deg,rgba(17,91,190,.32),rgba(20,211,255,.10))!important;box-shadow:none!important;text-align:center}
.hero h2{margin:0!important;font-size:23px!important;line-height:1.25;color:var(--ui-text)!important}.hero h2:after{content:"";display:block;width:44px;height:4px;margin:8px auto 0;border-radius:99px;background:linear-gradient(90deg,var(--ui-primary),#7657ff,var(--ui-cyan));box-shadow:0 0 12px rgba(21,211,255,.3)}
.hero p{margin:6px auto 0!important;max-width:none!important;font-size:12px!important;color:var(--ui-muted)!important}.hero .cube{display:none!important}
.cert-card,.panel,.section{border:1px solid var(--ui-line)!important;border-radius:16px!important;background:var(--ui-card)!important;box-shadow:var(--ui-shadow)!important;padding:14px!important}
.cert-card,.panel{margin-top:0!important}.field{margin-bottom:12px!important}.label{margin-bottom:7px!important;color:var(--ui-text)!important;font-size:13px!important}
.input-wrap{height:50px!important;border-radius:12px!important;border:1px solid var(--ui-line)!important;background:var(--ui-card-2)!important;box-shadow:none!important;contain:none!important}.input-wrap input{color:var(--ui-text)!important;font-weight:750!important}.input-wrap input::placeholder{color:var(--ui-muted)!important}.input-wrap .ico{color:var(--ui-primary)!important}.clear{color:var(--ui-muted)!important}
.actions,.cert-action-grid{gap:10px!important;margin-top:14px!important}.action,.cert-card-btn{height:70px!important;min-height:70px!important;border-radius:12px!important;border-width:1px!important;padding:12px 8px 12px 60px!important;text-align:left!important;font-size:14px!important;box-shadow:inset 0 1px rgba(255,255,255,.08),0 7px 16px rgba(0,0,0,.08)!important}.action i{left:12px!important;top:15px!important;width:40px!important;height:40px!important;border-radius:11px!important}.action span{display:block!important;overflow:hidden;text-overflow:ellipsis}
.a-blue{background:linear-gradient(135deg,rgba(14,116,255,.84),rgba(16,67,145,.72))!important;border-color:rgba(64,156,255,.55)!important}.a-orange{background:linear-gradient(135deg,rgba(178,92,26,.82),rgba(77,58,61,.78))!important;border-color:rgba(255,157,68,.45)!important}.a-green{background:linear-gradient(135deg,rgba(11,123,92,.78),rgba(29,72,82,.76))!important;border-color:rgba(51,213,153,.40)!important}.a-red{background:linear-gradient(135deg,rgba(177,49,67,.80),rgba(91,47,83,.76))!important;border-color:rgba(255,94,111,.42)!important}.a-purple{background:linear-gradient(135deg,rgba(90,67,209,.82),rgba(33,80,154,.78))!important;border-color:rgba(128,111,255,.45)!important}.a-sky{background:linear-gradient(135deg,rgba(0,126,165,.82),rgba(20,92,115,.74))!important;border-color:rgba(36,204,238,.40)!important}
.btn-secondary{height:46px!important;margin-top:12px!important;border-radius:11px!important;border:1px solid var(--ui-line)!important;background:var(--ui-card-2)!important;color:var(--ui-primary)!important;font-weight:900!important}
.tip{margin-top:12px!important;padding:12px 13px!important;border-radius:12px!important;border:1px solid var(--ui-line)!important;background:var(--ui-card-2)!important;color:var(--ui-muted)!important;font-size:12px!important;line-height:1.7!important}.tip b{color:var(--ui-text)!important}
.section{margin-top:12px!important}.section-head{color:var(--ui-text)!important}.result-ok{border-radius:12px!important;background:rgba(31,205,139,.10)!important;border-color:rgba(31,205,139,.24)!important;color:#20d795!important}
.rows{border-color:var(--ui-line)!important;background:var(--ui-card-2)!important;border-radius:13px!important}.row{border-bottom-color:var(--ui-line)!important}.rk{color:var(--ui-muted)!important}.rv{color:var(--ui-text)!important}
.query-progress{margin-top:12px!important}.query-progress-card{border-radius:12px!important;border-color:rgba(20,153,255,.32)!important;background:linear-gradient(135deg,rgba(8,111,236,.16),rgba(21,211,255,.08))!important}.query-progress-top{color:var(--ui-text)!important}.query-progress p{color:var(--ui-muted)!important}
.query-progress-track{height:10px!important;background:rgba(95,134,177,.18)!important}.query-progress-track i{background:linear-gradient(90deg,#0878ff,#19d7ff)!important}
.cert-result-card{padding:0!important;margin:12px 0!important;overflow:hidden!important;border:1px solid var(--ui-line)!important;background:var(--ui-card)!important;box-shadow:0 10px 26px rgba(0,0,0,.10)!important}
.cert-result-card summary{list-style:none!important}.cert-result-card summary::-webkit-details-marker{display:none!important}
.cert-result-card .cert-mini-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:68px!important;padding:11px 13px!important;cursor:pointer;background:linear-gradient(90deg,rgba(16,122,255,.14),rgba(21,211,255,.045))!important;border:0!important}
.cert-summary-main{display:block;min-width:0;text-align:left}.cert-summary-main b{display:block;color:var(--ui-text)!important;font-size:15px}.cert-summary-main small{display:block;max-width:235px;margin-top:4px;color:var(--ui-muted)!important;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cert-summary-side{display:flex;align-items:center;gap:9px;flex:0 0 auto}.cert-summary-side i{font-style:normal;font-size:12px;font-weight:900;padding:4px 9px;border-radius:99px}.cert-summary-side i.green{color:#13c77c;background:rgba(19,199,124,.11);border:1px solid rgba(19,199,124,.22)}.cert-summary-side i.red{color:#ff6073;background:rgba(255,96,115,.11);border:1px solid rgba(255,96,115,.22)}.cert-summary-side em{font-style:normal;color:var(--ui-muted);font-size:18px;transition:transform .2s}.cert-result-card[open] .cert-summary-side em{transform:rotate(180deg)}
.cert-card-body{border-top:1px solid var(--ui-line)!important}.cert-result-card:not([open]) .cert-card-body{display:none!important}.cert-result-card .row{background:transparent!important}.cert-result-card .row:nth-child(even){background:rgba(87,132,185,.035)!important}
.cert-image-tools{padding:8px 12px 12px!important;margin:0!important}.cert-image-tools .save-image-btn{height:40px!important;font-size:13px!important;background:linear-gradient(135deg,#0878ff,#13c7e9)!important}
.image-tools{margin-top:12px!important}.save-image-btn{border-radius:11px!important;background:linear-gradient(135deg,#0878ff,#15cce8)!important;box-shadow:0 8px 20px rgba(8,120,255,.17)!important}
.status-grid,.log-row{color:var(--ui-text)!important}.secure{background:linear-gradient(135deg,rgba(17,136,255,.12),rgba(28,213,179,.08))!important}
.footer{color:var(--ui-muted)!important;margin:20px 0 84px!important}
.result-summary-bar{display:flex;align-items:stretch;gap:8px;margin-bottom:10px}.result-summary-bar .result-ok{flex:1;margin:0!important}.toggle-all-cert{flex:0 0 auto;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-card-2);color:var(--ui-primary);padding:0 12px;font-weight:900;font-size:12px;cursor:pointer}
.nav{left:14px!important;right:14px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:402px!important;margin:0 auto!important;transform:none!important;height:74px!important;border:1px solid var(--ui-line)!important;border-radius:17px!important;background:var(--ui-card)!important;background:color-mix(in srgb,var(--ui-card) 92%,transparent)!important;box-shadow:0 12px 34px rgba(0,0,0,.19)!important;overflow:hidden!important}.nav a,.nav button{height:74px!important;color:var(--ui-muted)!important;background:transparent!important}.nav .active{color:var(--ui-primary)!important;background:linear-gradient(180deg,rgba(8,120,255,.10),rgba(8,120,255,.02))!important;box-shadow:inset 0 -4px var(--ui-cyan)}
html[data-theme=light] body,body.light-theme{background-image:radial-gradient(circle at 12% 0,rgba(55,154,255,.13),transparent 30%),radial-gradient(circle at 90% 4%,rgba(41,208,239,.10),transparent 25%)!important}
html[data-theme=light] .hero,body.light-theme .hero{background:linear-gradient(135deg,#f3f8ff,#eefcff)!important}
html[data-theme=light] .action,body.light-theme .action{color:#0d2a53!important;box-shadow:0 7px 18px rgba(33,78,130,.07)!important}
html[data-theme=light] .a-blue,body.light-theme .a-blue{background:linear-gradient(135deg,#eef6ff,#e6f2ff)!important;border-color:#8cbcff!important}html[data-theme=light] .a-orange,body.light-theme .a-orange{background:linear-gradient(135deg,#fff8ee,#fff2e4)!important;border-color:#ffc27d!important}html[data-theme=light] .a-green,body.light-theme .a-green{background:linear-gradient(135deg,#f0fff8,#e7faef)!important;border-color:#79d69e!important}html[data-theme=light] .a-red,body.light-theme .a-red{background:linear-gradient(135deg,#fff4f5,#ffebee)!important;border-color:#ff9ba6!important}html[data-theme=light] .a-purple,body.light-theme .a-purple{background:linear-gradient(135deg,#f4f1ff,#ebf3ff)!important;border-color:#b3a6ff!important}html[data-theme=light] .a-sky,body.light-theme .a-sky{background:linear-gradient(135deg,#eefcff,#e5f8fb)!important;border-color:#80d8e8!important}
html[data-theme=light] .cert-result-card,body.light-theme .cert-result-card{background:#fff!important}html[data-theme=light] .cert-result-card .cert-mini-title,body.light-theme .cert-result-card .cert-mini-title{background:linear-gradient(90deg,#edf6ff,#f5fcff)!important}
@media(max-width:380px){.app{padding-left:10px!important;padding-right:10px!important}.brand p{max-width:190px}.action,.cert-card-btn{padding-left:53px!important;font-size:13px!important}.action i{left:9px!important}.cert-summary-main small{max-width:190px}.nav{left:8px!important;right:8px!important}}
@media(min-width:520px){.nav{left:50%!important;right:auto!important;width:402px!important;transform:translateX(-50%)!important}}
